Function at 0x1400ee790
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 [0x1401d6668]
xor rax, rsp
mov qword [rbp + 0x68], rax
mov rdi, rcx
mov qword [rsp + 0x70], rcx
xor esi, esi
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 [0x1401844b8]
movsd qword [rcx + 0x68], xmm1
mov eax, dword [0x1401844c0]
mov dword [rcx + 0x70], eax
movzx eax, word [0x1401844c4]
mov word [rcx + 0x74], ax
movzx eax, byte [0x1401844c6]
mov byte [rcx + 0x76], al
add rcx, 0x77
xor edx, edx
mov r8d, 0xe5
call fcn.14013a3a0
lea rdx, [rdi + 0x58]
lea rcx, [rdi + 0x160]
call fcn.1400f0230
nop
lea rbx, [rdi + 0x1b8]
mov qword [rbx], rsi
lea ecx, [rsi + 0x40]
call fcn.140146a90
mov qword [rsp + 0x20], rax
test rax, rax
je 0x1400ee87b
lea rdx, str.SeSystemEnvironmentPrivilege
mov rcx, rax
call fcn.1400f7890
mov rsi, rax
lea rax, [rsp + 0x20]
cmp rbx, rax
je 0x1400ee895
mov rcx, qword [rbx]
mov qword [rbx], rsi
test rcx, rcx
je 0x1400ee8ae
mov rax, qword [rcx]
jmp 0x1400ee8a0
test rsi, rsi
je 0x1400ee8ae
mov rax, qword [rsi]
mov rcx, rsi
mov edx, 1
mov rax, qword [rax]
call qword [case.0x14005c876.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.1400f0460
nop
cmp dword [rbp - 0x10], 0
jne 0x1400ee9bf
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 0x1400ee9df
cmp eax, 0x40
jb 0x1400ee96e
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 fcn.140023190
nop
mov rax, rdi
mov rcx, qword [rbp + 0x68]
xor rcx, rsp
call fcn.140146a70
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 fcn.140024ae0
mov edx, 0xa0010075
lea rcx, [rbp + 0x40]
call fcn.140022e50
nop
mov r8d, ebx
lea rdx, str.EFI_variable_size_is_too_small._Size___d_
lea rcx, [rbp + 0x40]
call fcn.140023850
lea rdx, [rbp + 0x40]
lea rcx, [rbp - 0x38]
call fcn.140022e90
lea rdx, [0x1401d17b0]
lea rcx, [rbp - 0x38]
call fcn.140139bfc
nop
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x78]
call fcn.140022e90
lea rdx, [0x1401d17b0]
lea rcx, [rsp + 0x78]
call fcn.140139bfc
int3
mov edx, 0x28
lea rcx, [rbp + 0x18]
call fcn.140024ae0
mov edx, 0xa0010072
lea rcx, [rbp + 0x18]
call fcn.140022e50
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 fcn.140023850
lea rdx, [rbp + 0x18]
lea rcx, [rbp - 0x60]
call fcn.140022e90
lea rdx, [0x1401d17b0]
lea rcx, [rbp - 0x60]
call fcn.140139bfc
int3