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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00403fd8
xor eax, eax
push ebp
push 0x48c88e
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x19], 0
mov byte [ebp - 0x1a], 0
xor esi, esi
mov dl, 1
mov eax, dword [0x40f700]
call fcn.00402f14
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x48c869
push dword fs:[edx]
mov dword fs:[edx], esp
xor eax, eax
push ebp
push 0x48c531
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34c]
call fcn.004136ac
cmp edx, 0
jne 0x48c481
cmp eax, 0
jbe 0x48c4d6
jmp 0x48c483
jle 0x48c4d6
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34c]
call fcn.00413698
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34c]
mov eax, ebx
call fcn.004136ac
push edx
push eax
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004139f4
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.00413698
mov eax, dword [ebp - 0xc]
call fcn.004136ac
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x108], eax
mov dword [ecx + 0x10c], edx
jmp 0x48c4ed
mov eax, dword [ebp - 4]
mov dword [eax + 0x108], 0
mov dword [eax + 0x10c], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34c], 0
je 0x48c506
mov eax, dword [ebp - 4]
add eax, 0x34c
call fcn.00489dc4
push 0x22
push 0
push 0x10000
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x487004]
call fcn.00487980
mov edx, dword [ebp - 4]
mov dword [edx + 0x34c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48c581
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34c]
mov eax, ebx
call fcn.004136ac
push edx
push eax
mov eax, ebx
call fcn.00413698
mov eax, dword [ebp - 0xc]
call fcn.004136ac
cmp edx, 0
jne 0x48c5ae
cmp eax, 0
jbe 0x48c5e1
jmp 0x48c5b0
jle 0x48c5e1
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.00413698
mov eax, dword [ebp - 0xc]
call fcn.004136ac
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34c]
mov edx, dword [ebp - 0xc]
call fcn.004139f4
mov eax, dword [ebp - 0xc]
call fcn.00413e2c
jmp 0x48c5f8
mov eax, dword [ebp - 4]
mov dword [eax + 0x108], 0
mov dword [eax + 0x10c], 0
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x14], 0xffffffff
xor ebx, ebx
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
mov dword [edx + 0x324], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x310], 2
mov eax, dword [ebp - 4]
mov byte [eax + 0x339], 1
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0048cbc4
mov eax, dword [ebp - 4]
mov byte [eax + 0x300], 1
mov eax, dword [ebp - 4]
push eax
push 0
push 0x468
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x344]
push eax
call sub.user32.dll_PostMessageA
jmp 0x48c7c9
mov eax, dword [ebp - 4]
call fcn.0048e4a8
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x48c6e6
call sub.kernel32.dll_GetTickCount
mov ebx, eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x10c]
mov eax, dword [eax + 0x108]
cmp edx, dword [ebp - 0x14]
jne 0x48c691
cmp eax, dword [ebp - 0x18]
je 0x48c6e6
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x108]
mov dword [ebp - 0x18], edx
mov edx, dword [eax + 0x10c]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe8]
call fcn.0048f5dc
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x324]
cmp eax, 0xea60
jbe 0x48c6e6
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
mov dword [edx + 0x324], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34c]
mov byte [eax + 0x36], 1
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1360], 0
je 0x48c733
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x10c]
mov eax, dword [eax + 0x108]
mov ecx, dword [ebp - 4]
cmp edx, dword [ecx + 0xfc]
jne 0x48c733
cmp eax, dword [ecx + 0xf8]
jne 0x48c733
test esi, esi
jne 0x48c721
call sub.kernel32.dll_GetTickCount
mov esi, eax
jmp 0x48c733
call sub.kernel32.dll_GetTickCount
sub eax, esi
cmp eax, 0x2710
ja 0x48c7f1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
cmp word [eax + 0x66], 0
je 0x48c75d
mov edi, eax
lea edx, [ebp - 0x19]
mov eax, dword [edi + 0x68]
call dword [edi + 0x64]
cmp byte [ebp - 0x19], 0
je 0x48c75d
mov eax, dword [ebp - 4]
mov dl, byte [ebp - 0x19]
mov byte [eax + 0x329], dl
mov eax, dword [ebp - 4]
cmp byte [eax + 0x313], 0
je 0x48c7c9
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x320]
mov ecx, 0x3e8
xor edx, edx
div ecx
mov ecx, eax
test ecx, ecx
jne 0x48c78b
mov ecx, 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
xor edx, edx
div ecx
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x318]
jae 0x48c7c9
mov eax, dword [ebp - 4]
call fcn.0048f44c
test eax, eax
jle 0x48c7c9
mov eax, dword [ebp - 4]
push eax
push 0
push 0x468
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x344]
push eax
call sub.user32.dll_PostMessageA
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1360], 0
je 0x48c7f1
mov eax, dword [ebp - 4]
cmp byte [eax + 0x329], 0
jne 0x48c7f1
mov eax, dword [ebp - 4]
cmp byte [eax + 0x339], 0
jne 0x48c65d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48c870
mov eax, dword [ebp - 4]
call fcn.0048cc14
cmp dword [ebp - 0xc], 0
je 0x48c814
lea eax, [ebp - 0xc]
call fcn.00489dc4
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34c], 0
je 0x48c82d
mov eax, dword [ebp - 4]
add eax, 0x34c
call fcn.00489dc4
mov eax, dword [ebp - 4]
mov byte [eax + 0x339], 0
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x329]
or al, byte [ebp - 0x1a]
je 0x48c868
mov eax, dword [ebp - 4]
mov byte [eax + 0x329], 0
mov ecx, dword [0x54d6c4]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x4898b0]
call fcn.0040ba6c
call fcn.0040361c
ret