Function at 0x1400ed030
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 [0x1401d2670]
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 [0x140182418]
movsd qword [rcx + 0x68], xmm1
mov eax, dword [0x140182420]
mov dword [rcx + 0x70], eax
movzx eax, word [0x140182424]
mov word [rcx + 0x74], ax
movzx eax, byte [0x140182426]
mov byte [rcx + 0x76], al
add rcx, 0x77
xor edx, edx
mov r8d, 0xe5
call fcn.1401386b0
lea rdx, [rdi + 0x58]
lea rcx, [rdi + 0x160]
call fcn.1400eeac0
nop
lea rsi, [rdi + 0x1b8]
xor ebx, ebx
mov qword [rsi], rbx
lea ecx, [rbx + 0x40]
call fcn.1401449d4
mov qword [rsp + 0x20], rax
test rax, rax
je 0x1400ed11b
lea rdx, str.SeSystemEnvironmentPrivilege
mov rcx, rax
call fcn.1400f5d90
mov rbx, rax
lea rax, [rsp + 0x20]
cmp rsi, rax
je 0x1400ed135
mov rcx, qword [rsi]
mov qword [rsi], rbx
test rcx, rcx
je 0x1400ed14e
mov rax, qword [rcx]
jmp 0x1400ed140
test rbx, rbx
je 0x1400ed14e
mov rax, qword [rbx]
mov rcx, rbx
mov edx, 1
mov rax, qword [rax]
call qword [case.0x14005b496.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.1400eecb0
nop
cmp dword [rbp - 0x10], 0
jne 0x1400ed25f
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 0x1400ed27f
cmp eax, 0x40
jb 0x1400ed20e
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.140021ae0
nop
mov rax, rdi
mov rcx, qword [rbp + 0x68]
xor rcx, rsp
call fcn.1401449b0
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.140023760
mov edx, 0xa0010075
lea rcx, [rbp + 0x40]
call fcn.1400217a0
nop
mov r8d, ebx
lea rdx, str.EFI_variable_size_is_too_small._Size___d_
lea rcx, [rbp + 0x40]
call fcn.1400221a0
lea rdx, [rbp + 0x40]
lea rcx, [rbp - 0x38]
call fcn.1400217e0
lea rdx, [0x1401cd6f8]
lea rcx, [rbp - 0x38]
call fcn.140137f0c
nop
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x78]
call fcn.1400217e0
lea rdx, [0x1401cd6f8]
lea rcx, [rsp + 0x78]
call fcn.140137f0c
int3
mov edx, 0x28
lea rcx, [rbp + 0x18]
call fcn.140023760
mov edx, 0xa0010072
lea rcx, [rbp + 0x18]
call fcn.1400217a0
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.1400221a0
lea rdx, [rbp + 0x18]
lea rcx, [rbp - 0x60]
call fcn.1400217e0
lea rdx, [0x1401cd6f8]
lea rcx, [rbp - 0x60]
call fcn.140137f0c
int3