Function at 0x441ca0
Capabilities:
Connect socket

Disassembly:
sub esp, 0x9c
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0xb0]
push ebx
mov ebx, dword [esp + 0xa4]
push ebp
xor eax, eax
mov ebp, dword [ebx]
mov dword [ecx], 0xffffffff
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [edx], eax
mov edx, dword [esp + 0xac]
push esi
lea eax, [esp + 0xc]
push edi
lea ecx, [esp + 0x1c]
push eax
push ecx
push edx
push ebx
call fcn.00442690
add esp, 0x10
test eax, eax
jne 0x441ffa
lea eax, [ebx + 0xcc]
lea esi, [ebx + 0x9e]
push eax
lea ecx, [esp + 0x30]
push esi
push ecx
call fcn.00441840
add esp, 0xc
test eax, eax
jne 0x441d52
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
mov dword [esp + 0x1c], eax
call fcn.00443d70
mov edx, dword [esp + 0x1c]
push eax
push edx
push str.sa_addr_inet_ntop___failed_with_errno__d:__s
push ebp
call fcn.00440dc0
mov eax, dword [esp + 0x28]
push eax
push ebx
call fcn.00442640
add esp, 0x20
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x9c
ret
lea eax, [ebx + 0x40]
mov ecx, 0xb
mov edi, eax
push eax
rep movsd dword es:[edi], dword [esi]
push str.__Trying__s..._n
push ebp
movsw word es:[edi], word [esi]
call fcn.00440d50
push ebx
call fcn.00441680
mov eax, dword [ebp + 0x304]
add esp, 0x10
test eax, eax
je 0x441d8d
mov ecx, dword [esp + 0x10]
push ecx
push ebx
call fcn.00442400
add esp, 8
mov edx, dword [esp + 0x10]
push edx
call fcn.00441c30
mov eax, dword [ebp + 0x3f8]
add esp, 4
test eax, eax
je 0x441db2
mov eax, dword [esp + 0x10]
push eax
push ebp
call fcn.00442010
add esp, 8
mov eax, dword [ebp + 0x164]
test eax, eax
je 0x441de7
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 0x168]
push 0
push ecx
push edx
call eax
add esp, 0xc
cmp eax, 2
mov dword [esp + 0x14], eax
jne 0x441ddf
mov edi, 1
jmp 0x441deb
test eax, eax
jne 0x441f65
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
push ecx
push edx
push ebx
call fcn.00442060
mov esi, eax
add esp, 0xc
test esi, esi
je 0x441e1f
mov eax, dword [esp + 0x10]
push eax
push ebx
call fcn.00442640
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x9c
ret
mov ecx, dword [esp + 0x10]
push 1
push ecx
call fcn.0045d290
add esp, 8
test edi, edi
jne 0x441ee0
cmp dword [ebx + 0x74], 1
jne 0x441ee0
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x2c]
push edx
push eax
push ecx
call dword [sym.imp.WS2_32.dll_connect]
mov esi, eax
cmp esi, 0xffffffff
jne 0x441e66
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esp + 0x14], eax
call fcn.00444e40
mov dword [ebx + 0x204], eax
mov eax, dword [ebx + 0x20c]
cmp eax, 1
mov dword [ebx + 0x208], edx
jle 0x441e92
mov edx, dword [ebx + 0x210]
push edx
push ebp
call fcn.00444a60
add esp, 8
cmp esi, 0xffffffff
jne 0x441f83
mov eax, dword [esp + 0x14]
cmp eax, 0xb
je 0x441f48
cmp eax, 0x2732
jle 0x441eba
cmp eax, 0x2734
jle 0x441f48
push eax
push ebx
call fcn.00443d70
push eax
lea eax, [ebx + 0x40]
push eax
push str.Failed_to_connect_to__s:__s
push ebp
call fcn.00440dc0
mov eax, dword [esp + 0x2c]
add esp, 0x18
mov dword [ebp + 0x857c], eax
jmp 0x441ee6
xor esi, esi
test edi, edi
jne 0x441f08
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.00441b20
add esp, 8
test esi, esi
jne 0x441fb3
test eax, eax
je 0x441fc8
mov edx, dword [esp + 0xc0]
push str.connected_n
push ebp
mov dword [edx], 1
call fcn.00440d50
mov eax, dword [esp + 0x18]
push eax
push ebx
call fcn.004416e0
mov edx, dword [esp + 0xcc]
mov ecx, dword [esp + 0x20]
add esp, 0x10
xor eax, eax
mov dword [edx], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x9c
ret
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0x10]
push ecx
push edx
push ebx
call fcn.00441aa0
mov esi, eax
add esp, 0xc
cmp esi, 3
jne 0x441f83
mov eax, dword [esp + 0x10]
push eax
push ebx
call fcn.00442640
add esp, 8
mov eax, 0x2a
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x9c
ret
cmp esi, 1
jne 0x441ee6
cmp dword [ebp + 0x530], 2
jne 0x441ee6
mov edx, dword [esp + 0xbc]
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword [edx], ecx
xor eax, eax
pop ebx
add esp, 0x9c
ret
cmp esi, 1
jne 0x441fc8
push str.Timeout_n
push ebp
call fcn.00440d50
add esp, 8
jmp 0x441fec
mov eax, dword [esp + 0x14]
mov dword [ebp + 0x857c], eax
mov ecx, dword [esp + 0x14]
push ecx
push ebx
call fcn.00443d70
push eax
push 0x4a1bd0
push ebp
call fcn.00440d50
add esp, 0x14
mov edx, dword [esp + 0x10]
push edx
push ebx
call fcn.00442640
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x9c
ret