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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x33c
mov eax, dword [0x4d8c20]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 0x328], eax
mov dword [ebp - 0x330], edi
mov dword [ebp - 0x32c], edi
cmp esi, 0xffffffff
jne 0x44aa77
cmp ebx, esi
jne 0x44aa77
cmp dword [ebp + 0x10], esi
jne 0x44aa77
call fcn.0044aa00
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004751dc
mov esp, ebp
pop ebp
ret
cmp eax, edi
jle 0x44aa8e
mov edi, eax
call fcn.0044b9d0
mov dword [ebp - 0x330], eax
mov dword [ebp - 0x32c], edx
xor ecx, ecx
xor edx, edx
mov dword [ebp - 0x110], ecx
mov dword [ebp - 0x324], 0xffffffff
mov dword [ebp - 0x218], edx
cmp esi, 0xffffffff
je 0x44aad2
mov edx, 1
mov ecx, edx
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x218], edx
mov dword [ebp - 0x10c], esi
mov dword [ebp - 0x110], ecx
mov dword [ebp - 0x324], esi
cmp ebx, 0xffffffff
je 0x44ab49
xor eax, eax
test edx, edx
je 0x44aaee
lea ecx, [ecx]
cmp dword [ebp + eax*4 - 0x214], ebx
je 0x44aaee
inc eax
cmp eax, edx
jb 0x44aae0
cmp eax, edx
jne 0x44ab04
cmp edx, 0x40
jae 0x44ab04
mov dword [ebp + eax*4 - 0x214], ebx
inc dword [ebp - 0x218]
xor eax, eax
test ecx, ecx
je 0x44ab1e
lea ebx, [ebx]
cmp dword [ebp + eax*4 - 0x10c], ebx
je 0x44ab1e
inc eax
cmp eax, ecx
jb 0x44ab10
cmp eax, ecx
jne 0x44ab3b
cmp ecx, 0x40
jae 0x44ab3b
mov dword [ebp + eax*4 - 0x10c], ebx
mov ecx, dword [ebp - 0x110]
inc ecx
mov dword [ebp - 0x110], ecx
cmp ebx, dword [ebp - 0x324]
jbe 0x44ab49
mov dword [ebp - 0x324], ebx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x320], 0
cmp eax, 0xffffffff
je 0x44abab
mov dword [ebp - 0x31c], eax
xor eax, eax
mov dword [ebp - 0x320], 1
test ecx, ecx
je 0x44ab84
mov edx, dword [ebp + 0x10]
cmp dword [ebp + eax*4 - 0x10c], edx
je 0x44ab87
inc eax
cmp eax, ecx
jb 0x44ab71
jmp 0x44ab87
mov edx, dword [ebp + 0x10]
cmp eax, ecx
jne 0x44ab9d
cmp ecx, 0x40
jae 0x44ab9d
mov dword [ebp + eax*4 - 0x10c], edx
inc dword [ebp - 0x110]
cmp edx, dword [ebp - 0x324]
jbe 0x44abab
mov dword [ebp - 0x324], edx
mov ebx, dword [ebp - 0x324]
xor eax, eax
cmp dword [ebp - 0x328], eax
lea ecx, [ebp - 0x338]
setl al
lea esi, [eax - 1]
and esi, ecx
inc ebx
jmp 0x44abd0
mov eax, dword [ebp - 0x328]
xor ecx, ecx
cmp eax, ecx
jle 0x44ac0b
mov eax, 0x10624dd3
imul edi
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x338], eax
imul eax, eax, 0x3e8
mov edx, edi
sub edx, eax
imul edx, edx, 0x3e8
mov dword [ebp - 0x334], edx
jmp 0x44ac19
jne 0x44ac19
mov dword [ebp - 0x338], ecx
mov dword [ebp - 0x334], ecx
push esi
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x320]
push ecx
lea edx, [ebp - 0x218]
push edx
push ebx
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
jne 0x44aca2
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
je 0x44ac55
cmp dword [0x4de148], 0
jne 0x44aca6
cmp eax, 0x2714
jne 0x44aca6
cmp dword [ebp - 0x328], 0
jle 0x44abd0
mov eax, dword [ebp - 0x32c]
mov ecx, dword [ebp - 0x330]
push eax
push ecx
call fcn.0044b9d0
push edx
push eax
call fcn.0044ba00
mov edi, dword [ebp - 0x328]
sub edi, eax
add esp, 0x10
test edi, edi
jg 0x44abd0
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004751dc
mov esp, ebp
pop ebp
ret
test eax, eax
jns 0x44acba
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004751dc
mov esp, ebp
pop ebp
ret
jne 0x44accf
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004751dc
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 8]
mov edi, dword [sym.imp.WS2_32.dll___WSAFDIsSet]
xor esi, esi
cmp ebx, 0xffffffff
je 0x44ad03
lea edx, [ebp - 0x218]
push edx
push ebx
call edi
test eax, eax
je 0x44acf2
mov esi, 1
lea eax, [ebp - 0x110]
push eax
push ebx
call edi
test eax, eax
je 0x44ad03
or esi, 4
mov ebx, dword [ebp + 0xc]
cmp ebx, 0xffffffff
je 0x44ad2d
lea ecx, [ebp - 0x218]
push ecx
push ebx
call edi
test eax, eax
je 0x44ad1c
or esi, 8
lea edx, [ebp - 0x110]
push edx
push ebx
call edi
test eax, eax
je 0x44ad2d
or esi, 4
mov ebx, dword [ebp + 0x10]
cmp ebx, 0xffffffff
je 0x44ad57
lea eax, [ebp - 0x320]
push eax
push ebx
call edi
test eax, eax
je 0x44ad46
or esi, 2
lea ecx, [ebp - 0x110]
push ecx
push ebx
call edi
test eax, eax
je 0x44ad57
or esi, 4
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004751dc
mov esp, ebp
pop ebp
ret