Function at 0x59e04c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x34
push 0
push 0
dec ecx
jne 0x59e054
push ebx
push esi
push edi
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x5a06cb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
call fcn.005a1258
cmp dword [0x635acc], 0
je 0x59fd64
mov eax, dword [0x635acc]
mov dword [ebp - 0x14], eax
push 0
lea eax, [ebp - 4]
push eax
mov ecx, 0x5a06e8
mov edx, 0x5a0710
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [0x62f764]
movzx eax, word [eax]
mov word [ebp - 0x2e], ax
mov eax, dword [0x62f764]
mov word [eax], 0x2e
mov dword [ebp - 0x38], 0x9999999a
mov dword [ebp - 0x34], 0x401d9999
push 0
push 0
mov edx, 0x5a0710
mov ecx, 0x5a0734
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x28]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xcc]
fstp qword [eax + 0x10]
wait
mov eax, dword [0x62f764]
movzx edx, word [ebp - 0x2e]
mov word [eax], dx
mov dl, 1
mov eax, dword [0x455994]
call fcn.0045efbc
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x198], eax
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x19c], 0
je 0x59e1d2
mov eax, dword [0x635be8]
mov eax, dword [eax + 4]
dec eax
test eax, eax
jl 0x59e21c
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 [0x635be8]
mov edx, dword [edx + 8]
mov eax, dword [edx + eax*4]
lea edx, [ebp - 0x48]
call fcn.004133b8
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 4]
call fcn.004074f8
jne 0x59e1c4
mov eax, dword [ebp - 0x20]
lea eax, [eax + eax*2]
mov edx, dword [0x635be8]
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 [0x635be8]
mov edx, dword [edx + 8]
mov edx, dword [edx + eax*4 + 8]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x198]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x198]
call fcn.0045f8dc
call fcn.0045a044
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x198]
call fcn.0045f8dc
call fcn.00459054
jmp 0x59e21c
inc dword [ebp - 0x20]
dec dword [ebp - 0x3c]
jne 0x59e138
jmp 0x59e21c
mov edx, dword [ebp - 4]
mov eax, 0x5a0750
call fcn.00407878
dec eax
jge 0x59e1f9
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xcc]
mov edx, dword [eax + 4]
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
call fcn.004072f4
cmp dword [ebp - 4], 0
je 0x59e21c
mov eax, dword [ebp - 4]
call fcn.00414aa8
test al, al
je 0x59e21c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x198]
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x198]
call fcn.0045f9dc
cmp al, 7
je 0x59e282
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x198]
mov dl, 7
call fcn.00460c38
push 0xff00ff
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x198]
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 + 0x198]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.0040ab40
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x198]
mov cl, 0xff
call fcn.0054a550
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x198]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x198]
mov edx, 0xff00ff
call fcn.00460da0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x198]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov dl, 1
mov eax, dword [0x42e2a0]
call fcn.0043a878
mov dword [ebp - 0x18], eax
mov dl, 1
mov eax, dword [ebp - 0x18]
call fcn.0043a8f4
mov dl, 1
mov eax, dword [0x42e2a0]
call fcn.0043a878
mov dword [ebp - 0x1c], eax
mov dl, 1
mov eax, dword [ebp - 0x1c]
call fcn.0043a8f4
xor eax, eax
push ebp
push 0x59fd5d
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 0x59fd2e
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 0x59fd22
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, 0x5a0710
call fcn.004074f8
jne 0x59e392
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, 0x5a06e8
call fcn.004074f8
je 0x59fd16
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 0x59fd16
mov eax, dword [ebp - 4]
movzx eax, word [eax]
sub ax, 0x21
je 0x59ed9d
sub ax, 0x1f
je 0x59e620
sub ax, 0x1e
je 0x59e7e9
sub ax, 0x20
jne 0x59f46e
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
call fcn.0040861c
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
inc eax
push eax
mov eax, dword [ebp - 0x10]
add eax, 0xd0
mov ecx, 1
mov edx, dword [0x4f1f44]
call fcn.004087e4
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 + 0xd0]
lea eax, [eax + ebx*8 + 8]
call fcn.00406e10
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 + 0xd0]
lea eax, [eax + ebx*8 + 4]
call fcn.00406e10
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
mov edx, dword [ebp - 0x10]
mov dword [eax + ebx*8 + 0x28], edx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
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.00407560
mov eax, dword [ebp - 0x78]
call fcn.00414568
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.00407560
mov eax, dword [ebp - 0x7c]
call fcn.00414568
push eax
lea eax, [ebp - 0x80]
push eax
mov ecx, 4
mov edx, 7
mov eax, dword [ebp - 4]
call fcn.00407560
mov eax, dword [ebp - 0x80]
call fcn.00414568
push eax
lea eax, [ebp - 0x84]
push eax
mov ecx, 4
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.00407560
mov eax, dword [ebp - 0x84]
call fcn.00414568
pop edx
pop ecx
call fcn.0040ab40
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
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 + 0xd0]
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.00407560
mov eax, dword [ebp - 0x88]
call fcn.00414568
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
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 + 0xd0]
cmp word [eax + ebx*8 + 0x1e], 0
jle 0x59e5c2
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xcc]
fld qword [eax + 0x10]
fcomp qword [ebp - 0x38]
wait
fnstsw ax
sahf
jae 0x59e5c2
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
and word [eax + ebx*8 + 0x22], 0xfffe
lea eax, [ebp - 4]
call fcn.00406584
call fcn.00407190
cmp eax, 0x18
jle 0x59e60b
lea eax, [ebp - 0x8c]
push eax
mov ecx, 1
mov edx, 0x19
mov eax, dword [ebp - 4]
call fcn.00407560
mov eax, dword [ebp - 0x8c]
call fcn.00414568
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
mov word [edx + ebx*8 + 0x1e], ax
jmp 0x59fd16
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
mov word [eax + ebx*8 + 0x1e], 0
jmp 0x59fd16
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
call fcn.0040861c
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
inc eax
push eax
mov eax, dword [ebp - 0x10]
add eax, 0xd0
mov ecx, 1
mov edx, dword [0x4f1f44]
call fcn.004087e4
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 + 0xd0]
lea eax, [eax + ebx*8 + 8]
call fcn.00406e10
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 + 0xd0]
lea eax, [eax + ebx*8 + 4]
call fcn.00406e10
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
mov edx, dword [ebp - 0x10]
mov dword [eax + ebx*8 + 0x28], edx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
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.00407560
mov eax, dword [ebp - 0x98]
call fcn.00414568
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.00407560
mov eax, dword [ebp - 0x9c]
call fcn.00414568
push eax
lea eax, [ebp - 0xa0]
push eax
mov ecx, 4
mov edx, 7
mov eax, dword [ebp - 4]
call fcn.00407560
mov eax, dword [ebp - 0xa0]
call fcn.00414568
push eax
lea eax, [ebp - 0xa4]
push eax
mov ecx, 4
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.00407560
mov eax, dword [ebp - 0xa4]
call fcn.00414568
pop edx
pop ecx
call fcn.0040ab40
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
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.00407560
mov eax, dword [ebp - 0xa8]
call fcn.00414568
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
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.00407560
mov eax, dword [ebp - 0xac]
call fcn.00414568
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
mov word [edx + ebx*8 + 0x1e], ax
jmp 0x59fd16
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
call fcn.0040861c
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
inc eax
push eax
mov eax, dword [ebp - 0x10]
add eax, 0xd0
mov ecx, 1
mov edx, dword [0x4f1f44]
call fcn.004087e4
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 + 0xd0]
lea eax, [eax + ebx*8 + 8]
call fcn.00406e10
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 + 0xd0]
lea eax, [eax + ebx*8 + 4]
call fcn.00406e10
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
mov edx, dword [ebp - 0x10]
mov dword [eax + ebx*8 + 0x28], edx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
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.00407560
mov eax, dword [ebp - 0xb8]
call fcn.00414568
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.00407560
mov eax, dword [ebp - 0xbc]
call fcn.00414568
push eax
lea eax, [ebp - 0xc0]
push eax
mov ecx, 4
mov edx, 7
mov eax, dword [ebp - 4]
call fcn.00407560
mov eax, dword [ebp - 0xc0]
call fcn.00414568
push eax
lea eax, [ebp - 0xc4]
push eax
mov ecx, 4
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.00407560
mov eax, dword [ebp - 0xc4]
call fcn.00414568
pop edx
pop ecx
call fcn.0040ab40
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
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.00407560
mov eax, dword [ebp - 0xc8]
call fcn.00414568
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
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.00407560
mov eax, dword [ebp - 0xcc]
call fcn.00414568
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
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.00407560
mov eax, dword [ebp - 0xd0]
call fcn.00414568
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
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.00407560
mov eax, dword [ebp - 0xd4]
call fcn.00414568
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
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.00407560
mov eax, dword [ebp - 0xd8]
call fcn.00414568
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
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.00407560
mov eax, dword [ebp - 0xdc]
call fcn.00414568
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
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.00407560
mov eax, dword [ebp - 0xe0]
call fcn.00414568
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
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 + 0xd0]
cmp word [edx + eax*8 + 0x1e], 0
jle 0x59eba4
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xcc]
fld qword [eax + 0x10]
fcomp qword [ebp - 0x38]
wait
fnstsw ax
sahf
jae 0x59eba4
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 + 0xd0]
lea eax, [eax + ebx*8 + 0xc]
xor edx, edx
call fcn.00594f38
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
movsx edx, word [edx + ebx*8 + 0x1c]
mov ecx, edx
cdq
idiv ecx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
movsx edx, word [edx + ebx*8 + 0x2c]
sub eax, edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
movsx edx, word [edx + ebx*8 + 0x30]
sub eax, edx
dec eax
jne 0x59eb95
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
lea eax, [eax + ebx*8 + 0xc]
xor edx, edx
call fcn.00594f4c
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
movsx edx, word [edx + ebx*8 + 0x1e]
inc edx
mov ecx, edx
cdq
idiv ecx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
movsx edx, word [edx + ebx*8 + 0x2e]
sub eax, edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
movsx edx, word [edx + ebx*8 + 0x32]
sub eax, edx
dec eax
jne 0x59eb95
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
or word [eax + ebx*8 + 0x22], 1
jmp 0x59eba4
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
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.00407560
mov eax, dword [ebp - 0xe4]
call fcn.00414568
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 + 0xd0]
mov word [edx + ebx*8 + 0x20], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
movsx eax, word [eax + ebx*8 + 0x2c]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
movsx edx, word [edx + ebx*8 + 0x2e]
add eax, edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
movsx edx, word [edx + ebx*8 + 0x30]
add eax, edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
movsx edx, word [edx + ebx*8 + 0x32]
add eax, edx
test eax, eax
jne 0x59ed76
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 + 0xd0]
cmp word [edx + eax*8 + 0x20], 0
je 0x59eccd
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 + 0xd0]
movzx eax, word [edx + eax*8 + 0x20]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
mov word [edx + ebx*8 + 0x2c], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
movzx eax, word [eax + ebx*8 + 0x20]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
mov word [edx + ebx*8 + 0x2e], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
movzx eax, word [eax + ebx*8 + 0x20]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
mov word [edx + ebx*8 + 0x30], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
movzx eax, word [eax + ebx*8 + 0x20]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
mov word [edx + ebx*8 + 0x32], ax
jmp 0x59ed76
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
lea eax, [eax + ebx*8 + 0xc]
xor edx, edx
call fcn.00594f38
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
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 + 0xd0]
mov word [edx + ebx*8 + 0x2c], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
lea eax, [eax + ebx*8 + 0xc]
xor edx, edx
call fcn.00594f4c
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
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 + 0xd0]
mov word [edx + ebx*8 + 0x2e], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
movzx eax, word [eax + ebx*8 + 0x2c]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
mov word [edx + ebx*8 + 0x30], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
movzx eax, word [eax + ebx*8 + 0x2e]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
mov word [edx + ebx*8 + 0x32], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
lea edx, [eax + ebx*8]
mov eax, dword [ebp - 0x10]
call fcn.00599594
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
mov word [edx + ebx*8 + 0x34], ax
jmp 0x59fd16
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0xec]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.00407064
mov edx, dword [ebp - 0xec]
mov ecx, 0x5a0754
mov eax, 1
call fcn.005951a8
mov edx, dword [ebp - 0xe8]
lea eax, [ebp - 0xc]
call fcn.0040703c
mov edx, dword [ebp - 0xc]
mov eax, 0x5a0780
call fcn.00407878
test eax, eax
setg bl
test bl, bl
jne 0x59ee05
mov edx, dword [ebp - 0xc]
mov eax, 0x5a0798
call fcn.00407878
test eax, eax
jle 0x59fd16
xor esi, esi
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x19c], 0
je 0x59ef26
mov eax, dword [0x635be8]
mov edi, dword [eax + 4]
dec edi
test edi, edi
jl 0x59efcb
inc edi
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x28]
lea eax, [eax + eax*2]
mov edx, dword [0x635be8]
mov edx, dword [edx + 8]
mov eax, dword [edx + eax*4]
lea edx, [ebp - 0xf0]
call fcn.004133b8
mov eax, dword [ebp - 0xf0]
mov edx, dword [ebp - 0xc]
call fcn.004074f8
jne 0x59ef17
mov dl, 1
mov eax, dword [0x455994]
call fcn.0045efbc
mov esi, eax
mov eax, dword [ebp - 0x28]
lea eax, [eax + eax*2]
mov edx, dword [0x635be8]
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 0x59eeae
mov eax, dword [ebp - 0x28]
lea eax, [eax + eax*2]
mov edx, dword [0x635be8]
mov edx, dword [edx + 8]
mov edx, dword [edx + eax*4 + 8]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x5c]
jmp 0x59efcb
mov dl, 1
mov eax, dword [0x4f4774]
call fcn.004f6c44
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
lea eax, [eax + eax*2]
mov edx, dword [0x635be8]
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 [0x5a07a4]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xcc]
fcomp qword [eax + 0x10]
wait
fnstsw ax
sahf
jae 0x59ef03
mov eax, esi
call fcn.00549620
jmp 0x59ef0a
mov eax, esi
call fcn.004fe648
lea eax, [ebp - 0x2c]
call fcn.0041ca80
jmp 0x59efcb
inc dword [ebp - 0x28]
dec edi
jne 0x59ee30
jmp 0x59efcb
mov edx, dword [ebp - 0xc]
mov eax, 0x5a0750
call fcn.00407878
dec eax
jge 0x59ef4d
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xcc]
mov edx, dword [eax + 4]
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
call fcn.004072f4
mov eax, dword [ebp - 0xc]
call fcn.00414aa8
test al, al
je 0x59efcb
mov dl, 1
mov eax, dword [0x455994]
call fcn.0045efbc
mov esi, eax
test bl, bl
je 0x59ef77
mov edx, dword [ebp - 0xc]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x54]
jmp 0x59efcb
mov dl, 1
mov eax, dword [0x4f4774]
call fcn.004f6c44
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 [0x5a07a4]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xcc]
fcomp qword [eax + 0x10]
wait
fnstsw ax
sahf
jae 0x59efbc
mov eax, esi
call fcn.00549620
jmp 0x59efc3
mov eax, esi
call fcn.004fe648
lea eax, [ebp - 0x2c]
call fcn.0041ca80
test esi, esi
je 0x59fd16
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x30]
test eax, eax
jle 0x59fd16
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
call fcn.0040861c
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
inc eax
push eax
mov eax, dword [ebp - 0x10]
add eax, 0xd0
mov ecx, 1
mov edx, dword [0x4f1f44]
call fcn.004087e4
add esp, 4
xor eax, eax
push ebp
push 0x59f464
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 + 0xd0]
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 + 0xd0]
mov eax, dword [edx + eax*8]
call fcn.0045f8dc
call fcn.0045a044
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 + 0xd0]
mov eax, dword [edx + eax*8]
call fcn.0045f8dc
call fcn.00459054
mov ecx, 0x5a0754
mov edx, dword [ebp - 4]
mov eax, 4
call fcn.0059947c
mov edx, 4
call fcn.0040e468
mov edx, dword [0x62f0fc]
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 + 0xd0]
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 + 0xd0]
mov eax, dword [edx + eax*8]
call fcn.0045f9dc
cmp al, 7
je 0x59f17a
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 + 0xd0]
mov eax, dword [edx + eax*8]
mov dl, 7
call fcn.00460c38
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 + 0xd0]
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 + 0xd0]
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.0040ab40
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 + 0xd0]
mov eax, dword [ecx + eax*8]
mov cl, 0xff
call fcn.0054a550
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59fd16
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 + 0xd0]
lea eax, [eax + ebx*8 + 8]
call fcn.00406e10
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 + 0xd0]
lea eax, [eax + ebx*8 + 4]
call fcn.00406e10
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
mov edx, dword [ebp - 0x10]
mov dword [eax + ebx*8 + 0x28], edx
mov ecx, 0x5a0754
mov edx, dword [ebp - 4]
mov eax, 2
call fcn.0059947c
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
mov word [edx + ebx*8 + 0x1c], ax
mov ecx, 0x5a0754
mov edx, dword [ebp - 4]
mov eax, 3
call fcn.0059947c
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
mov word [edx + ebx*8 + 0x1e], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
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 + 0xd0]
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.0040ab40
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
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.00407064
mov eax, dword [ebp - 0xfc]
mov edx, 0x5a0754
call fcn.00595350
cmp eax, 4
jle 0x59f32d
mov ecx, 0x5a0754
mov edx, dword [ebp - 4]
mov eax, 5
call fcn.0059947c
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
mov word [edx + ebx*8 + 0x2c], ax
mov ecx, 0x5a0754
mov edx, dword [ebp - 4]
mov eax, 6
call fcn.0059947c
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
mov word [edx + ebx*8 + 0x2e], ax
mov ecx, 0x5a0754
mov edx, dword [ebp - 4]
mov eax, 7
call fcn.0059947c
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
mov word [edx + ebx*8 + 0x30], ax
mov ecx, 0x5a0754
mov edx, dword [ebp - 4]
mov eax, 8
call fcn.0059947c
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
mov word [edx + ebx*8 + 0x32], ax
jmp 0x59f3d7
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
lea eax, [eax + ebx*8]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
lea eax, [eax + ebx*8 + 0xc]
xor edx, edx
call fcn.00594f38
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 + 0xd0]
mov word [edx + ebx*8 + 0x2c], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
lea eax, [eax + ebx*8 + 0xc]
xor edx, edx
call fcn.00594f4c
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 + 0xd0]
mov word [edx + ebx*8 + 0x2e], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
movzx eax, word [eax + ebx*8 + 0x2c]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
mov word [edx + ebx*8 + 0x30], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
movzx eax, word [eax + ebx*8 + 0x2e]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
mov word [edx + ebx*8 + 0x32], ax
lea eax, [ebp - 0x100]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.00407064
mov eax, dword [ebp - 0x100]
mov edx, 0x5a0754
call fcn.00595350
cmp eax, 8
jle 0x59f421
mov ecx, 0x5a0754
mov edx, dword [ebp - 4]
mov eax, 9
call fcn.0059947c
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
mov word [edx + ebx*8 + 0x22], ax
jmp 0x59f431
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
mov word [eax + ebx*8 + 0x22], 1
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
cmp byte [eax + ebx*8 + 0x24], 0
jne 0x59f463
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
lea edx, [eax + ebx*8]
mov eax, dword [ebp - 0x10]
call fcn.00599594
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
mov word [edx + ebx*8 + 0x34], ax
ret
mov edx, dword [ebp - 4]
mov eax, 0x5a07bc
call fcn.00407878
test eax, eax
jle 0x59f8bd
mov eax, dword [ebp - 4]
mov edx, 0x5a07bc
call fcn.004074f8
je 0x59fd16
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
call fcn.0040861c
inc eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x10]
add eax, 0xd0
mov ecx, 1
mov edx, dword [0x4f1f44]
call fcn.004087e4
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.004133b8
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 + 0xd0]
lea eax, [eax + ebx*8 - 0x30]
call fcn.00406e10
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.004133b8
mov edx, dword [ebp - 0x10c]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
lea eax, [eax + ebx*8 - 0x34]
call fcn.00406e10
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
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.00407064
mov edx, dword [ebp - 0x118]
mov ecx, 0x5a07c0
mov eax, 2
call fcn.005951a8
mov edx, dword [ebp - 0x114]
lea eax, [ebp - 8]
call fcn.0040703c
mov ecx, 0x5a07e0
mov edx, dword [ebp - 8]
mov eax, 4
call fcn.0059947c
push eax
lea eax, [ebp - 0x58]
push eax
mov ecx, 0x5a07e0
mov edx, dword [ebp - 8]
mov eax, 3
call fcn.0059947c
push eax
mov ecx, 0x5a07e0
mov edx, dword [ebp - 8]
mov eax, 2
call fcn.0059947c
push eax
mov ecx, 0x5a0800
mov edx, dword [ebp - 8]
mov eax, 1
call fcn.0059947c
pop edx
pop ecx
call fcn.0040ab40
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
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.00407064
mov edx, dword [ebp - 0x120]
mov ecx, 0x5a07c0
mov eax, 3
call fcn.005951a8
mov edx, dword [ebp - 0x11c]
lea eax, [ebp - 8]
call fcn.0040703c
mov ecx, 0x5a07e0
mov edx, dword [ebp - 8]
mov eax, 1
call fcn.0059947c
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
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 + 0xd0]
cmp word [edx + eax*8 - 0x1c], 1
jge 0x59f68a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
mov word [eax + ebx*8 - 0x1c], 1
mov ecx, 0x5a07e0
mov edx, dword [ebp - 8]
mov eax, 2
call fcn.0059947c
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
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 + 0xd0]
cmp word [edx + eax*8 - 0x1a], 0
jge 0x59f6d8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
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.00407064
mov edx, dword [ebp - 0x128]
mov ecx, 0x5a07e0
mov eax, 3
call fcn.005951a8
mov edx, dword [ebp - 0x124]
lea eax, [ebp - 0xc]
call fcn.0040703c
cmp dword [ebp - 0xc], 0
je 0x59f761
mov eax, dword [ebp - 0xc]
call fcn.00414568
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
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 + 0xd0]
cmp word [edx + eax*8 - 0x18], 0
jge 0x59f771
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
mov word [eax + ebx*8 - 0x18], 0
jmp 0x59f771
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
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.00407064
mov edx, dword [ebp - 0x130]
mov ecx, 0x5a07e0
mov eax, 4
call fcn.005951a8
mov edx, dword [ebp - 0x12c]
lea eax, [ebp - 0xc]
call fcn.0040703c
cmp dword [ebp - 0xc], 0
je 0x59f7cc
mov eax, dword [ebp - 0xc]
call fcn.00414568
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
mov word [edx + ebx*8 - 0x16], ax
jmp 0x59f7dc
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
mov word [eax + ebx*8 - 0x16], 1
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
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 0x59f889
cmp word [esi + 0x20], 0
je 0x59f830
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 0x59f889
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
lea eax, [eax + ebx*8 - 0x2c]
xor edx, edx
call fcn.00594f38
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 + 0xd0]
lea eax, [eax + ebx*8 - 0x2c]
xor edx, edx
call fcn.00594f4c
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 + 0xd0]
lea edx, [edx + eax*8]
mov eax, dword [ebp - 0x10]
call fcn.00599594
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
mov word [edx + ebx*8 + 0x34], ax
jmp 0x59fd16
lea edx, [ebp - 0x134]
mov eax, dword [ebp - 4]
call fcn.00413780
mov edx, dword [ebp - 0x134]
lea eax, [ebp - 4]
call fcn.00406e64
mov edx, dword [ebp - 4]
mov eax, 0x5a0780
call fcn.00407878
test eax, eax
jle 0x59fd16
xor esi, esi
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x19c], 0
je 0x59f994
mov eax, dword [0x635be8]
mov edi, dword [eax + 4]
dec edi
test edi, edi
jl 0x59f9df
inc edi
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x28]
lea eax, [eax + eax*2]
mov edx, dword [0x635be8]
mov edx, dword [edx + 8]
mov eax, dword [edx + eax*4]
lea edx, [ebp - 0x138]
call fcn.004133b8
mov eax, dword [ebp - 0x138]
mov edx, dword [ebp - 4]
call fcn.004074f8
jne 0x59f98c
mov dl, 1
mov eax, dword [0x455994]
call fcn.0045efbc
mov esi, eax
mov eax, dword [ebp - 0x28]
lea eax, [eax + eax*2]
mov edx, dword [0x635be8]
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 [0x635be8]
mov edx, dword [edx + 8]
mov edx, dword [edx + eax*4 + 8]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x5c]
jmp 0x59f9df
inc dword [ebp - 0x28]
dec edi
jne 0x59f919
jmp 0x59f9df
mov edx, dword [ebp - 4]
mov eax, 0x5a0750
call fcn.00407878
dec eax
jge 0x59f9bb
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xcc]
mov edx, dword [eax + 4]
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
call fcn.004072f4
mov eax, dword [ebp - 4]
call fcn.00414aa8
test al, al
je 0x59f9df
mov dl, 1
mov eax, dword [0x455994]
call fcn.0045efbc
mov esi, eax
mov edx, dword [ebp - 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x54]
test esi, esi
je 0x59fd16
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x30]
test eax, eax
jle 0x59fd16
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
call fcn.0040861c
inc eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x10]
add eax, 0xd0
mov ecx, 1
mov edx, dword [0x4f1f44]
call fcn.004087e4
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 + 0xd0]
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 + 0xd0]
mov eax, dword [edx + eax*8 - 0x38]
call fcn.0045f8dc
call fcn.0045a044
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
mov eax, dword [eax + ebx*8 - 0x38]
call fcn.0045f8dc
call fcn.00459054
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
lea eax, [eax + ebx*8 - 0x30]
xor edx, edx
call fcn.00406e10
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
lea eax, [eax + ebx*8 - 0x34]
xor edx, edx
call fcn.00406e10
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
mov edx, dword [ebp - 0x10]
mov dword [eax + ebx*8 - 0x10], edx
xor eax, eax
push ebp
push 0x59fd0c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
mov eax, dword [eax + ebx*8 - 0x38]
call fcn.0045f9dc
cmp al, 7
je 0x59fb49
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
mov eax, dword [eax + ebx*8 - 0x38]
mov dl, 7
call fcn.00460c38
push 0xff00ff
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
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 + 0xd0]
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.0040ab40
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
mov eax, dword [eax + ebx*8 - 0x38]
mov cl, 0xff
call fcn.0054a550
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59fd16
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.004133b8
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 + 0xd0]
lea eax, [eax + ebx*8 - 0x30]
call fcn.00406e10
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.004133b8
mov edx, dword [ebp - 0x144]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
lea eax, [eax + ebx*8 - 0x34]
call fcn.00406e10
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
mov word [eax + ebx*8 - 0x1a], 1
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
mov word [eax + ebx*8 - 0x1c], 3
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
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 + 0xd0]
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.0040ab40
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
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 + 0xd0]
lea eax, [eax + ebx*8 - 0x2c]
xor edx, edx
call fcn.00594f38
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
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 + 0xd0]
mov word [edx + ebx*8 - 0xc], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
lea eax, [eax + ebx*8 - 0x2c]
xor edx, edx
call fcn.00594f4c
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
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 + 0xd0]
mov word [edx + ebx*8 - 0xa], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
movzx eax, word [eax + ebx*8 - 0xc]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
mov word [edx + ebx*8 - 8], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
movzx eax, word [eax + ebx*8 - 0xa]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
mov word [edx + ebx*8 - 6], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
lea edx, [eax + ebx*8 - 0x38]
mov eax, dword [ebp - 0x10]
call fcn.00599594
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
mov word [edx + ebx*8 - 4], ax
ret
inc dword [ebp - 0x24]
dec dword [ebp - 0x40]
jne 0x59e354
inc dword [ebp - 0x20]
dec dword [ebp - 0x3c]
jne 0x59e31c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59fd64
cmp dword [ebp - 0x1c], 0
je 0x59fd49
lea eax, [ebp - 0x1c]
call fcn.0041ca80
cmp dword [ebp - 0x18], 0
je 0x59fd57
lea eax, [ebp - 0x18]
call fcn.0041ca80
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 0x5a0618
mov ecx, 0x5a082c
mov dl, 1
mov eax, dword [0x44c180]
call fcn.0044da00
mov dword [ebp - 0x14], eax
mov dl, 1
mov eax, dword [ebp - 0x14]
call fcn.0044e0e4
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x64]
mov eax, dword [ebp - 0x14]
call fcn.0044e14c
mov dl, 1
mov eax, dword [0x42e2a0]
call fcn.0043a878
mov dword [ebp - 0x18], eax
mov dl, 1
mov eax, dword [ebp - 0x18]
call fcn.0043a8f4
mov dl, 1
mov eax, dword [0x42e2a0]
call fcn.0043a878
mov dword [ebp - 0x1c], eax
mov dl, 1
mov eax, dword [ebp - 0x1c]
call fcn.0043a8f4
xor eax, eax
push ebp
push 0x5a0611
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.0044e14c
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x5a05e5
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.004133b8
mov eax, dword [ebp - 0x14c]
mov edx, 0x5a0710
call fcn.004074f8
je 0x5a05d9
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 0x5a05d9
inc eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x24], 0
push 0x5a0844
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 + 0x198], 0
je 0x5a032f
mov edx, dword [ebp - 4]
mov eax, 0x5a07bc
call fcn.00407878
test eax, eax
jle 0x5a032f
mov eax, dword [ebp - 4]
mov edx, 0x5a07bc
call fcn.004074f8
je 0x5a05cd
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
call fcn.0040861c
inc eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x10]
add eax, 0xd0
mov ecx, 1
mov edx, dword [0x4f1f44]
call fcn.004087e4
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.004133b8
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 + 0xd0]
lea eax, [eax + ebx*8 - 0x30]
call fcn.00406e10
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.004133b8
mov edx, dword [ebp - 0x168]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
lea eax, [eax + ebx*8 - 0x34]
call fcn.00406e10
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
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.00407064
mov edx, dword [ebp - 0x174]
mov ecx, 0x5a07c0
mov eax, 2
call fcn.005951a8
mov edx, dword [ebp - 0x170]
lea eax, [ebp - 8]
call fcn.0040703c
mov ecx, 0x5a07e0
mov edx, dword [ebp - 8]
mov eax, 4
call fcn.0059947c
push eax
lea eax, [ebp - 0x58]
push eax
mov ecx, 0x5a07e0
mov edx, dword [ebp - 8]
mov eax, 3
call fcn.0059947c
push eax
mov ecx, 0x5a07e0
mov edx, dword [ebp - 8]
mov eax, 2
call fcn.0059947c
push eax
mov ecx, 0x5a07e0
mov edx, dword [ebp - 8]
mov eax, 1
call fcn.0059947c
pop edx
pop ecx
call fcn.0040ab40
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
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.00407064
mov edx, dword [ebp - 0x17c]
mov ecx, 0x5a07c0
mov eax, 3
call fcn.005951a8
mov edx, dword [ebp - 0x178]
lea eax, [ebp - 8]
call fcn.0040703c
mov ecx, 0x5a07e0
mov edx, dword [ebp - 8]
mov eax, 1
call fcn.0059947c
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
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 + 0xd0]
cmp word [edx + eax*8 - 0x1c], 1
jge 0x5a00fb
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
mov word [eax + ebx*8 - 0x1c], 1
mov ecx, 0x5a07e0
mov edx, dword [ebp - 8]
mov eax, 2
call fcn.0059947c
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
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 + 0xd0]
cmp word [edx + eax*8 - 0x1a], 0
jge 0x5a0149
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
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.00407064
mov edx, dword [ebp - 0x184]
mov ecx, 0x5a07e0
mov eax, 3
call fcn.005951a8
mov edx, dword [ebp - 0x180]
lea eax, [ebp - 0xc]
call fcn.0040703c
cmp dword [ebp - 0xc], 0
je 0x5a01d2
mov eax, dword [ebp - 0xc]
call fcn.00414568
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
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 + 0xd0]
cmp word [edx + eax*8 - 0x18], 0
jge 0x5a01e2
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
mov word [eax + ebx*8 - 0x18], 0
jmp 0x5a01e2
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
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.00407064
mov edx, dword [ebp - 0x18c]
mov ecx, 0x5a07e0
mov eax, 4
call fcn.005951a8
mov edx, dword [ebp - 0x188]
lea eax, [ebp - 0xc]
call fcn.0040703c
cmp dword [ebp - 0xc], 0
je 0x5a023d
mov eax, dword [ebp - 0xc]
call fcn.00414568
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
mov word [edx + ebx*8 - 0x16], ax
jmp 0x5a024d
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
mov word [eax + ebx*8 - 0x16], 1
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
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 0x5a02fa
cmp word [esi + 0x20], 0
je 0x5a02a1
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 0x5a02fa
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
lea eax, [eax + ebx*8 - 0x2c]
xor edx, edx
call fcn.00594f38
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 + 0xd0]
lea eax, [eax + ebx*8 - 0x2c]
xor edx, edx
call fcn.00594f4c
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 + 0xd0]
lea edx, [edx + eax*8 - 0x38]
mov eax, dword [ebp - 0x10]
call fcn.00599594
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
mov word [edx + ebx*8 - 4], ax
jmp 0x5a05cd
lea edx, [ebp - 0x190]
mov eax, dword [ebp - 4]
call fcn.00413780
mov edx, dword [ebp - 0x190]
lea eax, [ebp - 4]
call fcn.00406e64
mov edx, dword [ebp - 4]
mov eax, 0x5a0780
call fcn.00407878
test eax, eax
jle 0x5a05cd
mov edx, dword [ebp - 4]
mov eax, 0x5a0750
call fcn.00407878
dec eax
jge 0x5a0387
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xcc]
mov edx, dword [eax + 4]
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
call fcn.004072f4
mov eax, dword [ebp - 4]
call fcn.00414aa8
test al, al
je 0x5a05cd
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
call fcn.0040861c
inc eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x10]
add eax, 0xd0
mov ecx, 1
mov edx, dword [0x4f1f44]
call fcn.004087e4
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 + 0xd0]
lea eax, [eax + ebx*8 - 0x30]
xor edx, edx
call fcn.00406e10
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
lea eax, [eax + ebx*8 - 0x34]
xor edx, edx
call fcn.00406e10
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
mov edx, dword [ebp - 0x10]
mov dword [eax + ebx*8 - 0x10], edx
xor eax, eax
push ebp
push 0x5a056c
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x455994]
call fcn.0045efbc
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
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 + 0xd0]
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 + 0xd0]
mov eax, dword [eax + ebx*8 - 0x38]
call fcn.0045f9dc
cmp al, 7
je 0x5a04dd
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
mov eax, dword [eax + ebx*8 - 0x38]
mov dl, 7
call fcn.00460c38
push 0xff00ff
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
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 + 0xd0]
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.0040ab40
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
mov eax, dword [eax + ebx*8 - 0x38]
mov cl, 0xff
call fcn.0054a550
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a0576
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.004133b8
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 + 0xd0]
lea eax, [eax + ebx*8 - 0x30]
call fcn.00406e10
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.004133b8
mov edx, dword [ebp - 0x19c]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
lea eax, [eax + ebx*8 - 0x34]
call fcn.00406e10
ret
inc dword [ebp - 0x24]
dec dword [ebp - 0x40]
jne 0x59fe8e
inc dword [ebp - 0x20]
dec dword [ebp - 0x3c]
jne 0x59fe18
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a0618
cmp dword [ebp - 0x1c], 0
je 0x5a0600
lea eax, [ebp - 0x1c]
call fcn.0041ca80
lea eax, [ebp - 0x14]
call fcn.0041ca80
lea eax, [ebp - 0x18]
call fcn.0041ca80
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a06d5
lea eax, [ebp - 0x1a0]
mov edx, 5
call fcn.00406e08
lea eax, [ebp - 0x18c]
mov edx, 8
call fcn.004063e8
lea eax, [ebp - 0x16c]
mov edx, 0xf
call fcn.00406e08
lea eax, [ebp - 0x130]
mov edx, 8
call fcn.004063e8
lea eax, [ebp - 0x110]
mov edx, 4
call fcn.00406e08
lea eax, [ebp - 0x100]
mov edx, 2
call fcn.004063e8
lea eax, [ebp - 0xf8]
mov edx, 3
call fcn.00406e08
lea eax, [ebp - 0xec]
mov edx, 2
call fcn.004063e8
lea eax, [ebp - 0xe4]
mov edx, 0x23
call fcn.00406e08
lea eax, [ebp - 0x48]
call fcn.00406e00
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00406e08
ret