Function at 0x57773c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x34
push 0
push 0
dec ecx
jne 0x577744
push ebx
push esi
push edi
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x579d7d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
call fcn.0057a90c
cmp dword [0x65b948], 0
je 0x579424
mov eax, dword [0x65b948]
mov dword [ebp - 0x14], eax
push 0
lea eax, [ebp - 4]
push eax
mov ecx, 0x579d9c
mov edx, 0x579dc4
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx]
mov eax, dword [0x65546c]
movzx eax, word [eax]
mov word [ebp - 0x2e], ax
mov eax, dword [0x65546c]
mov word [eax], 0x2e
mov dword [ebp - 0x38], 0x9999999a
mov dword [ebp - 0x34], 0x401d9999
push 0
push 0
mov edx, 0x579dc4
mov ecx, 0x579de8
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x24]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
fstp qword [eax + 0x10]
wait
mov eax, dword [0x65546c]
movzx edx, word [ebp - 0x2e]
mov word [eax], dx
mov dl, 1
mov eax, dword [0x4370a0]
call fcn.0043e6d4
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x19c], eax
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x1a0], 0
je 0x5778c1
mov eax, dword [0x65ba6c]
mov eax, dword [eax + 4]
dec eax
test eax, eax
jl 0x57790b
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 [0x65ba6c]
mov edx, dword [edx + 8]
mov eax, dword [edx + eax*4]
lea edx, [ebp - 0x48]
call fcn.0040d0fc
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 4]
call fcn.00406f04
jne 0x5778b3
mov eax, dword [ebp - 0x20]
lea eax, [eax + eax*2]
mov edx, dword [0x65ba6c]
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 [0x65ba6c]
mov edx, dword [edx + 8]
mov edx, dword [edx + eax*4 + 8]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x19c]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x19c]
call fcn.0043efec
call fcn.00439e30
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x19c]
call fcn.0043efec
call fcn.00439768
jmp 0x57790b
inc dword [ebp - 0x20]
dec dword [ebp - 0x3c]
jne 0x577827
jmp 0x57790b
mov edx, dword [ebp - 4]
mov eax, 0x579e04
call fcn.00407224
dec eax
jge 0x5778e8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
mov edx, dword [eax + 4]
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
call fcn.00406c34
cmp dword [ebp - 4], 0
je 0x57790b
mov eax, dword [ebp - 4]
call fcn.0040e8c0
test al, al
je 0x57790b
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x19c]
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x19c]
call fcn.0043f0d8
cmp al, 7
je 0x577971
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x19c]
mov dl, 7
call fcn.004402b0
push 0xff00ff
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x19c]
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 + 0x19c]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.004095c8
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x19c]
mov cl, 0xff
call fcn.0050a1d4
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x19c]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x19c]
mov edx, 0xff00ff
call fcn.00440418
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x19c]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov dl, 1
mov eax, dword [0x421e10]
call fcn.004279ec
mov dword [ebp - 0x18], eax
mov dl, 1
mov eax, dword [ebp - 0x18]
call fcn.00427a24
mov dl, 1
mov eax, dword [0x421e10]
call fcn.004279ec
mov dword [ebp - 0x1c], eax
mov dl, 1
mov eax, dword [ebp - 0x1c]
call fcn.00427a24
xor eax, eax
push ebp
push 0x57941d
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 + 0x44]
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x5793ee
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 + 0x40]
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x5793e2
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, 0x579dc4
call fcn.00406f04
jne 0x577a81
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, 0x579d9c
call fcn.00406f04
je 0x5793d6
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]
cmp dword [ebp - 4], 0
je 0x5793d6
mov eax, dword [ebp - 4]
movzx eax, word [eax]
sub ax, 0x21
je 0x57848b
sub ax, 0x1f
je 0x577d0e
sub ax, 0x1e
je 0x577ed7
sub ax, 0x20
jne 0x578b5c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
call fcn.00408154
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
inc eax
push eax
mov eax, dword [ebp - 0x10]
add eax, 0xd4
mov ecx, 1
mov edx, dword [0x4ba954]
call fcn.0040831c
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 + 0xd4]
lea eax, [eax + ebx*8 + 8]
call fcn.00406750
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 + 0xd4]
lea eax, [eax + ebx*8 + 4]
call fcn.00406750
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
mov edx, dword [ebp - 0x10]
mov dword [eax + ebx*8 + 0x28], edx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
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.00406f0c
mov eax, dword [ebp - 0x78]
call fcn.0040e1a8
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.00406f0c
mov eax, dword [ebp - 0x7c]
call fcn.0040e1a8
push eax
lea eax, [ebp - 0x80]
push eax
mov ecx, 4
mov edx, 7
mov eax, dword [ebp - 4]
call fcn.00406f0c
mov eax, dword [ebp - 0x80]
call fcn.0040e1a8
push eax
lea eax, [ebp - 0x84]
push eax
mov ecx, 4
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.00406f0c
mov eax, dword [ebp - 0x84]
call fcn.0040e1a8
pop edx
pop ecx
call fcn.004095c8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
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 + 0xd4]
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.00406f0c
mov eax, dword [ebp - 0x88]
call fcn.0040e1a8
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd4]
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 + 0xd4]
cmp word [eax + ebx*8 + 0x1e], 0
jle 0x577cb0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
fld qword [eax + 0x10]
fcomp qword [ebp - 0x38]
wait
fnstsw ax
sahf
jae 0x577cb0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
and word [eax + ebx*8 + 0x22], 0xfffe
lea eax, [ebp - 4]
call fcn.004058f4
call fcn.00406ad0
cmp eax, 0x18
jle 0x577cf9
lea eax, [ebp - 0x8c]
push eax
mov ecx, 1
mov edx, 0x19
mov eax, dword [ebp - 4]
call fcn.00406f0c
mov eax, dword [ebp - 0x8c]
call fcn.0040e1a8
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd4]
mov word [edx + ebx*8 + 0x1e], ax
jmp 0x5793d6
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
mov word [eax + ebx*8 + 0x1e], 0
jmp 0x5793d6
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
call fcn.00408154
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
inc eax
push eax
mov eax, dword [ebp - 0x10]
add eax, 0xd4
mov ecx, 1
mov edx, dword [0x4ba954]
call fcn.0040831c
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 + 0xd4]
lea eax, [eax + ebx*8 + 8]
call fcn.00406750
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 + 0xd4]
lea eax, [eax + ebx*8 + 4]
call fcn.00406750
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
mov edx, dword [ebp - 0x10]
mov dword [eax + ebx*8 + 0x28], edx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
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.00406f0c
mov eax, dword [ebp - 0x98]
call fcn.0040e1a8
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.00406f0c
mov eax, dword [ebp - 0x9c]
call fcn.0040e1a8
push eax
lea eax, [ebp - 0xa0]
push eax
mov ecx, 4
mov edx, 7
mov eax, dword [ebp - 4]
call fcn.00406f0c
mov eax, dword [ebp - 0xa0]
call fcn.0040e1a8
push eax
lea eax, [ebp - 0xa4]
push eax
mov ecx, 4
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.00406f0c
mov eax, dword [ebp - 0xa4]
call fcn.0040e1a8
pop edx
pop ecx
call fcn.004095c8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
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.00406f0c
mov eax, dword [ebp - 0xa8]
call fcn.0040e1a8
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd4]
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.00406f0c
mov eax, dword [ebp - 0xac]
call fcn.0040e1a8
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd4]
mov word [edx + ebx*8 + 0x1e], ax
jmp 0x5793d6
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
call fcn.00408154
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
inc eax
push eax
mov eax, dword [ebp - 0x10]
add eax, 0xd4
mov ecx, 1
mov edx, dword [0x4ba954]
call fcn.0040831c
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 + 0xd4]
lea eax, [eax + ebx*8 + 8]
call fcn.00406750
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 + 0xd4]
lea eax, [eax + ebx*8 + 4]
call fcn.00406750
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
mov edx, dword [ebp - 0x10]
mov dword [eax + ebx*8 + 0x28], edx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
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.00406f0c
mov eax, dword [ebp - 0xb8]
call fcn.0040e1a8
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.00406f0c
mov eax, dword [ebp - 0xbc]
call fcn.0040e1a8
push eax
lea eax, [ebp - 0xc0]
push eax
mov ecx, 4
mov edx, 7
mov eax, dword [ebp - 4]
call fcn.00406f0c
mov eax, dword [ebp - 0xc0]
call fcn.0040e1a8
push eax
lea eax, [ebp - 0xc4]
push eax
mov ecx, 4
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.00406f0c
mov eax, dword [ebp - 0xc4]
call fcn.0040e1a8
pop edx
pop ecx
call fcn.004095c8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
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.00406f0c
mov eax, dword [ebp - 0xc8]
call fcn.0040e1a8
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd4]
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.00406f0c
mov eax, dword [ebp - 0xcc]
call fcn.0040e1a8
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd4]
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.00406f0c
mov eax, dword [ebp - 0xd0]
call fcn.0040e1a8
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd4]
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.00406f0c
mov eax, dword [ebp - 0xd4]
call fcn.0040e1a8
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd4]
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.00406f0c
mov eax, dword [ebp - 0xd8]
call fcn.0040e1a8
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd4]
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.00406f0c
mov eax, dword [ebp - 0xdc]
call fcn.0040e1a8
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd4]
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.00406f0c
mov eax, dword [ebp - 0xe0]
call fcn.0040e1a8
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd4]
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 + 0xd4]
cmp word [edx + eax*8 + 0x1e], 0
jle 0x578292
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
fld qword [eax + 0x10]
fcomp qword [ebp - 0x38]
wait
fnstsw ax
sahf
jae 0x578292
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 + 0xd4]
lea eax, [eax + ebx*8 + 0xc]
xor edx, edx
call fcn.00570fe4
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd4]
movsx edx, word [edx + ebx*8 + 0x1c]
mov ecx, edx
cdq
idiv ecx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd4]
movsx edx, word [edx + ebx*8 + 0x2c]
sub eax, edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd4]
movsx edx, word [edx + ebx*8 + 0x30]
sub eax, edx
dec eax
jne 0x578283
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
lea eax, [eax + ebx*8 + 0xc]
xor edx, edx
call fcn.00570ff8
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd4]
movsx edx, word [edx + ebx*8 + 0x1e]
inc edx
mov ecx, edx
cdq
idiv ecx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd4]
movsx edx, word [edx + ebx*8 + 0x2e]
sub eax, edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd4]
movsx edx, word [edx + ebx*8 + 0x32]
sub eax, edx
dec eax
jne 0x578283
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
or word [eax + ebx*8 + 0x22], 1
jmp 0x578292
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
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.00406f0c
mov eax, dword [ebp - 0xe4]
call fcn.0040e1a8
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 + 0xd4]
mov word [edx + ebx*8 + 0x20], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
movsx eax, word [eax + ebx*8 + 0x2c]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd4]
movsx edx, word [edx + ebx*8 + 0x2e]
add eax, edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd4]
movsx edx, word [edx + ebx*8 + 0x30]
add eax, edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd4]
movsx edx, word [edx + ebx*8 + 0x32]
add eax, edx
test eax, eax
jne 0x578464
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 + 0xd4]
cmp word [edx + eax*8 + 0x20], 0
je 0x5783bb
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 + 0xd4]
movzx eax, word [edx + eax*8 + 0x20]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd4]
mov word [edx + ebx*8 + 0x2c], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
movzx eax, word [eax + ebx*8 + 0x20]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd4]
mov word [edx + ebx*8 + 0x2e], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
movzx eax, word [eax + ebx*8 + 0x20]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd4]
mov word [edx + ebx*8 + 0x30], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
movzx eax, word [eax + ebx*8 + 0x20]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd4]
mov word [edx + ebx*8 + 0x32], ax
jmp 0x578464
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
lea eax, [eax + ebx*8 + 0xc]
xor edx, edx
call fcn.00570fe4
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd4]
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 + 0xd4]
mov word [edx + ebx*8 + 0x2c], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
lea eax, [eax + ebx*8 + 0xc]
xor edx, edx
call fcn.00570ff8
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd4]
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 + 0xd4]
mov word [edx + ebx*8 + 0x2e], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
movzx eax, word [eax + ebx*8 + 0x2c]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd4]
mov word [edx + ebx*8 + 0x30], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
movzx eax, word [eax + ebx*8 + 0x2e]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd4]
mov word [edx + ebx*8 + 0x32], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
lea edx, [eax + ebx*8]
mov eax, dword [ebp - 0x10]
call fcn.00573b94
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd4]
mov word [edx + ebx*8 + 0x34], ax
jmp 0x5793d6
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0xec]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.004069a4
mov edx, dword [ebp - 0xec]
mov ecx, 0x579e08
mov eax, 1
call fcn.0057123c
mov edx, dword [ebp - 0xe8]
lea eax, [ebp - 0xc]
call fcn.0040697c
mov edx, dword [ebp - 0xc]
mov eax, 0x579e34
call fcn.00407224
test eax, eax
setg bl
test bl, bl
jne 0x5784f3
mov edx, dword [ebp - 0xc]
mov eax, 0x579e4c
call fcn.00407224
test eax, eax
jle 0x5793d6
xor esi, esi
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x1a0], 0
je 0x578614
mov eax, dword [0x65ba6c]
mov edi, dword [eax + 4]
dec edi
test edi, edi
jl 0x5786b9
inc edi
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x28]
lea eax, [eax + eax*2]
mov edx, dword [0x65ba6c]
mov edx, dword [edx + 8]
mov eax, dword [edx + eax*4]
lea edx, [ebp - 0xf0]
call fcn.0040d0fc
mov eax, dword [ebp - 0xf0]
mov edx, dword [ebp - 0xc]
call fcn.00406f04
jne 0x578605
mov dl, 1
mov eax, dword [0x4370a0]
call fcn.0043e6d4
mov esi, eax
mov eax, dword [ebp - 0x28]
lea eax, [eax + eax*2]
mov edx, dword [0x65ba6c]
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 0x57859c
mov eax, dword [ebp - 0x28]
lea eax, [eax + eax*2]
mov edx, dword [0x65ba6c]
mov edx, dword [edx + 8]
mov edx, dword [edx + eax*4 + 8]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x5c]
jmp 0x5786b9
mov dl, 1
mov eax, dword [0x4bf908]
call fcn.004c169c
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
lea eax, [eax + eax*2]
mov edx, dword [0x65ba6c]
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 [0x579e58]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
fcomp qword [eax + 0x10]
wait
fnstsw ax
sahf
jae 0x5785f1
mov eax, esi
call fcn.005092c4
jmp 0x5785f8
mov eax, esi
call fcn.004c8eac
lea eax, [ebp - 0x2c]
call fcn.00415b74
jmp 0x5786b9
inc dword [ebp - 0x28]
dec edi
jne 0x57851e
jmp 0x5786b9
mov edx, dword [ebp - 0xc]
mov eax, 0x579e04
call fcn.00407224
dec eax
jge 0x57863b
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
mov edx, dword [eax + 4]
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
call fcn.00406c34
mov eax, dword [ebp - 0xc]
call fcn.0040e8c0
test al, al
je 0x5786b9
mov dl, 1
mov eax, dword [0x4370a0]
call fcn.0043e6d4
mov esi, eax
test bl, bl
je 0x578665
mov edx, dword [ebp - 0xc]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x54]
jmp 0x5786b9
mov dl, 1
mov eax, dword [0x4bf908]
call fcn.004c169c
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 [0x579e58]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
fcomp qword [eax + 0x10]
wait
fnstsw ax
sahf
jae 0x5786aa
mov eax, esi
call fcn.005092c4
jmp 0x5786b1
mov eax, esi
call fcn.004c8eac
lea eax, [ebp - 0x2c]
call fcn.00415b74
test esi, esi
je 0x5793d6
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x30]
test eax, eax
jle 0x5793d6
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
call fcn.00408154
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
inc eax
push eax
mov eax, dword [ebp - 0x10]
add eax, 0xd4
mov ecx, 1
mov edx, dword [0x4ba954]
call fcn.0040831c
add esp, 4
xor eax, eax
push ebp
push 0x578b52
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 + 0xd4]
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 + 0xd4]
mov eax, dword [edx + eax*8]
call fcn.0043efec
call fcn.00439e30
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 + 0xd4]
mov eax, dword [edx + eax*8]
call fcn.0043efec
call fcn.00439768
mov ecx, 0x579e08
mov edx, dword [ebp - 4]
mov eax, 4
call fcn.00573a7c
mov edx, 4
call fcn.0040b62c
mov edx, dword [0x654cf8]
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 + 0xd4]
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 + 0xd4]
mov eax, dword [edx + eax*8]
call fcn.0043f0d8
cmp al, 7
je 0x578868
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 + 0xd4]
mov eax, dword [edx + eax*8]
mov dl, 7
call fcn.004402b0
push 0xff00ff
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 + 0xd4]
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 + 0xd4]
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.004095c8
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 + 0xd4]
mov eax, dword [ecx + eax*8]
mov cl, 0xff
call fcn.0050a1d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5793d6
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 + 0xd4]
lea eax, [eax + ebx*8 + 8]
call fcn.00406750
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 + 0xd4]
lea eax, [eax + ebx*8 + 4]
call fcn.00406750
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
mov edx, dword [ebp - 0x10]
mov dword [eax + ebx*8 + 0x28], edx
mov ecx, 0x579e08
mov edx, dword [ebp - 4]
mov eax, 2
call fcn.00573a7c
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd4]
mov word [edx + ebx*8 + 0x1c], ax
mov ecx, 0x579e08
mov edx, dword [ebp - 4]
mov eax, 3
call fcn.00573a7c
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd4]
mov word [edx + ebx*8 + 0x1e], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
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 + 0xd4]
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.004095c8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
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.004069a4
mov eax, dword [ebp - 0xfc]
mov edx, 0x579e08
call fcn.005714b8
cmp eax, 4
jle 0x578a1b
mov ecx, 0x579e08
mov edx, dword [ebp - 4]
mov eax, 5
call fcn.00573a7c
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd4]
mov word [edx + ebx*8 + 0x2c], ax
mov ecx, 0x579e08
mov edx, dword [ebp - 4]
mov eax, 6
call fcn.00573a7c
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd4]
mov word [edx + ebx*8 + 0x2e], ax
mov ecx, 0x579e08
mov edx, dword [ebp - 4]
mov eax, 7
call fcn.00573a7c
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd4]
mov word [edx + ebx*8 + 0x30], ax
mov ecx, 0x579e08
mov edx, dword [ebp - 4]
mov eax, 8
call fcn.00573a7c
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd4]
mov word [edx + ebx*8 + 0x32], ax
jmp 0x578ac5
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
lea eax, [eax + ebx*8]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
lea eax, [eax + ebx*8 + 0xc]
xor edx, edx
call fcn.00570fe4
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 + 0xd4]
mov word [edx + ebx*8 + 0x2c], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
lea eax, [eax + ebx*8 + 0xc]
xor edx, edx
call fcn.00570ff8
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 + 0xd4]
mov word [edx + ebx*8 + 0x2e], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
movzx eax, word [eax + ebx*8 + 0x2c]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd4]
mov word [edx + ebx*8 + 0x30], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
movzx eax, word [eax + ebx*8 + 0x2e]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd4]
mov word [edx + ebx*8 + 0x32], ax
lea eax, [ebp - 0x100]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.004069a4
mov eax, dword [ebp - 0x100]
mov edx, 0x579e08
call fcn.005714b8
cmp eax, 8
jle 0x578b0f
mov ecx, 0x579e08
mov edx, dword [ebp - 4]
mov eax, 9
call fcn.00573a7c
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd4]
mov word [edx + ebx*8 + 0x22], ax
jmp 0x578b1f
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
mov word [eax + ebx*8 + 0x22], 1
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
cmp byte [eax + ebx*8 + 0x24], 0
jne 0x578b51
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
lea edx, [eax + ebx*8]
mov eax, dword [ebp - 0x10]
call fcn.00573b94
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd4]
mov word [edx + ebx*8 + 0x34], ax
ret
mov edx, dword [ebp - 4]
mov eax, 0x579e70
call fcn.00407224
test eax, eax
jle 0x578f7d
mov eax, dword [ebp - 4]
mov edx, 0x579e70
call fcn.00406f04
je 0x5793d6
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
call fcn.00408154
inc eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x10]
add eax, 0xd4
mov ecx, 1
mov edx, dword [0x4ba954]
call fcn.0040831c
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.0040d0fc
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 + 0xd4]
lea eax, [eax + ebx*8 - 0x30]
call fcn.00406750
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.0040d0fc
mov edx, dword [ebp - 0x10c]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
lea eax, [eax + ebx*8 - 0x34]
call fcn.00406750
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
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.004069a4
mov edx, dword [ebp - 0x118]
mov ecx, 0x579e74
mov eax, 2
call fcn.0057123c
mov edx, dword [ebp - 0x114]
lea eax, [ebp - 8]
call fcn.0040697c
mov ecx, 0x579e94
mov edx, dword [ebp - 8]
mov eax, 4
call fcn.00573a7c
push eax
lea eax, [ebp - 0x58]
push eax
mov ecx, 0x579e94
mov edx, dword [ebp - 8]
mov eax, 3
call fcn.00573a7c
push eax
mov ecx, 0x579e94
mov edx, dword [ebp - 8]
mov eax, 2
call fcn.00573a7c
push eax
mov ecx, 0x579eb4
mov edx, dword [ebp - 8]
mov eax, 1
call fcn.00573a7c
pop edx
pop ecx
call fcn.004095c8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
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.004069a4
mov edx, dword [ebp - 0x120]
mov ecx, 0x579e74
mov eax, 3
call fcn.0057123c
mov edx, dword [ebp - 0x11c]
lea eax, [ebp - 8]
call fcn.0040697c
mov ecx, 0x579e94
mov edx, dword [ebp - 8]
mov eax, 1
call fcn.00573a7c
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd4]
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 + 0xd4]
cmp word [edx + eax*8 - 0x1c], 1
jge 0x578d78
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
mov word [eax + ebx*8 - 0x1c], 1
mov ecx, 0x579e94
mov edx, dword [ebp - 8]
mov eax, 2
call fcn.00573a7c
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd4]
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 + 0xd4]
cmp word [edx + eax*8 - 0x1a], 0
jge 0x578dc6
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
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.004069a4
mov edx, dword [ebp - 0x128]
mov ecx, 0x579e94
mov eax, 3
call fcn.0057123c
mov edx, dword [ebp - 0x124]
lea eax, [ebp - 0xc]
call fcn.0040697c
cmp dword [ebp - 0xc], 0
je 0x578e4f
mov eax, dword [ebp - 0xc]
call fcn.0040e1a8
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd4]
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 + 0xd4]
cmp word [edx + eax*8 - 0x18], 0
jge 0x578e5f
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
mov word [eax + ebx*8 - 0x18], 0
jmp 0x578e5f
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
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.004069a4
mov edx, dword [ebp - 0x130]
mov ecx, 0x579e94
mov eax, 4
call fcn.0057123c
mov edx, dword [ebp - 0x12c]
lea eax, [ebp - 0xc]
call fcn.0040697c
cmp dword [ebp - 0xc], 0
je 0x578eba
mov eax, dword [ebp - 0xc]
call fcn.0040e1a8
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd4]
mov word [edx + ebx*8 - 0x16], ax
jmp 0x578eca
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
mov word [eax + ebx*8 - 0x16], 1
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
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 0x578f56
cmp word [esi + 0x20], 0
je 0x578f1a
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 0x578f56
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
lea eax, [eax + ebx*8 - 0x38]
call fcn.004ba9e4
mov word [esi + 0x2c], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
lea eax, [eax + ebx*8 - 0x38]
call fcn.004baa1c
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 - 0x10]
mov eax, dword [eax + 0xd4]
lea edx, [eax + ebx*8]
mov eax, dword [ebp - 0x10]
call fcn.00573b94
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd4]
mov word [edx + ebx*8 + 0x34], ax
jmp 0x5793d6
lea edx, [ebp - 0x134]
mov eax, dword [ebp - 4]
call fcn.0040d4c4
mov edx, dword [ebp - 0x134]
lea eax, [ebp - 4]
call fcn.004067a4
mov edx, dword [ebp - 4]
mov eax, 0x579e34
call fcn.00407224
test eax, eax
jle 0x5793d6
xor esi, esi
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x1a0], 0
je 0x579054
mov eax, dword [0x65ba6c]
mov edi, dword [eax + 4]
dec edi
test edi, edi
jl 0x57909f
inc edi
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x28]
lea eax, [eax + eax*2]
mov edx, dword [0x65ba6c]
mov edx, dword [edx + 8]
mov eax, dword [edx + eax*4]
lea edx, [ebp - 0x138]
call fcn.0040d0fc
mov eax, dword [ebp - 0x138]
mov edx, dword [ebp - 4]
call fcn.00406f04
jne 0x57904c
mov dl, 1
mov eax, dword [0x4370a0]
call fcn.0043e6d4
mov esi, eax
mov eax, dword [ebp - 0x28]
lea eax, [eax + eax*2]
mov edx, dword [0x65ba6c]
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 [0x65ba6c]
mov edx, dword [edx + 8]
mov edx, dword [edx + eax*4 + 8]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x5c]
jmp 0x57909f
inc dword [ebp - 0x28]
dec edi
jne 0x578fd9
jmp 0x57909f
mov edx, dword [ebp - 4]
mov eax, 0x579e04
call fcn.00407224
dec eax
jge 0x57907b
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
mov edx, dword [eax + 4]
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
call fcn.00406c34
mov eax, dword [ebp - 4]
call fcn.0040e8c0
test al, al
je 0x57909f
mov dl, 1
mov eax, dword [0x4370a0]
call fcn.0043e6d4
mov esi, eax
mov edx, dword [ebp - 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x54]
test esi, esi
je 0x5793d6
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x30]
test eax, eax
jle 0x5793d6
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
call fcn.00408154
inc eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x10]
add eax, 0xd4
mov ecx, 1
mov edx, dword [0x4ba954]
call fcn.0040831c
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 + 0xd4]
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 + 0xd4]
mov eax, dword [edx + eax*8 - 0x38]
call fcn.0043efec
call fcn.00439e30
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
mov eax, dword [eax + ebx*8 - 0x38]
call fcn.0043efec
call fcn.00439768
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
lea eax, [eax + ebx*8 - 0x30]
xor edx, edx
call fcn.00406750
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
lea eax, [eax + ebx*8 - 0x34]
xor edx, edx
call fcn.00406750
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
mov edx, dword [ebp - 0x10]
mov dword [eax + ebx*8 - 0x10], edx
xor eax, eax
push ebp
push 0x5793cc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
mov eax, dword [eax + ebx*8 - 0x38]
call fcn.0043f0d8
cmp al, 7
je 0x579209
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
mov eax, dword [eax + ebx*8 - 0x38]
mov dl, 7
call fcn.004402b0
push 0xff00ff
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
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 + 0xd4]
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.004095c8
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
mov eax, dword [eax + ebx*8 - 0x38]
mov cl, 0xff
call fcn.0050a1d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5793d6
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.0040d0fc
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 + 0xd4]
lea eax, [eax + ebx*8 - 0x30]
call fcn.00406750
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.0040d0fc
mov edx, dword [ebp - 0x144]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
lea eax, [eax + ebx*8 - 0x34]
call fcn.00406750
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
mov word [eax + ebx*8 - 0x1a], 1
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
mov word [eax + ebx*8 - 0x1c], 3
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
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 + 0xd4]
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.004095c8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
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 + 0xd4]
lea eax, [eax + ebx*8 - 0x2c]
xor edx, edx
call fcn.00570fe4
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd4]
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 + 0xd4]
mov word [edx + ebx*8 - 0xc], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
lea eax, [eax + ebx*8 - 0x2c]
xor edx, edx
call fcn.00570ff8
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd4]
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 + 0xd4]
mov word [edx + ebx*8 - 0xa], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
movzx eax, word [eax + ebx*8 - 0xc]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd4]
mov word [edx + ebx*8 - 8], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
movzx eax, word [eax + ebx*8 - 0xa]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd4]
mov word [edx + ebx*8 - 6], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
lea edx, [eax + ebx*8 - 0x38]
mov eax, dword [ebp - 0x10]
call fcn.00573b94
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd4]
mov word [edx + ebx*8 - 4], ax
ret
inc dword [ebp - 0x24]
dec dword [ebp - 0x40]
jne 0x577a43
inc dword [ebp - 0x20]
dec dword [ebp - 0x3c]
jne 0x577a0b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x579424
cmp dword [ebp - 0x1c], 0
je 0x579409
lea eax, [ebp - 0x1c]
call fcn.00415b74
cmp dword [ebp - 0x18], 0
je 0x579417
lea eax, [ebp - 0x18]
call fcn.00415b74
xor eax, eax
mov dword [ebp - 0x14], eax
ret
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x5c]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x579cca
mov ecx, 0x579ee0
mov dl, 1
mov eax, dword [0x4331e4]
call fcn.00434370
mov dword [ebp - 0x14], eax
mov dl, 1
mov eax, dword [ebp - 0x14]
call fcn.00434a30
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x5c]
mov eax, dword [ebp - 0x14]
call fcn.00434a98
mov dl, 1
mov eax, dword [0x421e10]
call fcn.004279ec
mov dword [ebp - 0x18], eax
mov dl, 1
mov eax, dword [ebp - 0x18]
call fcn.00427a24
mov dl, 1
mov eax, dword [0x421e10]
call fcn.004279ec
mov dword [ebp - 0x1c], eax
mov dl, 1
mov eax, dword [ebp - 0x1c]
call fcn.00427a24
xor eax, eax
push ebp
push 0x579cc3
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 + 0x44]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x5c]
mov eax, dword [ebp - 0x14]
call fcn.00434a98
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x579c97
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.0040d0fc
mov eax, dword [ebp - 0x14c]
mov edx, 0x579dc4
call fcn.00406f04
je 0x579c8b
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 + 0x40]
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x579c8b
inc eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x24], 0
push 0x579ef8
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]
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x19c], 0
je 0x5799e1
mov edx, dword [ebp - 4]
mov eax, 0x579e70
call fcn.00407224
test eax, eax
jle 0x5799e1
mov eax, dword [ebp - 4]
mov edx, 0x579e70
call fcn.00406f04
je 0x579c7f
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
call fcn.00408154
inc eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x10]
add eax, 0xd4
mov ecx, 1
mov edx, dword [0x4ba954]
call fcn.0040831c
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.0040d0fc
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 + 0xd4]
lea eax, [eax + ebx*8 - 0x30]
call fcn.00406750
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.0040d0fc
mov edx, dword [ebp - 0x168]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
lea eax, [eax + ebx*8 - 0x34]
call fcn.00406750
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
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.004069a4
mov edx, dword [ebp - 0x174]
mov ecx, 0x579e74
mov eax, 2
call fcn.0057123c
mov edx, dword [ebp - 0x170]
lea eax, [ebp - 8]
call fcn.0040697c
mov ecx, 0x579e94
mov edx, dword [ebp - 8]
mov eax, 4
call fcn.00573a7c
push eax
lea eax, [ebp - 0x58]
push eax
mov ecx, 0x579e94
mov edx, dword [ebp - 8]
mov eax, 3
call fcn.00573a7c
push eax
mov ecx, 0x579e94
mov edx, dword [ebp - 8]
mov eax, 2
call fcn.00573a7c
push eax
mov ecx, 0x579e94
mov edx, dword [ebp - 8]
mov eax, 1
call fcn.00573a7c
pop edx
pop ecx
call fcn.004095c8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
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.004069a4
mov edx, dword [ebp - 0x17c]
mov ecx, 0x579e74
mov eax, 3
call fcn.0057123c
mov edx, dword [ebp - 0x178]
lea eax, [ebp - 8]
call fcn.0040697c
mov ecx, 0x579e94
mov edx, dword [ebp - 8]
mov eax, 1
call fcn.00573a7c
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd4]
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 + 0xd4]
cmp word [edx + eax*8 - 0x1c], 1
jge 0x5797ba
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
mov word [eax + ebx*8 - 0x1c], 1
mov ecx, 0x579e94
mov edx, dword [ebp - 8]
mov eax, 2
call fcn.00573a7c
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd4]
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 + 0xd4]
cmp word [edx + eax*8 - 0x1a], 0
jge 0x579808
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
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.004069a4
mov edx, dword [ebp - 0x184]
mov ecx, 0x579e94
mov eax, 3
call fcn.0057123c
mov edx, dword [ebp - 0x180]
lea eax, [ebp - 0xc]
call fcn.0040697c
cmp dword [ebp - 0xc], 0
je 0x579891
mov eax, dword [ebp - 0xc]
call fcn.0040e1a8
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd4]
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 + 0xd4]
cmp word [edx + eax*8 - 0x18], 0
jge 0x5798a1
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
mov word [eax + ebx*8 - 0x18], 0
jmp 0x5798a1
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
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.004069a4
mov edx, dword [ebp - 0x18c]
mov ecx, 0x579e94
mov eax, 4
call fcn.0057123c
mov edx, dword [ebp - 0x188]
lea eax, [ebp - 0xc]
call fcn.0040697c
cmp dword [ebp - 0xc], 0
je 0x5798fc
mov eax, dword [ebp - 0xc]
call fcn.0040e1a8
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd4]
mov word [edx + ebx*8 - 0x16], ax
jmp 0x57990c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
mov word [eax + ebx*8 - 0x16], 1
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
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 0x5799b9
cmp word [esi + 0x20], 0
je 0x579960
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 0x5799b9
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
lea eax, [eax + ebx*8 - 0x2c]
xor edx, edx
call fcn.00570fe4
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 + 0xd4]
lea eax, [eax + ebx*8 - 0x2c]
xor edx, edx
call fcn.00570ff8
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 - 0x10]
mov eax, dword [eax + 0xd4]
lea edx, [eax + ebx*8 - 0x38]
mov eax, dword [ebp - 0x10]
call fcn.00573b94
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd4]
mov word [edx + ebx*8 - 4], ax
jmp 0x579c7f
lea edx, [ebp - 0x190]
mov eax, dword [ebp - 4]
call fcn.0040d4c4
mov edx, dword [ebp - 0x190]
lea eax, [ebp - 4]
call fcn.004067a4
mov edx, dword [ebp - 4]
mov eax, 0x579e34
call fcn.00407224
test eax, eax
jle 0x579c7f
mov edx, dword [ebp - 4]
mov eax, 0x579e04
call fcn.00407224
dec eax
jge 0x579a39
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
mov edx, dword [eax + 4]
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
call fcn.00406c34
mov eax, dword [ebp - 4]
call fcn.0040e8c0
test al, al
je 0x579c7f
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
call fcn.00408154
inc eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x10]
add eax, 0xd4
mov ecx, 1
mov edx, dword [0x4ba954]
call fcn.0040831c
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 + 0xd4]
lea eax, [eax + ebx*8 - 0x30]
xor edx, edx
call fcn.00406750
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
lea eax, [eax + ebx*8 - 0x34]
xor edx, edx
call fcn.00406750
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
mov edx, dword [ebp - 0x10]
mov dword [eax + ebx*8 - 0x10], edx
xor eax, eax
push ebp
push 0x579c1e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x4370a0]
call fcn.0043e6d4
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd4]
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 + 0xd4]
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 + 0xd4]
mov eax, dword [eax + ebx*8 - 0x38]
call fcn.0043f0d8
cmp al, 7
je 0x579b8f
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
mov eax, dword [eax + ebx*8 - 0x38]
mov dl, 7
call fcn.004402b0
push 0xff00ff
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
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 + 0xd4]
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.004095c8
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
mov eax, dword [eax + ebx*8 - 0x38]
mov cl, 0xff
call fcn.0050a1d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x579c28
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.0040d0fc
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 + 0xd4]
lea eax, [eax + ebx*8 - 0x30]
call fcn.00406750
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.0040d0fc
mov edx, dword [ebp - 0x19c]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd4]
lea eax, [eax + ebx*8 - 0x34]
call fcn.00406750
ret
inc dword [ebp - 0x24]
dec dword [ebp - 0x40]
jne 0x57954e
inc dword [ebp - 0x20]
dec dword [ebp - 0x3c]
jne 0x5794d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x579cca
cmp dword [ebp - 0x1c], 0
je 0x579cb2
lea eax, [ebp - 0x1c]
call fcn.00415b74
lea eax, [ebp - 0x14]
call fcn.00415b74
lea eax, [ebp - 0x18]
call fcn.00415b74
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x579d87
lea eax, [ebp - 0x1a0]
mov edx, 5
call fcn.00406748
lea eax, [ebp - 0x18c]
mov edx, 8
call fcn.0040571c
lea eax, [ebp - 0x16c]
mov edx, 0xf
call fcn.00406748
lea eax, [ebp - 0x130]
mov edx, 8
call fcn.0040571c
lea eax, [ebp - 0x110]
mov edx, 4
call fcn.00406748
lea eax, [ebp - 0x100]
mov edx, 2
call fcn.0040571c
lea eax, [ebp - 0xf8]
mov edx, 3
call fcn.00406748
lea eax, [ebp - 0xec]
mov edx, 2
call fcn.0040571c
lea eax, [ebp - 0xe4]
mov edx, 0x23
call fcn.00406748
lea eax, [ebp - 0x48]
call fcn.00406740
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00406748
ret