Function at 0x18007f570
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x168]
sub rsp, 0x230
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
movaps xmmword [rax - 0x88], xmm10
movaps xmmword [rax - 0x98], xmm11
movaps xmmword [rax - 0xa8], xmm12
mov rax, qword [0x1802e4040]
xor rax, rsp
mov qword [rbp + 0xb0], rax
mov r12, r8
mov r15, rdx
mov qword [rsp + 0x70], rdx
mov qword [rsp + 0x78], r8
mov dword [rsp + 0x48], 1
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 1
mov rdx, r12
lea rcx, [rbp - 0x60]
call fcn.180079440
nop
movsd xmm0, qword [0x180170078]
movsd qword [rsp + 0x38], xmm0
movzx ecx, word [0x180170080]
mov word [rsp + 0x40], cx
movzx eax, byte [0x180170082]
mov byte [rsp + 0x38], reloc.WS2_32.dll_WSASetLastError
xor byte [rsp + 0x39], 0x36
xor byte [rsp + 0x3a], 0x37
xor byte [rsp + 0x3b], 0x38
xor byte [rsp + 0x3c], 0x39
xor byte [rsp + 0x3d], 0x3a
xor byte [rsp + 0x3e], 0x3b
xor byte [rsp + 0x3f], 0x3c
xor cl, 0x3d
mov byte [rsp + 0x40], cl
xor byte [rsp + 0x41], 0x3e
xor al, 0x3f
mov byte [rsp + 0x42], al
xorps xmm0, xmm0
movups xmmword [r15], xmm0
mov qword [r15 + 0x10], 0
mov qword [r15 + 0x18], 0
lea rax, [rsp + 0x38]
mov r14, 0xffffffffffffffff
mov r8, r14
inc r8
cmp byte [rax + r8], 0
jne 0x18007f696
lea rdx, [rsp + 0x38]
mov rcx, r15
call fcn.180046b60
nop
mov dword [rsp + 0x48], 1
cmp qword [rbp + 0x30], 0
jne 0x18007f6ea
mov rax, qword [rbp - 0x60]
movsxd rdx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rdx - 0x60], rax
mov rdx, qword [rbp - 0x60]
movsxd r8, dword [rdx + 4]
lea r9d, [r8 - 0xb0]
mov dword [rbp + r8 - 0x64], r9d
jmp 0x18007fb17
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], 0
mov qword [rbp - 0x68], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x80], 0
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x60]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x60]
call fcn.18006f780
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
test al, al
je 0x18007fa9f
mov r13d, dword [reloc.WS2_32.dll_accept]
movdqa xmm10, xmmword [0x180170cb0]
movdqa xmm7, xmmword [0x180170c10]
movdqa xmm8, xmmword [0x180170bf0]
movdqa xmm9, xmmword [0x180169bc0]
movdqa xmm11, xmmword [str.5555555555555555]
movdqa xmm12, xmmword [str.1111]
movdqa xmm6, xmmword [0x180170d80]
nop dword [rax]
movsd xmm0, qword [str._FSYM_xTPQ__B]
movsd qword [rsp + 0x38], xmm0
mov edx, dword [0x180170090]
mov dword [rsp + 0x40], edx
movzx eax, word [0x180170094]
mov word [rsp + 0x44], ax
cmp byte [0x180170095], 0
je 0x18007f92c
xor ecx, ecx
cmp r13d, 2
jl 0x18007f8f6
movdqa xmm1, xmm9
punpckldq xmm1, xmm9
pmuldq xmm1, xmm6
movdqa xmm0, xmm9
punpckhdq xmm0, xmm9
pmuldq xmm0, xmm6
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm12
movdqa xmm1, xmm9
psubd xmm1, xmm0
andps xmm1, xmm10
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm11
movd xmm0, dword [str._FSYM_xTPQ__B]
xorps xmm1, xmm0
movd dword [rsp + 0x38], xmm1
movdqa xmm1, xmm8
punpckldq xmm1, xmm8
pmuldq xmm1, xmm6
movdqa xmm0, xmm8
punpckhdq xmm0, xmm8
pmuldq xmm0, xmm6
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm12
movdqa xmm1, xmm8
psubd xmm1, xmm0
andps xmm1, xmm10
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm11
movd xmm0, dword [rsp + 0x3c]
xorps xmm1, xmm0
movd dword [rsp + 0x3c], xmm1
movdqa xmm1, xmm7
punpckldq xmm1, xmm7
pmuldq xmm1, xmm6
movdqa xmm0, xmm7
punpckhdq xmm0, xmm7
pmuldq xmm0, xmm6
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm12
movdqa xmm1, xmm7
psubd xmm1, xmm0
andps xmm1, xmm10
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm11
movd xmm0, edx
xorps xmm1, xmm0
movd dword [rsp + 0x40], xmm1
mov ecx, recv
mov eax, ecx
lea r8, [rsp + 0x38]
add r8, rax
mov eax, 0x5397829d
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x31
movzx eax, cl
sub al, dl
add al, 0x35
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0xe
jl 0x18007f900
lea rcx, [rsp + 0x38]
mov rax, r14
inc rax
cmp byte [rcx + rax], 0
jne 0x18007f934
lea rcx, [rbp - 0x80]
mov rdi, qword [rbp - 0x80]
mov rsi, qword [rbp - 0x68]
cmp rsi, 0xf
cmova rcx, rdi
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
mov rbx, qword [rbp - 0x70]
mov rdx, rbx
call fcn.18006df90
cmp rax, 0xffffffffffffffff
je 0x18007f9c7
movzx eax, word [0x180170098]
mov word [rsp + 0x30], ax
cmp byte [0x180170099], 0
je 0x18007f98f
mov byte [rsp + 0x30], 0x3d
xor byte [rsp + 0x31], 0x36
lea rcx, [rsp + 0x30]
mov rax, r14
inc rax
cmp byte [rcx + rax], 0
jne 0x18007f997
lea rcx, [rbp - 0x80]
cmp rsi, 0xf
cmova rcx, rdi
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, rbx
call fcn.18006df90
cmp rax, 0xffffffffffffffff
jne 0x18007fa0c
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x60]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x60]
call fcn.18006f780
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
test al, al
jne 0x18007f790
jmp 0x18007fa9f
lea rcx, [rax + 1]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
cmp rbx, rcx
jb 0x18007fb8d
sub rbx, rcx
cmp rbx, 0xffffffffffffffff
cmovb r14, rbx
lea rdx, [rbp - 0x80]
cmp rsi, 0xf
cmova rdx, rdi
add rdx, rcx
mov r8, r14
lea rcx, [rsp + 0x50]
call fcn.180046b60
lea rdx, [rsp + 0x50]
mov rcx, r15
call fcn.180047800
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x18007fa9f
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18007fa99
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18007fa99
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180159e80
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x18007fadd
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18007fad8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18007fad8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180159e80
mov qword [rbp - 0x70], 0
mov qword [rbp - 0x68], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x80], 0
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x60], rax
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x64], edx
lea rcx, [rbp - 0x50]
call fcn.18007bc60
lea rcx, [rbp - 0x48]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x50]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rcx, r12
call fcn.180047730
mov rax, r15
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.18015a430
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.180080a10
nop
int3