4C 8B C9 mov r9, rcx ; instruction #1
83 64 24 .. .. and [rsp+140h+RsiReg], 0
8B D3 mov edx, ebx
48 89 44 24 .. mov [rsp+140h+Buffer], rax
44 8D 43 .. lea r8d, [rbx+22h]
48 8B 05 .. .. .. .. mov rax, cs:gEfiSmmCpuProtocol
48 8B C8 mov rcx, rax
FF 10 call qword ptr [rax+EFI_SMM_CPU_PROTOCOL.ReadSaveState] ; 1st call
48 8D 45 .. lea rax, [rbp+40h+RbxReg]
4D 8B CC mov r9, r12 ; instruction #10
48 89 44 24 .. mov [rsp+140h+Buffer], rax
44 8D 43 .. lea r8d, [rbx+23h]
48 8B 05 .. .. .. .. mov rax, cs:gEfiSmmCpuProtocol
8B D3 mov edx, ebx
48 8B C8 mov rcx, rax
FF 10 call qword ptr [rax+EFI_SMM_CPU_PROTOCOL.ReadSaveState] ; 2nd call
48 8D 45 .. lea rax, [rbp+40h+RcxReg]
4D 8B CC mov r9, r12
48 89 44 24 .. mov [rsp+140h+Buffer], rax
44 8D 43 .. lea r8d, [rbx+24h] ; instruction #20
48 8B 05 .. .. .. .. mov rax, cs:gEfiSmmCpuProtocol
8B D3 mov edx, ebx
48 8B C8 mov rcx, rax
FF 10 call qword ptr [rax+EFI_SMM_CPU_PROTOCOL.ReadSaveState] ; 3rd call
48 8D 44 24 .. lea rax, [rsp+140h+RdiReg]
4D 8B CC mov r9, r12
48 89 44 24 .. mov [rsp+140h+Buffer], rax
44 8D 43 .. lea r8d, [rbx+29h]
48 8B 05 .. .. .. .. mov rax, cs:gEfiSmmCpuProtocol
8B D3 mov edx, ebx ; instruction #30
48 8B C8 mov rcx, rax
FF 10 call qword ptr [rax+EFI_SMM_CPU_PROTOCOL.ReadSaveState] ; 4th call
48 8D 44 24 .. lea rax, [rsp+140h+RsiReg]
4D 8B CC mov r9, r12
48 89 44 24 .. mov [rsp+140h+Buffer], rax
44 8D 43 .. lea r8d, [rbx+28h]
48 8B 05 .. .. .. .. mov rax, cs:gEfiSmmCpuProtocol
8B D3 mov edx, ebx
48 8B C8 mov rcx, rax
FF 10 call qword ptr [rax+EFI_SMM_CPU_PROTOCOL.ReadSaveState] ; instruction #40 / 5th call
81 7D 58 20 04 4D 53 cmp [rbp+40h+RaxReg], 534D0420h