Function at 0x5e7440
Capabilities:
Connect socket

Disassembly:
sub esp, 0xa4
mov eax, dword [0x78f694]
xor eax, esp
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0xac]
push ebp
mov ebp, dword [esp + 0xac]
push esi
mov esi, dword [ebp]
mov dword [edx], 0xffffffff
mov dword [ecx], 0
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0xc], edx
lea edx, [esp + 0x1c]
push edx
push eax
push ebp
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], esi
call fcn.005e7360
add esp, 0x10
test eax, eax
je 0x5e74b4
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.0062cbd3
add esp, 0xa4
ret
push ebx
push edi
lea edi, [ebp + 0x9e]
lea ebx, [ebp + 0xcc]
lea esi, [esp + 0x30]
call fcn.005e6f50
test eax, eax
jne 0x5e7502
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push ebp
call fcn.005db390
push eax
mov eax, dword [esp + 0x28]
push esi
push str.sa_addr_inet_ntop___failed_with_errno__d:__s
push eax
call fcn.005e5030
mov ecx, dword [esp + 0x2c]
push ecx
push ebp
call fcn.005e7300
add esp, 0x20
jmp 0x5e767b
lea eax, [ebp + 0x40]
mov esi, edi
mov edi, eax
mov ecx, 0xb
rep movsd dword es:[edi], dword [esi]
push eax
movsw word es:[edi], word [esi]
mov esi, dword [esp + 0x20]
push str.__Trying__s..._n
push esi
call fcn.005e4fa0
push ebp
call fcn.005e6ef0
mov ebx, dword [esp + 0x24]
add esp, 0x10
cmp dword [esi + 0x314], 0
je 0x5e7541
mov edx, ebx
mov edi, ebp
call fcn.005e70f0
push ebx
call fcn.005e7150
add esp, 4
cmp dword [esi + 0x410], 0
je 0x5e755a
mov edi, ebx
call fcn.005e68d0
mov eax, dword [esi + 0x16c]
test eax, eax
je 0x5e7580
mov edx, dword [esi + 0x170]
push 0
push ebx
push edx
call eax
add esp, 0xc
cmp eax, 2
jne 0x5e75ad
mov dword [esp + 0x18], 1
mov eax, dword [esp + 0x20]
push eax
push ebx
push ebp
call fcn.005e6a80
mov edi, eax
add esp, 0xc
test edi, edi
je 0x5e75c5
push ebx
push ebp
call fcn.005e7300
mov eax, edi
dec eax
add esp, 8
neg eax
sbb eax, eax
and eax, edi
jmp 0x5e767d
test eax, eax
je 0x5e7580
push ebx
push ebp
call fcn.005e7300
add esp, 8
mov eax, 0x2a
jmp 0x5e767d
mov edi, 1
push edi
push ebx
call fcn.00602a80
add esp, 8
call fcn.005e4b80
cmp dword [ebp + 0x210], edi
mov dword [ebp + 0x208], eax
mov dword [ebp + 0x20c], edx
jle 0x5e75fd
mov ecx, dword [ebp + 0x214]
push ecx
push esi
call fcn.005e3280
add esp, 8
cmp dword [esp + 0x18], 0
jne 0x5e7675
cmp dword [ebp + 0x74], edi
jne 0x5e7675
mov edx, dword [esp + 0x2c]
push edx
lea eax, [esp + 0x34]
push eax
push ebx
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x5e766d
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
cmp edi, 0xb
je 0x5e7665
cmp edi, 0x2732
jle 0x5e763c
cmp edi, 0x2734
jle 0x5e7665
push edi
push ebp
call fcn.005db390
push eax
lea eax, [ebp + 0x40]
push eax
push str.Failed_to_connect_to__s:__s
push esi
call fcn.005e5030
push ebx
push ebp
mov dword [esi + 0x8594], edi
call fcn.005e7300
add esp, 0x20
jmp 0x5e767b
mov ecx, dword [esp + 0x10]
mov dword [ecx], ebx
jmp 0x5e767b
mov edx, dword [esp + 0x10]
mov dword [edx], ebx
jmp 0x5e767b
mov eax, dword [esp + 0x10]
mov dword [eax], ebx
xor eax, eax
mov ecx, dword [esp + 0xb0]
pop edi
pop ebx
pop esi
pop ebp
xor ecx, esp
call fcn.0062cbd3
add esp, 0xa4
ret