Function at 0x1302e0c0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create raw socket
Create tcp socket
Initialize winsock library
Receive data
Receive data on socket

Disassembly:
push ebp
lea ebp, [esp - 0x20]
sub esp, 0x20
push 0xffffffffffffffff
push 0x1310f37a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x2234
call fcn.13031f00
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp + 4], ebx
jmp 0x1302e108
mov esi, dword [ebp + 0x28]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov byte [esi + 4], bl
push ebx
push 0x131123e6
mov ecx, esi
call fcn.13004a60
mov dword [ebp - 4], ebx
mov edi, 1
mov dword [ebp + 4], edi
push edi
push 3
lea ecx, [ebp - 0x98]
call fcn.1300def0
mov dword [ebp - 4], edi
mov byte [ebp - 4], 2
lea eax, [ebp - 0x244]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 6
push edi
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
mov dword [ebp + 0x18], edi
cmp edi, 0xffffffff
je 0x1302e266
xor eax, eax
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x14], eax
mov word [ebp + 8], 2
push 0x1e61
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp + 0xa], ax
mov byte [ebp + 0xc], 0x5d
mov byte [ebp + 0xd], 0x9e
mov byte [ebp + 0xe], 0xef
mov byte [ebp + 0xf], 0x27
push 0x10
lea ecx, [ebp + 8]
push ecx
push edi
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jne 0x1302e25f
mov dword [ebp + 0x1c], ebx
mov byte [ebp - 4], 3
nop
push ebx
push 0x1ffe
lea edx, [ebp - 0x2244]
push edx
push edi
call dword [sym.imp.WS2_32.dll_recv]
mov esi, eax
cmp esi, ebx
jle 0x1302e213
add dword [ebp + 0x1c], esi
lea eax, [ebp - 0x2244]
push eax
lea ecx, [ebp - 0x90]
push ecx
call fcn.13011970
add esp, 8
cmp byte [ebp + esi - 0x2245], bl
je 0x1302e213
push 0x2000
push ebx
lea edx, [ebp - 0x2244]
push edx
call fcn.130309b0
add esp, 0xc
jmp 0x1302e1c0
mov dword [ebp - 4], 2
jmp 0x1302e22e
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp - 0x98]
call fcn.13016750
mov byte [ebp - 4], 5
push eax
mov ecx, dword [ebp + 0x28]
call fcn.1300cb70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb4]
call fcn.13004580
mov esi, dword [ebp + 0x28]
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [ebp - 4], 1
jmp 0x1302e281
jmp 0x1302e293
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x44]
mov dword [ebp + 0x18], ecx
mov edx, dword [ebp - 0x98]
mov eax, dword [edx + 4]
mov dword [ebp + eax - 0x98], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 4], 7
lea ecx, [ebp - 0x8c]
mov dword [ebp], ecx
mov dword [ebp - 0x8c], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov byte [ebp - 4], 9
test byte [ebp - 0x4c], 1
je 0x1302e2e2
mov edx, dword [ebp - 0x7c]
mov eax, dword [edx]
push eax
call fcn.13030fdc
add esp, 4
mov eax, dword [ebp - 0x7c]
mov dword [eax], ebx
mov ecx, dword [ebp - 0x6c]
mov dword [ecx], ebx
mov edx, dword [ebp - 0x5c]
mov dword [edx], ebx
mov eax, dword [ebp - 0x78]
mov dword [eax], ebx
mov ecx, dword [ebp - 0x68]
mov dword [ecx], ebx
mov edx, dword [ebp - 0x58]
mov dword [edx], ebx
mov dword [ebp - 0x50], ebx
and dword [ebp - 0x4c], 0xfffffffe
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x8c]
call fcn.1300b020
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x8c]
call fcn.1300ab80
lea eax, [ebp - 0x44]
mov dword [ebp], eax
mov dword [ebp - 0x44], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], ebx
mov dword [ebp - 0x44], vtable.std::ios_base.0
mov ecx, eax
push ecx
call fcn.1302f0be
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add ebp, 0x20
mov esp, ebp
pop ebp
ret 4