Function at 0x14008ecc0
Capabilities:
Get uefi variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rax, qword [0x140186768]
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 [0x14013dfd8]
movsd qword [rcx + 0x68], xmm1
mov eax, dword [0x14013dfe0]
mov dword [rcx + 0x70], eax
movzx eax, word [0x14013dfe4]
mov word [rcx + 0x74], ax
movzx eax, byte [0x14013dfe6]
mov byte [rcx + 0x76], al
add rcx, 0x77
xor edx, edx
mov r8d, 0xe5
call fcn.1400ec440
lea rdx, [rdi + 0x58]
lea rcx, [rdi + 0x160]
call fcn.1400aaba0
nop
lea rsi, [rdi + 0x1b8]
xor ebx, ebx
mov qword [rsi], rbx
lea ecx, [rbx + 0x40]
call fcn.1400e9afc
mov qword [rsp + 0x20], rax
test rax, rax
je 0x14008edab
lea rdx, str.SeSystemEnvironmentPrivilege
mov rcx, rax
call fcn.1400be5d0
mov rbx, rax
lea rax, [rsp + 0x20]
cmp rsi, rax
je 0x14008edc5
mov rcx, qword [rsi]
mov qword [rsi], rbx
test rcx, rcx
je 0x14008edde
mov rax, qword [rcx]
jmp 0x14008edd0
test rbx, rbx
je 0x14008edde
mov rax, qword [rbx]
mov rcx, rbx
mov edx, 1
mov rax, qword [rax]
call qword [case.0x1400341b6.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.1400aad90
nop
cmp dword [rbp - 0x10], 0
jne 0x14008eeef
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 0x14008ef0f
cmp eax, 0x40
jb 0x14008ee9e
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.HfcDisableService.exe_public:_void___cdecl_CConsolidatedError::destructor_void____ptr64
nop
mov rax, rdi
mov rcx, qword [rbp + 0x68]
xor rcx, rsp
call fcn.1400e9aa0
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
lfence
mov edx, 0x28
lea rcx, [rbp + 0x40]
call sym.HfcDisableService.exe_public:_void___cdecl_CConsolidatedError::__autoclassinit2_unsigned_long_long_unsigned___int64_____ptr64
mov edx, 0xa0010075
lea rcx, [rbp + 0x40]
call sym.HfcDisableService.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.HfcDisableService.exe_public:_void___cdecl_CConsolidatedError::AddErrorMessage_char_const____ptr64____ptr64
lea rdx, [rbp + 0x40]
lea rcx, [rbp - 0x38]
call sym.HfcDisableService.exe_public:_void___cdecl_CConsolidatedError::constructor_class_CConsolidatedError_const____ptr64____ptr64
lea rdx, [0x140180ca0]
lea rcx, [rbp - 0x38]
call fcn.1400ebc9c
nop
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x78]
call sym.HfcDisableService.exe_public:_void___cdecl_CConsolidatedError::constructor_class_CConsolidatedError_const____ptr64____ptr64
lea rdx, [0x140180ca0]
lea rcx, [rsp + 0x78]
call fcn.1400ebc9c
int3
mov edx, 0x28
lea rcx, [rbp + 0x18]
call sym.HfcDisableService.exe_public:_void___cdecl_CConsolidatedError::__autoclassinit2_unsigned_long_long_unsigned___int64_____ptr64
mov edx, 0xa0010072
lea rcx, [rbp + 0x18]
call sym.HfcDisableService.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.HfcDisableService.exe_public:_void___cdecl_CConsolidatedError::AddErrorMessage_char_const____ptr64____ptr64
lea rdx, [rbp + 0x18]
lea rcx, [rbp - 0x60]
call sym.HfcDisableService.exe_public:_void___cdecl_CConsolidatedError::constructor_class_CConsolidatedError_const____ptr64____ptr64
lea rdx, [0x140180ca0]
lea rcx, [rbp - 0x60]
call fcn.1400ebc9c
int3