Function at 0x140117070
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x2b8
movaps xmmword [rsp + 0x2a0], xmm6
mov qword [rsp + 0x48], r8
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x30], rcx
mov rax, qword [rcx + 0x10]
mov qword [rsp + 0x38], rax
test rax, rax
je 0x140117399
mov r15, qword [rsp + 0x320]
test r15, r15
je 0x14011732c
mov rsi, r9
mov rax, qword [rsp + 0x30]
lea rdi, [rax + 0x30]
lea rbx, [rsp + 0x1d0]
xor r13d, r13d
xorps xmm6, xmm6
lea r14, [rsp + 0x1c8]
jmp 0x140117102
add rsi, rbp
sub r15, rbp
inc r13
test r15, r15
je 0x14011732c
mov rbp, qword [rsp + 0x38]
cmp r15, rbp
cmovb rbp, r15
movups xmm0, xmmword [rdi]
movups xmm1, xmmword [rdi + 0x10]
movups xmm2, xmmword [rdi + 0x20]
movups xmm3, xmmword [rdi + 0x30]
movups xmmword [rbx + 0x30], xmm3
movups xmmword [rbx + 0x20], xmm2
movups xmmword [rbx + 0x10], xmm1
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0xb8], xmm6
movups xmmword [rbx + 0xa8], xmm6
movups xmmword [rbx + 0x98], xmm6
movups xmmword [rbx + 0x88], xmm6
movups xmmword [rbx + 0x78], xmm6
movups xmmword [rbx + 0x68], xmm6
movups xmmword [rbx + 0x58], xmm6
movups xmmword [rbx + 0x48], xmm6
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x1c8], rax
mov qword [rsp + 0x210], 0
mov qword [rsp + 0x298], 0
mov rcx, r14
mov rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x48]
call fcn.1401175a0
movabs rax, 0x100000000
cmp r13, rax
je 0x140117348
mov eax, r13d
bswap eax
mov dword [rsp + 0xf0], eax
mov r8d, 4
mov rcx, r14
lea r12, [rsp + 0xf0]
mov rdx, r12
call fcn.1401175a0
mov r8d, 0xd8
mov rcx, r12
mov rdx, r14
call sub.msvcrt.dll_memcpy
mov rax, qword [rsp + 0xf0]
mov r9, qword [rax + 0x20]
movups xmm0, xmmword [rsp + 0x208]
movaps xmmword [rsp + 0x90], xmm0
movups xmm0, xmmword [rsp + 0x1c8]
movups xmm1, xmmword [rsp + 0x1d8]
movups xmm2, xmmword [rsp + 0x1e8]
movups xmm3, xmmword [rsp + 0x1f8]
movaps xmmword [rsp + 0x80], xmm3
movaps xmmword [rsp + 0x70], xmm2
movaps xmmword [rsp + 0x60], xmm1
movaps xmmword [rsp + 0x50], xmm0
cmp r9, 0x80
ja 0x140117374
mov rax, qword [rsp + 0x1c0]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0xa8]
lea rdx, [rsp + 0x50]
lea r8, [rsp + 0x140]
call fcn.140117900
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rax + 0x10]
cmp rcx, 0x41
jae 0x140117388
test rcx, rcx
je 0x1401170f0
cmp rbp, rcx
cmovb rcx, rbp
cmp rcx, 1
mov rax, rcx
adc rax, 0
cmp rcx, 8
jae 0x1401172a0
xor ecx, ecx
jmp 0x140117310
cmp rcx, 0x10
jae 0x1401172cf
xor ecx, ecx
mov rdx, rcx
mov ecx, eax
and ecx, 0x78
mov r8, qword [rsp + rdx + 0xb0]
xor qword [rsi + rdx], r8
add rdx, 8
cmp rcx, rdx
jne 0x1401172b0
cmp rax, rcx
jne 0x140117310
jmp 0x1401170f0
mov ecx, eax
and ecx, 0x70
xor edx, edx
nop word cs:[rax + rax]
movups xmm0, xmmword [rsp + rdx + 0xb0]
movups xmm1, xmmword [rsi + rdx]
xorps xmm1, xmm0
movups xmmword [rsi + rdx], xmm1
add rdx, 0x10
cmp rcx, rdx
jne 0x1401172e0
cmp rax, rcx
je 0x1401170f0
test al, 8
jne 0x1401172a8
nop dword [rax]
movzx edx, byte [rsp + rcx + 0xb0]
xor byte [rsi + rcx], dl
lea rdx, [rcx + 1]
mov rcx, rdx
cmp rax, rdx
jne 0x140117310
jmp 0x1401170f0
movaps xmm6, xmmword [rsp + 0x2a0]
add rsp, 0x2b8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rax, str.C:UsersUser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_ring_0.17.8_src_rsapadding.rs
mov qword [rsp + 0x20], rax
lea rcx, str.called__Result::unwrap____on_an__Err__value
lea r9, [0x140267168]
lea r8, [rsp + 0xf0]
mov edx, 0x2b
call fcn.14002b190
lea r8, [0x140268010]
mov edx, pe_nt_image_headers64
mov rcx, r9
call fcn.140029060
lea r8, [0x14026b868]
mov edx, 0x40
call fcn.140029060
lea rax, str.chunk_size_must_be_non_zero
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0xf8], 1
mov qword [rsp + 0x100], 8
xorps xmm0, xmm0
movups xmmword [rsp + 0x108], xmm0
lea rdx, str.C:UsersUser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_ring_0.17.8_src_rsapadding.rs
lea rcx, [rsp + 0xf0]
call fcn.140028690
int3