Function at 0x493ae8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0x41c
mov eax, 0x575245
call fcn.00561213
mov edi, ecx
mov ecx, dword [edi]
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x418], eax
test ecx, ecx
je 0x493dd5
mov ecx, dword [ecx + 0x2d0]
test ecx, ecx
je 0x493dd5
mov esi, dword [ebp + 0x10]
push esi
call fcn.004a56fe
push eax
call fcn.004a5740
mov ebx, eax
mov dword [ebp - 0x41c], ebx
test ebx, ebx
je 0x493b56
cmp dword [ebx + 0x238], 0
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0x14], eax
je 0x493b56
mov dword [ebx + 0x240], ecx
mov dword [ebx + 0x244], eax
cmp esi, dword [edi + 0xd8]
jne 0x493dd5
mov ecx, dword [edi]
cmp dword [ecx + 0x6c4], 0
jne 0x493b82
mov edx, dword [ecx + 0x6c8]
mov eax, dword [ebp + 0x1c]
cmp edx, eax
jge 0x493b82
sub eax, edx
mov dword [ecx + 0x6c4], eax
mov ecx, dword [ebp - 0x418]
mov byte [edi + 0x104], 1
test ecx, ecx
je 0x493c45
mov eax, dword [ebp + 0x18]
test eax, eax
jle 0x493c45
push dword [ebp - 0x41c]
add eax, ecx
lea esi, [edi + 0xdc]
push eax
push ecx
push dword [esi + 4]
mov ecx, esi
call fcn.00466217
and dword [ebp - 0x418], 0
lea eax, [ebp - 0x418]
push 4
push eax
push 0
mov ecx, esi
call fcn.004a7d91
test al, al
je 0x493c45
mov esi, dword [ebp - 0x418]
test esi, esi
jle 0x493c45
mov eax, dword [edi]
mov ecx, dword [eax + 0x694]
test ecx, ecx
je 0x493bf9
mov eax, esi
cdq
push edx
push eax
call fcn.004a712b
mov ecx, dword [edi]
mov edx, dword [ecx + 0x240]
or edx, dword [ecx + 0x244]
jne 0x493c45
mov eax, esi
cdq
push edx
push eax
call fcn.0049edbc
mov ecx, dword [edi]
mov eax, dword [ecx + 0x240]
or eax, dword [ecx + 0x244]
mov byte [ecx + 0x69d], 1
je 0x493c45
call fcn.004994d2
test eax, eax
je 0x493c45
mov ecx, dword [edi]
push 0
push 0
call fcn.0049edbc
mov ecx, dword [edi]
call fcn.0049e550
mov eax, dword [edi]
cmp dword [eax + 0x244], 0
jl 0x493dd5
jg 0x493c63
cmp dword [eax + 0x240], 0
jbe 0x493dd5
mov esi, dword [edi + 0xec]
inc esi
mov dword [ebp - 0x418], esi
cmp esi, 0xc8
jge 0x493db1
mov eax, esi
shl eax, 0xa
mov ebx, eax
push 0x400
lea eax, [ebp - 0x414]
push 0
push eax
call sub.MSVCR120.dll_memset
lea ecx, [edi + 0xdc]
add esp, 0xc
mov eax, dword [ecx + 0xc]
add eax, ebx
js 0x493cba
push 0x400
lea edx, [ebp - 0x414]
push edx
push eax
call fcn.004a7d91
jmp 0x493cbc
xor al, al
test al, al
je 0x493dab
mov dword [edi + 0xec], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [edi + 0xcc]
lea ecx, [edi + 0xc0]
mov dword [ebp - 0x424], eax
lea eax, [ebp - 0x428]
push eax
mov dword [ebp - 0x428], esi
call fcn.0043fa25
mov eax, dword [edi]
cmp dword [eax + 0x610], 0
je 0x493d57
lea esi, [eax + 0x628]
mov ecx, esi
mov dword [ebp - 0x420], esi
call fcn.005383c0
and dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push dword [ebp + 0x10]
sub eax, dword [edi + 0xcc]
push dword [edi + 0xec]
push eax
mov eax, dword [edi]
push 0x592af8
push 0x592ab8
push dword [eax + 0x610]
call fcn.00532424
or dword [ebp - 4], 0xffffffff
add esp, 0x18
mov ecx, esi
call fcn.005383d0
mov esi, dword [ebp - 0x418]
mov ecx, dword [edi]
lea eax, [ebp - 0x414]
push 0x400
push eax
push esi
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
call fcn.00499d57
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [edi + 0xcc]
cmp eax, 0x1f4
jae 0x493d92
mov byte [edi + 0xf1], 1
inc esi
add ebx, 0x400
mov dword [ebp - 0x418], esi
cmp ebx, 0x32000
jl 0x493c83
mov ebx, dword [ebp - 0x41c]
test ebx, ebx
je 0x493dd5
mov ecx, ebx
call fcn.004a7ccb
test al, al
je 0x493dd5
mov ecx, dword [edi]
push ecx
push dword [edi + 0xd8]
push ecx
mov ecx, dword [ecx + 0x2d0]
call fcn.004a5b71
call fcn.005611c2
ret 0x18