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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x4a8
mov rax, qword [0x18045c280]
xor rax, rsp
mov qword [rsp + 0x490], rax
mov dword [rsp + 0x24], 0
mov rdx, qword [rsp + 0x4c8]
mov rcx, qword [rsp + 0x4c0]
call fcn.180175090
movzx eax, byte [rsp + 0x4d0]
test eax, eax
je 0x18018665c
lea rdx, [rsp + 0x200]
mov rcx, qword [rsp + 0x4d8]
call fcn.1800629b0
mov qword [rsp + 0x1e0], rax
mov rax, qword [rsp + 0x1e0]
mov qword [rsp + 0xe8], rax
mov rcx, qword [rsp + 0xe8]
call fcn.18017a110
mov rcx, rax
call fcn.180178f50
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x200]
call fcn.1800247a0
jmp 0x1801866b0
lea rdx, [rsp + 0x210]
mov rcx, qword [rsp + 0x4d8]
call fcn.1800629b0
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0xf8], rax
mov rcx, qword [rsp + 0xf8]
call fcn.18017a230
mov rcx, rax
call fcn.180178f60
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x210]
call fcn.1800247a0
mov byte [rsp + 0x20], 0
mov byte [rsp + 0x28], 0
lea rcx, [rsp + 0x300]
call fcn.18017b570
nop
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x48]
call fcn.18019d260
mov rcx, qword [rsp + 0x4b8]
call fcn.180023010
mov qword [rsp + 0x230], rax
mov eax, dword [rsp + 0x24]
or eax, 1
mov dword [rsp + 0x24], eax
lea rdx, [rsp + 0x220]
mov rcx, qword [rsp + 0x4d8]
call fcn.1800629b0
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x108], rax
mov rcx, qword [rsp + 0x108]
call fcn.180179810
mov qword [rsp + 0xc8], rax
lea rcx, [rsp + 0x220]
call fcn.1800247a0
lea rcx, [0x1803b53a8]
call fcn.180179370
mov qword [rsp + 0x110], rax
lea rcx, [0x1803b53a8]
call fcn.180178fd0
mov qword [rsp + 0x118], rax
mov r9, qword [rsp + 0x4e0]
mov r8, qword [rsp + 0x110]
mov rdx, qword [rsp + 0x118]
mov rcx, qword [rsp + 0xc8]
call fcn.18019dc50
mov qword [rsp + 0x70], 0
jmp 0x1801867ae
mov rax, qword [rsp + 0x70]
inc rax
mov qword [rsp + 0x70], rax
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x180187483
cmp qword [rsp + 0x70], 4
jae 0x180187483
mov rax, qword [rsp + 0x70]
movzx eax, byte [rsp + rax + 0x80]
mov byte [rsp + 0x5c], al
cmp byte [rsp + 0x5c], 0x20
je 0x1801873f1
cmp byte [rsp + 0x5c], 0x24
je 0x180186810
cmp byte [rsp + 0x5c], 0x2b
je 0x180186b0c
cmp byte [rsp + 0x5c], 0x76
je 0x180186f1b
cmp byte [rsp + 0x5c], 0x78
je 0x1801873f1
jmp 0x18018747e
lea rdx, [rsp + 0x2d8]
mov rcx, qword [rsp + 0x48]
call fcn.1801903b0
nop
lea rcx, [rsp + 0xd0]
call fcn.18017b280
nop
mov rcx, qword [rsp + 0x4d8]
call fcn.1800626d0
and eax, 8
test eax, eax
jne 0x180186893
mov rdx, qword [rsp + 0x4c8]
mov rcx, qword [rsp + 0x4c0]
call fcn.180174f40
movzx eax, al
test eax, eax
jne 0x180186893
mov rcx, qword [rsp + 0x4c0]
call fcn.18017d290
movzx eax, ax
mov dword [rsp + 0xac], eax
lea rcx, [rsp + 0x2d8]
call fcn.180190300
movzx eax, word [rax]
mov ecx, dword [rsp + 0xac]
cmp ecx, eax
jne 0x1801868fc
cmp qword [rsp + 0x70], 3
jne 0x18018690b
lea rcx, [rsp + 0x300]
call fcn.18019d830
cmp rax, 1
ja 0x18018690b
mov rdx, qword [rsp + 0x4c8]
mov rcx, qword [rsp + 0x4c0]
call fcn.180174f40
movzx eax, al
test eax, eax
jne 0x1801868fc
mov rcx, qword [rsp + 0x4c0]
call fcn.18017d290
movzx eax, ax
mov dword [rsp + 0xb0], eax
lea rcx, [rsp + 0x2d8]
call fcn.180190300
movzx eax, word [rax]
mov ecx, dword [rsp + 0xb0]
cmp ecx, eax
je 0x18018690b
xor edx, edx
lea rcx, [rsp + 0x2d8]
call fcn.18019c320
lea rdx, [rsp + 0x238]
lea rcx, [rsp + 0x2d8]
call fcn.1801902a0
mov qword [rsp + 0x120], rax
mov rdx, qword [rsp + 0x120]
lea rcx, [rsp + 0xd0]
call fcn.18017c920
lea rcx, [rsp + 0x238]
call fcn.18017c130
mov rdx, qword [rsp + 0x4c8]
mov rcx, qword [rsp + 0x4c0]
call fcn.180174f40
movzx eax, al
test eax, eax
jne 0x1801869fd
lea rdx, [rsp + 0x250]
lea rcx, [rsp + 0x2d8]
call fcn.18019c080
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x130], rax
mov eax, dword [rsp + 0x24]
or eax, 2
mov dword [rsp + 0x24], eax
mov rdx, qword [rsp + 0x130]
lea rcx, [rsp + 0xd0]
call fcn.18017cbe0
movzx eax, al
test eax, eax
jne 0x1801869fd
mov rcx, qword [rsp + 0x4c0]
call fcn.18017d290
movzx eax, ax
mov dword [rsp + 0xb4], eax
lea rcx, [rsp + 0xd0]
call fcn.18017ce90
movzx eax, word [rax]
mov ecx, dword [rsp + 0xb4]
cmp ecx, eax
jne 0x1801869fd
mov dword [rsp + 0x8c], 1
jmp 0x180186a08
mov dword [rsp + 0x8c], 0
movzx eax, byte [rsp + 0x8c]
mov byte [rsp + 0x38], al
mov eax, dword [rsp + 0x24]
and eax, 2
test eax, eax
je 0x180186a31
and dword [rsp + 0x24], 0xfffffffd
lea rcx, [rsp + 0x250]
call fcn.18017c130
movzx eax, byte [rsp + 0x38]
test eax, eax
je 0x180186a59
lea rcx, [rsp + 0xd0]
call fcn.18017d410
mov rcx, qword [rsp + 0x4c0]
call fcn.18017d810
jmp 0x18018694a
lea rdx, [rsp + 0x268]
lea rcx, [rsp + 0x2d8]
call fcn.18019c080
mov qword [rsp + 0x138], rax
mov rdx, qword [rsp + 0x138]
lea rcx, [rsp + 0xd0]
call fcn.18017cbe0
movzx eax, al
test eax, eax
jne 0x180186a9f
mov dword [rsp + 0x90], 1
jmp 0x180186aaa
mov dword [rsp + 0x90], 0
movzx eax, byte [rsp + 0x90]
mov byte [rsp + 0x39], al
lea rcx, [rsp + 0x268]
call fcn.18017c130
movzx eax, byte [rsp + 0x39]
test eax, eax
je 0x180186ad1
mov byte [rsp + 0x20], 1
lea rcx, [rsp + 0xd0]
call fcn.18017c110
nop
lea rcx, [rsp + 0x2d8]
call fcn.18017c290
jmp 0x18018747e
mov rdx, qword [rsp + 0x4c8]
mov rcx, qword [rsp + 0x4c0]
call fcn.180174f40
movzx eax, al
test eax, eax
jne 0x180186f16
lea rdx, [rsp + 0x378]
mov rcx, qword [rsp + 0x48]
call fcn.18019d460
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x148], rax
mov eax, dword [rsp + 0x24]
or eax, 4
mov dword [rsp + 0x24], eax
mov rcx, qword [rsp + 0x148]
call fcn.18019d830
test rax, rax
jbe 0x180186bfd
lea rdx, [rsp + 0x350]
mov rcx, qword [rsp + 0x48]
call fcn.18019d460
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x158], rax
mov eax, dword [rsp + 0x24]
or eax, 8
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x160], rax
xor edx, edx
mov rcx, qword [rsp + 0x160]
call fcn.18017cc80
movzx eax, word [rax]
mov dword [rsp + 0xb8], eax
mov rcx, qword [rsp + 0x4c0]
call fcn.18017d290
movzx eax, ax
mov ecx, dword [rsp + 0xb8]
cmp ecx, eax
jne 0x180186bfd
mov dword [rsp + 0x94], 1
jmp 0x180186c08
mov dword [rsp + 0x94], 0
movzx eax, byte [rsp + 0x94]
mov byte [rsp + 0x3a], al
mov eax, dword [rsp + 0x24]
and eax, 8
test eax, eax
je 0x180186c32
and dword [rsp + 0x24], 0xfffffff7
lea rcx, [rsp + 0x350]
call fcn.18017c290
nop
mov eax, dword [rsp + 0x24]
and eax, 4
test eax, eax
je 0x180186c4f
and dword [rsp + 0x24], 0xfffffffb
lea rcx, [rsp + 0x378]
call fcn.18017c290
movzx eax, byte [rsp + 0x3a]
test eax, eax
je 0x180186ca6
mov rcx, qword [rsp + 0x4c0]
call fcn.18017d810
lea rdx, [rsp + 0x3a0]
mov rcx, qword [rsp + 0x48]
call fcn.18019d460
mov qword [rsp + 0x168], rax
mov rdx, qword [rsp + 0x168]
lea rcx, [rsp + 0x300]
call fcn.18017ca80
lea rcx, [rsp + 0x3a0]
call fcn.18017c290
jmp 0x180186f16
lea rdx, [rsp + 0x3f0]
mov rcx, qword [rsp + 0x48]
call fcn.18019d300
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x178], rax
mov eax, dword [rsp + 0x24]
or eax, 0x10
mov dword [rsp + 0x24], eax
mov rcx, qword [rsp + 0x178]
call fcn.18019d830
test rax, rax
jbe 0x180186d77
lea rdx, [rsp + 0x3c8]
mov rcx, qword [rsp + 0x48]
call fcn.18019d300
mov qword [rsp + 0x180], rax
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x188], rax
mov eax, dword [rsp + 0x24]
or eax, 0x20
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x188]
mov qword [rsp + 0x190], rax
xor edx, edx
mov rcx, qword [rsp + 0x190]
call fcn.18017cc80
movzx eax, word [rax]
mov dword [rsp + 0xbc], eax
mov rcx, qword [rsp + 0x4c0]
call fcn.18017d290
movzx eax, ax
mov ecx, dword [rsp + 0xbc]
cmp ecx, eax
jne 0x180186d77
mov dword [rsp + 0x98], 1
jmp 0x180186d82
mov dword [rsp + 0x98], 0
movzx eax, byte [rsp + 0x98]
mov byte [rsp + 0x3b], al
mov eax, dword [rsp + 0x24]
and eax, 0x20
test eax, eax
je 0x180186dac
and dword [rsp + 0x24], 0xffffffdf
lea rcx, [rsp + 0x3c8]
call fcn.18017c290
nop
mov eax, dword [rsp + 0x24]
and eax, 0x10
test eax, eax
je 0x180186dc9
and dword [rsp + 0x24], 0xffffffef
lea rcx, [rsp + 0x3f0]
call fcn.18017c290
movzx eax, byte [rsp + 0x3b]
test eax, eax
je 0x180186e25
mov rcx, qword [rsp + 0x4c0]
call fcn.18017d810
lea rdx, [rsp + 0x418]
mov rcx, qword [rsp + 0x48]
call fcn.18019d300
mov qword [rsp + 0x198], rax
mov rdx, qword [rsp + 0x198]
lea rcx, [rsp + 0x300]
call fcn.18017ca80
lea rcx, [rsp + 0x418]
call fcn.18017c290
mov byte [rsp + 0x28], 1
jmp 0x180186f16
lea rdx, [rsp + 0x468]
mov rcx, qword [rsp + 0x48]
call fcn.18019d460
mov qword [rsp + 0x1a0], rax
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0x1a8], rax
mov eax, dword [rsp + 0x24]
or eax, 0x40
mov dword [rsp + 0x24], eax
mov rcx, qword [rsp + 0x1a8]
call fcn.18019d830
test rax, rax
je 0x180186eb1
lea rdx, [rsp + 0x440]
mov rcx, qword [rsp + 0x48]
call fcn.18019d300
mov qword [rsp + 0x1b0], rax
mov eax, dword [rsp + 0x24]
bts eax, 7
mov dword [rsp + 0x24], eax
mov rcx, qword [rsp + 0x1b0]
call fcn.18019d830
test rax, rax
jne 0x180186eb1
mov dword [rsp + 0x9c], 1
jmp 0x180186ebc
mov dword [rsp + 0x9c], 0
movzx eax, byte [rsp + 0x9c]
mov byte [rsp + 0x3c], al
mov eax, dword [rsp + 0x24]
and eax, 0x80
test eax, eax
je 0x180186eeb
and dword [rsp + 0x24], 0xffffff7f
lea rcx, [rsp + 0x440]
call fcn.18017c290
nop
mov eax, dword [rsp + 0x24]
and eax, 0x40
test eax, eax
je 0x180186f08
and dword [rsp + 0x24], 0xffffffbf
lea rcx, [rsp + 0x468]
call fcn.18017c290
movzx eax, byte [rsp + 0x3c]
test eax, eax
je 0x180186f16
mov byte [rsp + 0x28], 1
jmp 0x18018747e
mov dword [rsp + 0x40], 0
mov rcx, qword [rsp + 0x48]
call fcn.18019c420
mov dword [rsp + 0x68], eax
lea rdx, [rsp + 0x328]
mov rcx, qword [rsp + 0x48]
call fcn.18019c9a0
nop
lea rcx, [rsp + 0x328]
call fcn.180062450
movzx eax, al
test eax, eax
je 0x180186f61
xor eax, eax
mov word [rsp + 0x50], ax
jmp 0x180186f70
mov rcx, qword [rsp + 0x48]
call fcn.18019d9a0
mov word [rsp + 0x50], ax
movzx eax, word [rsp + 0x50]
mov word [rsp + 0x54], ax
movzx eax, word [rsp + 0x54]
test eax, eax
je 0x180186f98
lea rcx, [rsp + 0x328]
call fcn.1800303e0
movzx eax, byte [rax]
cmp eax, 0x7f
jl 0x180187011
jmp 0x180186fa7
mov rcx, qword [rsp + 0x4c0]
call fcn.18017d810
mov rdx, qword [rsp + 0x4c8]
mov rcx, qword [rsp + 0x4c0]
call fcn.180174f40
movzx eax, al
test eax, eax
jne 0x18018700c
mov rcx, qword [rsp + 0x4c0]
call fcn.18017d290
movzx edx, ax
mov rcx, qword [rsp + 0x4e0]
call fcn.180175bc0
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0xa
jae 0x18018700c
lea rax, [0x1803b53a8]
mov rcx, qword [rsp + 0x60]
movzx edx, byte [rax + rcx]
mov rcx, qword [rsp + 0x4b8]
call fcn.180116a80
jmp 0x180186f9a
jmp 0x1801872a3
lea rcx, [rsp + 0x2b0]
call fcn.180023010
nop
xor edx, edx
lea rcx, [rsp + 0x2b0]
call fcn.180063790
mov qword [rsp + 0x30], 0
jmp 0x180187046
mov rcx, qword [rsp + 0x4c0]
call fcn.18017d810
mov rdx, qword [rsp + 0x4c8]
mov rcx, qword [rsp + 0x4c0]
call fcn.180174f40
movzx eax, al
test eax, eax
jne 0x180187151
mov rcx, qword [rsp + 0x4c0]
call fcn.18017d290
movzx edx, ax
mov rcx, qword [rsp + 0x4e0]
call fcn.180175bc0
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0xa
jae 0x1801870fa
lea rax, [0x1803b53a8]
mov rcx, qword [rsp + 0x60]
movzx edx, byte [rax + rcx]
mov rcx, qword [rsp + 0x4b8]
call fcn.180116a80
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x2b0]
call fcn.18005fb50
movsx eax, byte [rax]
cmp eax, 0x7f
je 0x1801870f8
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x2b0]
call fcn.18005fb50
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
movzx eax, byte [rax]
inc al
mov rcx, qword [rsp + 0xc0]
mov byte [rcx], al
jmp 0x18018714c
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x2b0]
call fcn.18005fb50
movsx eax, byte [rax]
test eax, eax
je 0x18018712c
mov rcx, qword [rsp + 0x4c0]
call fcn.18017d290
movzx eax, ax
movzx ecx, word [rsp + 0x54]
cmp eax, ecx
je 0x180187130
jmp 0x180187151
xor edx, edx
lea rcx, [rsp + 0x2b0]
call fcn.180063790
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
jmp 0x180187039
cmp qword [rsp + 0x30], 0
je 0x180187186
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x2b0]
call fcn.18005fb50
movsx eax, byte [rax]
test eax, eax
jle 0x180187181
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
jmp 0x180187186
mov byte [rsp + 0x20], 1
lea rcx, [rsp + 0x328]
call fcn.1800303e0
mov qword [rsp + 0x78], rax
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x18018726d
cmp qword [rsp + 0x30], 0
jbe 0x18018726d
mov rax, qword [rsp + 0x78]
movsx eax, byte [rax]
cmp eax, 0x7f
jne 0x1801871c3
jmp 0x18018726d
mov rax, qword [rsp + 0x30]
dec rax
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jbe 0x180187207
mov rax, qword [rsp + 0x78]
movsx eax, byte [rax]
mov dword [rsp + 0xa0], eax
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x2b0]
call fcn.18005fb50
movsx eax, byte [rax]
mov ecx, dword [rsp + 0xa0]
cmp ecx, eax
jne 0x18018723e
cmp qword [rsp + 0x30], 0
jne 0x180187245
mov rax, qword [rsp + 0x78]
movsx eax, byte [rax]
mov dword [rsp + 0xa4], eax
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x2b0]
call fcn.18005fb50
movsx eax, byte [rax]
mov ecx, dword [rsp + 0xa4]
cmp ecx, eax
jge 0x180187245
mov byte [rsp + 0x20], 1
jmp 0x180187268
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x78]
movsx eax, byte [rcx + rax]
test eax, eax
jle 0x180187268
mov rax, qword [rsp + 0x78]
inc rax
mov qword [rsp + 0x78], rax
jmp 0x180187198
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x180187296
lea rcx, [rsp + 0x2b0]
call fcn.180024210
nop
lea rcx, [rsp + 0x328]
call fcn.180024210
jmp 0x18018747e
lea rcx, [rsp + 0x2b0]
call fcn.180024210
mov rcx, qword [rsp + 0x48]
call fcn.180190590
mov word [rsp + 0x58], ax
mov rdx, qword [rsp + 0x4c8]
mov rcx, qword [rsp + 0x4c0]
call fcn.180174f40
movzx eax, al
test eax, eax
jne 0x18018738f
movzx eax, word [rsp + 0x58]
test eax, eax
je 0x18018738f
mov rcx, qword [rsp + 0x4c0]
call fcn.18017d290
movzx eax, ax
movzx ecx, word [rsp + 0x58]
cmp eax, ecx
jne 0x18018738f
mov rcx, qword [rsp + 0x4c0]
call fcn.18017d810
mov rdx, qword [rsp + 0x4c8]
mov rcx, rax
call fcn.180174f40
movzx eax, al
test eax, eax
jne 0x180187380
mov eax, dword [rsp + 0x68]
cmp dword [rsp + 0x40], eax
jge 0x180187380
mov rcx, qword [rsp + 0x4c0]
call fcn.18017d290
movzx edx, ax
mov rcx, qword [rsp + 0x4e0]
call fcn.180175bc0
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0xa
jae 0x180187380
lea rax, [0x1803b53a8]
mov rcx, qword [rsp + 0x60]
movzx edx, byte [rax + rcx]
mov rcx, qword [rsp + 0x4b8]
call fcn.180116a80
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
jmp 0x1801872fc
mov eax, dword [rsp + 0x68]
cmp dword [rsp + 0x40], eax
jge 0x18018738f
mov byte [rsp + 0x20], 1
mov rcx, qword [rsp + 0x4b8]
call fcn.180062450
movzx eax, al
test eax, eax
je 0x1801873aa
mov byte [rsp + 0x20], 1
jmp 0x1801873d1
jmp 0x1801873b6
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x68]
cmp dword [rsp + 0x40], eax
jge 0x1801873d1
mov dl, 0x30
mov rcx, qword [rsp + 0x4b8]
call fcn.180116a80
jmp 0x1801873ac
lea rcx, [rsp + 0x328]
call fcn.180024210
jmp 0x18018747e
cmp qword [rsp + 0x70], 3
jne 0x1801873fe
jmp 0x18018747e
mov byte [rsp + 0x29], 0
jmp 0x180187412
mov rcx, qword [rsp + 0x4c0]
call fcn.18017d810
mov rdx, qword [rsp + 0x4c8]
mov rcx, qword [rsp + 0x4c0]
call fcn.180174f40
movzx eax, al
test eax, eax
jne 0x18018745e
mov rcx, qword [rsp + 0x4c0]
call fcn.18017d290
movzx r8d, ax
mov dx, 0x48
mov rcx, qword [rsp + 0xc8]
call fcn.18019cde0
movzx eax, al
test eax, eax
je 0x18018745e
mov byte [rsp + 0x29], 1
jmp 0x180187405
mov rax, qword [rsp + 0x70]
movsx eax, byte [rsp + rax + 0x80]
cmp eax, 0x20
jne 0x18018747e
movzx eax, byte [rsp + 0x29]
test eax, eax
jne 0x18018747e
mov byte [rsp + 0x20], 1
jmp 0x1801867a1
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x18018766b
lea rcx, [rsp + 0x300]
call fcn.18019d830
cmp rax, 1
jbe 0x18018766b
lea rdx, [rsp + 0x1e8]
lea rcx, [rsp + 0x300]
call fcn.1801902a0
nop
lea rcx, [rsp + 0x1e8]
call fcn.18017d7d0
mov qword [rsp + 0x1d0], rax
lea rdx, [rsp + 0x280]
lea rcx, [rsp + 0x300]
call fcn.18019c080
mov qword [rsp + 0x1b8], rax
mov rax, qword [rsp + 0x1b8]
mov qword [rsp + 0x1c0], rax
mov eax, dword [rsp + 0x24]
bts eax, 8
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x1c0]
mov qword [rsp + 0x1c8], rax
mov rdx, qword [rsp + 0x1c8]
mov rcx, qword [rsp + 0x1d0]
call fcn.18017cbe0
movzx eax, al
test eax, eax
jne 0x180187592
mov rdx, qword [rsp + 0x4c8]
mov rcx, qword [rsp + 0x4c0]
call fcn.180174f40
movzx eax, al
test eax, eax
jne 0x180187592
mov rcx, qword [rsp + 0x4c0]
call fcn.18017d290
movzx eax, ax
mov dword [rsp + 0xa8], eax
lea rcx, [rsp + 0x1e8]
call fcn.18017d250
movzx eax, word [rax]
mov ecx, dword [rsp + 0xa8]
cmp ecx, eax
jne 0x180187592
mov dword [rsp + 0x84], 1
jmp 0x18018759d
mov dword [rsp + 0x84], 0
movzx eax, byte [rsp + 0x84]
mov byte [rsp + 0x3d], al
mov eax, dword [rsp + 0x24]
and eax, 0x100
test eax, eax
je 0x1801875cb
and dword [rsp + 0x24], 0xfffffeff
lea rcx, [rsp + 0x280]
call fcn.18017c130
movzx eax, byte [rsp + 0x3d]
test eax, eax
je 0x1801875e6
mov rcx, qword [rsp + 0x4c0]
call fcn.18017d810
jmp 0x1801874bd
lea rdx, [rsp + 0x298]
lea rcx, [rsp + 0x300]
call fcn.18019c080
mov qword [rsp + 0x1d8], rax
mov rdx, qword [rsp + 0x1d8]
lea rcx, [rsp + 0x1e8]
call fcn.18017cbe0
movzx eax, al
test eax, eax
jne 0x18018762c
mov dword [rsp + 0x88], 1
jmp 0x180187637
mov dword [rsp + 0x88], 0
movzx eax, byte [rsp + 0x88]
mov byte [rsp + 0x3e], al
lea rcx, [rsp + 0x298]
call fcn.18017c130
movzx eax, byte [rsp + 0x3e]
test eax, eax
je 0x18018765e
mov byte [rsp + 0x20], 1
lea rcx, [rsp + 0x1e8]
call fcn.18017c130
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x180187685
xor edx, edx
mov rcx, qword [rsp + 0x4b8]
call fcn.180117670
jmp 0x1801876a7
movzx eax, byte [rsp + 0x28]
test eax, eax
je 0x1801876a7
mov r9b, 0x2d
mov r8d, 1
xor edx, edx
mov rcx, qword [rsp + 0x4b8]
call fcn.180106ee0
nop
lea rcx, [rsp + 0x300]
call fcn.18017c290
mov rax, qword [rsp + 0x4b8]
mov rcx, qword [rsp + 0x490]
xor rcx, rsp
call fcn.1801a9570
add rsp, 0x4a8
ret