Function at 0x180001910
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0xd8
mov rax, qword [0x180005070]
cmp dword [rax], 0
je 0x180001933
mov dword [rsp + 0xc4], 1
jmp 0x180001de5
mov dword [rsp + 0xd4], 0x60
mov eax, dword [rsp + 0xd4]
mov rax, qword gs:[rax]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xa8], 0
mov qword [rsp + 0xa0], 0
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
cmp qword [rax + 0x30], 0
je 0x180001a9d
mov rax, qword [rsp + 0x98]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x90]
movsxd rcx, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
add rax, 0x18
add rax, 0x70
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax]
mov dword [rsp + 0x7c], eax
cmp dword [rsp + 0x7c], 0
jne 0x180001a26
jmp 0x180001a85
mov rax, qword [rsp + 0xa0]
mov ecx, dword [rsp + 0x7c]
add rax, rcx
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xa8]
mov ecx, dword [rcx + 0xc]
add rax, rcx
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov eax, dword [rax]
or eax, 0x20202020
cmp eax, 0x6c64746e
je 0x180001a6d
jmp 0x180001a85
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 4]
or eax, 0x20202020
cmp eax, 0x6c642e6c
jne 0x180001a83
jmp 0x180001a9d
jmp 0x180001a85
mov rax, qword [rsp + 0x98]
mov rax, qword [rax]
mov qword [rsp + 0x98], rax
jmp 0x1800019a1
cmp qword [rsp + 0xa8], 0
jne 0x180001ab8
mov dword [rsp + 0xc4], 0
jmp 0x180001de5
mov rax, qword [rsp + 0xa8]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x6c], eax
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xa8]
mov ecx, dword [rcx + 0x1c]
add rax, rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xa8]
mov ecx, dword [rcx + 0x20]
add rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xa8]
mov ecx, dword [rcx + 0x24]
add rax, rcx
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x4c], 0
mov rax, qword [0x180005070]
add rax, 8
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x58]
mov edx, dword [rsp + 0x6c]
sub edx, 1
mov edx, edx
mov ecx, dword [rcx + rdx*4]
add rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx eax, word [rax]
cmp eax, 0x775a
jne 0x180001c02
mov rcx, qword [rsp + 0x38]
call fcn.180002740
mov ecx, eax
mov rax, qword [rsp + 0x40]
mov edx, dword [rsp + 0x4c]
shl rdx, 4
add rax, rdx
mov dword [rax], ecx
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
mov edx, dword [rsp + 0x6c]
sub edx, 1
mov edx, edx
movzx ecx, word [rcx + rdx*2]
mov ecx, dword [rax + rcx*4]
mov rax, qword [rsp + 0x40]
mov edx, dword [rsp + 0x4c]
shl rdx, 4
add rax, rdx
mov dword [rax + 4], ecx
mov rcx, qword [rsp + 0xa0]
mov rax, qword [rsp + 0x40]
mov edx, dword [rsp + 0x4c]
shl rdx, 4
add rax, rdx
mov eax, dword [rax + 4]
add rcx, rax
call fcn.180001550
mov rcx, rax
mov rax, qword [rsp + 0x40]
mov edx, dword [rsp + 0x4c]
shl rdx, 4
add rax, rdx
mov qword [rax + 8], rcx
mov eax, dword [rsp + 0x4c]
add eax, 1
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0x1f4
jne 0x180001c00
jmp 0x180001c18
jmp 0x180001c02
jmp 0x180001c04
mov eax, dword [rsp + 0x6c]
add eax, 0xffffffff
mov dword [rsp + 0x6c], eax
cmp eax, 0
jne 0x180001b30
mov ecx, dword [rsp + 0x4c]
mov rax, qword [0x180005070]
mov dword [rax], ecx
mov dword [rsp + 0x34], 0
mov eax, dword [rsp + 0x34]
mov rcx, qword [0x180005070]
mov ecx, dword [rcx]
sub ecx, 1
cmp eax, ecx
jae 0x180001dda
mov dword [rsp + 0x30], 0
mov eax, dword [rsp + 0x30]
mov rcx, qword [0x180005070]
mov ecx, dword [rcx]
sub ecx, dword [rsp + 0x34]
sub ecx, 1
cmp eax, ecx
jae 0x180001dc8
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x30]
shl rcx, 4
add rax, rcx
mov eax, dword [rax + 4]
mov rcx, qword [rsp + 0x40]
mov edx, dword [rsp + 0x30]
add edx, 1
mov edx, edx
shl rdx, 4
add rcx, rdx
cmp eax, dword [rcx + 4]
jbe 0x180001db6
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x30]
shl rcx, 4
add rax, rcx
mov eax, dword [rax]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x30]
shl rcx, 4
add rax, rcx
mov eax, dword [rax + 4]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x30]
shl rcx, 4
add rax, rcx
mov rax, qword [rax + 8]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x30]
add ecx, 1
mov ecx, ecx
shl rcx, 4
add rax, rcx
mov ecx, dword [rax]
mov rax, qword [rsp + 0x40]
mov edx, dword [rsp + 0x30]
shl rdx, 4
add rax, rdx
mov dword [rax], ecx
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x30]
add ecx, 1
mov ecx, ecx
shl rcx, 4
add rax, rcx
mov ecx, dword [rax + 4]
mov rax, qword [rsp + 0x40]
mov edx, dword [rsp + 0x30]
shl rdx, 4
add rax, rdx
mov dword [rax + 4], ecx
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x30]
add ecx, 1
mov ecx, ecx
shl rcx, 4
add rax, rcx
mov rcx, qword [rax + 8]
mov rax, qword [rsp + 0x40]
mov edx, dword [rsp + 0x30]
shl rdx, 4
add rax, rdx
mov qword [rax + 8], rcx
mov ecx, dword [rsp + 0x20]
mov rax, qword [rsp + 0x40]
mov edx, dword [rsp + 0x30]
add edx, 1
mov edx, edx
shl rdx, 4
add rax, rdx
mov dword [rax], ecx
mov ecx, dword [rsp + 0x24]
mov rax, qword [rsp + 0x40]
mov edx, dword [rsp + 0x30]
add edx, 1
mov edx, edx
shl rdx, 4
add rax, rdx
mov dword [rax + 4], ecx
mov rcx, qword [rsp + 0x28]
mov rax, qword [rsp + 0x40]
mov edx, dword [rsp + 0x30]
add edx, 1
mov edx, edx
shl rdx, 4
add rax, rdx
mov qword [rax + 8], rcx
jmp 0x180001db8
mov eax, dword [rsp + 0x30]
add eax, 1
mov dword [rsp + 0x30], eax
jmp 0x180001c4d
jmp 0x180001dca
mov eax, dword [rsp + 0x34]
add eax, 1
mov dword [rsp + 0x34], eax
jmp 0x180001c2d
mov dword [rsp + 0xc4], 1
mov eax, dword [rsp + 0xc4]
add rsp, 0xd8
ret