Function at 0x140001700
Capabilities:
Encode data using xor
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x460
movaps xmmword [rsp + 0x450], xmm6
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov rsi, rdx
mov rbx, rcx
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 1
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
xor ebp, ebp
mov qword [rcx], rbp
mov qword [rcx + 8], rbp
mov qword [rcx + 0x10], rbp
mov dword [rsp + 0x20], 1
movdqa xmm6, xmmword [str.wwwwwwwwwwwwwwww_]
mov dword [rsp + 0x30], ebp
xor r9d, r9d
mov r8d, 4
lea rdx, [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_recv]
cmp eax, 4
je 0x14000178b
lea rdx, str.Failed_to_receive_file_size
jmp 0x140001967
lea rdx, str.File_size:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400031d0
mov rcx, rax
mov edx, dword [rsp + 0x30]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
mov rcx, rax
lea rdx, str._bytes
call fcn.1400031d0
mov rcx, rax
lea rdx, [0x1400033b0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov edi, ebp
cmp dword [rsp + 0x30], ebp
jle 0x140001936
nop word [rax + rax]
xor r9d, r9d
mov r8d, 0x400
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_recv]
movsxd r8, eax
test eax, eax
jle 0x140001913
mov rcx, rbp
cmp r8d, 0x40
jb 0x140001881
mov edx, r8d
and edx, 0x8000003f
jge 0x14000181d
dec edx
or edx, 0xffffffc0
inc edx
mov eax, r8d
sub eax, edx
movsxd rdx, eax
nop word [rax + rax]
movdqu xmm0, xmmword [rsp + rcx + 0x40]
xorps xmm0, xmm6
movdqu xmmword [rsp + rcx + 0x40], xmm0
movdqu xmm0, xmmword [rsp + rcx + 0x50]
movdqa xmm1, xmm6
xorps xmm1, xmm0
movdqu xmmword [rsp + rcx + 0x50], xmm1
movdqu xmm0, xmmword [rsp + rcx + 0x60]
movdqa xmm1, xmm6
xorps xmm1, xmm0
movdqu xmmword [rsp + rcx + 0x60], xmm1
movdqu xmm0, xmmword [rsp + rcx + 0x70]
movdqa xmm1, xmm6
xorps xmm1, xmm0
movdqu xmmword [rsp + rcx + 0x70], xmm1
add rcx, 0x40
cmp rcx, rdx
jl 0x140001830
mov r9, r8
cmp rcx, r8
jge 0x14000189d
nop dword [rax]
xor byte [rsp + rcx + 0x40], 0x77
inc rcx
cmp rcx, r9
jl 0x140001890
add edi, r8d
mov rdx, qword [rbx + 8]
lea r8, [rsp + 0x40]
mov rcx, rbx
call fcn.140003580
lea rdx, str._rProgress:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400031d0
mov rcx, rax
mov edx, edi
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
mov rcx, rax
lea rdx, [0x1400055c0]
call fcn.1400031d0
mov rcx, rax
mov edx, dword [rsp + 0x30]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
mov rcx, rax
lea rdx, str._bytes_received
call fcn.1400031d0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::flush_void____ptr64]
cmp edi, dword [rsp + 0x30]
jl 0x1400017e0
jmp 0x140001936
lea rdx, str.Failed_to_receive_file_data
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400031d0
mov rcx, rax
lea rdx, [0x1400033b0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [0x1400033b0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
cmp edi, dword [rsp + 0x30]
jne 0x140001960
lea rdx, str.File_successfully_received
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
jmp 0x14000196e
lea rdx, str.File_transfer_incomplete
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400031d0
lea rdx, [0x1400033b0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rax, rbx
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.1400039b0
mov rbx, qword [rsp + 0x490]
movaps xmm6, xmmword [rsp + 0x450]
add rsp, 0x460
pop rdi
pop rsi
pop rbp
ret