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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xd8
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov rcx, rax
call fcn.180004880
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x40], 0xffffffffffffffff
inc qword [rsp + 0x40]
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x40]
cmp byte [rax + rcx], 0
jne 0x180006cee
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x88], rax
mov r8, qword [rsp + 0x88]
mov rdx, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0x60]
call fcn.180003ef0
mov rcx, qword [rsp + 0x60]
call fcn.180006f30
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x180006d4b
xor eax, eax
jmp 0x180006f1a
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x180006d6b
xor eax, eax
jmp 0x180006f1a
mov rax, qword [rsp + 0x70]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
cmp dword [rax], 0x4550
je 0x180006d98
xor eax, eax
jmp 0x180006f1a
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x68]
cmp dword [rcx + rax + 0x88], 0
jne 0x180006db7
xor eax, eax
jmp 0x180006f1a
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x68]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
mov dword [rsp + 0x20], 0
jmp 0x180006e41
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x1c]
cmp dword [rsp + 0x20], eax
jae 0x180006f18
mov eax, dword [rsp + 0x20]
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 + 0x50], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x38], rax
jmp 0x180006e8e
mov rax, qword [rsp + 0x50]
inc rax
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x38]
movsx eax, byte [rax]
mov rcx, qword [rsp + 0x50]
movsx ecx, byte [rcx]
cmp eax, ecx
jne 0x180006ece
mov rax, qword [rsp + 0x38]
movsx eax, byte [rax]
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
cmp dword [rsp + 0x58], 0
jne 0x180006ecc
mov dword [rsp + 0x30], 0
jmp 0x180006ee4
jmp 0x180006e81
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x50]
movzx ecx, byte [rcx]
sub eax, ecx
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x180006f13
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x98]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0xa0]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
jmp 0x180006f1a
jmp 0x180006e37
xor eax, eax
add rsp, 0xd8
ret