Function at 0x27064bcd
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1f4
mov eax, dword [0x270b313c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
and dword [ebp - 0x1dc], 0
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x1d0], eax
lea eax, [eax + edx*4 + 0x110]
or dword [eax], 0xffffffff
push esi
mov dword [ebp - 0x1d8], eax
push edi
lea eax, [ebp - 0x1c8]
push eax
push ecx
lea ecx, [ebp - 0x1cc]
mov edx, ebx
call fcn.27065146
pop ecx
pop ecx
mov dword [ebp - 0x1d4], eax
test eax, eax
jne 0x27064ede
lea eax, [ebp - 0x34]
push eax
lea edi, [ebp - 0x1e0]
lea esi, [ebp - 0x1b8]
call fcn.27064395
pop ecx
test eax, eax
jne 0x27064c8e
call sub.msvcrt.dll__errno
mov edi, eax
call sub.msvcrt.dll__errno
mov edi, dword [edi]
mov esi, eax
lea eax, [ebp - 0x138]
call fcn.2705cb1a
push eax
push dword [esi]
mov ecx, ebx
push str.sa_addr_inet_ntop___failed_with_errno__d:__s
call fcn.270662c8
add esp, 0xc
xor esi, esi
mov edi, dword [ebp - 0x1cc]
mov eax, dword [ebp - 0x1d0]
push ebx
call fcn.270650e1
pop ecx
mov eax, esi
jmp 0x27064ede
push dword [ebp - 0x1e0]
lea eax, [ebp - 0x34]
push eax
push str.__Trying__s:_d..._n
mov ecx, ebx
call fcn.2706622a
add esp, 0xc
cmp dword [ebp - 0x1c8], 2
je 0x27064cb9
cmp dword [ebp - 0x1c8], 0x17
jne 0x27064cc4
xor edi, edi
inc edi
cmp dword [ebp - 0x1c4], edi
je 0x27064cc8
xor edi, edi
jmp 0x27064cdf
cmp dword [ebx + 0x730], 0
je 0x27064cdf
push dword [ebp - 0x1cc]
mov esi, ebx
call fcn.27064ae3
pop ecx
push dword [ebp - 0x1cc]
call fcn.27064b46
pop ecx
test edi, edi
je 0x27064d06
cmp dword [ebx + 0x750], 0
je 0x27064d06
push dword [ebp - 0x1cc]
mov esi, ebx
call fcn.27063c2f
pop ecx
lea esi, [ebx + 0x1d0]
cmp dword [esi], 0
je 0x27064d46
xor edi, edi
inc edi
mov edx, edi
mov eax, ebx
call fcn.2705efdb
push 0
push dword [ebp - 0x1cc]
push dword [ebx + 0x1d4]
call dword [esi]
mov esi, eax
add esp, 0xc
xor edx, edx
mov eax, ebx
call fcn.2705efdb
cmp esi, 2
jne 0x27064d98
mov dword [ebp - 0x1dc], edi
cmp dword [ebp - 0x1c8], 2
je 0x27064d58
cmp dword [ebp - 0x1c8], 0x17
jne 0x27064da4
push dword [ebp - 0x1c8]
mov edi, dword [ebp - 0x1cc]
push edi
mov ecx, ebx
call fcn.27063e00
mov esi, eax
pop ecx
pop ecx
mov dword [ebp - 0x1d4], esi
test esi, esi
je 0x27064da4
mov eax, dword [ebp - 0x1d0]
push ebx
call fcn.270650e1
pop ecx
cmp esi, 1
jne 0x27064c87
push 7
pop eax
jmp 0x27064ede
test esi, esi
je 0x27064d46
push 0x2a
pop esi
jmp 0x27064c74
push dword [ebp - 0x1cc]
call fcn.27077704
pop ecx
lea esi, [ebp - 0x1f0]
call fcn.2706c11f
mov ecx, dword [ebp - 0x1d0]
cmp dword [ecx + 0x228], 1
lea edi, [ecx + 0x230]
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]
jle 0x27064e0d
push 3
push dword [ecx + 0x244]
push dword [ecx + 0x240]
push ebx
call fcn.2705edd1
mov eax, dword [ebp - 0x1d0]
push 4
push dword [eax + 0x24c]
push dword [eax + 0x248]
push ebx
call fcn.2705edd1
mov ecx, dword [ebp - 0x1d0]
add esp, 0x20
xor esi, esi
cmp dword [ebp - 0x1dc], esi
jne 0x27064ece
cmp dword [ecx + 0x58], 4
je 0x27064ece
cmp dword [ecx + 0x204], esi
jne 0x27064e4a
push dword [ebp - 0x1bc]
lea eax, [ebp - 0x1b8]
push eax
push dword [ebp - 0x1cc]
call sub.WS2_32.dll_connect
cmp eax, 0xffffffff
jne 0x27064eb0
call sub.WS2_32.dll_WSAGetLastError
mov edi, eax
cmp edi, 0xb
je 0x27064eaa
cmp edi, 0x2732
jle 0x27064e66
cmp edi, 0x2734
jle 0x27064eaa
lea eax, [ebp - 0x138]
call fcn.2705cb1a
push eax
lea eax, [ebp - 0x34]
push eax
push str.Immediate_connect_fail_for__s:__s_n
mov ecx, ebx
call fcn.2706622a
mov eax, dword [ebp - 0x1d0]
add esp, 0xc
mov dword [ebx + 0x9d4], edi
mov edi, dword [ebp - 0x1cc]
push ebx
call fcn.270650e1
pop ecx
mov dword [ebp - 0x1d4], 7
jmp 0x27064ec6
mov dword [ebp - 0x1d4], esi
cmp dword [ebp - 0x1d4], esi
jne 0x27064ec6
mov eax, dword [ebp - 0x1d8]
mov ecx, dword [ebp - 0x1cc]
mov dword [eax], ecx
mov eax, dword [ebp - 0x1d4]
jmp 0x27064ede
mov eax, dword [ebp - 0x1cc]
mov ecx, dword [ebp - 0x1d8]
mov dword [ecx], eax
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.27088f70
leave
ret