Function at 0x5ec3f0
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x72fc02
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x128
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x108], ecx
mov eax, dword [ebp - 0x108]
cmp dword [eax + 8], 0xffffffff
jne 0x5ec446
mov ecx, dword [ebp + 8]
call fcn.005c6cc0
push eax
mov ecx, dword [ebp - 0x108]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x108]
mov eax, dword [edx + 0x90]
call eax
push 0
mov ecx, dword [ebp - 0x108]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x108]
mov eax, dword [edx + 0x84]
call eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
call fcn.005c6b60
mov dword [ebp - 0x10c], eax
mov ecx, dword [ebp + 8]
call fcn.005c6c10
mov dword [ebp - 0x110], eax
mov ecx, dword [ebp - 0x10c]
push ecx
mov edx, dword [ebp - 0x110]
push edx
mov eax, dword [ebp - 0x108]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.WS2_32.dll_connect]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x5ec650
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x2734
je 0x5ec50c
cmp dword [ebp - 0x18], 0x2733
je 0x5ec50c
lea edx, [ebp - 0x34]
push edx
mov ecx, dword [ebp + 8]
call fcn.005c6e20
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x118], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x118]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.005ee290
add esp, 8
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x34]
call fcn.0040b0a0
push 7
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x108]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x108]
mov eax, dword [edx + 0x50]
call eax
mov byte [ebp - 0x119], al
movzx ecx, byte [ebp - 0x119]
test ecx, ecx
jne 0x5ec624
lea edx, [ebp - 0xb9]
mov dword [ebp - 0xb8], edx
push 0
push 0
lea ecx, [ebp - 0x9c]
call fcn.0040b0a0
mov dword [ebp - 0x120], 0x7979f8
mov eax, dword [ebp - 0x120]
add eax, 1
mov dword [ebp - 0x124], eax
mov ecx, dword [ebp - 0x120]
mov dl, byte [ecx]
mov byte [ebp - 0x125], dl
add dword [ebp - 0x120], 1
cmp byte [ebp - 0x125], 0
jne 0x5ec56e
mov eax, dword [ebp - 0x120]
sub eax, dword [ebp - 0x124]
mov dword [ebp - 0x12c], eax
mov ecx, dword [ebp - 0x12c]
push ecx
push 0x7979f8
lea ecx, [ebp - 0x9c]
call fcn.0040a9d0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x80]
push edx
mov ecx, dword [ebp + 8]
call fcn.005c6e20
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x134], eax
mov byte [ebp - 4], 3
push 0
mov ecx, dword [ebp - 0x134]
push ecx
lea edx, [ebp - 0x9c]
push edx
lea ecx, [ebp - 0x64]
call fcn.00593830
push 0x7daafc
lea eax, [ebp - 0x64]
push eax
call fcn.00563aac
mov byte [ebp - 4], 2
push 0
push 1
lea ecx, [ebp - 0x80]
call fcn.0040b0a0
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x9c]
call fcn.0040b0a0
mov ecx, dword [ebp - 0x108]
call fcn.005ee040
mov dword [ebp - 0x138], eax
mov ecx, dword [ebp - 0x138]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
je 0x5ec650
mov edx, dword [ebp - 0x18]
push edx
call fcn.005ee220
add esp, 4
jmp 0x5ec680
mov dword [ebp - 4], 0xffffffff
push 1
mov ecx, dword [ebp - 0x108]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x108]
mov eax, dword [edx + 0x84]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8