Function at 0x14002b4d0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
mov rax, qword [0x140060010]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rbx, rcx
mov qword [rbp - 0x39], rcx
xor edi, edi
movups xmm0, xmmword [str.ebsel_orsm]
movups xmmword [rbp - 0x69], xmm0
movsd xmm0, qword [0x140050178]
movsd qword [rbp - 0x59], xmm0
movzx eax, word [0x140050180]
mov word [rbp - 0x51], ax
movzx eax, byte [0x140050182]
mov byte [rbp - 0x4f], al
mov ecx, edi
cmp dword [0x140060018], 2
jl 0x14002b698
movdqa xmm5, xmmword [0x140059740]
movdqa xmm4, xmmword [0x140059830]
mov eax, 5
movd xmm6, eax
movdqa xmm7, xmmword [0x140059780]
mov eax, 0x1f
movd xmm8, eax
movdqa xmm0, xmmword [0x1400597e0]
movdqa xmmword [rbp - 0x39], xmm0
lea rdx, [rbp - 0x65]
mov r8d, dword [rbp - 0x39]
nop word [rax + rax]
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
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400597c0]
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
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400597c0]
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, 0x18
jl 0x14002b590
cmp ecx, 0x1b
jge 0x14002b6d0
movsxd rax, ecx
lea r8, [rbp - 0x69]
add r8, rax
mov eax, 0x8fb823ef
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x39
movzx eax, cl
sub al, dl
add al, 0x34
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x1b
jl 0x14002b6a2
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
mov qword [rbp + 7], rdi
mov qword [rbp + 0xf], rdi
lea rax, [rbp - 0x69]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], dil
jne 0x14002b6f0
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 9]
call fcn.140029280
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], rdi
mov qword [rbp - 0x11], 0xf
mov byte [rbp - 0x29], 0
nop
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdqe
mov r9, qword [rbp + 7]
lea rcx, [r9 + 1]
xor edx, edx
div rcx
movsxd rcx, edx
xorps xmm0, xmm0
movups xmmword [rbp - 0x69], xmm0
mov qword [rbp - 0x59], rdi
mov qword [rbp - 0x51], rdi
cmp r9, rcx
jb 0x14002b8da
sub r9, rcx
mov r8d, 1
cmp r9, r8
cmovb r8, r9
lea rdx, [rbp - 9]
cmp qword [rbp + 0xf], 0x10
cmovae rdx, qword [rbp - 9]
add rdx, rcx
lea rcx, [rbp - 0x69]
call fcn.140029280
nop
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x29]
call fcn.140042c00
nop
mov rdx, qword [rbp - 0x51]
cmp rdx, 0x10
jb 0x14002b7c4
inc rdx
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002b7bf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002b84d
call fcn.140049e50
cmp qword [rbp - 0x19], 0xf
jne 0x14002b720
lea rcx, [rbp - 0x29]
cmp qword [rbp - 0x11], 0x10
cmovae rcx, qword [rbp - 0x29]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0xf
mov qword [rbx + 0x18], 0xf
movsd xmm0, qword [rcx]
movsd qword [rbx], xmm0
mov eax, dword [rcx + 8]
mov dword [rbx + 8], eax
movzx eax, word [rcx + 0xc]
mov word [rbx + 0xc], ax
movzx eax, byte [rcx + 0xe]
mov byte [rbx + 0xe], al
mov byte [rbx + 0xf], 0
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x14002b859
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002b854
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002b854
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140049e50
mov qword [rbp - 0x19], rdi
mov qword [rbp - 0x11], 0xf
mov byte [rbp - 0x29], 0
mov rdx, qword [rbp + 0xf]
cmp rdx, 0x10
jb 0x14002b8a7
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002b8a2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002b8a2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140049e50
mov rax, rbx
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140049b90
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop rbp
ret
call fcn.140028fa0
nop
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x140060010]
xor rax, rsp
mov qword [rsp + 0x88], rax
xor ebp, ebp
nop dword [rax + rax]
lea rcx, [rsp + 0x48]
call fcn.14002b4d0
mov rbx, rax
mov byte [rsp + 0x20], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x40], rbp
lea rax, [rsp + 0x20]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14002b940
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.140029280
nop
mov r9, rbx
lea r8, [rsp + 0x28]
lea rcx, [rsp + 0x68]
call fcn.140043b90
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x14002b9ab
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002b9a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002bafd
call fcn.140049e50
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x14002b9e8
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002b9e3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002bb04
call fcn.140049e50
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], 0xf
mov byte [rsp + 0x48], 0
lea rsi, [rsp + 0x68]
cmp qword [rsp + 0x80], 0x10
cmovae rsi, qword [rsp + 0x68]
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x14002ba96
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x14002ba96
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
mov r8d, 0x2f5163dc
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x14002ba91
nop
movsx edx, dl
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx]
lea rcx, [rcx + 1]
test dl, dl
jne 0x14002ba70
cmp r8d, 0x684981e0
je 0x14002ba9b
test r9d, r9d
jne 0x14002ba50
mov rax, qword [rax]
jmp 0x14002ba20
mov edx, dword [rbx + 0x1c]
add rdx, r10
mov eax, dword [rbx + 0x24]
add rax, r10
movzx eax, word [rax + r9*2]
mov edx, dword [rdx + rax*4]
add rdx, r10
mov rcx, rsi
call rdx
nop
mov rdx, qword [rsp + 0x80]
cmp rdx, 0x10
jb 0x14002b910
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002baf3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002bb0b
call fcn.140049e50
jmp 0x14002b910
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3