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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a88fc
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x1c], eax
inc dword [ebp - 0x1c]
mov byte [ebp - 0x15], 0
mov eax, dword [ebp - 4]
cmp byte [eax + 0xcc], 2
jne 0x4a83e7
mov eax, dword [ebp - 4]
cmp dword [eax + 0x32c], 0
jne 0x4a8348
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
mov dword [edx + 0x32c], eax
xor ecx, ecx
mov eax, dword [ebp - 4]
cmp byte [eax + 0x323], 0
je 0x4a8394
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x32c]
mov ecx, 0x3e8
xor edx, edx
div ecx
mov ecx, eax
test ecx, ecx
jne 0x4a8378
mov ecx, 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
xor edx, edx
div ecx
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x328]
ja 0x4a88e6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov al, byte [eax + 0x323]
mov edx, dword [ebp - 4]
cmp al, byte [edx + 0x323]
jne 0x4a83b0
cmp ecx, 0x1b
jbe 0x4a83e7
mov edx, dword [ebp - 4]
mov byte [edx + 0x323], al
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
mov dword [edx + 0x32c], eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x310], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x328]
mov edx, dword [ebp - 4]
mov dword [edx + 0x328], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2d6], 0
jne 0x4a88cd
xor edx, edx
push ebp
push 0x4a88c6
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x2d6], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x374]
test eax, eax
je 0x4a8428
mov edx, dword [ebp - 4]
cmp byte [edx + 0x335], 0
je 0x4a8432
call fcn.00403720
jmp 0x4a88e6
mov edx, dword [ebp - 4]
cmp byte [edx + 0xcc], 2
jne 0x4a8464
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xbc]
mov eax, dword [eax + 0xb8]
mov ecx, dword [ebp - 4]
add eax, dword [ecx + 0xb0]
adc edx, dword [ecx + 0xb4]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
jmp 0x4a8492
push 0
push 0
call fcn.00413894
mov eax, dword [ebp - 4]
mov dword [eax + 0xb8], 0
mov dword [eax + 0xbc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 4]
cmp byte [eax + 0xcc], 2
jne 0x4a84ba
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x374]
call fcn.004138a8
cmp edx, dword [ebp - 0xc]
jne 0x4a84b8
cmp eax, dword [ebp - 0x10]
ja 0x4a84e6
jmp 0x4a84ba
jg 0x4a84e6
mov eax, dword [ebp - 4]
cmp byte [eax + 0xcc], 2
je 0x4a88ae
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x374]
call fcn.004138a8
cmp edx, 0
jne 0x4a84e0
cmp eax, 0
je 0x4a88ae
mov eax, dword [ebp - 4]
cmp byte [eax + 0xcc], 2
jne 0x4a86ca
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x37c]
mov eax, dword [eax + 0x378]
mov ecx, dword [ebp - 4]
cmp edx, dword [ecx + 0x384]
jne 0x4a8516
cmp eax, dword [ecx + 0x380]
je 0x4a85eb
mov eax, dword [ebp - 4]
push dword [eax + 0x384]
push dword [eax + 0x380]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x374]
call fcn.00413894
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x374]
call fcn.00413870
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x378], eax
mov dword [ecx + 0x37c], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x38c]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x388]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x374]
mov ebx, dword [eax]
call dword [ebx + 8]
mov edx, dword [ebp - 4]
mov dword [edx + 0x390], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x390], 0
jne 0x4a85eb
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x38c]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x388]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x374]
mov eax, dword [eax + 4]
call fcn.004091ac
inc eax
jne 0x4a85eb
mov ecx, 0x4a8914
mov dl, 4
mov eax, dword [ebp - 4]
call fcn.004a8bdc
mov eax, dword [ebp - 4]
call fcn.004a6124
mov cl, 1
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004a8934
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov byte [eax + 0x2f0], 2
call fcn.00403720
jmp 0x4a88e6
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x390]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x388]
mov eax, dword [ebp - 4]
call fcn.004a7bc8
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4a86ab
call sub.wsock32.dll_WSAGetLastError
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.004a8ae0
mov eax, dword [ebp - 4]
call fcn.004a8ad8
cmp eax, 0x2733
jne 0x4a86ff
call sub.kernel32.dll_GetTickCount
sub eax, dword [0x57e5b4]
cmp eax, 0x2bc
jbe 0x4a86ff
call sub.kernel32.dll_GetTickCount
mov dword [0x57e5b4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x390]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x388]
mov eax, dword [ebp - 4]
call fcn.004a7bc8
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4a868c
call sub.wsock32.dll_WSAGetLastError
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.004a8ae0
call fcn.00403720
jmp 0x4a88e6
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x390], edx
mov eax, ebx
cdq
mov ecx, dword [ebp - 4]
add dword [ecx + 0x380], eax
adc dword [ecx + 0x384], edx
jmp 0x4a86ff
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x390], edx
mov eax, ebx
cdq
mov ecx, dword [ebp - 4]
add dword [ecx + 0x380], eax
adc dword [ecx + 0x384], edx
jmp 0x4a86ff
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x38c]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x388]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x374]
mov ebx, dword [eax]
call dword [ebx + 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x388]
mov ecx, eax
mov eax, dword [ebp - 4]
call fcn.004a7bc8
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4a8718
call sub.wsock32.dll_WSAGetLastError
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.004a8ae0
jmp 0x4a88ae
mov eax, ebx
cdq
mov ecx, dword [ebp - 4]
add dword [ecx + 0xb0], eax
adc dword [ecx + 0xb4], edx
mov eax, dword [ebp - 4]
add dword [eax + 0x310], ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x374]
call fcn.004138a8
push edx
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xbc]
mov eax, dword [eax + 0xb8]
mov ecx, dword [ebp - 4]
add eax, dword [ecx + 0xb0]
adc edx, dword [ecx + 0xb4]
cmp edx, dword [esp + 4]
jne 0x4a8770
cmp eax, dword [esp]
pop edx
pop eax
jb 0x4a87b4
jmp 0x4a8774
pop edx
pop eax
jl 0x4a87b4
mov eax, dword [ebp - 4]
cmp byte [eax + 0xcc], 2
je 0x4a87a5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x374]
call fcn.00414028
mov eax, dword [ebp - 4]
mov dword [eax + 0xb0], 0
mov dword [eax + 0xb4], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x2d4], 1
jmp 0x4a887f
mov eax, dword [ebp - 4]
cmp byte [eax + 0xcc], 2
je 0x4a8859
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x374]
call fcn.004138a8
mov edx, eax
lea eax, [ebp - 0x14]
call fcn.004041b8
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x374]
call fcn.00413894
mov eax, dword [ebp - 0x14]
call fcn.00403e88
push eax
lea eax, [ebp - 0x14]
call fcn.00404058
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x374]
pop ecx
mov esi, dword [eax]
call dword [esi + 8]
lea eax, [ebp - 0x14]
mov ecx, ebx
mov edx, 1
call fcn.004040cc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x374]
call fcn.00414028
mov eax, dword [ebp - 0x14]
call fcn.00403e88
push eax
lea eax, [ebp - 0x14]
call fcn.00404058
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x374]
pop ecx
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 4]
mov byte [eax + 0x2d6], 0
cmp dword [ebp - 0x1c], 0x14
jge 0x4a8865
mov byte [ebp - 0x15], 1
jmp 0x4a887f
mov eax, dword [ebp - 4]
push eax
push 0
push 0x467
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x368]
push eax
call sub.user32.dll_PostMessageA
mov eax, dword [ebp - 4]
mov al, byte [eax + 0xcc]
cmp al, 2
jne 0x4a88ae
mov edx, dword [ebp - 4]
cmp word [edx + 0x11a], 0
je 0x4a88ae
push ebx
mov ecx, eax
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x11c]
call dword [ebx + 0x118]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a88dc
mov eax, dword [ebp - 4]
mov byte [eax + 0x2d6], 0
ret
mov ecx, 0x4a892c
mov dl, 8
mov eax, dword [ebp - 4]
call fcn.004a8bdc
cmp byte [ebp - 0x15], 0
jne 0x4a8317
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a8903
lea eax, [ebp - 0x14]
call fcn.00403c0c
ret