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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x90], 0
jne 0x1800d753f
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 0x1800d755f
mov ecx, 0xc1
call sub.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x1800d77f2
mov rax, qword [rsp + 0x28]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
cmp dword [rax], 0x4550
je 0x1800d7596
mov ecx, 0xbf
call sub.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x1800d77f2
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x14]
test eax, eax
jne 0x1800d75b4
mov ecx, 0xc0
call sub.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x1800d77f2
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x50]
mov edx, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
call fcn.1800d6e40
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1800d75f1
mov ecx, 0xc0
call sub.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x1800d77f2
jmp 0x1800d7601
mov rax, qword [rsp + 0x30]
add rax, 0x14
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp dword [rax], 0
je 0x1800d77b7
mov rax, qword [rsp + 0x30]
mov edx, dword [rax + 0xc]
mov rcx, qword [rsp + 0x28]
call fcn.1800d6e40
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x1800d763f
mov ecx, 0xc0
call sub.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x1800d77f2
mov rax, qword [rsp + 0x30]
mov edx, dword [rax]
mov rcx, qword [rsp + 0x28]
call fcn.1800d6e40
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x30]
mov edx, dword [rax + 0x10]
mov rcx, qword [rsp + 0x28]
call fcn.1800d6e40
mov qword [rsp + 0x60], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + rax]
call fcn.1800d7d80
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0xa0], 0
je 0x1800d76b5
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x98]
call qword [rsp + 0xa0]
test eax, eax
jne 0x1800d76b5
jmp 0x1800d77b7
mov dword [rsp + 0x20], 0
cmp qword [rsp + 0x40], 0
je 0x1800d77b2
jmp 0x1800d76d5
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
cmp qword [rcx + rax*8], 0
je 0x1800d7790
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x68], 0
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
movabs rdx, 0x8000000000000000
mov rax, qword [rcx + rax*8]
and rax, rdx
test rax, rax
je 0x1800d7732
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx + rax*8]
and rax, 0xffff
mov dword [rsp + 0x38], eax
jmp 0x1800d7752
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax*8]
add eax, 2
mov edx, eax
mov rcx, qword [rsp + 0x28]
call fcn.1800d6e40
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0xa8], 0
je 0x1800d778b
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x60]
lea rax, [rcx + rax*8]
mov r9, rax
mov r8, qword [rsp + 0x68]
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x98]
call qword [rsp + 0xa8]
test eax, eax
jne 0x1800d778b
jmp 0x1800d7790
jmp 0x1800d76cb
cmp qword [rsp + 0xa8], 0
je 0x1800d77b2
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x98]
call qword [rsp + 0xa8]
jmp 0x1800d75f3
cmp qword [rsp + 0xa0], 0
je 0x1800d77d6
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x98]
call qword [rsp + 0xa0]
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov eax, 1
jmp 0x1800d77f2
add rsp, 0x88
ret