Function at 0x18005da30
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, 0x358
mov rax, qword [0x180129050]
xor rax, rsp
mov qword [rsp + 0x340], rax
mov dword [rsp + 0x78], 0
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x44], 0
mov dword [rsp + 0x98], 0
mov dword [rsp + 0xd0], 0
lea rax, [rsp + 0x328]
mov rdi, rax
xor eax, eax
mov ecx, 5
rep stosb byte [rdi], al
mov dword [rsp + 0x200], 0
mov qword [rsp + 0x210], 0
mov rax, qword [rsp + 0x370]
mov rax, qword [rax + 0x48]
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x380], 0
jne 0x18005dae0
mov eax, 7
jmp 0x18005f9a0
mov rax, qword [rsp + 0x370]
movzx eax, byte [rax + 0xc]
mov rcx, qword [rsp + 0x370]
movzx ecx, word [rcx + 0x18]
add eax, ecx
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 2
jge 0x18005db0f
mov dword [rsp + 0x68], 0
jmp 0x18005db62
cmp dword [rsp + 0x378], 0
jne 0x18005db23
mov dword [rsp + 0x68], 0
jmp 0x18005db52
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x378], eax
jne 0x18005db45
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x390]
lea eax, [rax + rcx - 2]
mov dword [rsp + 0x68], eax
jmp 0x18005db52
mov eax, dword [rsp + 0x378]
dec eax
mov dword [rsp + 0x68], eax
mov eax, 2
sub eax, dword [rsp + 0x390]
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 + 0x370]
movzx ecx, byte [rcx + 0xc]
sub eax, ecx
mov rcx, qword [rsp + 0x370]
movzx ecx, word [rcx + 0x18]
cmp eax, ecx
jne 0x18005dbc3
mov rax, qword [rsp + 0x370]
movzx eax, byte [rax + 9]
add eax, 8
cdqe
mov rcx, qword [rsp + 0x370]
mov rcx, qword [rcx + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x170], rax
jmp 0x18005dc1d
mov rax, qword [rsp + 0x370]
movzx eax, word [rax + 0x1a]
mov ecx, dword [rsp + 0x68]
mov edx, dword [rsp + 0x40]
add edx, ecx
mov ecx, edx
mov rdx, qword [rsp + 0x370]
movzx edx, byte [rdx + 0xc]
sub ecx, edx
shl ecx, 1
movsxd rcx, ecx
mov rdx, qword [rsp + 0x370]
mov rdx, qword [rdx + 0x60]
movzx ecx, word [rdx + rcx]
ror cx, 8
movzx ecx, cx
and eax, ecx
cdqe
mov rcx, qword [rsp + 0x370]
add rax, qword [rcx + 0x50]
mov qword [rsp + 0x170], rax
mov rcx, qword [rsp + 0x170]
call fcn.18003ac80
mov dword [rsp + 0x74], eax
xor eax, eax
cmp eax, 1
je 0x18005dfc2
movsxd rax, dword [rsp + 0x40]
lea rax, [rsp + rax*8 + 0x2a0]
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8, rax
mov edx, dword [rsp + 0x74]
mov rcx, qword [rsp + 0x90]
call fcn.180054f80
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
je 0x18005dca0
mov eax, dword [rsp + 0x40]
inc eax
cdqe
shl rax, 3
mov qword [rsp + 0x1d0], rax
lea rcx, [rsp + 0x2a0]
mov rdi, rcx
xor eax, eax
mov rcx, qword [rsp + 0x1d0]
rep stosb byte [rdi], al
jmp 0x18005f929
movsxd rax, dword [rsp + 0x40]
mov rax, qword [rsp + rax*8 + 0x2a0]
cmp dword [rax + 0x14], 0
jge 0x18005dcfd
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + rax*8 + 0x2a0]
call fcn.180054650
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
je 0x18005dcfd
movsxd rax, dword [rsp + 0x40]
shl rax, 3
mov qword [rsp + 0x1b0], rax
lea rcx, [rsp + 0x2a0]
mov rdi, rcx
xor eax, eax
mov rcx, qword [rsp + 0x1b0]
rep stosb byte [rdi], al
jmp 0x18005f929
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x184], eax
mov eax, dword [rsp + 0x40]
dec eax
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x184], 0
jne 0x18005dd21
jmp 0x18005dfc2
mov rax, qword [rsp + 0x370]
movzx eax, byte [rax + 0xc]
test eax, eax
je 0x18005ddd4
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 + 0x370]
movzx ecx, word [rdx + rcx + 0x1c]
cmp eax, ecx
jne 0x18005ddd4
mov eax, 8
imul rax, rax, 0
movsxd rcx, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x370]
mov rax, qword [rdx + rax + 0x28]
mov qword [rsp + rcx*8 + 0x148], rax
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + rax*8 + 0x148]
call fcn.18003ac80
mov dword [rsp + 0x74], eax
movsxd rax, dword [rsp + 0x40]
mov rdx, qword [rsp + rax*8 + 0x148]
mov rcx, qword [rsp + 0x370]
mov rax, qword [rsp + 0x370]
call qword [rax + 0x78]
movsxd rcx, dword [rsp + 0x40]
movzx eax, ax
mov dword [rsp + rcx*4 + 0x288], eax
mov rax, qword [rsp + 0x370]
mov byte [rax + 0xc], 0
jmp 0x18005dfbd
mov rax, qword [rsp + 0x370]
movzx eax, word [rax + 0x1a]
mov ecx, dword [rsp + 0x68]
mov edx, dword [rsp + 0x40]
add edx, ecx
mov ecx, edx
mov rdx, qword [rsp + 0x370]
movzx edx, byte [rdx + 0xc]
sub ecx, edx
shl ecx, 1
movsxd rcx, ecx
mov rdx, qword [rsp + 0x370]
mov rdx, qword [rdx + 0x60]
movzx ecx, word [rdx + rcx]
ror cx, 8
movzx ecx, cx
and eax, ecx
cdqe
mov rcx, qword [rsp + 0x370]
add rax, qword [rcx + 0x50]
movsxd rcx, dword [rsp + 0x40]
mov qword [rsp + rcx*8 + 0x148], rax
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + rax*8 + 0x148]
call fcn.18003ac80
mov dword [rsp + 0x74], eax
movsxd rax, dword [rsp + 0x40]
mov rdx, qword [rsp + rax*8 + 0x148]
mov rcx, qword [rsp + 0x370]
mov rax, qword [rsp + 0x370]
call qword [rax + 0x78]
movsxd rcx, dword [rsp + 0x40]
movzx eax, ax
mov dword [rsp + rcx*4 + 0x288], eax
mov rax, qword [rsp + 0x90]
movzx eax, word [rax + 0x26]
and eax, 0xc
test eax, eax
je 0x18005df82
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x370]
mov ecx, dword [rcx + 0x50]
mov eax, dword [rsp + rax*8 + 0x148]
sub eax, ecx
mov dword [rsp + 0x110], eax
movsxd rax, dword [rsp + 0x40]
mov eax, dword [rsp + rax*4 + 0x288]
mov ecx, dword [rsp + 0x110]
add ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x90]
cmp eax, dword [rcx + 0x34]
jle 0x18005df13
mov ecx, 0x1182d
call fcn.1800f7220
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x40]
inc eax
cdqe
shl rax, 3
mov qword [rsp + 0x1d8], rax
lea rcx, [rsp + 0x2a0]
mov rdi, rcx
xor eax, eax
mov rcx, qword [rsp + 0x1d8]
rep stosb byte [rdi], al
jmp 0x18005f929
movsxd rax, dword [rsp + 0x40]
movsxd rax, dword [rsp + rax*4 + 0x288]
movsxd rcx, dword [rsp + 0x40]
movsxd rdx, dword [rsp + 0x110]
mov rdi, qword [rsp + 0x380]
add rdi, rdx
mov rdx, rdi
mov rdi, rdx
mov rsi, qword [rsp + rcx*8 + 0x148]
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x370]
mov rcx, qword [rcx + 0x50]
mov rax, qword [rsp + rax*8 + 0x148]
sub rax, rcx
mov rcx, qword [rsp + 0x380]
add rcx, rax
mov rax, rcx
movsxd rcx, dword [rsp + 0x40]
mov qword [rsp + rcx*8 + 0x148], 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 + 0x370]
movzx edx, byte [rdx + 0xc]
sub ecx, edx
lea r9, [rsp + 0x44]
mov r8d, dword [rsp + rax*4 + 0x288]
mov edx, ecx
mov rcx, qword [rsp + 0x370]
call fcn.18005be80
jmp 0x18005dc2e
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 0x30]
sub eax, 8
xor edx, edx
mov ecx, 6
div ecx
add eax, 4
mov ecx, dword [rsp + 0x5c]
imul ecx, eax
mov eax, ecx
mov dword [rsp + 0x78], eax
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 + 0x90]
mov ecx, dword [rcx + 0x30]
add rax, rcx
mov dword [rsp + 0x168], eax
movsxd rax, dword [rsp + 0x168]
mov rdx, rax
xor ecx, ecx
call fcn.180033a40
mov qword [rsp + 0x210], rax
cmp qword [rsp + 0x210], 0
jne 0x18005e04f
mov dword [rsp + 0x44], 7
jmp 0x18005f929
movsxd rax, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x210]
lea rax, [rcx + rax*8]
mov qword [rsp + 0x218], rax
movsxd rax, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x218]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x198], rax
mov eax, 8
imul rax, rax, 0
mov rax, qword [rsp + rax + 0x2a0]
mov qword [rsp + 0x208], rax
mov rax, qword [rsp + 0x208]
movzx eax, byte [rax + 8]
shl eax, 2
mov word [rsp + 0x58], ax
mov rax, qword [rsp + 0x208]
movzx eax, byte [rax + 3]
mov dword [rsp + 0x64], eax
mov dword [rsp + 0x40], 0
jmp 0x18005e0d2
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x40], eax
jge 0x18005e5ae
movsxd rax, dword [rsp + 0x40]
mov rax, qword [rsp + rax*8 + 0x2a0]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
movzx eax, word [rax + 0x18]
mov dword [rsp + 0xb8], eax
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x160], rax
mov rax, qword [rsp + 0x88]
movzx eax, word [rax + 0x1a]
mov word [rsp + 0xa0], ax
mov rax, qword [rsp + 0x88]
movzx eax, word [rax + 0x12]
mov rcx, qword [rsp + 0x160]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xc8], rax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x88]
mov rcx, qword [rcx + 0x50]
movzx eax, byte [rcx + rax]
mov ecx, 8
imul rcx, rcx, 0
mov rcx, qword [rsp + rcx + 0x2a0]
mov edx, 1
imul rdx, rdx, 0
mov rcx, qword [rcx + 0x50]
movzx ecx, byte [rcx + rdx]
cmp eax, ecx
je 0x18005e1a4
mov ecx, 0x11870
call fcn.1800f7220
mov dword [rsp + 0x44], eax
jmp 0x18005f929
mov rax, qword [rsp + 0x88]
movzx eax, byte [rax + 0xc]
mov ecx, dword [rsp + 0xb8]
add ecx, eax
mov eax, ecx
cdqe
shl rax, 1
mov qword [rsp + 0x1c8], rax
movsxd rcx, dword [rsp + 0x200]
mov rdx, qword [rsp + 0x218]
lea rcx, [rdx + rcx*2]
mov rdi, rcx
xor eax, eax
mov rcx, qword [rsp + 0x1c8]
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x88]
movzx eax, byte [rax + 0xc]
test eax, eax
jle 0x18005e333
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0x88]
movzx eax, word [rcx + rax + 0x1c]
cmp dword [rsp + 0xb8], eax
jge 0x18005e231
mov ecx, 0x11888
call fcn.1800f7220
mov dword [rsp + 0x44], eax
jmp 0x18005f929
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0x88]
movzx eax, word [rcx + rax + 0x1c]
mov dword [rsp + 0xb8], eax
mov dword [rsp + 0x4c], 0
jmp 0x18005e262
mov eax, dword [rsp + 0x4c]
inc eax
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0xb8]
cmp dword [rsp + 0x4c], eax
jge 0x18005e2d5
movzx eax, word [rsp + 0xa0]
mov rcx, qword [rsp + 0xc8]
movzx ecx, word [rcx]
ror cx, 8
movzx ecx, cx
and eax, ecx
cdqe
mov rcx, qword [rsp + 0x160]
add rcx, rax
mov rax, rcx
movsxd rcx, dword [rsp + 0x200]
mov rdx, qword [rsp + 0x210]
mov qword [rdx + rcx*8], rax
mov rax, qword [rsp + 0xc8]
add rax, 2
mov qword [rsp + 0xc8], rax
mov eax, dword [rsp + 0x200]
inc eax
mov dword [rsp + 0x200], eax
jmp 0x18005e258
mov dword [rsp + 0x48], 0
jmp 0x18005e2e9
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x88]
movzx eax, byte [rax + 0xc]
cmp dword [rsp + 0x48], eax
jge 0x18005e333
movsxd rax, dword [rsp + 0x48]
movsxd rcx, dword [rsp + 0x200]
mov rdx, qword [rsp + 0x210]
mov rdi, qword [rsp + 0x88]
mov rax, qword [rdi + rax*8 + 0x28]
mov qword [rdx + rcx*8], rax
mov eax, dword [rsp + 0x200]
inc eax
mov dword [rsp + 0x200], eax
jmp 0x18005e2df
mov rax, qword [rsp + 0x88]
movzx eax, word [rax + 0x12]
mov rcx, qword [rsp + 0x160]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x88]
movzx ecx, word [rcx + 0x18]
shl ecx, 1
movsxd rcx, ecx
add rax, rcx
mov qword [rsp + 0x1b8], rax
mov rax, qword [rsp + 0x1b8]
cmp qword [rsp + 0xc8], rax
jae 0x18005e3e1
movzx eax, word [rsp + 0xa0]
mov rcx, qword [rsp + 0xc8]
movzx ecx, word [rcx]
ror cx, 8
movzx ecx, cx
and eax, ecx
cdqe
mov rcx, qword [rsp + 0x160]
add rcx, rax
mov rax, rcx
movsxd rcx, dword [rsp + 0x200]
mov rdx, qword [rsp + 0x210]
mov qword [rdx + rcx*8], rax
mov rax, qword [rsp + 0xc8]
add rax, 2
mov qword [rsp + 0xc8], rax
mov eax, dword [rsp + 0x200]
inc eax
mov dword [rsp + 0x200], eax
jmp 0x18005e369
movsxd rax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x200]
mov dword [rsp + rax*4 + 0x2e0], ecx
mov eax, dword [rsp + 0x5c]
dec eax
cmp dword [rsp + 0x40], eax
jge 0x18005e5a9
cmp dword [rsp + 0x64], 0
jne 0x18005e5a9
movsxd rax, dword [rsp + 0x40]
movzx eax, word [rsp + rax*4 + 0x288]
mov word [rsp + 0x80], ax
movsxd rax, dword [rsp + 0x200]
mov rcx, qword [rsp + 0x218]
movzx edx, word [rsp + 0x80]
mov word [rcx + rax*2], dx
movsxd rax, dword [rsp + 0x98]
mov rcx, qword [rsp + 0x198]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x188], rax
movzx eax, word [rsp + 0x80]
mov ecx, dword [rsp + 0x98]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x98], eax
movzx eax, word [rsp + 0x80]
movsxd rcx, dword [rsp + 0x40]
mov rdi, qword [rsp + 0x188]
mov rsi, qword [rsp + rcx*8 + 0x148]
mov ecx, eax
rep movsb byte [rdi], byte [rsi]
movzx eax, word [rsp + 0x58]
mov rcx, qword [rsp + 0x188]
add rcx, rax
mov rax, rcx
movsxd rcx, dword [rsp + 0x200]
mov rdx, qword [rsp + 0x210]
mov qword [rdx + rcx*8], rax
movsxd rax, dword [rsp + 0x200]
mov rcx, qword [rsp + 0x218]
movzx eax, word [rcx + rax*2]
movzx ecx, word [rsp + 0x58]
sub eax, ecx
movsxd rcx, dword [rsp + 0x200]
mov rdx, qword [rsp + 0x218]
mov word [rdx + rcx*2], ax
mov rax, qword [rsp + 0x88]
movzx eax, byte [rax + 8]
test eax, eax
jne 0x18005e52f
mov eax, 1
imul rax, rax, 8
mov rcx, qword [rsp + 0x88]
mov rcx, qword [rcx + 0x50]
movsxd rdx, dword [rsp + 0x200]
mov rdi, qword [rsp + 0x210]
mov rdx, qword [rdi + rdx*8]
mov eax, dword [rcx + rax]
mov dword [rdx], eax
jmp 0x18005e599
movsxd rax, dword [rsp + 0x200]
mov rcx, qword [rsp + 0x218]
movzx eax, word [rcx + rax*2]
cmp eax, 4
jge 0x18005e599
movsxd rax, dword [rsp + 0x98]
mov rcx, qword [rsp + 0x198]
mov byte [rcx + rax], 0
mov eax, dword [rsp + 0x98]
inc eax
mov dword [rsp + 0x98], eax
movsxd rax, dword [rsp + 0x200]
mov rcx, qword [rsp + 0x218]
movzx eax, word [rcx + rax*2]
inc ax
movsxd rcx, dword [rsp + 0x200]
mov rdx, qword [rsp + 0x218]
mov word [rdx + rcx*2], ax
jmp 0x18005e52f
mov eax, dword [rsp + 0x200]
inc eax
mov dword [rsp + 0x200], eax
jmp 0x18005e0c8
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 0x34]
movzx ecx, word [rsp + 0x58]
lea eax, [rax + rcx - 0xc]
mov dword [rsp + 0xac], eax
mov dword [rsp + 0x48], 0
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x40], eax
jmp 0x18005e5ef
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x40], eax
jge 0x18005e771
movsxd rax, dword [rsp + 0x40]
mov rax, qword [rsp + rax*8 + 0x2a0]
mov qword [rsp + 0xf8], rax
movsxd rax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0xf8]
mov rcx, qword [rcx + 0x58]
mov qword [rsp + rax*8 + 0x220], rcx
movsxd rax, dword [rsp + 0x40]
movsxd rcx, dword [rsp + 0x48]
mov eax, dword [rsp + rax*4 + 0x2e0]
mov dword [rsp + rcx*4 + 0x250], eax
cmp dword [rsp + 0x48], 0
je 0x18005e672
movsxd rax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x48]
dec ecx
movsxd rcx, ecx
mov ecx, dword [rsp + rcx*4 + 0x250]
cmp dword [rsp + rax*4 + 0x250], ecx
jne 0x18005e672
mov eax, dword [rsp + 0x48]
dec eax
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x64], 0
jne 0x18005e6b6
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
movsxd rax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x370]
mov rcx, qword [rcx + 0x58]
mov qword [rsp + rax*8 + 0x220], rcx
movsxd rax, dword [rsp + 0x40]
mov eax, dword [rsp + rax*4 + 0x2e0]
inc eax
movsxd rcx, dword [rsp + 0x48]
mov dword [rsp + rcx*4 + 0x250], eax
mov rax, qword [rsp + 0xf8]
mov eax, dword [rax + 0x14]
mov ecx, dword [rsp + 0xac]
sub ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x40]
mov dword [rsp + rcx*4 + 0x288], eax
mov dword [rsp + 0x4c], 0
jmp 0x18005e6ec
mov eax, dword [rsp + 0x4c]
inc eax
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0xf8]
movzx eax, byte [rax + 0xc]
cmp dword [rsp + 0x4c], eax
jge 0x18005e754
movsxd rax, dword [rsp + 0x40]
mov qword [rsp + 0x1c0], rax
movsxd rcx, dword [rsp + 0x4c]
mov rdx, qword [rsp + 0xf8]
mov rdx, qword [rdx + rcx*8 + 0x28]
mov rcx, qword [rsp + 0xf8]
mov rdi, qword [rsp + 0xf8]
call qword [rdi + 0x78]
movzx eax, ax
mov rcx, qword [rsp + 0x1c0]
mov ecx, dword [rsp + rcx*4 + 0x288]
lea eax, [rax + rcx + 2]
movsxd rcx, dword [rsp + 0x40]
mov dword [rsp + rcx*4 + 0x288], eax
jmp 0x18005e6e2
movsxd rax, dword [rsp + 0x40]
movsxd rcx, dword [rsp + 0x40]
mov eax, dword [rsp + rax*4 + 0x2e0]
mov dword [rsp + rcx*4 + 0x270], eax
jmp 0x18005e5db
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x40], 0
jmp 0x18005e78d
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x40], eax
jge 0x18005ea59
movsxd rax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0xac]
cmp dword [rsp + rax*4 + 0x288], ecx
jle 0x18005e8de
mov eax, dword [rsp + 0x40]
inc eax
cmp eax, dword [rsp + 0x48]
jl 0x18005e80e
mov eax, dword [rsp + 0x40]
add eax, 2
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 5
jle 0x18005e7e5
mov ecx, 0x118ed
call fcn.1800f7220
mov dword [rsp + 0x44], eax
jmp 0x18005f929
mov eax, dword [rsp + 0x48]
dec eax
cdqe
mov dword [rsp + rax*4 + 0x288], 0
mov eax, dword [rsp + 0x48]
dec eax
cdqe
mov ecx, dword [rsp + 0x200]
mov dword [rsp + rax*4 + 0x270], ecx
movsxd rax, dword [rsp + 0x40]
mov eax, dword [rsp + rax*4 + 0x270]
dec eax
mov edx, eax
lea rcx, [rsp + 0x200]
call fcn.18005c500
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 + 0x288]
sub eax, ecx
movsxd rcx, dword [rsp + 0x40]
mov dword [rsp + rcx*4 + 0x288], eax
cmp dword [rsp + 0x64], 0
jne 0x18005e89c
movsxd rax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x200]
cmp dword [rsp + rax*4 + 0x270], ecx
jge 0x18005e894
movsxd rax, dword [rsp + 0x40]
mov edx, dword [rsp + rax*4 + 0x270]
lea rcx, [rsp + 0x200]
call fcn.18005c500
movzx eax, ax
add eax, 2
mov dword [rsp + 0x60], eax
jmp 0x18005e89c
mov dword [rsp + 0x60], 0
mov eax, dword [rsp + 0x40]
inc eax
cdqe
mov eax, dword [rsp + rax*4 + 0x288]
add eax, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x40]
inc ecx
movsxd rcx, ecx
mov dword [rsp + rcx*4 + 0x288], eax
movsxd rax, dword [rsp + 0x40]
mov eax, dword [rsp + rax*4 + 0x270]
dec eax
movsxd rcx, dword [rsp + 0x40]
mov dword [rsp + rcx*4 + 0x270], eax
jmp 0x18005e79b
movsxd rax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x200]
cmp dword [rsp + rax*4 + 0x270], ecx
jge 0x18005e9e1
movsxd rax, dword [rsp + 0x40]
mov edx, dword [rsp + rax*4 + 0x270]
lea rcx, [rsp + 0x200]
call fcn.18005c500
movzx eax, ax
add eax, 2
mov dword [rsp + 0x60], eax
movsxd rax, dword [rsp + 0x40]
mov eax, dword [rsp + rax*4 + 0x288]
add eax, dword [rsp + 0x60]
cmp eax, dword [rsp + 0xac]
jle 0x18005e938
jmp 0x18005e9e1
movsxd rax, dword [rsp + 0x40]
mov eax, dword [rsp + rax*4 + 0x288]
add eax, dword [rsp + 0x60]
movsxd rcx, dword [rsp + 0x40]
mov dword [rsp + rcx*4 + 0x288], eax
movsxd rax, dword [rsp + 0x40]
mov eax, dword [rsp + rax*4 + 0x270]
inc eax
movsxd rcx, dword [rsp + 0x40]
mov dword [rsp + rcx*4 + 0x270], eax
cmp dword [rsp + 0x64], 0
jne 0x18005e9b7
movsxd rax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x200]
cmp dword [rsp + rax*4 + 0x270], ecx
jge 0x18005e9af
movsxd rax, dword [rsp + 0x40]
mov edx, dword [rsp + rax*4 + 0x270]
lea rcx, [rsp + 0x200]
call fcn.18005c500
movzx eax, ax
add eax, 2
mov dword [rsp + 0x60], eax
jmp 0x18005e9b7
mov dword [rsp + 0x60], 0
mov eax, dword [rsp + 0x40]
inc eax
cdqe
mov ecx, dword [rsp + 0x60]
mov eax, dword [rsp + rax*4 + 0x288]
sub eax, ecx
mov ecx, dword [rsp + 0x40]
inc ecx
movsxd rcx, ecx
mov dword [rsp + rcx*4 + 0x288], eax
jmp 0x18005e8de
movsxd rax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x200]
cmp dword [rsp + rax*4 + 0x270], ecx
jl 0x18005ea02
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x48], eax
jmp 0x18005ea54
cmp dword [rsp + 0x40], 0
jle 0x18005ea21
mov eax, dword [rsp + 0x40]
dec eax
cdqe
mov eax, dword [rsp + rax*4 + 0x270]
mov dword [rsp + 0x118], eax
jmp 0x18005ea2c
mov dword [rsp + 0x118], 0
movsxd rax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x118]
cmp dword [rsp + rax*4 + 0x270], ecx
jg 0x18005ea54
mov ecx, 0x1190e
call fcn.1800f7220
mov dword [rsp + 0x44], eax
jmp 0x18005f929
jmp 0x18005e783
mov eax, dword [rsp + 0x48]
dec eax
mov dword [rsp + 0x40], eax
jmp 0x18005ea6f
mov eax, dword [rsp + 0x40]
dec eax
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jle 0x18005ec79
movsxd rax, dword [rsp + 0x40]
mov eax, dword [rsp + rax*4 + 0x288]
mov dword [rsp + 0xa4], eax
mov eax, dword [rsp + 0x40]
dec eax
cdqe
mov eax, dword [rsp + rax*4 + 0x288]
mov dword [rsp + 0xb0], eax
mov eax, dword [rsp + 0x40]
dec eax
cdqe
mov eax, dword [rsp + rax*4 + 0x270]
dec eax
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x70]
inc eax
sub eax, dword [rsp + 0x64]
mov dword [rsp + 0x9c], eax
mov edx, dword [rsp + 0x9c]
lea rcx, [rsp + 0x200]
call fcn.18005c500
mov edx, dword [rsp + 0x70]
lea rcx, [rsp + 0x200]
call fcn.18005c500
cmp dword [rsp + 0xa4], 0
je 0x18005eb71
cmp dword [rsp + 0x390], 0
jne 0x18005eb6c
mov eax, dword [rsp + 0x48]
dec eax
cmp dword [rsp + 0x40], eax
jne 0x18005eb1b
mov dword [rsp + 0x128], 0
jmp 0x18005eb26
mov dword [rsp + 0x128], 2
movsxd rax, dword [rsp + 0x9c]
mov rcx, qword [rsp + 0x218]
movzx eax, word [rcx + rax*2]
mov ecx, dword [rsp + 0xa4]
lea eax, [rcx + rax + 2]
movsxd rcx, dword [rsp + 0x70]
mov rdx, qword [rsp + 0x218]
movzx ecx, word [rdx + rcx*2]
add ecx, dword [rsp + 0x128]
mov edx, dword [rsp + 0xb0]
sub edx, ecx
mov ecx, edx
cmp eax, ecx
jle 0x18005eb71
jmp 0x18005ebf5
movsxd rax, dword [rsp + 0x9c]
mov rcx, qword [rsp + 0x218]
movzx eax, word [rcx + rax*2]
mov ecx, dword [rsp + 0xa4]
lea eax, [rcx + rax + 2]
mov dword [rsp + 0xa4], eax
movsxd rax, dword [rsp + 0x70]
mov rcx, qword [rsp + 0x218]
movzx eax, word [rcx + rax*2]
add eax, 2
mov ecx, dword [rsp + 0xb0]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0xb0], eax
mov eax, dword [rsp + 0x40]
dec eax
cdqe
mov ecx, dword [rsp + 0x70]
mov dword [rsp + rax*4 + 0x270], ecx
mov eax, dword [rsp + 0x70]
dec eax
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x9c]
dec eax
mov dword [rsp + 0x9c], eax
cmp dword [rsp + 0x70], 0
jge 0x18005eadd
movsxd rax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0xa4]
mov dword [rsp + rax*4 + 0x288], ecx
mov eax, dword [rsp + 0x40]
dec eax
cdqe
mov ecx, dword [rsp + 0xb0]
mov dword [rsp + rax*4 + 0x288], ecx
cmp dword [rsp + 0x40], 1
jle 0x18005ec3e
mov eax, dword [rsp + 0x40]
sub eax, 2
cdqe
mov eax, dword [rsp + rax*4 + 0x270]
mov dword [rsp + 0x108], eax
jmp 0x18005ec49
mov dword [rsp + 0x108], 0
mov eax, dword [rsp + 0x40]
dec eax
cdqe
mov ecx, dword [rsp + 0x108]
cmp dword [rsp + rax*4 + 0x270], ecx
jg 0x18005ec74
mov ecx, 0x11938
call fcn.1800f7220
mov dword [rsp + 0x44], eax
jmp 0x18005f929
jmp 0x18005ea65
mov eax, 8
imul rax, rax, 0
mov rax, qword [rsp + rax + 0x2a0]
mov ecx, 1
imul rcx, rcx, 0
mov rax, qword [rax + 0x50]
movzx eax, byte [rax + rcx]
mov dword [rsp + 0x114], eax
mov dword [rsp + 0x40], 0
jmp 0x18005ecb6
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x40], eax
jge 0x18005ee2f
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x40], eax
jge 0x18005ed3e
movsxd rax, dword [rsp + 0x40]
movsxd rcx, dword [rsp + 0x40]
mov rax, qword [rsp + rax*8 + 0x2a0]
mov qword [rsp + rcx*8 + 0x2b8], rax
movsxd rax, dword [rsp + 0x40]
mov rax, qword [rsp + rax*8 + 0x2b8]
mov qword [rsp + 0x130], rax
movsxd rax, dword [rsp + 0x40]
mov qword [rsp + rax*8 + 0x2a0], 0
mov rax, qword [rsp + 0x130]
mov rcx, qword [rax + 0x70]
call fcn.18004b2e0
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x44], 0
je 0x18005ed39
jmp 0x18005f929
jmp 0x18005ee2a
cmp dword [rsp + 0x390], 0
je 0x18005ed55
mov dword [rsp + 0x104], 1
jmp 0x18005ed60
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x104], eax
mov byte [rsp + 0x20], 0
mov r9d, dword [rsp + 0x104]
lea r8, [rsp + 0x74]
lea rdx, [rsp + 0x130]
mov rcx, qword [rsp + 0x90]
call fcn.18005a780
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
je 0x18005ed97
jmp 0x18005f929
mov edx, dword [rsp + 0x114]
mov rcx, qword [rsp + 0x130]
call fcn.180054be0
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x130]
mov qword [rsp + rax*8 + 0x2b8], rcx
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
movsxd rax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x200]
mov dword [rsp + rax*4 + 0x2e0], ecx
mov rax, qword [rsp + 0x90]
movzx eax, byte [rax + 0x21]
test eax, eax
je 0x18005ee2a
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x370]
mov r9d, dword [rax + 4]
mov r8b, 5
mov rax, qword [rsp + 0x130]
mov edx, dword [rax + 4]
mov rcx, qword [rsp + 0x90]
call fcn.180052640
cmp dword [rsp + 0x44], 0
je 0x18005ee2a
jmp 0x18005f929
jmp 0x18005ecac
mov dword [rsp + 0x40], 0
jmp 0x18005ee43
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x40], eax
jge 0x18005eef9
movsxd rax, dword [rsp + 0x40]
mov rax, qword [rsp + rax*8 + 0x2b8]
movsxd rcx, dword [rsp + 0x40]
mov eax, dword [rax + 4]
mov dword [rsp + rcx*4 + 0x2f8], eax
movsxd rax, dword [rsp + 0x40]
movsxd rcx, dword [rsp + 0x40]
mov eax, dword [rsp + rax*4 + 0x2f8]
mov dword [rsp + rcx*4 + 0x310], eax
movsxd rax, dword [rsp + 0x40]
mov rax, qword [rsp + rax*8 + 0x2b8]
mov rax, qword [rax + 0x70]
movsxd rcx, dword [rsp + 0x40]
movzx eax, word [rax + 0x34]
mov word [rsp + rcx*2 + 0x330], ax
mov dword [rsp + 0x4c], 0
jmp 0x18005eebb
mov eax, dword [rsp + 0x4c]
inc eax
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x4c], eax
jge 0x18005eef4
movsxd rax, dword [rsp + 0x4c]
movsxd rcx, dword [rsp + 0x40]
mov ecx, dword [rsp + rcx*4 + 0x2f8]
cmp dword [rsp + rax*4 + 0x2f8], ecx
jne 0x18005eef2
mov ecx, 0x11982
call fcn.1800f7220
mov dword [rsp + 0x44], eax
jmp 0x18005f929
jmp 0x18005eeb1
jmp 0x18005ee39
mov dword [rsp + 0x40], 0
jmp 0x18005ef0d
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x40], eax
jge 0x18005f008
mov dword [rsp + 0x6c], 0
mov dword [rsp + 0x4c], 1
jmp 0x18005ef37
mov eax, dword [rsp + 0x4c]
inc eax
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x4c], eax
jge 0x18005ef65
movsxd rax, dword [rsp + 0x4c]
movsxd rcx, dword [rsp + 0x6c]
mov ecx, dword [rsp + rcx*4 + 0x310]
cmp dword [rsp + rax*4 + 0x310], ecx
jae 0x18005ef63
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x6c], eax
jmp 0x18005ef2d
movsxd rax, dword [rsp + 0x6c]
mov eax, dword [rsp + rax*4 + 0x310]
mov dword [rsp + 0x74], eax
movsxd rax, dword [rsp + 0x6c]
mov dword [rsp + rax*4 + 0x310], 0xffffffff
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x6c], eax
je 0x18005f003
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x6c], eax
jle 0x18005efc7
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 0x3c]
mov ecx, dword [rsp + 0x6c]
lea eax, [rax + rcx + 1]
movsxd rcx, dword [rsp + 0x6c]
mov rcx, qword [rsp + rcx*8 + 0x2b8]
xor r8d, r8d
mov edx, eax
mov rcx, qword [rcx + 0x70]
call fcn.18004c290
movsxd rax, dword [rsp + 0x6c]
movsxd rcx, dword [rsp + 0x40]
mov rcx, qword [rsp + rcx*8 + 0x2b8]
movzx r8d, word [rsp + rax*2 + 0x330]
mov edx, dword [rsp + 0x74]
mov rcx, qword [rcx + 0x70]
call fcn.18004c290
movsxd rax, dword [rsp + 0x40]
mov rax, qword [rsp + rax*8 + 0x2b8]
mov ecx, dword [rsp + 0x74]
mov dword [rax + 4], ecx
jmp 0x18005ef03
mov eax, dword [rsp + 0x50]
dec eax
cdqe
mov rax, qword [rsp + rax*8 + 0x2b8]
mov edx, dword [rax + 4]
mov rcx, qword [rsp + 0x170]
call fcn.18003aca0
mov eax, dword [rsp + 0x114]
and eax, 8
test eax, eax
jne 0x18005f0c9
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x5c], eax
je 0x18005f0c9
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x50], eax
jle 0x18005f064
lea rax, [rsp + 0x2b8]
mov qword [rsp + 0x190], rax
jmp 0x18005f074
lea rax, [rsp + 0x2a0]
mov qword [rsp + 0x190], rax
mov eax, dword [rsp + 0x5c]
dec eax
cdqe
mov rcx, qword [rsp + 0x190]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x1a8], rax
mov eax, 1
imul rax, rax, 8
mov rcx, qword [rsp + 0x1a8]
mov rcx, qword [rcx + 0x50]
mov edx, dword [rsp + 0x50]
dec edx
movsxd rdx, edx
mov rdx, qword [rsp + rdx*8 + 0x2b8]
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 + 0x90]
movzx eax, byte [rax + 0x21]
test eax, eax
je 0x18005f367
mov eax, 8
imul rax, rax, 0
mov rax, qword [rsp + rax + 0x2b8]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
movzx eax, word [rax + 0x18]
mov rcx, qword [rsp + 0xe8]
movzx ecx, byte [rcx + 0xc]
add eax, ecx
mov dword [rsp + 0xc0], eax
mov dword [rsp + 0xa8], 0
mov dword [rsp + 0x7c], 0
mov dword [rsp + 0x40], 0
jmp 0x18005f14e
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x200]
cmp dword [rsp + 0x40], eax
jge 0x18005f367
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x210]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x158], rax
mov eax, dword [rsp + 0xc0]
cmp dword [rsp + 0x40], eax
jne 0x18005f236
mov eax, dword [rsp + 0x7c]
inc eax
mov dword [rsp + 0x7c], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x7c], eax
jge 0x18005f1b4
movsxd rax, dword [rsp + 0x7c]
mov rax, qword [rsp + rax*8 + 0x2b8]
mov qword [rsp + 0x1a0], rax
jmp 0x18005f1c9
movsxd rax, dword [rsp + 0x7c]
mov rax, qword [rsp + rax*8 + 0x2a0]
mov qword [rsp + 0x1a0], rax
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0xd8], rax
cmp dword [rsp + 0x64], 0
jne 0x18005f1ed
mov dword [rsp + 0x11c], 1
jmp 0x18005f1f8
mov dword [rsp + 0x11c], 0
mov rax, qword [rsp + 0xd8]
movzx eax, word [rax + 0x18]
mov rcx, qword [rsp + 0xd8]
movzx ecx, byte [rcx + 0xc]
mov edx, dword [rsp + 0x11c]
add edx, eax
mov eax, edx
add ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0xc0]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0xc0], eax
jmp 0x18005f178
movsxd rax, dword [rsp + 0xa8]
mov eax, dword [rsp + rax*4 + 0x270]
cmp dword [rsp + 0x40], eax
jne 0x18005f27f
mov eax, dword [rsp + 0xa8]
inc eax
mov dword [rsp + 0xa8], eax
movsxd rax, dword [rsp + 0xa8]
mov rax, qword [rsp + rax*8 + 0x2b8]
mov qword [rsp + 0xe8], rax
cmp dword [rsp + 0x64], 0
jne 0x18005f27f
jmp 0x18005f144
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x7c], eax
jge 0x18005f2d2
movsxd rax, dword [rsp + 0x7c]
mov rcx, qword [rsp + 0xe8]
mov eax, dword [rsp + rax*4 + 0x2f8]
cmp dword [rcx + 4], eax
jne 0x18005f2d2
mov rax, qword [rsp + 0xd8]
mov rax, qword [rax + 0x50]
cmp qword [rsp + 0x158], rax
jb 0x18005f2d2
mov rax, qword [rsp + 0xd8]
mov rax, qword [rax + 0x58]
cmp qword [rsp + 0x158], rax
jb 0x18005f362
movzx eax, word [rsp + 0x58]
test eax, eax
jne 0x18005f310
mov rcx, qword [rsp + 0x158]
call fcn.18003ac80
lea rcx, [rsp + 0x44]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0xe8]
mov r9d, dword [rcx + 4]
mov r8b, 5
mov edx, eax
mov rcx, qword [rsp + 0x90]
call fcn.180052640
mov edx, dword [rsp + 0x40]
lea rcx, [rsp + 0x200]
call fcn.18005c500
movzx eax, ax
mov rcx, qword [rsp + 0xe8]
movzx ecx, word [rcx + 0x10]
cmp eax, ecx
jle 0x18005f356
lea r9, [rsp + 0x44]
mov r8, qword [rsp + 0x158]
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xe8]
call fcn.180053030
cmp dword [rsp + 0x44], 0
je 0x18005f362
jmp 0x18005f929
jmp 0x18005f144
mov dword [rsp + 0x40], 0
jmp 0x18005f37b
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x50]
dec eax
cmp dword [rsp + 0x40], eax
jge 0x18005f59a
movsxd rax, dword [rsp + 0x40]
mov rax, qword [rsp + rax*8 + 0x2b8]
mov qword [rsp + 0x140], rax
movsxd rax, dword [rsp + 0x40]
mov eax, dword [rsp + rax*4 + 0x270]
mov dword [rsp + 0x4c], eax
movsxd rax, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0x210]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0xf0], rax
movsxd rax, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0x218]
movzx eax, word [rcx + rax*2]
movzx ecx, word [rsp + 0x58]
add eax, ecx
mov dword [rsp + 0xb4], eax
movsxd rax, dword [rsp + 0xd0]
mov rcx, qword [rsp + 0x380]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x178], rax
mov rax, qword [rsp + 0x140]
movzx eax, byte [rax + 8]
test eax, eax
jne 0x18005f43d
mov eax, 1
imul rax, rax, 8
mov rcx, qword [rsp + 0x140]
mov rcx, qword [rcx + 0x50]
mov rdx, qword [rsp + 0xf0]
mov edx, dword [rdx]
mov dword [rcx + rax], edx
jmp 0x18005f51f
cmp dword [rsp + 0x64], 0
je 0x18005f4d0
mov eax, dword [rsp + 0x4c]
dec eax
mov dword [rsp + 0x4c], eax
movsxd rax, dword [rsp + 0x4c]
lea r8, [rsp + 0x1e0]
mov rcx, qword [rsp + 0x210]
mov rdx, qword [rcx + rax*8]
mov rcx, qword [rsp + 0x140]
mov rax, qword [rsp + 0x140]
call qword [rax + 0x80]
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0xf0], rax
mov eax, 1
imul rax, rax, 4
mov rcx, qword [rsp + 0xf0]
add rcx, rax
mov rax, rcx
mov rdx, qword [rsp + 0x1e0]
mov rcx, rax
call fcn.18003a5c0
add eax, 4
mov dword [rsp + 0xb4], eax
mov qword [rsp + 0x178], 0
jmp 0x18005f51f
mov rax, qword [rsp + 0xf0]
sub rax, 4
mov qword [rsp + 0xf0], rax
movsxd rax, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0x218]
movzx eax, word [rcx + rax*2]
cmp eax, 4
jne 0x18005f51f
mov rdx, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0x370]
mov rax, qword [rsp + 0x370]
call qword [rax + 0x78]
movzx eax, ax
mov dword [rsp + 0xb4], eax
mov eax, dword [rsp + 0xb4]
mov ecx, dword [rsp + 0xd0]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0xd0], 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 + 0x140]
mov ecx, dword [rcx + 4]
mov dword [rsp + 0x28], ecx
mov rcx, qword [rsp + 0x178]
mov qword [rsp + 0x20], rcx
mov r9d, dword [rsp + 0xb4]
mov r8, qword [rsp + 0xf0]
mov edx, eax
mov rcx, qword [rsp + 0x370]
call fcn.18005c0f0
cmp dword [rsp + 0x44], 0
je 0x18005f595
jmp 0x18005f929
jmp 0x18005f371
mov eax, 1
sub eax, dword [rsp + 0x50]
mov dword [rsp + 0x40], eax
jmp 0x18005f5b3
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x40], eax
jge 0x18005f7b1
cmp dword [rsp + 0x40], 0
jge 0x18005f5d7
mov eax, dword [rsp + 0x40]
neg eax
mov dword [rsp + 0x124], eax
jmp 0x18005f5e2
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x124], eax
mov eax, dword [rsp + 0x124]
mov dword [rsp + 0x54], eax
movsxd rax, dword [rsp + 0x54]
movzx eax, byte [rsp + rax + 0x328]
test eax, eax
je 0x18005f600
jmp 0x18005f5a9
cmp dword [rsp + 0x40], 0
jge 0x18005f62c
mov eax, dword [rsp + 0x54]
dec eax
cdqe
mov ecx, dword [rsp + 0x54]
dec ecx
movsxd rcx, ecx
mov ecx, dword [rsp + rcx*4 + 0x270]
cmp dword [rsp + rax*4 + 0x2e0], ecx
jl 0x18005f7ac
cmp dword [rsp + 0x54], 0
jne 0x18005f668
mov dword [rsp + 0xe0], 0
mov eax, dword [rsp + 0xe0]
mov dword [rsp + 0xbc], eax
mov eax, 4
imul rax, rax, 0
mov eax, dword [rsp + rax + 0x270]
mov dword [rsp + 0x138], eax
jmp 0x18005f724
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x54], eax
jge 0x18005f6b0
cmp dword [rsp + 0x64], 0
jne 0x18005f686
mov dword [rsp + 0x120], 1
jmp 0x18005f691
mov dword [rsp + 0x120], 0
mov eax, dword [rsp + 0x54]
dec eax
cdqe
mov eax, dword [rsp + rax*4 + 0x2e0]
add eax, dword [rsp + 0x120]
mov dword [rsp + 0x10c], eax
jmp 0x18005f6be
mov eax, dword [rsp + 0x200]
mov dword [rsp + 0x10c], eax
mov eax, dword [rsp + 0x10c]
mov dword [rsp + 0xe0], eax
cmp dword [rsp + 0x64], 0
jne 0x18005f6e0
mov dword [rsp + 0x100], 1
jmp 0x18005f6eb
mov dword [rsp + 0x100], 0
mov eax, dword [rsp + 0x54]
dec eax
cdqe
mov eax, dword [rsp + rax*4 + 0x270]
add eax, dword [rsp + 0x100]
mov dword [rsp + 0xbc], eax
movsxd rax, dword [rsp + 0x54]
mov ecx, dword [rsp + 0xbc]
mov eax, dword [rsp + rax*4 + 0x270]
sub eax, ecx
mov dword [rsp + 0x138], eax
movsxd rax, dword [rsp + 0x54]
lea rcx, [rsp + 0x200]
mov qword [rsp + 0x20], rcx
mov r9d, dword [rsp + 0x138]
mov r8d, dword [rsp + 0xbc]
mov edx, dword [rsp + 0xe0]
mov rcx, qword [rsp + rax*8 + 0x2b8]
call fcn.18005ce90
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
je 0x18005f76a
jmp 0x18005f929
movsxd rax, dword [rsp + 0x54]
movzx eax, byte [rsp + rax + 0x328]
inc al
movsxd rcx, dword [rsp + 0x54]
mov byte [rsp + rcx + 0x328], al
movsxd rax, dword [rsp + 0x54]
mov eax, dword [rsp + rax*4 + 0x288]
mov ecx, dword [rsp + 0xac]
sub ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x54]
mov rcx, qword [rsp + rcx*8 + 0x2b8]
mov dword [rcx + 0x14], eax
jmp 0x18005f5a9
cmp dword [rsp + 0x388], 0
je 0x18005f857
mov rax, qword [rsp + 0x370]
movzx eax, word [rax + 0x18]
test eax, eax
jne 0x18005f857
mov rax, qword [rsp + 0x370]
movzx eax, byte [rax + 9]
mov ecx, 8
imul rcx, rcx, 0
mov rcx, qword [rsp + rcx + 0x2b8]
cmp eax, dword [rcx + 0x14]
jg 0x18005f857
mov eax, 8
imul rax, rax, 0
mov edx, 0xffffffff
mov rcx, qword [rsp + rax + 0x2b8]
call fcn.180053110
mov dword [rsp + 0x44], eax
mov eax, 8
imul rax, rax, 0
lea r8, [rsp + 0x44]
mov rdx, qword [rsp + 0x370]
mov rcx, qword [rsp + rax + 0x2b8]
call fcn.18005d870
mov eax, 8
imul rax, rax, 0
lea rdx, [rsp + 0x44]
mov rcx, qword [rsp + rax + 0x2b8]
call fcn.18005b6a0
jmp 0x18005f8f2
mov rax, qword [rsp + 0x90]
movzx eax, byte [rax + 0x21]
test eax, eax
je 0x18005f8f2
movzx eax, word [rsp + 0x58]
test eax, eax
jne 0x18005f8f2
mov dword [rsp + 0x40], 0
jmp 0x18005f888
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x40], eax
jge 0x18005f8f2
movsxd rax, dword [rsp + 0x40]
mov rax, qword [rsp + rax*8 + 0x2b8]
mov ecx, 1
imul rcx, rcx, 8
add rcx, qword [rax + 0x50]
mov rax, rcx
mov rcx, rax
call fcn.18003ac80
mov dword [rsp + 0x180], eax
movsxd rax, dword [rsp + 0x40]
mov rax, qword [rsp + rax*8 + 0x2b8]
lea rcx, [rsp + 0x44]
mov qword [rsp + 0x20], rcx
mov r9d, dword [rax + 4]
mov r8b, 5
mov edx, dword [rsp + 0x180]
mov rcx, qword [rsp + 0x90]
call fcn.180052640
jmp 0x18005f87e
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x40], eax
jmp 0x18005f906
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x40], eax
jge 0x18005f929
movsxd rax, dword [rsp + 0x40]
lea rdx, [rsp + 0x44]
mov rcx, qword [rsp + rax*8 + 0x2a0]
call fcn.18005b6a0
jmp 0x18005f8fc
mov rdx, qword [rsp + 0x210]
xor ecx, ecx
call fcn.180033740
mov dword [rsp + 0x40], 0
jmp 0x18005f94c
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x40], eax
jge 0x18005f96a
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + rax*8 + 0x2a0]
call fcn.1800550f0
jmp 0x18005f942
mov dword [rsp + 0x40], 0
jmp 0x18005f97e
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x40], eax
jge 0x18005f99c
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + rax*8 + 0x2b8]
call fcn.1800550f0
jmp 0x18005f974
mov eax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x340]
xor rcx, rsp
call fcn.1801077e0
add rsp, 0x358
pop rdi
pop rsi
ret