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

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x2e0
mov dword [rbp - 8], 0
mov dword [rbp - 0x14], 0
mov dword [rbp - 0x18], 0
mov dword [rbp - 0x1c], 0
mov dword [rbp - 0x20], 0
mov dword [rbp - 0x24], 0
mov dword [rbp - 0x2c], 0
mov dword [rbp - 0x30], 0
cmp dword [rbp + 0x10], 0x4fc
jle 0x58ef3e
mov eax, 0x4fc
jmp 0x58ef41
mov eax, dword [rbp + 0x10]
mov dword [rbp - 0x54], eax
mov rax, qword [rbp + 0x30]
mov dword [rax + 0xfd0], 0
mov eax, dword [rbp + 0x20]
imul eax, eax, 0x190
mov rbx, qword [rbp + 0x30]
cmp eax, dword [rbx + 0x80]
je 0x58efd2
mov eax, dword [rbp + 0x20]
imul eax, eax, 0xc8
mov rbx, qword [rbp + 0x30]
cmp eax, dword [rbx + 0x80]
je 0x58efd2
mov eax, dword [rbp + 0x20]
imul eax, eax, 0x64
mov rbx, qword [rbp + 0x30]
cmp eax, dword [rbx + 0x80]
je 0x58efd2
mov eax, dword [rbp + 0x20]
imul eax, eax, 0x32
mov rbx, qword [rbp + 0x30]
cmp eax, dword [rbx + 0x80]
je 0x58efd2
mov eax, dword [rbp + 0x20]
imul eax, eax, 0x19
mov rbx, qword [rbp + 0x30]
cmp eax, dword [rbx + 0x80]
je 0x58efd2
mov eax, dword [rbp + 0x20]
imul eax, eax, 0x32
mov rbx, qword [rbp + 0x30]
mov ebx, dword [rbx + 0x80]
lea ebx, [rbx + rbx*2]
cmp eax, ebx
je 0x58efd2
mov eax, 0xffffffff
leave
ret 0x28
cmp dword [rbp - 0x54], 0
jg 0x58efe1
mov eax, 0xffffffff
leave
ret 0x28
mov rax, qword [rbp + 0x30]
mov rbx, qword [rbp + 0x30]
movsxd rax, dword [rax + 4]
lea rax, [rbx + rax]
mov qword [rbp - 0x60], rax
mov rax, qword [rbp + 0x30]
mov rbx, qword [rbp + 0x30]
movsxd rax, dword [rax]
lea rax, [rbx + rax]
mov qword [rbp - 0x68], rax
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0x5c], 0x803
jne 0x58f01e
mov dword [rbp - 0x44], 0
jmp 0x58f028
mov rax, qword [rbp + 0x30]
mov eax, dword [rax + 0x64]
mov dword [rbp - 0x44], eax
mov rax, qword [rbp + 0x30]
push rax
push qword [rbp + 0x30]
push qword [rbp + 0x20]
push qword [rbp - 0x54]
lea rax, [rax + 0x8c]
mov qword [rsp + 0x20], rax
call fcn.005db5cd
pop rcx
mov rbx, qword [rsp]
mov dword [rbx], eax
mov rax, qword [rbp + 0x30]
mov eax, dword [rax + 0x80]
cdq
idiv dword [rbp + 0x20]
mov dword [rbp - 0x48], eax
cmp dword [rbp - 0x54], 3
jl 0x58f0a7
mov rax, qword [rbp + 0x30]
mov ebx, dword [rbp - 0x48]
lea ebx, [rbx + rbx*2]
shl ebx, 3
cmp ebx, dword [rax + 0x8c]
jg 0x58f0a7
cmp dword [rbp - 0x48], 0x32
jge 0x58f199
mov eax, dword [rbp - 0x54]
imul eax, dword [rbp - 0x48]
cmp eax, 0x12c
jl 0x58f0a7
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0x8c], 0x960
jge 0x58f199
mov rax, qword [rbp + 0x30]
mov eax, dword [rax + 0xb4]
mov dword [rbp - 0xb4], eax
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0xc4], 0
jne 0x58f0cb
mov eax, 0x44d
jmp 0x58f0d5
mov rax, qword [rbp + 0x30]
mov eax, dword [rax + 0xc4]
mov dword [rbp - 0xb8], eax
cmp dword [rbp - 0xb4], 0
jne 0x58f0ee
mov dword [rbp - 0xb4], 0x3e8
cmp dword [rbp - 0x48], 0x64
jle 0x58f0fe
mov dword [rbp - 0xb4], 0x3ea
cmp dword [rbp - 0x48], 0x32
jge 0x58f10e
mov dword [rbp - 0xb4], 0x3e8
cmp dword [rbp - 0xb4], 0x3e8
jne 0x58f132
cmp dword [rbp - 0xb8], 0x44f
jle 0x58f132
mov dword [rbp - 0xb8], 0x44f
jmp 0x58f16c
cmp dword [rbp - 0xb4], 0x3ea
jne 0x58f156
cmp dword [rbp - 0xb8], 0x44e
jne 0x58f156
mov dword [rbp - 0xb8], 0x44d
jmp 0x58f16c
cmp dword [rbp - 0xb8], 0x450
jg 0x58f16c
mov dword [rbp - 0xb8], 0x450
push qword [rbp - 0xb4]
push qword [rbp - 0x48]
push qword [rbp - 0xb8]
mov rax, qword [rbp + 0x30]
push qword [rax + 0x98]
call fcn.005ea079
mov rbx, qword [rbp + 0x18]
mov byte [rbx], al
mov eax, 1
leave
ret 0x28
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0x84], 0
jne 0x58f214
mov rax, qword [rbp + 0x30]
mov ebx, dword [rbp - 0x48]
shl ebx, 2
add ebx, dword [rax + 0x8c]
mov eax, dword [rbp - 0x48]
shl eax, 3
mov dword [rsp], eax
mov eax, ebx
cdq
idiv dword [rsp]
cmp eax, dword [rbp - 0x54]
jge 0x58f1eb
mov rax, qword [rbp + 0x30]
mov ebx, dword [rbp - 0x48]
shl ebx, 2
add ebx, dword [rax + 0x8c]
mov eax, dword [rbp - 0x48]
shl eax, 3
mov dword [rsp], eax
mov eax, ebx
cdq
idiv dword [rsp]
jmp 0x58f1ee
mov eax, dword [rbp - 0x54]
mov dword [rbp - 0xb4], eax
mov rax, qword [rbp + 0x30]
mov ebx, dword [rbp - 0x48]
shl ebx, 3
imul ebx, dword [rbp - 0xb4]
mov dword [rax + 0x8c], ebx
mov eax, dword [rbp - 0xb4]
mov dword [rbp - 0x54], eax
mov eax, dword [rbp - 0x48]
imul eax, dword [rbp - 0x54]
shl eax, 3
mov dword [rbp - 0x4c], eax
mov rax, qword [rbp + 0x30]
mov rbx, qword [rbp + 0x30]
mov eax, dword [rax + 0x8c]
mov dword [rsp], eax
mov eax, dword [rbx + 0x80]
cdq
idiv dword [rbp + 0x20]
sub eax, 0x32
imul eax, eax, 0x3c
mov ebx, dword [rsp]
sub ebx, eax
mov dword [rbp - 0x40], ebx
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0x6c], 0xbb9
jne 0x58f260
mov dword [rbp - 0x3c], 0x7f
jmp 0x58f2b2
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0x6c], 0xbba
jne 0x58f276
mov dword [rbp - 0x3c], 0
jmp 0x58f2b2
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0x7c], 0
jl 0x58f295
mov rax, qword [rbp + 0x30]
mov eax, dword [rax + 0x7c]
imul eax, eax, 0x147
sar eax, 8
mov dword [rbp - 0x3c], eax
jmp 0x58f2b2
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0x5c], 0x800
jne 0x58f2ab
mov dword [rbp - 0x3c], 0x73
jmp 0x58f2b2
mov dword [rbp - 0x3c], 0x30
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0x68], 0xfffffc18
je 0x58f2df
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0x60], 2
jne 0x58f2df
mov rax, qword [rbp + 0x30]
mov rbx, qword [rbp + 0x30]
mov ebx, dword [rbx + 0x68]
mov dword [rax + 0x98], ebx
jmp 0x58f366
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0x60], 2
jne 0x58f355
mov eax, dword [rbp - 0x3c]
imul eax, dword [rbp - 0x3c]
imul eax, eax, 0xffffd8f0
sar eax, 0xe
add eax, 0x8ca0
mov dword [rbp - 0xb4], eax
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0x98], 2
jne 0x58f31d
sub dword [rbp - 0xb4], 0xfa0
jmp 0x58f327
add dword [rbp - 0xb4], 0xfa0
mov rax, qword [rbp + 0x30]
mov ebx, dword [rbp - 0x40]
cmp ebx, dword [rbp - 0xb4]
lea rax, [rax + 0x98]
mov qword [rsp], rax
jle 0x58f348
mov eax, 2
jmp 0x58f34d
mov eax, 1
mov rbx, qword [rsp]
mov dword [rbx], eax
jmp 0x58f366
mov rax, qword [rbp + 0x30]
mov rbx, qword [rbp + 0x30]
mov ebx, dword [rbx + 0x60]
mov dword [rax + 0x98], ebx
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0x5c], 0x803
jne 0x58f386
mov rax, qword [rbp + 0x30]
mov dword [rax + 0xb4], 0x3ea
jmp 0x58f4d3
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0x78], 0xfffffc18
jne 0x58f4c2
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0x60], 2
sete al
test al, al
je 0x58f3b1
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0x68], 1
setne al
movzx eax, al
mov dword [rbp - 0xb4], eax
mov eax, dword [rbp - 0xb4]
cmp eax, 2
jae 0x591318
mov eax, dword [rax*8 + 0x73aba0]
mov dword [rbp - 0xb8], eax
mov eax, dword [rbp - 0xb4]
cmp eax, 2
jae 0x59131a
mov eax, dword [rax*8 + 0x73aba4]
mov dword [rbp - 0xbc], eax
mov eax, dword [rbp - 0x3c]
imul eax, dword [rbp - 0x3c]
mov ebx, dword [rbp - 0xb8]
sub ebx, dword [rbp - 0xbc]
imul eax, ebx
sar eax, 0xe
add eax, dword [rbp - 0xbc]
mov dword [rbp - 0xc0], eax
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0xb8], 0x3ea
jne 0x58f433
sub dword [rbp - 0xc0], 0xfa0
jmp 0x58f44a
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0xb8], 0
jle 0x58f44a
add dword [rbp - 0xc0], 0xfa0
mov rax, qword [rbp + 0x30]
mov ebx, dword [rbp - 0x40]
cmp ebx, dword [rbp - 0xc0]
lea rax, [rax + 0xb4]
mov qword [rsp], rax
jl 0x58f46b
mov eax, 0x3ea
jmp 0x58f470
mov eax, 0x3e8
mov rbx, qword [rsp]
mov dword [rbx], eax
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0x30], 0
je 0x58f4a2
mov rax, qword [rbp + 0x30]
mov ebx, pe_nt_image_headers64
sub ebx, dword [rbp - 0x3c]
sar ebx, 4
cmp ebx, dword [rax + 0x28]
jge 0x58f4a2
mov rax, qword [rbp + 0x30]
mov dword [rax + 0xb4], 0x3e8
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0x34], 0
je 0x58f4c0
cmp dword [rbp - 0x3c], 0x64
jle 0x58f4c0
mov rax, qword [rbp + 0x30]
mov dword [rax + 0xb4], 0x3e8
jmp 0x58f4d3
mov rax, qword [rbp + 0x30]
mov rbx, qword [rbp + 0x30]
mov ebx, dword [rbx + 0x78]
mov dword [rax + 0xb4], ebx
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0xb4], 0x3ea
je 0x58f508
mov rax, qword [rbp + 0x30]
mov eax, dword [rax + 0x80]
mov ebx, 0x64
cdq
idiv ebx
cmp eax, dword [rbp + 0x20]
jle 0x58f508
mov rax, qword [rbp + 0x30]
mov dword [rax + 0xb4], 0x3ea
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0x98], 1
jne 0x58f567
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0xbc], 2
jne 0x58f567
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0x40], 0
jne 0x58f567
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0xb4], 0x3ea
je 0x58f567
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0xb8], 0x3ea
je 0x58f567
mov rax, qword [rbp + 0x30]
mov dword [rax + 0x40], 1
mov rax, qword [rbp + 0x30]
mov dword [rax + 0x98], 2
jmp 0x58f572
mov rax, qword [rbp + 0x30]
mov dword [rax + 0x40], 0
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0xb8], 0
jle 0x58f622
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0xb4], 0x3ea
je 0x58f5a3
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0xb8], 0x3ea
je 0x58f5c3
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0xb4], 0x3ea
jne 0x58f622
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0xb8], 0x3ea
je 0x58f622
mov dword [rbp - 0x1c], 1
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0xb4], 0x3ea
setne al
movzx eax, al
mov dword [rbp - 0x24], eax
cmp dword [rbp - 0x24], 0
jne 0x58f622
mov rax, qword [rbp + 0x30]
mov eax, dword [rax + 0x80]
mov ebx, 0x64
cdq
idiv ebx
cmp eax, dword [rbp + 0x20]
jg 0x58f61b
mov rax, qword [rbp + 0x30]
mov rbx, qword [rbp + 0x30]
mov ebx, dword [rbx + 0xb8]
mov dword [rax + 0xb4], ebx
mov dword [rbp - 0x2c], 1
jmp 0x58f622
mov dword [rbp - 0x1c], 0
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0xc8], 0
je 0x58f64b
mov dword [rbp - 0x1c], 1
mov dword [rbp - 0x24], 1
mov rax, qword [rbp + 0x30]
mov dword [rax + 0xc8], 0
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0xb4], 0x3ea
je 0x58f682
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0xb8], 0x3ea
jne 0x58f682
push qword [rbp - 0x60]
lea rax, [rbp - 0x108]
push rax
call fcn.005dbb36
mov dword [rbp - 0x14], 1
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0xb4], 0x3ea
je 0x58f6ad
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0xcc], 0
jne 0x58f6ad
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0x4c], 0
je 0x58f8c0
mov dword [rbp - 0xb4], 0x451
mov eax, dword [rbp - 0x40]
mov dword [rbp - 0xb8], eax
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0xb4], 0x3ea
je 0x58f706
mov rax, qword [rbp + 0x30]
mov eax, dword [rax + 0x2c]
add eax, 0x2d
imul eax, dword [rbp - 0xb8]
mov ebx, 0x32
cdq
idiv ebx
mov dword [rbp - 0xb8], eax
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0x84], 0
jne 0x58f706
sub dword [rbp - 0xb8], 0x3e8
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0x60], 2
jne 0x58f732
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0x68], 1
je 0x58f732
mov qword [rbp - 0xc0], 0x73abb0
mov qword [rbp - 0xc8], 0x73abd0
jmp 0x58f748
mov qword [rbp - 0xc0], 0x73abf0
mov qword [rbp - 0xc8], 0x73ac10
xor eax, eax
mov qword [rbp - 0xe8], rax
mov qword [rbp - 0xe0], rax
mov qword [rbp - 0xd8], rax
mov qword [rbp - 0xd0], rax
mov dword [rbp - 4], 0
jmp 0x58f7bd
mov eax, dword [rbp - 4]
cmp eax, 8
jae 0x59131c
mov rbx, qword [rbp - 0xc8]
movsxd rsi, dword [rbp - 4]
mov edi, dword [rbp - 0x3c]
imul edi, dword [rbp - 0x3c]
mov rcx, qword [rbp - 0xc0]
movsxd rdx, dword [rbp - 4]
mov r8, qword [rbp - 0xc8]
movsxd r9, dword [rbp - 4]
mov ecx, dword [rcx + rdx*4]
sub ecx, dword [r8 + r9*4]
imul ecx, edi
sar ecx, 0xe
add ecx, dword [rbx + rsi*4]
mov dword [rbp + rax*4 - 0xe8], ecx
inc dword [rbp - 4]
cmp dword [rbp - 4], 8
jl 0x58f76f
mov eax, dword [rbp - 0xb4]
sub eax, 0x44e
add eax, eax
cmp eax, 8
jae 0x59131e
mov eax, dword [rbp + rax*4 - 0xe8]
mov dword [rbp - 0xec], eax
mov eax, dword [rbp - 0xb4]
sub eax, 0x44e
add eax, eax
inc eax
cmp eax, 8
jae 0x591320
mov eax, dword [rbp + rax*4 - 0xe8]
mov dword [rbp - 0xf0], eax
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0xcc], 0
jne 0x58f846
mov rax, qword [rbp + 0x30]
mov eax, dword [rax + 0xc4]
cmp eax, dword [rbp - 0xb4]
jl 0x58f83a
mov eax, dword [rbp - 0xf0]
sub dword [rbp - 0xec], eax
jmp 0x58f846
mov eax, dword [rbp - 0xf0]
add dword [rbp - 0xec], eax
mov eax, dword [rbp - 0xb8]
cmp eax, dword [rbp - 0xec]
jge 0x58f86b
dec dword [rbp - 0xb4]
cmp dword [rbp - 0xb4], 0x44d
jle 0x58f86b
jmp 0x58f7c3
mov rax, qword [rbp + 0x30]
mov ebx, dword [rbp - 0xb4]
mov dword [rax + 0xc4], ebx
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0xcc], 0
jne 0x58f8c0
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0xb4], 0x3ea
je 0x58f8c0
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0x50], 0
jne 0x58f8c0
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0xc4], 0x44f
jle 0x58f8c0
mov rax, qword [rbp + 0x30]
mov dword [rax + 0xc4], 0x44f
mov rax, qword [rbp + 0x30]
mov rbx, qword [rbp + 0x30]
mov eax, dword [rax + 0xc4]
cmp eax, dword [rbx + 0x74]
jle 0x58f8e4
mov rax, qword [rbp + 0x30]
mov rbx, qword [rbp + 0x30]
mov ebx, dword [rbx + 0x74]
mov dword [rax + 0xc4], ebx
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0x70], 0xfffffc18
je 0x58f902
mov rax, qword [rbp + 0x30]
mov rbx, qword [rbp + 0x30]
mov ebx, dword [rbx + 0x70]
mov dword [rax + 0xc4], ebx
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0xb4], 0x3ea
je 0x58f951
cmp dword [rbp - 0x4c], 0x3a98
jge 0x58f951
mov rax, qword [rbp + 0x30]
mov rbx, qword [rbp + 0x30]
cmp dword [rbx + 0xc4], 0x44f
lea rax, [rax + 0xc4]
mov qword [rsp], rax
jge 0x58f946
mov rax, qword [rbp + 0x30]
mov eax, dword [rax + 0xc4]
jmp 0x58f94b
mov eax, 0x44f
mov rbx, qword [rsp]
mov dword [rbx], eax
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0x80], 0x5dc0
jg 0x58f97f
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0xc4], 0x450
jle 0x58f97f
mov rax, qword [rbp + 0x30]
mov dword [rax + 0xc4], 0x450
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0x80], 0x3e80
jg 0x58f9ad
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0xc4], 0x44f
jle 0x58f9ad
mov rax, qword [rbp + 0x30]
mov dword [rax + 0xc4], 0x44f
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0x80], 0x2ee0
jg 0x58f9db
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0xc4], 0x44e
jle 0x58f9db
mov rax, qword [rbp + 0x30]
mov dword [rax + 0xc4], 0x44e
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0x80], 0x1f40
jg 0x58fa09
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0xc4], 0x44d
jle 0x58fa09
mov rax, qword [rbp + 0x30]
mov dword [rax + 0xc4], 0x44d
cmp dword [rbp - 0x48], 0x32
jle 0x58fa16
mov eax, 0x2ee0
jmp 0x58fa1b
mov eax, 0x1f40
imul eax, dword [rbp + 0x20]
mov rbx, qword [rbp + 0x30]
mov ebx, dword [rbx + 0x80]
shl ebx, 3
cdq
idiv ebx
cmp eax, dword [rbp - 0x54]
jle 0x58fa42
mov rax, qword [rbp + 0x30]
mov dword [rax + 0xb4], 0x3ea
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0xb4], 0x3ea
jne 0x58fa70
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0xc4], 0x44e
jne 0x58fa70
mov rax, qword [rbp + 0x30]
mov dword [rax + 0xc4], 0x44f
mov rax, qword [rbp + 0x30]
mov eax, dword [rax + 0x80]
mov ebx, 0x32
cdq
idiv ebx
cmp eax, dword [rbp + 0x20]
jge 0x58fd5b
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0xb4], 0x3ea
je 0x58faaf
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0xc4], 0x44f
jle 0x58fd5b
mov rax, qword [rbp + 0x30]
mov eax, dword [rax + 0x80]
mov ebx, 0x19
cdq
idiv ebx
cmp eax, dword [rbp + 0x20]
jge 0x58facd
mov eax, 3
jmp 0x58fad2
mov eax, 2
mov dword [rbp - 0xb4], eax
mov eax, dword [rbp + 0x10]
sub eax, 3
cdq
idiv dword [rbp - 0xb4]
cmp eax, 0x4fc
jle 0x58faf4
mov eax, 0x4fc
jmp 0x58fb01
mov eax, dword [rbp + 0x10]
sub eax, 3
cdq
idiv dword [rbp - 0xb4]
mov dword [rbp - 0xc8], eax
push rax
mov eax, dword [rbp - 0xb4]
imul eax, dword [rbp - 0xc8]
push rax
call fcn.0058eeb6
pop rcx
mov qword [rbp - 0xd0], rax
push rax
lea rax, [rbp - 0x2c8]
push rax
call fcn.005ea133
pop rcx
mov rax, qword [rbp + 0x30]
mov eax, dword [rax + 0x78]
mov dword [rbp - 0xb8], eax
mov rax, qword [rbp + 0x30]
mov eax, dword [rax + 0x70]
mov dword [rbp - 0xbc], eax
mov rax, qword [rbp + 0x30]
mov eax, dword [rax + 0x68]
mov dword [rbp - 0xc0], eax
mov rax, qword [rbp + 0x30]
mov rbx, qword [rbp + 0x30]
mov ebx, dword [rbx + 0xb4]
mov dword [rax + 0x78], ebx
mov rax, qword [rbp + 0x30]
mov rbx, qword [rbp + 0x30]
mov ebx, dword [rbx + 0xc4]
mov dword [rax + 0x70], ebx
mov rax, qword [rbp + 0x30]
mov rbx, qword [rbp + 0x30]
mov ebx, dword [rbx + 0x98]
mov dword [rax + 0x68], ebx
mov rax, qword [rbp + 0x30]
mov eax, dword [rax + 0x40]
mov dword [rbp - 0xc4], eax
cmp dword [rbp - 0xc4], 0
je 0x58fbaf
mov rax, qword [rbp + 0x30]
mov dword [rax + 0x68], 1
jmp 0x58fbc3
mov rax, qword [rbp + 0x30]
mov rbx, qword [rbp + 0x30]
mov ebx, dword [rbx + 0x98]
mov dword [rax + 0xbc], ebx
mov dword [rbp - 4], 0
jmp 0x58fcd0
mov rax, qword [rbp + 0x30]
mov dword [rax + 0x40], 0
cmp dword [rbp - 0x2c], 0
je 0x58fbf8
mov eax, dword [rbp - 0xb4]
dec eax
cmp eax, dword [rbp - 4]
jne 0x58fbf8
mov rax, qword [rbp + 0x30]
mov dword [rax + 0x78], 0x3ea
push rax
push qword [rbp + 0x30]
mov rax, qword [rbp + 0x30]
mov rbx, qword [rbp + 0x30]
mov eax, dword [rax + 0x60]
imul eax, dword [rbx + 0x80]
mov ebx, 0x32
cdq
idiv ebx
imul eax, dword [rbp - 4]
mov rbx, qword [rbp + 0x28]
cdqe
lea rax, [rbx + rax*4]
push rax
mov rax, qword [rbp + 0x30]
mov eax, dword [rax + 0x80]
mov ebx, 0x32
cdq
idiv ebx
push rax
mov eax, dword [rbp - 4]
imul eax, dword [rbp - 0xc8]
mov rbx, qword [rbp - 0xd0]
cdqe
lea rax, [rbx + rax]
push rax
push qword [rbp - 0xc8]
call fcn.0058eeeb
pop rcx
mov dword [rbp - 0x2cc], eax
cmp dword [rbp - 0x2cc], 0
jge 0x58fc81
push rax
push qword [rbp - 0xd0]
call fcn.0059132c
pop rcx
mov eax, 0xfffffffd
leave
ret 0x28
push rax
lea rax, [rbp - 0x2c8]
push rax
mov eax, dword [rbp - 4]
imul eax, dword [rbp - 0xc8]
mov rbx, qword [rbp - 0xd0]
cdqe
lea rax, [rbx + rax]
push rax
push qword [rbp - 0x2cc]
call fcn.005ea14a
pop rcx
mov dword [rbp - 8], eax
cmp dword [rbp - 8], 0
jge 0x58fccd
push rax
push qword [rbp - 0xd0]
call fcn.0059132c
pop rcx
mov eax, 0xfffffffd
leave
ret 0x28
inc dword [rbp - 4]
mov eax, dword [rbp - 4]
cmp eax, dword [rbp - 0xb4]
jl 0x58fbcf
push rax
lea rax, [rbp - 0x2c8]
push rax
push qword [rbp + 0x18]
push qword [rbp + 0x10]
call fcn.005ea26d
pop rcx
mov dword [rbp - 8], eax
cmp dword [rbp - 8], 0
jge 0x58fd13
push rax
push qword [rbp - 0xd0]
call fcn.0059132c
pop rcx
mov eax, 0xfffffffd
leave
ret 0x28
mov rax, qword [rbp + 0x30]
mov ebx, dword [rbp - 0xb8]
mov dword [rax + 0x78], ebx
mov rax, qword [rbp + 0x30]
mov ebx, dword [rbp - 0xbc]
mov dword [rax + 0x70], ebx
mov rax, qword [rbp + 0x30]
mov ebx, dword [rbp - 0xc0]
mov dword [rax + 0x68], ebx
mov rax, qword [rbp + 0x30]
mov ebx, dword [rbp - 0xc4]
mov dword [rax + 0x40], ebx
push rax
push qword [rbp - 0xd0]
call fcn.0059132c
pop rcx
mov eax, dword [rbp - 8]
leave
ret 0x28
mov rax, qword [rbp + 0x30]
mov eax, dword [rax + 0xc4]
mov dword [rbp - 0x50], eax
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0xb4], 0x3e8
jne 0x58fd8f
cmp dword [rbp - 0x50], 0x44f
jle 0x58fd8f
mov rax, qword [rbp + 0x30]
mov dword [rax + 0xb4], 0x3e9
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0xb4], 0x3e9
jne 0x58fdb6
cmp dword [rbp - 0x50], 0x44f
jg 0x58fdb6
mov rax, qword [rbp + 0x30]
mov dword [rax + 0xb4], 0x3e8
mov rax, qword [rbp + 0x30]
mov eax, dword [rax + 0x8c]
imul eax, dword [rbp + 0x20]
mov rbx, qword [rbp + 0x30]
mov ebx, dword [rbx + 0x80]
shl ebx, 3
cdq
idiv ebx
cmp eax, dword [rbp - 0x54]
jle 0x58fdde
mov eax, dword [rbp - 0x54]
jmp 0x58fdfc
mov rax, qword [rbp + 0x30]
mov eax, dword [rax + 0x8c]
imul eax, dword [rbp + 0x20]
mov rbx, qword [rbp + 0x30]
mov ebx, dword [rbx + 0x80]
shl ebx, 3
cdq
idiv ebx
dec eax
mov dword [rbp - 0x10], eax
add qword [rbp + 0x18], 1
push rax
lea rax, [rbp - 0xb0]
push rax
push qword [rbp + 0x18]
mov eax, dword [rbp - 0x54]
dec eax
push rax
call fcn.005ea28e
pop rcx
push rax
mov eax, dword [rbp - 0x44]
add eax, dword [rbp + 0x20]
mov rbx, qword [rbp + 0x30]
imul eax, dword [rbx + 0x60]
shl eax, 2
push rax
call fcn.0058eeb6
pop rcx
mov qword [rbp - 0x70], rax
mov dword [rbp - 4], 0
jmp 0x58fe81
mov rax, qword [rbp - 0x70]
movsxd rbx, dword [rbp - 4]
mov rsi, qword [rbp + 0x30]
mov esi, dword [rsi + 0x94]
sub esi, dword [rbp - 0x44]
mov rdi, qword [rbp + 0x30]
imul esi, dword [rdi + 0x60]
add esi, dword [rbp - 4]
cmp esi, 0x3c0
jae 0x591322
mov rdi, qword [rbp + 0x30]
mov esi, dword [rdi + rsi*4 + 0xd0]
mov dword [rax + rbx*4], esi
inc dword [rbp - 4]
mov rax, qword [rbp + 0x30]
mov ebx, dword [rbp - 0x44]
imul ebx, dword [rax + 0x60]
cmp ebx, dword [rbp - 4]
jg 0x58fe44
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0xb4], 0x3ea
jne 0x58feb2
push rax
push 0x3c
call fcn.005dbbd5
pop rcx
shl eax, 8
mov dword [rbp - 0x38], eax
jmp 0x58febc
mov rax, qword [rbp - 0x60]
mov eax, dword [rax + 8]
mov dword [rbp - 0x38], eax
mov rax, qword [rbp + 0x30]
mov rbx, qword [rbp + 0x30]
mov rsi, qword [rbp + 0x30]
mov edi, dword [rbp - 0x38]
sub edi, dword [rsi + 0xa0]
sar edi, 0x10
imul edi, edi, 0x3d7
mov rsi, qword [rbp + 0x30]
mov ecx, dword [rbp - 0x38]
sub ecx, dword [rsi + 0xa0]
and ecx, 0xffff
imul ecx, ecx, 0x3d7
sar ecx, 0x10
add ecx, edi
add ecx, dword [rbx + 0xa0]
mov dword [rax + 0xa0], ecx
push rax
mov rax, qword [rbp + 0x30]
mov eax, dword [rax + 0xa0]
sar eax, 8
push rax
call fcn.005ea319
pop rcx
mov dword [rbp - 0x34], eax
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0x5c], 0x800
jne 0x58ff6f
push rax
push qword [rbp + 0x28]
push qword [rbp - 0x34]
mov rax, qword [rbp + 0x30]
mov ebx, dword [rbp - 0x44]
imul ebx, dword [rax + 0x60]
mov rax, qword [rbp - 0x70]
movsxd rbx, ebx
lea rax, [rax + rbx*4]
push rax
mov rax, qword [rbp + 0x30]
lea rax, [rax + 0xa4]
push rax
push qword [rbp + 0x20]
mov rax, qword [rbp + 0x30]
push qword [rax + 0x60]
mov rax, qword [rbp + 0x30]
push qword [rax + 0x80]
call fcn.005ea401
pop rcx
jmp 0x58ffae
mov dword [rbp - 4], 0
jmp 0x58ff9e
mov rax, qword [rbp + 0x30]
mov ebx, dword [rbp - 0x44]
imul ebx, dword [rax + 0x60]
add ebx, dword [rbp - 4]
mov rax, qword [rbp - 0x70]
movsxd rbx, ebx
mov rsi, qword [rbp + 0x28]
movsxd rdi, dword [rbp - 4]
mov esi, dword [rsi + rdi*4]
mov dword [rax + rbx*4], esi
inc dword [rbp - 4]
mov rax, qword [rbp + 0x30]
mov ebx, dword [rbp + 0x20]
imul ebx, dword [rax + 0x60]
cmp ebx, dword [rbp - 4]
jg 0x58ff78
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0xb4], 0x3ea
je 0x5906e6
push rax
mov rax, qword [rbp + 0x30]
mov eax, dword [rax + 0x60]
imul eax, dword [rbp + 0x20]
add eax, eax
push rax
call fcn.0058eeb6
pop rcx
mov qword [rbp - 0xb8], rax
mov rax, qword [rbp + 0x30]
mov ebx, dword [rbp - 0x10]
shl ebx, 3
imul ebx, dword [rbp - 0x48]
mov dword [rax + 0x24], ebx
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0xb4], 0x3e9
jne 0x5901e5
mov rax, qword [rbp + 0x30]
mov rbx, qword [rbp + 0x30]
mov qword [rsp + 8], rax
lea rax, [rax + 0x24]
mov qword [rsp], rax
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0x24]
cdq
idiv dword [rbx + 0x98]
mov rbx, qword [rsp]
mov dword [rbx], eax
cmp dword [rbp - 0x50], 0x450
jne 0x5900cd
mov rax, qword [rbp + 0x30]
mov ebx, dword [rbp + 0x20]
imul ebx, ebx, 0x64
cmp ebx, dword [rax + 0x80]
jne 0x59008b
mov rax, qword [rbp + 0x30]
mov rbx, qword [rbp + 0x30]
mov ebx, dword [rbx + 0x24]
add ebx, 0x7d0
mov rsi, qword [rbp + 0x30]
mov esi, dword [rsi + 0x84]
imul esi, esi, 0x3e8
add ebx, esi
add ebx, ebx
lea rax, [rax + 0x24]
mov qword [rsp], rax
mov eax, ebx
mov ebx, 3
cdq
idiv ebx
mov rbx, qword [rsp]
mov dword [rbx], eax
jmp 0x5900c8
mov rax, qword [rbp + 0x30]
mov rbx, qword [rbp + 0x30]
mov ebx, dword [rbx + 0x24]
add ebx, 0x3e8
mov rsi, qword [rbp + 0x30]
mov esi, dword [rsi + 0x84]
imul esi, esi, 0x3e8
add ebx, esi
add ebx, ebx
lea rax, [rax + 0x24]
mov qword [rsp], rax
mov eax, ebx
mov ebx, 3
cdq
idiv ebx
mov rbx, qword [rsp]
mov dword [rbx], eax
jmp 0x590157
mov rax, qword [rbp + 0x30]
mov ebx, dword [rbp + 0x20]
imul ebx, ebx, 0x64
cmp ebx, dword [rax + 0x80]
jne 0x59011c
mov rax, qword [rbp + 0x30]
mov rbx, qword [rbp + 0x30]
mov ebx, dword [rbx + 0x24]
add ebx, 0x1f40
mov rsi, qword [rbp + 0x30]
mov esi, dword [rsi + 0x84]
imul esi, esi, 0xbb8
add ebx, esi
lea rax, [rax + 0x24]
mov qword [rsp], rax
mov eax, ebx
mov ebx, 2
cdq
idiv ebx
mov rbx, qword [rsp]
mov dword [rbx], eax
jmp 0x590157
mov rax, qword [rbp + 0x30]
mov rbx, qword [rbp + 0x30]
mov ebx, dword [rbx + 0x24]
add ebx, 0x2328
mov rsi, qword [rbp + 0x30]
mov esi, dword [rsi + 0x84]
imul esi, esi, 0x3e8
add ebx, esi
lea rax, [rax + 0x24]
mov qword [rsp], rax
mov eax, ebx
mov ebx, 2
cdq
idiv ebx
mov rbx, qword [rsp]
mov dword [rbx], eax
mov rax, qword [rbp + 0x30]
mov rbx, qword [rbp + 0x30]
mov esi, dword [rax + 0x24]
imul esi, dword [rbx + 0x98]
mov dword [rax + 0x24], esi
mov rax, qword [rbp + 0x30]
mov rbx, qword [rbp + 0x30]
mov rsi, qword [rbp + 0x30]
mov esi, dword [rsi + 0x80]
shl esi, 3
mov eax, dword [rax + 0x24]
mov dword [rsp], eax
mov eax, esi
cdq
idiv dword [rbp + 0x20]
mov ebx, dword [rbx + 0x8c]
sub ebx, eax
shl ebx, 2
mov eax, ebx
mov ebx, 5
cdq
idiv ebx
cmp eax, dword [rsp]
jge 0x5901e5
mov rax, qword [rbp + 0x30]
mov rbx, qword [rbp + 0x30]
mov rsi, qword [rbp + 0x30]
mov esi, dword [rsi + 0x80]
shl esi, 3
lea rax, [rax + 0x24]
mov qword [rsp], rax
mov eax, esi
cdq
idiv dword [rbp + 0x20]
mov ebx, dword [rbx + 0x8c]
sub ebx, eax
shl ebx, 2
mov eax, ebx
mov ebx, 5
cdq
idiv ebx
mov rbx, qword [rsp]
mov dword [rbx], eax
mov rax, qword [rbp + 0x30]
mov ebx, dword [rbp + 0x20]
imul ebx, ebx, 0x3e8
mov rsi, qword [rbp + 0x30]
lea rax, [rax + 0x20]
mov qword [rsp], rax
mov eax, ebx
cdq
idiv dword [rsi + 0x80]
mov rbx, qword [rsp]
mov dword [rbx], eax
mov rax, qword [rbp + 0x30]
mov rbx, qword [rbp + 0x30]
mov ebx, dword [rbx + 0x60]
mov dword [rax + 8], ebx
mov rax, qword [rbp + 0x30]
mov rbx, qword [rbp + 0x30]
mov ebx, dword [rbx + 0x98]
mov dword [rax + 0xc], ebx
cmp dword [rbp - 0x50], 0x44d
jne 0x590242
mov rax, qword [rbp + 0x30]
mov dword [rax + 0x1c], 0x1f40
jmp 0x590263
cmp dword [rbp - 0x50], 0x44e
jne 0x590258
mov rax, qword [rbp + 0x30]
mov dword [rax + 0x1c], 0x2ee0
jmp 0x590263
mov rax, qword [rbp + 0x30]
mov dword [rax + 0x1c], 0x3e80
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0xb4], 0x3e9
jne 0x590280
mov rax, qword [rbp + 0x30]
mov dword [rax + 0x18], 0x3e80
jmp 0x59028b
mov rax, qword [rbp + 0x30]
mov dword [rax + 0x18], 0x1f40
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0xb4], 0x3e8
jne 0x590359
mov eax, dword [rbp - 0x4c]
mov dword [rbp - 0xbc], eax
mov rax, qword [rbp + 0x30]
mov dword [rax + 0x14], 0x3e80
cmp dword [rbp - 0x48], 0x32
jle 0x5902cf
mov eax, dword [rbp - 0xbc]
add eax, eax
mov ebx, 3
cdq
idiv ebx
mov dword [rbp - 0xbc], eax
cmp dword [rbp - 0xbc], 0x32c8
jge 0x590313
mov rax, qword [rbp + 0x30]
mov dword [rax + 0x14], 0x2ee0
mov rax, qword [rbp + 0x30]
mov rbx, qword [rbp + 0x30]
cmp dword [rbx + 0x1c], 0x2ee0
lea rax, [rax + 0x1c]
mov qword [rsp], rax
jle 0x590306
mov eax, 0x2ee0
jmp 0x59030d
mov rax, qword [rbp + 0x30]
mov eax, dword [rax + 0x1c]
mov rbx, qword [rsp]
mov dword [rbx], eax
cmp dword [rbp - 0xbc], 0x2580
jge 0x590357
mov rax, qword [rbp + 0x30]
mov dword [rax + 0x14], 0x1f40
mov rax, qword [rbp + 0x30]
mov rbx, qword [rbp + 0x30]
cmp dword [rbx + 0x1c], 0x1f40
lea rax, [rax + 0x1c]
mov qword [rsp], rax
jle 0x59034a
mov eax, 0x1f40
jmp 0x590351
mov rax, qword [rbp + 0x30]
mov eax, dword [rax + 0x1c]
mov rbx, qword [rsp]
mov dword [rbx], eax
jmp 0x590364
mov rax, qword [rbp + 0x30]
mov dword [rax + 0x14], 0x3e80
mov rax, qword [rbp + 0x30]
mov rbx, qword [rbp + 0x30]
cmp dword [rbx + 0x84], 0
sete bl
movzx ebx, bl
mov dword [rax + 0x38], ebx
mov eax, dword [rbp - 0x54]
dec eax
cmp eax, 0x4fb
jle 0x590390
mov eax, 0x4fb
jmp 0x590395
mov eax, dword [rbp - 0x54]
dec eax
mov dword [rbp - 0xc], eax
mov rax, qword [rbp + 0x30]
mov ebx, dword [rbp - 0xc]
shl ebx, 3
mov dword [rax + 0x3c], ebx
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0xb4], 0x3e9
jne 0x5903db
mov rax, qword [rbp + 0x30]
mov rbx, qword [rbp + 0x30]
mov ebx, dword [rbx + 0x3c]
lea ebx, [rbx + rbx*8]
lea rax, [rax + 0x3c]
mov qword [rsp], rax
mov eax, ebx
mov ebx, 0xa
cdq
idiv ebx
mov rbx, qword [rsp]
mov dword [rbx], eax
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0x38], 0
je 0x59044f
mov rax, qword [rbp + 0x30]
mov rbx, qword [rbp + 0x30]
mov ebx, dword [rbx + 0x24]
imul ebx, dword [rbp + 0x20]
mov rsi, qword [rbp + 0x30]
mov esi, dword [rsi + 0x80]
shl esi, 3
lea rax, [rax + 0x3c]
mov qword [rsp], rax
mov eax, ebx
cdq
idiv esi
shl eax, 3
mov rbx, qword [rsp]
mov dword [rbx], eax
mov rax, qword [rbp + 0x30]
mov rbx, qword [rbp + 0x30]
mov ebx, dword [rbx + 0x24]
sub ebx, 0x7d0
cmp ebx, 1
lea rax, [rax + 0x24]
mov qword [rsp], rax
jge 0x59043c
mov eax, 1
jmp 0x590449
mov rax, qword [rbp + 0x30]
mov eax, dword [rax + 0x24]
sub eax, 0x7d0
mov rbx, qword [rsp]
mov dword [rbx], eax
cmp dword [rbp - 0x1c], 0
je 0x590497
mov rax, qword [rbp + 0x30]
mov rbx, qword [rbp + 0x30]
mov rsi, qword [rbp + 0x30]
lea rax, [rax + 0x3c]
mov qword [rsp], rax
mov eax, dword [rsi + 0x80]
mov esi, 0xc8
cdq
idiv esi
mov dword [rsp + 8], eax
mov eax, dword [rbp + 0x20]
cdq
idiv dword [rsp + 8]
inc eax
mov dword [rsp + 8], eax
mov eax, dword [rbx + 0x3c]
cdq
idiv dword [rsp + 8]
mov rbx, qword [rsp]
sub dword [rbx], eax
cmp dword [rbp - 0x14], 0
je 0x590539
mov dword [rbp - 0xbc], 0
mov dword [rbp - 4], 0
jmp 0x5904f3
mov rax, qword [rbp - 0xb8]
movsxd rbx, dword [rbp - 4]
push rax
mov esi, dword [rbp - 4]
cmp esi, 0x3c0
jae 0x591324
mov rdi, qword [rbp + 0x30]
push qword [rdi + rsi*4 + 0xd0]
lea rax, [rax + rbx*2]
mov qword [rsp + 0x10], rax
call fcn.005ea6fb
pop rcx
mov rbx, qword [rsp]
mov word [rbx], ax
inc dword [rbp - 4]
mov rax, qword [rbp + 0x30]
mov rbx, qword [rbp + 0x30]
mov eax, dword [rax + 0x94]
imul eax, dword [rbx + 0x60]
cmp eax, dword [rbp - 4]
jg 0x5904b4
push rax
push qword [rbp - 0x60]
mov rax, qword [rbp + 0x30]
lea rax, [rax + 8]
push rax
push qword [rbp - 0xb8]
mov rax, qword [rbp + 0x30]
push qword [rax + 0x94]
push 0
lea rax, [rbp - 0xbc]
push rax
push 1
call fcn.005ea77d
pop rcx
mov dword [rbp - 4], 0
jmp 0x59057f
mov rax, qword [rbp - 0xb8]
movsxd rbx, dword [rbp - 4]
push rax
mov rsi, qword [rbp + 0x30]
mov edi, dword [rbp - 0x44]
imul edi, dword [rsi + 0x60]
add edi, dword [rbp - 4]
mov rsi, qword [rbp - 0x70]
movsxd rdi, edi
push qword [rsi + rdi*4]
lea rax, [rax + rbx*2]
mov qword [rsp + 0x10], rax
call fcn.005ea6fb
pop rcx
mov rbx, qword [rsp]
mov word [rbx], ax
inc dword [rbp - 4]
mov rax, qword [rbp + 0x30]
mov ebx, dword [rbp + 0x20]
imul ebx, dword [rax + 0x60]
cmp ebx, dword [rbp - 4]
jg 0x590542
push rax
push qword [rbp - 0x60]
mov rax, qword [rbp + 0x30]
lea rax, [rax + 8]
push rax
push qword [rbp - 0xb8]
push qword [rbp + 0x20]
lea rax, [rbp - 0xb0]
push rax
lea rax, [rbp - 0xc]
push rax
push 0
call fcn.005ea77d
pop rcx
mov dword [rbp - 8], eax
cmp dword [rbp - 8], 0
je 0x5905e3
push rax
push qword [rbp - 0x70]
call fcn.0059132c
pop rcx
push rax
push qword [rbp - 0xb8]
call fcn.0059132c
pop rcx
mov eax, 0xfffffffd
leave
ret 0x28
cmp dword [rbp - 0xc], 0
jne 0x590655
mov rax, qword [rbp + 0x30]
mov dword [rax + 0xfd0], 0
mov rax, qword [rbp + 0x18]
mov rbx, qword [rbp + 0x30]
push qword [rbx + 0xb4]
mov rbx, qword [rbp + 0x30]
lea rax, [rax - 1]
mov qword [rsp + 8], rax
mov eax, dword [rbx + 0x80]
cdq
idiv dword [rbp + 0x20]
push rax
push qword [rbp - 0x50]
mov rax, qword [rbp + 0x30]
push qword [rax + 0x98]
call fcn.005ea079
mov rbx, qword [rsp]
mov byte [rbx], al
push rax
push qword [rbp - 0x70]
call fcn.0059132c
pop rcx
push rax
push qword [rbp - 0xb8]
call fcn.0059132c
pop rcx
mov eax, 1
leave
ret 0x28
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0xb4], 0x3e8
jne 0x5906a5
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0x48], 0x1f40
jne 0x59067b
mov dword [rbp - 0x50], 0x44d
jmp 0x5906a5
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0x48], 0x2ee0
jne 0x590691
mov dword [rbp - 0x50], 0x44e
jmp 0x5906a5
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0x48], 0x3e80
jne 0x5906a5
mov dword [rbp - 0x50], 0x44f
mov rax, qword [rbp + 0x30]
mov rbx, qword [rbp + 0x30]
mov ebx, dword [rbx + 0x58]
mov dword [rax + 0x44], ebx
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0x44], 0
je 0x5906d9
mov dword [rbp - 0x1c], 1
mov dword [rbp - 0x24], 0
mov rax, qword [rbp + 0x30]
mov dword [rax + 0xc8], 1
push rax
push qword [rbp - 0xb8]
call fcn.0059132c
pop rcx
mov dword [rbp - 0xb4], 0x15
mov eax, dword [rbp - 0x50]
sub eax, 0x44d
cmp eax, 4
ja case.default.0x5906fe
jmp qword [rax*8 + 0x73ac30]
mov dword [rbp - 0xb4], 0xd
jmp 0x590737
mov dword [rbp - 0xb4], 0x11
jmp 0x590737
mov dword [rbp - 0xb4], 0x13
jmp 0x590737
mov dword [rbp - 0xb4], 0x15
jmp 0x590737
jmp 0x590737
push qword [rbp - 0x68]
push 0x271c
mov eax, dword [rbp - 0xb4]
mov dword [rbp - 0xb8], eax
push 4
lea rax, [rbp - 0xb8]
push rax
call fcn.005db659
push qword [rbp - 0x68]
push 0x2718
mov rax, qword [rbp + 0x30]
mov eax, dword [rax + 0x98]
mov dword [rbp - 0xb8], eax
push 4
lea rax, [rbp - 0xb8]
push rax
call fcn.005db659
push qword [rbp - 0x68]
push 0xfa2
push 4
push 0x6eb070
call fcn.005db659
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0xb4], 0x3e8
je 0x590904
push qword [rbp - 0x68]
push 0xfa6
push 4
push 0x6ead24
call fcn.005db659
push qword [rbp - 0x68]
push 0x2712
push 4
push 0x6ed648
call fcn.005db659
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0xb4], 0x3e9
jne 0x590883
push rax
lea rax, [rbp - 0xb0]
push rax
call fcn.005ebe92
pop rcx
add eax, 7
sar eax, 3
mov dword [rbp - 0xb4], eax
cmp dword [rbp - 0x1c], 0
je 0x590828
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0xb4], 0x3e9
jne 0x59081d
mov eax, 3
jmp 0x590822
mov eax, 1
add dword [rbp - 0xb4], eax
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0x84], 0
je 0x590868
mov eax, dword [rbp - 0xb4]
add eax, dword [rbp - 0x10]
mov rbx, qword [rbp + 0x30]
mov ebx, dword [rbx + 0x24]
imul ebx, dword [rbp + 0x20]
mov rsi, qword [rbp + 0x30]
mov esi, dword [rsi + 0x80]
shl esi, 3
mov dword [rsp], eax
mov eax, ebx
cdq
idiv esi
mov ebx, dword [rsp]
sub ebx, eax
mov dword [rbp - 0x28], ebx
jmp 0x590881
mov eax, dword [rbp - 0xb4]
cmp eax, dword [rbp - 0x10]
jle 0x59087b
mov eax, dword [rbp - 0xb4]
jmp 0x59087e
mov eax, dword [rbp - 0x10]
mov dword [rbp - 0x28], eax
jmp 0x590902
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0x84], 0
je 0x5908fc
push qword [rbp - 0x68]
push 0xfa6
push 4
push 0x6ec35c
call fcn.005db659
push qword [rbp - 0x68]
push 0xfb4
mov rax, qword [rbp + 0x30]
mov eax, dword [rax + 0x88]
mov dword [rbp - 0xb4], eax
push 4
lea rax, [rbp - 0xb4]
push rax
call fcn.005db659
push qword [rbp - 0x68]
push 0xfa2
mov rax, qword [rbp + 0x30]
mov eax, dword [rax + 0x8c]
mov dword [rbp - 0xb4], eax
push 4
lea rax, [rbp - 0xb4]
push rax
call fcn.005db659
mov eax, dword [rbp - 0x54]
dec eax
mov dword [rbp - 0x28], eax
jmp 0x590902
mov eax, dword [rbp - 0x10]
mov dword [rbp - 0x28], eax
jmp 0x59090b
mov dword [rbp - 0x28], 0
push rax
mov rax, qword [rbp + 0x30]
mov rbx, qword [rbp + 0x30]
mov eax, dword [rax + 0x60]
imul eax, dword [rbx + 0x80]
mov ebx, 0x190
cdq
idiv ebx
shl eax, 2
push rax
call fcn.0058eeb6
pop rcx
mov qword [rbp - 0x78], rax
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0xb4], 0x3e8
je 0x5909fb
mov rax, qword [rbp + 0x30]
mov rbx, qword [rbp + 0x30]
mov eax, dword [rax + 0xb4]
cmp eax, dword [rbx + 0xb8]
je 0x5909fb
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0xb8], 0
jle 0x5909fb
mov dword [rbp - 4], 0
jmp 0x5909dc
mov rax, qword [rbp - 0x78]
movsxd rbx, dword [rbp - 4]
mov rsi, qword [rbp + 0x30]
mov rdi, qword [rbp + 0x30]
mov esi, dword [rsi + 0x94]
sub esi, dword [rdi + 0x64]
mov rdi, qword [rbp + 0x30]
lea rax, [rax + rbx*4]
mov qword [rsp], rax
mov eax, dword [rdi + 0x80]
mov ebx, 0x190
cdq
idiv ebx
sub esi, eax
mov rax, qword [rbp + 0x30]
imul esi, dword [rax + 0x60]
add esi, dword [rbp - 4]
cmp esi, 0x3c0
jae 0x591326
mov rax, qword [rbp + 0x30]
mov rbx, qword [rsp]
mov eax, dword [rax + rsi*4 + 0xd0]
mov dword [rbx], eax
inc dword [rbp - 4]
mov rax, qword [rbp + 0x30]
mov rbx, qword [rbp + 0x30]
mov eax, dword [rax + 0x60]
imul eax, dword [rbx + 0x80]
mov ebx, 0x190
cdq
idiv ebx
cmp eax, dword [rbp - 4]
jg 0x59097c
mov dword [rbp - 4], 0
jmp 0x590a46
mov eax, dword [rbp - 4]
cmp eax, 0x3c0
jae 0x591328
mov rbx, qword [rbp + 0x30]
mov rsi, qword [rbp + 0x30]
mov esi, dword [rsi + 0x60]
imul esi, dword [rbp + 0x20]
add esi, dword [rbp - 4]
cmp esi, 0x3c0
jae 0x591328
mov rdi, qword [rbp + 0x30]
mov esi, dword [rdi + rsi*4 + 0xd0]
mov dword [rbx + rax*4 + 0xd0], esi
inc dword [rbp - 4]
mov rax, qword [rbp + 0x30]
mov rbx, qword [rbp + 0x30]
mov esi, dword [rbp + 0x20]
add esi, dword [rbp - 0x44]
mov ebx, dword [rbx + 0x94]
sub ebx, esi
imul ebx, dword [rax + 0x60]
cmp ebx, dword [rbp - 4]
jg 0x590a04
jmp 0x590aa9
mov eax, dword [rbp - 4]
cmp eax, 0x3c0
jae 0x59132a
mov rbx, qword [rbp + 0x30]
mov esi, dword [rbp + 0x20]
add esi, dword [rbp - 0x44]
mov rdi, qword [rbp + 0x30]
sub esi, dword [rdi + 0x94]
mov rdi, qword [rbp + 0x30]
imul esi, dword [rdi + 0x60]
add esi, dword [rbp - 4]
mov rdi, qword [rbp - 0x70]
movsxd rsi, esi
mov esi, dword [rdi + rsi*4]
mov dword [rbx + rax*4 + 0xd0], esi
inc dword [rbp - 4]
mov rax, qword [rbp + 0x30]
mov rbx, qword [rbp + 0x30]
mov eax, dword [rax + 0x94]
imul eax, dword [rbx + 0x60]
cmp eax, dword [rbp - 4]
jg 0x590a67
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0xb4], 0x3e9
jne 0x590add
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0x98], 1
jne 0x590ae8
mov rax, qword [rbp + 0x30]
mov dword [rax + 0x54], 0x4000
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0x60], 2
jne 0x590c01
mov rax, qword [rbp + 0x30]
movsx eax, word [rax + 0x9c]
cmp eax, 0x4000
jl 0x590b1a
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0x54], 0x4000
jge 0x590c01
push qword [rbp - 0x68]
push 0x271f
lea rax, [rbp - 0xc0]
lea rbx, [rbp - 0xc0]
sub rax, rbx
mov ebx, 8
xor edx, edx
div ebx
cdqe
lea rax, [rbp + rax*8 - 0xc0]
mov qword [rbp - 0xc8], rax
push 8
lea rax, [rbp - 0xc8]
push rax
call fcn.005db659
mov rax, qword [rbp + 0x30]
movsx eax, word [rax + 0x9c]
mov dword [rsp], eax
fild dword [rsp]
fstp dword [rbp - 0xb4]
mov rax, qword [rbp + 0x30]
fild dword [rax + 0x54]
fstp dword [rbp - 0xb8]
fld dword [rbp - 0xb4]
fld dword [0x0073ac58]
fmulp st(1)
fstp dword [rbp - 0xb4]
fld dword [rbp - 0xb8]
fld dword [0x0073ac58]
fmulp st(1)
fstp dword [rbp - 0xb8]
push rax
push qword [rbp - 0x70]
push qword [rbp - 0x70]
push qword [rbp - 0xb4]
push qword [rbp - 0xb8]
mov rax, qword [rbp - 0xc0]
push qword [rax + 4]
push qword [rbp + 0x20]
mov rax, qword [rbp + 0x30]
push qword [rax + 0x60]
mov rax, qword [rbp - 0xc0]
lea rax, [rax + 0x170]
push rax
mov rax, qword [rbp + 0x30]
push qword [rax + 0x80]
call fcn.005ebec1
pop rcx
mov rax, qword [rbp + 0x30]
mov rbx, qword [rbp + 0x30]
mov bx, word [rbx + 0x54]
mov word [rax + 0x9c], bx
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0xb4], 0x3ea
je 0x590d95
push rax
lea rax, [rbp - 0xb0]
push rax
call fcn.005ebe92
pop rcx
add eax, 0x11
mov rbx, qword [rbp + 0x30]
cmp dword [rbx + 0xb4], 0x3e9
sete bl
movzx ebx, bl
imul ebx, ebx, 0x14
add eax, ebx
mov ebx, dword [rbp - 0x54]
dec ebx
shl ebx, 3
cmp eax, ebx
jg 0x590d95
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0xb4], 0x3e9
jne 0x590c96
cmp dword [rbp - 0x1c], 0
jne 0x590c82
push rax
lea rax, [rbp - 0xb0]
push rax
call fcn.005ebe92
pop rcx
add eax, 0x25
mov ebx, dword [rbp - 0x28]
shl ebx, 3
cmp eax, ebx
jg 0x590c96
push rax
lea rax, [rbp - 0xb0]
push rax
push qword [rbp - 0x1c]
push 0xc
call fcn.005ec062
pop rcx
cmp dword [rbp - 0x1c], 0
je 0x590d93
push rax
lea rax, [rbp - 0xb0]
push rax
push qword [rbp - 0x24]
push 1
call fcn.005ec062
pop rcx
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0xb4], 0x3e9
jne 0x590cd6
mov eax, dword [rbp - 0x54]
dec eax
sub eax, dword [rbp - 0x28]
dec eax
mov dword [rbp - 0xb4], eax
jmp 0x590cff
mov eax, dword [rbp - 0x54]
dec eax
push rax
lea rbx, [rbp - 0xb0]
push rbx
mov dword [rsp + 0x10], eax
call fcn.005ebe92
pop rcx
add eax, 7
sar eax, 3
mov ebx, dword [rsp]
sub ebx, eax
mov dword [rbp - 0xb4], ebx
mov rax, qword [rbp + 0x30]
mov eax, dword [rax + 0x8c]
mov ebx, 0x640
cdq
idiv ebx
cmp eax, dword [rbp - 0xb4]
jle 0x590d21
mov eax, dword [rbp - 0xb4]
jmp 0x590d33
mov rax, qword [rbp + 0x30]
mov eax, dword [rax + 0x8c]
mov ebx, 0x640
cdq
idiv ebx
mov dword [rbp - 0x20], eax
cmp dword [rbp - 0x20], 2
jge 0x590d43
mov eax, 2
jmp 0x590d46
mov eax, dword [rbp - 0x20]
cmp eax, 0x101
jle 0x590d55
mov eax, 0x101
jmp 0x590d65
cmp dword [rbp - 0x20], 2
jge 0x590d62
mov eax, 2
jmp 0x590d65
mov eax, dword [rbp - 0x20]
mov dword [rbp - 0x20], eax
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0xb4], 0x3e9
jne 0x590d93
push rax
lea rax, [rbp - 0xb0]
push rax
mov eax, dword [rbp - 0x20]
sub eax, 2
push rax
push 0x100
call fcn.005ec0d3
pop rcx
jmp 0x590d9c
mov dword [rbp - 0x1c], 0
cmp dword [rbp - 0x1c], 0
jne 0x590db0
mov rax, qword [rbp + 0x30]
mov dword [rax + 0xc8], 0
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0xb4], 0x3ea
je 0x590dc7
mov dword [rbp - 0x18], 0x11
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0xb4], 0x3e8
jne 0x590e06
push rax
lea rax, [rbp - 0xb0]
push rax
call fcn.005ebe92
pop rcx
add eax, 7
sar eax, 3
mov dword [rbp - 8], eax
push rax
lea rax, [rbp - 0xb0]
push rax
call fcn.005ec15e
pop rcx
mov eax, dword [rbp - 8]
mov dword [rbp - 0x28], eax
jmp 0x590e33
mov eax, dword [rbp - 0x54]
dec eax
sub eax, dword [rbp - 0x20]
cmp eax, dword [rbp - 0x28]
jge 0x590e1d
mov eax, dword [rbp - 0x54]
dec eax
sub eax, dword [rbp - 0x20]
jmp 0x590e20
mov eax, dword [rbp - 0x28]
mov dword [rbp - 0x28], eax
lea rax, [rbp - 0xb0]
push rax
push qword [rbp - 0x28]
call fcn.005ec32e
cmp dword [rbp - 0x1c], 0
je 0x590f18
cmp dword [rbp - 0x24], 0
je 0x590f18
push qword [rbp - 0x68]
push 0x271a
push 4
push 0x6ead24
call fcn.005db659
push qword [rbp - 0x68]
push 0xfa6
push 4
push 0x6ead24
call fcn.005db659
push qword [rbp - 0x68]
push qword [rbp - 0x70]
mov rax, qword [rbp + 0x30]
mov eax, dword [rax + 0x80]
mov ebx, 0xc8
cdq
idiv ebx
push rax
mov rax, qword [rbp + 0x18]
movsxd rbx, dword [rbp - 0x28]
lea rax, [rax + rbx]
push rax
push qword [rbp - 0x20]
push 0
call fcn.005ec389
mov dword [rbp - 0xb4], eax
cmp dword [rbp - 0xb4], 0
jge 0x590ecb
push rax
push qword [rbp - 0x70]
call fcn.0059132c
pop rcx
push rax
push qword [rbp - 0x78]
call fcn.0059132c
pop rcx
mov eax, 0xfffffffd
leave
ret 0x28
push qword [rbp - 0x68]
push 0xfbf
lea rax, [rbp - 0x30]
lea rbx, [rbp - 0x30]
sub rax, rbx
mov ebx, 4
xor edx, edx
div ebx
cdqe
lea rax, [rbp + rax*4 - 0x30]
mov qword [rbp - 0xc0], rax
push 8
lea rax, [rbp - 0xc0]
push rax
call fcn.005db659
push qword [rbp - 0x68]
push 0xfbc
push 4
push 0x6ead24
call fcn.005db659
push qword [rbp - 0x68]
push 0x271a
mov eax, dword [rbp - 0x18]
mov dword [rbp - 0xb4], eax
push 4
lea rax, [rbp - 0xb4]
push rax
call fcn.005db659
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0xb4], 0x3e8
je 0x59101b
mov rax, qword [rbp + 0x30]
mov rbx, qword [rbp + 0x30]
mov eax, dword [rax + 0xb4]
cmp eax, dword [rbx + 0xb8]
je 0x590fc1
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0xb8], 0
jle 0x590fc1
push qword [rbp - 0x68]
push 0xfbc
push 4
push 0x6ead24
call fcn.005db659
push qword [rbp - 0x68]
push qword [rbp - 0x78]
mov rax, qword [rbp + 0x30]
mov eax, dword [rax + 0x80]
mov ebx, 0x190
cdq
idiv ebx
push rax
lea rax, [rbp - 0xb2]
push rax
push 2
push 0
call fcn.005ec389
push qword [rbp - 0x68]
push 0x2712
push 4
push 0x6ead24
call fcn.005db659
push rax
lea rax, [rbp - 0xb0]
push rax
call fcn.005ebe92
pop rcx
mov ebx, dword [rbp - 0x28]
shl ebx, 3
cmp eax, ebx
jg 0x59101b
push qword [rbp - 0x68]
push qword [rbp - 0x70]
push qword [rbp + 0x20]
push 0
push qword [rbp - 0x28]
lea rax, [rbp - 0xb0]
push rax
call fcn.005ec389
mov dword [rbp - 8], eax
cmp dword [rbp - 8], 0
jge 0x59101b
push rax
push qword [rbp - 0x70]
call fcn.0059132c
pop rcx
push rax
push qword [rbp - 0x78]
call fcn.0059132c
pop rcx
mov eax, 0xfffffffd
leave
ret 0x28
cmp dword [rbp - 0x1c], 0
je 0x59117a
cmp dword [rbp - 0x24], 0
jne 0x59117a
mov rax, qword [rbp + 0x30]
mov eax, dword [rax + 0x80]
mov ebx, 0xc8
cdq
idiv ebx
mov dword [rbp - 0xbc], eax
mov rax, qword [rbp + 0x30]
mov eax, dword [rax + 0x80]
mov ebx, 0x190
cdq
idiv ebx
mov dword [rbp - 0xc0], eax
push qword [rbp - 0x68]
push 0xfbc
push 4
push 0x6ead24
call fcn.005db659
push qword [rbp - 0x68]
push 0x271a
push 4
push 0x6ead24
call fcn.005db659
push qword [rbp - 0x68]
push 0x2712
push 4
push 0x6ead24
call fcn.005db659
push qword [rbp - 0x68]
mov rax, qword [rbp + 0x30]
mov ebx, dword [rbp + 0x20]
sub ebx, dword [rbp - 0xbc]
sub ebx, dword [rbp - 0xc0]
imul ebx, dword [rax + 0x60]
mov rax, qword [rbp - 0x70]
movsxd rbx, ebx
lea rax, [rax + rbx*4]
push rax
push qword [rbp - 0xc0]
lea rax, [rbp - 0xb2]
push rax
push 2
push 0
call fcn.005ec389
push qword [rbp - 0x68]
mov rax, qword [rbp + 0x30]
mov ebx, dword [rbp + 0x20]
sub ebx, dword [rbp - 0xbc]
imul ebx, dword [rax + 0x60]
mov rax, qword [rbp - 0x70]
movsxd rbx, ebx
lea rax, [rax + rbx*4]
push rax
push qword [rbp - 0xbc]
mov rax, qword [rbp + 0x18]
movsxd rbx, dword [rbp - 0x28]
lea rax, [rax + rbx]
push rax
push qword [rbp - 0x20]
push 0
call fcn.005ec389
mov dword [rbp - 0xb8], eax
cmp dword [rbp - 0xb8], 0
jge 0x591141
push rax
push qword [rbp - 0x70]
call fcn.0059132c
pop rcx
push rax
push qword [rbp - 0x78]
call fcn.0059132c
pop rcx
mov eax, 0xfffffffd
leave
ret 0x28
push qword [rbp - 0x68]
push 0xfbf
lea rax, [rbp - 0x30]
lea rbx, [rbp - 0x30]
sub rax, rbx
mov ebx, 4
xor edx, edx
div ebx
cdqe
lea rax, [rbp + rax*4 - 0x30]
mov qword [rbp - 0xc8], rax
push 8
lea rax, [rbp - 0xc8]
push rax
call fcn.005db659
dec qword [rbp + 0x18]
mov rax, qword [rbp + 0x30]
push qword [rax + 0xb4]
mov rax, qword [rbp + 0x30]
mov eax, dword [rax + 0x80]
cdq
idiv dword [rbp + 0x20]
push rax
push qword [rbp - 0x50]
mov rax, qword [rbp + 0x30]
push qword [rax + 0x98]
call fcn.005ea079
mov rbx, qword [rbp + 0x18]
mov byte [rbx], al
mov rax, qword [rbp + 0x30]
mov ebx, dword [rbp - 0x90]
xor ebx, dword [rbp - 0x30]
mov dword [rax + 0xfd0], ebx
cmp dword [rbp - 0x2c], 0
je 0x5911d8
mov rax, qword [rbp + 0x30]
mov dword [rax + 0xb8], 0x3ea
jmp 0x5911ec
mov rax, qword [rbp + 0x30]
mov rbx, qword [rbp + 0x30]
mov ebx, dword [rbx + 0xb4]
mov dword [rax + 0xb8], ebx
mov rax, qword [rbp + 0x30]
mov rbx, qword [rbp + 0x30]
mov ebx, dword [rbx + 0x98]
mov dword [rax + 0xbc], ebx
mov rax, qword [rbp + 0x30]
mov ebx, dword [rbp + 0x20]
mov dword [rax + 0xc0], ebx
mov rax, qword [rbp + 0x30]
mov dword [rax + 0xcc], 0
push rax
lea rax, [rbp - 0xb0]
push rax
call fcn.005ebe92
pop rcx
mov ebx, dword [rbp - 0x54]
dec ebx
shl ebx, 3
cmp eax, ebx
jle 0x591278
cmp dword [rbp - 0x54], 2
jge 0x591259
push rax
push qword [rbp - 0x70]
call fcn.0059132c
pop rcx
push rax
push qword [rbp - 0x78]
call fcn.0059132c
pop rcx
mov eax, 0xfffffffe
leave
ret 0x28
mov rax, qword [rbp + 0x18]
mov byte [rax + 1], 0
mov dword [rbp - 8], 1
mov rax, qword [rbp + 0x30]
mov dword [rax + 0xfd0], 0
jmp 0x5912aa
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0xb4], 0x3e8
jne 0x5912aa
cmp dword [rbp - 0x1c], 0
jne 0x5912aa
jmp 0x591293
dec dword [rbp - 8]
cmp dword [rbp - 8], 2
jle 0x5912aa
mov rax, qword [rbp + 0x18]
movsxd rbx, dword [rbp - 8]
movzx eax, byte [rax + rbx]
cmp eax, 0
je 0x591290
mov eax, dword [rbp - 0x20]
inc eax
add dword [rbp - 8], eax
mov rax, qword [rbp + 0x30]
cmp dword [rax + 0x84], 0
jne 0x5912fd
cmp dword [rbp - 8], 3
jl 0x5912fd
push rax
push qword [rbp + 0x18]
push qword [rbp - 8]
push qword [rbp - 0x54]
call fcn.005ee74b
pop rcx
cmp eax, 0
je 0x5912f7
push rax
push qword [rbp - 0x70]
call fcn.0059132c
pop rcx
push rax
push qword [rbp - 0x78]
call fcn.0059132c
pop rcx
mov eax, 0xfffffffd
leave
ret 0x28
mov eax, dword [rbp - 0x54]
mov dword [rbp - 8], eax
push rax
push qword [rbp - 0x70]
call fcn.0059132c
pop rcx
push rax
push qword [rbp - 0x78]
call fcn.0059132c
pop rcx
mov eax, dword [rbp - 8]
leave
ret 0x28
int 5
int 5
int 5
int 5
int 5
int 5
int 5
int 5
int 5
int 5