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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x2f8
mov rax, qword [0x1803a0f20]
xor rax, rsp
mov qword [rsp + 0x2e8], rax
mov dword [rsp + 0x78], 0
mov dword [rsp + 0x4c], 0
mov dword [rsp + 0x44], 0
mov dword [rsp + 0xb8], 0
mov dword [rsp + 0xe8], 0
lea rax, [rsp + 0x2d0]
mov rdi, rax
xor eax, eax
mov ecx, 5
rep stosb byte [rdi], al
mov dword [rsp + 0x80], 0
mov qword [rsp + 0x90], 0
mov rax, qword [rsp + 0x310]
mov rax, qword [rax + 0x48]
mov qword [rsp + 0xb0], rax
cmp qword [rsp + 0x320], 0
jne 0x18002d5a0
mov eax, 7
jmp 0x18002f362
mov rax, qword [rsp + 0x310]
movzx eax, byte [rax + 0xc]
mov rcx, qword [rsp + 0x310]
movzx ecx, word [rcx + 0x16]
add eax, ecx
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 2
jge 0x18002d5cf
mov dword [rsp + 0x68], 0
jmp 0x18002d622
cmp dword [rsp + 0x318], 0
jne 0x18002d5e3
mov dword [rsp + 0x68], 0
jmp 0x18002d612
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x318], eax
jne 0x18002d605
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x330]
lea eax, [rax + rcx - 2]
mov dword [rsp + 0x68], eax
jmp 0x18002d612
mov eax, dword [rsp + 0x318]
dec eax
mov dword [rsp + 0x68], eax
mov eax, 2
sub eax, dword [rsp + 0x330]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0x68]
mov ecx, dword [rsp + 0x40]
add ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x310]
movzx ecx, byte [rcx + 0xc]
sub eax, ecx
mov rcx, qword [rsp + 0x310]
movzx ecx, word [rcx + 0x16]
cmp eax, ecx
jne 0x18002d683
mov rax, qword [rsp + 0x310]
movzx eax, byte [rax + 9]
add eax, 8
cdqe
mov rcx, qword [rsp + 0x310]
mov rcx, qword [rcx + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x188], rax
jmp 0x18002d6dd
mov rax, qword [rsp + 0x310]
movzx eax, word [rax + 0x18]
mov ecx, dword [rsp + 0x68]
mov edx, dword [rsp + 0x40]
add edx, ecx
mov ecx, edx
mov rdx, qword [rsp + 0x310]
movzx edx, byte [rdx + 0xc]
sub ecx, edx
shl ecx, 1
movsxd rcx, ecx
mov rdx, qword [rsp + 0x310]
mov rdx, qword [rdx + 0x60]
movzx ecx, word [rdx + rcx]
ror cx, 8
movzx ecx, cx
and eax, ecx
cdqe
mov rcx, qword [rsp + 0x310]
add rax, qword [rcx + 0x50]
mov qword [rsp + 0x188], rax
mov rcx, qword [rsp + 0x188]
call fcn.180079060
mov dword [rsp + 0x74], eax
xor eax, eax
cmp eax, 1
je 0x18002da53
movsxd rax, dword [rsp + 0x40]
lea rax, [rsp + rax*8 + 0x248]
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8, rax
mov edx, dword [rsp + 0x74]
mov rcx, qword [rsp + 0xb0]
call fcn.1800443f0
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
je 0x18002d760
mov eax, dword [rsp + 0x40]
inc eax
cdqe
shl rax, 3
mov qword [rsp + 0x1d0], rax
lea rcx, [rsp + 0x248]
mov rdi, rcx
xor eax, eax
mov rcx, qword [rsp + 0x1d0]
rep stosb byte [rdi], al
jmp 0x18002f2eb
movsxd rax, dword [rsp + 0x40]
mov rax, qword [rsp + rax*8 + 0x248]
movzx eax, word [rax + 0x16]
movsxd rcx, dword [rsp + 0x40]
mov rcx, qword [rsp + rcx*8 + 0x248]
movzx ecx, byte [rcx + 0xc]
add ecx, dword [rsp + 0x78]
lea eax, [rcx + rax + 1]
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x178], eax
mov eax, dword [rsp + 0x40]
dec eax
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x178], 0
jne 0x18002d7b2
jmp 0x18002da53
mov rax, qword [rsp + 0x310]
movzx eax, byte [rax + 0xc]
test eax, eax
je 0x18002d865
mov eax, dword [rsp + 0x68]
mov ecx, dword [rsp + 0x40]
add ecx, eax
mov eax, ecx
mov ecx, 2
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x310]
movzx ecx, word [rdx + rcx + 0x1a]
cmp eax, ecx
jne 0x18002d865
mov eax, 8
imul rax, rax, 0
movsxd rcx, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x310]
mov rax, qword [rdx + rax + 0x28]
mov qword [rsp + rcx*8 + 0x158], rax
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + rax*8 + 0x158]
call fcn.180079060
mov dword [rsp + 0x74], eax
movsxd rax, dword [rsp + 0x40]
mov rdx, qword [rsp + rax*8 + 0x158]
mov rcx, qword [rsp + 0x310]
mov rax, qword [rsp + 0x310]
call qword [rax + 0x78]
movsxd rcx, dword [rsp + 0x40]
movzx eax, ax
mov dword [rsp + rcx*4 + 0x230], eax
mov rax, qword [rsp + 0x310]
mov byte [rax + 0xc], 0
jmp 0x18002da4e
mov rax, qword [rsp + 0x310]
movzx eax, word [rax + 0x18]
mov ecx, dword [rsp + 0x68]
mov edx, dword [rsp + 0x40]
add edx, ecx
mov ecx, edx
mov rdx, qword [rsp + 0x310]
movzx edx, byte [rdx + 0xc]
sub ecx, edx
shl ecx, 1
movsxd rcx, ecx
mov rdx, qword [rsp + 0x310]
mov rdx, qword [rdx + 0x60]
movzx ecx, word [rdx + rcx]
ror cx, 8
movzx ecx, cx
and eax, ecx
cdqe
mov rcx, qword [rsp + 0x310]
add rax, qword [rcx + 0x50]
movsxd rcx, dword [rsp + 0x40]
mov qword [rsp + rcx*8 + 0x158], rax
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + rax*8 + 0x158]
call fcn.180079060
mov dword [rsp + 0x74], eax
movsxd rax, dword [rsp + 0x40]
mov rdx, qword [rsp + rax*8 + 0x158]
mov rcx, qword [rsp + 0x310]
mov rax, qword [rsp + 0x310]
call qword [rax + 0x78]
movsxd rcx, dword [rsp + 0x40]
movzx eax, ax
mov dword [rsp + rcx*4 + 0x230], eax
mov rax, qword [rsp + 0xb0]
movzx eax, word [rax + 0x26]
and eax, 0xc
test eax, eax
je 0x18002da13
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x310]
mov ecx, dword [rcx + 0x50]
mov eax, dword [rsp + rax*8 + 0x158]
sub eax, ecx
mov dword [rsp + 0x120], eax
movsxd rax, dword [rsp + 0x40]
mov eax, dword [rsp + rax*4 + 0x230]
mov ecx, dword [rsp + 0x120]
add ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0xb0]
cmp eax, dword [rcx + 0x34]
jle 0x18002d9a4
mov ecx, 0x112b6
call fcn.180068890
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x40]
inc eax
cdqe
shl rax, 3
mov qword [rsp + 0x1d8], rax
lea rcx, [rsp + 0x248]
mov rdi, rcx
xor eax, eax
mov rcx, qword [rsp + 0x1d8]
rep stosb byte [rdi], al
jmp 0x18002f2eb
movsxd rax, dword [rsp + 0x40]
movsxd rax, dword [rsp + rax*4 + 0x230]
movsxd rcx, dword [rsp + 0x40]
movsxd rdx, dword [rsp + 0x120]
mov rdi, qword [rsp + 0x320]
add rdi, rdx
mov rdx, rdi
mov rdi, rdx
mov rsi, qword [rsp + rcx*8 + 0x158]
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x310]
mov rcx, qword [rcx + 0x50]
mov rax, qword [rsp + rax*8 + 0x158]
sub rax, rcx
mov rcx, qword [rsp + 0x320]
add rcx, rax
mov rax, rcx
movsxd rcx, dword [rsp + 0x40]
mov qword [rsp + rcx*8 + 0x158], rax
movsxd rax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x68]
mov edx, dword [rsp + 0x40]
add edx, ecx
mov ecx, edx
mov rdx, qword [rsp + 0x310]
movzx edx, byte [rdx + 0xc]
sub ecx, edx
lea r9, [rsp + 0x44]
mov r8d, dword [rsp + rax*4 + 0x230]
mov edx, ecx
mov rcx, qword [rsp + 0x310]
call fcn.18003a9a0
jmp 0x18002d6ee
mov eax, dword [rsp + 0x78]
add eax, 3
and eax, 0xfffffffc
mov dword [rsp + 0x78], eax
movsxd rax, dword [rsp + 0x78]
movsxd rcx, dword [rsp + 0x78]
shl rcx, 1
lea rax, [rcx + rax*8]
mov rcx, qword [rsp + 0xb0]
mov ecx, dword [rcx + 0x30]
add rax, rcx
mov dword [rsp + 0x17c], eax
movsxd rax, dword [rsp + 0x17c]
mov rdx, rax
xor ecx, ecx
call fcn.18006ada0
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0
jne 0x18002dab9
mov dword [rsp + 0x44], 7
jmp 0x18002f2eb
movsxd rax, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x90]
lea rax, [rcx + rax*8]
mov qword [rsp + 0x98], rax
movsxd rax, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x98]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x1b8], rax
mov eax, 8
imul rax, rax, 0
mov rax, qword [rsp + rax + 0x248]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
movzx eax, byte [rax + 8]
shl eax, 2
mov word [rsp + 0x54], ax
mov rax, qword [rsp + 0x88]
movzx eax, byte [rax + 3]
mov dword [rsp + 0x6c], eax
mov dword [rsp + 0x40], 0
jmp 0x18002db3c
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x40], eax
jge 0x18002dfe6
movsxd rax, dword [rsp + 0x40]
mov rax, qword [rsp + rax*8 + 0x248]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
movzx eax, word [rax + 0x16]
mov dword [rsp + 0xe0], eax
mov rax, qword [rsp + 0xa8]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0xa8]
movzx eax, word [rax + 0x18]
mov word [rsp + 0xbc], ax
mov rax, qword [rsp + 0xa8]
movzx eax, word [rax + 0x12]
mov rcx, qword [rsp + 0x168]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x100], rax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0xa8]
mov rcx, qword [rcx + 0x50]
movzx eax, byte [rcx + rax]
mov ecx, 8
imul rcx, rcx, 0
mov rcx, qword [rsp + rcx + 0x248]
mov edx, 1
imul rdx, rdx, 0
mov rcx, qword [rcx + 0x50]
movzx ecx, byte [rcx + rdx]
cmp eax, ecx
je 0x18002dc0e
mov ecx, 0x112f7
call fcn.180068890
mov dword [rsp + 0x44], eax
jmp 0x18002f2eb
mov rax, qword [rsp + 0xa8]
movzx eax, byte [rax + 0xc]
mov ecx, dword [rsp + 0xe0]
add ecx, eax
mov eax, ecx
cdqe
shl rax, 1
mov qword [rsp + 0x1e0], rax
movsxd rcx, dword [rsp + 0x80]
mov rdx, qword [rsp + 0x98]
lea rcx, [rdx + rcx*2]
mov rdi, rcx
xor eax, eax
mov rcx, qword [rsp + 0x1e0]
rep stosb byte [rdi], al
mov rax, qword [rsp + 0xa8]
movzx eax, byte [rax + 0xc]
test eax, eax
jle 0x18002dd6b
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0xa8]
movzx eax, word [rcx + rax + 0x1a]
mov dword [rsp + 0xe0], eax
mov dword [rsp + 0x48], 0
jmp 0x18002dc9a
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0xe0]
cmp dword [rsp + 0x48], eax
jge 0x18002dd0d
movzx eax, word [rsp + 0xbc]
mov rcx, qword [rsp + 0x100]
movzx ecx, word [rcx]
ror cx, 8
movzx ecx, cx
and eax, ecx
cdqe
mov rcx, qword [rsp + 0x168]
add rcx, rax
mov rax, rcx
movsxd rcx, dword [rsp + 0x80]
mov rdx, qword [rsp + 0x90]
mov qword [rdx + rcx*8], rax
mov rax, qword [rsp + 0x100]
add rax, 2
mov qword [rsp + 0x100], rax
mov eax, dword [rsp + 0x80]
inc eax
mov dword [rsp + 0x80], eax
jmp 0x18002dc90
mov dword [rsp + 0x50], 0
jmp 0x18002dd21
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0xa8]
movzx eax, byte [rax + 0xc]
cmp dword [rsp + 0x50], eax
jge 0x18002dd6b
movsxd rax, dword [rsp + 0x50]
movsxd rcx, dword [rsp + 0x80]
mov rdx, qword [rsp + 0x90]
mov rdi, qword [rsp + 0xa8]
mov rax, qword [rdi + rax*8 + 0x28]
mov qword [rdx + rcx*8], rax
mov eax, dword [rsp + 0x80]
inc eax
mov dword [rsp + 0x80], eax
jmp 0x18002dd17
mov rax, qword [rsp + 0xa8]
movzx eax, word [rax + 0x12]
mov rcx, qword [rsp + 0x168]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0xa8]
movzx ecx, word [rcx + 0x16]
shl ecx, 1
movsxd rcx, ecx
add rax, rcx
mov qword [rsp + 0x1e8], rax
mov rax, qword [rsp + 0x1e8]
cmp qword [rsp + 0x100], rax
jae 0x18002de19
movzx eax, word [rsp + 0xbc]
mov rcx, qword [rsp + 0x100]
movzx ecx, word [rcx]
ror cx, 8
movzx ecx, cx
and eax, ecx
cdqe
mov rcx, qword [rsp + 0x168]
add rcx, rax
mov rax, rcx
movsxd rcx, dword [rsp + 0x80]
mov rdx, qword [rsp + 0x90]
mov qword [rdx + rcx*8], rax
mov rax, qword [rsp + 0x100]
add rax, 2
mov qword [rsp + 0x100], rax
mov eax, dword [rsp + 0x80]
inc eax
mov dword [rsp + 0x80], eax
jmp 0x18002dda1
movsxd rax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x80]
mov dword [rsp + rax*4 + 0x2b8], ecx
mov eax, dword [rsp + 0x5c]
dec eax
cmp dword [rsp + 0x40], eax
jge 0x18002dfe1
cmp dword [rsp + 0x6c], 0
jne 0x18002dfe1
movsxd rax, dword [rsp + 0x40]
movzx eax, word [rsp + rax*4 + 0x230]
mov word [rsp + 0xa0], ax
movsxd rax, dword [rsp + 0x80]
mov rcx, qword [rsp + 0x98]
movzx edx, word [rsp + 0xa0]
mov word [rcx + rax*2], dx
movsxd rax, dword [rsp + 0xb8]
mov rcx, qword [rsp + 0x1b8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x1b0], rax
movzx eax, word [rsp + 0xa0]
mov ecx, dword [rsp + 0xb8]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0xb8], eax
movzx eax, word [rsp + 0xa0]
movsxd rcx, dword [rsp + 0x40]
mov rdi, qword [rsp + 0x1b0]
mov rsi, qword [rsp + rcx*8 + 0x158]
mov ecx, eax
rep movsb byte [rdi], byte [rsi]
movzx eax, word [rsp + 0x54]
mov rcx, qword [rsp + 0x1b0]
add rcx, rax
mov rax, rcx
movsxd rcx, dword [rsp + 0x80]
mov rdx, qword [rsp + 0x90]
mov qword [rdx + rcx*8], rax
movsxd rax, dword [rsp + 0x80]
mov rcx, qword [rsp + 0x98]
movzx eax, word [rcx + rax*2]
movzx ecx, word [rsp + 0x54]
sub eax, ecx
movsxd rcx, dword [rsp + 0x80]
mov rdx, qword [rsp + 0x98]
mov word [rdx + rcx*2], ax
mov rax, qword [rsp + 0xa8]
movzx eax, byte [rax + 8]
test eax, eax
jne 0x18002df67
mov eax, 1
imul rax, rax, 8
mov rcx, qword [rsp + 0xa8]
mov rcx, qword [rcx + 0x50]
movsxd rdx, dword [rsp + 0x80]
mov rdi, qword [rsp + 0x90]
mov rdx, qword [rdi + rdx*8]
mov eax, dword [rcx + rax]
mov dword [rdx], eax
jmp 0x18002dfd1
movsxd rax, dword [rsp + 0x80]
mov rcx, qword [rsp + 0x98]
movzx eax, word [rcx + rax*2]
cmp eax, 4
jge 0x18002dfd1
movsxd rax, dword [rsp + 0xb8]
mov rcx, qword [rsp + 0x1b8]
mov byte [rcx + rax], 0
mov eax, dword [rsp + 0xb8]
inc eax
mov dword [rsp + 0xb8], eax
movsxd rax, dword [rsp + 0x80]
mov rcx, qword [rsp + 0x98]
movzx eax, word [rcx + rax*2]
inc ax
movsxd rcx, dword [rsp + 0x80]
mov rdx, qword [rsp + 0x98]
mov word [rdx + rcx*2], ax
jmp 0x18002df67
mov eax, dword [rsp + 0x80]
inc eax
mov dword [rsp + 0x80], eax
jmp 0x18002db32
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0x34]
movzx ecx, word [rsp + 0x54]
lea eax, [rax + rcx - 0xc]
mov dword [rsp + 0xd4], eax
mov dword [rsp + 0x40], 0
jmp 0x18002e015
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x40], eax
jge 0x18002e0f4
movsxd rax, dword [rsp + 0x40]
mov rax, qword [rsp + rax*8 + 0x248]
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
movzx eax, word [rax + 0x14]
mov ecx, dword [rsp + 0xd4]
sub ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x40]
mov dword [rsp + rcx*4 + 0x230], eax
mov dword [rsp + 0x48], 0
jmp 0x18002e06f
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x138]
movzx eax, byte [rax + 0xc]
cmp dword [rsp + 0x48], eax
jge 0x18002e0d7
movsxd rax, dword [rsp + 0x40]
mov qword [rsp + 0x1f0], rax
movsxd rcx, dword [rsp + 0x48]
mov rdx, qword [rsp + 0x138]
mov rdx, qword [rdx + rcx*8 + 0x28]
mov rcx, qword [rsp + 0x138]
mov rdi, qword [rsp + 0x138]
call qword [rdi + 0x78]
movzx eax, ax
mov rcx, qword [rsp + 0x1f0]
mov ecx, dword [rsp + rcx*4 + 0x230]
lea eax, [rax + rcx + 2]
movsxd rcx, dword [rsp + 0x40]
mov dword [rsp + rcx*4 + 0x230], eax
jmp 0x18002e065
movsxd rax, dword [rsp + 0x40]
movsxd rcx, dword [rsp + 0x40]
mov eax, dword [rsp + rax*4 + 0x2b8]
mov dword [rsp + rcx*4 + 0x218], eax
jmp 0x18002e00b
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x40], 0
jmp 0x18002e110
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x40], eax
jge 0x18002e3dc
movsxd rax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0xd4]
cmp dword [rsp + rax*4 + 0x230], ecx
jle 0x18002e261
mov eax, dword [rsp + 0x40]
inc eax
cmp eax, dword [rsp + 0x50]
jl 0x18002e191
mov eax, dword [rsp + 0x40]
add eax, 2
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 5
jle 0x18002e168
mov ecx, 0x11364
call fcn.180068890
mov dword [rsp + 0x44], eax
jmp 0x18002f2eb
mov eax, dword [rsp + 0x50]
dec eax
cdqe
mov dword [rsp + rax*4 + 0x230], 0
mov eax, dword [rsp + 0x50]
dec eax
cdqe
mov ecx, dword [rsp + 0x80]
mov dword [rsp + rax*4 + 0x218], ecx
movsxd rax, dword [rsp + 0x40]
mov eax, dword [rsp + rax*4 + 0x218]
dec eax
mov edx, eax
lea rcx, [rsp + 0x80]
call fcn.1800320d0
movzx eax, ax
add eax, 2
mov dword [rsp + 0x60], eax
movsxd rax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x60]
mov eax, dword [rsp + rax*4 + 0x230]
sub eax, ecx
movsxd rcx, dword [rsp + 0x40]
mov dword [rsp + rcx*4 + 0x230], eax
cmp dword [rsp + 0x6c], 0
jne 0x18002e21f
movsxd rax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x80]
cmp dword [rsp + rax*4 + 0x218], ecx
jge 0x18002e217
movsxd rax, dword [rsp + 0x40]
mov edx, dword [rsp + rax*4 + 0x218]
lea rcx, [rsp + 0x80]
call fcn.1800320d0
movzx eax, ax
add eax, 2
mov dword [rsp + 0x60], eax
jmp 0x18002e21f
mov dword [rsp + 0x60], 0
mov eax, dword [rsp + 0x40]
inc eax
cdqe
mov eax, dword [rsp + rax*4 + 0x230]
add eax, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x40]
inc ecx
movsxd rcx, ecx
mov dword [rsp + rcx*4 + 0x230], eax
movsxd rax, dword [rsp + 0x40]
mov eax, dword [rsp + rax*4 + 0x218]
dec eax
movsxd rcx, dword [rsp + 0x40]
mov dword [rsp + rcx*4 + 0x218], eax
jmp 0x18002e11e
movsxd rax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x80]
cmp dword [rsp + rax*4 + 0x218], ecx
jge 0x18002e364
movsxd rax, dword [rsp + 0x40]
mov edx, dword [rsp + rax*4 + 0x218]
lea rcx, [rsp + 0x80]
call fcn.1800320d0
movzx eax, ax
add eax, 2
mov dword [rsp + 0x60], eax
movsxd rax, dword [rsp + 0x40]
mov eax, dword [rsp + rax*4 + 0x230]
add eax, dword [rsp + 0x60]
cmp eax, dword [rsp + 0xd4]
jle 0x18002e2bb
jmp 0x18002e364
movsxd rax, dword [rsp + 0x40]
mov eax, dword [rsp + rax*4 + 0x230]
add eax, dword [rsp + 0x60]
movsxd rcx, dword [rsp + 0x40]
mov dword [rsp + rcx*4 + 0x230], eax
movsxd rax, dword [rsp + 0x40]
mov eax, dword [rsp + rax*4 + 0x218]
inc eax
movsxd rcx, dword [rsp + 0x40]
mov dword [rsp + rcx*4 + 0x218], eax
cmp dword [rsp + 0x6c], 0
jne 0x18002e33a
movsxd rax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x80]
cmp dword [rsp + rax*4 + 0x218], ecx
jge 0x18002e332
movsxd rax, dword [rsp + 0x40]
mov edx, dword [rsp + rax*4 + 0x218]
lea rcx, [rsp + 0x80]
call fcn.1800320d0
movzx eax, ax
add eax, 2
mov dword [rsp + 0x60], eax
jmp 0x18002e33a
mov dword [rsp + 0x60], 0
mov eax, dword [rsp + 0x40]
inc eax
cdqe
mov ecx, dword [rsp + 0x60]
mov eax, dword [rsp + rax*4 + 0x230]
sub eax, ecx
mov ecx, dword [rsp + 0x40]
inc ecx
movsxd rcx, ecx
mov dword [rsp + rcx*4 + 0x230], eax
jmp 0x18002e261
movsxd rax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x80]
cmp dword [rsp + rax*4 + 0x218], ecx
jl 0x18002e385
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x50], eax
jmp 0x18002e3d7
cmp dword [rsp + 0x40], 0
jle 0x18002e3a4
mov eax, dword [rsp + 0x40]
dec eax
cdqe
mov eax, dword [rsp + rax*4 + 0x218]
mov dword [rsp + 0x11c], eax
jmp 0x18002e3af
mov dword [rsp + 0x11c], 0
movsxd rax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x11c]
cmp dword [rsp + rax*4 + 0x218], ecx
jg 0x18002e3d7
mov ecx, 0x11385
call fcn.180068890
mov dword [rsp + 0x44], eax
jmp 0x18002f2eb
jmp 0x18002e106
mov eax, dword [rsp + 0x50]
dec eax
mov dword [rsp + 0x40], eax
jmp 0x18002e3f2
mov eax, dword [rsp + 0x40]
dec eax
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jle 0x18002e5fc
movsxd rax, dword [rsp + 0x40]
mov eax, dword [rsp + rax*4 + 0x230]
mov dword [rsp + 0xc4], eax
mov eax, dword [rsp + 0x40]
dec eax
cdqe
mov eax, dword [rsp + rax*4 + 0x230]
mov dword [rsp + 0xc8], eax
mov eax, dword [rsp + 0x40]
dec eax
cdqe
mov eax, dword [rsp + rax*4 + 0x218]
dec eax
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x70]
inc eax
sub eax, dword [rsp + 0x6c]
mov dword [rsp + 0xc0], eax
mov edx, dword [rsp + 0xc0]
lea rcx, [rsp + 0x80]
call fcn.1800320d0
mov edx, dword [rsp + 0x70]
lea rcx, [rsp + 0x80]
call fcn.1800320d0
cmp dword [rsp + 0xc4], 0
je 0x18002e4f4
cmp dword [rsp + 0x330], 0
jne 0x18002e4ef
mov eax, dword [rsp + 0x50]
dec eax
cmp dword [rsp + 0x40], eax
jne 0x18002e49e
mov dword [rsp + 0x124], 0
jmp 0x18002e4a9
mov dword [rsp + 0x124], 2
movsxd rax, dword [rsp + 0xc0]
mov rcx, qword [rsp + 0x98]
movzx eax, word [rcx + rax*2]
mov ecx, dword [rsp + 0xc4]
lea eax, [rcx + rax + 2]
movsxd rcx, dword [rsp + 0x70]
mov rdx, qword [rsp + 0x98]
movzx ecx, word [rdx + rcx*2]
add ecx, dword [rsp + 0x124]
mov edx, dword [rsp + 0xc8]
sub edx, ecx
mov ecx, edx
cmp eax, ecx
jle 0x18002e4f4
jmp 0x18002e578
movsxd rax, dword [rsp + 0xc0]
mov rcx, qword [rsp + 0x98]
movzx eax, word [rcx + rax*2]
mov ecx, dword [rsp + 0xc4]
lea eax, [rcx + rax + 2]
mov dword [rsp + 0xc4], eax
movsxd rax, dword [rsp + 0x70]
mov rcx, qword [rsp + 0x98]
movzx eax, word [rcx + rax*2]
add eax, 2
mov ecx, dword [rsp + 0xc8]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0xc8], eax
mov eax, dword [rsp + 0x40]
dec eax
cdqe
mov ecx, dword [rsp + 0x70]
mov dword [rsp + rax*4 + 0x218], ecx
mov eax, dword [rsp + 0x70]
dec eax
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0xc0]
dec eax
mov dword [rsp + 0xc0], eax
cmp dword [rsp + 0x70], 0
jge 0x18002e460
movsxd rax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0xc4]
mov dword [rsp + rax*4 + 0x230], ecx
mov eax, dword [rsp + 0x40]
dec eax
cdqe
mov ecx, dword [rsp + 0xc8]
mov dword [rsp + rax*4 + 0x230], ecx
cmp dword [rsp + 0x40], 1
jle 0x18002e5c1
mov eax, dword [rsp + 0x40]
sub eax, 2
cdqe
mov eax, dword [rsp + rax*4 + 0x218]
mov dword [rsp + 0x128], eax
jmp 0x18002e5cc
mov dword [rsp + 0x128], 0
mov eax, dword [rsp + 0x40]
dec eax
cdqe
mov ecx, dword [rsp + 0x128]
cmp dword [rsp + rax*4 + 0x218], ecx
jg 0x18002e5f7
mov ecx, 0x113af
call fcn.180068890
mov dword [rsp + 0x44], eax
jmp 0x18002f2eb
jmp 0x18002e3e8
mov eax, 8
imul rax, rax, 0
mov rax, qword [rsp + rax + 0x248]
mov ecx, 1
imul rcx, rcx, 0
mov rax, qword [rax + 0x50]
movzx eax, byte [rax + rcx]
mov dword [rsp + 0x150], eax
mov dword [rsp + 0x40], 0
jmp 0x18002e639
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x40], eax
jge 0x18002e7b2
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x40], eax
jge 0x18002e6c1
movsxd rax, dword [rsp + 0x40]
movsxd rcx, dword [rsp + 0x40]
mov rax, qword [rsp + rax*8 + 0x248]
mov qword [rsp + rcx*8 + 0x260], rax
movsxd rax, dword [rsp + 0x40]
mov rax, qword [rsp + rax*8 + 0x260]
mov qword [rsp + 0x140], rax
movsxd rax, dword [rsp + 0x40]
mov qword [rsp + rax*8 + 0x248], 0
mov rax, qword [rsp + 0x140]
mov rcx, qword [rax + 0x70]
call fcn.180084270
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x4c]
inc eax
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x44], 0
je 0x18002e6bc
jmp 0x18002f2eb
jmp 0x18002e7ad
cmp dword [rsp + 0x330], 0
je 0x18002e6d8
mov dword [rsp + 0x12c], 1
jmp 0x18002e6e3
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x12c], eax
mov byte [rsp + 0x20], 0
mov r9d, dword [rsp + 0x12c]
lea r8, [rsp + 0x74]
lea rdx, [rsp + 0x140]
mov rcx, qword [rsp + 0xb0]
call fcn.1800298d0
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
je 0x18002e71a
jmp 0x18002f2eb
mov edx, dword [rsp + 0x150]
mov rcx, qword [rsp + 0x140]
call fcn.1800d23c0
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x140]
mov qword [rsp + rax*8 + 0x260], rcx
mov eax, dword [rsp + 0x4c]
inc eax
mov dword [rsp + 0x4c], eax
movsxd rax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x80]
mov dword [rsp + rax*4 + 0x2b8], ecx
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x21]
test eax, eax
je 0x18002e7ad
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x310]
mov r9d, dword [rax + 4]
mov r8b, 5
mov rax, qword [rsp + 0x140]
mov edx, dword [rax + 4]
mov rcx, qword [rsp + 0xb0]
call fcn.180054170
cmp dword [rsp + 0x44], 0
je 0x18002e7ad
jmp 0x18002f2eb
jmp 0x18002e62f
mov dword [rsp + 0x40], 0
jmp 0x18002e7c6
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0x40], eax
jge 0x18002e87c
movsxd rax, dword [rsp + 0x40]
mov rax, qword [rsp + rax*8 + 0x260]
movsxd rcx, dword [rsp + 0x40]
mov eax, dword [rax + 4]
mov dword [rsp + rcx*4 + 0x2a0], eax
movsxd rax, dword [rsp + 0x40]
movsxd rcx, dword [rsp + 0x40]
mov eax, dword [rsp + rax*4 + 0x2a0]
mov dword [rsp + rcx*4 + 0x288], eax
movsxd rax, dword [rsp + 0x40]
mov rax, qword [rsp + rax*8 + 0x260]
mov rax, qword [rax + 0x70]
movsxd rcx, dword [rsp + 0x40]
movzx eax, word [rax + 0x34]
mov word [rsp + rcx*2 + 0x2d8], ax
mov dword [rsp + 0x48], 0
jmp 0x18002e83e
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x48], eax
jge 0x18002e877
movsxd rax, dword [rsp + 0x48]
movsxd rcx, dword [rsp + 0x40]
mov ecx, dword [rsp + rcx*4 + 0x2a0]
cmp dword [rsp + rax*4 + 0x2a0], ecx
jne 0x18002e875
mov ecx, 0x113f9
call fcn.180068890
mov dword [rsp + 0x44], eax
jmp 0x18002f2eb
jmp 0x18002e834
jmp 0x18002e7bc
mov dword [rsp + 0x40], 0
jmp 0x18002e890
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0x40], eax
jge 0x18002e98b
mov dword [rsp + 0x64], 0
mov dword [rsp + 0x48], 1
jmp 0x18002e8ba
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0x48], eax
jge 0x18002e8e8
movsxd rax, dword [rsp + 0x48]
movsxd rcx, dword [rsp + 0x64]
mov ecx, dword [rsp + rcx*4 + 0x288]
cmp dword [rsp + rax*4 + 0x288], ecx
jae 0x18002e8e6
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x64], eax
jmp 0x18002e8b0
movsxd rax, dword [rsp + 0x64]
mov eax, dword [rsp + rax*4 + 0x288]
mov dword [rsp + 0x74], eax
movsxd rax, dword [rsp + 0x64]
mov dword [rsp + rax*4 + 0x288], 0xffffffff
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x64], eax
je 0x18002e986
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x64], eax
jle 0x18002e94a
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0x3c]
mov ecx, dword [rsp + 0x64]
lea eax, [rax + rcx + 1]
movsxd rcx, dword [rsp + 0x64]
mov rcx, qword [rsp + rcx*8 + 0x260]
xor r8d, r8d
mov edx, eax
mov rcx, qword [rcx + 0x70]
call fcn.180083360
movsxd rax, dword [rsp + 0x64]
movsxd rcx, dword [rsp + 0x40]
mov rcx, qword [rsp + rcx*8 + 0x260]
movzx r8d, word [rsp + rax*2 + 0x2d8]
mov edx, dword [rsp + 0x74]
mov rcx, qword [rcx + 0x70]
call fcn.180083360
movsxd rax, dword [rsp + 0x40]
mov rax, qword [rsp + rax*8 + 0x260]
mov ecx, dword [rsp + 0x74]
mov dword [rax + 4], ecx
jmp 0x18002e886
mov eax, dword [rsp + 0x4c]
dec eax
cdqe
mov rax, qword [rsp + rax*8 + 0x260]
mov edx, dword [rax + 4]
mov rcx, qword [rsp + 0x188]
call fcn.18008a420
mov eax, dword [rsp + 0x150]
and eax, 8
test eax, eax
jne 0x18002ea4c
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0x5c], eax
je 0x18002ea4c
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x4c], eax
jle 0x18002e9e7
lea rax, [rsp + 0x260]
mov qword [rsp + 0x1c0], rax
jmp 0x18002e9f7
lea rax, [rsp + 0x248]
mov qword [rsp + 0x1c0], rax
mov eax, dword [rsp + 0x5c]
dec eax
cdqe
mov rcx, qword [rsp + 0x1c0]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x1f8], rax
mov eax, 1
imul rax, rax, 8
mov rcx, qword [rsp + 0x1f8]
mov rcx, qword [rcx + 0x50]
mov edx, dword [rsp + 0x4c]
dec edx
movsxd rdx, edx
mov rdx, qword [rsp + rdx*8 + 0x260]
mov edi, 1
imul rdi, rdi, 8
mov rdx, qword [rdx + 0x50]
mov eax, dword [rcx + rax]
mov dword [rdx + rdi], eax
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x21]
test eax, eax
je 0x18002ed25
mov eax, 8
imul rax, rax, 0
mov rax, qword [rsp + rax + 0x260]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x198], rax
mov rax, qword [rsp + 0xd8]
movzx eax, word [rax + 0x16]
mov rcx, qword [rsp + 0xd8]
movzx ecx, byte [rcx + 0xc]
add eax, ecx
mov dword [rsp + 0xe4], eax
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0x34]
mov dword [rsp + 0x180], eax
mov dword [rsp + 0xcc], 0
mov dword [rsp + 0xa4], 0
mov dword [rsp + 0x40], 0
jmp 0x18002eaea
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x80]
cmp dword [rsp + 0x40], eax
jge 0x18002ed25
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x90]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x170], rax
mov eax, dword [rsp + 0xe4]
cmp dword [rsp + 0x40], eax
jne 0x18002ebf0
mov eax, dword [rsp + 0xa4]
inc eax
mov dword [rsp + 0xa4], eax
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0xa4], eax
jge 0x18002eb5c
movsxd rax, dword [rsp + 0xa4]
mov rax, qword [rsp + rax*8 + 0x260]
mov qword [rsp + 0x1c8], rax
jmp 0x18002eb74
movsxd rax, dword [rsp + 0xa4]
mov rax, qword [rsp + rax*8 + 0x248]
mov qword [rsp + 0x1c8], rax
mov rax, qword [rsp + 0x1c8]
mov qword [rsp + 0x190], rax
cmp dword [rsp + 0x6c], 0
jne 0x18002eb98
mov dword [rsp + 0x108], 1
jmp 0x18002eba3
mov dword [rsp + 0x108], 0
mov rax, qword [rsp + 0x190]
movzx eax, word [rax + 0x16]
mov rcx, qword [rsp + 0x190]
movzx ecx, byte [rcx + 0xc]
mov edx, dword [rsp + 0x108]
add edx, eax
mov eax, edx
add ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0xe4]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0xe4], eax
mov rax, qword [rsp + 0x190]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x198], rax
movsxd rax, dword [rsp + 0xcc]
mov eax, dword [rsp + rax*4 + 0x218]
cmp dword [rsp + 0x40], eax
jne 0x18002ec39
mov eax, dword [rsp + 0xcc]
inc eax
mov dword [rsp + 0xcc], eax
movsxd rax, dword [rsp + 0xcc]
mov rax, qword [rsp + rax*8 + 0x260]
mov qword [rsp + 0xd8], rax
cmp dword [rsp + 0x6c], 0
jne 0x18002ec39
jmp 0x18002eae0
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0xa4], eax
jge 0x18002ec98
movsxd rax, dword [rsp + 0xa4]
mov rcx, qword [rsp + 0xd8]
mov eax, dword [rsp + rax*4 + 0x2a0]
cmp dword [rcx + 4], eax
jne 0x18002ec98
mov rax, qword [rsp + 0x198]
cmp qword [rsp + 0x170], rax
jb 0x18002ec98
movsxd rax, dword [rsp + 0x180]
mov rcx, qword [rsp + 0x198]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x170], rax
jb 0x18002ed20
movzx eax, word [rsp + 0x54]
test eax, eax
jne 0x18002ecd6
mov rcx, qword [rsp + 0x170]
call fcn.180079060
lea rcx, [rsp + 0x44]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0xd8]
mov r9d, dword [rcx + 4]
mov r8b, 5
mov edx, eax
mov rcx, qword [rsp + 0xb0]
call fcn.180054170
mov edx, dword [rsp + 0x40]
lea rcx, [rsp + 0x80]
call fcn.1800320d0
movzx eax, ax
mov rcx, qword [rsp + 0xd8]
movzx ecx, word [rcx + 0x10]
cmp eax, ecx
jle 0x18002ed14
lea r8, [rsp + 0x44]
mov rdx, qword [rsp + 0x170]
mov rcx, qword [rsp + 0xd8]
call fcn.1800542e0
cmp dword [rsp + 0x44], 0
je 0x18002ed20
jmp 0x18002f2eb
jmp 0x18002eae0
mov dword [rsp + 0x40], 0
jmp 0x18002ed39
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x4c]
dec eax
cmp dword [rsp + 0x40], eax
jge 0x18002ef58
movsxd rax, dword [rsp + 0x40]
mov rax, qword [rsp + rax*8 + 0x260]
mov qword [rsp + 0x148], rax
movsxd rax, dword [rsp + 0x40]
mov eax, dword [rsp + rax*4 + 0x218]
mov dword [rsp + 0x48], eax
movsxd rax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x90]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0xf8], rax
movsxd rax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x98]
movzx eax, word [rcx + rax*2]
movzx ecx, word [rsp + 0x54]
add eax, ecx
mov dword [rsp + 0xd0], eax
movsxd rax, dword [rsp + 0xe8]
mov rcx, qword [rsp + 0x320]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x1a0], rax
mov rax, qword [rsp + 0x148]
movzx eax, byte [rax + 8]
test eax, eax
jne 0x18002edfb
mov eax, 1
imul rax, rax, 8
mov rcx, qword [rsp + 0x148]
mov rcx, qword [rcx + 0x50]
mov rdx, qword [rsp + 0xf8]
mov edx, dword [rdx]
mov dword [rcx + rax], edx
jmp 0x18002eedd
cmp dword [rsp + 0x6c], 0
je 0x18002ee8e
mov eax, dword [rsp + 0x48]
dec eax
mov dword [rsp + 0x48], eax
movsxd rax, dword [rsp + 0x48]
lea r8, [rsp + 0x200]
mov rcx, qword [rsp + 0x90]
mov rdx, qword [rcx + rax*8]
mov rcx, qword [rsp + 0x148]
mov rax, qword [rsp + 0x148]
call qword [rax + 0x80]
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0xf8], rax
mov eax, 1
imul rax, rax, 4
mov rcx, qword [rsp + 0xf8]
add rcx, rax
mov rax, rcx
mov rdx, qword [rsp + 0x200]
mov rcx, rax
call fcn.18008a450
add eax, 4
mov dword [rsp + 0xd0], eax
mov qword [rsp + 0x1a0], 0
jmp 0x18002eedd
mov rax, qword [rsp + 0xf8]
sub rax, 4
mov qword [rsp + 0xf8], rax
movsxd rax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x98]
movzx eax, word [rcx + rax*2]
cmp eax, 4
jne 0x18002eedd
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0x310]
mov rax, qword [rsp + 0x310]
call qword [rax + 0x78]
movzx eax, ax
mov dword [rsp + 0xd0], eax
mov eax, dword [rsp + 0xd0]
mov ecx, dword [rsp + 0xe8]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0xe8], eax
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x68]
add ecx, eax
mov eax, ecx
lea rcx, [rsp + 0x44]
mov qword [rsp + 0x30], rcx
mov rcx, qword [rsp + 0x148]
mov ecx, dword [rcx + 4]
mov dword [rsp + 0x28], ecx
mov rcx, qword [rsp + 0x1a0]
mov qword [rsp + 0x20], rcx
mov r9d, dword [rsp + 0xd0]
mov r8, qword [rsp + 0xf8]
mov edx, eax
mov rcx, qword [rsp + 0x310]
call fcn.180046680
cmp dword [rsp + 0x44], 0
je 0x18002ef53
jmp 0x18002f2eb
jmp 0x18002ed2f
mov eax, 1
sub eax, dword [rsp + 0x4c]
mov dword [rsp + 0x40], eax
jmp 0x18002ef71
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0x40], eax
jge 0x18002f170
cmp dword [rsp + 0x40], 0
jge 0x18002ef95
mov eax, dword [rsp + 0x40]
neg eax
mov dword [rsp + 0x10c], eax
jmp 0x18002efa0
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x10c], eax
mov eax, dword [rsp + 0x10c]
mov dword [rsp + 0x58], eax
movsxd rax, dword [rsp + 0x58]
movzx eax, byte [rsp + rax + 0x2d0]
test eax, eax
je 0x18002efbe
jmp 0x18002ef67
cmp dword [rsp + 0x40], 0
jge 0x18002efea
mov eax, dword [rsp + 0x58]
dec eax
cdqe
mov ecx, dword [rsp + 0x58]
dec ecx
movsxd rcx, ecx
mov ecx, dword [rsp + rcx*4 + 0x218]
cmp dword [rsp + rax*4 + 0x2b8], ecx
jl 0x18002f16b
cmp dword [rsp + 0x58], 0
jne 0x18002f026
mov dword [rsp + 0xf0], 0
mov eax, dword [rsp + 0xf0]
mov dword [rsp + 0xec], eax
mov eax, 4
imul rax, rax, 0
mov eax, dword [rsp + rax + 0x218]
mov dword [rsp + 0x130], eax
jmp 0x18002f0e2
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x58], eax
jge 0x18002f06e
cmp dword [rsp + 0x6c], 0
jne 0x18002f044
mov dword [rsp + 0x110], 1
jmp 0x18002f04f
mov dword [rsp + 0x110], 0
mov eax, dword [rsp + 0x58]
dec eax
cdqe
mov eax, dword [rsp + rax*4 + 0x2b8]
add eax, dword [rsp + 0x110]
mov dword [rsp + 0x114], eax
jmp 0x18002f07c
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x114], eax
mov eax, dword [rsp + 0x114]
mov dword [rsp + 0xf0], eax
cmp dword [rsp + 0x6c], 0
jne 0x18002f09e
mov dword [rsp + 0x118], 1
jmp 0x18002f0a9
mov dword [rsp + 0x118], 0
mov eax, dword [rsp + 0x58]
dec eax
cdqe
mov eax, dword [rsp + rax*4 + 0x218]
add eax, dword [rsp + 0x118]
mov dword [rsp + 0xec], eax
movsxd rax, dword [rsp + 0x58]
mov ecx, dword [rsp + 0xec]
mov eax, dword [rsp + rax*4 + 0x218]
sub eax, ecx
mov dword [rsp + 0x130], eax
movsxd rax, dword [rsp + 0x58]
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x20], rcx
mov r9d, dword [rsp + 0x130]
mov r8d, dword [rsp + 0xec]
mov edx, dword [rsp + 0xf0]
mov rcx, qword [rsp + rax*8 + 0x260]
call fcn.18003ada0
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
je 0x18002f128
jmp 0x18002f2eb
movsxd rax, dword [rsp + 0x58]
movzx eax, byte [rsp + rax + 0x2d0]
inc al
movsxd rcx, dword [rsp + 0x58]
mov byte [rsp + rcx + 0x2d0], al
movsxd rax, dword [rsp + 0x58]
mov eax, dword [rsp + rax*4 + 0x230]
mov ecx, dword [rsp + 0xd4]
sub ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x58]
mov rcx, qword [rsp + rcx*8 + 0x260]
mov word [rcx + 0x14], ax
jmp 0x18002ef67
cmp dword [rsp + 0x328], 0
je 0x18002f219
mov rax, qword [rsp + 0x310]
movzx eax, word [rax + 0x16]
test eax, eax
jne 0x18002f219
mov rax, qword [rsp + 0x310]
movzx eax, byte [rax + 9]
mov ecx, 8
imul rcx, rcx, 0
mov rcx, qword [rsp + rcx + 0x260]
movzx ecx, word [rcx + 0x14]
cmp eax, ecx
jg 0x18002f219
mov eax, 8
imul rax, rax, 0
mov edx, 0xffffffff
mov rcx, qword [rsp + rax + 0x260]
call fcn.180039560
mov dword [rsp + 0x44], eax
mov eax, 8
imul rax, rax, 0
lea r8, [rsp + 0x44]
mov rdx, qword [rsp + 0x310]
mov rcx, qword [rsp + rax + 0x260]
call fcn.180038480
mov eax, 8
imul rax, rax, 0
lea rdx, [rsp + 0x44]
mov rcx, qword [rsp + rax + 0x260]
call fcn.180042370
jmp 0x18002f2b4
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x21]
test eax, eax
je 0x18002f2b4
movzx eax, word [rsp + 0x54]
test eax, eax
jne 0x18002f2b4
mov dword [rsp + 0x40], 0
jmp 0x18002f24a
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0x40], eax
jge 0x18002f2b4
movsxd rax, dword [rsp + 0x40]
mov rax, qword [rsp + rax*8 + 0x260]
mov ecx, 1
imul rcx, rcx, 8
add rcx, qword [rax + 0x50]
mov rax, rcx
mov rcx, rax
call fcn.180079060
mov dword [rsp + 0x1a8], eax
movsxd rax, dword [rsp + 0x40]
mov rax, qword [rsp + rax*8 + 0x260]
lea rcx, [rsp + 0x44]
mov qword [rsp + 0x20], rcx
mov r9d, dword [rax + 4]
mov r8b, 5
mov edx, dword [rsp + 0x1a8]
mov rcx, qword [rsp + 0xb0]
call fcn.180054170
jmp 0x18002f240
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x40], eax
jmp 0x18002f2c8
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x40], eax
jge 0x18002f2eb
movsxd rax, dword [rsp + 0x40]
lea rdx, [rsp + 0x44]
mov rcx, qword [rsp + rax*8 + 0x248]
call fcn.180042370
jmp 0x18002f2be
mov rdx, qword [rsp + 0x90]
xor ecx, ecx
call fcn.18006ace0
mov dword [rsp + 0x40], 0
jmp 0x18002f30e
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x40], eax
jge 0x18002f32c
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + rax*8 + 0x248]
call fcn.180055f10
jmp 0x18002f304
mov dword [rsp + 0x40], 0
jmp 0x18002f340
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0x40], eax
jge 0x18002f35e
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + rax*8 + 0x260]
call fcn.180055f10
jmp 0x18002f336
mov eax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x2e8]
xor rcx, rsp
call fcn.1800edae0
add rsp, 0x2f8
pop rdi
pop rsi
ret