Function at 0x14002ea40
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rax - 0xa8]
sub rsp, 0x190
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x1400c4080]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov rbx, rcx
mov qword [rsp + 0x20], rcx
xor r14d, r14d
mov dword [rsp + 0x30], r14d
call fcn.140052b00
mov rdi, rax
test rax, rax
je 0x14002ef8a
movups xmm0, xmmword [str.ROHM]
movups xmmword [rsp + 0x38], xmm0
mov ecx, dword [0x1400b54b8]
mov dword [rsp + 0x48], ecx
movzx ecx, byte [0x1400b54bc]
mov byte [rsp + 0x4c], cl
mov ecx, r14d
mov esi, dword [reloc.WS2_32.dll_accept]
cmp esi, 2
jl 0x14002ebf5
movdqa xmm5, xmmword [0x1400b6920]
movdqa xmm4, xmmword [0x1400b69c0]
movdqa xmm6, xmmword [0x1400b6940]
movdqa xmm0, xmmword [0x1400b69d0]
movdqa xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x3c]
mov r8d, dword [rsp + 0x20]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 3
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400b69b0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 3
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400b69b0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x10
jl 0x14002eaf3
cmp ecx, 0x15
jge 0x14002ec2c
movsxd rax, ecx
lea r8, [rsp + 0x38]
add r8, rax
mov eax, 0x22b63cbf
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x3b
movzx eax, cl
sub al, dl
add al, 0x3a
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x15
jl 0x14002ec00
lea r8, [rsp + 0x38]
mov edx, 0x2712
mov rcx, rdi
call fcn.1400553e0
movsd xmm0, qword [str.YNNQ]
movsd qword [rsp + 0x20], xmm0
mov eax, dword [0x1400b5b30]
mov dword [rsp + 0x28], eax
cmp byte [0x1400b5b33], r14b
je 0x14002edb0
mov r8d, r14d
cmp esi, 2
jl 0x14002ed71
movdqa xmm4, xmmword [0x1400b69c0]
movdqa xmm2, xmmword [0x1400b6920]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 3
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400b6940]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400b69b0]
packuswb xmm2, xmm2
mov eax, dword [0x1400b69d0]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [str.YNNQ]
xorps xmm2, xmm0
movd dword [rsp + 0x20], xmm2
movdqa xmm3, xmmword [0x1400b6930]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 3
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400b6940]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400b69b0]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x24]
xorps xmm2, xmm1
movd dword [rsp + 0x24], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rsp + 0x20]
add r9, rax
nop dword [rax]
mov eax, 0x22b63cbf
imul r8d
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3b
movzx eax, r8b
sub al, cl
add al, 0x3a
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xc
jl 0x14002ed80
lea r8, [rsp + 0x20]
mov edx, 0x2722
mov rcx, rdi
call fcn.1400553e0
xor r8d, r8d
mov edx, Ordinal_217
mov rcx, rdi
call fcn.1400553e0
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x50], r14b
lea r8, [0x14002ea10]
mov edx, 0x4e2b
mov rcx, rdi
call fcn.1400553e0
lea r8, [rsp + 0x50]
mov edx, 0x2711
mov rcx, rdi
call fcn.1400553e0
mov rcx, rdi
call fcn.140052bc0
mov rcx, rdi
call fcn.140052ae0
xor edx, edx
mov r8d, 0xf8
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x1400b5b98]
mov qword [rsp + 0x70], rax
lea rax, [0x1400b53c0]
mov qword [rbp - 0x80], rax
lea rcx, [rbp + 8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0x30], 2
xor r8d, r8d
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
nop
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rdi, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x70], rdi
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x6c], edx
lea rcx, [rbp - 0x78]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x10], r14
mov dword [rbp - 8], r14d
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x60]
lea rcx, [rbp - 0x80]
call fcn.140025f00
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.140032130
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [rbx + 0x10], xmm1
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x50], 0
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x70], rdi
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x6c], edx
lea rcx, [rbp - 0x78]
call fcn.140030b00
lea rcx, [rbp - 0x70]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x14002ef9f
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002ef83
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002ef83
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a054c
jmp 0x14002ef9f
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r14b
mov rax, rbx
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.1400a04f0
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret