Function at 0x5cdf10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x39
push 0
push 0
dec ecx
jne 0x5cdf18
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x5d072c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
call fcn.005d12e8
cmp dword [0x6a8a4c], 0
je 0x5cfd83
mov eax, dword [0x6a8a4c]
mov dword [ebp - 0x14], eax
push 0
lea eax, [ebp - 4]
push eax
mov ecx, 0x5d074c
mov edx, 0x5d0774
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [0x6a23a4]
movzx eax, word [eax]
mov word [ebp - 0x2e], ax
mov eax, dword [0x6a23a4]
mov word [eax], 0x2e
mov dword [ebp - 0x38], 0x9999999a
mov dword [ebp - 0x34], 0x401d9999
push 0
push 0
mov edx, 0x5d0774
mov ecx, 0x5d0798
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 [0x6a23a4]
movzx edx, word [ebp - 0x2e]
mov word [eax], dx
mov dl, 1
mov eax, dword [0x455f9c]
call fcn.0045f964
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x198], eax
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x19c], 0
je 0x5ce097
mov eax, dword [0x6a8b68]
mov eax, dword [eax + 4]
dec eax
test eax, eax
jl 0x5ce0e1
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 [0x6a8b68]
mov edx, dword [edx + 8]
mov eax, dword [edx + eax*4]
lea edx, [ebp - 0x74]
call fcn.00413b88
mov eax, dword [ebp - 0x74]
mov edx, dword [ebp - 4]
call fcn.0040755c
jne 0x5ce089
mov eax, dword [ebp - 0x20]
lea eax, [eax + eax*2]
mov edx, dword [0x6a8b68]
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 [0x6a8b68]
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.00460284
call fcn.0045a64c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x198]
call fcn.00460284
call fcn.0045965c
jmp 0x5ce0e1
inc dword [ebp - 0x20]
dec dword [ebp - 0x3c]
jne 0x5cdffd
jmp 0x5ce0e1
mov edx, dword [ebp - 4]
mov eax, 0x5d07b4
call fcn.004078dc
dec eax
jge 0x5ce0be
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.00407358
cmp dword [ebp - 4], 0
je 0x5ce0e1
mov eax, dword [ebp - 4]
call fcn.00415128
test al, al
je 0x5ce0e1
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.00460384
cmp al, 7
je 0x5ce14d
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x198]
mov dl, 7
call fcn.004615e0
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 - 0x84]
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.0040ae20
lea edx, [ebp - 0x84]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x198]
mov cl, 0xff
call fcn.005a01f0
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.00461748
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 [0x42e8a8]
call fcn.0043a9ac
mov dword [ebp - 0x18], eax
mov dl, 1
mov eax, dword [ebp - 0x18]
call fcn.0043aa28
mov dl, 1
mov eax, dword [0x42e8a8]
call fcn.0043a9ac
mov dword [ebp - 0x1c], eax
mov dl, 1
mov eax, dword [ebp - 0x1c]
call fcn.0043aa28
xor edx, edx
push ebp
push 0x5cfd7c
push dword fs:[edx]
mov dword fs:[edx], 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 0x5cfd37
inc eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x88]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x88]
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 0x5cfd2b
inc eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x8c]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x8c]
mov edx, 0x5d0774
call fcn.0040755c
jne 0x5ce26f
lea ecx, [ebp - 0x90]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x90]
mov edx, 0x5d074c
call fcn.0040755c
je 0x5cfd1f
push 0
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x94]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x94]
push eax
lea ecx, [ebp - 0x98]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x14]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 4]
cmp dword [ebp - 4], 0
je 0x5cfd1f
mov eax, dword [ebp - 4]
movzx eax, word [eax]
sub ax, 0x21
je 0x5cecf6
sub ax, 0x1f
je 0x5ce56d
sub ax, 0x1e
je 0x5ce73c
sub ax, 0x20
jne 0x5cf3f9
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
call fcn.004088c8
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 [0x5e08a0]
call fcn.00408a90
add esp, 4
lea ecx, [ebp - 0x9c]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x9c]
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.00406e74
lea ecx, [ebp - 0xa0]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0xa0]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
lea eax, [eax + ebx*8 + 4]
call fcn.00406e74
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 - 0xa4]
push eax
mov ecx, 4
mov edx, 0x11
mov eax, dword [ebp - 4]
call fcn.004075c4
mov eax, dword [ebp - 0xa4]
call fcn.00414be8
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0xa8]
push eax
mov ecx, 4
mov edx, 0xc
mov eax, dword [ebp - 4]
call fcn.004075c4
mov eax, dword [ebp - 0xa8]
call fcn.00414be8
push eax
lea eax, [ebp - 0xac]
push eax
mov ecx, 4
mov edx, 7
mov eax, dword [ebp - 4]
call fcn.004075c4
mov eax, dword [ebp - 0xac]
call fcn.00414be8
push eax
lea eax, [ebp - 0xb0]
push eax
mov ecx, 4
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.004075c4
mov eax, dword [ebp - 0xb0]
call fcn.00414be8
pop edx
pop ecx
call fcn.0040ae20
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
lea esi, [ebp - 0x84]
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 - 0xb4]
push eax
mov ecx, 2
mov edx, 0x16
mov eax, dword [ebp - 4]
call fcn.004075c4
mov eax, dword [ebp - 0xb4]
call fcn.00414be8
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 0x5ce4dc
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xcc]
fld qword [eax + 0x10]
fcomp qword [ebp - 0x38]
wait
fnstsw ax
sahf
jae 0x5ce4dc
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]
and word [edx + eax*8 + 0x22], 0xfffe
mov eax, dword [ebp - 4]
test eax, eax
je 0x5ce4f9
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x5ce4f9
lea eax, [ebp - 4]
mov edx, dword [ebp - 4]
call fcn.00406558
test eax, eax
je 0x5ce502
sub eax, 4
mov eax, dword [eax]
cmp eax, 0x18
jle 0x5ce54b
lea eax, [ebp - 0xb8]
push eax
mov ecx, 1
mov edx, 0x19
mov eax, dword [ebp - 4]
call fcn.004075c4
mov eax, dword [ebp - 0xb8]
call fcn.00414be8
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 word [ecx + edx*8 + 0x1e], ax
jmp 0x5cfd1f
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 word [edx + eax*8 + 0x1e], 0
jmp 0x5cfd1f
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
call fcn.004088c8
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 [0x5e08a0]
call fcn.00408a90
add esp, 4
lea ecx, [ebp - 0xbc]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0xbc]
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.00406e74
lea ecx, [ebp - 0xc0]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
lea eax, [eax + ebx*8 + 4]
call fcn.00406e74
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 - 0xc4]
push eax
mov ecx, 4
mov edx, 0x11
mov eax, dword [ebp - 4]
call fcn.004075c4
mov eax, dword [ebp - 0xc4]
call fcn.00414be8
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0xc8]
push eax
mov ecx, 4
mov edx, 0xc
mov eax, dword [ebp - 4]
call fcn.004075c4
mov eax, dword [ebp - 0xc8]
call fcn.00414be8
push eax
lea eax, [ebp - 0xcc]
push eax
mov ecx, 4
mov edx, 7
mov eax, dword [ebp - 4]
call fcn.004075c4
mov eax, dword [ebp - 0xcc]
call fcn.00414be8
push eax
lea eax, [ebp - 0xd0]
push eax
mov ecx, 4
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.004075c4
mov eax, dword [ebp - 0xd0]
call fcn.00414be8
pop edx
pop ecx
call fcn.0040ae20
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
lea esi, [ebp - 0x84]
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 - 0xd4]
push eax
mov ecx, 1
mov edx, 0x16
mov eax, dword [ebp - 4]
call fcn.004075c4
mov eax, dword [ebp - 0xd4]
call fcn.00414be8
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
mov word [edx + ebx*8 + 0x1c], ax
lea eax, [ebp - 0xd8]
push eax
mov ecx, 1
mov edx, 0x18
mov eax, dword [ebp - 4]
call fcn.004075c4
mov eax, dword [ebp - 0xd8]
call fcn.00414be8
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
mov word [edx + ebx*8 + 0x1e], ax
jmp 0x5cfd1f
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
call fcn.004088c8
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 [0x5e08a0]
call fcn.00408a90
add esp, 4
lea ecx, [ebp - 0xdc]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0xdc]
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.00406e74
lea ecx, [ebp - 0xe0]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0xe0]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
lea eax, [eax + ebx*8 + 4]
call fcn.00406e74
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 - 0xe4]
push eax
mov ecx, 4
mov edx, 0x11
mov eax, dword [ebp - 4]
call fcn.004075c4
mov eax, dword [ebp - 0xe4]
call fcn.00414be8
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0xe8]
push eax
mov ecx, 4
mov edx, 0xc
mov eax, dword [ebp - 4]
call fcn.004075c4
mov eax, dword [ebp - 0xe8]
call fcn.00414be8
push eax
lea eax, [ebp - 0xec]
push eax
mov ecx, 4
mov edx, 7
mov eax, dword [ebp - 4]
call fcn.004075c4
mov eax, dword [ebp - 0xec]
call fcn.00414be8
push eax
lea eax, [ebp - 0xf0]
push eax
mov ecx, 4
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.004075c4
mov eax, dword [ebp - 0xf0]
call fcn.00414be8
pop edx
pop ecx
call fcn.0040ae20
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
lea esi, [ebp - 0x84]
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 - 0xf4]
push eax
mov ecx, 4
mov edx, 0x16
mov eax, dword [ebp - 4]
call fcn.004075c4
mov eax, dword [ebp - 0xf4]
call fcn.00414be8
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
mov word [edx + ebx*8 + 0x2c], ax
lea eax, [ebp - 0xf8]
push eax
mov ecx, 4
mov edx, 0x1b
mov eax, dword [ebp - 4]
call fcn.004075c4
mov eax, dword [ebp - 0xf8]
call fcn.00414be8
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
mov word [edx + ebx*8 + 0x2e], ax
lea eax, [ebp - 0xfc]
push eax
mov ecx, 4
mov edx, 0x20
mov eax, dword [ebp - 4]
call fcn.004075c4
mov eax, dword [ebp - 0xfc]
call fcn.00414be8
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
mov word [edx + ebx*8 + 0x30], ax
lea eax, [ebp - 0x100]
push eax
mov ecx, 4
mov edx, 0x25
mov eax, dword [ebp - 4]
call fcn.004075c4
mov eax, dword [ebp - 0x100]
call fcn.00414be8
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
mov word [edx + ebx*8 + 0x32], ax
lea eax, [ebp - 0x104]
push eax
mov ecx, 1
mov edx, 0x2a
mov eax, dword [ebp - 4]
call fcn.004075c4
mov eax, dword [ebp - 0x104]
call fcn.00414be8
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
mov word [edx + ebx*8 + 0x1c], ax
lea eax, [ebp - 0x108]
push eax
mov ecx, 1
mov edx, 0x2c
mov eax, dword [ebp - 4]
call fcn.004075c4
mov eax, dword [ebp - 0x108]
call fcn.00414be8
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
mov word [edx + ebx*8 + 0x1e], ax
lea eax, [ebp - 0x10c]
push eax
mov ecx, 1
mov edx, 0x2e
mov eax, dword [ebp - 4]
call fcn.004075c4
mov eax, dword [ebp - 0x10c]
call fcn.00414be8
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 0x5ceafd
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xcc]
fld qword [eax + 0x10]
fcomp qword [ebp - 0x38]
wait
fnstsw ax
sahf
jae 0x5ceafd
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.005df3a0
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 0x5ceaee
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
lea eax, [eax + ebx*8 + 0xc]
xor edx, edx
call fcn.005df3b4
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 0x5ceaee
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
or word [eax + ebx*8 + 0x22], 1
jmp 0x5ceafd
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
and word [eax + ebx*8 + 0x22], 0xfffe
lea eax, [ebp - 0x110]
push eax
mov ecx, 1
mov edx, 0x30
mov eax, dword [ebp - 4]
call fcn.004075c4
mov eax, dword [ebp - 0x110]
call fcn.00414be8
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 0x5ceccf
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 0x5cec26
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 0x5ceccf
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
lea eax, [eax + ebx*8 + 0xc]
xor edx, edx
call fcn.005df3a0
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.005df3b4
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.005c9368
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
mov word [edx + ebx*8 + 0x34], ax
jmp 0x5cfd1f
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x118]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.004070c8
mov edx, dword [ebp - 0x118]
mov ecx, 0x5d07b8
mov eax, 1
call fcn.005df678
mov edx, dword [ebp - 0x114]
lea eax, [ebp - 0xc]
call fcn.004070a0
mov edx, dword [ebp - 0xc]
mov eax, 0x5d07e4
call fcn.004078dc
test eax, eax
setg bl
test bl, bl
jne 0x5ced5e
mov edx, dword [ebp - 0xc]
mov eax, 0x5d07fc
call fcn.004078dc
test eax, eax
jle 0x5cfd1f
xor esi, esi
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x19c], 0
je 0x5cee8a
mov eax, dword [0x6a8b68]
mov edi, dword [eax + 4]
dec edi
test edi, edi
jl 0x5cef3a
inc edi
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x28]
lea eax, [eax + eax*2]
mov edx, dword [0x6a8b68]
mov edx, dword [edx + 8]
mov eax, dword [edx + eax*4]
lea edx, [ebp - 0x11c]
call fcn.00413b88
mov eax, dword [ebp - 0x11c]
mov edx, dword [ebp - 0xc]
call fcn.0040755c
jne 0x5cee7b
mov dl, 1
mov eax, dword [0x455f9c]
call fcn.0045f964
mov esi, eax
mov eax, dword [ebp - 0x28]
lea eax, [eax + eax*2]
mov edx, dword [0x6a8b68]
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 0x5cee07
mov eax, dword [ebp - 0x28]
lea eax, [eax + eax*2]
mov edx, dword [0x6a8b68]
mov edx, dword [edx + 8]
mov edx, dword [edx + eax*4 + 8]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x5c]
jmp 0x5cef3a
mov dl, 1
mov eax, dword [0x5a6c78]
call fcn.005a9170
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
lea eax, [eax + eax*2]
mov edx, dword [0x6a8b68]
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 [0x5d0808]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xcc]
fcomp qword [eax + 0x10]
wait
fnstsw ax
sahf
jae 0x5cee5c
mov eax, esi
call fcn.0059f28c
jmp 0x5cee63
mov eax, esi
call fcn.005b0a7c
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x48], eax
xor eax, eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x48]
call fcn.004050e8
jmp 0x5cef3a
inc dword [ebp - 0x28]
dec edi
jne 0x5ced89
jmp 0x5cef3a
mov edx, dword [ebp - 0xc]
mov eax, 0x5d07b4
call fcn.004078dc
dec eax
jge 0x5ceeb1
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.00407358
mov eax, dword [ebp - 0xc]
call fcn.00415128
test al, al
je 0x5cef3a
mov dl, 1
mov eax, dword [0x455f9c]
call fcn.0045f964
mov esi, eax
test bl, bl
je 0x5ceedb
mov edx, dword [ebp - 0xc]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x54]
jmp 0x5cef3a
mov dl, 1
mov eax, dword [0x5a6c78]
call fcn.005a9170
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 [0x5d0808]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xcc]
fcomp qword [eax + 0x10]
wait
fnstsw ax
sahf
jae 0x5cef20
mov eax, esi
call fcn.0059f28c
jmp 0x5cef27
mov eax, esi
call fcn.005b0a7c
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x4c], eax
xor eax, eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x4c]
call fcn.004050e8
test esi, esi
je 0x5cfd1f
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x30]
test eax, eax
jle 0x5cfd1f
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
call fcn.004088c8
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 [0x5e08a0]
call fcn.00408a90
add esp, 4
xor eax, eax
push ebp
push 0x5cf3ef
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.00460284
call fcn.0045a64c
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.00460284
call fcn.0045965c
mov ecx, 0x5d07b8
mov edx, dword [ebp - 4]
mov eax, 4
call fcn.005c9250
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 4
jge 0x5cf012
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
jmp 0x5cf019
mov dword [ebp - 0x54], 4
mov eax, dword [0x6a1cf8]
mov edx, dword [ebp - 0x54]
movzx eax, byte [eax + edx]
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.00460384
cmp al, 7
je 0x5cf0ff
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.004615e0
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 - 0x84]
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.0040ae20
lea edx, [ebp - 0x84]
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.005a01f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5cfd1f
lea ecx, [ebp - 0x120]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x120]
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.00406e74
lea ecx, [ebp - 0x124]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x124]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
lea eax, [eax + ebx*8 + 4]
call fcn.00406e74
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
mov edx, dword [ebp - 0x10]
mov dword [eax + ebx*8 + 0x28], edx
mov ecx, 0x5d07b8
mov edx, dword [ebp - 4]
mov eax, 2
call fcn.005c9250
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
mov word [edx + ebx*8 + 0x1c], ax
mov ecx, 0x5d07b8
mov edx, dword [ebp - 4]
mov eax, 3
call fcn.005c9250
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 - 0x84]
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.0040ae20
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
lea esi, [ebp - 0x84]
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 - 0x128]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.004070c8
mov eax, dword [ebp - 0x128]
mov edx, 0x5d07b8
call fcn.005df850
cmp eax, 4
jle 0x5cf2b8
mov ecx, 0x5d07b8
mov edx, dword [ebp - 4]
mov eax, 5
call fcn.005c9250
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
mov word [edx + ebx*8 + 0x2c], ax
mov ecx, 0x5d07b8
mov edx, dword [ebp - 4]
mov eax, 6
call fcn.005c9250
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
mov word [edx + ebx*8 + 0x2e], ax
mov ecx, 0x5d07b8
mov edx, dword [ebp - 4]
mov eax, 7
call fcn.005c9250
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
mov word [edx + ebx*8 + 0x30], ax
mov ecx, 0x5d07b8
mov edx, dword [ebp - 4]
mov eax, 8
call fcn.005c9250
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
mov word [edx + ebx*8 + 0x32], ax
jmp 0x5cf362
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.005df3a0
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.005df3b4
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 - 0x12c]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.004070c8
mov eax, dword [ebp - 0x12c]
mov edx, 0x5d07b8
call fcn.005df850
cmp eax, 8
jle 0x5cf3ac
mov ecx, 0x5d07b8
mov edx, dword [ebp - 4]
mov eax, 9
call fcn.005c9250
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
mov word [edx + ebx*8 + 0x22], ax
jmp 0x5cf3bc
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 0x5cf3ee
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
lea edx, [eax + ebx*8]
mov eax, dword [ebp - 0x10]
call fcn.005c9368
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, 0x5d0820
call fcn.004078dc
test eax, eax
jle 0x5cf84e
mov eax, dword [ebp - 4]
mov edx, 0x5d0820
call fcn.0040755c
je 0x5cfd1f
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
call fcn.004088c8
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 [0x5e08a0]
call fcn.00408a90
add esp, 4
lea ecx, [ebp - 0x134]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.00413b88
mov edx, dword [ebp - 0x130]
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.00406e74
lea ecx, [ebp - 0x13c]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x13c]
lea edx, [ebp - 0x138]
call fcn.00413b88
mov edx, dword [ebp - 0x138]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
lea eax, [eax + ebx*8 - 0x34]
call fcn.00406e74
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 - 0x140]
push eax
lea eax, [ebp - 0x144]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.004070c8
mov edx, dword [ebp - 0x144]
mov ecx, 0x5d0824
mov eax, 2
call fcn.005df678
mov edx, dword [ebp - 0x140]
lea eax, [ebp - 8]
call fcn.004070a0
mov ecx, 0x5d0844
mov edx, dword [ebp - 8]
mov eax, 4
call fcn.005c9250
push eax
lea eax, [ebp - 0x84]
push eax
mov ecx, 0x5d0844
mov edx, dword [ebp - 8]
mov eax, 3
call fcn.005c9250
push eax
mov ecx, 0x5d0844
mov edx, dword [ebp - 8]
mov eax, 2
call fcn.005c9250
push eax
mov ecx, 0x5d0864
mov edx, dword [ebp - 8]
mov eax, 1
call fcn.005c9250
pop edx
pop ecx
call fcn.0040ae20
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
lea esi, [ebp - 0x84]
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 - 0x148]
push eax
lea eax, [ebp - 0x14c]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.004070c8
mov edx, dword [ebp - 0x14c]
mov ecx, 0x5d0824
mov eax, 3
call fcn.005df678
mov edx, dword [ebp - 0x148]
lea eax, [ebp - 8]
call fcn.004070a0
mov ecx, 0x5d0844
mov edx, dword [ebp - 8]
mov eax, 1
call fcn.005c9250
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 0x5cf61b
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
mov word [eax + ebx*8 - 0x1c], 1
mov ecx, 0x5d0844
mov edx, dword [ebp - 8]
mov eax, 2
call fcn.005c9250
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 0x5cf669
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
mov word [eax + ebx*8 - 0x1a], 0
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x154]
mov edx, dword [ebp - 8]
mov ecx, 0
call fcn.004070c8
mov edx, dword [ebp - 0x154]
mov ecx, 0x5d0844
mov eax, 3
call fcn.005df678
mov edx, dword [ebp - 0x150]
lea eax, [ebp - 0xc]
call fcn.004070a0
cmp dword [ebp - 0xc], 0
je 0x5cf6f2
mov eax, dword [ebp - 0xc]
call fcn.00414be8
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 0x5cf702
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
mov word [eax + ebx*8 - 0x18], 0
jmp 0x5cf702
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
mov word [eax + ebx*8 - 0x18], 0
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x15c]
mov edx, dword [ebp - 8]
mov ecx, 0
call fcn.004070c8
mov edx, dword [ebp - 0x15c]
mov ecx, 0x5d0844
mov eax, 4
call fcn.005df678
mov edx, dword [ebp - 0x158]
lea eax, [ebp - 0xc]
call fcn.004070a0
cmp dword [ebp - 0xc], 0
je 0x5cf75d
mov eax, dword [ebp - 0xc]
call fcn.00414be8
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
mov word [edx + ebx*8 - 0x16], ax
jmp 0x5cf76d
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 0x5cf81a
cmp word [esi + 0x20], 0
je 0x5cf7c1
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 0x5cf81a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
lea eax, [eax + ebx*8 - 0x2c]
xor edx, edx
call fcn.005df3a0
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.005df3b4
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.005c9368
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xd0]
mov word [edx + ebx*8 + 0x34], ax
jmp 0x5cfd1f
lea edx, [ebp - 0x160]
mov eax, dword [ebp - 4]
call fcn.00413f74
mov edx, dword [ebp - 0x160]
lea eax, [ebp - 4]
call fcn.00406ec8
mov edx, dword [ebp - 4]
mov eax, 0x5d07e4
call fcn.004078dc
test eax, eax
jle 0x5cfd1f
xor esi, esi
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x19c], 0
je 0x5cf925
mov eax, dword [0x6a8b68]
mov edi, dword [eax + 4]
dec edi
test edi, edi
jl 0x5cf970
inc edi
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x28]
lea eax, [eax + eax*2]
mov edx, dword [0x6a8b68]
mov edx, dword [edx + 8]
mov eax, dword [edx + eax*4]
lea edx, [ebp - 0x164]
call fcn.00413b88
mov eax, dword [ebp - 0x164]
mov edx, dword [ebp - 4]
call fcn.0040755c
jne 0x5cf91d
mov dl, 1
mov eax, dword [0x455f9c]
call fcn.0045f964
mov esi, eax
mov eax, dword [ebp - 0x28]
lea eax, [eax + eax*2]
mov edx, dword [0x6a8b68]
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 [0x6a8b68]
mov edx, dword [edx + 8]
mov edx, dword [edx + eax*4 + 8]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x5c]
jmp 0x5cf970
inc dword [ebp - 0x28]
dec edi
jne 0x5cf8aa
jmp 0x5cf970
mov edx, dword [ebp - 4]
mov eax, 0x5d07b4
call fcn.004078dc
dec eax
jge 0x5cf94c
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.00407358
mov eax, dword [ebp - 4]
call fcn.00415128
test al, al
je 0x5cf970
mov dl, 1
mov eax, dword [0x455f9c]
call fcn.0045f964
mov esi, eax
mov edx, dword [ebp - 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x54]
test esi, esi
je 0x5cfd1f
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x30]
test eax, eax
jle 0x5cfd1f
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
call fcn.004088c8
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 [0x5e08a0]
call fcn.00408a90
add esp, 4
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 - 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.00460284
call fcn.0045a64c
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.00460284
call fcn.0045965c
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 eax, [edx + eax*8 - 0x30]
xor edx, edx
call fcn.00406e74
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 eax, [edx + eax*8 - 0x34]
xor edx, edx
call fcn.00406e74
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 ecx, dword [ebp - 0x10]
mov dword [edx + eax*8 - 0x10], ecx
xor eax, eax
push ebp
push 0x5cfd15
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 eax, dword [edx + eax*8 - 0x38]
call fcn.00460384
cmp al, 7
je 0x5cfb4c
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 dl, 7
call fcn.004615e0
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 - 0x38]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x84]
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.0040ae20
lea edx, [ebp - 0x84]
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 - 0x38]
mov cl, 0xff
call fcn.005a01f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5cfd1f
lea ecx, [ebp - 0x16c]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x16c]
lea edx, [ebp - 0x168]
call fcn.00413b88
mov edx, dword [ebp - 0x168]
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.00406e74
lea ecx, [ebp - 0x174]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x174]
lea edx, [ebp - 0x170]
call fcn.00413b88
mov edx, dword [ebp - 0x170]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
lea eax, [eax + ebx*8 - 0x34]
call fcn.00406e74
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 - 0x84]
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.0040ae20
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xd0]
lea esi, [ebp - 0x84]
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.005df3a0
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.005df3b4
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.005c9368
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 0x5ce225
inc dword [ebp - 0x20]
dec dword [ebp - 0x3c]
jne 0x5ce1e7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5cfd83
cmp dword [ebp - 0x1c], 0
je 0x5cfd5d
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x58], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x58]
call fcn.004050e8
cmp dword [ebp - 0x18], 0
je 0x5cfd76
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x5c], eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x5c]
call fcn.004050e8
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 0x5d0679
mov ecx, 0x5d0890
mov dl, 1
mov eax, dword [0x44bb98]
call fcn.0044d7cc
mov dword [ebp - 0x14], eax
mov dl, 1
mov eax, dword [ebp - 0x14]
call fcn.0044deb0
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x64]
mov eax, dword [ebp - 0x14]
call fcn.0044df18
mov dl, 1
mov eax, dword [0x42e8a8]
call fcn.0043a9ac
mov dword [ebp - 0x18], eax
mov dl, 1
mov eax, dword [ebp - 0x18]
call fcn.0043aa28
mov dl, 1
mov eax, dword [0x42e8a8]
call fcn.0043a9ac
mov dword [ebp - 0x1c], eax
mov dl, 1
mov eax, dword [ebp - 0x1c]
call fcn.0043aa28
xor eax, eax
push ebp
push 0x5d0672
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.0044df18
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x5d0625
inc eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x20], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d0736
lea eax, [ebp - 0x1cc]
mov edx, 5
call fcn.00406e6c
lea eax, [ebp - 0x1b8]
mov edx, 8
call fcn.004063cc
lea eax, [ebp - 0x198]
mov edx, 0xf
call fcn.00406e6c
lea eax, [ebp - 0x15c]
mov edx, 8
call fcn.004063cc
lea eax, [ebp - 0x13c]
mov edx, 4
call fcn.00406e6c
lea eax, [ebp - 0x12c]
mov edx, 2
call fcn.004063cc
lea eax, [ebp - 0x124]
mov edx, 3
call fcn.00406e6c
lea eax, [ebp - 0x118]
mov edx, 2
call fcn.004063cc
lea eax, [ebp - 0x110]
mov edx, 0x23
call fcn.00406e6c
lea eax, [ebp - 0x74]
call fcn.00406e64
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00406e6c
ret