Function at 0x4968b0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cbab7
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x6327e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
call dword [sym.imp.WINMM.dll_timeGetTime]
mov edi, eax
mov eax, dword [esi + 0x770]
mov ebx, edi
sub ebx, eax
test eax, eax
je 0x4968f7
cmp edi, eax
jae 0x49690e
call fcn.0056eac9
cdq
mov ecx, 0x12c
idiv ecx
mov eax, edi
sub eax, edx
mov dword [esi + 0x770], eax
cmp ebx, 0x12c
jbe 0x496b12
mov dword [esi + 0x770], edi
xor ebx, ebx
xor edx, edx
lea edi, [esi + 0x108]
nop word [eax + eax]
xor esi, esi
mov ecx, edi
mov eax, dword [ecx]
cmp eax, dword [ecx + 0x330]
jge 0x49694d
lea eax, [edx + esi]
imul eax, eax, 0x64
cmp byte [eax + str.Ghost], 0
jne 0x496979
inc esi
add ecx, 4
cmp esi, 6
jl 0x496934
add edx, 6
inc ebx
add edi, 0x18
cmp edx, 0xcc
jl 0x496930
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 - 0x18]
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 0x4969a3
mov ecx, dword [ebp - 0x18]
mov edi, dword [ecx]
call fcn.0056eac9
cdq
mov ecx, 3
idiv ecx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov eax, dword [eax + 0x626908]
add eax, 4
add eax, edx
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + ebx]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x18]
push eax
call dword [edi + 0x18]
push dword [ebp - 0x14]
mov edi, dword [ebp + 8]
mov ecx, edi
push dword [ebp - 0x10]
mov dword [ebp - 0x1c], 1
call fcn.004fae00
cmp eax, 5
jg 0x4969f9
cmp eax, 1
jge 0x496a00
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov edx, dword [edi]
push ecx
push eax
push ecx
push eax
mov ecx, edi
call dword [edx + 0x20]
neg eax
sbb eax, eax
test dword [ebp - 0x1c], eax
je 0x4969a0
push 0x2c8
call fcn.0055f3ea
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x496a47
push 0
push dword [ebp - 0x18]
mov ecx, eax
push esi
push ebx
call fcn.00498ca0
mov esi, eax
jmp 0x496a49
xor esi, esi
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x108], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x10c], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x110], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x114], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x228], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x22c], eax
mov ecx, dword [edi + 0x118]
push esi
mov dword [ebp - 4], 0xffffffff
call fcn.0051b320
mov ecx, esi
mov byte [ebp - 0x34], 0x18
mov dword [ebp - 0x33], esi
call fcn.0044cdf0
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.0044cdf0
cmp eax, 1
jne 0x496adf
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.00531c80
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