Function at 0x180030c10
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 [0x18040b070]
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 0x180030cc0
mov eax, 7
jmp 0x180032a82
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 0x180030cef
mov dword [rsp + 0x68], 0
jmp 0x180030d42
cmp dword [rsp + 0x318], 0
jne 0x180030d03
mov dword [rsp + 0x68], 0
jmp 0x180030d32
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x318], eax
jne 0x180030d25
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x330]
lea eax, [rax + rcx - 2]
mov dword [rsp + 0x68], eax
jmp 0x180030d32
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 0x180030da3
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 0x180030dfd
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.18007c780
mov dword [rsp + 0x74], eax
xor eax, eax
cmp eax, 1
je 0x180031173
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.180047b10
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
je 0x180030e80
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 0x180032a0b
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 0x180030ed2
jmp 0x180031173
mov rax, qword [rsp + 0x310]
movzx eax, byte [rax + 0xc]
test eax, eax
je 0x180030f85
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 0x180030f85
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.18007c780
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 0x18003116e
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.18007c780
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 0x180031133
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 0x1800310c4
mov ecx, 0x112b6
call fcn.18006bfb0
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 0x180032a0b
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.18003e0c0
jmp 0x180030e0e
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.18006e4c0
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0
jne 0x1800311d9
mov dword [rsp + 0x44], 7
jmp 0x180032a0b
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 0x18003125c
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x40], eax
jge 0x180031706
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 0x18003132e
mov ecx, 0x112f7
call fcn.18006bfb0
mov dword [rsp + 0x44], eax
jmp 0x180032a0b
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 0x18003148b
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 0x1800313ba
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0xe0]
cmp dword [rsp + 0x48], eax
jge 0x18003142d
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 0x1800313b0
mov dword [rsp + 0x50], 0
jmp 0x180031441
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 0x18003148b
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 0x180031437
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 0x180031539
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 0x1800314c1
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 0x180031701
cmp dword [rsp + 0x6c], 0
jne 0x180031701
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 0x180031687
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 0x1800316f1
movsxd rax, dword [rsp + 0x80]
mov rcx, qword [rsp + 0x98]
movzx eax, word [rcx + rax*2]
cmp eax, 4
jge 0x1800316f1
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 0x180031687
mov eax, dword [rsp + 0x80]
inc eax
mov dword [rsp + 0x80], eax
jmp 0x180031252
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 0x180031735
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x40], eax
jge 0x180031814
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 0x18003178f
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 0x1800317f7
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 0x180031785
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 0x18003172b
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x40], 0
jmp 0x180031830
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x40], eax
jge 0x180031afc
movsxd rax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0xd4]
cmp dword [rsp + rax*4 + 0x230], ecx
jle 0x180031981
mov eax, dword [rsp + 0x40]
inc eax
cmp eax, dword [rsp + 0x50]
jl 0x1800318b1
mov eax, dword [rsp + 0x40]
add eax, 2
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 5
jle 0x180031888
mov ecx, 0x11364
call fcn.18006bfb0
mov dword [rsp + 0x44], eax
jmp 0x180032a0b
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.1800357f0
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 0x18003193f
movsxd rax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x80]
cmp dword [rsp + rax*4 + 0x218], ecx
jge 0x180031937
movsxd rax, dword [rsp + 0x40]
mov edx, dword [rsp + rax*4 + 0x218]
lea rcx, [rsp + 0x80]
call fcn.1800357f0
movzx eax, ax
add eax, 2
mov dword [rsp + 0x60], eax
jmp 0x18003193f
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 0x18003183e
movsxd rax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x80]
cmp dword [rsp + rax*4 + 0x218], ecx
jge 0x180031a84
movsxd rax, dword [rsp + 0x40]
mov edx, dword [rsp + rax*4 + 0x218]
lea rcx, [rsp + 0x80]
call fcn.1800357f0
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 0x1800319db
jmp 0x180031a84
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 0x180031a5a
movsxd rax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x80]
cmp dword [rsp + rax*4 + 0x218], ecx
jge 0x180031a52
movsxd rax, dword [rsp + 0x40]
mov edx, dword [rsp + rax*4 + 0x218]
lea rcx, [rsp + 0x80]
call fcn.1800357f0
movzx eax, ax
add eax, 2
mov dword [rsp + 0x60], eax
jmp 0x180031a5a
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 0x180031981
movsxd rax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x80]
cmp dword [rsp + rax*4 + 0x218], ecx
jl 0x180031aa5
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x50], eax
jmp 0x180031af7
cmp dword [rsp + 0x40], 0
jle 0x180031ac4
mov eax, dword [rsp + 0x40]
dec eax
cdqe
mov eax, dword [rsp + rax*4 + 0x218]
mov dword [rsp + 0x11c], eax
jmp 0x180031acf
mov dword [rsp + 0x11c], 0
movsxd rax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x11c]
cmp dword [rsp + rax*4 + 0x218], ecx
jg 0x180031af7
mov ecx, 0x11385
call fcn.18006bfb0
mov dword [rsp + 0x44], eax
jmp 0x180032a0b
jmp 0x180031826
mov eax, dword [rsp + 0x50]
dec eax
mov dword [rsp + 0x40], eax
jmp 0x180031b12
mov eax, dword [rsp + 0x40]
dec eax
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jle 0x180031d1c
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.1800357f0
mov edx, dword [rsp + 0x70]
lea rcx, [rsp + 0x80]
call fcn.1800357f0
cmp dword [rsp + 0xc4], 0
je 0x180031c14
cmp dword [rsp + 0x330], 0
jne 0x180031c0f
mov eax, dword [rsp + 0x50]
dec eax
cmp dword [rsp + 0x40], eax
jne 0x180031bbe
mov dword [rsp + 0x124], 0
jmp 0x180031bc9
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 0x180031c14
jmp 0x180031c98
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 0x180031b80
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 0x180031ce1
mov eax, dword [rsp + 0x40]
sub eax, 2
cdqe
mov eax, dword [rsp + rax*4 + 0x218]
mov dword [rsp + 0x128], eax
jmp 0x180031cec
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 0x180031d17
mov ecx, 0x113af
call fcn.18006bfb0
mov dword [rsp + 0x44], eax
jmp 0x180032a0b
jmp 0x180031b08
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 0x180031d59
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x40], eax
jge 0x180031ed2
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x40], eax
jge 0x180031de1
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.1800879a0
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x4c]
inc eax
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x44], 0
je 0x180031ddc
jmp 0x180032a0b
jmp 0x180031ecd
cmp dword [rsp + 0x330], 0
je 0x180031df8
mov dword [rsp + 0x12c], 1
jmp 0x180031e03
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.18002cff0
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
je 0x180031e3a
jmp 0x180032a0b
mov edx, dword [rsp + 0x150]
mov rcx, qword [rsp + 0x140]
call fcn.1800d5b30
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 0x180031ecd
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.180057890
cmp dword [rsp + 0x44], 0
je 0x180031ecd
jmp 0x180032a0b
jmp 0x180031d4f
mov dword [rsp + 0x40], 0
jmp 0x180031ee6
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0x40], eax
jge 0x180031f9c
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 0x180031f5e
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x48], eax
jge 0x180031f97
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 0x180031f95
mov ecx, 0x113f9
call fcn.18006bfb0
mov dword [rsp + 0x44], eax
jmp 0x180032a0b
jmp 0x180031f54
jmp 0x180031edc
mov dword [rsp + 0x40], 0
jmp 0x180031fb0
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0x40], eax
jge 0x1800320ab
mov dword [rsp + 0x64], 0
mov dword [rsp + 0x48], 1
jmp 0x180031fda
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0x48], eax
jge 0x180032008
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 0x180032006
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x64], eax
jmp 0x180031fd0
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 0x1800320a6
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x64], eax
jle 0x18003206a
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.180086a90
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.180086a90
movsxd rax, dword [rsp + 0x40]
mov rax, qword [rsp + rax*8 + 0x260]
mov ecx, dword [rsp + 0x74]
mov dword [rax + 4], ecx
jmp 0x180031fa6
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.18008db60
mov eax, dword [rsp + 0x150]
and eax, 8
test eax, eax
jne 0x18003216c
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0x5c], eax
je 0x18003216c
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x4c], eax
jle 0x180032107
lea rax, [rsp + 0x260]
mov qword [rsp + 0x1c0], rax
jmp 0x180032117
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 0x180032445
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 0x18003220a
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x80]
cmp dword [rsp + 0x40], eax
jge 0x180032445
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 0x180032310
mov eax, dword [rsp + 0xa4]
inc eax
mov dword [rsp + 0xa4], eax
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0xa4], eax
jge 0x18003227c
movsxd rax, dword [rsp + 0xa4]
mov rax, qword [rsp + rax*8 + 0x260]
mov qword [rsp + 0x1c8], rax
jmp 0x180032294
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 0x1800322b8
mov dword [rsp + 0x108], 1
jmp 0x1800322c3
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 0x180032359
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 0x180032359
jmp 0x180032200
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0xa4], eax
jge 0x1800323b8
movsxd rax, dword [rsp + 0xa4]
mov rcx, qword [rsp + 0xd8]
mov eax, dword [rsp + rax*4 + 0x2a0]
cmp dword [rcx + 4], eax
jne 0x1800323b8
mov rax, qword [rsp + 0x198]
cmp qword [rsp + 0x170], rax
jb 0x1800323b8
movsxd rax, dword [rsp + 0x180]
mov rcx, qword [rsp + 0x198]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x170], rax
jb 0x180032440
movzx eax, word [rsp + 0x54]
test eax, eax
jne 0x1800323f6
mov rcx, qword [rsp + 0x170]
call fcn.18007c780
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.180057890
mov edx, dword [rsp + 0x40]
lea rcx, [rsp + 0x80]
call fcn.1800357f0
movzx eax, ax
mov rcx, qword [rsp + 0xd8]
movzx ecx, word [rcx + 0x10]
cmp eax, ecx
jle 0x180032434
lea r8, [rsp + 0x44]
mov rdx, qword [rsp + 0x170]
mov rcx, qword [rsp + 0xd8]
call fcn.180057a00
cmp dword [rsp + 0x44], 0
je 0x180032440
jmp 0x180032a0b
jmp 0x180032200
mov dword [rsp + 0x40], 0
jmp 0x180032459
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 0x180032678
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 0x18003251b
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 0x1800325fd
cmp dword [rsp + 0x6c], 0
je 0x1800325ae
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.18008db90
add eax, 4
mov dword [rsp + 0xd0], eax
mov qword [rsp + 0x1a0], 0
jmp 0x1800325fd
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 0x1800325fd
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.180049da0
cmp dword [rsp + 0x44], 0
je 0x180032673
jmp 0x180032a0b
jmp 0x18003244f
mov eax, 1
sub eax, dword [rsp + 0x4c]
mov dword [rsp + 0x40], eax
jmp 0x180032691
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0x40], eax
jge 0x180032890
cmp dword [rsp + 0x40], 0
jge 0x1800326b5
mov eax, dword [rsp + 0x40]
neg eax
mov dword [rsp + 0x10c], eax
jmp 0x1800326c0
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 0x1800326de
jmp 0x180032687
cmp dword [rsp + 0x40], 0
jge 0x18003270a
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 0x18003288b
cmp dword [rsp + 0x58], 0
jne 0x180032746
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 0x180032802
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x58], eax
jge 0x18003278e
cmp dword [rsp + 0x6c], 0
jne 0x180032764
mov dword [rsp + 0x110], 1
jmp 0x18003276f
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 0x18003279c
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 0x1800327be
mov dword [rsp + 0x118], 1
jmp 0x1800327c9
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.18003e4c0
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
je 0x180032848
jmp 0x180032a0b
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 0x180032687
cmp dword [rsp + 0x328], 0
je 0x180032939
mov rax, qword [rsp + 0x310]
movzx eax, word [rax + 0x16]
test eax, eax
jne 0x180032939
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 0x180032939
mov eax, 8
imul rax, rax, 0
mov edx, 0xffffffff
mov rcx, qword [rsp + rax + 0x260]
call fcn.18003cc80
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.18003bba0
mov eax, 8
imul rax, rax, 0
lea rdx, [rsp + 0x44]
mov rcx, qword [rsp + rax + 0x260]
call fcn.180045a90
jmp 0x1800329d4
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x21]
test eax, eax
je 0x1800329d4
movzx eax, word [rsp + 0x54]
test eax, eax
jne 0x1800329d4
mov dword [rsp + 0x40], 0
jmp 0x18003296a
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0x40], eax
jge 0x1800329d4
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.18007c780
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.180057890
jmp 0x180032960
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x40], eax
jmp 0x1800329e8
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x40], eax
jge 0x180032a0b
movsxd rax, dword [rsp + 0x40]
lea rdx, [rsp + 0x44]
mov rcx, qword [rsp + rax*8 + 0x248]
call fcn.180045a90
jmp 0x1800329de
mov rdx, qword [rsp + 0x90]
xor ecx, ecx
call fcn.18006e400
mov dword [rsp + 0x40], 0
jmp 0x180032a2e
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x40], eax
jge 0x180032a4c
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + rax*8 + 0x248]
call fcn.180059630
jmp 0x180032a24
mov dword [rsp + 0x40], 0
jmp 0x180032a60
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0x40], eax
jge 0x180032a7e
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + rax*8 + 0x260]
call fcn.180059630
jmp 0x180032a56
mov eax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x2e8]
xor rcx, rsp
call fcn.180133f80
add rsp, 0x2f8
pop rdi
pop rsi
ret