Function at 0x1400221e0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x3a8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x320], 0xfffffffffffffffe
mov rbx, r9
mov r14, r8
mov rsi, rcx
mov rdi, qword [rdx]
mov qword [rbp + 0x298], rdx
mov r15, qword [rdx + 0x10]
xorps xmm0, xmm0
movaps xmmword [rbp + 0x280], xmm0
movaps xmmword [rbp + 0x270], xmm0
movaps xmmword [rbp + 0x260], xmm0
movaps xmmword [rbp + 0x250], xmm0
cmp r9, 0x80
jbe 0x1400222cf
lea rcx, [rbp + 0xb0]
call fcn.140046960
lea rcx, [rbp + 0xb0]
mov rdx, r14
mov r8, rbx
call fcn.140022810
lea rbx, [rbp - 0x60]
lea rdx, [rbp + 0xb0]
mov r8d, 0xd0
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbp + 0x180]
mov rdx, rbx
call fcn.140046a20
movups xmm0, xmmword [rbp + 0x180]
movups xmm1, xmmword [rbp + 0x190]
movups xmm2, xmmword [rbp + 0x1a0]
movups xmm3, xmmword [rbp + 0x1b0]
movaps xmmword [rbp + 0x250], xmm0
movaps xmmword [rbp + 0x260], xmm1
movaps xmmword [rbp + 0x270], xmm2
movaps xmmword [rbp + 0x280], xmm3
lea r14, [rbp + 0x250]
mov ebx, 0x40
lea rcx, [rbp + 0x180]
call fcn.140046960
movaps xmm0, xmmword [str.6666666666666666C:Userskabal.cargo_registry_srcindex.crates.io_6f17d22bba15001fhmac_sha512_1.1.5_srclib.rs]
movaps xmmword [rbp + 0x310], xmm0
movaps xmmword [rbp + 0x300], xmm0
movaps xmmword [rbp + 0x2f0], xmm0
movaps xmmword [rbp + 0x2e0], xmm0
movaps xmmword [rbp + 0x2d0], xmm0
movaps xmmword [rbp + 0x2c0], xmm0
movaps xmmword [rbp + 0x2b0], xmm0
movaps xmmword [rbp + 0x2a0], xmm0
test rbx, rbx
je 0x1400224e8
cmp rbx, 8
jae 0x140022330
xor eax, eax
jmp 0x1400224d0
cmp rbx, 0x20
jae 0x14002233d
xor eax, eax
jmp 0x14002249e
mov eax, ebx
movups xmm0, xmmword [r14]
movups xmm1, xmmword [r14 + 0x10]
xorps xmm0, xmmword [rbp + 0x2a0]
xorps xmm1, xmmword [rbp + 0x2b0]
and eax, 0xe0
movaps xmmword [rbp + 0x2a0], xmm0
movaps xmmword [rbp + 0x2b0], xmm1
cmp rax, 0x20
je 0x140022494
movups xmm0, xmmword [r14 + 0x20]
movups xmm1, xmmword [r14 + 0x30]
xorps xmm0, xmmword [rbp + 0x2c0]
xorps xmm1, xmmword [rbp + 0x2d0]
movaps xmmword [rbp + 0x2c0], xmm0
movaps xmmword [rbp + 0x2d0], xmm1
cmp eax, 0x40
je 0x140022494
movups xmm0, xmmword [r14 + 0x40]
movups xmm1, xmmword [r14 + 0x50]
xorps xmm0, xmmword [rbp + 0x2e0]
xorps xmm1, xmmword [rbp + 0x2f0]
movaps xmmword [rbp + 0x2e0], xmm0
movaps xmmword [rbp + 0x2f0], xmm1
cmp eax, 0x60
je 0x140022494
movups xmm0, xmmword [r14 + 0x60]
movups xmm1, xmmword [r14 + 0x70]
xorps xmm0, xmmword [rbp + 0x300]
xorps xmm1, xmmword [rbp + 0x310]
movaps xmmword [rbp + 0x300], xmm0
movaps xmmword [rbp + 0x310], xmm1
cmp eax, 0x80
je 0x140022494
movups xmm0, xmmword [r14 + 0x80]
movups xmm1, xmmword [r14 + 0x90]
xorps xmm0, xmmword [rbp + 0x320]
xorps xmm1, xmmword [rbp + 0x330]
movaps xmmword [rbp + 0x320], xmm0
movaps xmmword [rbp + 0x330], xmm1
cmp eax, 0xa0
je 0x140022494
movups xmm0, xmmword [r14 + 0xa0]
movups xmm1, xmmword [r14 + 0xb0]
xorps xmm0, xmmword [rbp + 0x340]
xorps xmm1, xmmword [rbp + 0x350]
movaps xmmword [rbp + 0x340], xmm0
movaps xmmword [rbp + 0x350], xmm1
cmp eax, 0xc0
je 0x140022494
movups xmm0, xmmword [r14 + 0xc0]
movups xmm1, xmmword [r14 + 0xd0]
xorps xmm0, xmmword [rbp + 0x360]
xorps xmm1, xmmword [rbp + 0x370]
movaps xmmword [rbp + 0x360], xmm0
movaps xmmword [rbp + 0x370], xmm1
cmp rbx, rax
je 0x1400224e8
test bl, 0x18
je 0x1400224d0
mov rcx, rax
mov eax, ebx
and eax, 0xf8
nop dword [rax + rax]
mov rdx, qword [r14 + rcx]
xor qword [rbp + rcx + 0x2a0], rdx
add rcx, 8
cmp rax, rcx
jne 0x1400224b0
cmp rbx, rax
je 0x1400224e8
nop word [rax + rax]
movzx ecx, byte [r14 + rax]
xor byte [rbp + rax + 0x2a0], cl
lea rcx, [rax + 1]
mov rax, rcx
cmp rbx, rcx
jne 0x1400224d0
lea rcx, [rbp + 0x180]
lea rdx, [rbp + 0x2a0]
mov r8d, 0x80
call fcn.140022810
lea rcx, [rbp + 0x180]
mov rdx, rdi
mov r8, r15
call fcn.140022810
lea rcx, [rbp + 0xb0]
call fcn.140046960
movaps xmm0, xmmword [0x140092bb0]
movaps xmmword [rbp + 0x310], xmm0
movaps xmmword [rbp + 0x300], xmm0
movaps xmmword [rbp + 0x2f0], xmm0
movaps xmmword [rbp + 0x2e0], xmm0
movaps xmmword [rbp + 0x2d0], xmm0
movaps xmmword [rbp + 0x2c0], xmm0
movaps xmmword [rbp + 0x2b0], xmm0
movaps xmmword [rbp + 0x2a0], xmm0
test rbx, rbx
je 0x140022728
cmp rbx, 8
jae 0x140022574
xor eax, eax
jmp 0x140022710
cmp rbx, 0x20
jae 0x140022581
xor eax, eax
jmp 0x1400226e2
mov eax, ebx
movups xmm0, xmmword [r14]
movups xmm1, xmmword [r14 + 0x10]
xorps xmm0, xmmword [rbp + 0x2a0]
xorps xmm1, xmmword [rbp + 0x2b0]
and eax, 0xe0
movaps xmmword [rbp + 0x2a0], xmm0
movaps xmmword [rbp + 0x2b0], xmm1
cmp rax, 0x20
je 0x1400226d8
movups xmm0, xmmword [r14 + 0x20]
movups xmm1, xmmword [r14 + 0x30]
xorps xmm0, xmmword [rbp + 0x2c0]
xorps xmm1, xmmword [rbp + 0x2d0]
movaps xmmword [rbp + 0x2c0], xmm0
movaps xmmword [rbp + 0x2d0], xmm1
cmp eax, 0x40
je 0x1400226d8
movups xmm0, xmmword [r14 + 0x40]
movups xmm1, xmmword [r14 + 0x50]
xorps xmm0, xmmword [rbp + 0x2e0]
xorps xmm1, xmmword [rbp + 0x2f0]
movaps xmmword [rbp + 0x2e0], xmm0
movaps xmmword [rbp + 0x2f0], xmm1
cmp eax, 0x60
je 0x1400226d8
movups xmm0, xmmword [r14 + 0x60]
movups xmm1, xmmword [r14 + 0x70]
xorps xmm0, xmmword [rbp + 0x300]
xorps xmm1, xmmword [rbp + 0x310]
movaps xmmword [rbp + 0x300], xmm0
movaps xmmword [rbp + 0x310], xmm1
cmp eax, 0x80
je 0x1400226d8
movups xmm0, xmmword [r14 + 0x80]
movups xmm1, xmmword [r14 + 0x90]
xorps xmm0, xmmword [rbp + 0x320]
xorps xmm1, xmmword [rbp + 0x330]
movaps xmmword [rbp + 0x320], xmm0
movaps xmmword [rbp + 0x330], xmm1
cmp eax, 0xa0
je 0x1400226d8
movups xmm0, xmmword [r14 + 0xa0]
movups xmm1, xmmword [r14 + 0xb0]
xorps xmm0, xmmword [rbp + 0x340]
xorps xmm1, xmmword [rbp + 0x350]
movaps xmmword [rbp + 0x340], xmm0
movaps xmmword [rbp + 0x350], xmm1
cmp eax, 0xc0
je 0x1400226d8
movups xmm0, xmmword [r14 + 0xc0]
movups xmm1, xmmword [r14 + 0xd0]
xorps xmm0, xmmword [rbp + 0x360]
xorps xmm1, xmmword [rbp + 0x370]
movaps xmmword [rbp + 0x360], xmm0
movaps xmmword [rbp + 0x370], xmm1
cmp rbx, rax
je 0x140022728
test bl, 0x18
je 0x140022710
mov rcx, rax
mov eax, ebx
and eax, 0xf8
nop dword [rax]
mov rdx, qword [r14 + rcx]
xor qword [rbp + rcx + 0x2a0], rdx
add rcx, 8
cmp rax, rcx
jne 0x1400226f0
cmp rbx, rax
je 0x140022728
nop word [rax + rax]
movzx ecx, byte [r14 + rax]
xor byte [rbp + rax + 0x2a0], cl
lea rcx, [rax + 1]
mov rax, rcx
cmp rbx, rcx
jne 0x140022710
lea rcx, [rbp + 0xb0]
lea rdx, [rbp + 0x2a0]
mov r8d, 0x80
call fcn.140022810
lea rbx, [rbp - 0x60]
lea rdx, [rbp + 0x180]
mov r8d, 0xd0
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbp + 0x70]
mov rdx, rbx
call fcn.140046a20
lea rcx, [rbp + 0xb0]
lea rdx, [rbp + 0x70]
mov r8d, 0x40
call fcn.140022810
lea rdx, [rbp + 0xb0]
mov r8d, 0xd0
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov rcx, rsi
mov rdx, rbx
call fcn.140046a20
mov rax, qword [rbp + 0x298]
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1400227ba
mov r8d, 1
mov rcx, rdi
call fcn.14000b300
mov rax, rsi
add rsp, 0x3a8
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret