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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0xb3a40a
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
lea eax, [ebp - 0x18]
call fcn.00a14dc8
mov eax, dword [ebp - 4]
mov byte [eax + 0xc], 0
mov byte [ebp - 0x2d], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.00a15098
test eax, eax
jle 0xb3a342
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x26]
push eax
lea ecx, [ebp - 0x20]
lea edx, [ebp - 0x19]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.00b39a24
mov dl, 1
mov eax, dword [0xa29c7c]
call fcn.00a13f2c
mov dword [ebp - 0x2c], eax
xor eax, eax
push ebp
push 0xb3a203
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.00b379e4
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 8]
call fcn.00b36b04
mov dl, byte [ebp - 0x19]
mov eax, dword [ebp - 8]
call fcn.00b36b5c
lea edx, [ebp - 0x48]
movzx eax, word [ebp - 0x26]
call fcn.00a19c30
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 8]
call fcn.00b36b30
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 8]
call fcn.00b36b9c
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
call fcn.00b36c2c
xor eax, eax
push ebp
push 0xb3a1f2
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0xb3a1a7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0xb3a19d
inc eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
cmp byte [eax + 4], 0
jne 0xb3a19d
cmp dword [ebp - 0x14], 0
jle 0xb39fe9
mov eax, dword [0xb73d54]
mov eax, dword [eax]
cmp byte [eax + 0x24], 0
je 0xb39fe9
lea eax, [ebp - 0x18]
call fcn.00a14dc8
jmp 0xb3a19d
call sub.kernel32.dll_GetTickCount_1
mov esi, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
mov eax, dword [ebp - 8]
call fcn.00b37d34
push 1
call sub.kernel32.dll_Sleep_1
call sub.kernel32.dll_GetTickCount_1
sub eax, esi
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
cdq
cmp edx, dword [esp + 4]
jne 0xb3a035
cmp eax, dword [esp]
pop edx
pop eax
ja 0xb3a039
jmp 0xb3a0ab
pop edx
pop eax
jle 0xb3a0ab
mov eax, dword [ebp - 4]
cmp byte [eax + 4], 0
je 0xb3a05c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.00a147e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0xb3a3cf
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
call dword [edx]
cmp edx, dword [ebp - 0x3c]
jne 0xb3a06b
cmp eax, dword [ebp - 0x40]
je 0xb3a083
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
call dword [edx]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
jmp 0xb3a091
call sub.kernel32.dll_GetTickCount_1
sub eax, ebx
cmp eax, 0x1388
jae 0xb3a0ab
mov eax, dword [ebp - 8]
call fcn.00b36968
sub al, 2
je 0xb3a0ab
sub al, 2
je 0xb3a0ab
add al, 0xf9
sub al, 5
jae 0xb3a00d
mov eax, dword [ebp - 4]
cmp byte [eax + 4], 0
je 0xb3a0ce
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.00a147e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0xb3a3cf
mov eax, dword [ebp - 8]
call fcn.00b36968
sub al, 0xb
je 0xb3a0e2
sub al, 2
jne 0xb3a17f
mov eax, dword [ebp - 8]
cmp dword [eax + 0x4b8], 0xc8
je 0xb3a10b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.00a147e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0xb3a3cf
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00b36c20
call fcn.00a2ea14
mov eax, dword [ebp - 8]
call fcn.00b36c20
mov edx, dword [eax]
call dword [edx]
mov edx, eax
lea eax, [ebp - 0x18]
call fcn.00a15424
mov eax, dword [ebp - 8]
call fcn.00b36c20
mov edx, dword [eax]
call dword [edx]
push eax
lea eax, [ebp - 0x18]
call fcn.00a152f0
push eax
mov eax, dword [ebp - 8]
call fcn.00b36c20
pop edx
pop ecx
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x18]
call fcn.00b3981c
test al, al
je 0xb3a179
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 0x18]
call fcn.00a16fd4
mov edx, dword [ebp - 0x4c]
lea eax, [ebp - 0x18]
call fcn.00a15060
mov byte [ebp - 0xd], 1
jmp 0xb3a19d
mov eax, dword [ebp - 8]
call fcn.00b36968
cmp al, 0xe
jne 0xb3a191
mov byte [ebp - 0x2d], 1
jmp 0xb3a19d
inc dword [ebp - 0x14]
dec dword [ebp - 0x44]
jne 0xb39fbc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0xb3a1c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xb3a1f9
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.00b36c2c
mov eax, dword [ebp - 0x2c]
call fcn.00a13f5c
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.00b379e4
ret
push ebp
xchg esi, eax
enter 0x5900, 0xffffffffffffff81
shl dword [0xfffff572], 0xe1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xb3a411
lea eax, [ebp - 0x50]
call fcn.00a14dc8
lea eax, [ebp - 0x4c]
call fcn.00a15520
lea eax, [ebp - 0x48]
call fcn.00a14dc8
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00a14dec
lea eax, [ebp - 0x18]
call fcn.00a14dc8
ret