Function at 0x1400ffbb0
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 [0x1401c7808]
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 [0x140179068]
movsd qword [rcx + 0x68], xmm1
mov eax, dword [0x140179070]
mov dword [rcx + 0x70], eax
movzx eax, word [0x140179074]
mov word [rcx + 0x74], ax
movzx eax, byte [0x140179076]
mov byte [rcx + 0x76], al
add rcx, 0x77
xor edx, edx
mov r8d, 0xe5
call fcn.14012f310
lea rdx, [rdi + 0x58]
lea rcx, [rdi + 0x160]
call fcn.1400eb350
nop
lea rsi, [rdi + 0x1b8]
xor ebx, ebx
mov qword [rsi], rbx
lea ecx, [rbx + 0x40]
call fcn.14013bb30
mov qword [rsp + 0x20], rax
test rax, rax
je 0x1400ffc9b
lea rdx, str.SeSystemEnvironmentPrivilege
mov rcx, rax
call fcn.1401038a0
mov rbx, rax
lea rax, [rsp + 0x20]
cmp rsi, rax
je 0x1400ffcb5
mov rcx, qword [rsi]
mov qword [rsi], rbx
test rcx, rcx
je 0x1400ffcce
mov rax, qword [rcx]
jmp 0x1400ffcc0
test rbx, rbx
je 0x1400ffcce
mov rax, qword [rbx]
mov rcx, rbx
mov edx, 1
mov rax, qword [rax]
call qword [0x14015a890]
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.1400eb540
nop
cmp dword [rbp - 0x10], 0
jne 0x1400ffddf
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 0x1400ffdff
cmp eax, 0x40
jb 0x1400ffd8e
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.14013b830
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.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, [0x1401be7b8]
lea rcx, [rbp - 0x38]
call fcn.14012eb70
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, [0x1401be7b8]
lea rcx, [rsp + 0x78]
call fcn.14012eb70
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, [0x1401be7b8]
lea rcx, [rbp - 0x60]
call fcn.14012eb70
int3