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

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x108
mov rax, qword [rsp + 0x110]
mov rax, qword [rax]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x110]
mov rax, qword [rax + 8]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov qword [rsp + 0xd0], rax
mov rcx, qword [rsp + 0x38]
call fcn.18003a230
mov dword [rsp + 0xb4], eax
mov rax, qword [rsp + 0x110]
movzx eax, byte [rax + 0x48]
dec eax
mov dword [rsp + 0x40], eax
jmp 0x18005d56d
mov eax, dword [rsp + 0x40]
dec eax
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jl 0x18005dcc7
movsxd rax, dword [rsp + 0x40]
imul rax, rax, 0x70
mov rcx, qword [rsp + 0x110]
lea rax, [rcx + rax + 0x370]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x38], 0
je 0x18005d642
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x38]
mov qword [rsp + 0xa0], rax
mov rcx, qword [rsp + 0x38]
call fcn.18003a230
mov dword [rsp + 0x7c], eax
mov rax, qword [rsp + 0xa0]
mov eax, dword [rax + 0xc]
dec eax
mov r8d, dword [rsp + 0x7c]
mov edx, eax
mov rcx, qword [rsp + 0x38]
call fcn.1800394b0
mov r8d, dword [rsp + 0x7c]
mov rax, qword [rsp + 0xa0]
mov edx, dword [rax + 0x10]
mov rcx, qword [rsp + 0x38]
call fcn.1800394b0
mov rax, qword [rsp + 0x30]
mov edx, dword [rax + 0x18]
mov rcx, qword [rsp + 0x38]
call fcn.18003a1b0
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x18], 0
mov rax, qword [rsp + 0xa0]
mov r9d, dword [rax + 0xc]
mov rax, qword [rsp + 0xa0]
mov r8d, dword [rax + 8]
mov edx, 0x43
mov rcx, qword [rsp + 0x38]
call fcn.180038a70
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x60]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x41]
cmp eax, 0xb7
je 0x18005d8cd
mov dword [rsp + 0x78], 0
mov rax, qword [rsp + 0x110]
movzx eax, byte [rax + 0x4b]
cmp eax, 2
jne 0x18005d80d
mov rax, qword [rsp + 0x110]
movzx eax, byte [rax + 0x48]
dec eax
cmp dword [rsp + 0x40], eax
jne 0x18005d80d
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x38]
and eax, 0x200
test eax, eax
je 0x18005d80d
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov eax, dword [rax + 0x64]
shr eax, 7
and eax, 1
test eax, eax
je 0x18005d80d
mov rax, qword [rsp + 0x60]
movzx eax, word [rax + 0x1e]
mov dword [rsp + 0x5c], eax
cmp dword [rsp + 0x5c], 0
jle 0x18005d80d
movsxd rax, dword [rsp + 0x5c]
mov rcx, qword [rsp + 0xd8]
mov rcx, qword [rcx + 0x10]
movsx eax, word [rcx + rax*2]
cmp eax, 0x24
jl 0x18005d80d
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x38]
inc eax
mov dword [rsp + 0x84], eax
mov dword [rsp + 0x58], 0
jmp 0x18005d733
mov eax, dword [rsp + 0x58]
inc eax
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x58], eax
jge 0x18005d76f
mov eax, dword [rsp + 0x58]
mov ecx, dword [rsp + 0x84]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x58]
mov rax, qword [rsp + 0x30]
mov r8d, dword [rax + 8]
mov edx, 0x5e
mov rcx, qword [rsp + 0x38]
call fcn.180038ca0
jmp 0x18005d729
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x38]
mov ecx, dword [rsp + 0x5c]
lea eax, [rcx + rax + 1]
mov rcx, qword [rsp + 0x70]
mov dword [rcx + 0x38], eax
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x41]
cmp eax, 0x25
jne 0x18005d7a2
mov dword [rsp + 0x80], 0x14
jmp 0x18005d7ad
mov dword [rsp + 0x80], 0x17
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0xa8], eax
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x84]
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov rax, qword [rsp + 0x30]
mov r8d, dword [rax + 8]
mov edx, dword [rsp + 0xa8]
mov rcx, qword [rsp + 0x38]
call fcn.180038ea0
mov dword [rsp + 0x78], eax
mov rax, qword [rsp + 0x30]
mov r9d, dword [rax + 0x48]
mov r8d, 1
mov edx, 8
mov rcx, qword [rsp + 0x38]
call fcn.180038a70
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x18], 0
je 0x18005d82a
mov rax, qword [rsp + 0x30]
mov edx, dword [rax + 0x18]
mov rcx, qword [rsp + 0x38]
call fcn.18003a1b0
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x42]
mov rcx, qword [rsp + 0x30]
movzx ecx, byte [rcx + 0x41]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x30]
mov r9d, dword [rax + 0x48]
mov rax, qword [rsp + 0x30]
mov r8d, dword [rax + 0x44]
mov edx, ecx
mov rcx, qword [rsp + 0x38]
call fcn.180038ca0
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x43]
movzx edx, ax
mov rcx, qword [rsp + 0x38]
call fcn.180039570
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x24], 0
je 0x18005d8b6
mov rax, qword [rsp + 0x30]
mov edx, dword [rax + 0x28]
mov rcx, qword [rsp + 0x38]
call fcn.18003a1b0
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x48]
dec eax
mov r9d, eax
mov rax, qword [rsp + 0x30]
mov r8d, dword [rax + 0x24]
mov edx, 0x3c
mov rcx, qword [rsp + 0x38]
call fcn.180038a70
cmp dword [rsp + 0x78], 0
je 0x18005d8cb
mov edx, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x38]
call fcn.1800395c0
jmp 0x18005d8ea
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x18], 0
je 0x18005d8ea
mov rax, qword [rsp + 0x30]
mov edx, dword [rax + 0x18]
mov rcx, qword [rsp + 0x38]
call fcn.18003a1b0
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x38]
and eax, 0x800
test eax, eax
je 0x18005dac6
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x50], 0
jle 0x18005dac6
mov rax, qword [rsp + 0x30]
mov edx, dword [rax + 0x10]
mov rcx, qword [rsp + 0x38]
call fcn.18003a1b0
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x50]
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x68]
dec eax
cdqe
imul rax, rax, 0x14
mov rcx, qword [rsp + 0x30]
add rax, qword [rcx + 0x58]
mov qword [rsp + 0x50], rax
jmp 0x18005d960
mov eax, dword [rsp + 0x68]
dec eax
mov dword [rsp + 0x68], eax
mov rax, qword [rsp + 0x50]
sub rax, 0x14
mov qword [rsp + 0x50], rax
cmp dword [rsp + 0x68], 0
jle 0x18005dac6
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 4]
inc eax
mov edx, eax
mov rcx, qword [rsp + 0x38]
call fcn.1800395c0
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 0x10]
cmp eax, 0xb7
je 0x18005daab
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0xc], 0
je 0x18005da85
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x38]
and eax, 0x400
test eax, eax
jne 0x18005d9d3
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x38]
and eax, 0x40000
test eax, eax
je 0x18005d9d3
mov dword [rsp + 0x88], 1
jmp 0x18005d9de
mov dword [rsp + 0x88], 0
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x8c], eax
mov rax, qword [rsp + 0x30]
cmp dword [rax], 0
je 0x18005da25
mov rcx, qword [rsp + 0x38]
call fcn.18003a230
mov ecx, dword [rsp + 0x8c]
lea eax, [rax + rcx + 2]
mov r9d, eax
mov rax, qword [rsp + 0x50]
mov r8d, dword [rax]
mov edx, 0x18
mov rcx, qword [rsp + 0x38]
call fcn.180038a70
cmp dword [rsp + 0x8c], 0
je 0x18005da85
mov rcx, qword [rsp + 0x38]
call fcn.18003a230
add eax, 2
mov rcx, qword [rsp + 0x50]
mov ecx, dword [rcx + 0xc]
mov dword [rsp + 0x28], ecx
mov rcx, qword [rsp + 0x50]
mov ecx, dword [rcx + 8]
mov dword [rsp + 0x20], ecx
mov r9d, eax
mov rax, qword [rsp + 0x30]
mov r8d, dword [rax + 8]
mov edx, 0x19
mov rcx, qword [rsp + 0x38]
call fcn.180038ea0
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 4]
inc eax
mov edx, eax
mov rcx, qword [rsp + 0x38]
call fcn.1800395c0
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 0x10]
mov rcx, qword [rsp + 0x50]
mov r9d, dword [rcx + 4]
mov rcx, qword [rsp + 0x50]
mov r8d, dword [rcx]
mov edx, eax
mov rcx, qword [rsp + 0x38]
call fcn.180038a70
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 4]
dec eax
mov edx, eax
mov rcx, qword [rsp + 0x38]
call fcn.1800395c0
jmp 0x18005d948
mov rax, qword [rsp + 0x30]
mov edx, dword [rax + 0xc]
mov rcx, qword [rsp + 0x38]
call fcn.18003a1b0
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x14], 0
je 0x18005db1e
mov rax, qword [rsp + 0x30]
mov edx, dword [rax + 0x14]
mov rcx, qword [rsp + 0x38]
call fcn.180038ac0
mov rax, qword [rsp + 0x30]
mov edx, dword [rax + 0x14]
mov rcx, qword [rsp + 0x38]
call fcn.1800395c0
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x14]
sub eax, 2
mov edx, eax
mov rcx, qword [rsp + 0x38]
call fcn.1800395c0
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x30], 0
je 0x18005db4e
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x2c]
shr eax, 1
mov rcx, qword [rsp + 0x30]
mov r9d, dword [rcx + 0x30]
mov r8d, eax
mov edx, 0x3c
mov rcx, qword [rsp + 0x38]
call fcn.180038a70
mov rax, qword [rsp + 0x30]
cmp dword [rax], 0
je 0x18005dcc2
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x38]
mov dword [rsp + 0x6c], eax
mov rax, qword [rsp + 0x30]
mov r8d, dword [rax]
mov edx, 0x31
mov rcx, qword [rsp + 0x38]
call fcn.180038a30
mov dword [rsp + 0xb0], eax
mov eax, dword [rsp + 0x6c]
and eax, 0x40
test eax, eax
jne 0x18005dba9
mov rax, qword [rsp + 0x30]
mov r8d, dword [rax + 4]
mov edx, 0x88
mov rcx, qword [rsp + 0x38]
call fcn.180038a30
mov eax, dword [rsp + 0x6c]
and eax, 0x200
test eax, eax
jne 0x18005dbd7
mov eax, dword [rsp + 0x6c]
and eax, 0x2000
test eax, eax
je 0x18005dc6e
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x50], 0
je 0x18005dc6e
mov eax, dword [rsp + 0x6c]
and eax, 0x2000
test eax, eax
je 0x18005dc56
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov rdx, qword [rax + 0x30]
mov rcx, qword [rsp + 0xd0]
call fcn.1800754a0
mov dword [rsp + 0xac], eax
mov eax, dword [rsp + 0xac]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0xb8]
mov r9d, dword [rax + 0x58]
mov rax, qword [rsp + 0x30]
mov r8d, dword [rax + 8]
mov edx, 0x65
mov rcx, qword [rsp + 0x38]
call fcn.180038ca0
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x70]
call fcn.180039910
mov rax, qword [rsp + 0x30]
mov r8d, dword [rax + 8]
mov edx, 0x88
mov rcx, qword [rsp + 0x38]
call fcn.180038a30
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x41]
cmp eax, 0x43
jne 0x18005dc9f
mov rax, qword [rsp + 0x30]
mov r9d, dword [rax + 0x1c]
mov rax, qword [rsp + 0x30]
mov r8d, dword [rax + 0x44]
mov edx, 9
mov rcx, qword [rsp + 0x38]
call fcn.180038a70
jmp 0x18005dcb1
mov rax, qword [rsp + 0x30]
mov edx, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x38]
call fcn.180038ac0
mov edx, dword [rsp + 0xb0]
mov rcx, qword [rsp + 0x38]
call fcn.1800395c0
jmp 0x18005d563
mov dword [rsp + 0x40], 0
mov rax, qword [rsp + 0x110]
add rax, 0x370
mov qword [rsp + 0x30], rax
jmp 0x18005dcfc
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x30]
add rax, 0x70
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x110]
movzx eax, byte [rax + 0x48]
cmp dword [rsp + 0x40], eax
jge 0x18005e00e
mov qword [rsp + 0x98], 0
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x40]
imul rax, rax, 0x68
mov rcx, qword [rsp + 0xe0]
lea rax, [rcx + rax + 8]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x60]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x38], 0
je 0x18005dd89
mov r8, qword [rsp + 0x30]
mov edx, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x110]
call fcn.1800e64d0
jmp 0x18005dce4
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x40]
shr eax, 4
and eax, 1
test eax, eax
je 0x18005ddd2
mov dword [rsp + 0x20], 0
mov rax, qword [rsp + 0xc0]
mov r9d, dword [rax + 0x38]
mov rax, qword [rsp + 0x30]
mov r8d, dword [rax + 4]
mov rax, qword [rsp + 0x30]
mov edx, dword [rax + 0x20]
mov rcx, qword [rsp + 0x70]
call fcn.1800ed6d0
jmp 0x18005dce4
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x38]
and eax, 0x240
test eax, eax
je 0x18005ddf6
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x98], rax
jmp 0x18005de18
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x38]
and eax, 0x2000
test eax, eax
je 0x18005de18
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x98], 0
je 0x18005e009
mov rax, qword [rsp + 0xd0]
movzx eax, byte [rax + 0x67]
test eax, eax
jne 0x18005e009
mov rax, qword [rsp + 0x110]
movzx eax, byte [rax + 0x4a]
test eax, eax
je 0x18005de63
mov rax, qword [rsp + 0x98]
mov rax, qword [rax + 0x18]
mov eax, dword [rax + 0x30]
and eax, 0x80
test eax, eax
je 0x18005de73
mov eax, dword [rsp + 0xb4]
mov dword [rsp + 0x94], eax
jmp 0x18005de85
mov rax, qword [rsp + 0x110]
mov eax, dword [rax + 0x58]
mov dword [rsp + 0x94], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x20]
inc eax
mov dword [rsp + 0x90], eax
mov edx, dword [rsp + 0x90]
mov rcx, qword [rsp + 0x38]
call fcn.180039a20
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x90]
mov ecx, dword [rsp + 0x94]
sub ecx, eax
mov eax, ecx
cdqe
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 4]
cmp dword [rax + 4], ecx
je 0x18005deee
jmp 0x18005dfe8
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax]
cmp eax, 0x5e
jne 0x18005dfa2
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 8]
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0xc8]
mov eax, dword [rax + 0x30]
and eax, 0x80
test eax, eax
je 0x18005df4f
mov rcx, qword [rsp + 0xc8]
call fcn.18004b490
mov qword [rsp + 0xe8], rax
movsxd rax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0xe8]
mov rcx, qword [rcx + 8]
movsx eax, word [rcx + rax*2]
mov dword [rsp + 0x44], eax
jmp 0x18005df66
movzx edx, word [rsp + 0x44]
mov rcx, qword [rsp + 0xc8]
call fcn.18004b610
cwde
mov dword [rsp + 0x44], eax
movzx edx, word [rsp + 0x44]
mov rcx, qword [rsp + 0x98]
call fcn.18004b4e0
cwde
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jl 0x18005dfa0
mov rax, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x44]
mov dword [rax + 8], ecx
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 8]
mov dword [rax + 4], ecx
jmp 0x18005dfe8
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax]
cmp eax, 0x87
jne 0x18005dfcb
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 8]
mov dword [rax + 4], ecx
mov rax, qword [rsp + 0x48]
mov byte [rax], 0x8e
jmp 0x18005dfe8
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax]
cmp eax, 0x12
jne 0x18005dfe8
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 8]
mov dword [rax + 4], ecx
mov rax, qword [rsp + 0x48]
add rax, 0x18
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xf0]
cmp qword [rsp + 0x48], rax
jb 0x18005ded7
jmp 0x18005dce4
mov rax, qword [rsp + 0x110]
mov edx, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x38]
call fcn.18003a1b0
mov rax, qword [rsp + 0x110]
cmp qword [rax + 0x68], 0
je 0x18005e03f
mov rcx, qword [rsp + 0x110]
call fcn.1800ef7e0
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x110]
mov ecx, dword [rcx + 0x40]
mov dword [rax + 0xc8], ecx
mov rdx, qword [rsp + 0x110]
mov rcx, qword [rsp + 0xd0]
call fcn.1800ef720
add rsp, 0x108
ret