Function at 0x44c910
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf0
mov eax, dword [0x49b024]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ecx]
mov dword [ebp - 0xdc], edx
mov dword [edx], 0xffffffff
lea edx, [ebp - 0xcc]
push edx
lea edx, [ebp - 0xc4]
push edx
push eax
push ecx
mov dword [ebp - 0xd4], ecx
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xc8], esi
call fcn.0044c7a0
add esp, 0x10
mov dword [ebp - 0xd0], eax
test eax, eax
je 0x44c97e
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042ec7a
mov esp, ebp
pop ebp
ret
push ebx
push edi
lea ebx, [ebp - 0xe0]
lea edi, [ebp - 0x34]
lea esi, [ebp - 0xb4]
call fcn.0044c3a0
test eax, eax
jne 0x44c9ed
call fcn.004310c1
mov esi, eax
call fcn.004310c1
mov edi, eax
mov eax, dword [esi]
mov esi, dword [ebp - 0xd4]
push eax
push esi
call fcn.0043d600
mov ecx, dword [edi]
mov edx, dword [ebp - 0xc8]
push eax
push ecx
push str.sa_addr_inet_ntop___failed_with_errno__d:__s
push edx
call fcn.00449ce0
mov eax, dword [ebp - 0xcc]
push eax
push esi
call fcn.0044c740
add esp, 0x20
pop edi
pop ebx
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042ec7a
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0xc8]
lea ecx, [ebp - 0x34]
push ecx
push str.__Trying__s..._n
push esi
call fcn.00449c60
mov edi, dword [ebp - 0xcc]
add esp, 0xc
cmp dword [ebp - 0xc4], 2
jne 0x44ca42
mov eax, 1
cmp dword [ebp - 0xc0], eax
jne 0x44ca42
cmp dword [esi + 0x5a0], 0
mov dword [ebp - 0xcc], eax
je 0x44ca4c
mov ebx, dword [ebp - 0xd4]
push edi
push ebx
call fcn.0044c600
add esp, 8
jmp 0x44ca52
mov dword [ebp - 0xcc], 0
mov ebx, dword [ebp - 0xd4]
push edi
call fcn.0044c660
add esp, 4
cmp dword [ebp - 0xcc], 0
je 0x44ca72
cmp dword [esi + 0x6e0], 0
je 0x44ca72
call fcn.0044bc10
mov eax, dword [esi + 0x1e8]
test eax, eax
je 0x44ca9a
mov edx, dword [esi + 0x1ec]
push 0
push edi
push edx
call eax
add esp, 0xc
cmp eax, 2
jne 0x44caee
mov dword [ebp - 0xd8], 1
cmp dword [ebp - 0xc4], 2
jne 0x44cb12
lea eax, [ebp - 0xb4]
push eax
call fcn.0046c3f0
mov ecx, dword [ebp - 0xc4]
push eax
push ecx
push edi
push ebx
call fcn.0044be40
mov esi, eax
add esp, 0x14
test esi, esi
je 0x44cb18
push edi
push ebx
call fcn.0044c740
add esp, 8
cmp esi, 1
jne 0x44cc65
pop edi
pop ebx
lea eax, [esi + 6]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042ec7a
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x44ca9a
push edi
push ebx
call fcn.0044c740
add esp, 8
pop edi
pop ebx
mov eax, 0x2a
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042ec7a
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0xd0]
push 1
push edi
call fcn.0046c6c0
lea edx, [ebp - 0xf0]
push edx
call fcn.004496a0
mov ecx, dword [eax]
mov dword [ebx + 0x310], ecx
mov edx, dword [eax + 4]
mov dword [ebx + 0x314], edx
mov ecx, dword [eax + 8]
mov dword [ebx + 0x318], ecx
mov edx, dword [eax + 0xc]
add esp, 0xc
cmp dword [ebx + 0x320], 1
mov dword [ebx + 0x31c], edx
jle 0x44cb7a
mov eax, dword [ebx + 0x32c]
mov ecx, dword [ebx + 0x328]
mov edx, dword [ebp - 0xc8]
push 3
push eax
push ecx
push edx
call fcn.00447b30
add esp, 0x10
cmp dword [ebp - 0xd8], 0
jne 0x44cc78
cmp dword [ebx + 0x94], 1
jne 0x44cc78
cmp dword [ebx + 0x2f8], 0
jne 0x44cbbb
mov eax, dword [ebp - 0xb8]
push eax
lea ecx, [ebp - 0xb4]
push ecx
push edi
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x44cc59
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
cmp esi, 0xb
je 0x44cc2e
cmp esi, 0x2732
jle 0x44cbd8
cmp esi, 0x2734
jle 0x44cc2e
push esi
push ebx
call fcn.0043d600
push eax
mov eax, dword [ebp - 0xc8]
lea edx, [ebp - 0x34]
push edx
push str.Immediate_connect_fail_for__s:__s_n
push eax
call fcn.00449c60
mov ecx, dword [ebp - 0xc8]
push edi
push ebx
mov dword [ecx + 0x4954], esi
call fcn.0044c740
add esp, 0x20
mov dword [ebp - 0xd0], 7
mov esi, dword [ebp - 0xd0]
pop edi
pop ebx
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042ec7a
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0xdc]
mov dword [ebp - 0xd0], 0
mov esi, dword [ebp - 0xd0]
mov dword [edx], edi
pop edi
pop ebx
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042ec7a
mov esp, ebp
pop ebp
ret
test esi, esi
jne 0x44cc65
mov edx, dword [ebp - 0xdc]
mov dword [edx], edi
pop edi
pop ebx
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042ec7a
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xdc]
mov ecx, dword [ebp - 4]
mov dword [eax], edi
pop edi
pop ebx
xor ecx, ebp
xor eax, eax
pop esi
call fcn.0042ec7a
mov esp, ebp
pop ebp
ret