Function at 0x1801876e0
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.1801750a0
movzx eax, byte [rsp + 0x4d0]
test eax, eax
je 0x18018778c
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.18017a350
mov rcx, rax
call fcn.180178f70
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x200]
call fcn.1800247a0
jmp 0x1801877e0
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.18017a470
mov rcx, rax
call fcn.180178f80
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.1800d7830
nop
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x48]
call fcn.18019d2b0
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.180179930
mov qword [rsp + 0xc8], rax
lea rcx, [rsp + 0x220]
call fcn.1800247a0
lea rcx, [0x1803b53e8]
call fcn.180179370
mov qword [rsp + 0x110], rax
lea rcx, [0x1803b53e8]
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.18019dcb0
mov qword [rsp + 0x70], 0
jmp 0x1801878de
mov rax, qword [rsp + 0x70]
inc rax
mov qword [rsp + 0x70], rax
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x1801885b3
cmp qword [rsp + 0x70], 4
jae 0x1801885b3
mov rax, qword [rsp + 0x70]
movzx eax, byte [rsp + rax + 0x80]
mov byte [rsp + 0x5c], al
cmp byte [rsp + 0x5c], 0x20
je 0x180188521
cmp byte [rsp + 0x5c], 0x24
je 0x180187940
cmp byte [rsp + 0x5c], 0x2b
je 0x180187c3c
cmp byte [rsp + 0x5c], 0x76
je 0x18018804b
cmp byte [rsp + 0x5c], 0x78
je 0x180188521
jmp 0x1801885ae
lea rdx, [rsp + 0x2d8]
mov rcx, qword [rsp + 0x48]
call fcn.180190410
nop
lea rcx, [rsp + 0xd0]
call fcn.18017b2f0
nop
mov rcx, qword [rsp + 0x4d8]
call fcn.1800626d0
and eax, 8
test eax, eax
jne 0x1801879c3
mov rdx, qword [rsp + 0x4c8]
mov rcx, qword [rsp + 0x4c0]
call fcn.180174f70
movzx eax, al
test eax, eax
jne 0x1801879c3
mov rcx, qword [rsp + 0x4c0]
call fcn.18017d340
movzx eax, ax
mov dword [rsp + 0xac], eax
lea rcx, [rsp + 0x2d8]
call fcn.1800672e0
movzx eax, word [rax]
mov ecx, dword [rsp + 0xac]
cmp ecx, eax
jne 0x180187a2c
cmp qword [rsp + 0x70], 3
jne 0x180187a3b
lea rcx, [rsp + 0x300]
call fcn.1800da2c0
cmp rax, 1
ja 0x180187a3b
mov rdx, qword [rsp + 0x4c8]
mov rcx, qword [rsp + 0x4c0]
call fcn.180174f70
movzx eax, al
test eax, eax
jne 0x180187a2c
mov rcx, qword [rsp + 0x4c0]
call fcn.18017d340
movzx eax, ax
mov dword [rsp + 0xb0], eax
lea rcx, [rsp + 0x2d8]
call fcn.1800672e0
movzx eax, word [rax]
mov ecx, dword [rsp + 0xb0]
cmp ecx, eax
je 0x180187a3b
xor edx, edx
lea rcx, [rsp + 0x2d8]
call fcn.1800d9b50
lea rdx, [rsp + 0x238]
lea rcx, [rsp + 0x2d8]
call fcn.1800d9800
mov qword [rsp + 0x120], rax
mov rdx, qword [rsp + 0x120]
lea rcx, [rsp + 0xd0]
call fcn.18017c960
lea rcx, [rsp + 0x238]
call fcn.1800d7c70
mov rdx, qword [rsp + 0x4c8]
mov rcx, qword [rsp + 0x4c0]
call fcn.180174f70
movzx eax, al
test eax, eax
jne 0x180187b2d
lea rdx, [rsp + 0x250]
lea rcx, [rsp + 0x2d8]
call fcn.18019c0f0
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.18017cc30
movzx eax, al
test eax, eax
jne 0x180187b2d
mov rcx, qword [rsp + 0x4c0]
call fcn.18017d340
movzx eax, ax
mov dword [rsp + 0xb4], eax
lea rcx, [rsp + 0xd0]
call fcn.18017d070
movzx eax, word [rax]
mov ecx, dword [rsp + 0xb4]
cmp ecx, eax
jne 0x180187b2d
mov dword [rsp + 0x8c], 1
jmp 0x180187b38
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 0x180187b61
and dword [rsp + 0x24], 0xfffffffd
lea rcx, [rsp + 0x250]
call fcn.1800d7c70
movzx eax, byte [rsp + 0x38]
test eax, eax
je 0x180187b89
lea rcx, [rsp + 0xd0]
call fcn.18017d5f0
mov rcx, qword [rsp + 0x4c0]
call fcn.18017d8b0
jmp 0x180187a7a
lea rdx, [rsp + 0x268]
lea rcx, [rsp + 0x2d8]
call fcn.18019c0f0
mov qword [rsp + 0x138], rax
mov rdx, qword [rsp + 0x138]
lea rcx, [rsp + 0xd0]
call fcn.18017cc30
movzx eax, al
test eax, eax
jne 0x180187bcf
mov dword [rsp + 0x90], 1
jmp 0x180187bda
mov dword [rsp + 0x90], 0
movzx eax, byte [rsp + 0x90]
mov byte [rsp + 0x39], al
lea rcx, [rsp + 0x268]
call fcn.1800d7c70
movzx eax, byte [rsp + 0x39]
test eax, eax
je 0x180187c01
mov byte [rsp + 0x20], 1
lea rcx, [rsp + 0xd0]
call fcn.1800d7c50
nop
lea rcx, [rsp + 0x2d8]
call fcn.180066830
jmp 0x1801885ae
mov rdx, qword [rsp + 0x4c8]
mov rcx, qword [rsp + 0x4c0]
call fcn.180174f70
movzx eax, al
test eax, eax
jne 0x180188046
lea rdx, [rsp + 0x378]
mov rcx, qword [rsp + 0x48]
call fcn.18019d4c0
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.1800da2c0
test rax, rax
jbe 0x180187d2d
lea rdx, [rsp + 0x350]
mov rcx, qword [rsp + 0x48]
call fcn.18019d4c0
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.18017cde0
movzx eax, word [rax]
mov dword [rsp + 0xb8], eax
mov rcx, qword [rsp + 0x4c0]
call fcn.18017d340
movzx eax, ax
mov ecx, dword [rsp + 0xb8]
cmp ecx, eax
jne 0x180187d2d
mov dword [rsp + 0x94], 1
jmp 0x180187d38
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 0x180187d62
and dword [rsp + 0x24], 0xfffffff7
lea rcx, [rsp + 0x350]
call fcn.180066830
nop
mov eax, dword [rsp + 0x24]
and eax, 4
test eax, eax
je 0x180187d7f
and dword [rsp + 0x24], 0xfffffffb
lea rcx, [rsp + 0x378]
call fcn.180066830
movzx eax, byte [rsp + 0x3a]
test eax, eax
je 0x180187dd6
mov rcx, qword [rsp + 0x4c0]
call fcn.18017d8b0
lea rdx, [rsp + 0x3a0]
mov rcx, qword [rsp + 0x48]
call fcn.18019d4c0
mov qword [rsp + 0x168], rax
mov rdx, qword [rsp + 0x168]
lea rcx, [rsp + 0x300]
call fcn.18012b770
lea rcx, [rsp + 0x3a0]
call fcn.180066830
jmp 0x180188046
lea rdx, [rsp + 0x3f0]
mov rcx, qword [rsp + 0x48]
call fcn.18019d360
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.1800da2c0
test rax, rax
jbe 0x180187ea7
lea rdx, [rsp + 0x3c8]
mov rcx, qword [rsp + 0x48]
call fcn.18019d360
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.18017cde0
movzx eax, word [rax]
mov dword [rsp + 0xbc], eax
mov rcx, qword [rsp + 0x4c0]
call fcn.18017d340
movzx eax, ax
mov ecx, dword [rsp + 0xbc]
cmp ecx, eax
jne 0x180187ea7
mov dword [rsp + 0x98], 1
jmp 0x180187eb2
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 0x180187edc
and dword [rsp + 0x24], 0xffffffdf
lea rcx, [rsp + 0x3c8]
call fcn.180066830
nop
mov eax, dword [rsp + 0x24]
and eax, 0x10
test eax, eax
je 0x180187ef9
and dword [rsp + 0x24], 0xffffffef
lea rcx, [rsp + 0x3f0]
call fcn.180066830
movzx eax, byte [rsp + 0x3b]
test eax, eax
je 0x180187f55
mov rcx, qword [rsp + 0x4c0]
call fcn.18017d8b0
lea rdx, [rsp + 0x418]
mov rcx, qword [rsp + 0x48]
call fcn.18019d360
mov qword [rsp + 0x198], rax
mov rdx, qword [rsp + 0x198]
lea rcx, [rsp + 0x300]
call fcn.18012b770
lea rcx, [rsp + 0x418]
call fcn.180066830
mov byte [rsp + 0x28], 1
jmp 0x180188046
lea rdx, [rsp + 0x468]
mov rcx, qword [rsp + 0x48]
call fcn.18019d4c0
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.1800da2c0
test rax, rax
je 0x180187fe1
lea rdx, [rsp + 0x440]
mov rcx, qword [rsp + 0x48]
call fcn.18019d360
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.1800da2c0
test rax, rax
jne 0x180187fe1
mov dword [rsp + 0x9c], 1
jmp 0x180187fec
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 0x18018801b
and dword [rsp + 0x24], 0xffffff7f
lea rcx, [rsp + 0x440]
call fcn.180066830
nop
mov eax, dword [rsp + 0x24]
and eax, 0x40
test eax, eax
je 0x180188038
and dword [rsp + 0x24], 0xffffffbf
lea rcx, [rsp + 0x468]
call fcn.180066830
movzx eax, byte [rsp + 0x3c]
test eax, eax
je 0x180188046
mov byte [rsp + 0x28], 1
jmp 0x1801885ae
mov dword [rsp + 0x40], 0
mov rcx, qword [rsp + 0x48]
call fcn.18019c450
mov dword [rsp + 0x68], eax
lea rdx, [rsp + 0x328]
mov rcx, qword [rsp + 0x48]
call fcn.18019ca00
nop
lea rcx, [rsp + 0x328]
call fcn.180062450
movzx eax, al
test eax, eax
je 0x180188091
xor eax, eax
mov word [rsp + 0x50], ax
jmp 0x1801880a0
mov rcx, qword [rsp + 0x48]
call fcn.18019d9d0
mov word [rsp + 0x50], ax
movzx eax, word [rsp + 0x50]
mov word [rsp + 0x54], ax
movzx eax, word [rsp + 0x54]
test eax, eax
je 0x1801880c8
lea rcx, [rsp + 0x328]
call fcn.1800303e0
movzx eax, byte [rax]
cmp eax, 0x7f
jl 0x180188141
jmp 0x1801880d7
mov rcx, qword [rsp + 0x4c0]
call fcn.18017d8b0
mov rdx, qword [rsp + 0x4c8]
mov rcx, qword [rsp + 0x4c0]
call fcn.180174f70
movzx eax, al
test eax, eax
jne 0x18018813c
mov rcx, qword [rsp + 0x4c0]
call fcn.18017d340
movzx edx, ax
mov rcx, qword [rsp + 0x4e0]
call fcn.180175cc0
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0xa
jae 0x18018813c
lea rax, [0x1803b53e8]
mov rcx, qword [rsp + 0x60]
movzx edx, byte [rax + rcx]
mov rcx, qword [rsp + 0x4b8]
call fcn.180116a80
jmp 0x1801880ca
jmp 0x1801883d3
lea rcx, [rsp + 0x2b0]
call fcn.180023010
nop
xor edx, edx
lea rcx, [rsp + 0x2b0]
call fcn.180063790
mov qword [rsp + 0x30], 0
jmp 0x180188176
mov rcx, qword [rsp + 0x4c0]
call fcn.18017d8b0
mov rdx, qword [rsp + 0x4c8]
mov rcx, qword [rsp + 0x4c0]
call fcn.180174f70
movzx eax, al
test eax, eax
jne 0x180188281
mov rcx, qword [rsp + 0x4c0]
call fcn.18017d340
movzx edx, ax
mov rcx, qword [rsp + 0x4e0]
call fcn.180175cc0
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0xa
jae 0x18018822a
lea rax, [0x1803b53e8]
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 0x180188228
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 0x18018827c
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x2b0]
call fcn.18005fb50
movsx eax, byte [rax]
test eax, eax
je 0x18018825c
mov rcx, qword [rsp + 0x4c0]
call fcn.18017d340
movzx eax, ax
movzx ecx, word [rsp + 0x54]
cmp eax, ecx
je 0x180188260
jmp 0x180188281
xor edx, edx
lea rcx, [rsp + 0x2b0]
call fcn.180063790
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
jmp 0x180188169
cmp qword [rsp + 0x30], 0
je 0x1801882b6
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x2b0]
call fcn.18005fb50
movsx eax, byte [rax]
test eax, eax
jle 0x1801882b1
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
jmp 0x1801882b6
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 0x18018839d
cmp qword [rsp + 0x30], 0
jbe 0x18018839d
mov rax, qword [rsp + 0x78]
movsx eax, byte [rax]
cmp eax, 0x7f
jne 0x1801882f3
jmp 0x18018839d
mov rax, qword [rsp + 0x30]
dec rax
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jbe 0x180188337
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 0x18018836e
cmp qword [rsp + 0x30], 0
jne 0x180188375
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 0x180188375
mov byte [rsp + 0x20], 1
jmp 0x180188398
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x78]
movsx eax, byte [rcx + rax]
test eax, eax
jle 0x180188398
mov rax, qword [rsp + 0x78]
inc rax
mov qword [rsp + 0x78], rax
jmp 0x1801882c8
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1801883c6
lea rcx, [rsp + 0x2b0]
call fcn.180024210
nop
lea rcx, [rsp + 0x328]
call fcn.180024210
jmp 0x1801885ae
lea rcx, [rsp + 0x2b0]
call fcn.180024210
mov rcx, qword [rsp + 0x48]
call fcn.1801905c0
mov word [rsp + 0x58], ax
mov rdx, qword [rsp + 0x4c8]
mov rcx, qword [rsp + 0x4c0]
call fcn.180174f70
movzx eax, al
test eax, eax
jne 0x1801884bf
movzx eax, word [rsp + 0x58]
test eax, eax
je 0x1801884bf
mov rcx, qword [rsp + 0x4c0]
call fcn.18017d340
movzx eax, ax
movzx ecx, word [rsp + 0x58]
cmp eax, ecx
jne 0x1801884bf
mov rcx, qword [rsp + 0x4c0]
call fcn.18017d8b0
mov rdx, qword [rsp + 0x4c8]
mov rcx, rax
call fcn.180174f70
movzx eax, al
test eax, eax
jne 0x1801884b0
mov eax, dword [rsp + 0x68]
cmp dword [rsp + 0x40], eax
jge 0x1801884b0
mov rcx, qword [rsp + 0x4c0]
call fcn.18017d340
movzx edx, ax
mov rcx, qword [rsp + 0x4e0]
call fcn.180175cc0
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0xa
jae 0x1801884b0
lea rax, [0x1803b53e8]
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 0x18018842c
mov eax, dword [rsp + 0x68]
cmp dword [rsp + 0x40], eax
jge 0x1801884bf
mov byte [rsp + 0x20], 1
mov rcx, qword [rsp + 0x4b8]
call fcn.180062450
movzx eax, al
test eax, eax
je 0x1801884da
mov byte [rsp + 0x20], 1
jmp 0x180188501
jmp 0x1801884e6
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x68]
cmp dword [rsp + 0x40], eax
jge 0x180188501
mov dl, 0x30
mov rcx, qword [rsp + 0x4b8]
call fcn.180116a80
jmp 0x1801884dc
lea rcx, [rsp + 0x328]
call fcn.180024210
jmp 0x1801885ae
cmp qword [rsp + 0x70], 3
jne 0x18018852e
jmp 0x1801885ae
mov byte [rsp + 0x29], 0
jmp 0x180188542
mov rcx, qword [rsp + 0x4c0]
call fcn.18017d8b0
mov rdx, qword [rsp + 0x4c8]
mov rcx, qword [rsp + 0x4c0]
call fcn.180174f70
movzx eax, al
test eax, eax
jne 0x18018858e
mov rcx, qword [rsp + 0x4c0]
call fcn.18017d340
movzx r8d, ax
mov dx, 0x48
mov rcx, qword [rsp + 0xc8]
call fcn.18019ce30
movzx eax, al
test eax, eax
je 0x18018858e
mov byte [rsp + 0x29], 1
jmp 0x180188535
mov rax, qword [rsp + 0x70]
movsx eax, byte [rsp + rax + 0x80]
cmp eax, 0x20
jne 0x1801885ae
movzx eax, byte [rsp + 0x29]
test eax, eax
jne 0x1801885ae
mov byte [rsp + 0x20], 1
jmp 0x1801878d1
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x18018879b
lea rcx, [rsp + 0x300]
call fcn.1800da2c0
cmp rax, 1
jbe 0x18018879b
lea rdx, [rsp + 0x1e8]
lea rcx, [rsp + 0x300]
call fcn.1800d9800
nop
lea rcx, [rsp + 0x1e8]
call fcn.18017d7f0
mov qword [rsp + 0x1d0], rax
lea rdx, [rsp + 0x280]
lea rcx, [rsp + 0x300]
call fcn.18019c0f0
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.18017cc30
movzx eax, al
test eax, eax
jne 0x1801886c2
mov rdx, qword [rsp + 0x4c8]
mov rcx, qword [rsp + 0x4c0]
call fcn.180174f70
movzx eax, al
test eax, eax
jne 0x1801886c2
mov rcx, qword [rsp + 0x4c0]
call fcn.18017d340
movzx eax, ax
mov dword [rsp + 0xa8], eax
lea rcx, [rsp + 0x1e8]
call fcn.18017d270
movzx eax, word [rax]
mov ecx, dword [rsp + 0xa8]
cmp ecx, eax
jne 0x1801886c2
mov dword [rsp + 0x84], 1
jmp 0x1801886cd
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 0x1801886fb
and dword [rsp + 0x24], 0xfffffeff
lea rcx, [rsp + 0x280]
call fcn.1800d7c70
movzx eax, byte [rsp + 0x3d]
test eax, eax
je 0x180188716
mov rcx, qword [rsp + 0x4c0]
call fcn.18017d8b0
jmp 0x1801885ed
lea rdx, [rsp + 0x298]
lea rcx, [rsp + 0x300]
call fcn.18019c0f0
mov qword [rsp + 0x1d8], rax
mov rdx, qword [rsp + 0x1d8]
lea rcx, [rsp + 0x1e8]
call fcn.18017cc30
movzx eax, al
test eax, eax
jne 0x18018875c
mov dword [rsp + 0x88], 1
jmp 0x180188767
mov dword [rsp + 0x88], 0
movzx eax, byte [rsp + 0x88]
mov byte [rsp + 0x3e], al
lea rcx, [rsp + 0x298]
call fcn.1800d7c70
movzx eax, byte [rsp + 0x3e]
test eax, eax
je 0x18018878e
mov byte [rsp + 0x20], 1
lea rcx, [rsp + 0x1e8]
call fcn.1800d7c70
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1801887b5
xor edx, edx
mov rcx, qword [rsp + 0x4b8]
call fcn.180117670
jmp 0x1801887d7
movzx eax, byte [rsp + 0x28]
test eax, eax
je 0x1801887d7
mov r9b, 0x2d
mov r8d, 1
xor edx, edx
mov rcx, qword [rsp + 0x4b8]
call fcn.180106ee0
nop
lea rcx, [rsp + 0x300]
call fcn.180066830
mov rax, qword [rsp + 0x4b8]
mov rcx, qword [rsp + 0x490]
xor rcx, rsp
call fcn.1801a9570
add rsp, 0x4a8
ret