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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0xb3aa9c
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0xb3ace2
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebx + 0xc]
call fcn.00a15098
test eax, eax
jle 0xb3acaa
lea eax, [ebp - 0x24]
mov edx, dword [ebx + 0xc]
call fcn.00a156a0
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0xc]
mov dl, 1
call fcn.00aef438
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1a]
push eax
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0xd]
mov eax, dword [ebp - 0xc]
call fcn.00b39a30
xor eax, eax
push ebp
push 0xb3aca0
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00b379f0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.00b36b10
mov dl, byte [ebp - 0xd]
mov eax, dword [ebp - 4]
call fcn.00b36b68
lea edx, [ebp - 0x28]
movzx eax, word [ebp - 0x1a]
call fcn.00a19c38
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.00b36b3c
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00b36ba8
mov dl, 1
mov eax, dword [0xa29c84]
call fcn.00a13f2c
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0xb3ac8f
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.00b36c38
mov eax, dword [ebp - 4]
call fcn.00b37d40
call sub.kernel32.dll_GetTickCount_1
mov esi, eax
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 - 4]
mov eax, dword [eax + 0xc]
cdq
cmp edx, dword [esp + 4]
jne 0xb3abab
cmp eax, dword [esp]
pop edx
pop eax
ja 0xb3abc0
jmp 0xb3abaf
pop edx
pop eax
jg 0xb3abc0
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0xb3abc0
cmp eax, 0
je 0xb3abee
cmp byte [ebx + 4], 0
je 0xb3abd8
call fcn.00a147e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0xb3acaa
mov eax, dword [ebp - 4]
call fcn.00b36974
sub al, 2
je 0xb3abee
sub al, 2
je 0xb3abee
add al, 0xf9
sub al, 2
jae 0xb3ab83
cmp byte [ebx + 4], 0
je 0xb3ac06
call fcn.00a147e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0xb3acaa
mov eax, dword [ebp - 4]
call fcn.00b36974
cmp al, 0xb
jne 0xb3ac58
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 4]
call fcn.00adca60
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebx + 0x10]
call fcn.00a19868
test al, al
je 0xb3ac49
mov edx, dword [ebx + 0x14]
mov eax, dword [ebp - 0x20]
call fcn.00a2f0f8
mov byte [ebp - 5], 1
jmp 0xb3ac65
lea eax, [ebx + 0x18]
mov edx, 0xb3acfc
call fcn.00a14e1c
jmp 0xb3ac65
lea eax, [ebx + 0x18]
mov edx, 0xb3ad0c
call fcn.00a14e1c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xb3ac96
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00b36c38
mov eax, dword [ebp - 0x20]
call fcn.00a13f5c
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00b379f0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xb3ace9
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.00a14dec
lea eax, [ebp - 0x24]
call fcn.00a15520
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00a14dec
lea eax, [ebp - 0xc]
call fcn.00a14dc8
ret