Function at 0x14016f070
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0xb8
call fcn.1401cc3c0
sub rsp, rax
mov rax, qword [0x1402deed0]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rbx, qword [rsp + 0x120]
xor edi, edi
mov esi, edi
mov qword [rsp + 0x48], r8
mov r13, r9
mov qword [rsp + 0x50], rdx
mov r14, r8
mov rbp, rcx
call fcn.1400d8d30
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14016f42c
test r13, r13
mov rcx, r14
cmove r13, r14
call fcn.1400e1350
mov dword [rsp + 0x38], eax
mov r14d, eax
test eax, eax
js 0x14016f161
mov r15d, dword [rsp + 0x128]
cmp r15d, 0xffffffff
jne 0x14016f144
mov r15d, eax
mov rcx, qword [rbp + 0x18]
call fcn.1400d0c10
mov rcx, rbp
lea r12d, [rax - 1]
and r12d, 7
call fcn.1400d8490
mov ecx, r12d
mov edx, 0xff
shl edx, cl
mov r8d, eax
test byte [rbx], dl
je 0x14016f16b
xor r9d, r9d
mov dword [rsp + 0x20], edi
lea edx, [r9 + 0x7e]
lea ecx, [rdx - 0x7a]
lea r8d, [rdx + 7]
call fcn.1400ce4d0
mov r14, qword [rsp + 0x30]
jmp 0x14016f42f
cmp r15d, 0xfffffffd
jge 0x14016f0f9
xor r9d, r9d
mov dword [rsp + 0x20], edi
lea edx, [r9 + 0x7e]
lea ecx, [rdx - 0x7a]
lea r8d, [rdx + 0xa]
call fcn.1400ce4d0
mov r14, qword [rsp + 0x30]
jmp 0x14016f42f
test r12d, r12d
jne 0x14016f176
inc rbx
dec r8d
lea eax, [r14 + 2]
cmp r8d, eax
jge 0x14016f1a0
xor r9d, r9d
mov dword [rsp + 0x20], edi
lea edx, [r9 + 0x7e]
lea ecx, [rdx - 0x7a]
lea r8d, [r9 + 0x6d]
call fcn.1400ce4d0
mov r14, qword [rsp + 0x30]
jmp 0x14016f42f
mov ebp, r8d
sub ebp, r14d
cmp r15d, 0xfffffffd
jne 0x14016f1b2
lea r15d, [rbp - 2]
jmp 0x14016f1ba
lea eax, [rbp - 2]
cmp r15d, eax
jg 0x14016f17f
lea eax, [r8 - 1]
movsxd rcx, eax
cmp byte [rcx + rbx], 0xbc
je 0x14016f1e8
xor r9d, r9d
mov dword [rsp + 0x20], edi
lea edx, [r9 + 0x7e]
lea ecx, [rdx - 0x7a]
lea r8d, [rdx + 8]
call fcn.1400ce4d0
mov r14, qword [rsp + 0x30]
jmp 0x14016f42f
dec ebp
lea rdx, str.crypto_rsa_rsa_pss.c
movsxd r14, ebp
mov r8d, 0x5d
mov rcx, r14
lea rax, [r14 + rbx]
mov qword [rsp + 0x40], rax
call fcn.1400d70b0
mov rsi, rax
test rax, rax
jne 0x14016f233
xor r9d, r9d
mov dword [rsp + 0x20], edi
lea edx, [rax + 0x7e]
lea ecx, [rax + 4]
lea r8d, [rax + 0x41]
call fcn.1400ce4d0
mov r14, qword [rsp + 0x30]
jmp 0x14016f42f
mov r8, qword [rsp + 0x40]
mov edx, ebp
mov qword [rsp + 0x20], r13
mov rcx, rsi
movsxd r13, dword [rsp + 0x38]
mov r9d, r13d
call fcn.140136160
test eax, eax
js 0x14016f161
mov edx, edi
test ebp, ebp
jle 0x14016f2e8
cmp ebp, 0x20
jb 0x14016f2e8
lea eax, [rbp - 1]
movsxd rcx, eax
lea rax, [rcx + rbx]
lea r8, [rcx + rsi]
cmp rsi, rax
ja 0x14016f282
cmp r8, rbx
jae 0x14016f2e8
mov ecx, ebp
and ecx, 0x8000001f
jge 0x14016f293
dec ecx
or ecx, 0xffffffe0
inc ecx
mov eax, ebp
mov r8, rbx
sub eax, ecx
sub r8, rsi
mov r9, rsi
movsxd r10, eax
neg r9
mov rcx, rsi
nop dword [rax]
movdqu xmm0, xmmword [rcx]
add edx, 0x20
movdqu xmm1, xmmword [r8 + rcx]
lea rcx, [rcx + 0x20]
lea rax, [r9 + rcx]
pxor xmm1, xmm0
movdqu xmmword [rcx - 0x20], xmm1
movdqu xmm1, xmmword [r8 + rcx - 0x10]
movdqu xmm0, xmmword [rcx - 0x10]
pxor xmm1, xmm0
movdqu xmmword [rcx - 0x10], xmm1
cmp rax, r10
jl 0x14016f2b0
movsxd rax, edx
cmp rax, r14
jge 0x14016f310
sub rbx, rsi
lea rcx, [rax + rsi]
sub r14, rax
nop word [rax + rax]
movzx eax, byte [rcx + rbx]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub r14, 1
jne 0x14016f300
test r12d, r12d
je 0x14016f326
mov ecx, 8
mov eax, 0xff
sub ecx, r12d
sar eax, cl
and byte [rsi], al
mov ebx, edi
cmp byte [rsi], bl
jne 0x14016f340
lea ecx, [rbp - 1]
mov rax, rsi
cmp ebx, ecx
jge 0x14016f340
inc rax
inc ebx
cmp byte [rax], dil
je 0x14016f332
movsxd rax, ebx
inc ebx
cmp byte [rax + rsi], 1
je 0x14016f36c
xor r9d, r9d
mov dword [rsp + 0x20], edi
lea edx, [r9 + 0x7e]
lea ecx, [rdx - 0x7a]
lea r8d, [rdx + 9]
call fcn.1400ce4d0
mov r14, qword [rsp + 0x30]
jmp 0x14016f42f
cmp r15d, 0xfffffffe
je 0x14016f37f
mov eax, ebp
sub eax, ebx
cmp eax, r15d
jne 0x14016f14a
mov r14, qword [rsp + 0x30]
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rcx, r14
call fcn.1400d8870
test eax, eax
je 0x14016f42f
mov r8d, 8
lea rdx, [0x14023b970]
mov rcx, r14
call fcn.1400d8a70
test eax, eax
je 0x14016f42f
mov rdx, qword [rsp + 0x50]
mov r8, r13
mov rcx, r14
call fcn.1400d8a70
test eax, eax
je 0x14016f42f
sub ebp, ebx
je 0x14016f3e2
movsxd rdx, ebx
mov rcx, r14
add rdx, rsi
movsxd r8, ebp
call fcn.1400d8a70
test eax, eax
je 0x14016f42f
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, r14
call fcn.1400d8790
test eax, eax
je 0x14016f42f
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x60]
mov r8, r13
call fcn.1401cd4d0
test eax, eax
je 0x14016f425
xor r9d, r9d
mov dword [rsp + 0x20], edi
lea edx, [r9 + 0x7e]
lea ecx, [rdx - 0x7a]
lea r8d, [r9 + 0x68]
call fcn.1400ce4d0
jmp 0x14016f42f
mov edi, 1
jmp 0x14016f42f
mov r14, rax
mov r8d, 0x83
lea rdx, str.crypto_rsa_rsa_pss.c
mov rcx, rsi
call fcn.1400d7100
mov rcx, r14
call fcn.1400d8cf0
mov eax, edi
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1401cbe50
add rsp, 0xb8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret