Function at 0x18005d9a0
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 0x18005da50
mov eax, 7
jmp 0x18005f910
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 0x18005da7f
mov dword [rsp + 0x68], 0
jmp 0x18005dad2
cmp dword [rsp + 0x378], 0
jne 0x18005da93
mov dword [rsp + 0x68], 0
jmp 0x18005dac2
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x378], eax
jne 0x18005dab5
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x390]
lea eax, [rax + rcx - 2]
mov dword [rsp + 0x68], eax
jmp 0x18005dac2
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 0x18005db33
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 0x18005db8d
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.18003abf0
mov dword [rsp + 0x74], eax
xor eax, eax
cmp eax, 1
je 0x18005df32
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.180054ef0
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
je 0x18005dc10
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 0x18005f899
movsxd rax, dword [rsp + 0x40]
mov rax, qword [rsp + rax*8 + 0x2a0]
cmp dword [rax + 0x14], 0
jge 0x18005dc6d
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + rax*8 + 0x2a0]
call fcn.1800545c0
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
je 0x18005dc6d
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 0x18005f899
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 0x18005dc91
jmp 0x18005df32
mov rax, qword [rsp + 0x370]
movzx eax, byte [rax + 0xc]
test eax, eax
je 0x18005dd44
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 0x18005dd44
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.18003abf0
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 0x18005df2d
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.18003abf0
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 0x18005def2
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 0x18005de83
mov ecx, 0x1182d
call fcn.1800f7190
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 0x18005f899
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.18005bdf0
jmp 0x18005db9e
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.1800339b0
mov qword [rsp + 0x210], rax
cmp qword [rsp + 0x210], 0
jne 0x18005dfbf
mov dword [rsp + 0x44], 7
jmp 0x18005f899
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 0x18005e042
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x40], eax
jge 0x18005e51e
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 0x18005e114
mov ecx, 0x11870
call fcn.1800f7190
mov dword [rsp + 0x44], eax
jmp 0x18005f899
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 0x18005e2a3
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0x88]
movzx eax, word [rcx + rax + 0x1c]
cmp dword [rsp + 0xb8], eax
jge 0x18005e1a1
mov ecx, 0x11888
call fcn.1800f7190
mov dword [rsp + 0x44], eax
jmp 0x18005f899
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 0x18005e1d2
mov eax, dword [rsp + 0x4c]
inc eax
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0xb8]
cmp dword [rsp + 0x4c], eax
jge 0x18005e245
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 0x18005e1c8
mov dword [rsp + 0x48], 0
jmp 0x18005e259
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 0x18005e2a3
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 0x18005e24f
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 0x18005e351
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 0x18005e2d9
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 0x18005e519
cmp dword [rsp + 0x64], 0
jne 0x18005e519
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 0x18005e49f
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 0x18005e509
movsxd rax, dword [rsp + 0x200]
mov rcx, qword [rsp + 0x218]
movzx eax, word [rcx + rax*2]
cmp eax, 4
jge 0x18005e509
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 0x18005e49f
mov eax, dword [rsp + 0x200]
inc eax
mov dword [rsp + 0x200], eax
jmp 0x18005e038
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 0x18005e55f
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 0x18005e6e1
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 0x18005e5e2
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 0x18005e5e2
mov eax, dword [rsp + 0x48]
dec eax
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x64], 0
jne 0x18005e626
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 0x18005e65c
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 0x18005e6c4
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 0x18005e652
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 0x18005e54b
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x40], 0
jmp 0x18005e6fd
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x40], eax
jge 0x18005e9c9
movsxd rax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0xac]
cmp dword [rsp + rax*4 + 0x288], ecx
jle 0x18005e84e
mov eax, dword [rsp + 0x40]
inc eax
cmp eax, dword [rsp + 0x48]
jl 0x18005e77e
mov eax, dword [rsp + 0x40]
add eax, 2
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 5
jle 0x18005e755
mov ecx, 0x118ed
call fcn.1800f7190
mov dword [rsp + 0x44], eax
jmp 0x18005f899
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.18005c470
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 0x18005e80c
movsxd rax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x200]
cmp dword [rsp + rax*4 + 0x270], ecx
jge 0x18005e804
movsxd rax, dword [rsp + 0x40]
mov edx, dword [rsp + rax*4 + 0x270]
lea rcx, [rsp + 0x200]
call fcn.18005c470
movzx eax, ax
add eax, 2
mov dword [rsp + 0x60], eax
jmp 0x18005e80c
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 0x18005e70b
movsxd rax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x200]
cmp dword [rsp + rax*4 + 0x270], ecx
jge 0x18005e951
movsxd rax, dword [rsp + 0x40]
mov edx, dword [rsp + rax*4 + 0x270]
lea rcx, [rsp + 0x200]
call fcn.18005c470
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 0x18005e8a8
jmp 0x18005e951
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 0x18005e927
movsxd rax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x200]
cmp dword [rsp + rax*4 + 0x270], ecx
jge 0x18005e91f
movsxd rax, dword [rsp + 0x40]
mov edx, dword [rsp + rax*4 + 0x270]
lea rcx, [rsp + 0x200]
call fcn.18005c470
movzx eax, ax
add eax, 2
mov dword [rsp + 0x60], eax
jmp 0x18005e927
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 0x18005e84e
movsxd rax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x200]
cmp dword [rsp + rax*4 + 0x270], ecx
jl 0x18005e972
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x48], eax
jmp 0x18005e9c4
cmp dword [rsp + 0x40], 0
jle 0x18005e991
mov eax, dword [rsp + 0x40]
dec eax
cdqe
mov eax, dword [rsp + rax*4 + 0x270]
mov dword [rsp + 0x118], eax
jmp 0x18005e99c
mov dword [rsp + 0x118], 0
movsxd rax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x118]
cmp dword [rsp + rax*4 + 0x270], ecx
jg 0x18005e9c4
mov ecx, 0x1190e
call fcn.1800f7190
mov dword [rsp + 0x44], eax
jmp 0x18005f899
jmp 0x18005e6f3
mov eax, dword [rsp + 0x48]
dec eax
mov dword [rsp + 0x40], eax
jmp 0x18005e9df
mov eax, dword [rsp + 0x40]
dec eax
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jle 0x18005ebe9
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.18005c470
mov edx, dword [rsp + 0x70]
lea rcx, [rsp + 0x200]
call fcn.18005c470
cmp dword [rsp + 0xa4], 0
je 0x18005eae1
cmp dword [rsp + 0x390], 0
jne 0x18005eadc
mov eax, dword [rsp + 0x48]
dec eax
cmp dword [rsp + 0x40], eax
jne 0x18005ea8b
mov dword [rsp + 0x128], 0
jmp 0x18005ea96
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 0x18005eae1
jmp 0x18005eb65
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 0x18005ea4d
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 0x18005ebae
mov eax, dword [rsp + 0x40]
sub eax, 2
cdqe
mov eax, dword [rsp + rax*4 + 0x270]
mov dword [rsp + 0x108], eax
jmp 0x18005ebb9
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 0x18005ebe4
mov ecx, 0x11938
call fcn.1800f7190
mov dword [rsp + 0x44], eax
jmp 0x18005f899
jmp 0x18005e9d5
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 0x18005ec26
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x40], eax
jge 0x18005ed9f
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x40], eax
jge 0x18005ecae
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.18004b250
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x44], 0
je 0x18005eca9
jmp 0x18005f899
jmp 0x18005ed9a
cmp dword [rsp + 0x390], 0
je 0x18005ecc5
mov dword [rsp + 0x104], 1
jmp 0x18005ecd0
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.18005a6f0
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
je 0x18005ed07
jmp 0x18005f899
mov edx, dword [rsp + 0x114]
mov rcx, qword [rsp + 0x130]
call fcn.180054b50
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 0x18005ed9a
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.1800525b0
cmp dword [rsp + 0x44], 0
je 0x18005ed9a
jmp 0x18005f899
jmp 0x18005ec1c
mov dword [rsp + 0x40], 0
jmp 0x18005edb3
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x40], eax
jge 0x18005ee69
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 0x18005ee2b
mov eax, dword [rsp + 0x4c]
inc eax
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x4c], eax
jge 0x18005ee64
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 0x18005ee62
mov ecx, 0x11982
call fcn.1800f7190
mov dword [rsp + 0x44], eax
jmp 0x18005f899
jmp 0x18005ee21
jmp 0x18005eda9
mov dword [rsp + 0x40], 0
jmp 0x18005ee7d
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x40], eax
jge 0x18005ef78
mov dword [rsp + 0x6c], 0
mov dword [rsp + 0x4c], 1
jmp 0x18005eea7
mov eax, dword [rsp + 0x4c]
inc eax
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x4c], eax
jge 0x18005eed5
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 0x18005eed3
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x6c], eax
jmp 0x18005ee9d
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 0x18005ef73
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x6c], eax
jle 0x18005ef37
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.18004c200
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.18004c200
movsxd rax, dword [rsp + 0x40]
mov rax, qword [rsp + rax*8 + 0x2b8]
mov ecx, dword [rsp + 0x74]
mov dword [rax + 4], ecx
jmp 0x18005ee73
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.18003ac10
mov eax, dword [rsp + 0x114]
and eax, 8
test eax, eax
jne 0x18005f039
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x5c], eax
je 0x18005f039
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x50], eax
jle 0x18005efd4
lea rax, [rsp + 0x2b8]
mov qword [rsp + 0x190], rax
jmp 0x18005efe4
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 0x18005f2d7
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 0x18005f0be
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x200]
cmp dword [rsp + 0x40], eax
jge 0x18005f2d7
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 0x18005f1a6
mov eax, dword [rsp + 0x7c]
inc eax
mov dword [rsp + 0x7c], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x7c], eax
jge 0x18005f124
movsxd rax, dword [rsp + 0x7c]
mov rax, qword [rsp + rax*8 + 0x2b8]
mov qword [rsp + 0x1a0], rax
jmp 0x18005f139
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 0x18005f15d
mov dword [rsp + 0x11c], 1
jmp 0x18005f168
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 0x18005f0e8
movsxd rax, dword [rsp + 0xa8]
mov eax, dword [rsp + rax*4 + 0x270]
cmp dword [rsp + 0x40], eax
jne 0x18005f1ef
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 0x18005f1ef
jmp 0x18005f0b4
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x7c], eax
jge 0x18005f242
movsxd rax, dword [rsp + 0x7c]
mov rcx, qword [rsp + 0xe8]
mov eax, dword [rsp + rax*4 + 0x2f8]
cmp dword [rcx + 4], eax
jne 0x18005f242
mov rax, qword [rsp + 0xd8]
mov rax, qword [rax + 0x50]
cmp qword [rsp + 0x158], rax
jb 0x18005f242
mov rax, qword [rsp + 0xd8]
mov rax, qword [rax + 0x58]
cmp qword [rsp + 0x158], rax
jb 0x18005f2d2
movzx eax, word [rsp + 0x58]
test eax, eax
jne 0x18005f280
mov rcx, qword [rsp + 0x158]
call fcn.18003abf0
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.1800525b0
mov edx, dword [rsp + 0x40]
lea rcx, [rsp + 0x200]
call fcn.18005c470
movzx eax, ax
mov rcx, qword [rsp + 0xe8]
movzx ecx, word [rcx + 0x10]
cmp eax, ecx
jle 0x18005f2c6
lea r9, [rsp + 0x44]
mov r8, qword [rsp + 0x158]
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xe8]
call fcn.180052fa0
cmp dword [rsp + 0x44], 0
je 0x18005f2d2
jmp 0x18005f899
jmp 0x18005f0b4
mov dword [rsp + 0x40], 0
jmp 0x18005f2eb
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 0x18005f50a
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 0x18005f3ad
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 0x18005f48f
cmp dword [rsp + 0x64], 0
je 0x18005f440
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.18003a530
add eax, 4
mov dword [rsp + 0xb4], eax
mov qword [rsp + 0x178], 0
jmp 0x18005f48f
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 0x18005f48f
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.18005c060
cmp dword [rsp + 0x44], 0
je 0x18005f505
jmp 0x18005f899
jmp 0x18005f2e1
mov eax, 1
sub eax, dword [rsp + 0x50]
mov dword [rsp + 0x40], eax
jmp 0x18005f523
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x40], eax
jge 0x18005f721
cmp dword [rsp + 0x40], 0
jge 0x18005f547
mov eax, dword [rsp + 0x40]
neg eax
mov dword [rsp + 0x124], eax
jmp 0x18005f552
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 0x18005f570
jmp 0x18005f519
cmp dword [rsp + 0x40], 0
jge 0x18005f59c
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 0x18005f71c
cmp dword [rsp + 0x54], 0
jne 0x18005f5d8
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 0x18005f694
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x54], eax
jge 0x18005f620
cmp dword [rsp + 0x64], 0
jne 0x18005f5f6
mov dword [rsp + 0x120], 1
jmp 0x18005f601
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 0x18005f62e
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 0x18005f650
mov dword [rsp + 0x100], 1
jmp 0x18005f65b
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.18005ce00
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
je 0x18005f6da
jmp 0x18005f899
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 0x18005f519
cmp dword [rsp + 0x388], 0
je 0x18005f7c7
mov rax, qword [rsp + 0x370]
movzx eax, word [rax + 0x18]
test eax, eax
jne 0x18005f7c7
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 0x18005f7c7
mov eax, 8
imul rax, rax, 0
mov edx, 0xffffffff
mov rcx, qword [rsp + rax + 0x2b8]
call fcn.180053080
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.18005d7e0
mov eax, 8
imul rax, rax, 0
lea rdx, [rsp + 0x44]
mov rcx, qword [rsp + rax + 0x2b8]
call fcn.18005b610
jmp 0x18005f862
mov rax, qword [rsp + 0x90]
movzx eax, byte [rax + 0x21]
test eax, eax
je 0x18005f862
movzx eax, word [rsp + 0x58]
test eax, eax
jne 0x18005f862
mov dword [rsp + 0x40], 0
jmp 0x18005f7f8
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x40], eax
jge 0x18005f862
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.18003abf0
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.1800525b0
jmp 0x18005f7ee
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x40], eax
jmp 0x18005f876
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x40], eax
jge 0x18005f899
movsxd rax, dword [rsp + 0x40]
lea rdx, [rsp + 0x44]
mov rcx, qword [rsp + rax*8 + 0x2a0]
call fcn.18005b610
jmp 0x18005f86c
mov rdx, qword [rsp + 0x210]
xor ecx, ecx
call fcn.1800336b0
mov dword [rsp + 0x40], 0
jmp 0x18005f8bc
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x40], eax
jge 0x18005f8da
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + rax*8 + 0x2a0]
call fcn.180055060
jmp 0x18005f8b2
mov dword [rsp + 0x40], 0
jmp 0x18005f8ee
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x40], eax
jge 0x18005f90c
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + rax*8 + 0x2b8]
call fcn.180055060
jmp 0x18005f8e4
mov eax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x340]
xor rcx, rsp
call fcn.180107750
add rsp, 0x358
pop rdi
pop rsi
ret