Function at 0x492890
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5af192
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x616798]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.WINMM.dll_timeGetTime]
mov esi, eax
mov eax, dword [ebx + 0x770]
mov edi, esi
sub edi, eax
test eax, eax
je 0x4928d7
cmp esi, eax
jae 0x4928ee
call fcn.005619b8
cdq
mov ecx, 0x7d0
idiv ecx
mov eax, esi
sub eax, edx
mov dword [ebx + 0x770], eax
cmp edi, 0x7d0
jbe 0x492b34
mov dword [ebx + 0x770], esi
mov eax, dword [0x61aa7c]
mov eax, dword [eax + 0x64]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x5bb220]
cvtpd2ps xmm1, xmm0
movss xmm0, dword [0x5c0438]
comiss xmm0, xmm1
ja 0x492b34
comiss xmm1, dword [0x5c043c]
ja 0x492b34
mov esi, dword [ebp - 0x1c]
xor ebx, ebx
xor edx, edx
mov dword [ebp - 0x18], ebx
add esi, 0x108
nop
xor edi, edi
mov ecx, esi
mov dword [ebp - 0x14], edi
nop word [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [ecx + 0x330]
jge 0x492979
lea eax, [edx + edi]
imul eax, eax, 0x64
cmp byte [eax + str.Ghost], 0
jne 0x4929ab
inc edi
add ecx, 4
mov dword [ebp - 0x14], edi
cmp edi, 6
jl 0x492960
inc ebx
add edx, 6
add esi, 0x18
mov dword [ebp - 0x18], ebx
cmp edx, 0xcc
jl 0x492950
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 ebx, dword [ebp + 8]
mov edi, 0x18
call fcn.005619b8
xorps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x5bc058]
divss xmm0, dword [0x5bcef0]
addss xmm0, xmm1
movss dword [ebp - 0x10], xmm0
call fcn.005619b8
cdq
idiv edi
movss xmm0, dword [ebp - 0x10]
cvtps2pd xmm0, xmm0
mov esi, edx
call fcn.00587300
xorps xmm2, xmm2
lea esi, [esi + esi*4]
cvtsd2ss xmm2, xmm0
shl esi, 4
movd xmm1, dword [esi + 0x5fc6c8]
mulss xmm2, dword [0x5bcd38]
movss xmm0, dword [ebp - 0x10]
cvtdq2ps xmm1, xmm1
cvtps2pd xmm0, xmm0
addss xmm1, xmm2
cvttss2si eax, xmm1
mov dword [ebp - 0x20], eax
call fcn.00587140
mov ecx, dword [ebp - 0x20]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
mov eax, dword [ebx]
movd xmm0, dword [esi + 0x5fc6cc]
mulss xmm1, dword [0x5bcd38]
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
cvttss2si edx, xmm0
push edx
push ecx
push edx
push ecx
mov ecx, ebx
mov dword [ebp - 0x10], edx
call dword [eax + 0x20]
test eax, eax
je 0x4929b3
push 0x2c8
call fcn.00554883
add esp, 4
mov dword [ebp - 0x24], eax
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 4], 0
test eax, eax
je 0x492a98
push 0
push dword [ebp - 0x1c]
mov ecx, eax
push edi
push ebx
call fcn.004955d0
mov esi, eax
jmp 0x492a9a
xor esi, esi
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov edi, dword [ebp + 8]
mov dword [esi + 0x108], eax
mov dword [esi + 0x10c], ecx
mov dword [esi + 0x110], eax
mov dword [esi + 0x114], ecx
mov dword [esi + 0x228], eax
mov dword [esi + 0x22c], ecx
mov ecx, dword [edi + 0x118]
push esi
mov dword [ebp - 4], 0xffffffff
call fcn.00515a10
mov ecx, esi
mov byte [ebp - 0x34], 0x18
mov dword [ebp - 0x33], esi
call fcn.0044c2c0
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
movzx eax, byte [esi + 0x108]
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.0052c140
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