Function at 0x180030db0
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 [0x1803a5f20]
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 0x180030e60
mov eax, 7
jmp 0x180032c22
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 0x180030e8f
mov dword [rsp + 0x68], 0
jmp 0x180030ee2
cmp dword [rsp + 0x318], 0
jne 0x180030ea3
mov dword [rsp + 0x68], 0
jmp 0x180030ed2
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x318], eax
jne 0x180030ec5
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x330]
lea eax, [rax + rcx - 2]
mov dword [rsp + 0x68], eax
jmp 0x180030ed2
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 0x180030f43
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 0x180030f9d
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.18007c930
mov dword [rsp + 0x74], eax
xor eax, eax
cmp eax, 1
je 0x180031313
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.180047cb0
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
je 0x180031020
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 0x180032bab
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 0x180031072
jmp 0x180031313
mov rax, qword [rsp + 0x310]
movzx eax, byte [rax + 0xc]
test eax, eax
je 0x180031125
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 0x180031125
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.18007c930
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 0x18003130e
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.18007c930
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 0x1800312d3
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 0x180031264
mov ecx, 0x112b6
call fcn.18006c160
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 0x180032bab
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.18003e260
jmp 0x180030fae
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.18006e670
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0
jne 0x180031379
mov dword [rsp + 0x44], 7
jmp 0x180032bab
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 0x1800313fc
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x40], eax
jge 0x1800318a6
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 0x1800314ce
mov ecx, 0x112f7
call fcn.18006c160
mov dword [rsp + 0x44], eax
jmp 0x180032bab
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 0x18003162b
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 0x18003155a
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0xe0]
cmp dword [rsp + 0x48], eax
jge 0x1800315cd
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 0x180031550
mov dword [rsp + 0x50], 0
jmp 0x1800315e1
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 0x18003162b
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 0x1800315d7
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 0x1800316d9
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 0x180031661
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 0x1800318a1
cmp dword [rsp + 0x6c], 0
jne 0x1800318a1
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 0x180031827
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 0x180031891
movsxd rax, dword [rsp + 0x80]
mov rcx, qword [rsp + 0x98]
movzx eax, word [rcx + rax*2]
cmp eax, 4
jge 0x180031891
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 0x180031827
mov eax, dword [rsp + 0x80]
inc eax
mov dword [rsp + 0x80], eax
jmp 0x1800313f2
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 0x1800318d5
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x40], eax
jge 0x1800319b4
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 0x18003192f
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 0x180031997
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 0x180031925
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 0x1800318cb
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x40], 0
jmp 0x1800319d0
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x40], eax
jge 0x180031c9c
movsxd rax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0xd4]
cmp dword [rsp + rax*4 + 0x230], ecx
jle 0x180031b21
mov eax, dword [rsp + 0x40]
inc eax
cmp eax, dword [rsp + 0x50]
jl 0x180031a51
mov eax, dword [rsp + 0x40]
add eax, 2
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 5
jle 0x180031a28
mov ecx, 0x11364
call fcn.18006c160
mov dword [rsp + 0x44], eax
jmp 0x180032bab
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.180035990
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 0x180031adf
movsxd rax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x80]
cmp dword [rsp + rax*4 + 0x218], ecx
jge 0x180031ad7
movsxd rax, dword [rsp + 0x40]
mov edx, dword [rsp + rax*4 + 0x218]
lea rcx, [rsp + 0x80]
call fcn.180035990
movzx eax, ax
add eax, 2
mov dword [rsp + 0x60], eax
jmp 0x180031adf
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 0x1800319de
movsxd rax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x80]
cmp dword [rsp + rax*4 + 0x218], ecx
jge 0x180031c24
movsxd rax, dword [rsp + 0x40]
mov edx, dword [rsp + rax*4 + 0x218]
lea rcx, [rsp + 0x80]
call fcn.180035990
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 0x180031b7b
jmp 0x180031c24
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 0x180031bfa
movsxd rax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x80]
cmp dword [rsp + rax*4 + 0x218], ecx
jge 0x180031bf2
movsxd rax, dword [rsp + 0x40]
mov edx, dword [rsp + rax*4 + 0x218]
lea rcx, [rsp + 0x80]
call fcn.180035990
movzx eax, ax
add eax, 2
mov dword [rsp + 0x60], eax
jmp 0x180031bfa
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 0x180031b21
movsxd rax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x80]
cmp dword [rsp + rax*4 + 0x218], ecx
jl 0x180031c45
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x50], eax
jmp 0x180031c97
cmp dword [rsp + 0x40], 0
jle 0x180031c64
mov eax, dword [rsp + 0x40]
dec eax
cdqe
mov eax, dword [rsp + rax*4 + 0x218]
mov dword [rsp + 0x11c], eax
jmp 0x180031c6f
mov dword [rsp + 0x11c], 0
movsxd rax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x11c]
cmp dword [rsp + rax*4 + 0x218], ecx
jg 0x180031c97
mov ecx, 0x11385
call fcn.18006c160
mov dword [rsp + 0x44], eax
jmp 0x180032bab
jmp 0x1800319c6
mov eax, dword [rsp + 0x50]
dec eax
mov dword [rsp + 0x40], eax
jmp 0x180031cb2
mov eax, dword [rsp + 0x40]
dec eax
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jle 0x180031ebc
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.180035990
mov edx, dword [rsp + 0x70]
lea rcx, [rsp + 0x80]
call fcn.180035990
cmp dword [rsp + 0xc4], 0
je 0x180031db4
cmp dword [rsp + 0x330], 0
jne 0x180031daf
mov eax, dword [rsp + 0x50]
dec eax
cmp dword [rsp + 0x40], eax
jne 0x180031d5e
mov dword [rsp + 0x124], 0
jmp 0x180031d69
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 0x180031db4
jmp 0x180031e38
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 0x180031d20
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 0x180031e81
mov eax, dword [rsp + 0x40]
sub eax, 2
cdqe
mov eax, dword [rsp + rax*4 + 0x218]
mov dword [rsp + 0x128], eax
jmp 0x180031e8c
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 0x180031eb7
mov ecx, 0x113af
call fcn.18006c160
mov dword [rsp + 0x44], eax
jmp 0x180032bab
jmp 0x180031ca8
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 0x180031ef9
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x40], eax
jge 0x180032072
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x40], eax
jge 0x180031f81
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.180087b60
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x4c]
inc eax
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x44], 0
je 0x180031f7c
jmp 0x180032bab
jmp 0x18003206d
cmp dword [rsp + 0x330], 0
je 0x180031f98
mov dword [rsp + 0x12c], 1
jmp 0x180031fa3
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.18002d190
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
je 0x180031fda
jmp 0x180032bab
mov edx, dword [rsp + 0x150]
mov rcx, qword [rsp + 0x140]
call fcn.1800d5cb0
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 0x18003206d
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.180057a30
cmp dword [rsp + 0x44], 0
je 0x18003206d
jmp 0x180032bab
jmp 0x180031eef
mov dword [rsp + 0x40], 0
jmp 0x180032086
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0x40], eax
jge 0x18003213c
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 0x1800320fe
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x48], eax
jge 0x180032137
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 0x180032135
mov ecx, 0x113f9
call fcn.18006c160
mov dword [rsp + 0x44], eax
jmp 0x180032bab
jmp 0x1800320f4
jmp 0x18003207c
mov dword [rsp + 0x40], 0
jmp 0x180032150
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0x40], eax
jge 0x18003224b
mov dword [rsp + 0x64], 0
mov dword [rsp + 0x48], 1
jmp 0x18003217a
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0x48], eax
jge 0x1800321a8
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 0x1800321a6
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x64], eax
jmp 0x180032170
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 0x180032246
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x64], eax
jle 0x18003220a
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.180086c50
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.180086c50
movsxd rax, dword [rsp + 0x40]
mov rax, qword [rsp + rax*8 + 0x260]
mov ecx, dword [rsp + 0x74]
mov dword [rax + 4], ecx
jmp 0x180032146
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.18008dd20
mov eax, dword [rsp + 0x150]
and eax, 8
test eax, eax
jne 0x18003230c
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0x5c], eax
je 0x18003230c
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x4c], eax
jle 0x1800322a7
lea rax, [rsp + 0x260]
mov qword [rsp + 0x1c0], rax
jmp 0x1800322b7
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 0x1800325e5
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 0x1800323aa
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x80]
cmp dword [rsp + 0x40], eax
jge 0x1800325e5
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 0x1800324b0
mov eax, dword [rsp + 0xa4]
inc eax
mov dword [rsp + 0xa4], eax
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0xa4], eax
jge 0x18003241c
movsxd rax, dword [rsp + 0xa4]
mov rax, qword [rsp + rax*8 + 0x260]
mov qword [rsp + 0x1c8], rax
jmp 0x180032434
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 0x180032458
mov dword [rsp + 0x108], 1
jmp 0x180032463
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 0x1800324f9
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 0x1800324f9
jmp 0x1800323a0
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0xa4], eax
jge 0x180032558
movsxd rax, dword [rsp + 0xa4]
mov rcx, qword [rsp + 0xd8]
mov eax, dword [rsp + rax*4 + 0x2a0]
cmp dword [rcx + 4], eax
jne 0x180032558
mov rax, qword [rsp + 0x198]
cmp qword [rsp + 0x170], rax
jb 0x180032558
movsxd rax, dword [rsp + 0x180]
mov rcx, qword [rsp + 0x198]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x170], rax
jb 0x1800325e0
movzx eax, word [rsp + 0x54]
test eax, eax
jne 0x180032596
mov rcx, qword [rsp + 0x170]
call fcn.18007c930
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.180057a30
mov edx, dword [rsp + 0x40]
lea rcx, [rsp + 0x80]
call fcn.180035990
movzx eax, ax
mov rcx, qword [rsp + 0xd8]
movzx ecx, word [rcx + 0x10]
cmp eax, ecx
jle 0x1800325d4
lea r8, [rsp + 0x44]
mov rdx, qword [rsp + 0x170]
mov rcx, qword [rsp + 0xd8]
call fcn.180057ba0
cmp dword [rsp + 0x44], 0
je 0x1800325e0
jmp 0x180032bab
jmp 0x1800323a0
mov dword [rsp + 0x40], 0
jmp 0x1800325f9
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 0x180032818
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 0x1800326bb
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 0x18003279d
cmp dword [rsp + 0x6c], 0
je 0x18003274e
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.18008dd50
add eax, 4
mov dword [rsp + 0xd0], eax
mov qword [rsp + 0x1a0], 0
jmp 0x18003279d
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 0x18003279d
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.180049f40
cmp dword [rsp + 0x44], 0
je 0x180032813
jmp 0x180032bab
jmp 0x1800325ef
mov eax, 1
sub eax, dword [rsp + 0x4c]
mov dword [rsp + 0x40], eax
jmp 0x180032831
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0x40], eax
jge 0x180032a30
cmp dword [rsp + 0x40], 0
jge 0x180032855
mov eax, dword [rsp + 0x40]
neg eax
mov dword [rsp + 0x10c], eax
jmp 0x180032860
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 0x18003287e
jmp 0x180032827
cmp dword [rsp + 0x40], 0
jge 0x1800328aa
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 0x180032a2b
cmp dword [rsp + 0x58], 0
jne 0x1800328e6
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 0x1800329a2
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x58], eax
jge 0x18003292e
cmp dword [rsp + 0x6c], 0
jne 0x180032904
mov dword [rsp + 0x110], 1
jmp 0x18003290f
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 0x18003293c
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 0x18003295e
mov dword [rsp + 0x118], 1
jmp 0x180032969
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.18003e660
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
je 0x1800329e8
jmp 0x180032bab
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 0x180032827
cmp dword [rsp + 0x328], 0
je 0x180032ad9
mov rax, qword [rsp + 0x310]
movzx eax, word [rax + 0x16]
test eax, eax
jne 0x180032ad9
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 0x180032ad9
mov eax, 8
imul rax, rax, 0
mov edx, 0xffffffff
mov rcx, qword [rsp + rax + 0x260]
call fcn.18003ce20
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.18003bd40
mov eax, 8
imul rax, rax, 0
lea rdx, [rsp + 0x44]
mov rcx, qword [rsp + rax + 0x260]
call fcn.180045c30
jmp 0x180032b74
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x21]
test eax, eax
je 0x180032b74
movzx eax, word [rsp + 0x54]
test eax, eax
jne 0x180032b74
mov dword [rsp + 0x40], 0
jmp 0x180032b0a
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0x40], eax
jge 0x180032b74
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.18007c930
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.180057a30
jmp 0x180032b00
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x40], eax
jmp 0x180032b88
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x40], eax
jge 0x180032bab
movsxd rax, dword [rsp + 0x40]
lea rdx, [rsp + 0x44]
mov rcx, qword [rsp + rax*8 + 0x248]
call fcn.180045c30
jmp 0x180032b7e
mov rdx, qword [rsp + 0x90]
xor ecx, ecx
call fcn.18006e5b0
mov dword [rsp + 0x40], 0
jmp 0x180032bce
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x40], eax
jge 0x180032bec
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + rax*8 + 0x248]
call fcn.1800597d0
jmp 0x180032bc4
mov dword [rsp + 0x40], 0
jmp 0x180032c00
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0x40], eax
jge 0x180032c1e
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + rax*8 + 0x260]
call fcn.1800597d0
jmp 0x180032bf6
mov eax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x2e8]
xor rcx, rsp
call fcn.1800f1430
add rsp, 0x2f8
pop rdi
pop rsi
ret