Function at 0x494920
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c2137
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x626734]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
call dword [sym.imp.WINMM.dll_timeGetTime]
mov esi, eax
mov eax, dword [edi + 0x770]
mov ebx, esi
sub ebx, eax
test eax, eax
je 0x494967
cmp esi, eax
jae 0x49497e
call fcn.00565cd7
cdq
mov ecx, 0x12c
idiv ecx
mov eax, esi
sub eax, edx
mov dword [edi + 0x770], eax
cmp ebx, 0x12c
jbe 0x494b7c
mov dword [edi + 0x770], esi
xor ebx, ebx
xor edx, edx
add edi, 0x108
nop word [eax + eax]
xor esi, esi
mov ecx, edi
mov eax, dword [ecx]
cmp eax, dword [ecx + 0x330]
jge 0x4949bd
lea eax, [edx + esi]
imul eax, eax, 0x64
cmp byte [eax + str.Ghost], 0
jne 0x4949e9
inc esi
add ecx, 4
cmp esi, 6
jl 0x4949a4
add edx, 6
inc ebx
add edi, 0x18
cmp edx, 0xcc
jl 0x4949a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0x10]
lea eax, [ebx + ebx*2]
lea eax, [esi + eax*2]
imul eax, eax, 0x64
mov dword [ebp - 0x20], eax
lea eax, [ebx + 0xb]
lea eax, [eax + eax*2]
lea eax, [esi + eax*2]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x24], eax
jmp 0x494a0c
mov ecx, dword [ebp - 0x10]
mov edi, dword [ecx]
call fcn.00565cd7
cdq
mov ecx, 3
idiv ecx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov eax, dword [eax + 0x61a860]
add eax, 4
add eax, edx
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [esi + ebx]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x10]
push eax
call dword [edi + 0x18]
push dword [ebp - 0x18]
mov edi, dword [ebp + 8]
mov ecx, edi
push dword [ebp - 0x14]
mov dword [ebp - 0x1c], 1
call fcn.004f6a00
cmp eax, 5
jg 0x494a62
cmp eax, 1
jge 0x494a69
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov edx, dword [edi]
push ecx
push eax
push ecx
push eax
mov ecx, edi
call dword [edx + 0x20]
test eax, eax
je 0x494a09
cmp dword [ebp - 0x1c], 0
je 0x494a09
push 0x2c4
call fcn.00556676
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x494ab1
push 0
push dword [ebp - 0x10]
mov ecx, eax
push esi
push ebx
call fcn.00496cf0
mov esi, eax
jmp 0x494ab3
xor esi, esi
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x108], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x10c], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x110], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x114], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x228], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x22c], eax
mov ecx, dword [edi + 0x118]
push esi
mov dword [ebp - 4], 0xffffffff
call fcn.00513530
mov ecx, esi
mov byte [ebp - 0x34], 0x18
mov dword [ebp - 0x33], esi
call fcn.0044ccc0
mov byte [ebp - 0x2f], al
mov ecx, edi
movzx eax, word [esi + 0x220]
mov word [ebp - 0x2e], ax
movzx eax, word [esi + 0x224]
mov word [ebp - 0x2c], ax
call fcn.0044ccc0
cmp eax, 1
jne 0x494b49
xor al, al
mov ecx, 1
mov byte [ebp - 0x2a], al
cmp byte [esi + 0x1dc], 0
movzx eax, al
cmove eax, ecx
mov byte [ebp - 0x2a], al
movzx eax, byte [esi + 0x108]
mov ecx, edi
mov byte [ebp - 0x29], al
movzx eax, byte [esi + 0x10c]
push 0
push 5
mov byte [ebp - 0x28], al
lea eax, [ebp - 0x34]
push eax
push 0xd
push dword [esi + 0x10c]
push dword [esi + 0x108]
push 0
call fcn.00529cd0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4