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

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x54
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x44], eax
mov eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [ebp - 0xc], eax
xor eax, eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x2c], 0xffffffff
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x24], 0xffffffff
cmp dword [ebp - 0x44], 0
je 0x6b9d46
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
imul ebx, eax, 0x3e8
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 4]
lea ecx, [eax + 0x3e7]
mov edx, 0x10624dd3
mov eax, ecx
imul edx
sar edx, 6
mov eax, ecx
sar eax, 0x1f
sub edx, eax
mov eax, edx
add eax, ebx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x3c]
add eax, 4
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call eax
sub esp, 4
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0x1c]
lea edx, [eax + 1]
mov eax, dword [ebp - 0x3c]
mov dword [eax + 0x1c], edx
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x3c]
add eax, 4
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call eax
sub esp, 4
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call eax
sub esp, 4
mov eax, dword [sym.imp.KERNEL32.dll_GetTickCount]
call eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
mov edx, dword [ebp - 0x28]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call eax
sub esp, 8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x3c]
add eax, 4
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call eax
sub esp, 4
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x6b9e13
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0x24]
cmp dword [ebp - 0x1c], eax
je 0x6b9e13
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0x20]
lea edx, [eax - 1]
mov eax, dword [ebp - 0x3c]
mov dword [eax + 0x20], edx
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0x1c]
lea edx, [eax - 1]
mov eax, dword [ebp - 0x3c]
mov dword [eax + 0x1c], edx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
jmp 0x6b9eb2
cmp dword [ebp - 0x14], 0
je 0x6b9e49
cmp dword [ebp - 0x14], 0x102
jne 0x6b9e29
mov eax, 1
jmp 0x6b9e2e
mov eax, 0xffffffff
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0x1c]
lea edx, [eax - 1]
mov eax, dword [ebp - 0x3c]
mov dword [eax + 0x1c], edx
mov dword [ebp - 0x30], 0
jmp 0x6b9eb2
cmp dword [ebp - 0x28], 0xffffffff
je 0x6b9e93
mov eax, dword [sym.imp.KERNEL32.dll_GetTickCount]
call eax
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x24]
add eax, edx
cmp dword [ebp - 0x10], eax
jb 0x6b9e85
mov dword [ebp - 0x2c], 1
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0x1c]
lea edx, [eax - 1]
mov eax, dword [ebp - 0x3c]
mov dword [eax + 0x1c], edx
mov dword [ebp - 0x30], 0
jmp 0x6b9eb2
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x24]
add eax, edx
sub eax, dword [ebp - 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0x20]
test eax, eax
jne 0x6b9eb1
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_ResetEvent]
call eax
sub esp, 4
jmp 0x6b9eb2
nop
mov eax, dword [ebp - 0x3c]
add eax, 4
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call eax
sub esp, 4
cmp dword [ebp - 0x30], 0
jne 0x6b9d9e
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call eax
sub esp, 4
mov eax, dword [ebp - 0x3c]
add eax, 4
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call eax
sub esp, 4
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0x1c]
test eax, eax
jne 0x6b9f0e
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_ResetEvent]
call eax
sub esp, 4
mov eax, dword [ebp - 0x3c]
add eax, 4
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call eax
sub esp, 4
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0xc]
xor ebx, dword [sym.imp.libssp_0.dll___stack_chk_guard]
je 0x6b9f34
call sub.libssp_0.dll___stack_chk_fail
mov ebx, dword [ebp - 4]
leave
ret