Function at 0x140003730
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov r14, rcx
mov rdx, qword [rcx + 0x48]
mov rcx, qword [rcx + 0x58]
cmp rcx, rdx
ja 0x140003a0f
mov rsi, qword [r14 + 0x38]
mov rbx, qword [r14 + 0x60]
xorps xmm0, xmm0
movups xmmword [r14 + 0x58], xmm0
test rbx, rbx
je 0x140003a1d
mov rax, qword [r14 + 0x78]
mov r15, qword [r14 + 0x80]
mov r12, rax
sub r12, r15
jb 0x140003a37
mov rdx, qword [r14 + 0x70]
cmp rax, rdx
ja 0x140003a4b
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x40], rdx
movzx eax, byte [r14 + 0xc8]
mov rcx, rax
shl rcx, 4
cmp rax, 0xf
jae 0x140003a5c
mov rdx, qword [r14 + 0x68]
mov qword [rsp + 0x30], rdx
lea r13, [rbx + r15]
mov rdi, qword [r14 + 8]
mov rbp, qword [r14 + 0x18]
mov r9, qword [r14 + 0xb0]
lea r8, [r14 + rcx + 0xc9]
mov ecx, eax
mov qword [rsp + 0x20], rsi
mov rdx, rsi
call sym.rust_crypto_aesni_decrypt_block
mov rax, qword [r14 + 0xc0]
cmp rax, rbp
cmovb rbp, rax
cmp rbp, r12
cmovae rbp, r12
test rbp, rbp
je 0x140003938
mov rax, qword [r14 + 0xb0]
cmp rbp, 8
jae 0x14000381e
xor ecx, ecx
jmp 0x140003920
cmp rbp, 0x20
jae 0x14000382b
xor ecx, ecx
jmp 0x1400038e7
mov rcx, rbp
and rcx, 0xffffffffffffffe0
lea rdx, [rcx - 0x20]
mov r8, rdx
shr r8, 5
inc r8
test rdx, rdx
je 0x1400039fb
mov rsi, r8
and rsi, 0xfffffffffffffffe
mov r10, rbx
add rbx, r15
add rbx, 0x30
xor edx, edx
nop dword [rax]
movups xmm0, xmmword [rax + rdx]
movups xmm1, xmmword [rax + rdx + 0x10]
movups xmm2, xmmword [rdi + rdx]
xorps xmm2, xmm0
movups xmm0, xmmword [rdi + rdx + 0x10]
xorps xmm0, xmm1
movups xmmword [rbx + rdx - 0x30], xmm2
movups xmmword [rbx + rdx - 0x20], xmm0
movups xmm0, xmmword [rax + rdx + 0x20]
movups xmm1, xmmword [rax + rdx + 0x30]
movups xmm2, xmmword [rdi + rdx + 0x20]
xorps xmm2, xmm0
movups xmm0, xmmword [rdi + rdx + 0x30]
xorps xmm0, xmm1
movups xmmword [rbx + rdx - 0x10], xmm2
movups xmmword [rbx + rdx], xmm0
add rdx, 0x40
add rsi, 0xfffffffffffffffe
jne 0x140003860
test r8b, 1
je 0x1400038d9
movups xmm0, xmmword [rax + rdx]
movups xmm1, xmmword [rax + rdx + 0x10]
movups xmm2, xmmword [rdi + rdx]
xorps xmm2, xmm0
movups xmm0, xmmword [rdi + rdx + 0x10]
xorps xmm0, xmm1
movups xmmword [r13 + rdx], xmm2
movups xmmword [r13 + rdx + 0x10], xmm0
cmp rbp, rcx
mov rbx, r10
je 0x140003938
test bpl, 0x18
je 0x140003920
mov r8, rbx
mov rdx, rcx
mov rcx, rbp
and rcx, 0xfffffffffffffff8
nop word cs:[rax + rax]
mov rbx, qword [rdi + rdx]
xor rbx, qword [rax + rdx]
mov qword [r13 + rdx], rbx
add rdx, 8
cmp rcx, rdx
jne 0x140003900
cmp rbp, rcx
mov rbx, r8
je 0x140003938
nop
movzx edx, byte [rdi + rcx]
xor dl, byte [rax + rcx]
mov byte [r13 + rcx], dl
lea rdx, [rcx + 1]
mov rcx, rdx
cmp rbp, rdx
jne 0x140003920
mov r8, qword [r14 + 0x18]
mov r15, qword [r14 + 0x20]
mov rbp, qword [r14 + 0x30]
test r8, r8
je 0x14000396e
mov rdx, qword [rsp + 0x28]
mov rcx, rdx
sub rcx, r8
jb 0x140003a73
mov rax, qword [r14 + 8]
mov rdx, qword [rsp + 0x20]
add rdx, rcx
mov rcx, rax
call sym.memcpy
test rbp, rbp
je 0x140003990
mov rcx, r12
sub rcx, rbp
jb 0x140003a81
add r13, rcx
mov rcx, r15
mov rdx, r13
mov r8, rbp
call sym.memcpy
mov r8, qword [r14 + 0x88]
test r8, r8
je 0x1400039b4
cmp qword [r14 + 0x90], 0
je 0x1400039b4
mov rcx, qword [0x1400570e8]
xor edx, edx
call fcn.140042ef4
mov qword [r14 + 0x88], rbx
mov rax, qword [rsp + 0x30]
mov qword [r14 + 0x90], rax
mov rax, qword [rsp + 0x40]
mov qword [r14 + 0x98], rax
mov rax, qword [rsp + 0x38]
mov qword [r14 + 0xa0], rax
mov qword [r14 + 0xa8], 0
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r10, rbx
xor edx, edx
test r8b, 1
jne 0x1400038b5
jmp 0x1400038d9
lea r8, str._Users_AbelChe_.cargo_registry_src_github.com_1ecc6299db9ec823_rust_crypto_0.2.36_src_buffer.rs
call dbg.slice_end_index_len_fail
ud2
lea rcx, str.called__Option::unwrap____on_a__None__valueinternal_error:_entered_unreachable_code_rustc_69f9c33d71c871fc16ac445211281c6e7a340943library_alloc_srccollections_btree_navigate.rs
lea r8, str._Users_AbelChe_.cargo_registry_src_github.com_1ecc6299db9ec823_rust_crypto_0.2.36_src_blockmodes.rs
mov edx, 0x2b
call dbg.panic
ud2
lea r8, str._Users_AbelChe_.cargo_registry_src_github.com_1ecc6299db9ec823_rust_crypto_0.2.36_src_buffer.rs
mov rcx, r15
mov rdx, rax
call dbg.slice_index_order_fail
ud2
lea r8, str._Users_AbelChe_.cargo_registry_src_github.com_1ecc6299db9ec823_rust_crypto_0.2.36_src_buffer.rs
mov rcx, rax
call dbg.slice_end_index_len_fail
ud2
add rcx, 0x10
lea r8, [0x14004cdf0]
mov edx, 0xf0
call dbg.slice_end_index_len_fail
ud2
lea r8, str._Users_AbelChe_.cargo_registry_src_github.com_1ecc6299db9ec823_rust_crypto_0.2.36_src_blockmodes.rs
call dbg.slice_start_index_len_fail
ud2
lea r8, str._Users_AbelChe_.cargo_registry_src_github.com_1ecc6299db9ec823_rust_crypto_0.2.36_src_blockmodes.rs
mov rdx, r12
call dbg.slice_start_index_len_fail
ud2