Function at 0x1401e6890
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x108
mov r12d, dword [rsp + 0x170]
mov rbp, qword [rsp + 0x190]
cmp qword [rsp + 0x188], 0
mov qword [rsp + 0x150], rcx
mov r14d, r9d
mov dword [rsp + 0x158], edx
mov qword [rsp + 0x160], r8
je 0x1401e70f8
mov rcx, qword [rsp + 0x188]
test rbp, rbp
cmove rbp, qword [rsp + 0x188]
call fcn.1400b8150
mov r13d, eax
mov eax, dword [rsp + 0x158]
test eax, eax
jle 0x1401e7203
test r14d, r14d
jle 0x1401e7203
cmp r14d, r12d
jg 0x1401e71df
lea eax, [r13 + 1]
mov dword [rsp + 0x58], eax
add eax, eax
cmp eax, r12d
jg 0x1401e71df
mov eax, r12d
lea rsi, str.crypto_rsa_rsa_oaep.c
mov r8d, 0x9d
sub eax, r13d
mov rdx, rsi
lea r15d, [rax - 1]
mov dword [rsp + 0x5c], eax
movsxd rax, r15d
mov rcx, rax
mov qword [rsp + 0x50], rax
call fcn.1400c4810
mov rbx, rax
movsxd rax, r12d
mov qword [rsp + 0x40], rax
test rbx, rbx
je 0x1401e7110
mov r8d, 0xa3
mov rdx, rsi
movsxd rcx, r12d
call fcn.1400c4810
mov rdi, rax
test rax, rax
je 0x1401e715e
movsxd rax, r12d
movsxd rcx, r14d
add rcx, qword [rsp + 0x160]
lea rsi, [rdi + rax]
mov rdx, rsi
mov r8d, r14d
lea eax, [r14 - 1]
sub rdx, 1
not r8d
and eax, r8d
sar eax, 0x1f
mov r8d, eax
add eax, 1
sub rcx, rax
sub r14d, eax
mov eax, esi
not r8d
sub eax, edx
and r8b, byte [rcx]
mov byte [rdx], r8b
cmp eax, r12d
jl 0x1401e69a0
sub r12d, 1
movzx r8d, r8b
mov qword [rsp + 0x20], rbp
mov r9d, r15d
mov rax, r12
mov edx, r13d
not rax
add rax, rsi
mov qword [rsp + 0x48], rax
lea eax, [r8 - 1]
not r8d
and eax, r8d
mov r14d, eax
mov dword [rsp + 0x70], eax
movsxd rax, r13d
mov qword [rsp + 0x60], rax
sub rax, r12
sar r14d, 0x1f
add rsi, rax
lea rax, [rsp + 0x80]
mov r8, rsi
mov rcx, rax
mov qword [rsp + 0x38], rax
call fcn.1401e6170
test eax, eax
jne 0x1401e6dc0
test r13d, r13d
jle 0x1401e6a9a
lea r8d, [r13 - 1]
mov edx, r13d
cmp r8d, 6
jbe 0x1401e6a67
mov rcx, qword [rsp + 0x40]
mov r9, qword [rsp + 0x38]
sub rcx, r12
lea r10, [rdi + rcx + 1]
sub r9, r10
cmp r9, 0xe
ja 0x1401e6f60
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x48]
mov r10, qword [rsp + 0x60]
mov rax, rcx
add rdx, 1
lea r8, [rcx + r10]
nop dword [rax]
movzx ecx, byte [rdx]
xor byte [rax], cl
add rax, 1
add rdx, 1
cmp r8, rax
jne 0x1401e6a88
mov qword [rsp + 0x20], rbp
mov r8, qword [rsp + 0x38]
mov r9d, r13d
mov edx, r15d
mov rcx, rbx
call fcn.1401e6170
mov r10d, eax
test eax, eax
jne 0x1401e6dc0
test r15d, r15d
jle 0x1401e7168
mov eax, dword [rsp + 0x5c]
lea ebp, [rax - 2]
cmp ebp, 6
jbe 0x1401e6af7
mov rdx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x60]
sub rdx, r12
add rdx, rax
mov rax, rbx
lea rcx, [rdi + rdx + 1]
sub rax, rcx
cmp rax, 0xe
ja 0x1401e6e40
mov ecx, r15d
xor eax, eax
nop dword [rax]
movzx edx, byte [rsi + rax]
xor byte [rbx + rax], dl
add rax, 1
cmp rcx, rax
jne 0x1401e6b00
mov rax, qword [rsp + 0x188]
xor r9d, r9d
mov dword [rsp + 0x5c], r10d
lea rsi, [rsp + 0xc0]
mov qword [rsp + 0x28], 0
movsxd rdx, dword [rsp + 0x180]
mov r8, rsi
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x178]
call fcn.1400a51c0
test eax, eax
je 0x1401e6dc0
mov rdi, qword [rsp + 0x60]
mov rdx, rsi
mov rcx, rbx
mov r8, rdi
call fcn.140142750
mov r10d, dword [rsp + 0x5c]
mov r9d, eax
sub eax, 1
not r9d
and r9d, eax
mov eax, dword [rsp + 0x70]
and r9d, eax
sar r9d, 0x1f
cmp r13d, r15d
jge 0x1401e71c9
mov rsi, rdi
xor r8d, r8d
nop dword [rax]
movzx edx, byte [rbx + rsi]
mov eax, edx
xor eax, 1
movzx eax, al
mov ecx, eax
sub eax, 1
not ecx
and ecx, eax
mov eax, r8d
sar ecx, 0x1f
not eax
and eax, ecx
or r8d, ecx
mov r11d, eax
not eax
and r11d, esi
and eax, r10d
add rsi, 1
or r11d, eax
mov eax, edx
sub edx, 1
not eax
mov r10d, r11d
and eax, edx
sar eax, 0x1f
or eax, r8d
and r9d, eax
cmp r15d, esi
jg 0x1401e6b98
lea edx, [r11 + 1]
mov eax, r15d
mov ecx, dword [rsp + 0x158]
sub eax, edx
mov edx, dword [rsp + 0x158]
xor ecx, eax
mov dword [rsp + 0x70], eax
sub edx, eax
xor edx, eax
or edx, ecx
xor edx, dword [rsp + 0x158]
sar edx, 0x1f
not edx
and edx, r8d
and edx, r9d
mov edi, edx
mov r10d, edx
mov r14d, edx
not edi
and r10d, 1
mov dword [rsp + 0x5c], edi
mov edi, r15d
mov ecx, dword [rsp + 0x158]
mov esi, 1
sub edi, r13d
sub edi, 1
xor ecx, edi
mov edx, edi
sub edx, dword [rsp + 0x158]
mov r12d, edi
xor edx, dword [rsp + 0x158]
sub r12d, eax
or edx, ecx
xor edx, edi
sar edx, 0x1f
mov ecx, edx
not edx
and ecx, edi
and edx, dword [rsp + 0x158]
or edx, ecx
cmp edi, 1
jle 0x1401e6d24
movsxd rcx, dword [rsp + 0x58]
mov r11, qword [rsp + 0x60]
mov dword [rsp + 0x74], r14d
mov ebp, 0xfffffffe
mov dword [rsp + 0x78], r10d
sub ebp, r13d
mov dword [rsp + 0x7c], edx
lea r13, [rbx + r11 + 2]
mov qword [rsp + 0x68], rcx
mov ecx, eax
nop dword [rax]
mov eax, esi
mov edx, r15d
and eax, r12d
sub edx, esi
mov r9d, eax
sub eax, 1
not r9d
and r9d, eax
sar r9d, 0x1f
mov r10d, r9d
not r10d
cmp dword [rsp + 0x58], edx
jge 0x1401e6d0e
mov rax, qword [rsp + 0x68]
lea r11d, [rbp + rdx]
movsxd r14, esi
movzx r10d, r10b
add r11, r13
or r9d, 0xffffff00
add rax, rbx
nop dword [rax]
movzx edx, byte [rax + r14]
movzx r8d, byte [rax]
add rax, 1
and edx, r10d
and r8d, r9d
or edx, r8d
mov byte [rax - 1], dl
cmp r11, rax
jne 0x1401e6cf0
add esi, esi
cmp edi, esi
jg 0x1401e6ca8
mov r14d, dword [rsp + 0x74]
mov r10d, dword [rsp + 0x78]
mov eax, ecx
mov edx, dword [rsp + 0x7c]
test edx, edx
jle 0x1401e6d84
mov rdi, qword [rsp + 0x60]
mov r9d, eax
mov esi, edx
xor ecx, ecx
mov r8, qword [rsp + 0x150]
neg r9d
lea r11, [rbx + rdi]
nop dword [rax + rax]
mov edi, r9d
mov edx, eax
add r9d, 1
xor edx, ecx
xor edi, eax
or edx, edi
movzx edi, byte [r11 + rcx + 1]
xor edx, ecx
sar edx, 0x1f
and edx, r14d
movzx edx, dl
mov ebp, edx
not edx
and edi, ebp
movzx ebp, byte [r8 + rcx]
and edx, ebp
or edx, edi
mov byte [r8 + rcx], dl
add rcx, 1
cmp rsi, rcx
jne 0x1401e6d48
mov r8d, 0x79
mov edx, 0x99
mov ecx, 4
mov dword [rsp + 0x20], 0x106
lea r9, str.crypto_rsa_rsa_oaep.c
mov dword [rsp + 0x58], r10d
call fcn.1400a0f90
mov ecx, dword [rsp + 0x58]
call fcn.1400a34e0
jmp 0x1401e6dd1
mov eax, r14d
mov dword [rsp + 0x70], 0xffffffff
not eax
mov dword [rsp + 0x5c], eax
mov rcx, qword [rsp + 0x38]
mov edx, 0x40
call fcn.1401426f0
mov rdx, qword [rsp + 0x50]
mov rcx, rbx
mov r9d, 0x10b
lea r8, str.crypto_rsa_rsa_oaep.c
call fcn.1400c4c30
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov r9d, 0x10c
lea r8, str.crypto_rsa_rsa_oaep.c
call fcn.1400c4c30
mov ebx, dword [rsp + 0x70]
mov eax, r14d
mov edx, dword [rsp + 0x5c]
and eax, ebx
or eax, edx
add rsp, 0x108
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
cmp ebp, 0xe
jbe 0x1401e7215
mov ecx, r15d
lea r8, [rdi + rdx]
xor eax, eax
shr ecx, 4
shl rcx, 4
nop dword [rax]
movdqu xmm0, xmmword [r8 + rax]
movdqu xmm2, xmmword [rbx + rax]
pxor xmm0, xmm2
movups xmmword [rbx + rax], xmm0
add rax, 0x10
cmp rax, rcx
jne 0x1401e6e60
mov eax, r15d
and eax, 0xfffffff0
mov ecx, eax
test r15b, 0xf
je 0x1401e6b10
mov r9d, dword [rsp + 0x5c]
sub r9d, eax
lea r8d, [r9 - 1]
sub r9d, 2
cmp r9d, 6
jbe 0x1401e6ed0
lea r9, [rbx + rax]
add rax, rdi
movq xmm0, qword [rax + rdx]
movq xmm1, qword [r9]
mov eax, r8d
and eax, 0xfffffff8
pxor xmm0, xmm1
add ecx, eax
and r8d, 7
movq qword [r9], xmm0
je 0x1401e6b10
movsxd rax, ecx
movzx edx, byte [rsi + rax]
xor byte [rbx + rax], dl
lea eax, [rcx + 1]
cmp r15d, eax
jle 0x1401e6b10
cdqe
movzx edx, byte [rsi + rax]
xor byte [rbx + rax], dl
lea eax, [rcx + 2]
cmp eax, r15d
jge 0x1401e6b10
cdqe
movzx edx, byte [rsi + rax]
xor byte [rbx + rax], dl
lea eax, [rcx + 3]
cmp r15d, eax
jle 0x1401e6b10
cdqe
movzx edx, byte [rsi + rax]
xor byte [rbx + rax], dl
lea eax, [rcx + 4]
cmp r15d, eax
jle 0x1401e6b10
cdqe
movzx edx, byte [rsi + rax]
xor byte [rbx + rax], dl
lea eax, [rcx + 5]
cmp r15d, eax
jle 0x1401e6b10
cdqe
movzx edx, byte [rsi + rax]
xor byte [rbx + rax], dl
lea eax, [rcx + 6]
cmp r15d, eax
jle 0x1401e6b10
cdqe
movzx edx, byte [rsi + rax]
xor byte [rbx + rax], dl
jmp 0x1401e6b10
cmp r8d, 0xe
jbe 0x1401e720d
lea rax, [rdi + rcx]
shr edx, 4
movdqu xmm0, xmmword [rax]
pxor xmm0, xmmword [rsp + 0x80]
movups xmmword [rsp + 0x80], xmm0
cmp edx, 1
je 0x1401e6fd7
movdqu xmm0, xmmword [rax + 0x10]
pxor xmm0, xmmword [rsp + 0x90]
movups xmmword [rsp + 0x90], xmm0
cmp edx, 2
je 0x1401e6fd7
movdqu xmm0, xmmword [rax + 0x20]
pxor xmm0, xmmword [rsp + 0xa0]
movups xmmword [rsp + 0xa0], xmm0
cmp edx, 3
je 0x1401e6fd7
movdqu xmm0, xmmword [rax + 0x30]
pxor xmm0, xmmword [rsp + 0xb0]
movups xmmword [rsp + 0xb0], xmm0
mov eax, r13d
and eax, 0xfffffff0
mov r8d, eax
cmp eax, r13d
je 0x1401e6a9a
mov edx, r13d
sub edx, eax
lea r9d, [rdx - 1]
cmp r9d, 6
jbe 0x1401e7028
mov r11, qword [rsp + 0x38]
lea r9, [r11 + r8]
add r8, rdi
movq xmm1, qword [r8 + rcx]
movq xmm0, qword [r9]
mov ecx, edx
and ecx, 0xfffffff8
pxor xmm0, xmm1
add eax, ecx
and edx, 7
movq qword [r9], xmm0
je 0x1401e6a9a
mov r11, qword [rsp + 0x48]
lea r8d, [rax + 1]
movsxd rdx, eax
movsxd rcx, r8d
movzx r9d, byte [r11 + rcx]
xor byte [rsp + rdx + 0x80], r9b
cmp r13d, r8d
jle 0x1401e6a9a
lea r8d, [rax + 2]
movsxd rdx, r8d
movzx r9d, byte [r11 + rdx]
xor byte [rsp + rcx + 0x80], r9b
cmp r13d, r8d
jle 0x1401e6a9a
lea r8d, [rax + 3]
movsxd rcx, r8d
movzx r9d, byte [r11 + rcx]
xor byte [rsp + rdx + 0x80], r9b
cmp r13d, r8d
jle 0x1401e6a9a
lea r8d, [rax + 4]
movsxd rdx, r8d
movzx r9d, byte [r11 + rdx]
xor byte [rsp + rcx + 0x80], r9b
cmp r13d, r8d
jle 0x1401e6a9a
lea r8d, [rax + 5]
movsxd rcx, r8d
movzx r9d, byte [r11 + rcx]
xor byte [rsp + rdx + 0x80], r9b
cmp r8d, r13d
jge 0x1401e6a9a
lea r8d, [rax + 6]
movsxd rdx, r8d
movzx r9d, byte [r11 + rdx]
xor byte [rsp + rcx + 0x80], r9b
cmp r13d, r8d
jle 0x1401e6a9a
add eax, 7
cdqe
movzx eax, byte [r11 + rax]
xor byte [rsp + rdx + 0x80], al
jmp 0x1401e6a9a
call fcn.1400b8fb0
mov qword [rsp + 0x188], rax
jmp 0x1401e68dc
mov dword [rsp + 0x20], 0x9f
mov r9, rsi
mov edx, 0x99
mov ecx, 4
xor r14d, r14d
mov r8d, 0x41
call fcn.1400a0f90
lea rax, [rsp + 0x80]
mov dword [rsp + 0x5c], 0xffffffff
mov dword [rsp + 0x70], 0xffffffff
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x38], rax
jmp 0x1401e6dd1
mov dword [rsp + 0x20], 0xa5
jmp 0x1401e7118
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x188]
lea rsi, [rsp + 0xc0]
xor r9d, r9d
mov qword [rsp + 0x28], 0
movsxd rdx, dword [rsp + 0x180]
mov r8, rsi
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x178]
call fcn.1400a51c0
test eax, eax
je 0x1401e6dc0
mov r8, qword [rsp + 0x60]
mov rdx, rsi
mov rcx, rbx
call fcn.140142750
mov eax, dword [rsp + 0x5c]
mov r10d, dword [rsp + 0x70]
lea ebp, [rax - 2]
mov dword [rsp + 0x70], ebp
mov eax, ebp
xor r14d, r14d
mov dword [rsp + 0x5c], 0xffffffff
jmp 0x1401e6c2d
mov r8d, 0x79
mov edx, 0x99
mov ecx, 4
mov dword [rsp + 0x20], 0x97
lea r9, str.crypto_rsa_rsa_oaep.c
call fcn.1400a0f90
mov eax, 0xffffffff
jmp 0x1401e6e25
xor r8d, r8d
jmp 0x1401e6ff8
mov r8d, r15d
xor ecx, ecx
xor eax, eax
jmp 0x1401e6ea4