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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
cmp qword [rsp + 0xc0], 0
jne 0x140002db2
mov ecx, 0x57
call sub.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x14000304b
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0xb0], 0
jne 0x140002dd6
xor ecx, ecx
call sub.KERNEL32.dll_GetModuleHandleW
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140002df6
mov ecx, 0xc1
call sub.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x14000304b
mov rax, qword [rsp + 0x28]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x4550
je 0x140002e2d
mov ecx, 0xbf
call sub.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x14000304b
mov rax, qword [rsp + 0x40]
movzx eax, word [rax + 0x14]
test eax, eax
jne 0x140002e4b
mov ecx, 0xc0
call sub.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x14000304b
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
mov edx, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
call fcn.140002d50
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x140002e88
mov ecx, 0xc0
call sub.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x14000304b
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax + 0x8c]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x30]
mov edx, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x28]
call fcn.140002d50
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x30]
mov edx, dword [rax + 0x20]
mov rcx, qword [rsp + 0x28]
call fcn.140002d50
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x30]
mov edx, dword [rax + 0x24]
mov rcx, qword [rsp + 0x28]
call fcn.140002d50
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x20], 0
jmp 0x140002f0c
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0x20], eax
jae 0x14000302f
cmp qword [rsp + 0x58], 0
je 0x140002f43
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x58]
mov edx, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x28]
call fcn.140002d50
mov qword [rsp + 0x60], rax
jmp 0x140002f4c
mov qword [rsp + 0x60], 0
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x78], 0
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x48], rax
jbe 0x140002f83
mov rax, qword [rsp + 0x80]
cmp qword [rsp + 0x48], rax
jae 0x140002f83
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x24], 0
jmp 0x140002f97
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x24], eax
jae 0x140002ff7
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x88]
movzx eax, word [rcx + rax*2]
cmp eax, dword [rsp + 0x20]
jne 0x140002ff5
cmp qword [rsp + 0x68], 0
je 0x140002fe0
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x68]
mov edx, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x28]
call fcn.140002d50
mov qword [rsp + 0x70], rax
jmp 0x140002fe9
mov qword [rsp + 0x70], 0
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x78], rax
jmp 0x140002ff7
jmp 0x140002f8d
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x10]
add eax, dword [rsp + 0x20]
mov dword [rsp + 0x50], eax
mov r9, qword [rsp + 0x48]
mov r8, qword [rsp + 0x78]
mov edx, dword [rsp + 0x50]
mov rcx, qword [rsp + 0xb8]
call qword [rsp + 0xc0]
test eax, eax
jne 0x14000302a
jmp 0x14000302f
jmp 0x140002f02
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov eax, 1
jmp 0x14000304b
add rsp, 0xa8
ret