Function at 0x14000a310
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x140047010]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, rcx
mov qword [rsp + 0x38], rcx
mov eax, dword [0x14003f400]
mov dword [rsp + 0x20], eax
cmp byte [0x14003f403], 0
je 0x14000a422
xor r8d, r8d
cmp dword [0x140047018], 2
jl 0x14000a3e8
movdqa xmm3, xmmword [0x1400406d0]
movdqa xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x140040c50]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x140040c50]
shufps xmm2, xmm0, 0xdd
mov ecx, 4
movd xmm0, ecx
psrad xmm2, xmm0
mov ecx, 0x1f
movd xmm0, ecx
movdqa xmm1, xmm2
psrld xmm1, xmm0
paddd xmm1, xmm2
pmulld xmm1, xmmword [0x1400406f0]
psubd xmm3, xmm1
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140040730]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.2222222222222222]
movd xmm0, eax
pxor xmm2, xmm0
movd dword [rsp + 0x20], xmm2
jmp 0x14000a422
lea r9, [rsp + 0x20]
nop dword [rax]
mov eax, 0x2f684bdb
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x36
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 4
jl 0x14000a3f0
lea rdx, [rsp + 0x20]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000b050
movzx eax, word [0x14003f418]
mov word [rsp + 0x20], ax
cmp byte [0x14003f419], 0
je 0x14000a452
mov byte [rsp + 0x20], 0x2a
xor byte [rsp + 0x21], 0x33
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.14000b220
nop
mov rdx, rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000b370
nop
mov rcx, qword [rsp + 0x28]
mov rax, qword [rcx + 8]
mov qword [rax], 0
mov rcx, qword [rcx]
test rcx, rcx
je 0x14000a4a5
nop word [rax + rax]
mov rbx, qword [rcx]
mov edx, 0x20
call fcn.1400382e0
mov rcx, rbx
test rbx, rbx
jne 0x14000a490
mov edx, 0x20
mov rcx, qword [rsp + 0x28]
call fcn.1400382e0
movzx eax, word [0x14003f42c]
mov word [rsp + 0x20], ax
movzx eax, byte [0x14003f42e]
mov byte [rsp + 0x20], 0x5d
xor byte [rsp + 0x21], 0x33
xor al, 0x34
mov byte [rsp + 0x22], al
lea rdx, [rsp + 0x20]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000b050
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14000a4f5
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000b5b0
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x14000a53c
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14000a537
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000a567
mov rcx, r8
call fcn.1400382e0
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400382c0
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3