Function at 0x446d96
Capabilities:
Connect socket

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0xfc
mov eax, dword [0x4bf070]
xor eax, ebp
mov dword [ebp + 0x68], eax
push esi
push edi
or dword [ebp - 0x70], 0xffffffff
and dword [ebp - 0x6c], 0
mov byte [ebp - 0x5e], 0
mov eax, dword [ebp + 0x74]
mov eax, dword [eax]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x7c]
or dword [eax], 0xffffffff
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x58]
push eax
push dword [ebp + 0x78]
push dword [ebp + 0x74]
call fcn.00446960
add esp, 0x10
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
je 0x446ded
xor eax, eax
jmp 0x4470ab
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.004473ce
add esp, 0xc
movzx eax, al
test eax, eax
jne 0x446e45
call fcn.0041de16
push dword [eax]
push dword [ebp + 0x74]
call fcn.004680bc
pop ecx
pop ecx
push eax
call fcn.0041de16
push dword [eax]
push str.sa_addr_inet_ntop___failed_with_errno__d:__s
push dword [ebp - 0x64]
call fcn.004465bf
add esp, 0x10
push dword [ebp - 0x5c]
push dword [ebp + 0x74]
call fcn.00446a9c
pop ecx
pop ecx
xor eax, eax
jmp 0x4470ab
lea eax, [ebp + 0x38]
push eax
push str.__Trying__s..._n
push dword [ebp - 0x64]
call fcn.004460bd
add esp, 0xc
cmp dword [ebp - 0x58], 2
je 0x446e65
cmp dword [ebp - 0x58], 0x17
jne 0x446e74
cmp dword [ebp - 0x54], 1
jne 0x446e74
mov dword [ebp - 0x78], 1
jmp 0x446e78
and dword [ebp - 0x78], 0
cmp dword [ebp - 0x78], 0
jne 0x446e84
and dword [ebp - 0x7c], 0
jmp 0x446e8b
mov dword [ebp - 0x7c], 1
mov al, byte [ebp - 0x7c]
mov byte [ebp - 0x5d], al
movzx eax, byte [ebp - 0x5d]
test eax, eax
je 0x446eb4
mov eax, dword [ebp - 0x64]
movzx eax, byte [eax + 0x50e]
test eax, eax
je 0x446eb4
push dword [ebp - 0x5c]
push dword [ebp + 0x74]
call fcn.0044715d
pop ecx
pop ecx
xor eax, eax
jne 0x446eb4
push dword [ebp - 0x5c]
call fcn.004470be
pop ecx
movzx eax, byte [ebp - 0x5d]
test eax, eax
je 0x446ee4
mov eax, dword [ebp - 0x64]
movzx eax, byte [eax + 0x648]
test eax, eax
je 0x446ee4
push dword [ebp - 0x5c]
push dword [ebp - 0x64]
call fcn.00447cb1
pop ecx
pop ecx
mov eax, dword [ebp - 0x64]
cmp dword [eax + 0x1d8], 0
je 0x446f34
push 0
push dword [ebp - 0x5c]
mov eax, dword [ebp - 0x64]
push dword [eax + 0x1dc]
mov eax, dword [ebp - 0x64]
call dword [eax + 0x1d8]
add esp, 0xc
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 2
jne 0x446f19
mov byte [ebp - 0x5e], 1
jmp 0x446f34
cmp dword [ebp - 0x6c], 0
je 0x446f34
push dword [ebp - 0x5c]
push dword [ebp + 0x74]
call fcn.00446a9c
pop ecx
pop ecx
push 0x2a
pop eax
jmp 0x4470ab
cmp dword [ebp - 0x58], 2
je 0x446f40
cmp dword [ebp - 0x58], 0x17
jne 0x446f88
lea eax, [ebp - 0x48]
push eax
call fcn.004685b1
pop ecx
push eax
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
push dword [ebp + 0x74]
call fcn.00447706
add esp, 0x10
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
je 0x446f88
push dword [ebp - 0x5c]
push dword [ebp + 0x74]
call fcn.00446a9c
pop ecx
pop ecx
cmp dword [ebp - 0x68], 1
jne 0x446f80
push 7
pop eax
jmp 0x4470ab
mov eax, dword [ebp - 0x68]
jmp 0x4470ab
push 1
push dword [ebp - 0x5c]
call fcn.00468ade
pop ecx
pop ecx
lea eax, [ebp - 0x90]
push eax
call fcn.0045423f
pop ecx
mov edi, dword [ebp + 0x74]
add edi, 0x298
mov esi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 0x74]
cmp dword [eax + 0x2a8], 1
jle 0x446fd8
push 3
mov eax, dword [ebp + 0x74]
push dword [eax + 0x2b4]
push dword [eax + 0x2b0]
push dword [ebp - 0x64]
call fcn.00444515
add esp, 0x10
movzx eax, byte [ebp - 0x5e]
test eax, eax
jne 0x447020
mov eax, dword [ebp + 0x74]
cmp dword [eax + 0x94], 1
jne 0x447020
mov eax, dword [ebp + 0x74]
movzx eax, byte [eax + 0x292]
test eax, eax
je 0x446ffc
jmp 0x44700f
push dword [ebp - 0x4c]
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x5c]
call dword [sym.imp.WS2_32.dll_connect]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0xffffffff
jne 0x44701e
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x6c], eax
jmp 0x44702c
mov eax, dword [ebp + 0x7c]
mov ecx, dword [ebp - 0x5c]
mov dword [eax], ecx
xor eax, eax
jmp 0x4470ab
cmp dword [ebp - 0x70], 0xffffffff
jne 0x44709a
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0xb
je 0x447052
cmp dword [ebp - 0x74], 0x2732
jle 0x447058
cmp dword [ebp - 0x74], 0x2734
jle 0x447052
jmp 0x447058
and dword [ebp - 0x68], 0
jmp 0x44709a
push dword [ebp - 0x6c]
push dword [ebp + 0x74]
call fcn.004680bc
pop ecx
pop ecx
push eax
lea eax, [ebp + 0x38]
push eax
push str.Immediate_connect_fail_for__s:__s_n
push dword [ebp - 0x64]
call fcn.004460bd
add esp, 0x10
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x6c]
mov dword [eax + 0x48b4], ecx
push dword [ebp - 0x5c]
push dword [ebp + 0x74]
call fcn.00446a9c
pop ecx
pop ecx
mov dword [ebp - 0x68], 7
cmp dword [ebp - 0x68], 0
jne 0x4470a8
mov eax, dword [ebp + 0x7c]
mov ecx, dword [ebp - 0x5c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x68]
pop edi
pop esi
mov ecx, dword [ebp + 0x68]
xor ecx, ebp
call fcn.0041553e
add ebp, 0x6c
mov esp, ebp
pop ebp
ret