Function at 0x7ff7e151dea0
Capabilities:
Get uefi variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
sub rsp, 0x170
lea rbp, [rsp + 0x50]
and rbp, 0xffffffffffffffe0
lea rcx, [rbp + 8]
call qword [sym.imp.kernel32.dll_GetFirmwareType]
cmp dword [rbp + 8], 2
jne 0x7ff7e151e0ad
lea rcx, [0x7ff7e1604348]
call fcn.7ff7e14c3f20
test eax, eax
je 0x7ff7e151e0ad
movabs rax, 0xe24ba7d43175e030
lea rdx, [rbp + 0x80]
mov qword [rbp], rax
movabs rcx, 0x9368ca31a87b13e0
mov rax, qword [rbp]
movabs rdi, 0xd27b97e40145d04b
mov qword [rbp + 0x80], rax
movabs rbx, 0xb35912ed9322a7ac
movabs rax, 0x837422dda3128a9c
movabs rsi, 0x9190f22e29ca8ef5
mov qword [rbp], rax
movabs r14, 0x8a139f0fd7858b56
mov rax, qword [rbp]
xor r9d, r9d
mov qword [rbp + 0x88], rax
xor r8d, r8d
movabs rax, 0xa1a0c21e04fabec5
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x90], rax
movabs rax, 0xba23af3fe7b5bb7b
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x98], rax
movabs rax, 0x9231462823bb604f
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xa0], rax
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0xa8], rax
mov qword [rbp], rdi
mov rax, qword [rbp]
mov qword [rbp + 0xc0], rax
mov qword [rbp], rbx
mov rax, qword [rbp]
mov qword [rbp + 0xc8], rax
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0xd0], rax
mov qword [rbp], r14
mov rax, qword [rbp]
mov qword [rbp + 0xd8], rax
movabs rax, 0x92313b18138b507f
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xe0], rax
mov qword [rbp], rcx
lea rcx, [rbp + 0x10]
mov rax, qword [rbp]
vmovdqu ymm0, ymmword [rbp + 0xc0]
vpxor ymm1, ymm0, ymmword [rbp + 0x80]
vmovdqa xmm2, xmmword [rbp + 0xa0]
mov qword [rbp + 0xe8], rax
vpxor xmm2, xmm2, xmmword [rbp + 0xe0]
vmovdqa ymmword [rbp + 0x80], ymm1
vmovdqa xmmword [rbp + 0xa0], xmm2
mov qword [rbp], rdi
mov rax, qword [rbp]
mov qword [rbp + 0x10], rax
mov qword [rbp], rbx
mov rax, qword [rbp]
mov qword [rbp + 0x18], rax
mov qword [rbp], rdi
mov rax, qword [rbp]
mov qword [rbp + 0x60], rax
mov qword [rbp], rbx
mov rax, qword [rbp]
vmovdqa xmm0, xmmword [rbp + 0x10]
mov qword [rbp + 0x68], rax
vpxor xmm0, xmm0, xmmword [rbp + 0x60]
vmovdqa xmmword [rbp + 0x10], xmm0
vzeroupper
call qword [sym.imp.kernel32.dll_GetFirmwareEnvironmentVariableA]
test eax, eax
jne 0x7ff7e151e0ad
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 1
je 0x7ff7e151e0cc
call qword [sym.imp.kernel32.dll_GetLastError]
mov al, 1
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
movabs rax, 0xd27b97e46e23be02
mov dword [rsp + 0x28], 0x4e20
mov qword [rbp], rax
lea r8, [rbp + 0x20]
mov rax, qword [rbp]
lea rdx, [rbp + 0x40]
mov qword [rbp + 0x20], rax
mov r9d, 0x1010
mov qword [rbp], rbx
xor ecx, ecx
mov rax, qword [rbp]
mov qword [rbp + 0x28], rax
mov qword [rbp], rdi
mov rax, qword [rbp]
mov qword [rbp], rbx
mov qword [rbp + 0x70], rax
mov rax, qword [rbp]
movdqa xmm0, xmmword [rbp + 0x20]
mov qword [rbp + 0x78], rax
movabs rax, 0x9d32d5c47330bf12
pxor xmm0, xmmword [rbp + 0x70]
movdqa xmmword [rbp + 0x20], xmm0
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x40], rax
movabs rax, 0xde797789fc4f87ff
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x48], rax
movabs rax, 0xc4b0974c09befd80
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x50], rax
movabs rax, 0x8a139f0ff9cccd13
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x58], rax
mov qword [rbp], rdi
mov rax, qword [rbp]
mov qword [rbp + 0x100], rax
mov qword [rbp], rbx
mov rax, qword [rbp]
mov qword [rbp + 0x108], rax
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0x110], rax
mov qword [rbp], r14
mov rax, qword [rbp]
mov qword [rbp + 0x118], rax
xor eax, eax
vmovdqu ymm0, ymmword [rbp + 0x100]
vpxor ymm1, ymm0, ymmword [rbp + 0x40]
vmovdqa ymmword [rbp + 0x40], ymm1
mov word [rsp + 0x20], ax
vzeroupper
call fcn.7ff7e14c5310
xor al, al
jmp 0x7ff7e151e0af