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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0xb305f4
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0xb3083a
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebx + 0xc]
call fcn.00a15080
test eax, eax
jle 0xb30802
lea eax, [ebp - 0x24]
mov edx, dword [ebx + 0xc]
call fcn.00a15688
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0xc]
mov dl, 1
call fcn.00ae4cdc
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.00b2f588
xor eax, eax
push ebp
push 0xb307f8
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00b2d548
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.00b2c668
mov dl, byte [ebp - 0xd]
mov eax, dword [ebp - 4]
call fcn.00b2c6c0
lea edx, [ebp - 0x28]
movzx eax, word [ebp - 0x1a]
call fcn.00a19c18
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.00b2c694
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00b2c700
mov dl, 1
mov eax, dword [0xa29c64]
call fcn.00a13f14
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0xb307e7
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.00b2c790
mov eax, dword [ebp - 4]
call fcn.00b2d898
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 0xb30703
cmp eax, dword [esp]
pop edx
pop eax
ja 0xb30718
jmp 0xb30707
pop edx
pop eax
jg 0xb30718
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0xb30718
cmp eax, 0
je 0xb30746
cmp byte [ebx + 4], 0
je 0xb30730
call fcn.00a147d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0xb30802
mov eax, dword [ebp - 4]
call fcn.00b2c4cc
sub al, 2
je 0xb30746
sub al, 2
je 0xb30746
add al, 0xf9
sub al, 2
jae 0xb306db
cmp byte [ebx + 4], 0
je 0xb3075e
call fcn.00a147d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0xb30802
mov eax, dword [ebp - 4]
call fcn.00b2c4cc
cmp al, 0xb
jne 0xb307b0
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.00adf278
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebx + 0x10]
call fcn.00a19848
test al, al
je 0xb307a1
mov edx, dword [ebx + 0x14]
mov eax, dword [ebp - 0x20]
call fcn.00a2f0d8
mov byte [ebp - 5], 1
jmp 0xb307bd
lea eax, [ebx + 0x18]
mov edx, 0xb30854
call fcn.00a14e04
jmp 0xb307bd
lea eax, [ebx + 0x18]
mov edx, 0xb30864
call fcn.00a14e04
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xb307ee
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00b2c790
mov eax, dword [ebp - 0x20]
call fcn.00a13f44
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00b2d548
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xb30841
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.00a14dd4
lea eax, [ebp - 0x24]
call fcn.00a15508
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00a14dd4
lea eax, [ebp - 0xc]
call fcn.00a14db0
ret