Function at 0x140036160
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov rax, qword [rsp + 0xa0]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14003618a
xor eax, eax
jmp 0x14003649d
mov rax, qword [rsp + 0xa0]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0xa0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp dword [rax], 0x4550
je 0x1400361bd
xor eax, eax
jmp 0x14003649d
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 0x14]
cmp rax, 0xf0
jne 0x1400361de
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400361e5
xor eax, eax
jmp 0x14003649d
mov rax, qword [rsp + 0xa0]
mov qword [0x14017ea98], rax
mov rax, qword [rsp + 0xa0]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0xa0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx + rax + 0x88]
mov qword [rsp + 0x48], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx + rax + 0x8c]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x48]
call fcn.1400357d0
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x140036278
xor eax, eax
jmp 0x14003649d
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x50]
mov ecx, dword [rcx + 0x14]
mov eax, dword [rax + 0xc]
sub eax, ecx
mov eax, eax
mov qword [rsp + 0x88], rax
mov r8, qword [0x14017ea98]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x48]
call fcn.140035880
mov qword [rsp + 0x28], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx + rax + 0x88]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1400362f0
mov r9d, 0x10
xor r8d, r8d
lea rdx, str.Error_in_GetProcAddressDirectly__
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x14003649d
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x24]
add rax, qword [rsp + 0xa0]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x20]
add rax, qword [rsp + 0xa0]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x1c]
add rax, qword [rsp + 0xa0]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
shr rax, 0x10
and rax, 0xffff
movzx eax, ax
test eax, eax
je 0x140036431
mov dword [rsp + 0x20], 0
jmp 0x140036382
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x14]
dec eax
cmp dword [rsp + 0x20], eax
ja 0x14003642f
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
jne 0x1400363ac
jmp 0x140036378
mov dword [rsp + 0x30], 0
jmp 0x1400363c0
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x18]
dec eax
cmp dword [rsp + 0x30], eax
ja 0x14003642a
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x60]
movzx eax, word [rcx + rax*2]
cmp eax, dword [rsp + 0x20]
jne 0x140036428
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x78]
mov eax, dword [rcx + rax*4]
add rax, qword [rsp + 0xa0]
mov qword [rsp + 0x68], rax
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x68]
call fcn.140047a90
test eax, eax
jne 0x140036428
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax*4]
add rax, qword [rsp + 0xa0]
jmp 0x14003649d
jmp 0x1400363b6
jmp 0x140036378
jmp 0x14003649b
mov dword [rsp + 0x20], 0
jmp 0x140036445
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x14]
dec eax
cmp dword [rsp + 0x20], eax
ja 0x14003649b
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x10]
add eax, dword [rsp + 0x20]
mov eax, eax
cmp qword [rsp + 0x58], rax
jne 0x140036499
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
cmp dword [rcx + rax*4], 0
je 0x140036499
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax*4]
imul rax, rax, 0x40
mov rcx, qword [rsp + 0xa0]
add rcx, rax
mov rax, rcx
jmp 0x14003649d
jmp 0x14003643b
xor eax, eax
add rsp, 0x98
ret