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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1128
call fcn.00465440
push edi
mov dword [ebp - 0x1128], ecx
mov dword [ebp - 0x1114], 1
mov dword [ebp - 0x1110], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x1118], eax
mov al, byte [0x4b0070]
mov byte [ebp - 0x1004], al
mov ecx, 0x400
xor eax, eax
lea edi, [ebp - 0x1003]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x110c], 0x1000
mov ecx, dword [ebp + 8]
cmp dword [ecx], 2
jne 0x4362d8
mov edx, dword [ebp - 0x1128]
cmp dword [edx + 0x10], 0
je 0x4362d8
mov dword [ebp - 0x1108], 0
mov dword [ebp - 0x1120], 0
jmp 0x43606b
mov eax, dword [ebp - 0x1120]
add eax, 1
mov dword [ebp - 0x1120], eax
mov ecx, dword [ebp - 0x1120]
cmp ecx, dword [ebp - 0x1108]
jae 0x43608f
mov edx, dword [ebp - 0x1120]
mov eax, dword [ebp + edx*4 - 0x1104]
cmp eax, dword [ebp + 0xc]
jne 0x43608d
jmp 0x43608f
jmp 0x43605c
mov ecx, dword [ebp - 0x1120]
cmp ecx, dword [ebp - 0x1108]
jne 0x4360c5
cmp dword [ebp - 0x1108], 0x40
jae 0x4360c5
mov edx, dword [ebp - 0x1120]
mov eax, dword [ebp + 0xc]
mov dword [ebp + edx*4 - 0x1104], eax
mov ecx, dword [ebp - 0x1108]
add ecx, 1
mov dword [ebp - 0x1108], ecx
xor edx, edx
test edx, edx
jne 0x436050
mov dword [ebp - 0x1124], 0
jmp 0x4360e6
mov eax, dword [ebp - 0x1124]
add eax, 1
mov dword [ebp - 0x1124], eax
mov ecx, dword [ebp - 0x1124]
cmp ecx, dword [ebp - 0x1108]
jae 0x43610a
mov edx, dword [ebp - 0x1124]
mov eax, dword [ebp + edx*4 - 0x1104]
cmp eax, dword [ebp + 0x10]
jne 0x436108
jmp 0x43610a
jmp 0x4360d7
mov ecx, dword [ebp - 0x1124]
cmp ecx, dword [ebp - 0x1108]
jne 0x436140
cmp dword [ebp - 0x1108], 0x40
jae 0x436140
mov edx, dword [ebp - 0x1124]
mov eax, dword [ebp + 0x10]
mov dword [ebp + edx*4 - 0x1104], eax
mov ecx, dword [ebp - 0x1108]
add ecx, 1
mov dword [ebp - 0x1108], ecx
xor edx, edx
test edx, edx
jne 0x4360cb
lea eax, [ebp - 0x1114]
push eax
push 0
push 0
lea ecx, [ebp - 0x1108]
push ecx
push 0xffffffffffffffff
call dword [sym.imp.WS2_32.dll_select]
mov dword [ebp - 0x111c], eax
cmp dword [ebp - 0x111c], 0
jne 0x4361a5
cmp dword [0x4a7d14], 0
jg 0x43617d
jmp 0x43602a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x1118]
mov edx, dword [0x4a7d14]
imul edx, edx, 0x3e8
cmp eax, edx
jbe 0x4361a0
xor eax, eax
jmp 0x4362dd
jmp 0x43602a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x1118], eax
cmp dword [ebp - 0x111c], 0
jge 0x4361c4
mov eax, 0xa
jmp 0x4362dd
lea eax, [ebp - 0x1108]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x43624d
mov dword [ebp - 0x110c], 0x1000
push 0
lea edx, [ebp - 0x110c]
push edx
lea eax, [ebp - 0x1004]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x1128]
call fcn.00435dcb
test eax, eax
jne 0x43620c
xor eax, eax
jmp 0x4362dd
cmp dword [0x4b0060], 0
je 0x43622b
push 1
mov edx, dword [ebp - 0x110c]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [0x4b0060]
add esp, 0xc
mov ecx, dword [ebp - 0x110c]
push ecx
lea edx, [ebp - 0x1004]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x1128]
call fcn.00435f01
jmp 0x43602a
lea ecx, [ebp - 0x1108]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x4362d3
mov dword [ebp - 0x110c], 0x1000
push 0
lea eax, [ebp - 0x110c]
push eax
lea ecx, [ebp - 0x1004]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp - 0x1128]
call fcn.00435dcb
test eax, eax
jne 0x436292
xor eax, eax
jmp 0x4362dd
cmp dword [0x4b0060], 0
je 0x4362b1
push 0
mov eax, dword [ebp - 0x110c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [0x4b0060]
add esp, 0xc
mov edx, dword [ebp - 0x110c]
push edx
lea eax, [ebp - 0x1004]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x1128]
call fcn.00435f01
jmp 0x43602a
jmp 0x43602a
mov eax, 0x10
pop edi
mov esp, ebp
pop ebp
ret 0xc