Function at 0x140139f20
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x290
mov rsi, rcx
movups xmm0, xmmword [rdx + 0x30]
movups xmm1, xmmword [rdx + 0x40]
movups xmm2, xmmword [rdx + 0x50]
movups xmm3, xmmword [rdx + 0x60]
movups xmmword [rcx + 0x30], xmm3
movups xmmword [rcx + 0x20], xmm2
movups xmmword [rcx + 0x10], xmm1
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rdx + 0x30]
movups xmm1, xmmword [rdx + 0x40]
movups xmm2, xmmword [rdx + 0x50]
movups xmm3, xmmword [rdx + 0x60]
movups xmmword [rcx + 0x50], xmm0
movups xmmword [rcx + 0x60], xmm1
movups xmmword [rcx + 0x70], xmm2
movups xmmword [rcx + 0x80], xmm3
mov qword [rcx + 0x40], 0
mov qword [rcx + 0x48], rdx
mov qword [rcx + 0x90], 0
mov qword [rcx + 0x98], rdx
mov rdi, qword [rdx + 0x10]
cmp rdi, r9
jae 0x14013a106
lea rax, [rdx + 0x30]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmm2, xmmword [rax + 0x20]
movups xmm3, xmmword [rax + 0x30]
movaps xmmword [rsp + 0x140], xmm3
movaps xmmword [rsp + 0x130], xmm2
movaps xmmword [rsp + 0x120], xmm1
movaps xmmword [rsp + 0x110], xmm0
xorps xmm0, xmm0
movups xmmword [rsp + 0x168], xmm0
movups xmmword [rsp + 0x178], xmm0
movups xmmword [rsp + 0x188], xmm0
movups xmmword [rsp + 0x198], xmm0
movups xmmword [rsp + 0x1a8], xmm0
movups xmmword [rsp + 0x1b8], xmm0
movups xmmword [rsp + 0x1c8], xmm0
movups xmmword [rsp + 0x1d8], xmm0
mov qword [rsp + 0x150], 0
mov qword [rsp + 0x158], rdx
mov qword [rsp + 0x160], 0
lea rbx, [rsp + 0x110]
mov rcx, rbx
mov rdx, r8
mov r8, r9
call fcn.140136060
lea rcx, [rsp + 0x30]
mov r8d, 0xd8
mov rdx, rbx
call sub.msvcrt.dll_memcpy
mov rax, qword [rsp + 0x78]
mov r9, qword [rax + 0x10]
movaps xmm0, xmmword [rsp + 0x150]
movaps xmmword [rsp + 0x230], xmm0
movaps xmm0, xmmword [rsp + 0x110]
movaps xmm1, xmmword [rsp + 0x120]
movaps xmm2, xmmword [rsp + 0x130]
movaps xmm3, xmmword [rsp + 0x140]
movaps xmmword [rsp + 0x220], xmm3
movaps xmmword [rsp + 0x210], xmm2
movaps xmmword [rsp + 0x200], xmm1
movaps xmmword [rsp + 0x1f0], xmm0
cmp r9, 0x81
jae 0x14013a41d
lea r8, [rsp + 0x88]
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x248]
lea rdx, [rsp + 0x1f0]
call fcn.1401362f0
mov rax, qword [rsp + 0x248]
mov r9, qword [rax]
cmp r9, 0x41
jae 0x14013a42b
lea r8, [rsp + 0x250]
movaps xmm0, xmmword [str.6666666666666666jjjjjjjjjjjjjjjj]
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
cmp rdi, 0x81
jae 0x14013a407
cmp rdi, r9
cmovb r9, rdi
test r9, r9
je 0x14013a275
cmp r9, 8
jae 0x14013a168
xor eax, eax
jmp 0x14013a260
cmp r9, 0x20
jae 0x14013a175
xor eax, eax
jmp 0x14013a22a
mov rax, r9
and rax, 0xffffffffffffffe0
lea rcx, [rax - 0x20]
mov rbx, rcx
shr rbx, 5
inc rbx
test rcx, rcx
je 0x14013a3b5
mov rdx, rbx
and rdx, 0xfffffffffffffffe
xor ecx, ecx
nop dword [rax]
movups xmm0, xmmword [r8 + rcx]
movups xmm1, xmmword [r8 + rcx + 0x10]
movups xmm2, xmmword [rsp + rcx + 0x30]
xorps xmm2, xmm0
movups xmm0, xmmword [rsp + rcx + 0x40]
xorps xmm0, xmm1
movups xmm1, xmmword [rsp + rcx + 0x50]
movups xmm3, xmmword [rsp + rcx + 0x60]
movups xmmword [rsp + rcx + 0x30], xmm2
movups xmmword [rsp + rcx + 0x40], xmm0
movups xmm0, xmmword [r8 + rcx + 0x20]
xorps xmm0, xmm1
movups xmm1, xmmword [r8 + rcx + 0x30]
xorps xmm1, xmm3
movups xmmword [rsp + rcx + 0x50], xmm0
movups xmmword [rsp + rcx + 0x60], xmm1
add rcx, 0x40
add rdx, 0xfffffffffffffffe
jne 0x14013a1a0
test bl, 1
je 0x14013a21f
movups xmm0, xmmword [r8 + rcx]
movups xmm1, xmmword [r8 + rcx + 0x10]
movups xmm2, xmmword [rsp + rcx + 0x30]
xorps xmm2, xmm0
movups xmm0, xmmword [rsp + rcx + 0x40]
xorps xmm0, xmm1
movups xmmword [rsp + rcx + 0x30], xmm2
movups xmmword [rsp + rcx + 0x40], xmm0
cmp r9, rax
je 0x14013a275
test r9b, 0x18
je 0x14013a260
mov rcx, rax
mov rax, r9
and rax, 0xfffffffffffffff8
nop word cs:[rax + rax]
mov rdx, qword [r8 + rcx]
xor qword [rsp + rcx + 0x30], rdx
add rcx, 8
cmp rax, rcx
jne 0x14013a240
cmp r9, rax
je 0x14013a275
nop word [rax + rax]
movzx ecx, byte [r8 + rax]
xor byte [rsp + rax + 0x30], cl
lea rcx, [rax + 1]
mov rax, rcx
cmp r9, rcx
jne 0x14013a260
lea rbx, [rsp + 0x30]
mov rcx, rsi
mov rdx, rbx
mov r8, rdi
call fcn.1401365d0
test rdi, rdi
je 0x14013a2a8
add rsi, 0x50
cmp rdi, 8
jb 0x14013a3d6
cmp rdi, 0x20
jae 0x14013a2d4
xor eax, eax
jmp 0x14013a37f
mov rax, qword [rsi + 0x98]
cmp qword [rax + 0x10], 0
jne 0x14013a3fb
lea rcx, [0x140289dd0]
lea r8, str.C:UsersUser.cargo_registry_srcgithub.com_1ecc6299db9ec823_ring_0.17.8_srcdigest.rs
mov edx, 0x19
call fcn.14002cb80
ud2
mov rax, rdi
and rax, 0xffffffffffffffe0
lea rcx, [rax - 0x20]
mov rbx, rcx
shr rbx, 5
inc rbx
test rcx, rcx
je 0x14013a3c5
mov rdx, rbx
and rdx, 0xfffffffffffffffe
xor ecx, ecx
movaps xmm0, xmmword [0x140220110]
nop word cs:[rax + rax]
movups xmm1, xmmword [rsp + rcx + 0x30]
movups xmm2, xmmword [rsp + rcx + 0x40]
movups xmm3, xmmword [rsp + rcx + 0x50]
movups xmm4, xmmword [rsp + rcx + 0x60]
xorps xmm1, xmm0
xorps xmm2, xmm0
movups xmmword [rsp + rcx + 0x30], xmm1
movups xmmword [rsp + rcx + 0x40], xmm2
xorps xmm3, xmm0
xorps xmm4, xmm0
movups xmmword [rsp + rcx + 0x50], xmm3
movups xmmword [rsp + rcx + 0x60], xmm4
add rcx, 0x40
add rdx, 0xfffffffffffffffe
jne 0x14013a310
test bl, 1
je 0x14013a374
movups xmm0, xmmword [rsp + rcx + 0x30]
movups xmm1, xmmword [rsp + rcx + 0x40]
movaps xmm2, xmmword [0x140220110]
xorps xmm0, xmm2
xorps xmm1, xmm2
movups xmmword [rsp + rcx + 0x30], xmm0
movups xmmword [rsp + rcx + 0x40], xmm1
cmp rdi, rax
je 0x14013a3eb
test dil, 0x18
je 0x14013a3ce
mov rcx, rdi
and rcx, 0xfffffffffffffff8
lea rbx, [rsp + rcx]
add rbx, 0x30
movabs rdx, 0x6a6a6a6a6a6a6a6a
nop dword [rax + rax]
xor qword [rsp + rax + 0x30], rdx
add rax, 8
cmp rcx, rax
jne 0x14013a3a0
cmp rdi, rcx
jne 0x14013a3d6
jmp 0x14013a3eb
xor ecx, ecx
test bl, 1
jne 0x14013a1fa
jmp 0x14013a21f
xor ecx, ecx
test bl, 1
jne 0x14013a353
jmp 0x14013a374
lea rbx, [rsp + rax]
add rbx, 0x30
lea rax, [rsp + rdi]
add rax, 0x30
nop
xor byte [rbx], 0x6a
inc rbx
cmp rbx, rax
jne 0x14013a3e0
lea rdx, [rsp + 0x30]
mov rcx, rsi
mov r8, rdi
call fcn.1401365d0
nop
add rsp, 0x290
pop rbx
pop rdi
pop rsi
ret
lea r8, str.C:UsersUser.cargo_registry_srcgithub.com_1ecc6299db9ec823_ring_0.17.8_srchmac.rs
mov edx, pe_nt_image_headers64
mov rcx, rdi
call fcn.14002c6f0
ud2
lea r8, str.C:UsersUser.cargo_registry_srcgithub.com_1ecc6299db9ec823_ring_0.17.8_srcdigest.rs
mov edx, pe_nt_image_headers64
jmp 0x14013a437
lea r8, str.C:UsersUser.cargo_registry_srcgithub.com_1ecc6299db9ec823_ring_0.17.8_srchmac.rs
mov edx, 0x40
mov rcx, r9
call fcn.14002c6f0
ud2