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

Disassembly:
push 0x80
mov eax, 0x577ab1
call fcn.005635af
mov edi, ecx
mov esi, dword [edi]
mov ebx, dword [ebp + 8]
test esi, esi
je 0x493af5
cmp dword [esi + 0x58c], 0
je 0x493af5
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov dword [edi + 0x7c], eax
cmp dword [ebx + 0x10], 0
je 0x493a47
test ecx, ecx
jle 0x493a47
mov eax, dword [esi + 0x240]
or eax, dword [esi + 0x244]
je 0x4937d1
mov eax, ecx
cdq
cmp dword [esi + 0x240], eax
jne 0x493a47
cmp dword [esi + 0x244], edx
jne 0x493a47
push ecx
mov ecx, dword [esi + 0x2d0]
push ebx
push esi
call fcn.004a511b
cmp dword [edi + 0x58], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
jne 0x4937f9
cmp dword [edi + 0x5c], 0
je 0x4937f9
call esi
sub eax, dword [edi + 0x5c]
mov dword [edi + 0x58], eax
mov eax, dword [edi]
mov eax, dword [eax + 0x324]
test eax, eax
je 0x49380f
cmp eax, 3
je 0x49380f
cmp eax, 0x15
jne 0x493835
cmp dword [edi + 0x54], 0
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x7c], eax
mov byte [edi + 7], 1
je 0x493835
call esi
sub eax, dword [edi + 0x54]
and dword [edi + 0x54], 0
cmp eax, 0xfa00
jae 0x493835
add dword [edi + 0x60], eax
inc dword [edi + 0x64]
cmp dword [edi + 0x130], 0
jne 0x4939c7
mov esi, dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
push 0x20
call esi
pop ecx
xor ecx, ecx
test eax, eax
je 0x49385d
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 0x18], ecx
jmp 0x49385f
mov eax, ecx
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x80], ecx
lea ecx, [ebp - 0x84]
push eax
call fcn.00494f32
mov ecx, dword [edi + 0x134]
mov eax, dword [ebp - 0x80]
mov dword [edi + 0x134], eax
mov eax, dword [ebp - 0x84]
mov dword [edi + 0x130], eax
test ecx, ecx
je 0x493898
call fcn.004027d2
push ecx
lea eax, [ebp - 0x80]
mov dword [ebp - 0x80], edi
push ebx
push eax
lea ecx, [ebp - 0x7c]
call fcn.00494e36
add esp, 0xc
mov dword [ebp - 0x80], eax
mov dword [ebp - 4], 1
and dword [ebp - 0x18], 0
push 0x2c
mov byte [ebp - 4], 2
call esi
pop ecx
test eax, eax
jne 0x4938cd
call dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Xbad_alloc_void_]
push ecx
mov byte [ebp - 4], 4
mov ecx, eax
push dword [ebp - 0x80]
call fcn.00494fe1
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 5
lea eax, [ebp - 0x28]
mov ecx, dword [edi + 0x130]
push eax
add ecx, 8
call fcn.0040265f
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.004026eb
lea ecx, [ebp - 0x28]
call fcn.004026eb
push 0
push 1
lea ecx, [ebp - 0x74]
call fcn.00401cbf
xor eax, eax
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x40], al
mov dword [ebp - 4], 6
lea edx, [ebp - 0x40]
mov dword [ebp - 0x80], eax
mov ecx, ebx
lea eax, [ebp - 0x80]
push eax
call fcn.005359bd
pop ecx
test al, al
je 0x4939b7
mov eax, dword [edi]
cmp dword [eax + 0x590], 0
je 0x4939b7
mov ecx, dword [edi + 0x130]
lea eax, [ebp - 0x8c]
push eax
call fcn.004755de
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.00494e61
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 8
call fcn.00494e89
mov byte [ebp - 4], 9
lea eax, [ebp - 0x58]
mov ecx, dword [edi]
push eax
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ecx + 0x590]
call fcn.0044422c
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 8
call fcn.004026eb
lea ecx, [ebp - 0x58]
call fcn.004026eb
lea ecx, [ebp - 0x18]
call fcn.0040789d
lea ecx, [ebp - 0x8c]
call fcn.0040789d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
push 0
push 1
call fcn.00401cbf
lea ecx, [edi + 0x118]
cmp ecx, ebx
je 0x4939db
push 0xffffffffffffffff
push 0
push ebx
call fcn.00401c2b
mov eax, dword [edi]
mov ecx, dword [eax + 0x694]
test ecx, ecx
je 0x4939f2
mov eax, dword [ebp + 0xc]
cdq
push edx
push eax
call fcn.004a659c
mov esi, dword [edi]
mov ecx, dword [esi + 0x240]
or ecx, dword [esi + 0x244]
jne 0x493af5
mov eax, dword [ebp + 0xc]
mov ecx, esi
cdq
push edx
push eax
call fcn.0049e02d
mov ecx, dword [edi]
mov eax, dword [ecx + 0x240]
or eax, dword [ecx + 0x244]
mov byte [ecx + 0x69d], 1
je 0x493af5
call fcn.00498655
test eax, eax
je 0x493af5
mov ecx, dword [edi]
call fcn.0049d7c1
jmp 0x493af5
mov esi, dword [esi + 0x2d0]
mov ecx, esi
push 2
call fcn.004a4a25
push eax
mov ecx, esi
call fcn.004a4a58
xor ebx, ebx
mov esi, eax
cmp dword [ebp + 0xc], 0xfffffffe
jne 0x493aa3
mov byte [edi + 8], 1
cmp dword [edi + 0x54], ebx
je 0x493a8a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [edi + 0x54]
mov dword [edi + 0x54], ebx
cmp eax, 0xfa00
jae 0x493a8a
add dword [edi + 0x60], eax
inc dword [edi + 0x64]
test esi, esi
je 0x493aa3
mov eax, dword [edi]
push ecx
push dword [edi + 0x110]
mov ecx, dword [eax + 0x2d0]
push eax
call fcn.004a4f41
mov eax, dword [edi]
inc dword [eax + 0x6b8]
mov edx, dword [edi]
mov eax, dword [edx + 0x324]
cmp eax, 0x10
je 0x493abd
cmp eax, 0x14
jne 0x493aef
add edx, 0x248
lea ecx, [ebp - 0x70]
call fcn.00534e6e
mov dword [ebp - 4], ebx
mov ecx, dword [edi]
push ecx
push eax
mov ecx, dword [ecx + 0x58c]
call fcn.0048525d
mov ecx, eax
call fcn.004a36c9
push ebx
push 1
lea ecx, [ebp - 0x70]
call fcn.00401d04
mov byte [edi + 0x114], bl
call fcn.0056355e
ret 0xc