Function at 0x44a710
Capabilities:
Connect socket
Get socket status
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x62dc50]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x134], ecx
mov ecx, dword [ebp - 0x134]
call fcn.0044a360
test eax, eax
jne 0x44a73f
xor eax, eax
jmp 0x44aa04
cmp dword [ebp + 8], 0
jne 0x44a754
mov eax, dword [ebp - 0x134]
mov ecx, dword [eax + 0x1d8]
mov dword [ebp + 8], ecx
mov edx, dword [ebp - 0x134]
mov eax, dword [edx + 0x1d4]
push eax
mov ecx, dword [ebp - 0x134]
call fcn.0044a500
cmp dword [ebp + 8], 0
jne 0x44a7be
push 0
push 0
push 0
push 0
push 0x10
mov ecx, dword [ebp - 0x134]
add ecx, 0x94
call fcn.00448cc0
push eax
mov ecx, dword [ebp - 0x134]
mov edx, dword [ecx + 0x168]
push edx
call dword [sym.imp.WS2_32.dll_WSAConnect]
mov dword [ebp - 4], eax
xor eax, eax
cmp dword [ebp - 4], 0
sete al
mov ecx, dword [ebp - 0x134]
mov dword [ecx + 0x180], eax
jmp 0x44a99a
mov dword [ebp - 0xc], 1
lea edx, [ebp - 0xc]
push edx
push 0x8004667e
mov eax, dword [ebp - 0x134]
mov ecx, dword [eax + 0x168]
push ecx
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x44a99a
push 0x10
mov ecx, dword [ebp - 0x134]
add ecx, 0x94
call fcn.00448cc0
push eax
mov edx, dword [ebp - 0x134]
mov eax, dword [edx + 0x168]
push eax
call dword [sym.imp.WS2_32.dll_connect]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x44a833
mov ecx, dword [ebp - 0x134]
mov dword [ecx + 0x180], 1
jmp 0x44a99a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x44a99a
mov eax, dword [ebp + 8]
xor edx, edx
mov ecx, 0x3e8
div ecx
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x130], 0
jmp 0x44a885
mov edx, dword [ebp - 0x130]
add edx, 1
mov dword [ebp - 0x130], edx
mov eax, dword [ebp - 0x130]
cmp eax, dword [ebp - 0x120]
jae 0x44a8b2
mov ecx, dword [ebp - 0x130]
mov edx, dword [ebp - 0x134]
mov eax, dword [ebp + ecx*4 - 0x11c]
cmp eax, dword [edx + 0x168]
jne 0x44a8b0
jmp 0x44a8b2
jmp 0x44a876
mov ecx, dword [ebp - 0x130]
cmp ecx, dword [ebp - 0x120]
jne 0x44a8f1
cmp dword [ebp - 0x120], 0x40
jae 0x44a8f1
mov edx, dword [ebp - 0x130]
mov eax, dword [ebp - 0x134]
mov ecx, dword [eax + 0x168]
mov dword [ebp + edx*4 - 0x11c], ecx
mov edx, dword [ebp - 0x120]
add edx, 1
mov dword [ebp - 0x120], edx
xor eax, eax
jne 0x44a86a
lea ecx, [ebp - 0x12c]
push ecx
push 0
lea edx, [ebp - 0x120]
push edx
push 0
push 0
call dword [sym.imp.WS2_32.dll_select]
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0
jg 0x44a93a
mov ecx, dword [ebp - 0x134]
call fcn.0044aa60
mov ecx, dword [ebp - 0x134]
call fcn.0044a5a0
jmp 0x44a99a
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
push 0x8004667e
mov ecx, dword [ebp - 0x134]
mov edx, dword [ecx + 0x168]
push edx
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov dword [ebp - 8], eax
xor eax, eax
cmp dword [ebp - 8], 0
sete al
mov ecx, dword [ebp - 0x134]
mov dword [ecx + 0x180], eax
mov edx, dword [ebp - 0x134]
cmp dword [edx + 0x180], 0
jne 0x44a99a
mov ecx, dword [ebp - 0x134]
call fcn.0044aa60
mov ecx, dword [ebp - 0x134]
call fcn.0044a5a0
mov eax, dword [ebp - 0x134]
cmp dword [eax + 0x180], 0
je 0x44a9ed
push 0xc
mov ecx, dword [ebp - 0x134]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x134]
mov eax, dword [edx + 0x24]
call eax
mov ecx, dword [ebp - 0x134]
mov edx, dword [ecx + 0x168]
push edx
mov ecx, dword [ebp - 0x134]
add ecx, 0x6c
call fcn.004497d0
mov eax, dword [ebp - 0x134]
push eax
mov ecx, dword [ebp - 0x134]
call fcn.00448ee0
jmp 0x44a9f8
mov ecx, dword [ebp - 0x134]
call fcn.0044a320
mov ecx, dword [ebp - 0x134]
mov eax, dword [ecx + 0x180]
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00587964
mov esp, ebp
pop ebp
ret 4