Function at 0x44b650
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
push ebx
push esi
push edi
mov dword [ebp - 0x94], 0xffffffff
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x9c], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0xa0], ecx
mov edx, dword [ebp + 0x10]
mov dword [edx], 0xffffffff
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x90]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0044c4b0
add esp, 0x10
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0
je 0x44b6c2
xor eax, eax
jmp 0x44ba4b
lea ecx, [ebp - 0xdc]
push ecx
lea edx, [ebp - 0xd8]
push edx
lea eax, [ebp - 0x80]
push eax
call fcn.0044ae30
add esp, 0xc
test eax, eax
jne 0x44b735
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x98]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0044e1d0
add esp, 8
push eax
mov eax, dword [ebp - 0x98]
push eax
push str.sa_addr_inet_ntop___failed_with_errno__d:__s
mov ecx, dword [ebp - 0xa0]
push ecx
call fcn.004466f0
add esp, 0x10
mov edx, dword [ebp - 0xa4]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0044c420
add esp, 8
xor eax, eax
jmp 0x44ba4b
lea ecx, [ebp - 0xd8]
push ecx
push str.__Trying__s..._n
mov edx, dword [ebp - 0xa0]
push edx
call fcn.00446670
add esp, 0xc
cmp dword [ebp - 0x90], 2
jne 0x44b76e
cmp dword [ebp - 0x8c], 1
jne 0x44b76e
mov dword [ebp - 0xe4], 1
jmp 0x44b778
mov dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0xe0], 0
je 0x44b7af
mov ecx, dword [ebp - 0xa0]
cmp dword [ecx + 0x3e4], 0
je 0x44b7af
mov edx, dword [ebp - 0xa4]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0044b520
add esp, 8
xor ecx, ecx
test ecx, ecx
jne 0x44b7af
mov edx, dword [ebp - 0xa4]
push edx
call fcn.0044b5a0
add esp, 4
cmp dword [ebp - 0xe0], 0
je 0x44b7f2
mov eax, dword [ebp - 0xa0]
cmp dword [eax + 0x528], 0
je 0x44b7f2
mov ecx, dword [ebp - 0xa4]
push ecx
mov edx, dword [ebp - 0xa0]
push edx
call fcn.0044ba60
add esp, 8
mov eax, dword [ebp - 0xa0]
cmp dword [eax + 0x1a8], 0
je 0x44b867
push 0
mov ecx, dword [ebp - 0xa4]
push ecx
mov edx, dword [ebp - 0xa0]
mov eax, dword [edx + 0x1ac]
push eax
mov ecx, dword [ebp - 0xa0]
call dword [ecx + 0x1a8]
add esp, 0xc
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 2
jne 0x44b841
mov dword [ebp - 0x9c], 1
jmp 0x44b867
cmp dword [ebp - 0x98], 0
je 0x44b867
mov edx, dword [ebp - 0xa4]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0044c420
add esp, 8
mov eax, 0x2a
jmp 0x44ba4b
cmp dword [ebp - 0x90], 2
jne 0x44b8d7
lea ecx, [ebp - 0x80]
push ecx
call fcn.00435820
add esp, 4
push eax
mov edx, dword [ebp - 0x90]
push edx
mov eax, dword [ebp - 0xa4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0044bb50
add esp, 0x10
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0
je 0x44b8d7
mov edx, dword [ebp - 0xa4]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0044c420
add esp, 8
cmp dword [ebp - 0xa8], 1
jne 0x44b8cc
mov eax, 7
jmp 0x44ba4b
mov eax, dword [ebp - 0xa8]
jmp 0x44ba4b
push 1
mov ecx, dword [ebp - 0xa4]
push ecx
call fcn.0047ccf0
add esp, 8
call fcn.004476c0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x428], eax
mov dword [ecx + 0x42c], edx
mov edx, dword [ebp + 8]
cmp dword [edx + 0x430], 1
jle 0x44b921
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x434]
push ecx
mov edx, dword [ebp - 0xa0]
push edx
call fcn.00446310
add esp, 8
cmp dword [ebp - 0x9c], 0
jne 0x44b979
mov eax, dword [ebp + 8]
cmp dword [eax + 0x8c], 1
jne 0x44b979
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x410], 0
je 0x44b944
jmp 0x44b962
mov edx, dword [ebp - 0x84]
push edx
lea eax, [ebp - 0x80]
push eax
mov ecx, dword [ebp - 0xa4]
push ecx
call dword [sym.imp.WS2_32.dll_connect]
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0xffffffff
jne 0x44b977
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x98], eax
jmp 0x44b98b
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0xa4]
mov dword [edx], eax
xor eax, eax
jmp 0x44ba4b
cmp dword [ebp - 0x94], 0xffffffff
jne 0x44ba31
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0xe8], ecx
cmp dword [ebp - 0xe8], 0xb
je 0x44b9c7
cmp dword [ebp - 0xe8], 0x2732
jle 0x44b9d3
cmp dword [ebp - 0xe8], 0x2734
jle 0x44b9c7
jmp 0x44b9d3
mov dword [ebp - 0xa8], 0
jmp 0x44ba31
mov edx, dword [ebp - 0x98]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0044e1d0
add esp, 8
push eax
lea ecx, [ebp - 0xd8]
push ecx
push str.Immediate_connect_fail_for__s:__s_n
mov edx, dword [ebp - 0xa0]
push edx
call fcn.00446670
add esp, 0x10
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0x98]
mov dword [eax + 0x472c], ecx
mov edx, dword [ebp - 0xa4]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0044c420
add esp, 8
mov dword [ebp - 0xa8], 7
cmp dword [ebp - 0xa8], 0
jne 0x44ba45
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0xa4]
mov dword [ecx], edx
mov eax, dword [ebp - 0xa8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret