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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
and dword [ebp - 8], 0
push ebx
push esi
mov ebx, dword [eax]
mov eax, dword [eax + 0x3d0]
push edi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], eax
call fcn.00491b24
mov ecx, dword [ebp - 4]
mov esi, eax
mov edi, edx
mov dword [ebx + 0x50], esi
mov dword [ebx + 0x54], edi
mov dword [ebx + 0x58], esi
mov dword [ebx + 0x5c], edi
cmp dword [ecx], 3
je 0x4a0b51
mov eax, dword [ebp - 8]
test eax, eax
jne 0x4a0b51
imul edx, dword [ecx + 0x1c], 0x3e8
cmp dword [ebx + 0x2dc], eax
je 0x4a097a
mov eax, dword [ebx + 0x1c0]
or eax, dword [ebx + 0x1c4]
je 0x4a09d3
mov eax, dword [ebx + 0x1c4]
cmp dword [ebx + 0x474], eax
jl 0x4a09d3
jg 0x4a095e
mov ecx, dword [ebx + 0x470]
cmp ecx, dword [ebx + 0x1c0]
mov ecx, dword [ebp - 4]
jbe 0x4a09d3
push dword [ecx + 0x154]
mov ecx, dword [ebx + 0x470]
push dword [ebx + 0x474]
push ecx
push eax
push dword [ebx + 0x1c0]
jmp 0x4a09c3
mov eax, dword [ebx + 0x1c8]
or eax, dword [ebx + 0x1cc]
je 0x4a09d3
mov eax, dword [ebx + 0x1cc]
cmp dword [ebx + 0x46c], eax
jl 0x4a09d3
jg 0x4a09a9
mov ecx, dword [ebx + 0x468]
cmp ecx, dword [ebx + 0x1c8]
mov ecx, dword [ebp - 4]
jbe 0x4a09d3
push dword [ecx + 0x154]
mov ecx, dword [ebx + 0x468]
push dword [ebx + 0x46c]
push ecx
push eax
push dword [ebx + 0x1c8]
or dword [ebp - 0xc], 0xffffffff
call fcn.00489d20
mov edx, eax
add esp, 0x14
jmp 0x4a09d9
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0xc], eax
cmp dword [ebx + 0x19c], 0
je 0x4a0a15
push dword [ebx + 0x54]
push dword [ebx + 0x50]
push dword [ebx + 0x5c]
push dword [ebx + 0x58]
call fcn.00491ace
mov ecx, dword [ebx + 0x19c]
add esp, 0x10
sub ecx, eax
mov eax, dword [ebp - 4]
imul edx, dword [eax + 0x1c], 0x3e8
cmp ecx, edx
jg 0x4a0a15
xor eax, eax
mov edx, ecx
test ecx, ecx
cmovs edx, eax
push edx
push 0xffffffffffffffff
push dword [ebp - 0xc]
call fcn.00498e75
mov dword [ebp - 0xc], eax
call fcn.00491b24
push dword [ebx + 0x54]
mov dword [ebx + 0x58], eax
push dword [ebx + 0x50]
mov dword [ebx + 0x5c], edx
push edx
push eax
call fcn.00491ace
add esp, 0x1c
cmp eax, dword [ebx + 0x19c]
jl 0x4a0a63
push dword [ebp + 8]
call fcn.00498188
pop ecx
test eax, eax
jne 0x4a0b3c
mov eax, dword [ebx + 0x58]
mov dword [ebx + 0x50], eax
mov eax, dword [ebx + 0x5c]
mov dword [ebx + 0x54], eax
mov eax, dword [ebp - 0xc]
cmp eax, 0xffffffff
jne 0x4a0a95
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push dword [ebp + 8]
call fcn.004854b1
push eax
push 0x4f0f6c
push ebx
call fcn.0048feb2
mov eax, dword [ebp - 4]
add esp, 0x14
mov dword [eax + 0xc], 5
jmp 0x4a0b12
test eax, eax
jne 0x4a0ad2
mov eax, dword [ebp - 4]
push edi
push esi
imul ebx, dword [eax + 0x1c], 0x3e8
mov eax, dword [ebp - 0x10]
push dword [eax + 0x5c]
push dword [eax + 0x58]
call fcn.00491ace
add esp, 0x10
cmp eax, ebx
jle 0x4a0b29
mov eax, dword [ebp - 4]
push 0
push dword [ebp + 8]
mov dword [eax + 0xc], 7
call fcn.004a16bc
pop ecx
pop ecx
jmp 0x4a0b0f
push dword [ebp + 8]
call fcn.004a0e0d
mov dword [ebp - 8], eax
pop ecx
test eax, eax
jne 0x4a0aeb
call fcn.00491b24
mov esi, eax
mov edi, edx
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x4a0afd
mov eax, dword [ebx + 0x38]
mov dword [ecx], eax
mov eax, dword [ebx + 0x3c]
mov dword [ecx + 4], eax
mov ecx, dword [ebx + 0x30]
test ecx, ecx
je 0x4a0b0f
mov eax, dword [ebx + 0x40]
mov dword [ecx], eax
mov eax, dword [ebx + 0x44]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
test ecx, ecx
jne 0x4a0b4d
push dword [eax + 0xc]
push eax
call fcn.004a164a
pop ecx
pop ecx
mov dword [ebp - 8], eax
jmp 0x4a0b2c
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
cmp dword [ecx], 3
je 0x4a0b51
mov ebx, dword [ebp - 0x10]
jmp 0x4a0910
push 5
push dword [ebp - 4]
call fcn.004a164a
pop ecx
pop ecx
push 0x2a
pop eax
jmp 0x4a0b6c
mov eax, ecx
jmp 0x4a0b6c
xor eax, eax
push eax
push 0xffffffffffffffff
push eax
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00489b96
mov eax, dword [ebp - 8]
add esp, 0x20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret