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

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x2d8
mov rax, qword [0x18002d5c0]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
cmp qword [rsp + 0x2f0], 0
je 0x180001689
cmp dword [rsp + 0x2f8], 0
jne 0x180001690
xor eax, eax
jmp 0x1800019a5
mov rax, qword [rsp + 0x2f0]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1800016bd
xor eax, eax
jmp 0x1800019a5
mov rax, qword [rsp + 0x58]
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 0x1800016ea
xor eax, eax
jmp 0x1800019a5
lea rax, [rsp + 0xc0]
mov rcx, qword [rsp + 0x50]
mov rdi, rax
lea rsi, [rcx + 0x18]
mov ecx, 0xf0
rep movsb byte [rdi], byte [rsi]
mov eax, 8
imul rax, rax, 0
mov eax, dword [rsp + rax + 0x130]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x24], 0
jmp 0x18000178a
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0x24], eax
jae 0x1800019a3
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x88]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x90]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x98]
call fcn.18000e8c0
cmp dword [rsp + 0x2f8], eax
jne 0x18000199e
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x40], rax
jb 0x180001997
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx + rax + 0x8c]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x40], rax
jae 0x180001997
lea rax, [rsp + 0x1b0]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x68], 0
mov rcx, qword [rsp + 0x40]
call fcn.180016690
mov r8, rax
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x1b0]
call fcn.18001fc50
mov dword [rsp + 0x20], 0
jmp 0x18000189f
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x20]
mov qword [rsp + 0xa0], rax
lea rcx, [rsp + 0x1b0]
call fcn.180016690
mov rcx, qword [rsp + 0xa0]
cmp rcx, rax
jae 0x18000190d
movsxd rax, dword [rsp + 0x20]
movsx eax, byte [rsp + rax + 0x1b0]
cmp eax, 0x2e
jne 0x18000190b
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x38], eax
movsxd rax, dword [rsp + 0x20]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0x104
jae 0x1800018f7
jmp 0x1800018fc
call fcn.18000f870
mov rax, qword [rsp + 0x60]
mov byte [rsp + rax + 0x1b0], 0
jmp 0x18000190d
jmp 0x180001895
lea rax, [rsp + 0x1b0]
mov qword [rsp + 0x78], rax
mov eax, dword [rsp + 0x38]
lea rax, [rsp + rax + 0x1b1]
mov qword [rsp + 0x68], rax
mov ecx, 0x3a32ca43
call fcn.1800014f0
mov edx, 0x393634a9
mov rcx, rax
call fcn.180001650
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
je 0x180001993
mov rcx, qword [rsp + 0x68]
call fcn.18000e8c0
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xa8], rax
mov rcx, qword [rsp + 0x78]
call qword [rsp + 0xa8]
mov qword [rsp + 0xb0], rax
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0xb0]
call fcn.180001650
jmp 0x1800019a5
xor eax, eax
jmp 0x1800019a5
mov rax, qword [rsp + 0x40]
jmp 0x1800019a5
jmp 0x180001780
xor eax, eax
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.18000faf0
add rsp, 0x2d8
pop rdi
pop rsi
ret