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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff98
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0xc], ecx
mov word [ebp - 6], dx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
call fcn.00405960
xor eax, eax
push ebp
push 0x6a4d06
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x36c], 0
jne 0x6a4799
mov eax, dword [ebp - 4]
lea edx, [eax + 0x15]
lea eax, [ebp - 0x58]
call fcn.00403a20
mov edx, 0x6a4d18
lea eax, [ebp - 0x58]
mov cl, 0x25
call fcn.004039f0
lea edx, [ebp - 0x58]
lea eax, [ebp - 0x30]
call fcn.00405744
mov eax, dword [ebp - 0x30]
call fcn.004e0c68
jmp 0x6a4cdb
mov eax, dword [ebp - 4]
cmp byte [eax + 0x3ab], 0
jne 0x6a47b1
mov eax, dword [ebp - 4]
cmp byte [eax + 0x331], 0
je 0x6a480b
cmp dword [ebp + 8], 0
jbe 0x6a47e3
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
movzx ecx, word [ebp - 6]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x18]
jmp 0x6a4cdb
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
movzx ecx, word [ebp - 6]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
call fcn.006a3f8c
jmp 0x6a4cdb
mov eax, dword [0x70750c]
push eax
call sub.kernel32.dll_EnterCriticalSection
xor edi, edi
push ebp
push 0x6a4cd4
push dword fs:[edi]
mov dword fs:[edi], esp
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x47c]
cmp eax, 0x1f4
jae 0x6a484c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x470]
cmp dword [eax + 8], 0
jne 0x6a4b43
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x47c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x470]
mov edx, dword [eax]
call dword [edx + 8]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x24]
mov edx, ecx
mov eax, dword [0x7070f8]
mov eax, dword [eax + 0x1b8c]
sub edx, eax
mov ebx, dword [0x7070f8]
add ecx, eax
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx + 0x28]
mov esi, ebx
mov edi, dword [0x7070f8]
sub esi, eax
mov dword [ebp - 0x1c], esi
mov esi, dword [0x7070f8]
add ebx, eax
mov dword [ebp - 0x20], ebx
sub ecx, edx
jl 0x6a4b39
inc ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
sub edx, eax
jl 0x6a4b2d
inc edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x36c]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
call fcn.006b56c4
test al, al
je 0x6a4b21
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 4]
test eax, eax
je 0x6a4b21
mov eax, dword [eax + 8]
dec eax
cmp eax, 0
jl 0x6a4b21
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x10]
call fcn.00420a68
mov ebx, eax
test ebx, ebx
je 0x6a4b14
cmp byte [ebx], 1
jne 0x6a4b14
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 5]
cmp eax, 0x2bf20
jb 0x6a496f
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x10]
call fcn.0042090c
mov edx, 0xa
mov eax, ebx
call fcn.0040300c
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 4]
cmp dword [eax + 8], 0
jg 0x6a4b14
mov eax, dword [ebp - 0x24]
add eax, 4
call fcn.00411fe0
jmp 0x6a4b21
xor eax, eax
push ebp
push 0x6a4a9a
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, dword [ebx + 1]
test ebx, ebx
je 0x6a4a90
cmp byte [ebx + 0x370], 0
jne 0x6a4a90
cmp byte [ebx + 0x2b6], 0
jne 0x6a4a03
cmp dword [ebp + 8], 0
jbe 0x6a49cc
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
movzx ecx, word [ebp - 6]
mov edx, dword [ebp - 4]
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x18]
jmp 0x6a49ee
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
movzx ecx, word [ebp - 6]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.006a3f8c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x470]
mov edx, ebx
call fcn.004208c0
jmp 0x6a4a90
cmp byte [ebx + 0x384], 0
je 0x6a4a90
cmp word [ebp - 6], 0x9e
je 0x6a4a30
cmp word [ebp - 6], 0xa6
je 0x6a4a30
cmp word [ebp - 6], 0x9f
je 0x6a4a30
cmp word [ebp - 6], 0xbc
jne 0x6a4a90
cmp dword [ebp + 8], 0
jbe 0x6a4a5e
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
movzx ecx, word [ebp - 6]
mov edx, dword [ebp - 4]
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x18]
jmp 0x6a4a80
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
movzx ecx, word [ebp - 6]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.006a3f8c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x470]
mov edx, ebx
call fcn.004208c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6a4b14
dec dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0xffffffff
jne 0x6a4905
inc dword [ebp - 0x18]
dec dword [ebp - 0x2c]
jne 0x6a48c7
inc dword [ebp - 0x14]
dec dword [ebp - 0x28]
jne 0x6a48b2
call fcn.00404eb0
jmp 0x6a4cdb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x470]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x6a4cbb
inc eax
mov dword [ebp - 0x28], eax
xor esi, esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x470]
mov edx, esi
call fcn.00420a68
mov ebx, eax
test ebx, ebx
je 0x6a4cb1
cmp byte [ebx + 0x370], 0
jne 0x6a4cb1
mov eax, dword [ebx + 0x36c]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x36c]
jne 0x6a4cb1
mov eax, dword [ebx + 0x24]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x24]
cdq
xor eax, edx
sub eax, edx
mov edx, dword [0x7070f8]
cmp eax, dword [edx + 0x1b8c]
jg 0x6a4cb1
mov eax, dword [ebx + 0x28]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x28]
cdq
xor eax, edx
sub eax, edx
mov edx, dword [0x7070f8]
cmp eax, dword [edx + 0x1b8c]
jg 0x6a4cb1
cmp byte [ebx + 0x2b6], 0
jne 0x6a4c38
cmp dword [ebp + 8], 0
jbe 0x6a4c14
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
movzx ecx, word [ebp - 6]
mov edx, dword [ebp - 4]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x18]
jmp 0x6a4cb1
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
movzx ecx, word [ebp - 6]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.006a3f8c
jmp 0x6a4cb1
cmp byte [ebx + 0x384], 0
je 0x6a4cb1
cmp word [ebp - 6], 0x9e
je 0x6a4c61
cmp word [ebp - 6], 0xa6
je 0x6a4c61
cmp word [ebp - 6], 0x9f
je 0x6a4c61
cmp word [ebp - 6], 0xbc
jne 0x6a4cb1
cmp dword [ebp + 8], 0
jbe 0x6a4c8f
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
movzx ecx, word [ebp - 6]
mov edx, dword [ebp - 4]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x18]
jmp 0x6a4cb1
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
movzx ecx, word [ebp - 6]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.006a3f8c
inc esi
dec dword [ebp - 0x28]
jne 0x6a4b5e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6a4cdb
mov eax, dword [0x70750c]
push eax
call sub.kernel32.dll_LeaveCriticalSection
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6a4d0d
lea eax, [ebp - 0x60]
mov edx, 2
call fcn.004054f4
lea eax, [ebp - 0x30]
call fcn.004054d0
lea eax, [ebp + 0xc]
call fcn.004054d0
ret