Function at 0x493bd0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c2077
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 ebx, ecx
mov dword [ebp - 0x20], 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 0x493c17
cmp esi, eax
jae 0x493c2e
call fcn.00565cd7
cdq
mov ecx, 0x12c
idiv ecx
mov eax, esi
sub eax, edx
mov dword [ebx + 0x770], eax
cmp edi, 0x12c
jbe 0x493e62
xor eax, eax
mov dword [ebx + 0x770], esi
mov dword [ebp - 0x10], eax
xor ecx, ecx
lea eax, [ebx + 0x108]
mov dword [ebp - 0x14], ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x18], eax
xor edi, edi
mov esi, eax
mov dword [ebp - 0x1c], edi
nop dword [eax]
mov eax, dword [esi]
cmp eax, dword [esi + 0x330]
jge 0x493c9a
lea eax, [ecx + edi]
imul eax, eax, 0x64
cmp byte [eax + str.Ghost], 0
je 0x493c9a
test byte [eax + 0x61a868], 0x80
je 0x493c9a
mov ecx, ebx
call fcn.0044ccc0
cmp eax, 4
jne 0x493c97
cmp dword [ebx + 0x134], 2
je 0x493cd4
mov ecx, dword [ebp - 0x14]
inc edi
add esi, 4
mov dword [ebp - 0x1c], edi
cmp edi, 6
jl 0x493c60
mov eax, dword [ebp - 0x18]
add ecx, 6
inc dword [ebp - 0x10]
add eax, 0x18
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
cmp ecx, 0xcc
jl 0x493c56
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 edi, dword [ebp - 0x10]
call fcn.00565cd7
cdq
mov ecx, 0x3c
idiv ecx
mov esi, edx
lea eax, [esi + 2]
mov dword [ebp - 0x14], eax
call fcn.00565cd7
cdq
mov ecx, 0x3c
idiv ecx
lea ecx, [esi + 2]
mov eax, edx
mov dword [ebp - 0x18], eax
lea edx, [eax + 2]
mov eax, dword [ebx]
push edx
push ecx
push edx
push ecx
mov ecx, ebx
mov dword [ebp - 0x24], edx
call dword [eax + 0x20]
neg eax
sbb ecx, ecx
and ecx, 1
mov dword [ebp + 8], ecx
cmp esi, 3
ja 0x493d30
mov eax, 3
cmp eax, dword [ebp - 0x18]
sbb eax, eax
and ecx, eax
mov dword [ebp + 8], ecx
cmp edi, 7
jne 0x493d3f
lea eax, [esi + 2]
cmp eax, 0x21
jl 0x493cd7
jmp 0x493d68
cmp edi, 0x16
jne 0x493d68
lea eax, [esi + 2]
cmp eax, 0x21
jl 0x493d68
call fcn.00565cd7
and eax, reloc.WS2_32.dll_closesocket
jns 0x493d5f
dec eax
or eax, 0xfffffffc
add eax, 1
jne 0x493cd7
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x493cd7
push 0x2c4
call fcn.00556676
mov ecx, eax
add esp, 4
mov dword [ebp + 8], ecx
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 4], 0
test ecx, ecx
je 0x493da3
mov eax, dword [ebp - 0x10]
push 0
push dword [ebp - 0x20]
push edi
push eax
call fcn.00496cf0
mov esi, eax
jmp 0x493da5
xor esi, esi
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
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 [ebx + 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, ebx
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 0x493e2f
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, ebx
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