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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1130
call fcn.0046b3f0
push edi
mov dword [ebp - 0x1130], ecx
mov dword [ebp - 0x114], 1
mov dword [ebp - 0x110], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x118], eax
mov al, byte [0x49781b]
mov byte [ebp - 0x1120], al
mov ecx, 0x400
xor eax, eax
lea edi, [ebp - 0x111f]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x10c], 0x1000
mov ecx, dword [ebp + 8]
cmp dword [ecx], 2
jne 0x4390e2
mov edx, dword [ebp - 0x1130]
cmp dword [edx + 0x10], 0
je 0x4390e2
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x1128], 0
jmp 0x438e79
mov eax, dword [ebp - 0x1128]
add eax, 1
mov dword [ebp - 0x1128], eax
mov ecx, dword [ebp - 0x1128]
cmp ecx, dword [ebp - 0x108]
jae 0x438e9d
mov edx, dword [ebp - 0x1128]
mov eax, dword [ebp + edx*4 - 0x104]
cmp eax, dword [ebp + 0xc]
jne 0x438e9b
jmp 0x438e9d
jmp 0x438e6a
mov ecx, dword [ebp - 0x1128]
cmp ecx, dword [ebp - 0x108]
jne 0x438ed3
cmp dword [ebp - 0x108], 0x40
jae 0x438ed3
mov edx, dword [ebp - 0x1128]
mov eax, dword [ebp + 0xc]
mov dword [ebp + edx*4 - 0x104], eax
mov ecx, dword [ebp - 0x108]
add ecx, 1
mov dword [ebp - 0x108], ecx
xor edx, edx
jne 0x438e5e
mov dword [ebp - 0x112c], 0
jmp 0x438ef2
mov eax, dword [ebp - 0x112c]
add eax, 1
mov dword [ebp - 0x112c], eax
mov ecx, dword [ebp - 0x112c]
cmp ecx, dword [ebp - 0x108]
jae 0x438f16
mov edx, dword [ebp - 0x112c]
mov eax, dword [ebp + edx*4 - 0x104]
cmp eax, dword [ebp + 0x10]
jne 0x438f14
jmp 0x438f16
jmp 0x438ee3
mov ecx, dword [ebp - 0x112c]
cmp ecx, dword [ebp - 0x108]
jne 0x438f4c
cmp dword [ebp - 0x108], 0x40
jae 0x438f4c
mov edx, dword [ebp - 0x112c]
mov eax, dword [ebp + 0x10]
mov dword [ebp + edx*4 - 0x104], eax
mov ecx, dword [ebp - 0x108]
add ecx, 1
mov dword [ebp - 0x108], ecx
xor edx, edx
jne 0x438ed7
lea eax, [ebp - 0x114]
push eax
push 0
push 0
lea ecx, [ebp - 0x108]
push ecx
push 0xffffffffffffffff
call dword [sym.imp.WS2_32.dll_select]
mov dword [ebp - 0x1124], eax
cmp dword [ebp - 0x1124], 0
jne 0x438faf
cmp dword [0x4afae8], 0
jg 0x438f87
jmp 0x438e38
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x118]
mov edx, dword [0x4afae8]
imul edx, edx, 0x3e8
cmp eax, edx
jle 0x438faa
xor eax, eax
jmp 0x4390e7
jmp 0x438e38
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x1124], 0
jge 0x438fce
mov eax, 0xa
jmp 0x4390e7
lea eax, [ebp - 0x108]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x439057
mov dword [ebp - 0x10c], 0x1000
push 0
lea edx, [ebp - 0x10c]
push edx
lea eax, [ebp - 0x1120]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x1130]
call fcn.00438bc0
test eax, eax
jne 0x439016
xor eax, eax
jmp 0x4390e7
cmp dword [0x4b2a6c], 0
je 0x439035
push 1
mov edx, dword [ebp - 0x10c]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [0x4b2a6c]
add esp, 0xc
mov ecx, dword [ebp - 0x10c]
push ecx
lea edx, [ebp - 0x1120]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x1130]
call fcn.00438d00
jmp 0x438e38
lea ecx, [ebp - 0x108]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x4390dd
mov dword [ebp - 0x10c], 0x1000
push 0
lea eax, [ebp - 0x10c]
push eax
lea ecx, [ebp - 0x1120]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp - 0x1130]
call fcn.00438bc0
test eax, eax
jne 0x43909c
xor eax, eax
jmp 0x4390e7
cmp dword [0x4b2a6c], 0
je 0x4390bb
push 0
mov eax, dword [ebp - 0x10c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [0x4b2a6c]
add esp, 0xc
mov edx, dword [ebp - 0x10c]
push edx
lea eax, [ebp - 0x1120]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x1130]
call fcn.00438d00
jmp 0x438e38
jmp 0x438e38
mov eax, 0x10
pop edi
mov esp, ebp
pop ebp
ret 0xc