Function at 0x140079dfc
Capabilities:
Get uefi variable
Read file on windows
Resolve function by parsing pe exports
Set uefi variable

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1b0
mov r12, rcx
lea rcx, [rax + 0x10]
call fcn.140053eb0
xor esi, esi
movzx r13d, r9b
lea eax, [rsi + 1]
lea rcx, [rsp + 0xa8]
cmp r9b, al
cmove r13d, esi
cmp r9b, al
sete bpl
call fcn.14005bc74
lea rcx, [rsp + 0xb0]
call fcn.14005bc74
lea rcx, [rsp + 0x1f8]
call fcn.140053eb0
cmp bpl, sil
je 0x140079e75
sub qword [rsp + 0x1f8], 2
mov ebx, 0x3d
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0x1f8]
mov r8d, ebx
call fcn.14005f7b4
lea ecx, [rbx - 0x17]
cmp bpl, sil
je 0x140079ea5
mov rax, qword [rsp + 0xa8]
mov word [rax], cx
lea rdx, [rsp + 0xa8]
xor r8d, r8d
mov rcx, r12
call fcn.14000394c
mov rax, qword [rsp + 0xa8]
movsx r14, bpl
lea r15, [rax + r14*2]
mov rax, qword [rsp + 0x1f8]
cmp bx, word [rax]
jne 0x14007a109
mov edi, 0x3b
add rax, 2
lea rdx, [rsp + 0xb0]
lea ebx, [rdi - 0xf]
lea rcx, [rsp + 0x1f8]
mov r9d, edi
mov r8d, ebx
mov qword [rsp + 0x1f8], rax
call fcn.14005f848
mov r11, qword [rsp + 0x1f8]
movzx r9d, word [r11]
cmp bx, r9w
je 0x140079f20
cmp di, r9w
jne 0x140079f2c
add r11, 2
mov qword [rsp + 0x1f8], r11
mov rbx, qword [rsp + 0xb0]
mov dil, sil
cmp r13b, sil
jne 0x14007a0cc
lea rcx, str.WINVER
mov rdx, rbx
call fcn.140055404
mov r10d, 0x2a
cmp al, sil
jne 0x140079f75
lea rcx, [0x140105938]
mov rdx, rbx
call fcn.140055404
cmp al, sil
je 0x14007a0cc
mov dil, r10b
lea rcx, [rsp + 0x1f8]
call fcn.140053eb0
mov rcx, qword [rsp + 0x1f8]
mov eax, 0x5e
mov rbx, rsi
mov r14, rsi
cmp ax, word [rcx]
jne 0x140079faa
or r14, 0xffffffffffffffff
add rcx, 2
mov qword [rsp + 0x1f8], rcx
mov eax, 0x2b
lea r13d, [rax - 0x2a]
cmp ax, word [rcx]
jne 0x140079fe0
lea rax, [rcx + 2]
mov dil, r13b
cmp word [rax], si
jne 0x140079fd5
mov word [rcx], r10w
mov rcx, qword [rsp + 0x1f8]
mov dil, r10b
jmp 0x140079fe0
mov rcx, rax
mov qword [rsp + 0x1f8], rax
movzx ebp, word [rcx]
cmp bp, si
jne 0x140079ff1
cmp dil, sil
je 0x14007a098
mov qword [rsp + 0x58], rsi
cmp r10w, word [rcx]
je 0x14007a001
cmp dil, r10b
jne 0x14007a076
lea rcx, [rsp + 0x100]
lea rdx, str._SystemRoot_System32kernel32.dll
mov r8d, 0x46
call fcn.1400dfef0
cmp byte [r12 + 0xda], sil
jne 0x14007a04c
test byte [r12 + 0xd], 0xf
jne 0x14007a04c
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x100]
xor r9d, r9d
mov rcx, r12
mov byte [rsp + 0x20], r13b
call fcn.140070400
jmp 0x14007a069
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x100]
xor r9d, r9d
mov rcx, r12
mov byte [rsp + 0x20], r13b
call fcn.14006ed78
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x1f8], rcx
xor r8d, r8d
mov rdx, r14
call fcn.140005a1c
lea rcx, [rsp + 0x58]
mov rbx, rax
call fcn.140053e80
cmp dil, sil
jne 0x14007a098
cmp bp, si
jne 0x14007a0b2
mov rbp, rbx
call fcn.14005731c
mov rbx, rax
cmp dil, sil
je 0x14007a0b2
movzx eax, bp
shl rbx, 0x10
or rbx, rax
lea r9, [0x140100ee0]
mov r8, r15
mov rdx, rbx
mov rcx, r12
call fcn.14005ec24
jmp 0x14007ac51
lea rcx, str.ispe
mov rdx, rbx
call fcn.140055404
cmp al, sil
je 0x14007a0f7
call fcn.14000ceb0
mov r8, r15
mov rcx, r12
mov edx, eax
call fcn.14005ecfc
jmp 0x14007ac51
mov r15d, 0x2c
cmp r9w, si
je 0x14007a115
cmp r15w, r9w
je 0x14007a115
mov rsi, 0xffffffff80070057
jmp 0x14007ac51
cmp r13b, sil
je 0x14007a124
cmp r13b, 2
jne 0x14007a824
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0x80]
call fcn.1400668e8
mov rdi, qword [rsp + 0x80]
cmp bpl, sil
je 0x14007a14e
mov eax, 0x26
mov word [rdi], ax
lea rcx, [rsp + 0x1f8]
call fcn.140053eb0
lea rcx, str.FVER
mov rdx, rbx
call fcn.140055404
cmp al, sil
je 0x14007a271
lea rcx, [rsp + 0x60]
call fcn.14005bc74
mov rcx, qword [rsp + 0x1f8]
mov qword [rsp + 0x98], rsi
call fcn.140019c78
lea rcx, [rsp + 0x58]
mov rbx, rsi
mov r8d, 0x3b
mov edx, r15d
mov qword [rsp + 0x70], rbx
mov r11, rax
mov qword [rsp + 0x1f8], rax
mov qword [rsp + 0x58], rdi
movzx ebp, si
call fcn.140054114
mov rcx, qword [rsp + 0x58]
cmp word [rcx], si
je 0x14007a1fb
mov word [rcx], si
add rcx, 2
mov r9d, r8d
mov qword [rsp + 0x58], rcx
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x58]
mov r8d, r15d
call fcn.14005f848
mov rbx, qword [rsp + 0x70]
mov r11, qword [rsp + 0x1f8]
mov bp, word [rbx]
movzx eax, bp
mov rcx, r11
neg ax
lea rax, [rsp + 0x98]
sbb r8, r8
and r8, rax
movzx eax, word [rdi]
neg ax
lea rax, [rsp + 0x60]
sbb rdx, rdx
and rdx, rax
call fcn.140005a1c
mov r8, qword [rsp + 0x60]
mov rdx, rdi
mov rcx, r12
call fcn.14005b2f4
cmp bp, si
je 0x14007a250
mov r8, qword [rsp + 0x98]
mov rdx, rbx
mov rcx, r12
call fcn.14005b2f4
lea rcx, [rsp + 0x70]
call fcn.140053e80
lea rcx, [rsp + 0x98]
call fcn.140053e80
lea rcx, [rsp + 0x60]
jmp 0x14007ac3f
lea rcx, str.FTIME
mov rdx, rbx
call fcn.140055404
cmp al, sil
je 0x14007a57f
mov rcx, qword [rsp + 0x1f8]
call fcn.140019c78
lea rcx, [rsp + 0x78]
mov r15, rax
call fcn.14005bc74
lea rcx, [rsp + 0x68]
call fcn.14005bc74
lea rcx, [rsp + 0x60]
call fcn.14005bc74
lea r11, [rdi + r14*2]
mov eax, 0x2d
mov qword [rsp + 0x50], r11
mov r14d, esi
cmp ax, word [r11]
jne 0x14007a3db
lea ebx, [rax - 0x20]
lea r13d, [rax - 7]
mov r12d, eax
lea rdx, [rsp + 0x50]
lea rcx, str._local
mov r8d, 6
call fcn.14005e44c
cmp al, sil
je 0x14007a318
cmp bpl, sil
je 0x14007a30f
mov rax, qword [rsp + 0x50]
sub rax, 2
mov qword [rsp + 0x50], rax
mov word [rax], r13w
or bpl, 2
jmp 0x14007a3c4
lea rdx, [rsp + 0x50]
lea rcx, [0x1401058cc]
mov r8d, 3
call fcn.14005e44c
cmp al, sil
je 0x14007a33d
or bpl, 4
jmp 0x14007a3c4
lea rdx, [rsp + 0x50]
lea rcx, str._ws1
mov r8d, 4
call fcn.14005e44c
cmp al, sil
je 0x14007a35f
or bpl, 8
jmp 0x14007a3c4
lea rdx, [rsp + 0x50]
lea rcx, str._link
mov r8d, 5
call fcn.14005e44c
cmp al, sil
je 0x14007a383
mov r14d, 1
jmp 0x14007a3c4
mov rcx, qword [rsp + 0x50]
movzx eax, word [rcx]
cmp ax, si
je 0x14007a3ba
mov edx, 9
cmp dx, ax
ja 0x14007a39f
cmp ax, bx
jbe 0x14007a3b5
mov edx, 0x20
cmp dx, ax
je 0x14007a3b5
add rcx, 2
mov ax, word [rcx]
cmp ax, si
jne 0x14007a390
mov qword [rsp + 0x50], rcx
lea rcx, [rsp + 0x50]
call fcn.140053eb0
mov rax, qword [rsp + 0x50]
cmp r12w, word [rax]
je 0x14007a2dc
mov r12, qword [rsp + 0x1f0]
cmp bpl, sil
je 0x14007a3e8
mov eax, 0x26
mov word [rdi], ax
mov ebx, 0x2c
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x50]
mov r8d, ebx
call fcn.14005f7b4
mov rax, qword [rsp + 0x50]
cmp bx, word [rax]
jne 0x14007a449
add rax, 2
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x50]
mov r8d, ebx
mov qword [rsp + 0x50], rax
call fcn.14005f7b4
mov rax, qword [rsp + 0x50]
cmp bx, word [rax]
jne 0x14007a449
add rax, 2
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x50]
mov r8d, ebx
mov qword [rsp + 0x50], rax
call fcn.14005f7b4
lea r13, [rsp + 0x180]
mov edi, esi
cmp r14d, esi
je 0x14007a4d3
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], esi
lea rcx, [rsp + 0x88]
mov r9d, 3
mov r8d, 0x80000000
mov rdx, r15
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x20], rsi
call fcn.1400037b4
mov rbx, qword [rsp + 0x88]
cmp rbx, rsi
je 0x14007a4b2
lea rdx, [rsp + 0x100]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
mov edi, eax
lea r13, [rsp + 0x100]
cmp rbx, rsi
je 0x14007a4e8
or r14, 0xffffffffffffffff
cmp rbx, r14
je 0x14007a4e8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14007a4e8
lea r8, [rsp + 0x180]
xor edx, edx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
mov edi, eax
mov rdx, qword [rsp + 0x78]
mov rcx, r12
cmp edi, esi
je 0x14007a546
lea r8, [r13 + 4]
mov r9b, bpl
call fcn.140060304
mov rdx, qword [rsp + 0x68]
lea r8, [r13 + 0x14]
mov r9b, bpl
mov rcx, r12
call fcn.140060304
mov rdx, qword [rsp + 0x60]
lea r8, [r13 + 0xc]
mov r9b, bpl
mov rcx, r12
call fcn.140060304
lea rcx, [rsp + 0x60]
call fcn.140053e80
lea rcx, [rsp + 0x68]
call fcn.140053e80
lea rcx, [rsp + 0x78]
jmp 0x14007ac3f
lea r13, [0x1400fb538]
mov r8, r13
call fcn.14005b2f4
mov rdx, qword [rsp + 0x68]
mov r8, r13
mov rcx, r12
call fcn.14005b2f4
mov rdx, qword [rsp + 0x60]
mov r8, r13
mov rcx, r12
call fcn.14005b2f4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14007a528
lea rcx, str.FATTR
mov rdx, rbx
call fcn.140055404
cmp al, sil
je 0x14007a817
mov rcx, qword [rsp + 0x1f8]
call fcn.140019c78
mov r13d, 0x26
mov rbx, rax
cmp bpl, sil
je 0x14007a5b6
mov word [rdi], r13w
lea rcx, [rsp + 0xa0]
call fcn.14005bc74
lea rcx, [rsp + 0x78]
call fcn.14005bc74
lea rcx, [rsp + 0x68]
call fcn.14005bc74
lea rcx, [rsp + 0x60]
call fcn.14005bc74
lea rcx, [rsp + 0x58]
call fcn.14005bc74
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x50]
mov r8d, r15d
mov qword [rsp + 0x50], rdi
call fcn.14005f7b4
mov rax, qword [rsp + 0x50]
cmp r15w, word [rax]
jne 0x14007a6d1
cmp bpl, sil
je 0x14007a61f
mov word [rax], r13w
jmp 0x14007a628
add rax, 2
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x50]
mov r8d, r15d
call fcn.14005f7b4
mov rax, qword [rsp + 0x50]
cmp r15w, word [rax]
jne 0x14007a6d1
cmp bpl, sil
je 0x14007a654
mov word [rax], r13w
jmp 0x14007a65d
add rax, 2
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x50]
mov r8d, r15d
call fcn.14005f7b4
mov rax, qword [rsp + 0x50]
cmp r15w, word [rax]
jne 0x14007a6d1
cmp bpl, sil
je 0x14007a685
mov word [rax], r13w
jmp 0x14007a68e
add rax, 2
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x50]
mov r8d, r15d
call fcn.14005f7b4
mov rax, qword [rsp + 0x50]
cmp r15w, word [rax]
jne 0x14007a6d1
cmp bpl, sil
je 0x14007a6b6
mov word [rax], r13w
jmp 0x14007a6bf
add rax, 2
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x50]
mov r8d, r15d
call fcn.14005f7b4
lea r8, [rsp + 0xd0]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
mov rcx, r12
cmp eax, esi
je 0x14007a7c3
mov edx, dword [rsp + 0xd0]
mov r8, qword [rsp + 0xa0]
mov ebx, 1
shr edx, 5
and edx, ebx
call fcn.14005ecfc
mov edx, dword [rsp + 0xd0]
mov r8, qword [rsp + 0x78]
shr edx, 1
mov rcx, r12
and edx, ebx
call fcn.14005ecfc
mov edx, dword [rsp + 0xd0]
mov r8, qword [rsp + 0x68]
and edx, ebx
mov rcx, r12
call fcn.14005ecfc
mov edx, dword [rsp + 0xd0]
mov r8, qword [rsp + 0x60]
shr edx, 2
mov rcx, r12
and edx, ebx
call fcn.14005ecfc
mov r8d, dword [rsp + 0xd0]
lea rdx, str.0x_lX
lea rcx, [rsp + 0x100]
mov word [rsp + 0x100], si
call qword [sym.imp.USER32.dll_wsprintfW]
mov rdx, qword [rsp + 0x58]
lea r8, [rsp + 0x100]
mov rcx, r12
call fcn.14005b2f4
lea rcx, [rsp + 0x58]
call fcn.140053e80
lea rcx, [rsp + 0x60]
call fcn.140053e80
lea rcx, [rsp + 0x68]
call fcn.140053e80
lea rcx, [rsp + 0x78]
call fcn.140053e80
lea rcx, [rsp + 0xa0]
jmp 0x14007ac3f
mov rdx, qword [rsp + 0xa0]
lea r13, [0x1400fb538]
mov r8, r13
call fcn.14005b2f4
mov rdx, qword [rsp + 0x78]
mov r8, r13
mov rcx, r12
call fcn.14005b2f4
mov rdx, qword [rsp + 0x68]
mov r8, r13
mov rcx, r12
call fcn.14005b2f4
mov rdx, qword [rsp + 0x60]
mov r8, r13
mov rcx, r12
call fcn.14005b2f4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14007a78e
lea rcx, [rsp + 0x80]
call fcn.140053e80
cmp r13b, sil
jne 0x14007b21f
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0x80]
call fcn.1400668e8
lea rcx, [rsp + 0x1f8]
call fcn.140053eb0
lea rcx, str.DROPFILE
mov rdx, rbx
call fcn.140055404
cmp al, sil
je 0x14007a980
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x1f8]
mov qword [rsp + 0x88], rsi
call fcn.14006a79c
lea rcx, [rsp + 0x68]
call fcn.14005bc74
lea rcx, [rsp + 0x60]
call fcn.14005bc74
mov r11, qword [rsp + 0x80]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x58]
mov r8d, r15d
mov qword [rsp + 0x58], r11
call fcn.14005f7b4
mov rax, qword [rsp + 0x58]
cmp r15w, word [rax]
jne 0x14007a8ee
cmp bpl, sil
je 0x14007a8d3
mov r13d, 0x26
mov word [rax], r13w
jmp 0x14007a8dc
add rax, 2
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x58]
mov r8d, r15d
call fcn.14005f7b4
lea rcx, [rsp + 0x98]
call fcn.14005bc74
lea rcx, [rsp + 0x70]
call fcn.14005bc74
mov rbx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x88]
cmp word [rbx], si
lea r8, [rsp + 0x70]
cmove r8, rsi
cmp rcx, rsi
je 0x14007a930
lea rdx, [rsp + 0x98]
call fcn.140006004
mov r8, qword [rsp + 0x98]
mov rdx, qword [rsp + 0x68]
mov rcx, r12
call fcn.14005b2f4
mov r8, qword [rsp + 0x70]
mov rdx, rbx
mov rcx, r12
call fcn.14005b2f4
lea rcx, [rsp + 0x70]
call fcn.140053e80
lea rcx, [rsp + 0x98]
call fcn.140053e80
lea rcx, [rsp + 0x60]
call fcn.140053e80
lea rcx, [rsp + 0x68]
jmp 0x14007b20d
lea rcx, str.FPOS
mov rdx, rbx
call fcn.140055404
cmp al, sil
je 0x14007ac73
mov rcx, qword [rsp + 0x1f8]
call fcn.140019c78
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x70], rax
call fcn.140053eb0
mov rcx, qword [rsp + 0x70]
call fcn.140017068
lea rcx, [rsp + 0x90]
call fcn.14005bc74
mov rcx, qword [rsp + 0x70]
lea rdx, [rsp + 0x90]
call fcn.14001a0d4
mov rdi, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x80]
mov r13d, 0x26
cmp bpl, sil
je 0x14007a9fc
mov word [rbx], r13w
lea rcx, [rsp + 0xa0]
call fcn.14005bc74
lea rcx, [rsp + 0x78]
call fcn.14005bc74
lea rcx, [rsp + 0x68]
call fcn.14005bc74
lea rcx, [rsp + 0x60]
call fcn.14005bc74
lea rcx, [rsp + 0x58]
call fcn.14005bc74
lea rcx, [rsp + 0x98]
call fcn.14005bc74
lea rcx, [rsp + 0x70]
call fcn.14005bc74
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x50]
mov r8d, r15d
mov qword [rsp + 0x50], rbx
call fcn.14005f7b4
mov rax, qword [rsp + 0x50]
cmp r15w, word [rax]
jne 0x14007ab9b
cmp bpl, sil
je 0x14007aa7c
mov word [rax], r13w
jmp 0x14007aa85
add rax, 2
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x50]
mov r8d, r15d
call fcn.14005f7b4
mov rax, qword [rsp + 0x50]
cmp r15w, word [rax]
jne 0x14007ab9b
cmp bpl, sil
je 0x14007aab1
mov word [rax], r13w
jmp 0x14007aaba
add rax, 2
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x50]
mov r8d, r15d
call fcn.14005f7b4
mov rax, qword [rsp + 0x50]
cmp r15w, word [rax]
jne 0x14007ab9b
cmp bpl, sil
je 0x14007aae6
mov word [rax], r13w
jmp 0x14007aaef
add rax, 2
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x50]
mov r8d, r15d
call fcn.14005f7b4
mov rax, qword [rsp + 0x50]
cmp r15w, word [rax]
jne 0x14007ab9b
cmp bpl, sil
je 0x14007ab1b
mov word [rax], r13w
jmp 0x14007ab24
add rax, 2
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x50]
mov r8d, r15d
call fcn.14005f7b4
mov rax, qword [rsp + 0x50]
cmp r15w, word [rax]
jne 0x14007ab9b
cmp bpl, sil
je 0x14007ab4c
mov word [rax], r13w
jmp 0x14007ab55
add rax, 2
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x50]
mov r8d, r15d
call fcn.14005f7b4
mov rax, qword [rsp + 0x50]
cmp r15w, word [rax]
jne 0x14007ab9b
cmp bpl, sil
je 0x14007ab80
mov word [rax], r13w
jmp 0x14007ab89
add rax, 2
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
mov r8d, r15d
call fcn.14005f7b4
mov rax, qword [rsp + 0x70]
mov r9, qword [rsp + 0x78]
mov r8, qword [rsp + 0xa0]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x98]
mov rdx, rdi
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x58]
mov rcx, r12
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
call fcn.14004f74c
lea rcx, [rsp + 0x70]
movsxd rsi, eax
call fcn.140053e80
lea rcx, [rsp + 0x98]
call fcn.140053e80
lea rcx, [rsp + 0x58]
call fcn.140053e80
lea rcx, [rsp + 0x60]
call fcn.140053e80
lea rcx, [rsp + 0x68]
call fcn.140053e80
lea rcx, [rsp + 0x78]
call fcn.140053e80
lea rcx, [rsp + 0xa0]
call fcn.140053e80
lea rcx, [rsp + 0x90]
call fcn.140053e80
lea rcx, [rsp + 0x80]
call fcn.140053e80
lea rcx, [rsp + 0xb0]
call fcn.140053e80
lea rcx, [rsp + 0xa8]
call fcn.140053e80
mov rax, rsi
jmp 0x14007b23b
lea rcx, str.PPID
mov rdx, rbx
call fcn.140055404
cmp al, sil
je 0x14007acb6
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x1f8]
mov qword [rsp + 0x88], rsi
call fcn.14006a79c
mov rcx, qword [rsp + 0x88]
call fcn.14000643c
mov rdx, rax
jmp 0x14007acd1
lea rcx, str.ISADMIN
mov rdx, rbx
call fcn.140055404
cmp al, sil
je 0x14007ace6
call fcn.1400cae50
mov edx, eax
mov r8, qword [rsp + 0x80]
mov rcx, r12
call fcn.14005ecfc
jmp 0x14007b212
lea rcx, str.fvar
mov rdx, rbx
call fcn.140055404
cmp al, sil
jne 0x14007b256
lea rcx, [0x140105878]
mov r8d, 5
mov rdx, rbx
call qword [sym.imp.SHLWAPI.dll_StrCmpNIW]
cmp eax, esi
je 0x14007b256
lea rcx, str.PWIN
mov rdx, rbx
call fcn.140055404
cmp al, sil
je 0x14007aeeb
lea rcx, [rsp + 0x70]
call fcn.14005bc74
lea rcx, [rsp + 0x90]
call fcn.14005bc74
mov r11, qword [rsp + 0x80]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x88]
xor r9d, r9d
mov r8d, r15d
mov qword [rsp + 0x88], r11
call fcn.14004d9c4
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x88]
mov r8d, r15d
call fcn.14005f7b4
lea rcx, [rsp + 0x68]
call qword [sym.imp.USER32.dll_GetCursorPos]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x1f8]
mov qword [rsp + 0x50], rsi
call fcn.140006f20
mov ecx, dword [rsp + 0x68]
cmp eax, esi
lea rdx, [rsp + 0x50]
cmovne ecx, dword [rsp + 0x50]
mov dword [rsp + 0x68], ecx
lea rcx, [rsp + 0x1f8]
call fcn.140006f20
mov ecx, dword [rsp + 0x6c]
lea rdx, [rsp + 0x50]
cmp eax, esi
cmovne ecx, dword [rsp + 0x50]
mov qword [rsp + 0x50], 3
mov dword [rsp + 0x6c], ecx
mov rax, qword [rsp + 0x68]
lea rcx, [rsp + 0x1f8]
mov qword [rsp + 0x60], rax
call fcn.140006f20
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.USER32.dll_WindowFromPoint]
mov rbx, qword [rsp + 0x90]
mov rbp, rax
mov rdi, rax
cmp rax, rsi
je 0x14007aea8
mov r13, qword [rsp + 0x50]
cmp r13, 3
jne 0x14007ae34
cmp word [rbx], si
je 0x14007aea8
mov r14d, 0xfffffff0
jmp 0x14007ae4d
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetParent]
cmp rax, rsi
je 0x14007ae5f
mov rdi, rax
mov edx, r14d
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowLongW]
bt eax, 0x1e
jb 0x14007ae3c
cmp r13, 3
je 0x14007aea8
lea rdx, [rsp + 0x58]
mov rcx, rdi
mov dword [rsp + 0x58], esi
mov dword [rsp + 0x5c], esi
call qword [sym.imp.USER32.dll_ClientToScreen]
mov r11d, dword [rsp + 0x58]
mov eax, dword [rsp + 0x5c]
sub dword [rsp + 0x60], r11d
mov r8d, r13d
sub dword [rsp + 0x64], eax
mov rdx, qword [rsp + 0x60]
mov rcx, rdi
mov rbp, rdi
call qword [sym.imp.USER32.dll_ChildWindowFromPointEx]
cmp rax, rsi
cmovne rbp, rax
mov r8, qword [rsp + 0x70]
lea r9, [0x140100ee0]
mov rdx, rbp
mov rcx, r12
call fcn.14005ec24
lea r9, [0x140100ee0]
mov r8, rbx
mov rdx, rdi
mov rcx, r12
call fcn.14005ec24
lea rcx, [rsp + 0x90]
call fcn.140053e80
lea rcx, [rsp + 0x70]
jmp 0x14007b20d
lea rcx, str.PEBIT
mov rdx, rbx
call fcn.140055404
cmp al, sil
je 0x14007b212
mov rax, qword [rsp + 0x80]
lea rcx, [rsp + 0x90]
mov qword [rsp + 0x88], rax
call fcn.14005bc74
lea rcx, [rsp + 0x60]
call fcn.14005bc74
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x88]
xor r9d, r9d
mov r8d, r15d
call fcn.14004d9c4
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x88]
mov r8d, r15d
call fcn.14005f7b4
or r14, 0xffffffffffffffff
lea rdx, [rsp + 0xb8]
lea rcx, [rsp + 0x1f8]
lea r8d, [r14 + 0xe]
mov rbp, r14
lea r13, [0x1400fb538]
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0xb8], rsi
call fcn.140023518
mov rcx, qword [rsp + 0x1f8]
cmp word [rcx], si
je 0x14007b1af
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
mov rax, qword [rsp + 0x1f8]
cmp word [rax + rcx*2 - 2], 0x5c
je 0x14007afd6
cmp word [rax + rcx*2 - 2], 0x2f
je 0x14007afd6
mov rcx, rax
call fcn.1400de6f4
cmp eax, esi
jne 0x14007afdb
mov rdx, qword [rsp + 0x1f8]
jmp 0x14007b00b
mov word [rax + rcx*2 - 2], si
mov rdx, qword [rsp + 0x1f8]
lea rcx, [rsp + 0x58]
call fcn.140066a00
lea rdx, str._version.dll
lea rcx, [rsp + 0x58]
call fcn.14005bdb0
mov rdx, qword [rsp + 0x58]
mov qword [rsp + 0x1f8], rdx
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], 0x80
lea rcx, [rsp + 0x70]
mov r9d, 7
mov r8d, 0x80000000
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x20], rsi
call fcn.1400037b4
mov rdi, qword [rsp + 0x70]
cmp rdi, rsi
je 0x14007b1af
mov r15d, 0x1000
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x208], esi
mov rdx, r15
call fcn.14005bce8
mov rbx, qword [rsp + 0x70]
mov r8, r15
mov rcx, rbx
xor edx, edx
call fcn.1400df2a0
lea r9, [rsp + 0x208]
mov r8d, r15d
mov rdx, rbx
mov rcx, rdi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, esi
je 0x14007b197
mov edx, dword [rsp + 0x208]
cmp edx, 0x40
jb 0x14007b197
mov eax, 0x5a4d
cmp word [rbx], ax
jne 0x14007b197
mov ecx, dword [rbx + 0x3c]
lea eax, [rcx + 8]
cmp eax, edx
jbe 0x14007b106
mov rdx, rcx
xor r8d, r8d
mov rcx, rdi
mov qword [rbx], rsi
call fcn.1400552b4
lea r9, [rsp + 0x208]
mov r8d, 8
mov rdx, rbx
mov rcx, rdi
mov dword [rsp + 0x208], esi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [rsp + 0x208]
mov ecx, esi
lea eax, [rcx + 8]
cmp eax, edx
ja 0x14007b197
mov eax, ecx
mov rbp, qword [rax + rbx]
movabs rax, 0xffffffffffff
and rbp, rax
movabs rax, 0x866400004550
cmp rbp, rax
jne 0x14007b13c
lea r13, [0x140105840]
jmp 0x14007b197
movabs rax, 0x14c00004550
cmp rbp, rax
je 0x14007b190
movabs rax, 0x20000004550
cmp rbp, rax
jne 0x14007b163
lea r13, str.ia64
jmp 0x14007b197
movabs rax, 0x1373c05454e
cmp rbp, rax
je 0x14007b190
movabs rax, 0x1b03c05454e
cmp rbp, rax
je 0x14007b190
movabs rax, 0xe73c05454e
cmp rbp, rax
jne 0x14007b197
lea r13, [0x140105828]
lea rcx, [rsp + 0x70]
call fcn.140053e80
cmp rdi, r14
je 0x14007b1af
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rsp + 0x90]
mov r8, r13
mov rcx, r12
call fcn.14005b2f4
cmp rbp, rsi
mov rcx, r12
jg 0x14007b1dd
mov rdx, qword [rsp + 0x60]
lea r8, str._0x000000000001
call fcn.14005b2f4
jmp 0x14007b1f1
mov r8, qword [rsp + 0x60]
lea r9, str.0x_012I64X
mov rdx, rbp
call fcn.14005ec24
lea rcx, [rsp + 0x58]
call fcn.140053e80
lea rcx, [rsp + 0x60]
call fcn.140053e80
lea rcx, [rsp + 0x90]
call fcn.140053e80
lea rcx, [rsp + 0x80]
call fcn.140053e80
lea rcx, [rsp + 0xb0]
call fcn.140053e80
lea rcx, [rsp + 0xa8]
call fcn.140053e80
xor eax, eax
mov rbx, qword [rsp + 0x200]
add rsp, 0x1b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov eax, 0x2b
lea rcx, [rsp + 0x70]
cmp word [rbx + 8], ax
setne r14b
dec r14b
and r14b, al
mov byte [rsp + 0x208], r14b
call fcn.14005bc74
lea rcx, [rsp + 0x68]
call fcn.14005bc74
mov rax, qword [rsp + 0x80]
lea rdi, str.8BE4DF61_93CA_11D2_AA0D_00E098032B8C
mov r15b, sil
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0xb8], rsi
lea r13, [0x1400fb538]
mov qword [rsp + 0x58], rdi
mov dword [rsp + 0xa0], r15d
cmp r14b, sil
je 0x14007b301
lea rdx, [rsp + 0x60]
lea rcx, [0x140105794]
mov r8d, 2
call fcn.14005e44c
movzx r15d, sil
cmp al, sil
mov eax, 1
cmovne r15d, eax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xc0], rax
mov dword [rsp + 0xa0], r15d
mov r15d, 0x3b
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x1f8]
lea r14d, [r15 - 0xf]
mov r9d, r15d
mov qword [rsp + 0x98], rsi
mov r8d, r14d
call fcn.14005f848
mov r11, qword [rsp + 0x1f8]
movzx eax, word [r11]
cmp ax, si
je 0x14007b377
add r11, 2
mov qword [rsp + 0x1f8], r11
cmp r15w, ax
jne 0x14007b377
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x1f8]
xor r9d, r9d
mov r8d, r14d
call fcn.14004d9c4
mov rax, qword [rsp + 0x70]
cmp word [rax], si
cmovne rdi, rax
mov qword [rsp + 0x58], rdi
mov edx, 2
lea rcx, str.SeSystemEnvironmentPrivilege
lea r8d, [rdx + 0x7e]
call fcn.14001a130
or r14, 0xffffffffffffffff
mov edi, esi
mov dword [rsp + 0x50], esi
mov r15, r14
mov qword [rsp + 0x90], r14
cmp byte [rsp + 0x208], sil
je 0x14007b5a9
lea rcx, [rsp + 0xc8]
call fcn.14005bc74
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x50], rsi
cmp word [rax], si
je 0x14007b3dd
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x60]
call fcn.14005fe50
mov r13d, dword [rsp + 0xa0]
lea rcx, [0x14011af08]
mov al, r13b
neg al
sbb rbp, rbp
and rbp, rcx
je 0x14007b402
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp r13b, sil
je 0x14007b458
mov rdx, qword [rsp + 0x1f8]
mov r9d, r14d
xor r8d, r8d
mov rcx, r12
mov qword [rsp + 0x20], rsi
call fcn.140016e70
mov r8, rsi
mov qword [rsp + 0x1f8], rsi
cmp rax, rsi
je 0x14007b451
mov r8, qword [rax + 8]
mov qword [rsp + 0x1f8], r8
mov r15, qword [rax + 0x18]
movabs rax, 0x3fffffffffffffff
and r15, rax
jmp 0x14007b486
mov edi, 1
jmp 0x14007b486
lea r8, [rbx + 0xa]
lea r9, [rsp + 0x90]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x1f8]
call fcn.140075640
mov r8, qword [rsp + 0x1f8]
mov r15, qword [rsp + 0x90]
cmp r15, rsi
jl 0x14007b522
mov rax, qword [rsp + 0xc0]
cmp word [rax], si
je 0x14007b50d
mov r10, qword [0x14011a1c8]
mov edi, 0x7f
cmp r10, rsi
jne 0x14007b4e7
lea r8, [0x14011a1c8]
lea rdx, str.Kernel32.DLL
lea rcx, str.SetFirmwareEnvironmentVariableExW
xor r9d, r9d
call fcn.140055434
mov r10, qword [0x14011a1c8]
mov r8, qword [rsp + 0x1f8]
cmp r10, rsi
cmove r10, r14
mov qword [0x14011a1c8], r10
cmp r10, r14
je 0x14007b522
mov eax, dword [rsp + 0x98]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x68]
mov r9d, r15d
mov dword [rsp + 0x20], eax
mov edi, esi
call r10
mov ebx, eax
jmp 0x14007b524
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x68]
mov r9d, r15d
call qword [sym.imp.KERNEL32.dll_SetFirmwareEnvironmentVariableW]
jmp 0x14007b509
mov ebx, esi
cmp rbp, rsi
je 0x14007b532
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp ebx, esi
jne 0x14007b542
cmp edi, esi
jg 0x14007b542
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea rcx, [rsp + 0x50]
call fcn.140053e80
lea rcx, [rsp + 0xc8]
call fcn.140053e80
lea rcx, [rsp + 0xb8]
call fcn.140053e80
lea rcx, [rsp + 0x68]
call fcn.140053e80
lea rcx, [rsp + 0x70]
call fcn.140053e80
lea rcx, [rsp + 0x80]
call fcn.140053e80
lea rcx, [rsp + 0xb0]
call fcn.140053e80
lea rcx, [rsp + 0xa8]
call fcn.140053e80
movsxd rax, edi
jmp 0x14007b23b
lea rcx, [rsp + 0x78]
mov edx, 0x1000
call fcn.14005bce8
lea rcx, [rsp + 0x88]
call fcn.14005bc74
xor r9d, r9d
lea rdx, [rsp + 0x88]
lea r8d, [r9 + 0x2c]
lea rcx, [rsp + 0x60]
call fcn.14004d9c4
mov rcx, qword [rsp + 0x60]
lea rax, [0x140105714]
mov qword [rsp + 0xa0], rcx
mov qword [rsp + 0x90], rax
cmp word [rcx], si
je 0x14007b6bd
mov rax, qword [0x14011a1d0]
mov edi, 0x7f
mov dword [rsp + 0x50], edi
cmp rax, rsi
jne 0x14007b64a
lea r8, [0x14011a1d0]
lea rdx, str.Kernel32.DLL
lea rcx, str.GetFirmwareEnvironmentVariableExW
xor r9d, r9d
call fcn.140055434
mov rax, qword [0x14011a1d0]
cmp rax, rsi
cmove rax, r14
mov qword [0x14011a1d0], rax
cmp rax, r14
je 0x14007b6bd
mov rbx, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x98]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x68]
mov r9d, 0x2000
mov r8, rbx
call rax
mov r14d, eax
cmp eax, esi
je 0x14007b6ac
mov r8d, dword [rsp + 0x98]
lea rax, [rsp + 0x100]
lea rdx, str.0x_X
lea rcx, [rsp + 0x100]
mov qword [rsp + 0x90], rax
call qword [sym.imp.USER32.dll_wsprintfW]
jmp 0x14007b6de
lea rax, str.FAIL
mov qword [rsp + 0x90], rax
jmp 0x14007b6de
mov rbx, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x68]
mov r8, rbx
mov r9d, 0x2000
call qword [sym.imp.KERNEL32.dll_GetFirmwareEnvironmentVariableW]
mov r14d, eax
mov rcx, qword [rsp + 0x88]
movsx r15d, byte [r12 + 0xd]
movsx eax, bpl
or r15d, eax
mov eax, 0x26
mov qword [rsp + 0x58], rcx
cmp ax, word [rcx]
jne 0x14007b708
or r15d, 2
jmp 0x14007b738
mov eax, 0x24
cmp ax, word [rcx]
je 0x14007b72c
mov eax, 0x5e
cmp ax, word [rcx]
je 0x14007b72c
mov eax, 0x2e
cmp ax, word [rcx]
jne 0x14007b738
or r15d, 4
jmp 0x14007b72f
mov r15d, esi
add rcx, 2
mov qword [rsp + 0x58], rcx
cmp r14d, esi
je 0x14007b7e1
mov eax, 0x2000
cmp r14d, eax
cmova r14d, eax
cmp r15d, esi
jne 0x14007b7dc
lea ebp, [r14 + 1]
lea rcx, [rsp + 0x78]
mov qword [rsp + 0xc0], rbx
lea eax, [rbp + rbp*4]
mov qword [rsp + 0x78], rsi
movsxd rdx, eax
call fcn.14005bd74
mov qword [rsp + 0xc8], rbx
mov rbx, qword [rsp + 0x78]
dec ebp
lea r13, [rbx - 0xa]
cmp ebp, esi
jle 0x14007b7ca
mov r12, qword [rsp + 0xc8]
mov edi, 1
movzx r8d, byte [r12]
add r13, 0xa
lea rdx, str.0x_02X
mov rcx, r13
call qword [sym.imp.USER32.dll_wsprintfW]
sub ebp, edi
add r12, rdi
cmp ebp, esi
jg 0x14007b79c
mov r12, qword [rsp + 0x1f0]
mov edi, dword [rsp + 0x50]
lea rcx, [rsp + 0xc0]
mov word [r13 - 2], si
call fcn.140053e80
mov r13, rbx
jmp 0x14007b7ed
cmp edi, esi
jg 0x14007b7ed
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rdx, qword [rsp + 0x58]
mov r8, r13
mov rcx, r12
test r15b, 3
je 0x14007b817
lea rax, [rsp + 0x78]
mov r9d, r14d
mov byte [rsp + 0x28], sil
mov qword [rsp + 0x20], rax
call fcn.14006b08c
jmp 0x14007b81c
call fcn.14005b2f4
mov rdx, qword [rsp + 0xa0]
cmp word [rdx], si
je 0x14007b839
mov r8, qword [rsp + 0x90]
mov rcx, r12
call fcn.14005b2f4
lea rcx, [rsp + 0x88]
call fcn.140053e80
lea rcx, [rsp + 0x78]
jmp 0x14007b554