Function at 0x140108400
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 0x1401084a0
test r13, r13
je 0x1401084a0
mov ecx, edi
call fcn.1400fd550
mov r10d, eax
lea rax, [rbx - 2]
lea rdx, [r10 + r10]
sub rax, rdx
cmp rax, rsi
jb 0x140108483
test r15d, r15d
jne 0x1401084b0
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, [0x1402799c9]
jmp 0x140108464
mov rdx, rbx
mov ecx, 1
mov qword [rsp + 0x48], r10
call fcn.1400ebb70
test rax, rax
mov r15, rax
mov r10, qword [rsp + 0x48]
je 0x140108538
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.1400fcd40
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 0x1401086a1
cmp r10, qword [rsp + 0x38]
je 0x14010854d
mov rcx, r15
mov esi, 0x2d
call fcn.1400eba10
jmp 0x140108488
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp fcn.14014d490
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.1400eb8e0
test rax, rax
mov r13, rax
mov r10, qword [rsp + 0x38]
je 0x1401086c5
mov r8, rsi
mov dword [rsp + 0x20], edi
mov r9, r10
mov rdx, r12
mov rcx, rax
mov qword [rsp + 0x38], r10
call fcn.140107b80
test eax, eax
mov esi, eax
jne 0x14010868c
mov rsi, qword [rsp + 0x48]
lea rcx, [r13 + r14]
mov r10, qword [rsp + 0x38]
cmp rbx, rsi
mov rax, rsi
jbe 0x1401085e3
movzx edx, byte [rcx + rax - 1]
xor byte [r15 + rax], dl
add rax, 1
cmp rbx, rax
jne 0x1401085d1
mov rcx, r13
mov qword [rsp + 0x38], r10
call fcn.1400eba10
mov r10, qword [rsp + 0x38]
mov rcx, r10
call fcn.1400eb8e0
test rax, rax
mov r13, rax
mov r10, qword [rsp + 0x38]
je 0x1401086c5
mov r8, qword [rsp + 0x58]
mov dword [rsp + 0x20], edi
mov r9, r12
mov rdx, r10
mov rcx, rax
call fcn.140107b80
test eax, eax
mov esi, eax
jne 0x14010868c
cmp qword [rsp + 0x48], 1
mov eax, 1
je 0x140108655
nop dword [rax + rax]
movzx edx, byte [r13 + rax - 1]
xor byte [r15 + rax], dl
add rax, 1
cmp qword [rsp + 0x48], rax
ja 0x140108640
mov rcx, r13
call fcn.1400eba10
mov qword [rsp + 0x20], 0
mov r9, rbx
mov r8, r15
mov edx, 5
mov rcx, rbp
call fcn.14011e110
test eax, eax
mov esi, eax
je 0x1401086d9
mov rcx, r15
call fcn.1400eba10
jmp 0x140108488
mov rcx, r13
call fcn.1400eba10
mov rcx, r15
call fcn.1400eba10
jmp 0x140108488
lea rsi, [r15 + 1]
mov rdx, r10
mov r8d, 1
mov qword [rsp + 0x38], r10
mov rcx, rsi
call fcn.140116320
mov r10, qword [rsp + 0x38]
jmp 0x14010856b
call fcn.14014d490
mov rcx, r15
mov esi, eax
call fcn.1400eba10
jmp 0x140108488
mov ecx, 1
call fcn.1400ebf00
test eax, eax
je 0x14010867f
mov rdx, qword [rbp]
lea rcx, str.OAEP_encoded_data
call fcn.1400ea5a0
jmp 0x14010867f