Function at 0x493250
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5af1f2
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 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 0x493297
cmp esi, eax
jae 0x4932ae
call fcn.005619b8
cdq
mov ecx, 0x12c
idiv ecx
mov eax, esi
sub eax, edx
mov dword [edi + 0x770], eax
cmp ebx, 0x12c
jbe 0x4934ac
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 0x4932ed
lea eax, [edx + esi]
imul eax, eax, 0x64
cmp byte [eax + str.Ghost], 0
jne 0x493319
inc esi
add ecx, 4
cmp esi, 6
jl 0x4932d4
add edx, 6
inc ebx
add edi, 0x18
cmp edx, 0xcc
jl 0x4932d0
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 0x49333c
mov ecx, dword [ebp - 0x10]
mov edi, dword [ecx]
call fcn.005619b8
cdq
mov ecx, 3
idiv ecx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov eax, dword [eax + 0x60a930]
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.004f5390
cmp eax, 5
jg 0x493392
cmp eax, 1
jge 0x493399
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 0x493339
cmp dword [ebp - 0x1c], 0
je 0x493339
push 0x2c8
call fcn.00554883
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x4933e1
push 0
push dword [ebp - 0x10]
mov ecx, eax
push esi
push ebx
call fcn.004955d0
mov esi, eax
jmp 0x4933e3
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.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
call fcn.0044c2c0
cmp eax, 1
jne 0x493479
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.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