Function at 0x140108510
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x68
mov r14, qword [rsp + 0xd8]
mov rax, qword [rsp + 0xf0]
lea r15d, [rdx + 7]
mov rbp, rcx
mov edi, r8d
mov qword [rsp + 0x40], r9
mov rsi, qword [rsp + 0xd0]
shr r15d, 3
test r14, r14
mov r13, qword [rsp + 0xe0]
mov r12, qword [rsp + 0xe8]
mov qword [rsp + 0x38], rax
mov ebx, r15d
mov qword [rcx], 0
je 0x1401085b0
test r13, r13
je 0x1401085b0
mov ecx, edi
call fcn.1400fd660
mov r10d, eax
lea rax, [rbx - 2]
lea rdx, [r10 + r10]
sub rax, rdx
cmp rax, rsi
jb 0x140108593
test r15d, r15d
jne 0x1401085c0
mov esi, 0x42
mov eax, esi
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
xor r13d, r13d
lea r14, [0x14027aa29]
jmp 0x140108574
mov rdx, rbx
mov ecx, 1
mov qword [rsp + 0x48], r10
call fcn.1400ebc80
test rax, rax
mov r15, rax
mov r10, qword [rsp + 0x48]
je 0x140108648
lea rax, [r10 + 1]
mov r9, r13
mov r8, r14
mov ecx, edi
mov qword [rsp + 0x50], r10
mov qword [rsp + 0x48], rax
add rax, r15
mov rdx, rax
mov qword [rsp + 0x58], rax
call fcn.1400fce50
mov rcx, rbx
mov rdx, qword [rsp + 0x40]
mov r8, rsi
sub rcx, rsi
mov byte [r15 + rcx - 1], 1
add rcx, r15
call sub.msvcrt.dll_memcpy
test r12, r12
mov r10, qword [rsp + 0x50]
je 0x1401087b1
cmp r10, qword [rsp + 0x38]
je 0x14010865d
mov rcx, r15
mov esi, 0x2d
call fcn.1400ebb20
jmp 0x140108598
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp fcn.14014d590
lea rsi, [r15 + 1]
mov r8, qword [rsp + 0x38]
mov rdx, r12
mov qword [rsp + 0x40], r10
mov rcx, rsi
call sub.msvcrt.dll_memcpy
mov r10, qword [rsp + 0x40]
lea r12, [rbx - 1]
mov r14, r10
mov qword [rsp + 0x38], r10
neg r14
sub r12, r10
mov rcx, r12
call fcn.1400eb9f0
test rax, rax
mov r13, rax
mov r10, qword [rsp + 0x38]
je 0x1401087d5
mov r8, rsi
mov dword [rsp + 0x20], edi
mov r9, r10
mov rdx, r12
mov rcx, rax
mov qword [rsp + 0x38], r10
call fcn.140107c90
test eax, eax
mov esi, eax
jne 0x14010879c
mov rsi, qword [rsp + 0x48]
lea rcx, [r13 + r14]
mov r10, qword [rsp + 0x38]
cmp rbx, rsi
mov rax, rsi
jbe 0x1401086f3
movzx edx, byte [rcx + rax - 1]
xor byte [r15 + rax], dl
add rax, 1
cmp rbx, rax
jne 0x1401086e1
mov rcx, r13
mov qword [rsp + 0x38], r10
call fcn.1400ebb20
mov r10, qword [rsp + 0x38]
mov rcx, r10
call fcn.1400eb9f0
test rax, rax
mov r13, rax
mov r10, qword [rsp + 0x38]
je 0x1401087d5
mov r8, qword [rsp + 0x58]
mov dword [rsp + 0x20], edi
mov r9, r12
mov rdx, r10
mov rcx, rax
call fcn.140107c90
test eax, eax
mov esi, eax
jne 0x14010879c
cmp qword [rsp + 0x48], 1
mov eax, 1
je 0x140108765
nop dword [rax + rax]
movzx edx, byte [r13 + rax - 1]
xor byte [r15 + rax], dl
add rax, 1
cmp qword [rsp + 0x48], rax
ja 0x140108750
mov rcx, r13
call fcn.1400ebb20
mov qword [rsp + 0x20], 0
mov r9, rbx
mov r8, r15
mov edx, 5
mov rcx, rbp
call fcn.14011e220
test eax, eax
mov esi, eax
je 0x1401087e9
mov rcx, r15
call fcn.1400ebb20
jmp 0x140108598
mov rcx, r13
call fcn.1400ebb20
mov rcx, r15
call fcn.1400ebb20
jmp 0x140108598
lea rsi, [r15 + 1]
mov rdx, r10
mov r8d, 1
mov qword [rsp + 0x38], r10
mov rcx, rsi
call fcn.140116430
mov r10, qword [rsp + 0x38]
jmp 0x14010867b
call fcn.14014d590
mov rcx, r15
mov esi, eax
call fcn.1400ebb20
jmp 0x140108598
mov ecx, 1
call fcn.1400ec010
test eax, eax
je 0x14010878f
mov rdx, qword [rbp]
lea rcx, str.OAEP_encoded_data
call fcn.1400ea6b0
jmp 0x14010878f