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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffaa8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x38], 1
mov eax, dword [ebp - 4]
add eax, 0x3c
mov edx, 0x4b67a8
call fcn.00404d10
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x34]
lea eax, [ebp - 0x558]
call fcn.00403338
mov edx, 1
lea eax, [ebp - 0x558]
call fcn.00403850
xor eax, eax
mov dword [ebp - 8], eax
call sub.kernel32.dll_GetTickCount_1
mov edi, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov dword [ebp - 0xc], 0x400
xor edx, edx
push ebp
push 0x4b678d
push dword fs:[edx]
mov dword fs:[edx], esp
jmp 0x4b66ae
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x24]
mov eax, dword [eax + 0x20]
push edx
push eax
mov eax, dword [ebp - 8]
cdq
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
push edx
push eax
mov eax, dword [ebp - 0xc]
cdq
cmp edx, dword [esp + 4]
jne 0x4b6613
cmp eax, dword [esp]
pop edx
pop eax
ja 0x4b661c
jmp 0x4b6617
pop edx
pop eax
jg 0x4b661c
mov ebx, dword [ebp - 0xc]
jmp 0x4b6625
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x20]
sub ebx, dword [ebp - 8]
lea edx, [ebp - 0x40c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x68]
mov ecx, ebx
call fcn.004aea60
add dword [ebp - 8], ebx
call sub.kernel32.dll_GetTickCount_1
mov esi, eax
mov eax, esi
sub eax, edi
cmp eax, 0x3e8
jl 0x4b6678
mov eax, dword [ebp - 4]
push eax
push 0x4b6dd8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004b0880
mov edi, esi
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x18]
mov dword [eax + 0x28], ecx
mov ecx, dword [edx + 0x1c]
mov dword [eax + 0x2c], ecx
push 0
lea edx, [ebp - 0x40c]
mov ecx, ebx
lea eax, [ebp - 0x558]
call fcn.004034b0
mov eax, dword [ebp - 8]
cdq
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], edx
mov eax, dword [ebp - 4]
push eax
push 0x4b6d38
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004b0880
mov eax, dword [ebp - 8]
cdq
mov ecx, dword [ebp - 4]
cmp edx, dword [ecx + 0x24]
jne 0x4b66c1
cmp eax, dword [ecx + 0x20]
jae 0x4b66e2
jmp 0x4b66c3
jge 0x4b66e2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x68]
mov edx, dword [eax]
call dword [edx + 0x54]
test al, al
je 0x4b66e2
mov eax, dword [ebp - 4]
cmp byte [eax + 0x40], 0
je 0x4b65e6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b6797
lea eax, [ebp - 0x558]
call fcn.004034d0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
xor edx, edx
mov dword [eax + 0x40], edx
mov eax, dword [eax + 0x68]
mov edx, dword [eax]
call dword [edx + 0x58]
mov eax, dword [ebp - 4]
mov byte [eax + 0x38], 0
mov eax, dword [ebp - 8]
cdq
mov ecx, dword [ebp - 4]
cmp edx, dword [ecx + 0x24]
jne 0x4b6723
cmp eax, dword [ecx + 0x20]
je 0x4b6745
mov eax, dword [ebp - 4]
add eax, 0x3c
mov edx, 0x4b67b8
call fcn.00404d10
mov eax, dword [ebp - 4]
mov byte [eax + 0x40], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x38], 0
jmp 0x4b6763
mov eax, dword [ebp - 4]
add eax, 0x3c
mov edx, 0x4b67d4
call fcn.00404d10
mov eax, dword [ebp - 4]
mov byte [eax + 0x39], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x38], 0
mov eax, dword [ebp - 4]
push eax
push 0x4b6d38
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004b0880
mov eax, dword [ebp - 4]
cmp dword [eax + 0x48], 0
je 0x4b678c
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x4c]
call dword [ebx + 0x48]
ret