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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0xb5a69c
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0xb5a9e9
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebx + 0x44c], esi
mov eax, dword [esi + 0x24]
call fcn.00a15098
test eax, eax
jle 0xb5a7e5
mov ax, word [esi + 0x28]
test ax, ax
jne 0xb5a7db
cmp byte [esi + 0x30], 0
jne 0xb5a7db
xor edx, edx
mov eax, dword [esi + 0x24]
call fcn.00a19db0
mov edi, eax
test edi, edi
jle 0xb5a7e5
cmp edi, 0xffff
jg 0xb5a7e5
call sub.kernel32.dll_GetTickCount_1
mov dword [esi + 0x34], eax
cmp dword [ebx + 0x448], 0
je 0xb5a721
lea eax, [ebx + 0x448]
call fcn.00a1faa4
xor ecx, ecx
mov dl, 1
mov eax, dword [0xb090ec]
call fcn.00b0b064
mov dword [ebx + 0x448], eax
xor edx, edx
mov eax, dword [ebx + 0x448]
call fcn.00b0a97c
xor edx, edx
mov eax, dword [ebx + 0x448]
call fcn.00b0aa3c
mov eax, dword [ebx + 0x448]
mov dword [eax + 0x54], ebx
mov dword [eax + 0x50], 0xb5abb0
mov eax, dword [ebx + 0x448]
mov dword [eax + 0x64], ebx
mov dword [eax + 0x60], 0xb5ac20
mov eax, dword [ebx + 0x448]
mov dword [eax + 0x8c], ebx
mov dword [eax + 0x88], 0xb5ac30
mov eax, dword [ebx + 0x448]
mov dword [eax + 0x7c], ebx
mov dword [eax + 0x78], 0xb5ac48
mov eax, dword [esi + 0x14]
call fcn.00aeccb8
test al, al
je 0xb5a7b1
mov edx, dword [esi + 0x14]
mov eax, dword [ebx + 0x448]
call fcn.00b0a9bc
jmp 0xb5a7bf
mov edx, dword [esi + 0x14]
mov eax, dword [ebx + 0x448]
call fcn.00b0aa3c
mov edx, edi
mov eax, dword [ebx + 0x448]
call fcn.00b0aabc
mov dl, 1
mov eax, dword [ebx + 0x448]
call fcn.00b0a97c
jmp 0xb5a7e5
cmp ax, 1
je 0xb5a7e5
cmp ax, 2
mov eax, dword [ebx + 0x44c]
cmp byte [eax + 0x2a], 0
je 0xb5a810
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebx + 0x44c]
sub eax, dword [edx + 0x2c]
cmp eax, 0x2bf20
jb 0xb5a810
mov eax, dword [ebx + 0x44c]
mov byte [eax + 0x2a], 0
mov eax, dword [ebx + 0x44c]
cmp byte [eax + 0x2a], 0
je 0xb5a86d
mov eax, dword [ebx + 0x3cc]
mov eax, dword [eax + 4]
mov edx, dword [eax + 0x67b]
mov eax, dword [ebx + 0x318]
mov eax, dword [eax + 0x68]
call fcn.00a38674
lea edx, [ebp - 8]
mov eax, dword [0xb7445c]
call fcn.00a170c8
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.00ad11d8
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x318]
call fcn.00a57b04
mov dl, 1
mov eax, ebx
call fcn.00b5b014
jmp 0xb5a9ce
mov eax, dword [ebx + 0x3cc]
mov eax, dword [eax + 4]
mov edx, dword [eax + 0x677]
mov eax, dword [ebx + 0x318]
mov eax, dword [eax + 0x68]
call fcn.00a38674
lea edx, [ebp - 0x10]
mov eax, dword [0xb742f8]
call fcn.00a170c8
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.00ad11d8
mov edx, dword [ebp - 0xc]
mov eax, dword [ebx + 0x318]
call fcn.00a57b04
mov eax, dword [0xb743f4]
mov eax, dword [eax]
mov eax, dword [eax + 0x32c]
mov eax, dword [eax + 0x68]
mov edx, 0xffffff
call fcn.00a38674
lea edx, [ebp - 0x18]
mov eax, dword [0xb742f8]
call fcn.00a170c8
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.00ad11d8
mov edx, dword [ebp - 0x14]
mov eax, dword [0xb743f4]
mov eax, dword [eax]
mov eax, dword [eax + 0x32c]
call fcn.00a57b04
mov eax, dword [0xb742d4]
mov eax, dword [eax]
mov eax, dword [eax + 0x314]
mov eax, dword [eax + 0x68]
mov edx, 0xffffff
call fcn.00a38674
lea edx, [ebp - 0x20]
mov eax, dword [0xb742f8]
call fcn.00a170c8
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.00ad11d8
mov edx, dword [ebp - 0x1c]
mov eax, dword [0xb742d4]
mov eax, dword [eax]
mov eax, dword [eax + 0x314]
call fcn.00a57b04
mov eax, dword [0xb74108]
mov eax, dword [eax]
mov eax, dword [eax + 0x30c]
mov eax, dword [eax + 0x68]
mov edx, 0xffffff
call fcn.00a38674
lea edx, [ebp - 0x28]
mov eax, dword [0xb742f8]
call fcn.00a170c8
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x24]
call fcn.00ad11d8
mov edx, dword [ebp - 0x24]
mov eax, dword [0xb74108]
mov eax, dword [eax]
mov eax, dword [eax + 0x30c]
call fcn.00a57b04
mov dl, 1
mov eax, ebx
call fcn.00b5b014
mov byte [ebx + 0x3d2], 0
lea eax, [ebx + 0x3d4]
call fcn.00a14dc8
lea eax, [ebx + 0x3d8]
call fcn.00a14dc8
lea eax, [ebx + 0x3dc]
call fcn.00a14dc8
xor eax, eax
mov dword [ebx + 0x3e0], eax
push 1
mov cx, word [esi + 0x18]
mov edx, dword [esi + 0x14]
mov eax, ebx
call fcn.00b5a584
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xb5a9f0
lea eax, [ebp - 0x28]
mov edx, 0xa
call fcn.00a14dec
ret