Function at 0x4abba0
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x76c12c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, edx
mov edx, dword [eax + 4]
mov ebx, dword [edi]
mov dword [ebp - 0x124], ecx
mov ecx, dword [edi + 0x54]
mov dword [ebp - 0x90], ecx
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x94], edx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x8c], edx
cmp ecx, 0x80
jl 0x4abbee
mov ecx, 0x80
mov eax, dword [eax + 0x18]
push ecx
mov dword [ebp - 0x88], ecx
push eax
lea ecx, [ebp - 0x84]
push ecx
call fcn.005905c0
mov eax, dword [ebx + 0x150]
add esp, 0xc
test eax, eax
je 0x4abc31
mov ecx, dword [ebx + 0x154]
lea edx, [ebp - 0x94]
push edx
push 0
push ecx
call eax
mov esi, eax
add esp, 0xc
mov dword [ebp - 0x118], esi
jmp 0x4abc54
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x94]
push edx
push eax
push ecx
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0x118], eax
mov esi, eax
cmp esi, 0xffffffff
je 0x4abe58
mov edx, dword [ebp - 0x124]
push 0x80
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x80]
mov byte [edx], 0
mov edx, dword [ebp - 0x94]
push ecx
push edx
call fcn.004aec50
add esp, 0x10
test eax, eax
je 0x4abcb8
lea eax, [ebp - 0x114]
push eax
push str.__Trying__s...
push ebx
call fcn.004ab130
lea ecx, [ebp - 0x114]
push ecx
push 0x690c2c
lea edx, [ebx + 0x8574]
push 0x24
push edx
call fcn.004af3a0
add esp, 0x1c
cmp byte [ebx + 0x27a], 0
je 0x4abcc8
mov edx, esi
call fcn.004abb40
mov eax, dword [ebx + 0x148]
test eax, eax
je 0x4abcf1
mov ecx, dword [ebx + 0x14c]
push 0
push esi
push ecx
call eax
add esp, 0xc
mov dword [ebp - 0x11c], eax
test eax, eax
je 0x4abcf1
push esi
jmp 0x4abe52
push esi
push edi
call fcn.004ab6b0
add esp, 8
test eax, eax
jne 0x4abceb
push 1
push esi
call fcn.004ab660
add esp, 8
cmp dword [edi + 0x54], 1
jne 0x4abdd7
mov edx, dword [ebp - 0x88]
push edx
lea eax, [ebp - 0x84]
push eax
push esi
call dword [sym.imp.WS2_32.dll_connect]
mov dword [ebp - 0x120], eax
cmp eax, 0xffffffff
jne 0x4abdf3
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x11c], eax
cmp eax, 0xb
je 0x4abde3
cmp eax, 0x2732
jle 0x4abd5f
cmp eax, 0x2734
jle 0x4abde3
push eax
push edi
call fcn.004c1590
push eax
lea ecx, [ebp - 0x114]
push ecx
push str.Failed_to_connect_to__s:__s
push ebx
call fcn.004ab1b0
mov edx, dword [ebp - 0x11c]
add esp, 0x18
mov dword [ebx + 0x8484], edx
push esi
lea esi, [ebp - 0x11c]
call fcn.004aba40
mov ecx, dword [ebp - 0x120]
add esp, 4
test ecx, ecx
jne 0x4abe14
test al, al
je 0x4abe29
mov eax, dword [ebp - 0x124]
push str.connected_n
push ebx
mov byte [eax], 1
call fcn.004ab130
mov eax, dword [ebp - 0x118]
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058cf08
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x120], 0
jmp 0x4abd88
mov eax, dword [ebp + 0xc]
mov ecx, esi
call fcn.004ab680
mov dword [ebp - 0x120], eax
cmp eax, 1
jne 0x4abd88
cmp dword [ebx + 0x438], 2
jne 0x4abd88
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058cf08
mov esp, ebp
pop ebp
ret
cmp ecx, 1
jne 0x4abe29
push str.Timeout_n
push ebx
call fcn.004ab130
add esp, 8
jmp 0x4abe4b
mov eax, dword [ebp - 0x11c]
push eax
push edi
mov dword [ebx + 0x8484], eax
call fcn.004c1590
push eax
push 0x691aec
push ebx
call fcn.004ab130
add esp, 0x14
mov ecx, dword [ebp - 0x118]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
or eax, 0xffffffff
pop ebx
call fcn.0058cf08
mov esp, ebp
pop ebp
ret