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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5a95a4
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x5a954d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x6e42cc]
cmp dword [eax], 0
jne 0x5a92fd
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5a9561
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [0x6e3aac]
cmp eax, dword [edx]
jne 0x5a9543
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x5a93ba
mov dword [ebp - 0xc], 0x1e
mov dword [ebp - 0x10], 0x5a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x5a9390
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 8], 0
push 0x8000
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov edx, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
call fcn.00405d60
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [0x6e3b70]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call fcn.00496070
add dword [ebp - 0x10], 0x10
inc dword [ebp - 8]
dec dword [ebp - 0x1c]
jne 0x5a934d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x18]
push eax
call sub.kernel32.dll_GetTickCount_1
pop edx
sub eax, edx
cmp eax, 0xbb8
jb 0x5a93ba
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x5a9463
mov dword [ebp - 0xc], 0x1e
mov dword [ebp - 0x10], 0x168
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x5a9439
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 8], 0
push 0xff00
lea ecx, [ebp - 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov edx, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
call fcn.00405d60
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [0x6e3b70]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call fcn.00496070
add dword [ebp - 0x10], 0x10
inc dword [ebp - 8]
dec dword [ebp - 0x1c]
jne 0x5a93f6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x18]
push eax
call sub.kernel32.dll_GetTickCount_1
pop edx
sub eax, edx
cmp eax, 0xbb8
jb 0x5a9463
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x5a9543
lea ecx, [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x14], 0
jne 0x5a94c1
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 0x18]
call fcn.00405d60
mov edx, dword [ebp - 0x34]
mov eax, dword [0x6e3b70]
mov eax, dword [eax]
mov cl, 1
call fcn.00495f58
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x10]
cmp eax, 0x1e
jbe 0x5a94e2
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 4]
inc dword [eax + 0x14]
mov al, byte [ebp - 0x14]
call fcn.0055ba98
push eax
lea eax, [ebp - 0x38]
mov edx, dword [ebp - 0x18]
call fcn.00405d60
mov eax, dword [ebp - 0x38]
push eax
mov edx, dword [0x6e3b80]
mov edx, dword [edx]
mov eax, dword [ebp - 4]
sub edx, dword [eax + 0x14]
mov eax, dword [0x6e3b70]
mov eax, dword [eax]
mov ecx, 0x1e
call fcn.00496070
mov eax, dword [0x6e3b80]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x18]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x14]
jge 0x5a9543
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x14], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x48]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5a9561
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a95ab
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.00405bf4
lea eax, [ebp - 0x30]
call fcn.004053d4
lea eax, [ebp - 0x2c]
call fcn.00405bdc
lea eax, [ebp - 0x28]
call fcn.004053d4
lea eax, [ebp - 0x24]
call fcn.00405bdc
lea eax, [ebp - 0x18]
call fcn.004053d4
ret