Function at 0x4e0b00
Capabilities:
Connect socket

Disassembly:
sub esp, 0xe4
mov eax, dword [0x6fe3a4]
xor eax, esp
mov dword [esp + 0xe0], eax
mov ecx, dword [esp + 0xf0]
mov eax, dword [esp + 0xec]
push ebx
mov ebx, dword [esp + 0xec]
push ebp
push edi
mov dword [esp + 0x14], ecx
mov ebp, dword [ebx]
mov dword [ecx], 0xffffffff
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0x13], 0
push ecx
push eax
push ebx
call fcn.004e01c0
mov edi, eax
add esp, 0x10
test edi, edi
je 0x4e0b71
pop edi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xe0]
xor ecx, esp
call fcn.00641b27
add esp, 0xe4
ret
push esi
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0xc4]
push eax
lea eax, [esp + 0x48]
push eax
call fcn.004dfa90
add esp, 0xc
test al, al
jne 0x4e0bc6
call fcn.00648704
mov esi, eax
call fcn.00648704
push dword [esi]
mov edi, eax
push ebx
call fcn.004edef0
push eax
push dword [edi]
push str.sa_addr_inet_ntop___failed_with_errno__d:__s
push ebp
call fcn.004deb80
push dword [esp + 0x2c]
push ebx
call fcn.004df770
add esp, 0x20
jmp 0x4e0dbf
lea eax, [esp + 0xc0]
push eax
push str.__Trying__s..._n
push ebp
call fcn.004decd0
mov eax, dword [esp + 0x3c]
add esp, 0xc
cmp eax, 2
je 0x4e0bea
cmp eax, 0x17
jne 0x4e0bf5
cmp dword [esp + 0x34], 1
jne 0x4e0bf5
mov al, 1
jmp 0x4e0bf7
xor al, al
mov esi, dword [esp + 0x14]
mov byte [esp + 0x12], al
test al, al
je 0x4e0c16
cmp byte [ebp + 0x516], 0
je 0x4e0c16
push esi
push ebx
call fcn.004e02c0
add esp, 8
push esi
call fcn.004e0120
add esp, 4
cmp byte [esp + 0x12], 0
je 0x4e0c39
cmp byte [ebp + 0x650], 0
je 0x4e0c39
push esi
push ebp
call fcn.004e0de0
add esp, 8
cmp dword [ebp + 0x1d8], 0
je 0x4e0c78
push 1
push ebp
call fcn.004cfac0
mov eax, dword [ebp + 0x1d8]
push 0
push esi
push dword [ebp + 0x1dc]
call eax
push 0
push ebp
mov dword [esp + 0x30], eax
call fcn.004cfac0
mov eax, dword [esp + 0x30]
add esp, 0x1c
cmp eax, 2
jne 0x4e0cc1
mov byte [esp + 0x13], 1
mov eax, dword [esp + 0x30]
cmp eax, 2
je 0x4e0c86
cmp eax, 0x17
jne 0x4e0cd9
lea eax, [esp + 0x40]
push eax
call fcn.00502dd0
push eax
push dword [esp + 0x38]
push esi
push ebx
call fcn.004e0610
mov edi, eax
add esp, 0x14
test edi, edi
je 0x4e0cd9
push esi
push ebx
call fcn.004df770
add esp, 8
mov eax, 7
cmp edi, 1
cmove edi, eax
mov eax, edi
jmp 0x4e0dc1
test eax, eax
je 0x4e0c78
push esi
push ebx
call fcn.004df770
add esp, 8
mov eax, 0x2a
jmp 0x4e0dc1
push 1
push esi
call fcn.00502e60
lea eax, [esp + 0x28]
push eax
call fcn.004d3ef0
add esp, 0xc
cmp dword [ebx + 0x2b0], 1
movups xmm0, xmmword [eax]
movups xmmword [ebx + 0x2a0], xmm0
jle 0x4e0d18
push 3
push dword [ebx + 0x2bc]
push dword [ebx + 0x2b8]
push ebp
call fcn.004cf5d0
add esp, 0x10
cmp byte [esp + 0x13], 0
jne 0x4e0db9
cmp dword [ebx + 0x94], 1
jne 0x4e0db9
cmp byte [ebx + 0x296], 0
jne 0x4e0d5c
push dword [esp + 0x3c]
lea eax, [esp + 0x44]
push eax
push esi
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x4e0d5c
test edi, edi
jne 0x4e0db5
mov eax, dword [esp + 0x18]
mov dword [eax], esi
mov eax, edi
jmp 0x4e0dc1
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
cmp edi, 0xb
je 0x4e0dad
cmp edi, 0x2732
jle 0x4e0d79
cmp edi, 0x2734
jle 0x4e0dad
push edi
push ebx
call fcn.004edef0
push eax
lea eax, [esp + 0xcc]
push eax
push str.Immediate_connect_fail_for__s:__s_n
push ebp
call fcn.004decd0
push esi
push ebx
mov dword [ebp + 0x48c4], edi
call fcn.004df770
mov edi, 7
add esp, 0x20
mov eax, edi
jmp 0x4e0dc1
mov eax, dword [esp + 0x18]
xor edi, edi
mov dword [eax], esi
mov eax, edi
jmp 0x4e0dc1
mov eax, dword [esp + 0x18]
mov dword [eax], esi
xor eax, eax
mov ecx, dword [esp + 0xf0]
pop esi
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.00641b27
add esp, 0xe4
ret