Function at 0x140099a00
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xe0
mov rax, qword [0x140152040]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rbx, rdx
mov qword [rbp - 0x49], rdx
cmp byte [0x140255046], 0
je 0x140099d8d
lea rdi, [0x1402516d8]
mov rcx, rdi
cmp qword [0x1402516f0], 0xf
cmova rcx, qword [0x1402516d8]
mov r8, qword [0x1402516e8]
test r8, r8
jne 0x140099a73
lea rdx, [0x14012561f]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140099d8d
mov rax, qword [0x140135078]
mov qword [rbp - 0x41], rax
cmp byte [0x14013507f], 0
je 0x140099bad
xor ecx, ecx
cmp dword [0x140152090], 2
jl 0x140099b76
movdqa xmm4, xmmword [0x140138ff0]
movdqa xmm2, xmmword [0x140138f00]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.7777]
psubd xmm2, xmm0
andps xmm2, xmmword [0x140138fb0]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140139010]
movd xmm0, dword [rbp - 0x41]
xorps xmm2, xmm0
movd dword [rbp - 0x41], xmm2
movdqa xmm2, xmmword [0x140138f30]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.7777]
psubd xmm2, xmm0
andps xmm2, xmmword [0x140138fb0]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140139010]
movd xmm0, dword [rbp - 0x3d]
xorps xmm2, xmm0
movd dword [rbp - 0x3d], xmm2
jmp 0x140099bad
lea r8, [rbp - 0x41]
nop word [rax + rax]
mov eax, 0x29e4129f
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul edx, eax, 0x37
movzx eax, cl
sub al, dl
add al, 0x35
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 8
jl 0x140099b80
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 9], xmm1
lea rax, [rbp - 0x41]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140099bd0
lea rdx, [rbp - 0x41]
lea rcx, [rbp - 0x19]
call fcn.140079f10
nop
movzx eax, word [0x140134fa8]
mov word [rbp - 0x41], ax
movzx eax, byte [0x140134faa]
mov byte [rbp - 0x41], 0x61
xor byte [rbp - 0x40], 0x36
xor al, 0x37
mov byte [rbp - 0x3f], al
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x29], xmm1
lea rax, [rbp - 0x41]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140099c21
lea rdx, [rbp - 0x41]
lea rcx, [rbp - 0x39]
call fcn.140079f10
nop
cmp qword [0x1402516f0], 0xf
cmova rdi, qword [0x1402516d8]
mov r8, qword [0x1402516e8]
mov rdx, rdi
lea rcx, [rbp - 0x39]
call fcn.1400f4340
movups xmm0, xmmword [rax]
movups xmmword [rbp + 7], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x17], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], select
mov byte [rax], 0
lea r9, [rbp - 0x19]
lea r8, [rbp + 7]
lea rcx, [rbp + 0x27]
call fcn.1400fd780
nop
mov r8, rbx
lea rdx, [rbp + 0x27]
lea rcx, [rbp - 0x69]
call fcn.1400f6ca0
mov r8d, 0xffffffff
mov rdx, rax
lea rcx, [0x140255f78]
call fcn.140091c20
nop
lea rcx, [rbp + 0x27]
call fcn.1400955d0
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0xf
jbe 0x140099cff
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140099cf9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140099cf9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401101a0
nop
mov rdx, qword [rbp - 0x21]
cmp rdx, 0xf
jbe 0x140099d3d
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140099d38
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140099d38
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401101a0
movdqa xmm0, xmmword [0x140138dd0]
movdqu xmmword [rbp - 0x29], xmm0
mov byte [rbp - 0x39], 0
mov rdx, qword [rbp - 1]
cmp rdx, 0xf
jbe 0x140099d8d
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140099d87
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140099d87
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401101a0
nop
mov rcx, rbx
call fcn.1400955d0
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.14010fe20
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret