Function at 0x14008d38f
Capabilities:
Parse pe header
Query environment variable
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax]
cmp dword [rsp + 0x20], eax
jae 0x140063e50
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x128
mov rcx, qword [rsp + 0x48]
lea rax, [rcx + rax + 8]
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x128
mov rdx, qword [rsp + 0x48]
movzx ecx, word [rdx + rcx + 0x2e]
lea rax, [rax + rcx + 0x28]
mov rdx, rax
lea rcx, [rsp + 0x100]
call fcn.14004de30
nop
lea rcx, [rsp + 0x100]
call fcn.14004ddc0
mov rdx, qword [rsp + 0x150]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x140063e3e
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x128
mov rcx, qword [rsp + 0x48]
lea rax, [rcx + rax + 0x30]
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.14004de30
nop
lea rcx, str.SYSTEMROOT
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov rdx, rax
lea rcx, [rsp + 0x120]
call fcn.14004de30
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xa8], rax
lea rdx, [0x14006d62c]
mov rcx, qword [rsp + 0xa8]
call fcn.140055550
mov qword [rsp + 0xb0], rax
xor r8d, r8d
lea rdx, str.SystemRoot_
lea rcx, [rsp + 0x78]
call fcn.14005ab80
mov qword [rsp + 0xb8], rax
mov r9, qword [rsp + 0xb0]
mov r8d, 0xc
mov rdx, qword [rsp + 0xb8]
lea rcx, [rsp + 0x78]
call fcn.14005ada0
nop
lea rcx, [rsp + 0x120]
call fcn.14004ddd0
lea rcx, [rsp + 0x78]
call fcn.14004ddc0
mov r8d, 1
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140063bbf
mov qword [rsp + 0xc0], 0
lea rcx, [rsp + 0x78]
call fcn.14004ddd0
nop
lea rcx, [rsp + 0x100]
call fcn.14004ddd0
mov rax, qword [rsp + 0xc0]
jmp 0x140063e65
mov rax, qword [rsp + 0x60]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
cmp dword [rax], 0x4550
je 0x140063c16
mov qword [rsp + 0xc8], 0
lea rcx, [rsp + 0x78]
call fcn.14004ddd0
nop
lea rcx, [rsp + 0x100]
call fcn.14004ddd0
mov rax, qword [rsp + 0xc8]
jmp 0x140063e65
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x58]
cmp dword [rcx + rax + 0x88], 0
jne 0x140063c5f
mov qword [rsp + 0xd0], 0
lea rcx, [rsp + 0x78]
call fcn.14004ddd0
nop
lea rcx, [rsp + 0x100]
call fcn.14004ddd0
mov rax, qword [rsp + 0xd0]
jmp 0x140063e65
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x24], 0
jmp 0x140063ce3
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x1c]
cmp dword [rsp + 0x24], eax
jae 0x140063e33
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0xd8]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x158]
sub rax, rcx
movzx edx, byte [rcx]
cmp dl, byte [rcx + rax]
jne 0x140063d2e
inc rcx
test dl, dl
jne 0x140063d1b
xor eax, eax
jmp 0x140063d33
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140063e2e
movzx eax, byte [rsp + 0x160]
test eax, eax
jne 0x140063dcb
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x128
movsxd rcx, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x68]
movzx ecx, word [rdx + rcx*2]
mov rdx, qword [rsp + 0x70]
mov ecx, dword [rdx + rcx*4]
mov rdx, qword [rsp + 0x48]
add rcx, qword [rdx + rax + 0x18]
mov rax, rcx
mov qword [rsp + 0xe0], rax
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0xe8], rax
lea rcx, [rsp + 0x78]
call fcn.14004ddd0
nop
lea rcx, [rsp + 0x100]
call fcn.14004ddd0
mov rax, qword [rsp + 0xe8]
jmp 0x140063e65
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x68]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx + rax*4]
mov qword [rsp + 0xf0], rax
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0xf8], rax
lea rcx, [rsp + 0x78]
call fcn.14004ddd0
nop
lea rcx, [rsp + 0x100]
call fcn.14004ddd0
mov rax, qword [rsp + 0xf8]
jmp 0x140063e65
jmp 0x140063cd9
lea rcx, [rsp + 0x78]
call fcn.14004ddd0
nop
lea rcx, [rsp + 0x100]
call fcn.14004ddd0
jmp 0x140063a06
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
add rsp, 0x148
ret
je 0x140063a79
mov rsi, qword [rsp + 0x28]
movabs r12, 0x7a665569048712ac
xchg qword [rsp + 0x40], rbp
call fcn.1400ff249
call fcn.1401f0961
fisubr word [rbp - 0x3333eed2]
int3