Function at 0x429a50
Capabilities:
Check for time delay via gettickcount
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x324
mov eax, dword [0x4a5c78]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
xor eax, eax
xor esi, esi
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x318], eax
mov dword [ebp - 0x314], eax
cmp ebx, 0xffffffff
jne 0x429ac9
cmp dword [ebp + 0xc], ebx
jne 0x429ac9
cmp edi, eax
je 0x429cc9
jge 0x429aaf
push 0x2726
call dword [sym.imp.WS2_32.dll_WSASetLastError]
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00468861
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00468861
mov esp, ebp
pop ebp
ret
cmp edi, eax
jle 0x429ae2
mov esi, edi
call fcn.00431820
mov dword [ebp - 0x318], eax
mov dword [ebp - 0x314], edx
xor eax, eax
xor ecx, ecx
or edx, 0xffffffff
mov dword [ebp - 0x108], ecx
mov dword [ebp - 0x310], eax
cmp ebx, 0xffffffff
je 0x429b17
mov ecx, 1
mov dword [ebp - 0x30c], ebx
mov dword [ebp - 0x310], ecx
mov dword [ebp - 0x104], ebx
mov dword [ebp - 0x108], ecx
mov edx, ebx
mov dword [ebp - 0x20c], eax
mov eax, dword [ebp + 0xc]
cmp eax, 0xffffffff
je 0x429b72
mov dword [ebp - 0x208], eax
xor eax, eax
mov dword [ebp - 0x20c], 1
test ecx, ecx
je 0x429b53
jmp 0x429b40
mov ebx, dword [ebp + 0xc]
cmp dword [ebp + eax*4 - 0x104], ebx
je 0x429b56
inc eax
cmp eax, ecx
jb 0x429b40
jmp 0x429b56
mov ebx, dword [ebp + 0xc]
cmp eax, ecx
jne 0x429b6c
cmp ecx, 0x40
jae 0x429b6c
mov dword [ebp + eax*4 - 0x104], ebx
inc dword [ebp - 0x108]
cmp ebx, edx
jbe 0x429b72
mov edx, ebx
xor ebx, ebx
test edi, edi
sets bl
lea eax, [ebp - 0x320]
dec ebx
and ebx, eax
inc edx
mov dword [ebp - 0x324], edx
lea esp, [esp]
xor eax, eax
cmp edi, eax
jle 0x429bc5
mov eax, 0x10624dd3
imul esi
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x320], eax
imul eax, eax, 0x3e8
mov ecx, esi
sub ecx, eax
imul ecx, ecx, 0x3e8
mov dword [ebp - 0x31c], ecx
jmp 0x429bd3
jne 0x429bd3
mov dword [ebp - 0x320], eax
mov dword [ebp - 0x31c], eax
push ebx
lea edx, [ebp - 0x108]
push edx
mov edx, dword [ebp - 0x324]
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x310]
push ecx
push edx
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
jne 0x429c55
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
je 0x429c10
cmp eax, 0x2714
jne 0x429a9b
test edi, edi
jle 0x429b90
mov eax, dword [ebp - 0x314]
mov ecx, dword [ebp - 0x318]
push eax
push ecx
call fcn.00431820
push edx
push eax
call fcn.00431850
mov esi, edi
sub esi, eax
add esp, 0x10
test esi, esi
jg 0x429b90
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00468861
mov esp, ebp
pop ebp
ret
test eax, eax
js 0x429a9b
je 0x429ab6
mov edi, dword [ebp + 8]
xor esi, esi
cmp edi, 0xffffffff
je 0x429c97
lea edx, [ebp - 0x310]
push edx
push edi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x429c83
mov esi, 1
lea eax, [ebp - 0x108]
push eax
push edi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x429c97
or esi, 4
mov edi, dword [ebp + 0xc]
cmp edi, 0xffffffff
je 0x429cc7
lea ecx, [ebp - 0x20c]
push ecx
push edi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x429cb3
or esi, 2
lea edx, [ebp - 0x108]
push edx
push edi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x429cc7
or esi, 4
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00468861
mov esp, ebp
pop ebp
ret