Function at 0x1800120e0
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.180005180
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 0x18001212e
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.180004f40
mov rcx, qword [rsp + 0x60]
call fcn.1800123c0
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x18001218b
xor eax, eax
jmp 0x18001235a
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1800121ab
xor eax, eax
jmp 0x18001235a
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 0x1800121d8
xor eax, eax
jmp 0x18001235a
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x68]
cmp dword [rcx + rax + 0x88], 0
jne 0x1800121f7
xor eax, eax
jmp 0x18001235a
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 0x180012281
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 0x180012358
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 0x1800122ce
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 0x18001230e
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 0x18001230c
mov dword [rsp + 0x30], 0
jmp 0x180012324
jmp 0x1800122c1
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 0x180012353
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 0x18001235a
jmp 0x180012277
xor eax, eax
add rsp, 0xd8
ret