Function at 0x5779c8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x34
push 0
push 0
dec ecx
jne 0x5779d0
push ebx
push esi
push edi
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x57a03b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
call fcn.0057abc8
cmp dword [0x72f714], 0
je 0x5796d7
mov eax, dword [0x72f714]
mov dword [ebp - 0x14], eax
push 0
lea eax, [ebp - 4]
push eax
mov ecx, 0x57a058
mov edx, 0x57a080
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [0x6a79dc]
movzx eax, word [eax]
mov word [ebp - 0x2e], ax
mov eax, dword [0x6a79dc]
mov word [eax], 0x2e
mov dword [ebp - 0x38], 0x9999999a
mov dword [ebp - 0x34], 0x401d9999
push 0
push 0
mov edx, 0x57a080
mov ecx, 0x57a0a4
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x28]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xbc]
fstp qword [eax + 0x10]
wait
mov eax, dword [0x6a79dc]
movzx edx, word [ebp - 0x2e]
mov word [eax], dx
mov dl, 1
mov eax, dword [0x45539c]
call fcn.0045e9c4
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x174], eax
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x178], 0
je 0x577b4e
mov eax, dword [0x72f830]
mov eax, dword [eax + 4]
dec eax
test eax, eax
jl 0x577b98
inc eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x20]
lea eax, [eax + eax*2]
mov edx, dword [0x72f830]
mov edx, dword [edx + 8]
mov eax, dword [edx + eax*4]
lea edx, [ebp - 0x48]
call fcn.00413a64
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 4]
call fcn.004079d0
jne 0x577b40
mov eax, dword [ebp - 0x20]
lea eax, [eax + eax*2]
mov edx, dword [0x72f830]
mov edx, dword [edx + 8]
mov eax, dword [edx + eax*4 + 8]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 0x20]
lea eax, [eax + eax*2]
mov edx, dword [0x72f830]
mov edx, dword [edx + 8]
mov edx, dword [edx + eax*4 + 8]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x174]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x174]
call fcn.0045f2e4
call fcn.00459a4c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x174]
call fcn.0045f2e4
call fcn.00458a5c
jmp 0x577b98
inc dword [ebp - 0x20]
dec dword [ebp - 0x3c]
jne 0x577ab4
jmp 0x577b98
mov edx, dword [ebp - 4]
mov eax, 0x57a0c0
call fcn.00407d50
dec eax
jge 0x577b75
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xbc]
mov edx, dword [eax + 4]
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
call fcn.004077cc
cmp dword [ebp - 4], 0
je 0x577b98
mov eax, dword [ebp - 4]
call fcn.00415000
test al, al
je 0x577b98
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x174]
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x174]
call fcn.0045f3e4
cmp al, 7
je 0x577bfb
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x174]
mov dl, 7
call fcn.00460640
push 1
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x174]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x174]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00434c3c
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x174]
mov cl, 0xff
call fcn.00587688
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x174]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x174]
mov edx, 0xff00ff
call fcn.004607a8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x174]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov dl, 1
mov eax, dword [0x42e324]
call fcn.0043a92c
mov dword [ebp - 0x18], eax
mov dl, 1
mov eax, dword [ebp - 0x18]
call fcn.0043a9a8
mov dl, 1
mov eax, dword [0x42e324]
call fcn.0043a92c
mov dword [ebp - 0x1c], eax
mov dl, 1
mov eax, dword [ebp - 0x1c]
call fcn.0043a9a8
xor eax, eax
push ebp
push 0x5796d0
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x5796a1
inc eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x5c]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x44]
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x579695
inc eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x60]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x60]
mov edx, 0x57a080
call fcn.004079d0
jne 0x577d0b
lea ecx, [ebp - 0x64]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x64]
mov edx, 0x57a058
call fcn.004079d0
je 0x579689
push 0
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x68]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x68]
push eax
lea ecx, [ebp - 0x6c]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x14]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 4]
cmp dword [ebp - 4], 0
je 0x579689
mov eax, dword [ebp - 4]
movzx eax, word [eax]
sub ax, 0x21
je 0x578716
sub ax, 0x1f
je 0x577f99
sub ax, 0x1e
je 0x578162
sub ax, 0x20
jne 0x578de4
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
call fcn.00408af4
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
inc eax
push eax
mov eax, dword [ebp - 0x10]
add eax, 0xc0
mov ecx, 1
mov edx, dword [0x524dcc]
call fcn.00408cbc
add esp, 4
lea ecx, [ebp - 0x70]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x70]
mov ebx, dword [ebp - 0x28]
mov eax, ebx
add ebx, ebx
add ebx, ebx
add ebx, ebx
sub ebx, eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
lea eax, [eax + ebx*8 + 8]
call fcn.004072e8
lea ecx, [ebp - 0x74]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
lea eax, [eax + ebx*8 + 4]
call fcn.004072e8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
mov edx, dword [ebp - 0x10]
mov dword [eax + ebx*8 + 0x28], edx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
mov byte [eax + ebx*8 + 0x24], 1
lea eax, [ebp - 0x78]
push eax
mov ecx, 4
mov edx, 0x11
mov eax, dword [ebp - 4]
call fcn.00407a38
mov eax, dword [ebp - 0x78]
call fcn.00414aa0
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x7c]
push eax
mov ecx, 4
mov edx, 0xc
mov eax, dword [ebp - 4]
call fcn.00407a38
mov eax, dword [ebp - 0x7c]
call fcn.00414aa0
push eax
lea eax, [ebp - 0x80]
push eax
mov ecx, 4
mov edx, 7
mov eax, dword [ebp - 4]
call fcn.00407a38
mov eax, dword [ebp - 0x80]
call fcn.00414aa0
push eax
lea eax, [ebp - 0x84]
push eax
mov ecx, 4
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.00407a38
mov eax, dword [ebp - 0x84]
call fcn.00414aa0
pop edx
pop ecx
call fcn.00434c3c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
lea esi, [ebp - 0x58]
lea edi, [eax + ebx*8 + 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
mov word [eax + ebx*8 + 0x1c], 1
lea eax, [ebp - 0x88]
push eax
mov ecx, 2
mov edx, 0x16
mov eax, dword [ebp - 4]
call fcn.00407a38
mov eax, dword [ebp - 0x88]
call fcn.00414aa0
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
mov word [edx + ebx*8 + 0x22], ax
mov ebx, dword [ebp - 0x28]
mov eax, ebx
add ebx, ebx
add ebx, ebx
add ebx, ebx
sub ebx, eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
cmp word [eax + ebx*8 + 0x1e], 0
jle 0x577f3b
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xbc]
fld qword [eax + 0x10]
fcomp qword [ebp - 0x38]
wait
fnstsw ax
sahf
jae 0x577f3b
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
and word [eax + ebx*8 + 0x22], 0xfffe
lea eax, [ebp - 4]
call fcn.004065dc
call fcn.00407668
cmp eax, 0x18
jle 0x577f84
lea eax, [ebp - 0x8c]
push eax
mov ecx, 1
mov edx, 0x19
mov eax, dword [ebp - 4]
call fcn.00407a38
mov eax, dword [ebp - 0x8c]
call fcn.00414aa0
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
mov word [edx + ebx*8 + 0x1e], ax
jmp 0x579689
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
mov word [eax + ebx*8 + 0x1e], 0
jmp 0x579689
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
call fcn.00408af4
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
inc eax
push eax
mov eax, dword [ebp - 0x10]
add eax, 0xc0
mov ecx, 1
mov edx, dword [0x524dcc]
call fcn.00408cbc
add esp, 4
lea ecx, [ebp - 0x90]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x90]
mov ebx, dword [ebp - 0x28]
mov eax, ebx
add ebx, ebx
add ebx, ebx
add ebx, ebx
sub ebx, eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
lea eax, [eax + ebx*8 + 8]
call fcn.004072e8
lea ecx, [ebp - 0x94]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
lea eax, [eax + ebx*8 + 4]
call fcn.004072e8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
mov edx, dword [ebp - 0x10]
mov dword [eax + ebx*8 + 0x28], edx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
mov byte [eax + ebx*8 + 0x24], 2
lea eax, [ebp - 0x98]
push eax
mov ecx, 4
mov edx, 0x11
mov eax, dword [ebp - 4]
call fcn.00407a38
mov eax, dword [ebp - 0x98]
call fcn.00414aa0
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x9c]
push eax
mov ecx, 4
mov edx, 0xc
mov eax, dword [ebp - 4]
call fcn.00407a38
mov eax, dword [ebp - 0x9c]
call fcn.00414aa0
push eax
lea eax, [ebp - 0xa0]
push eax
mov ecx, 4
mov edx, 7
mov eax, dword [ebp - 4]
call fcn.00407a38
mov eax, dword [ebp - 0xa0]
call fcn.00414aa0
push eax
lea eax, [ebp - 0xa4]
push eax
mov ecx, 4
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.00407a38
mov eax, dword [ebp - 0xa4]
call fcn.00414aa0
pop edx
pop ecx
call fcn.00434c3c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
lea esi, [ebp - 0x58]
lea edi, [eax + ebx*8 + 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0xa8]
push eax
mov ecx, 1
mov edx, 0x16
mov eax, dword [ebp - 4]
call fcn.00407a38
mov eax, dword [ebp - 0xa8]
call fcn.00414aa0
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
mov word [edx + ebx*8 + 0x1c], ax
lea eax, [ebp - 0xac]
push eax
mov ecx, 1
mov edx, 0x18
mov eax, dword [ebp - 4]
call fcn.00407a38
mov eax, dword [ebp - 0xac]
call fcn.00414aa0
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
mov word [edx + ebx*8 + 0x1e], ax
jmp 0x579689
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
call fcn.00408af4
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
inc eax
push eax
mov eax, dword [ebp - 0x10]
add eax, 0xc0
mov ecx, 1
mov edx, dword [0x524dcc]
call fcn.00408cbc
add esp, 4
lea ecx, [ebp - 0xb0]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0xb0]
mov ebx, dword [ebp - 0x28]
mov eax, ebx
add ebx, ebx
add ebx, ebx
add ebx, ebx
sub ebx, eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
lea eax, [eax + ebx*8 + 8]
call fcn.004072e8
lea ecx, [ebp - 0xb4]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0xb4]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
lea eax, [eax + ebx*8 + 4]
call fcn.004072e8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
mov edx, dword [ebp - 0x10]
mov dword [eax + ebx*8 + 0x28], edx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
mov byte [eax + ebx*8 + 0x24], 0
lea eax, [ebp - 0xb8]
push eax
mov ecx, 4
mov edx, 0x11
mov eax, dword [ebp - 4]
call fcn.00407a38
mov eax, dword [ebp - 0xb8]
call fcn.00414aa0
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0xbc]
push eax
mov ecx, 4
mov edx, 0xc
mov eax, dword [ebp - 4]
call fcn.00407a38
mov eax, dword [ebp - 0xbc]
call fcn.00414aa0
push eax
lea eax, [ebp - 0xc0]
push eax
mov ecx, 4
mov edx, 7
mov eax, dword [ebp - 4]
call fcn.00407a38
mov eax, dword [ebp - 0xc0]
call fcn.00414aa0
push eax
lea eax, [ebp - 0xc4]
push eax
mov ecx, 4
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.00407a38
mov eax, dword [ebp - 0xc4]
call fcn.00414aa0
pop edx
pop ecx
call fcn.00434c3c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
lea esi, [ebp - 0x58]
lea edi, [eax + ebx*8 + 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0xc8]
push eax
mov ecx, 4
mov edx, 0x16
mov eax, dword [ebp - 4]
call fcn.00407a38
mov eax, dword [ebp - 0xc8]
call fcn.00414aa0
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
mov word [edx + ebx*8 + 0x2c], ax
lea eax, [ebp - 0xcc]
push eax
mov ecx, 4
mov edx, 0x1b
mov eax, dword [ebp - 4]
call fcn.00407a38
mov eax, dword [ebp - 0xcc]
call fcn.00414aa0
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
mov word [edx + ebx*8 + 0x2e], ax
lea eax, [ebp - 0xd0]
push eax
mov ecx, 4
mov edx, 0x20
mov eax, dword [ebp - 4]
call fcn.00407a38
mov eax, dword [ebp - 0xd0]
call fcn.00414aa0
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
mov word [edx + ebx*8 + 0x30], ax
lea eax, [ebp - 0xd4]
push eax
mov ecx, 4
mov edx, 0x25
mov eax, dword [ebp - 4]
call fcn.00407a38
mov eax, dword [ebp - 0xd4]
call fcn.00414aa0
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
mov word [edx + ebx*8 + 0x32], ax
lea eax, [ebp - 0xd8]
push eax
mov ecx, 1
mov edx, 0x2a
mov eax, dword [ebp - 4]
call fcn.00407a38
mov eax, dword [ebp - 0xd8]
call fcn.00414aa0
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
mov word [edx + ebx*8 + 0x1c], ax
lea eax, [ebp - 0xdc]
push eax
mov ecx, 1
mov edx, 0x2c
mov eax, dword [ebp - 4]
call fcn.00407a38
mov eax, dword [ebp - 0xdc]
call fcn.00414aa0
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
mov word [edx + ebx*8 + 0x1e], ax
lea eax, [ebp - 0xe0]
push eax
mov ecx, 1
mov edx, 0x2e
mov eax, dword [ebp - 4]
call fcn.00407a38
mov eax, dword [ebp - 0xe0]
call fcn.00414aa0
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
mov word [edx + ebx*8 + 0x22], ax
mov eax, dword [ebp - 0x28]
mov edx, eax
add eax, eax
add eax, eax
add eax, eax
sub eax, edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
cmp word [edx + eax*8 + 0x1e], 0
jle 0x57851d
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xbc]
fld qword [eax + 0x10]
fcomp qword [ebp - 0x38]
wait
fnstsw ax
sahf
jae 0x57851d
mov ebx, dword [ebp - 0x28]
mov eax, ebx
add ebx, ebx
add ebx, ebx
add ebx, ebx
sub ebx, eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
lea eax, [eax + ebx*8 + 0xc]
xor edx, edx
call fcn.005b681c
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
movsx edx, word [edx + ebx*8 + 0x1c]
mov ecx, edx
cdq
idiv ecx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
movsx edx, word [edx + ebx*8 + 0x2c]
sub eax, edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
movsx edx, word [edx + ebx*8 + 0x30]
sub eax, edx
dec eax
jne 0x57850e
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
lea eax, [eax + ebx*8 + 0xc]
xor edx, edx
call fcn.005b6830
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
movsx edx, word [edx + ebx*8 + 0x1e]
inc edx
mov ecx, edx
cdq
idiv ecx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
movsx edx, word [edx + ebx*8 + 0x2e]
sub eax, edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
movsx edx, word [edx + ebx*8 + 0x32]
sub eax, edx
dec eax
jne 0x57850e
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
or word [eax + ebx*8 + 0x22], 1
jmp 0x57851d
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
and word [eax + ebx*8 + 0x22], 0xfffe
lea eax, [ebp - 0xe4]
push eax
mov ecx, 1
mov edx, 0x30
mov eax, dword [ebp - 4]
call fcn.00407a38
mov eax, dword [ebp - 0xe4]
call fcn.00414aa0
mov ebx, dword [ebp - 0x28]
mov edx, ebx
add ebx, ebx
add ebx, ebx
add ebx, ebx
sub ebx, edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
mov word [edx + ebx*8 + 0x20], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
movsx eax, word [eax + ebx*8 + 0x2c]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
movsx edx, word [edx + ebx*8 + 0x2e]
add eax, edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
movsx edx, word [edx + ebx*8 + 0x30]
add eax, edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
movsx edx, word [edx + ebx*8 + 0x32]
add eax, edx
test eax, eax
jne 0x5786ef
mov eax, dword [ebp - 0x28]
mov edx, eax
add eax, eax
add eax, eax
add eax, eax
sub eax, edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
cmp word [edx + eax*8 + 0x20], 0
je 0x578646
mov eax, dword [ebp - 0x28]
mov edx, eax
add eax, eax
add eax, eax
add eax, eax
sub eax, edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
movzx eax, word [edx + eax*8 + 0x20]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
mov word [edx + ebx*8 + 0x2c], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
movzx eax, word [eax + ebx*8 + 0x20]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
mov word [edx + ebx*8 + 0x2e], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
movzx eax, word [eax + ebx*8 + 0x20]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
mov word [edx + ebx*8 + 0x30], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
movzx eax, word [eax + ebx*8 + 0x20]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
mov word [edx + ebx*8 + 0x32], ax
jmp 0x5786ef
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
lea eax, [eax + ebx*8 + 0xc]
xor edx, edx
call fcn.005b681c
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
movsx edx, word [edx + ebx*8 + 0x1c]
lea edx, [edx + edx*2]
mov ecx, edx
cdq
idiv ecx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
mov word [edx + ebx*8 + 0x2c], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
lea eax, [eax + ebx*8 + 0xc]
xor edx, edx
call fcn.005b6830
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
movsx edx, word [edx + ebx*8 + 0x1e]
inc edx
lea edx, [edx + edx*2]
mov ecx, edx
cdq
idiv ecx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
mov word [edx + ebx*8 + 0x2e], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
movzx eax, word [eax + ebx*8 + 0x2c]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
mov word [edx + ebx*8 + 0x30], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
movzx eax, word [eax + ebx*8 + 0x2e]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
mov word [edx + ebx*8 + 0x32], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
lea edx, [eax + ebx*8]
mov eax, dword [ebp - 0x10]
call fcn.00572ec0
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
mov word [edx + ebx*8 + 0x34], ax
jmp 0x579689
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0xec]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.0040753c
mov edx, dword [ebp - 0xec]
mov ecx, 0x57a0c4
mov eax, 1
call fcn.005b6a54
mov edx, dword [ebp - 0xe8]
lea eax, [ebp - 0xc]
call fcn.00407514
mov edx, dword [ebp - 0xc]
mov eax, 0x57a0f0
call fcn.00407d50
test eax, eax
setg bl
test bl, bl
jne 0x57877e
mov edx, dword [ebp - 0xc]
mov eax, 0x57a108
call fcn.00407d50
test eax, eax
jle 0x579689
xor esi, esi
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x178], 0
je 0x57889f
mov eax, dword [0x72f830]
mov edi, dword [eax + 4]
dec edi
test edi, edi
jl 0x578944
inc edi
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x28]
lea eax, [eax + eax*2]
mov edx, dword [0x72f830]
mov edx, dword [edx + 8]
mov eax, dword [edx + eax*4]
lea edx, [ebp - 0xf0]
call fcn.00413a64
mov eax, dword [ebp - 0xf0]
mov edx, dword [ebp - 0xc]
call fcn.004079d0
jne 0x578890
mov dl, 1
mov eax, dword [0x45539c]
call fcn.0045e9c4
mov esi, eax
mov eax, dword [ebp - 0x28]
lea eax, [eax + eax*2]
mov edx, dword [0x72f830]
mov edx, dword [edx + 8]
mov eax, dword [edx + eax*4 + 8]
xor ecx, ecx
xor edx, edx
mov edi, dword [eax]
call dword [edi + 0x14]
test bl, bl
je 0x578827
mov eax, dword [ebp - 0x28]
lea eax, [eax + eax*2]
mov edx, dword [0x72f830]
mov edx, dword [edx + 8]
mov edx, dword [edx + eax*4 + 8]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x5c]
jmp 0x578944
mov dl, 1
mov eax, dword [0x58ba2c]
call fcn.0058df00
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
lea eax, [eax + eax*2]
mov edx, dword [0x72f830]
mov edx, dword [edx + 8]
mov edx, dword [edx + eax*4 + 8]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
mov edx, dword [ebp - 0x2c]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 8]
fld xword [0x57a114]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xbc]
fcomp qword [eax + 0x10]
wait
fnstsw ax
sahf
jae 0x57887c
mov eax, esi
call fcn.005953ac
jmp 0x578883
mov eax, esi
call fcn.005952ec
lea eax, [ebp - 0x2c]
call fcn.0041caa8
jmp 0x578944
inc dword [ebp - 0x28]
dec edi
jne 0x5787a9
jmp 0x578944
mov edx, dword [ebp - 0xc]
mov eax, 0x57a0c0
call fcn.00407d50
dec eax
jge 0x5788c6
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xbc]
mov edx, dword [eax + 4]
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
call fcn.004077cc
mov eax, dword [ebp - 0xc]
call fcn.00415000
test al, al
je 0x578944
mov dl, 1
mov eax, dword [0x45539c]
call fcn.0045e9c4
mov esi, eax
test bl, bl
je 0x5788f0
mov edx, dword [ebp - 0xc]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x54]
jmp 0x578944
mov dl, 1
mov eax, dword [0x58ba2c]
call fcn.0058df00
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, dword [ebp - 0x2c]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 8]
fld xword [0x57a114]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xbc]
fcomp qword [eax + 0x10]
wait
fnstsw ax
sahf
jae 0x578935
mov eax, esi
call fcn.005953ac
jmp 0x57893c
mov eax, esi
call fcn.005952ec
lea eax, [ebp - 0x2c]
call fcn.0041caa8
test esi, esi
je 0x579689
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x30]
test eax, eax
jle 0x579689
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
call fcn.00408af4
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
inc eax
push eax
mov eax, dword [ebp - 0x10]
add eax, 0xc0
mov ecx, 1
mov edx, dword [0x524dcc]
call fcn.00408cbc
add esp, 4
xor eax, eax
push ebp
push 0x578dda
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x28]
mov edx, eax
add eax, eax
add eax, eax
add eax, eax
sub eax, edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
mov dword [edx + eax*8], esi
mov eax, dword [ebp - 0x28]
mov edx, eax
add eax, eax
add eax, eax
add eax, eax
sub eax, edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
mov eax, dword [edx + eax*8]
call fcn.0045f2e4
call fcn.00459a4c
mov eax, dword [ebp - 0x28]
mov edx, eax
add eax, eax
add eax, eax
add eax, eax
sub eax, edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
mov eax, dword [edx + eax*8]
call fcn.0045f2e4
call fcn.00458a5c
mov ecx, 0x57a0c4
mov edx, dword [ebp - 4]
mov eax, 4
call fcn.00572dbc
mov edx, 4
call fcn.0040eb14
mov edx, dword [0x6a7124]
movzx eax, byte [edx + eax]
mov edx, dword [ebp - 0x28]
mov ecx, edx
add edx, edx
add edx, edx
add edx, edx
sub edx, ecx
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0xc0]
mov byte [ecx + edx*8 + 0x24], al
mov eax, dword [ebp - 0x28]
mov edx, eax
add eax, eax
add eax, eax
add eax, eax
sub eax, edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
mov eax, dword [edx + eax*8]
call fcn.0045f3e4
cmp al, 7
je 0x578af0
mov eax, dword [ebp - 0x28]
mov edx, eax
add eax, eax
add eax, eax
add eax, eax
sub eax, edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
mov eax, dword [edx + eax*8]
mov dl, 7
call fcn.00460640
push 1
mov eax, dword [ebp - 0x28]
mov edx, eax
add eax, eax
add eax, eax
add eax, eax
sub eax, edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
mov eax, dword [edx + eax*8]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x28]
mov edx, eax
add eax, eax
add eax, eax
add eax, eax
sub eax, edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
mov eax, dword [edx + eax*8]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00434c3c
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 0x28]
mov ecx, eax
add eax, eax
add eax, eax
add eax, eax
sub eax, ecx
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0xc0]
mov eax, dword [ecx + eax*8]
mov cl, 0xff
call fcn.00587688
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x579689
lea ecx, [ebp - 0xf4]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0xf4]
mov ebx, dword [ebp - 0x28]
mov eax, ebx
add ebx, ebx
add ebx, ebx
add ebx, ebx
sub ebx, eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
lea eax, [eax + ebx*8 + 8]
call fcn.004072e8
lea ecx, [ebp - 0xf8]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0xf8]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
lea eax, [eax + ebx*8 + 4]
call fcn.004072e8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
mov edx, dword [ebp - 0x10]
mov dword [eax + ebx*8 + 0x28], edx
mov ecx, 0x57a0c4
mov edx, dword [ebp - 4]
mov eax, 2
call fcn.00572dbc
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
mov word [edx + ebx*8 + 0x1c], ax
mov ecx, 0x57a0c4
mov edx, dword [ebp - 4]
mov eax, 3
call fcn.00572dbc
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
mov word [edx + ebx*8 + 0x1e], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
mov eax, dword [eax + ebx*8]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
mov eax, dword [eax + ebx*8]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00434c3c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
lea esi, [ebp - 0x58]
lea edi, [eax + ebx*8 + 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0xfc]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.0040753c
mov eax, dword [ebp - 0xfc]
mov edx, 0x57a0c4
call fcn.005b6bd4
cmp eax, 4
jle 0x578ca3
mov ecx, 0x57a0c4
mov edx, dword [ebp - 4]
mov eax, 5
call fcn.00572dbc
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
mov word [edx + ebx*8 + 0x2c], ax
mov ecx, 0x57a0c4
mov edx, dword [ebp - 4]
mov eax, 6
call fcn.00572dbc
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
mov word [edx + ebx*8 + 0x2e], ax
mov ecx, 0x57a0c4
mov edx, dword [ebp - 4]
mov eax, 7
call fcn.00572dbc
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
mov word [edx + ebx*8 + 0x30], ax
mov ecx, 0x57a0c4
mov edx, dword [ebp - 4]
mov eax, 8
call fcn.00572dbc
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
mov word [edx + ebx*8 + 0x32], ax
jmp 0x578d4d
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
lea eax, [eax + ebx*8]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
lea eax, [eax + ebx*8 + 0xc]
xor edx, edx
call fcn.005b681c
mov edx, dword [ebp - 0x44]
movsx edx, word [edx + 0x1c]
lea edx, [edx + edx*2]
mov ecx, edx
cdq
idiv ecx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
mov word [edx + ebx*8 + 0x2c], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
lea eax, [eax + ebx*8 + 0xc]
xor edx, edx
call fcn.005b6830
mov edx, dword [ebp - 0x44]
movsx edx, word [edx + 0x1e]
inc edx
lea edx, [edx + edx*2]
mov ecx, edx
cdq
idiv ecx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
mov word [edx + ebx*8 + 0x2e], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
movzx eax, word [eax + ebx*8 + 0x2c]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
mov word [edx + ebx*8 + 0x30], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
movzx eax, word [eax + ebx*8 + 0x2e]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
mov word [edx + ebx*8 + 0x32], ax
lea eax, [ebp - 0x100]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.0040753c
mov eax, dword [ebp - 0x100]
mov edx, 0x57a0c4
call fcn.005b6bd4
cmp eax, 8
jle 0x578d97
mov ecx, 0x57a0c4
mov edx, dword [ebp - 4]
mov eax, 9
call fcn.00572dbc
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
mov word [edx + ebx*8 + 0x22], ax
jmp 0x578da7
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
mov word [eax + ebx*8 + 0x22], 1
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
cmp byte [eax + ebx*8 + 0x24], 0
jne 0x578dd9
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
lea edx, [eax + ebx*8]
mov eax, dword [ebp - 0x10]
call fcn.00572ec0
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
mov word [edx + ebx*8 + 0x34], ax
ret
mov edx, dword [ebp - 4]
mov eax, 0x57a12c
call fcn.00407d50
test eax, eax
jle 0x579233
mov eax, dword [ebp - 4]
mov edx, 0x57a12c
call fcn.004079d0
je 0x579689
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
call fcn.00408af4
inc eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x10]
add eax, 0xc0
mov ecx, 1
mov edx, dword [0x524dcc]
call fcn.00408cbc
add esp, 4
lea ecx, [ebp - 0x108]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x108]
lea edx, [ebp - 0x104]
call fcn.00413a64
mov edx, dword [ebp - 0x104]
mov ebx, dword [ebp - 0x28]
mov eax, ebx
add ebx, ebx
add ebx, ebx
add ebx, ebx
sub ebx, eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
lea eax, [eax + ebx*8 - 0x30]
call fcn.004072e8
lea ecx, [ebp - 0x110]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x110]
lea edx, [ebp - 0x10c]
call fcn.00413a64
mov edx, dword [ebp - 0x10c]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
lea eax, [eax + ebx*8 - 0x34]
call fcn.004072e8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
mov edx, dword [ebp - 0x10]
mov dword [eax + ebx*8 - 0x10], edx
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x118]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.0040753c
mov edx, dword [ebp - 0x118]
mov ecx, 0x57a130
mov eax, 2
call fcn.005b6a54
mov edx, dword [ebp - 0x114]
lea eax, [ebp - 8]
call fcn.00407514
mov ecx, 0x57a150
mov edx, dword [ebp - 8]
mov eax, 4
call fcn.00572dbc
push eax
lea eax, [ebp - 0x58]
push eax
mov ecx, 0x57a150
mov edx, dword [ebp - 8]
mov eax, 3
call fcn.00572dbc
push eax
mov ecx, 0x57a150
mov edx, dword [ebp - 8]
mov eax, 2
call fcn.00572dbc
push eax
mov ecx, 0x57a170
mov edx, dword [ebp - 8]
mov eax, 1
call fcn.00572dbc
pop edx
pop ecx
call fcn.00434c3c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
lea esi, [ebp - 0x58]
lea edi, [eax + ebx*8 - 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x120]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.0040753c
mov edx, dword [ebp - 0x120]
mov ecx, 0x57a130
mov eax, 3
call fcn.005b6a54
mov edx, dword [ebp - 0x11c]
lea eax, [ebp - 8]
call fcn.00407514
mov ecx, 0x57a150
mov edx, dword [ebp - 8]
mov eax, 1
call fcn.00572dbc
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
mov word [edx + ebx*8 - 0x1c], ax
mov eax, dword [ebp - 0x28]
mov edx, eax
add eax, eax
add eax, eax
add eax, eax
sub eax, edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
cmp word [edx + eax*8 - 0x1c], 1
jge 0x579000
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
mov word [eax + ebx*8 - 0x1c], 1
mov ecx, 0x57a150
mov edx, dword [ebp - 8]
mov eax, 2
call fcn.00572dbc
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
mov word [edx + ebx*8 - 0x1a], ax
mov eax, dword [ebp - 0x28]
mov edx, eax
add eax, eax
add eax, eax
add eax, eax
sub eax, edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
cmp word [edx + eax*8 - 0x1a], 0
jge 0x57904e
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
mov word [eax + ebx*8 - 0x1a], 0
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x128]
mov edx, dword [ebp - 8]
mov ecx, 0
call fcn.0040753c
mov edx, dword [ebp - 0x128]
mov ecx, 0x57a150
mov eax, 3
call fcn.005b6a54
mov edx, dword [ebp - 0x124]
lea eax, [ebp - 0xc]
call fcn.00407514
cmp dword [ebp - 0xc], 0
je 0x5790d7
mov eax, dword [ebp - 0xc]
call fcn.00414aa0
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
mov word [edx + ebx*8 - 0x18], ax
mov eax, dword [ebp - 0x28]
mov edx, eax
add eax, eax
add eax, eax
add eax, eax
sub eax, edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
cmp word [edx + eax*8 - 0x18], 0
jge 0x5790e7
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
mov word [eax + ebx*8 - 0x18], 0
jmp 0x5790e7
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
mov word [eax + ebx*8 - 0x18], 0
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x130]
mov edx, dword [ebp - 8]
mov ecx, 0
call fcn.0040753c
mov edx, dword [ebp - 0x130]
mov ecx, 0x57a150
mov eax, 4
call fcn.005b6a54
mov edx, dword [ebp - 0x12c]
lea eax, [ebp - 0xc]
call fcn.00407514
cmp dword [ebp - 0xc], 0
je 0x579142
mov eax, dword [ebp - 0xc]
call fcn.00414aa0
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
mov word [edx + ebx*8 - 0x16], ax
jmp 0x579152
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
mov word [eax + ebx*8 - 0x16], 1
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
lea esi, [eax + ebx*8 - 0x38]
movsx eax, word [esi + 0x2c]
movsx edx, word [esi + 0x2e]
add eax, edx
movsx edx, word [esi + 0x30]
add eax, edx
movsx edx, word [esi + 0x32]
add eax, edx
test eax, eax
jne 0x5791ff
cmp word [esi + 0x20], 0
je 0x5791a6
movzx eax, word [esi + 0x20]
mov word [esi + 0x2c], ax
movzx eax, word [esi + 0x20]
mov word [esi + 0x2e], ax
movzx eax, word [esi + 0x20]
mov word [esi + 0x30], ax
movzx eax, word [esi + 0x20]
mov word [esi + 0x32], ax
jmp 0x5791ff
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
lea eax, [eax + ebx*8 - 0x2c]
xor edx, edx
call fcn.005b681c
movsx edx, word [esi + 0x1c]
lea edx, [edx + edx*2]
mov ecx, edx
cdq
idiv ecx
mov word [esi + 0x2c], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
lea eax, [eax + ebx*8 - 0x2c]
xor edx, edx
call fcn.005b6830
movsx edx, word [esi + 0x1e]
inc edx
lea edx, [edx + edx*2]
mov ecx, edx
cdq
idiv ecx
mov word [esi + 0x2e], ax
movzx eax, word [esi + 0x2c]
mov word [esi + 0x30], ax
movzx eax, word [esi + 0x2e]
mov word [esi + 0x32], ax
mov eax, dword [ebp - 0x28]
mov edx, eax
add eax, eax
add eax, eax
add eax, eax
sub eax, edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
lea edx, [edx + eax*8]
mov eax, dword [ebp - 0x10]
call fcn.00572ec0
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
mov word [edx + ebx*8 + 0x34], ax
jmp 0x579689
lea edx, [ebp - 0x134]
mov eax, dword [ebp - 4]
call fcn.00413e2c
mov edx, dword [ebp - 0x134]
lea eax, [ebp - 4]
call fcn.0040733c
mov edx, dword [ebp - 4]
mov eax, 0x57a0f0
call fcn.00407d50
test eax, eax
jle 0x579689
xor esi, esi
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x178], 0
je 0x57930a
mov eax, dword [0x72f830]
mov edi, dword [eax + 4]
dec edi
test edi, edi
jl 0x579355
inc edi
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x28]
lea eax, [eax + eax*2]
mov edx, dword [0x72f830]
mov edx, dword [edx + 8]
mov eax, dword [edx + eax*4]
lea edx, [ebp - 0x138]
call fcn.00413a64
mov eax, dword [ebp - 0x138]
mov edx, dword [ebp - 4]
call fcn.004079d0
jne 0x579302
mov dl, 1
mov eax, dword [0x45539c]
call fcn.0045e9c4
mov esi, eax
mov eax, dword [ebp - 0x28]
lea eax, [eax + eax*2]
mov edx, dword [0x72f830]
mov edx, dword [edx + 8]
mov eax, dword [edx + eax*4 + 8]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 0x28]
lea eax, [eax + eax*2]
mov edx, dword [0x72f830]
mov edx, dword [edx + 8]
mov edx, dword [edx + eax*4 + 8]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x5c]
jmp 0x579355
inc dword [ebp - 0x28]
dec edi
jne 0x57928f
jmp 0x579355
mov edx, dword [ebp - 4]
mov eax, 0x57a0c0
call fcn.00407d50
dec eax
jge 0x579331
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xbc]
mov edx, dword [eax + 4]
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
call fcn.004077cc
mov eax, dword [ebp - 4]
call fcn.00415000
test al, al
je 0x579355
mov dl, 1
mov eax, dword [0x45539c]
call fcn.0045e9c4
mov esi, eax
mov edx, dword [ebp - 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x54]
test esi, esi
je 0x579689
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x30]
test eax, eax
jle 0x579689
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
call fcn.00408af4
inc eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x10]
add eax, 0xc0
mov ecx, 1
mov edx, dword [0x524dcc]
call fcn.00408cbc
add esp, 4
mov ebx, dword [ebp - 0x28]
mov eax, ebx
add ebx, ebx
add ebx, ebx
add ebx, ebx
sub ebx, eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
mov dword [eax + ebx*8 - 0x38], esi
mov eax, dword [ebp - 0x28]
mov edx, eax
add eax, eax
add eax, eax
add eax, eax
sub eax, edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
mov eax, dword [edx + eax*8 - 0x38]
call fcn.0045f2e4
call fcn.00459a4c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
mov eax, dword [eax + ebx*8 - 0x38]
call fcn.0045f2e4
call fcn.00458a5c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
lea eax, [eax + ebx*8 - 0x30]
xor edx, edx
call fcn.004072e8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
lea eax, [eax + ebx*8 - 0x34]
xor edx, edx
call fcn.004072e8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
mov edx, dword [ebp - 0x10]
mov dword [eax + ebx*8 - 0x10], edx
xor eax, eax
push ebp
push 0x57967f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
mov eax, dword [eax + ebx*8 - 0x38]
call fcn.0045f3e4
cmp al, 7
je 0x5794bc
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
mov eax, dword [eax + ebx*8 - 0x38]
mov dl, 7
call fcn.00460640
push 1
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
mov eax, dword [eax + ebx*8 - 0x38]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x28]
mov edx, eax
add eax, eax
add eax, eax
add eax, eax
sub eax, edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
mov eax, dword [edx + eax*8 - 0x38]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00434c3c
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
mov eax, dword [eax + ebx*8 - 0x38]
mov cl, 0xff
call fcn.00587688
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x579689
lea ecx, [ebp - 0x140]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x140]
lea edx, [ebp - 0x13c]
call fcn.00413a64
mov edx, dword [ebp - 0x13c]
mov ebx, dword [ebp - 0x28]
mov eax, ebx
add ebx, ebx
add ebx, ebx
add ebx, ebx
sub ebx, eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
lea eax, [eax + ebx*8 - 0x30]
call fcn.004072e8
lea ecx, [ebp - 0x148]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x148]
lea edx, [ebp - 0x144]
call fcn.00413a64
mov edx, dword [ebp - 0x144]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
lea eax, [eax + ebx*8 - 0x34]
call fcn.004072e8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
mov word [eax + ebx*8 - 0x1a], 1
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
mov word [eax + ebx*8 - 0x1c], 3
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
mov eax, dword [eax + ebx*8 - 0x38]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
mov eax, dword [eax + ebx*8 - 0x38]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00434c3c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
lea esi, [ebp - 0x58]
lea edi, [eax + ebx*8 - 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
lea eax, [eax + ebx*8 - 0x2c]
xor edx, edx
call fcn.005b681c
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
movsx edx, word [edx + ebx*8 - 0x1c]
lea edx, [edx + edx*2]
mov ecx, edx
cdq
idiv ecx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
mov word [edx + ebx*8 - 0xc], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
lea eax, [eax + ebx*8 - 0x2c]
xor edx, edx
call fcn.005b6830
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
movsx edx, word [edx + ebx*8 - 0x1a]
inc edx
lea edx, [edx + edx*2]
mov ecx, edx
cdq
idiv ecx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
mov word [edx + ebx*8 - 0xa], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
movzx eax, word [eax + ebx*8 - 0xc]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
mov word [edx + ebx*8 - 8], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
movzx eax, word [eax + ebx*8 - 0xa]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
mov word [edx + ebx*8 - 6], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
lea edx, [eax + ebx*8 - 0x38]
mov eax, dword [ebp - 0x10]
call fcn.00572ec0
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
mov word [edx + ebx*8 - 4], ax
ret
inc dword [ebp - 0x24]
dec dword [ebp - 0x40]
jne 0x577ccd
inc dword [ebp - 0x20]
dec dword [ebp - 0x3c]
jne 0x577c95
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5796d7
cmp dword [ebp - 0x1c], 0
je 0x5796bc
lea eax, [ebp - 0x1c]
call fcn.0041caa8
cmp dword [ebp - 0x18], 0
je 0x5796ca
lea eax, [ebp - 0x18]
call fcn.0041caa8
xor eax, eax
mov dword [ebp - 0x14], eax
ret
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x64]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x579f88
mov ecx, 0x57a19c
mov dl, 1
mov eax, dword [0x44bb88]
call fcn.0044d408
mov dword [ebp - 0x14], eax
mov dl, 1
mov eax, dword [ebp - 0x14]
call fcn.0044daec
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x64]
mov eax, dword [ebp - 0x14]
call fcn.0044db54
mov dl, 1
mov eax, dword [0x42e324]
call fcn.0043a92c
mov dword [ebp - 0x18], eax
mov dl, 1
mov eax, dword [ebp - 0x18]
call fcn.0043a9a8
mov dl, 1
mov eax, dword [0x42e324]
call fcn.0043a92c
mov dword [ebp - 0x1c], eax
mov dl, 1
mov eax, dword [ebp - 0x1c]
call fcn.0043a9a8
xor eax, eax
push ebp
push 0x579f81
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x64]
mov eax, dword [ebp - 0x14]
call fcn.0044db54
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x579f55
inc eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x150]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x150]
lea edx, [ebp - 0x14c]
call fcn.00413a64
mov eax, dword [ebp - 0x14c]
mov edx, 0x57a080
call fcn.004079d0
je 0x579f49
lea ecx, [ebp - 0x154]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x154]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x44]
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x579f49
inc eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x24], 0
push 0x57a1b4
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x158]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x158]
push eax
lea ecx, [ebp - 0x15c]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x15c]
mov eax, dword [ebp - 0x14]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x174], 0
je 0x579ca2
mov edx, dword [ebp - 4]
mov eax, 0x57a12c
call fcn.00407d50
test eax, eax
jle 0x579ca2
mov eax, dword [ebp - 4]
mov edx, 0x57a12c
call fcn.004079d0
je 0x579f3d
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
call fcn.00408af4
inc eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x10]
add eax, 0xc0
mov ecx, 1
mov edx, dword [0x524dcc]
call fcn.00408cbc
add esp, 4
lea ecx, [ebp - 0x164]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x164]
lea edx, [ebp - 0x160]
call fcn.00413a64
mov edx, dword [ebp - 0x160]
mov ebx, dword [ebp - 0x28]
mov eax, ebx
add ebx, ebx
add ebx, ebx
add ebx, ebx
sub ebx, eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
lea eax, [eax + ebx*8 - 0x30]
call fcn.004072e8
lea ecx, [ebp - 0x16c]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x16c]
lea edx, [ebp - 0x168]
call fcn.00413a64
mov edx, dword [ebp - 0x168]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
lea eax, [eax + ebx*8 - 0x34]
call fcn.004072e8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
mov edx, dword [ebp - 0x10]
mov dword [eax + ebx*8 - 0x10], edx
lea eax, [ebp - 0x170]
push eax
lea eax, [ebp - 0x174]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.0040753c
mov edx, dword [ebp - 0x174]
mov ecx, 0x57a130
mov eax, 2
call fcn.005b6a54
mov edx, dword [ebp - 0x170]
lea eax, [ebp - 8]
call fcn.00407514
mov ecx, 0x57a150
mov edx, dword [ebp - 8]
mov eax, 4
call fcn.00572dbc
push eax
lea eax, [ebp - 0x58]
push eax
mov ecx, 0x57a150
mov edx, dword [ebp - 8]
mov eax, 3
call fcn.00572dbc
push eax
mov ecx, 0x57a150
mov edx, dword [ebp - 8]
mov eax, 2
call fcn.00572dbc
push eax
mov ecx, 0x57a150
mov edx, dword [ebp - 8]
mov eax, 1
call fcn.00572dbc
pop edx
pop ecx
call fcn.00434c3c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
lea esi, [ebp - 0x58]
lea edi, [eax + ebx*8 - 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x178]
push eax
lea eax, [ebp - 0x17c]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.0040753c
mov edx, dword [ebp - 0x17c]
mov ecx, 0x57a130
mov eax, 3
call fcn.005b6a54
mov edx, dword [ebp - 0x178]
lea eax, [ebp - 8]
call fcn.00407514
mov ecx, 0x57a150
mov edx, dword [ebp - 8]
mov eax, 1
call fcn.00572dbc
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
mov word [edx + ebx*8 - 0x1c], ax
mov eax, dword [ebp - 0x28]
mov edx, eax
add eax, eax
add eax, eax
add eax, eax
sub eax, edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
cmp word [edx + eax*8 - 0x1c], 1
jge 0x579a6e
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
mov word [eax + ebx*8 - 0x1c], 1
mov ecx, 0x57a150
mov edx, dword [ebp - 8]
mov eax, 2
call fcn.00572dbc
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
mov word [edx + ebx*8 - 0x1a], ax
mov eax, dword [ebp - 0x28]
mov edx, eax
add eax, eax
add eax, eax
add eax, eax
sub eax, edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
cmp word [edx + eax*8 - 0x1a], 0
jge 0x579abc
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
mov word [eax + ebx*8 - 0x1a], 0
lea eax, [ebp - 0x180]
push eax
lea eax, [ebp - 0x184]
mov edx, dword [ebp - 8]
mov ecx, 0
call fcn.0040753c
mov edx, dword [ebp - 0x184]
mov ecx, 0x57a150
mov eax, 3
call fcn.005b6a54
mov edx, dword [ebp - 0x180]
lea eax, [ebp - 0xc]
call fcn.00407514
cmp dword [ebp - 0xc], 0
je 0x579b45
mov eax, dword [ebp - 0xc]
call fcn.00414aa0
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
mov word [edx + ebx*8 - 0x18], ax
mov eax, dword [ebp - 0x28]
mov edx, eax
add eax, eax
add eax, eax
add eax, eax
sub eax, edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
cmp word [edx + eax*8 - 0x18], 0
jge 0x579b55
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
mov word [eax + ebx*8 - 0x18], 0
jmp 0x579b55
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
mov word [eax + ebx*8 - 0x18], 0
lea eax, [ebp - 0x188]
push eax
lea eax, [ebp - 0x18c]
mov edx, dword [ebp - 8]
mov ecx, 0
call fcn.0040753c
mov edx, dword [ebp - 0x18c]
mov ecx, 0x57a150
mov eax, 4
call fcn.005b6a54
mov edx, dword [ebp - 0x188]
lea eax, [ebp - 0xc]
call fcn.00407514
cmp dword [ebp - 0xc], 0
je 0x579bb0
mov eax, dword [ebp - 0xc]
call fcn.00414aa0
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
mov word [edx + ebx*8 - 0x16], ax
jmp 0x579bc0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
mov word [eax + ebx*8 - 0x16], 1
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
lea esi, [eax + ebx*8 - 0x38]
movsx eax, word [esi + 0x2c]
movsx edx, word [esi + 0x2e]
add eax, edx
movsx edx, word [esi + 0x30]
add eax, edx
movsx edx, word [esi + 0x32]
add eax, edx
test eax, eax
jne 0x579c6d
cmp word [esi + 0x20], 0
je 0x579c14
movzx eax, word [esi + 0x20]
mov word [esi + 0x2c], ax
movzx eax, word [esi + 0x20]
mov word [esi + 0x2e], ax
movzx eax, word [esi + 0x20]
mov word [esi + 0x30], ax
movzx eax, word [esi + 0x20]
mov word [esi + 0x32], ax
jmp 0x579c6d
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
lea eax, [eax + ebx*8 - 0x2c]
xor edx, edx
call fcn.005b681c
movsx edx, word [esi + 0x1c]
lea edx, [edx + edx*2]
mov ecx, edx
cdq
idiv ecx
mov word [esi + 0x2c], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
lea eax, [eax + ebx*8 - 0x2c]
xor edx, edx
call fcn.005b6830
movsx edx, word [esi + 0x1e]
inc edx
lea edx, [edx + edx*2]
mov ecx, edx
cdq
idiv ecx
mov word [esi + 0x2e], ax
movzx eax, word [esi + 0x2c]
mov word [esi + 0x30], ax
movzx eax, word [esi + 0x2e]
mov word [esi + 0x32], ax
mov eax, dword [ebp - 0x28]
mov edx, eax
add eax, eax
add eax, eax
add eax, eax
sub eax, edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
lea edx, [edx + eax*8 - 0x38]
mov eax, dword [ebp - 0x10]
call fcn.00572ec0
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
mov word [edx + ebx*8 - 4], ax
jmp 0x579f3d
lea edx, [ebp - 0x190]
mov eax, dword [ebp - 4]
call fcn.00413e2c
mov edx, dword [ebp - 0x190]
lea eax, [ebp - 4]
call fcn.0040733c
mov edx, dword [ebp - 4]
mov eax, 0x57a0f0
call fcn.00407d50
test eax, eax
jle 0x579f3d
mov edx, dword [ebp - 4]
mov eax, 0x57a0c0
call fcn.00407d50
dec eax
jge 0x579cfa
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xbc]
mov edx, dword [eax + 4]
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
call fcn.004077cc
mov eax, dword [ebp - 4]
call fcn.00415000
test al, al
je 0x579f3d
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
call fcn.00408af4
inc eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x10]
add eax, 0xc0
mov ecx, 1
mov edx, dword [0x524dcc]
call fcn.00408cbc
add esp, 4
mov ebx, dword [ebp - 0x28]
mov eax, ebx
add ebx, ebx
add ebx, ebx
add ebx, ebx
sub ebx, eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
lea eax, [eax + ebx*8 - 0x30]
xor edx, edx
call fcn.004072e8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
lea eax, [eax + ebx*8 - 0x34]
xor edx, edx
call fcn.004072e8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
mov edx, dword [ebp - 0x10]
mov dword [eax + ebx*8 - 0x10], edx
xor eax, eax
push ebp
push 0x579edc
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x45539c]
call fcn.0045e9c4
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
mov dword [edx + ebx*8 - 0x38], eax
mov eax, dword [ebp - 0x28]
mov edx, eax
add eax, eax
add eax, eax
add eax, eax
sub eax, edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
mov eax, dword [edx + eax*8 - 0x38]
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
mov eax, dword [eax + ebx*8 - 0x38]
call fcn.0045f3e4
cmp al, 7
je 0x579e4d
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
mov eax, dword [eax + ebx*8 - 0x38]
mov dl, 7
call fcn.00460640
push 1
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
mov eax, dword [eax + ebx*8 - 0x38]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x28]
mov edx, eax
add eax, eax
add eax, eax
add eax, eax
sub eax, edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc0]
mov eax, dword [edx + eax*8 - 0x38]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00434c3c
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
mov eax, dword [eax + ebx*8 - 0x38]
mov cl, 0xff
call fcn.00587688
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x579ee6
lea ecx, [ebp - 0x198]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x198]
lea edx, [ebp - 0x194]
call fcn.00413a64
mov edx, dword [ebp - 0x194]
mov ebx, dword [ebp - 0x28]
mov eax, ebx
add ebx, ebx
add ebx, ebx
add ebx, ebx
sub ebx, eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
lea eax, [eax + ebx*8 - 0x30]
call fcn.004072e8
lea ecx, [ebp - 0x1a0]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x1a0]
lea edx, [ebp - 0x19c]
call fcn.00413a64
mov edx, dword [ebp - 0x19c]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc0]
lea eax, [eax + ebx*8 - 0x34]
call fcn.004072e8
ret
inc dword [ebp - 0x24]
dec dword [ebp - 0x40]
jne 0x579801
inc dword [ebp - 0x20]
dec dword [ebp - 0x3c]
jne 0x57978b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x579f88
cmp dword [ebp - 0x1c], 0
je 0x579f70
lea eax, [ebp - 0x1c]
call fcn.0041caa8
lea eax, [ebp - 0x14]
call fcn.0041caa8
lea eax, [ebp - 0x18]
call fcn.0041caa8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57a045
lea eax, [ebp - 0x1a0]
mov edx, 5
call fcn.004072e0
lea eax, [ebp - 0x18c]
mov edx, 8
call fcn.00406404
lea eax, [ebp - 0x16c]
mov edx, 0xf
call fcn.004072e0
lea eax, [ebp - 0x130]
mov edx, 8
call fcn.00406404
lea eax, [ebp - 0x110]
mov edx, 4
call fcn.004072e0
lea eax, [ebp - 0x100]
mov edx, 2
call fcn.00406404
lea eax, [ebp - 0xf8]
mov edx, 3
call fcn.004072e0
lea eax, [ebp - 0xec]
mov edx, 2
call fcn.00406404
lea eax, [ebp - 0xe4]
mov edx, 0x23
call fcn.004072e0
lea eax, [ebp - 0x48]
call fcn.004072d8
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004072e0
ret