Function at 0x140024b00
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov r11, qword [rcx + 0x28]
mov r10, r8
movaps xmmword [rax - 0x18], xmm6
mov rdi, rdx
test r11, r11
je 0x140024ec1
test r8, r8
je 0x140024ec1
xorps xmm0, xmm0
lea rdx, [rbp + 7]
xorps xmm1, xmm1
movdqu xmmword [rbp + 7], xmm0
movdqu xmmword [rbp + 0x17], xmm1
movdqu xmmword [rbp + 0x27], xmm0
movdqu xmmword [rbp + 0x37], xmm1
call fcn.1400250c0
xor ebx, ebx
test rax, rax
je 0x140024d16
cmp dword [0x140036010], 2
movups xmm0, xmmword [0x140030c50]
mov eax, dword [str._b_r_rJof]
movups xmm1, xmmword [0x140030c60]
mov dword [rbp - 0x21], eax
movzx eax, word [0x140030c7c]
movups xmmword [rbp - 0x49], xmm0
mov word [rbp - 0x1d], ax
movsd xmm0, qword [0x140030c70]
movsd qword [rbp - 0x29], xmm0
movups xmmword [rbp - 0x39], xmm1
jl 0x140024cc4
movdqa xmm0, xmmword [0x140030d90]
lea rcx, [rbp - 0x45]
movdqa xmm4, xmmword [0x140030cd0]
movdqa xmm3, xmmword [0x140030db0]
movdqa xmm5, xmmword [0x140030d50]
movdqa xmm6, xmmword [0x140030d70]
movdqa xmmword [rbp - 9], xmm0
mov edx, dword [rbp - 9]
nop dword [rax]
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm4
add ebx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movd dword [rcx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x28
jl 0x140024be0
cmp ebx, 0x2e
jge 0x140024cfd
movsxd rax, ebx
lea r8, [rbp - 0x49]
add r8, rax
nop
mov eax, 0x4d4873ed
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, bl
inc ebx
sub al, cl
add al, 0x39
xor byte [r8 - 1], al
cmp ebx, 0x2e
jl 0x140024cd0
lea rcx, [rbp - 0x49]
call fcn.1400021c0
mov rax, qword [rbp + 7]
mov qword [rdi], rax
mov rax, qword [rbp + 0xf]
jmp 0x140025095
cmp dword [0x140036010], 2
mov r8d, ebx
movups xmm0, xmmword [0x140030c80]
movups xmm1, xmmword [0x140030c90]
movups xmmword [rbp - 0x49], xmm0
movups xmm0, xmmword [0x140030ca0]
movups xmmword [rbp - 0x39], xmm1
movups xmmword [rbp - 0x29], xmm0
jl 0x140024e6f
movdqa xmm0, xmmword [0x140030d90]
lea rcx, [rbp - 0x45]
movdqa xmm4, xmmword [0x140030cd0]
mov edx, ebx
movdqa xmm3, xmmword [0x140030db0]
movdqa xmm5, xmmword [0x140030d50]
movdqa xmm6, xmmword [0x140030d70]
movdqa xmmword [rbp - 9], xmm0
mov r8d, dword [rbp - 9]
nop
movd xmm2, edx
lea eax, [rdx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm4
add edx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, r8d
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movd dword [rcx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, r8d
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp edx, 0x30
jl 0x140024d80
lea rcx, [rbp - 0x49]
call fcn.1400021c0
jmp 0x140025090
lea r9, [rbp - 0x49]
nop dword [rax]
nop word [rax + rax]
mov eax, 0x3521cfb3
lea r9, [r9 + 1]
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x35
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x39
xor byte [r9 - 1], al
cmp r8d, 0x30
jl 0x140024e80
lea rcx, [rbp - 0x49]
call fcn.1400021c0
jmp 0x140025090
movups xmm0, xmmword [0x140030c10]
movzx eax, word [0x140030c48]
xor ebx, ebx
cmp dword [0x140036010], 2
mov r8d, ebx
movups xmm1, xmmword [0x140030c20]
mov word [rbp - 0x11], ax
movzx eax, byte [0x140030c4a]
movups xmmword [rbp - 0x49], xmm0
mov byte [rbp - 0xf], al
movups xmm0, xmmword [0x140030c30]
movups xmmword [rbp - 0x39], xmm1
movups xmmword [rbp - 0x29], xmm0
movsd xmm0, qword [str.IPKI]
movsd qword [rbp - 0x19], xmm0
jl 0x140025039
movdqa xmm0, xmmword [0x140030d90]
lea rcx, [rbp - 0x45]
movdqa xmm4, xmmword [0x140030cd0]
movdqa xmm3, xmmword [0x140030db0]
movdqa xmm5, xmmword [0x140030d50]
movdqa xmm6, xmmword [0x140030d70]
movdqa xmmword [rbp - 9], xmm0
mov edx, dword [rbp - 9]
nop word [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm4
add r8d, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movd dword [rcx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x38
jl 0x140024f50
cmp r8d, 0x3b
jge 0x140025081
movsxd rax, r8d
lea r9, [rbp - 0x49]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4d4873ed
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x39
xor byte [r9 - 1], al
cmp r8d, 0x3b
jl 0x140025050
mov r8, r10
lea rcx, [rbp - 0x49]
mov rdx, r11
call fcn.1400021c0
xor eax, eax
mov qword [rdi], rbx
lea r11, [rsp + 0xc0]
mov qword [rdi + 8], rax
mov rbx, qword [r11 + 0x10]
mov rax, rdi
mov rdi, qword [r11 + 0x18]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret