Function at 0x41d67a
Capabilities:
Connect socket

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0xf0
mov eax, dword [0x48dcc0]
xor eax, ebp
mov dword [ebp + 0x70], eax
mov eax, dword [ebp + 0x7c]
and dword [ebp - 0x64], 0
push esi
mov esi, dword [eax]
or dword [ecx], 0xffffffff
mov dword [ebp - 0x68], ecx
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x50]
push ecx
push edx
push eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x60], esi
call fcn.0041d532
add esp, 0x10
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x41d6c5
xor eax, eax
jmp 0x41d8e6
push ebx
push edi
lea edi, [ebp - 0x6c]
lea ebx, [ebp + 0x40]
lea esi, [ebp - 0x40]
call fcn.0041d176
test eax, eax
jne 0x41d71a
call fcn.004521da
mov esi, eax
call fcn.004521da
push dword [esi]
mov edi, eax
push dword [ebp - 0x58]
call fcn.0041fc3e
push eax
push dword [edi]
push str.sa_addr_inet_ntop___failed_with_errno__d:__s
push dword [ebp - 0x60]
call fcn.0041acea
add esp, 0x18
xor esi, esi
push dword [ebp - 0x54]
push dword [ebp - 0x58]
call fcn.0041d4e1
pop ecx
pop ecx
mov eax, esi
jmp 0x41d8e4
mov esi, dword [ebp - 0x60]
lea eax, [ebp + 0x40]
push eax
push str.__Trying__s..._n
push esi
call fcn.0041ac80
xor edi, edi
add esp, 0xc
inc edi
cmp dword [ebp - 0x50], 2
jne 0x41d7e2
cmp dword [ebp - 0x4c], edi
jne 0x41d7e2
cmp dword [esi + 0x42c], 0
mov ebx, edi
je 0x41d75d
push dword [ebp - 0x54]
push dword [ebp - 0x58]
call fcn.0041d33f
pop ecx
pop ecx
push dword [ebp - 0x54]
call fcn.0041d394
pop ecx
test ebx, ebx
je 0x41d77b
cmp dword [esi + 0x574], 0
je 0x41d77b
mov ebx, dword [ebp - 0x54]
call fcn.0041cbd9
mov eax, dword [esi + 0x1e8]
test eax, eax
je 0x41d79d
push 0
push dword [ebp - 0x54]
push dword [esi + 0x1ec]
call eax
add esp, 0xc
cmp eax, 2
jne 0x41d7e9
mov dword [ebp - 0x64], edi
cmp dword [ebp - 0x50], 2
jne 0x41d7f5
lea eax, [ebp - 0x40]
push eax
call fcn.0041174f
mov ebx, dword [ebp - 0x58]
push eax
push dword [ebp - 0x50]
push dword [ebp - 0x54]
call fcn.0041cd5b
mov esi, eax
add esp, 0x10
mov dword [ebp - 0x5c], esi
test esi, esi
je 0x41d7f5
push dword [ebp - 0x54]
push ebx
call fcn.0041d4e1
pop ecx
pop ecx
cmp esi, edi
jne 0x41d713
push 7
pop eax
jmp 0x41d8e4
xor ebx, ebx
jmp 0x41d75d
test eax, eax
je 0x41d79d
push 0x2a
pop esi
jmp 0x41d706
push edi
push dword [ebp - 0x54]
call fcn.00438bf3
lea eax, [ebp - 0x7c]
push eax
call fcn.0041a826
mov edi, dword [ebp - 0x58]
add edi, 0x450
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 esi, dword [ebp - 0x58]
add esp, 0xc
cmp dword [esi + 0x460], 1
jle 0x41d83e
push 3
push dword [esi + 0x46c]
push dword [esi + 0x468]
push dword [ebp - 0x60]
call fcn.00419291
add esp, 0x10
xor ebx, ebx
cmp dword [ebp - 0x64], ebx
jne 0x41d8da
cmp dword [esi + 0x94], 1
jne 0x41d8da
cmp dword [esi + 0x438], ebx
jne 0x41d873
push dword [ebp - 0x44]
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x54]
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x41d8c8
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
cmp edi, 0xb
je 0x41d8c5
cmp edi, 0x2732
jle 0x41d890
cmp edi, 0x2734
jle 0x41d8c5
push edi
push esi
call fcn.0041fc3e
mov ebx, dword [ebp - 0x60]
push eax
lea eax, [ebp + 0x40]
push eax
push str.Immediate_connect_fail_for__s:__s_n
push ebx
call fcn.0041ac80
push dword [ebp - 0x54]
mov dword [ebx + 0x47e4], edi
push esi
call fcn.0041d4e1
add esp, 0x20
mov dword [ebp - 0x5c], 7
jmp 0x41d8d5
mov dword [ebp - 0x5c], ebx
cmp dword [ebp - 0x5c], ebx
jne 0x41d8d5
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x54]
mov dword [eax], ecx
mov eax, dword [ebp - 0x5c]
jmp 0x41d8e4
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x68]
mov dword [ecx], eax
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp + 0x70]
xor ecx, ebp
pop esi
call fcn.0044e6cf
add ebp, 0x74
leave
ret