Function at 0x407994
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea0
push ebx
push esi
push edi
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x5c], eax
mov eax, 0x52a544
call fcn.00508d0c
mov edx, dword [ebp - 0x60]
xor eax, eax
mov dword [ebp - 0xb4], edx
lea esi, [ebp - 0x160]
mov ecx, dword [ebp - 0xb4]
mov edi, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0xb4]
push eax
call fcn.0042dde8
pop ecx
mov byte [ebp + eax - 0x161], 0
mov edx, dword [ebp - 0xb4]
push edx
call fcn.0042dde8
pop ecx
add dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0xb4]
push ecx
call fcn.00408748
pop ecx
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xb4]
push eax
call fcn.0042dde8
pop ecx
add dword [ebp - 0xb4], eax
mov edx, dword [ebp - 0xb4]
push edx
call fcn.00408748
pop ecx
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xb4]
push ecx
call fcn.0042dde8
pop ecx
add dword [ebp - 0xb4], eax
mov word [ebp - 0x48], 8
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0xb4]
call fcn.005145e8
inc dword [ebp - 0x3c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x5c]
call fcn.00436498
mov dword [ebp - 0xb0], eax
dec dword [ebp - 0x3c]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00514748
mov word [ebp - 0x48], 0x14
lea edx, [ebp - 0x160]
lea eax, [ebp - 0x18]
call fcn.005145e8
inc dword [ebp - 0x3c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x74c]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov dword [ebp - 0xb8], eax
dec dword [ebp - 0x3c]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00514748
cmp dword [ebp - 0xb8], 0
jge 0x407b2d
mov word [ebp - 0x48], 0x20
lea edx, [ebp - 0x160]
lea eax, [ebp - 0x1c]
call fcn.005145e8
inc dword [ebp - 0x3c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x764]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov dword [ebp - 0xbc], eax
dec dword [ebp - 0x3c]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00514748
cmp dword [ebp - 0xbc], 0
jge 0x407b2d
mov ecx, dword [ebp - 0x58]
mov dword fs:[0], ecx
jmp 0x408740
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x328]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x32c]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x33c]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x64]
cmp dword [ebp - 0x64], 0
je 0x407bb4
mov dl, 1
mov eax, dword [0x4c0400]
call fcn.004c67cc
mov dword [0x54864c], eax
mov dl, 6
mov eax, dword [0x54864c]
call fcn.004c7e84
mov edx, 0x320
mov eax, dword [0x54864c]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov edx, 0x258
mov eax, dword [0x54864c]
mov ecx, dword [eax]
call dword [ecx + 0x34]
xor eax, eax
xor edx, edx
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0xb0], edx
mov dl, 1
mov eax, dword [0x525918]
call fcn.00525ba8
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xb8], 0
jl 0x407c09
push 0
mov dl, 1
mov ecx, dword [ebp - 0x5c]
mov eax, dword [0x478be8]
mov ecx, dword [ecx + 0x760]
call fcn.0047d4f4
mov edx, dword [ebp - 0x5c]
mov dword [edx + 0x884], eax
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax + 0x750]
mov eax, dword [ebp - 0xb8]
mov edx, dword [ecx + eax*4]
mov dword [ebp - 0xc4], edx
jmp 0x407c4a
cmp dword [ebp - 0xbc], 0
jl 0x407c4a
push 0
mov dl, 1
mov ecx, dword [ebp - 0x5c]
mov eax, dword [0x478be8]
mov ecx, dword [ecx + 0x778]
call fcn.0047d4f4
mov edx, dword [ebp - 0x5c]
mov dword [edx + 0x884], eax
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax + 0x768]
mov eax, dword [ebp - 0xbc]
mov edx, dword [ecx + eax*4]
mov dword [ebp - 0xc4], edx
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ecx + 0x884]
xor ecx, ecx
mov edx, dword [ebp - 0xc4]
mov ebx, dword [eax]
call dword [ebx + 0x10]
lea edx, [ebp - 0x84]
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x884]
mov ecx, 4
mov ebx, dword [eax]
call dword [ebx + 8]
lea edx, [ebp - 0x90]
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x884]
mov ecx, 4
mov ebx, dword [eax]
call dword [ebx + 8]
lea edx, [ebp - 0x98]
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x884]
mov ecx, 4
mov ebx, dword [eax]
call dword [ebx + 8]
lea edx, [ebp - 0x9c]
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x884]
mov ecx, 4
mov ebx, dword [eax]
call dword [ebx + 8]
lea edx, [ebp - 0xac]
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x884]
mov ecx, 4
mov ebx, dword [eax]
call dword [ebx + 8]
lea edx, [ebp - 0xa8]
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x884]
mov ecx, 4
mov ebx, dword [eax]
call dword [ebx + 8]
mov eax, dword [ebp - 0x84]
add eax, eax
push eax
call fcn.00507c80
pop ecx
mov dword [ebp - 0xc8], eax
mov edx, dword [ebp - 0x84]
add edx, edx
push edx
call fcn.00507c80
pop ecx
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0x84]
add ecx, ecx
push ecx
call fcn.00507c80
pop ecx
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0x84]
shl eax, 2
push eax
call fcn.00507c80
pop ecx
mov dword [ebp - 0xd4], eax
mov edx, dword [ebp - 0x84]
shl edx, 2
push edx
call fcn.00507c80
pop ecx
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x84]
add ecx, ecx
mov edx, dword [ebp - 0xc8]
mov eax, dword [eax + 0x884]
mov ebx, dword [eax]
call dword [ebx + 8]
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x84]
add ecx, ecx
mov edx, dword [ebp - 0xcc]
mov eax, dword [eax + 0x884]
mov ebx, dword [eax]
call dword [ebx + 8]
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x84]
add ecx, ecx
mov edx, dword [ebp - 0xd0]
mov eax, dword [eax + 0x884]
mov ebx, dword [eax]
call dword [ebx + 8]
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x84]
shl ecx, 2
mov edx, dword [ebp - 0xd4]
mov eax, dword [eax + 0x884]
mov ebx, dword [eax]
call dword [ebx + 8]
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x84]
shl ecx, 2
mov edx, dword [ebp - 0xd8]
mov eax, dword [eax + 0x884]
mov ebx, dword [eax]
call dword [ebx + 8]
xor eax, eax
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xac], 0
je 0x407e60
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0xa8]
add edx, dword [ebp - 0xc4]
mov eax, dword [ecx + 0x884]
xor ecx, ecx
mov ebx, dword [eax]
call dword [ebx + 0x10]
cmp dword [ebp - 0xac], 0x3d0900
jge 0x407e42
mov edx, dword [ebp - 0xac]
mov eax, dword [ebp - 0x5c]
call fcn.00412cf8
mov dword [ebp - 0xdc], 1
jmp 0x407e60
mov edx, dword [ebp - 0xa8]
mov eax, dword [ebp - 0x5c]
add edx, dword [ebp - 0xc4]
call fcn.00412f30
mov dword [ebp - 0xdc], 2
mov ecx, dword [ebp - 0x5c]
mov byte [ecx + 0x88c], 1
mov eax, dword [ebp - 0x5c]
call fcn.004042b0
mov byte [0x547b35], 1
mov byte [0x547b36], 1
xor edx, edx
mov dword [0x547b38], edx
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 0xe0], eax
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x74], eax
mov byte [0x548648], 0
mov edx, dword [ebp - 0x74]
cmp edx, dword [ebp - 0x84]
jge 0x4084dd
mov ecx, dword [ebp - 0xd4]
mov eax, dword [ebp - 0x74]
mov edx, dword [ecx + eax*4]
mov ecx, dword [ebp - 0x5c]
add edx, dword [ebp - 0xc4]
mov eax, dword [ecx + 0x884]
xor ecx, ecx
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov eax, dword [ebp - 0xc8]
mov edx, dword [ebp - 0x74]
movsx ecx, word [eax + edx*2]
sub ecx, 1
jb 0x407efc
je 0x4080a5
dec ecx
je 0x408280
jmp 0x40840e
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x694]
call fcn.0047d6c4
mov eax, dword [ebp - 0x5c]
mov edx, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0x74]
mov eax, dword [eax + 0x694]
mov edx, dword [edx + ecx*4]
mov ecx, dword [eax]
call dword [ecx]
mov edx, dword [ebp - 0xd8]
mov eax, dword [ebp - 0x74]
mov eax, dword [edx + eax*4]
cdq
push edx
push eax
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx + 0x884]
mov eax, dword [eax + 0x694]
call fcn.0047d274
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx + 0x694]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov eax, dword [ebp - 0x5c]
mov edx, dword [eax + 0x694]
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax]
call dword [ecx + 0x54]
cmp dword [ebp - 0x64], 0
jne 0x407fbd
mov word [ebp - 0x48], 0x2c
mov edx, dword [ebp - 0xc0]
push edx
mov eax, dword [ebp - 0x5c]
mov edx, dword [eax + 0x2f8]
mov eax, dword [edx + 0x160]
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ebp - 0xa0]
call fcn.004c2150
mov word [ebp - 0x48], 0
jmp 0x408098
mov word [ebp - 0x48], 0x38
mov eax, dword [ebp - 0xc0]
call fcn.00526464
mov word [ebp - 0x48], 0
jmp 0x407fee
mov ecx, dword [ebp - 0xc0]
mov eax, dword [0x54864c]
push ecx
call fcn.004c6d94
xor ecx, ecx
xor edx, edx
call fcn.004c2150
mov eax, dword [ebp - 0x5c]
mov edx, dword [eax + 0x3e4]
push edx
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx + 0x3e0]
mov ecx, dword [0x54864c]
mov eax, dword [ebp - 0x5c]
call fcn.0042d4b0
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x3e4]
call fcn.004c6d94
call fcn.004c27f0
push eax
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx + 0x3e4]
mov edx, dword [eax]
call dword [edx + 0x20]
add eax, dword [ebp - 0xa4]
push eax
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ecx + 0x3e4]
mov edx, dword [eax]
call dword [edx + 0x2c]
add eax, dword [ebp - 0xa0]
push eax
mov ecx, dword [ebp - 0xa4]
push ecx
mov eax, dword [ebp - 0xa0]
push eax
mov edx, dword [ebp - 0x5c]
mov ecx, dword [edx + 0x2f8]
mov eax, dword [ecx + 0x160]
call fcn.004c27f0
push eax
call sub.gdi32.dll_BitBlt
xor edx, edx
mov dword [ebp - 0x94], edx
jmp 0x40840e
cmp dword [ebp - 0x94], 0
jne 0x40840e
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ecx + 0x694]
call fcn.0047d6c4
mov eax, dword [ebp - 0x5c]
mov edx, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0x74]
mov eax, dword [eax + 0x694]
mov edx, dword [edx + ecx*4]
mov ecx, dword [eax]
call dword [ecx]
mov edx, dword [ebp - 0xd8]
mov eax, dword [ebp - 0x74]
mov eax, dword [edx + eax*4]
cdq
push edx
push eax
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx + 0x884]
mov eax, dword [eax + 0x694]
call fcn.0047d274
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx + 0x694]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov eax, dword [ebp - 0x5c]
mov edx, dword [eax + 0x694]
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax]
call dword [ecx + 0x54]
cmp dword [ebp - 0x64], 0
jne 0x408192
mov word [ebp - 0x48], 0x44
mov edx, dword [ebp - 0xc0]
push edx
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 0xd0]
movsx ecx, word [eax + edx*2]
mov eax, dword [ebp - 0xcc]
mov edx, dword [ebp - 0x74]
add ecx, dword [ebp - 0xa4]
movsx edx, word [eax + edx*2]
mov eax, dword [ebp - 0x5c]
add edx, dword [ebp - 0xa0]
mov eax, dword [eax + 0x2f8]
mov eax, dword [eax + 0x160]
call fcn.004c2150
mov word [ebp - 0x48], 0
jmp 0x40840e
mov word [ebp - 0x48], 0x50
mov eax, dword [ebp - 0xc0]
call fcn.00526464
mov word [ebp - 0x48], 0
jmp 0x4081bb
mov edx, dword [ebp - 0xc0]
mov eax, dword [0x54864c]
push edx
call fcn.004c6d94
mov edx, dword [ebp - 0xd0]
mov ecx, dword [ebp - 0x74]
movsx ecx, word [edx + ecx*2]
mov edx, dword [ebp - 0xcc]
mov ebx, dword [ebp - 0x74]
movsx edx, word [edx + ebx*2]
call fcn.004c2150
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax + 0x3e4]
push ecx
mov eax, dword [ebp - 0x5c]
mov edx, dword [eax + 0x3e0]
mov ecx, dword [0x54864c]
mov eax, dword [ebp - 0x5c]
call fcn.0042d4b0
push 0xcc0020
push 0
push 0
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx + 0x3e4]
call fcn.004c6d94
call fcn.004c27f0
push eax
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx + 0x3e4]
mov edx, dword [eax]
call dword [edx + 0x20]
add eax, dword [ebp - 0xa4]
push eax
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ecx + 0x3e4]
mov edx, dword [eax]
call dword [edx + 0x2c]
add eax, dword [ebp - 0xa0]
push eax
mov ecx, dword [ebp - 0xa4]
push ecx
mov eax, dword [ebp - 0xa0]
push eax
mov edx, dword [ebp - 0x5c]
mov ecx, dword [edx + 0x2f8]
mov eax, dword [ecx + 0x160]
call fcn.004c27f0
push eax
call sub.gdi32.dll_BitBlt
jmp 0x40840e
cmp dword [ebp - 0x94], 0
je 0x40840e
mov edx, dword [ebp - 0x74]
dec edx
mov dword [ebp - 0x78], edx
jmp 0x4083fc
mov ecx, dword [ebp - 0xc8]
mov eax, dword [ebp - 0x78]
movsx edx, word [ecx + eax*2]
sub edx, 1
jb 0x4082bd
je 0x4083ed
dec edx
je 0x4083f9
jmp 0x4083f9
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ecx + 0x694]
call fcn.0047d6c4
mov eax, dword [ebp - 0x5c]
mov edx, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0x78]
mov eax, dword [eax + 0x694]
mov edx, dword [edx + ecx*4]
mov ecx, dword [eax]
call dword [ecx]
mov edx, dword [ebp - 0xd8]
mov eax, dword [ebp - 0x78]
mov eax, dword [edx + eax*4]
cdq
push edx
push eax
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx + 0x884]
mov eax, dword [eax + 0x694]
call fcn.0047d274
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx + 0x694]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov eax, dword [ebp - 0x5c]
mov edx, dword [eax + 0x694]
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax]
call dword [ecx + 0x54]
cmp dword [ebp - 0x64], 0
jne 0x40837b
mov word [ebp - 0x48], 0x5c
mov edx, dword [ebp - 0xc0]
push edx
mov eax, dword [ebp - 0x5c]
mov edx, dword [eax + 0x2f8]
mov eax, dword [edx + 0x160]
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ebp - 0xa0]
call fcn.004c2150
mov word [ebp - 0x48], 0
jmp 0x4083f9
mov eax, dword [ebp - 0xc0]
call fcn.00526464
mov edx, dword [ebp - 0xc0]
mov eax, dword [0x54864c]
push edx
call fcn.004c6d94
xor ecx, ecx
xor edx, edx
call fcn.004c2150
mov eax, dword [ebp - 0x5c]
mov edx, dword [eax + 0x3e4]
push edx
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx + 0x3e0]
mov ecx, dword [0x54864c]
mov eax, dword [ebp - 0x5c]
call fcn.0042d4b0
mov eax, dword [ebp - 0x5c]
mov edx, dword [eax + 0x3e4]
push edx
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0xa0]
mov eax, dword [ecx + 0x2f8]
mov ecx, dword [ebp - 0xa4]
mov eax, dword [eax + 0x160]
call fcn.004c2150
jmp 0x4083f9
mov eax, dword [ebp - 0x74]
sub eax, dword [ebp - 0x94]
mov dword [ebp - 0x78], eax
dec dword [ebp - 0x78]
mov edx, dword [ebp - 0x74]
sub edx, dword [ebp - 0x94]
cmp edx, dword [ebp - 0x78]
jle 0x408299
mov ecx, dword [0x543010]
mov eax, dword [ecx]
call fcn.004d525c
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 0xe0]
mov edx, dword [ebp - 0x74]
imul edx, dword [ebp - 0x90]
sub eax, edx
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
cmp ecx, dword [ebp - 0x90]
jg 0x408467
mov eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0x90]
je 0x40845a
mov edx, dword [ebp - 0x90]
sub edx, dword [ebp - 0x68]
push edx
call sub.kernel32.dll_Sleep
inc dword [ebp - 0x74]
xor ecx, ecx
mov dword [ebp - 0x94], ecx
jmp 0x4084ad
mov eax, dword [ebp - 0x68]
cdq
idiv dword [ebp - 0x90]
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x90]
mov eax, dword [ebp - 0x68]
imul ecx, dword [ebp - 0x94]
sub eax, ecx
mov edx, dword [ebp - 0x90]
sub edx, eax
mov dword [ebp - 0x70], edx
cmp dword [ebp - 0x70], 0
je 0x4084a3
mov ecx, dword [ebp - 0x70]
push ecx
call sub.kernel32.dll_Sleep
mov eax, dword [ebp - 0x94]
inc eax
add dword [ebp - 0x74], eax
cmp dword [0x547b38], 0
je 0x4084ce
cmp dword [ebp - 0xb0], 0
je 0x4084ce
mov edx, dword [ebp - 0x5c]
mov dword [edx + 0x3040], 1
jmp 0x4084dd
mov ecx, dword [ebp - 0x74]
cmp ecx, dword [ebp - 0x84]
jl 0x407eb6
mov eax, dword [ebp - 0xd4]
mov edx, dword [ebp - 0x84]
mov edx, dword [eax + edx*4 - 4]
mov eax, dword [ebp - 0x5c]
add edx, dword [ebp - 0xc4]
xor ecx, ecx
mov eax, dword [eax + 0x884]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x694]
call fcn.0047d6c4
mov eax, dword [ebp - 0x5c]
mov edx, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0x84]
mov eax, dword [eax + 0x694]
mov edx, dword [edx + ecx*4 - 4]
mov ecx, dword [eax]
call dword [ecx]
mov edx, dword [ebp - 0xd8]
mov eax, dword [ebp - 0x84]
mov eax, dword [edx + eax*4 - 4]
cdq
push edx
push eax
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx + 0x884]
mov eax, dword [eax + 0x694]
call fcn.0047d274
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx + 0x694]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov eax, dword [ebp - 0x5c]
mov edx, dword [eax + 0x694]
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax]
call dword [ecx + 0x54]
cmp dword [ebp - 0x64], 0
jne 0x4085ec
mov eax, dword [ebp - 0xc0]
call fcn.00526464
mov edx, dword [ebp - 0xc0]
push edx
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ecx + 0x3dc]
call fcn.004c6d94
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ebp - 0xa0]
call fcn.004c2150
mov eax, dword [ebp - 0x5c]
mov dl, 6
mov eax, dword [eax + 0x3dc]
call fcn.004c7e84
mov ecx, dword [ebp - 0xc0]
push ecx
mov eax, dword [ebp - 0x5c]
mov edx, dword [eax + 0x2f8]
mov eax, dword [edx + 0x160]
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ebp - 0xa0]
call fcn.004c2150
mov eax, dword [ebp - 0xdc]
dec eax
je 0x4085fa
dec eax
je 0x408604
jmp 0x40860c
mov eax, dword [ebp - 0x5c]
call fcn.00413250
jmp 0x40860c
mov eax, dword [ebp - 0x5c]
call fcn.004132ac
mov edx, dword [ebp - 0x5c]
mov byte [0x547b36], 0
mov byte [0x547b35], 0
mov byte [edx + 0x88c], 0
mov eax, dword [ebp - 0x5c]
call fcn.004042b0
cmp dword [ebp - 0x64], 0
je 0x408662
mov edx, dword [0x54864c]
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x24], 0
je 0x408662
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx]
mov dword [ebp - 0x20], eax
mov word [ebp - 0x48], 0x74
mov edx, 3
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0x48], 0x68
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx + 0x328]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x32c]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x33c]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [ebp - 0x5c]
mov edx, dword [eax + 0x884]
mov dword [ebp - 0x2c], edx
cmp dword [ebp - 0x2c], 0
je 0x4086c5
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ecx]
mov dword [ebp - 0x28], eax
mov word [ebp - 0x48], 0x8c
mov edx, 3
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0x48], 0x80
mov edx, dword [ebp - 0xc0]
mov dword [ebp - 0x34], edx
cmp dword [ebp - 0x34], 0
je 0x4086f5
mov eax, dword [ebp - 0x34]
mov edx, dword [eax]
mov dword [ebp - 0x30], edx
mov word [ebp - 0x48], 0xa4
mov edx, 3
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0x48], 0x98
mov eax, dword [ebp - 0xcc]
push eax
call fcn.00507ab8
pop ecx
mov edx, dword [ebp - 0xd0]
push edx
call fcn.00507ab8
pop ecx
mov ecx, dword [ebp - 0xc8]
push ecx
call fcn.00507ab8
pop ecx
mov eax, dword [ebp - 0xd4]
push eax
call fcn.00507ab8
pop ecx
mov edx, dword [ebp - 0xd8]
push edx
call fcn.00507ab8
pop ecx
mov ecx, dword [ebp - 0x58]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret