Function at 0x1400f0b20
Capabilities:
Get uefi variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rax, qword [0x1401b3838]
xor rax, rsp
mov qword [rbp + 0x68], rax
mov rdi, rcx
mov qword [rsp + 0x70], rcx
xorps xmm0, xmm0
movups xmmword [rcx + 8], xmm0
movups xmmword [rcx + 0x18], xmm0
movups xmmword [rcx + 0x28], xmm0
movups xmmword [rcx + 0x38], xmm0
lea rax, vtable.VmdRemapBiosVarProxy.0
mov qword [rcx], rax
lea rax, str.61a14fe8_4dab_4a19_b1e3_97fb23d09212
mov qword [rcx + 0x48], rax
lea rax, str.IntelVmdOsVariable
mov qword [rcx + 0x50], rax
movups xmm0, xmmword [str.GlobalRstVmdRemapBiosVariable]
movups xmmword [rcx + 0x58], xmm0
movsd xmm1, qword [0x140167b68]
movsd qword [rcx + 0x68], xmm1
mov eax, dword [0x140167b70]
mov dword [rcx + 0x70], eax
movzx eax, word [0x140167b74]
mov word [rcx + 0x74], ax
movzx eax, byte [0x140167b76]
mov byte [rcx + 0x76], al
add rcx, 0x77
xor edx, edx
mov r8d, 0xe5
call fcn.140121c70
lea rdx, [rdi + 0x58]
lea rcx, [rdi + 0x160]
call fcn.1400e0100
nop
lea rbx, [rdi + 0x1b8]
mov qword [rbx], 0
mov ecx, 0x40
call fcn.14012d680
mov qword [rsp + 0x20], rax
test rax, rax
je 0x1400f0c13
lea rdx, str.SeSystemEnvironmentPrivilege
mov rcx, rax
call fcn.1400f5820
mov rcx, rax
jmp 0x1400f0c15
xor ecx, ecx
lea rax, [rsp + 0x20]
cmp rbx, rax
je 0x1400f0c3b
mov qword [rsp + 0x20], 0
mov r8, qword [rbx]
mov qword [rbx], rcx
test r8, r8
je 0x1400f0c51
mov rax, qword [r8]
mov rcx, r8
jmp 0x1400f0c43
test rcx, rcx
je 0x1400f0c51
mov rax, qword [rcx]
mov edx, 1
mov rax, qword [rax]
call qword [case.0x1400f18f9.0]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], rax
lea rdx, [rbp - 0x10]
lea rcx, [rdi + 0x160]
call fcn.1400e02f0
nop
cmp dword [rbp - 0x10], 0
jne 0x1400f0d63
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
mov r9d, 0x40
lea r8, [rsp + 0x30]
mov rdx, qword [rdi + 0x48]
mov rcx, qword [rdi + 0x50]
call qword [sym.imp.KERNEL32.DLL_GetFirmwareEnvironmentVariableW]
mov ebx, eax
test eax, eax
je 0x1400f0d83
cmp eax, 0x40
jb 0x1400f0d12
movaps xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi + 8], xmm0
movaps xmm1, xmmword [rsp + 0x40]
movups xmmword [rdi + 0x18], xmm1
movaps xmm0, xmmword [rsp + 0x50]
movups xmmword [rdi + 0x28], xmm0
movaps xmm1, xmmword [rsp + 0x60]
movups xmmword [rdi + 0x38], xmm1
lea rcx, [rbp - 0x10]
call sym.RstMwService.exe_public:_void___cdecl_CConsolidatedError::destructor_void____ptr64
nop
mov rax, rdi
mov rcx, qword [rbp + 0x68]
xor rcx, rsp
call fcn.14012d380
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
lfence
mov edx, 0x28
lea rcx, [rbp + 0x40]
call sym.RstMwService.exe_public:_void___cdecl_CConsolidatedError::__autoclassinit2_unsigned_long_long_unsigned___int64_____ptr64
mov edx, 0xa0010075
lea rcx, [rbp + 0x40]
call sym.RstMwService.exe_public:_void___cdecl_CConsolidatedError::constructor_enum_CConsolidatedErrorGenerated::ISDI2_ERRORS____ptr64
nop
mov r8d, ebx
lea rdx, str.EFI_variable_size_is_too_small._Size___d_
lea rcx, [rbp + 0x40]
call sym.RstMwService.exe_public:_void___cdecl_CConsolidatedError::AddErrorMessage_char_const____ptr64____ptr64
lea rdx, [rbp + 0x40]
lea rcx, [rbp - 0x38]
call sym.RstMwService.exe_public:_void___cdecl_CConsolidatedError::constructor_class_CConsolidatedError_const____ptr64____ptr64
lea rdx, [0x1401aa8f0]
lea rcx, [rbp - 0x38]
call fcn.140121790
nop
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x78]
call sym.RstMwService.exe_public:_void___cdecl_CConsolidatedError::constructor_class_CConsolidatedError_const____ptr64____ptr64
lea rdx, [0x1401aa8f0]
lea rcx, [rsp + 0x78]
call fcn.140121790
int3
mov edx, 0x28
lea rcx, [rbp + 0x18]
call sym.RstMwService.exe_public:_void___cdecl_CConsolidatedError::__autoclassinit2_unsigned_long_long_unsigned___int64_____ptr64
mov edx, 0xa0010072
lea rcx, [rbp + 0x18]
call sym.RstMwService.exe_public:_void___cdecl_CConsolidatedError::constructor_enum_CConsolidatedErrorGenerated::ISDI2_ERRORS____ptr64
nop
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov r8d, eax
lea rdx, str.EFI_variable_read_fail_with_error___d_
lea rcx, [rbp + 0x18]
call sym.RstMwService.exe_public:_void___cdecl_CConsolidatedError::AddErrorMessage_char_const____ptr64____ptr64
lea rdx, [rbp + 0x18]
lea rcx, [rbp - 0x60]
call sym.RstMwService.exe_public:_void___cdecl_CConsolidatedError::constructor_class_CConsolidatedError_const____ptr64____ptr64
lea rdx, [0x1401aa8f0]
lea rcx, [rbp - 0x60]
call fcn.140121790
int3