Function at 0x1400c5830
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x18], r8
push rbp
push rsi
push r13
push r14
push r15
mov eax, 0x70
call fcn.1400d0b90
sub rsp, rax
mov rax, qword [rsp + 0xc0]
xor ebx, ebx
mov r13, rcx
test rax, rax
mov rcx, r9
mov r14, r9
cmove rax, r9
mov rbp, rdx
mov rsi, rbx
mov qword [rsp + 0xc0], rax
call fcn.14008e5e0
movsxd r15, eax
test eax, eax
js 0x1400c5b2c
mov qword [rsp + 0xa0], rdi
mov edi, dword [rsp + 0xc8]
cmp edi, 0xffffffff
jne 0x1400c5938
mov edi, r15d
mov rcx, qword [r13 + 0x18]
mov qword [rsp + 0xa8], r12
call fcn.14006fe00
mov rcx, r13
lea r12d, [rax - 1]
and r12d, 7
mov dword [rsp + 0x30], r12d
call fcn.14006cde0
mov r13d, eax
test r12d, r12d
jne 0x1400c58d9
mov byte [rbp], bl
inc rbp
dec r13d
cmp edi, 0xfffffffe
jne 0x1400c5971
mov edi, r13d
sub edi, r15d
sub edi, 2
test edi, edi
jle 0x1400c59da
lea rdx, [0x1401b3d60]
mov r8d, 0xf2
mov ecx, edi
call fcn.140075470
mov rsi, rax
test rax, rax
jne 0x1400c59c8
lea r9, str..crypto_rsa_rsa_pss.c
lea ecx, [rax + 4]
lea r8d, [rax + 0x41]
mov edx, 0x94
mov dword [rsp + 0x20], 0xf5
call fcn.14006e0e0
jmp 0x1400c5b18
cmp edi, 0xfffffffe
jne 0x1400c5942
jmp 0x1400c58a2
cmp edi, 0xfffffffe
jge 0x1400c58a2
mov edx, 0x94
lea r9, [0x1401b3d30]
mov ecx, 4
lea r8d, [rdx - 0xc]
mov dword [rsp + 0x20], 0xdc
call fcn.14006e0e0
mov eax, ebx
jmp 0x1400c59ab
lea eax, [r15 + rdi + 2]
cmp r13d, eax
jge 0x1400c58eb
mov edx, 0x94
lea r9, [0x1401b3d48]
mov ecx, 4
lea r8d, [rdx - 0x26]
mov dword [rsp + 0x20], 0xed
call fcn.14006e0e0
mov eax, ebx
mov r12, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0xb8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop rsi
pop rbp
ret
mov edx, edi
mov rcx, rax
call fcn.1400744a0
test eax, eax
jle 0x1400c5b18
mov r12d, r13d
lea rcx, [rsp + 0x40]
sub r12d, r15d
lea eax, [r12 - 1]
cdqe
add rax, rbp
mov qword [rsp + 0x38], rax
call fcn.140097a50
lea rcx, [rsp + 0x40]
xor r8d, r8d
mov rdx, r14
call fcn.140097ac0
test eax, eax
je 0x1400c5b18
mov r14d, 8
lea rdx, [0x14013c1d0]
lea rcx, [rsp + 0x40]
mov r8, r14
call fcn.140097d10
test eax, eax
je 0x1400c5b18
mov rdx, qword [rsp + 0xb0]
lea rcx, [rsp + 0x40]
mov r8, r15
call fcn.140097d10
test eax, eax
je 0x1400c5b18
test edi, edi
je 0x1400c5a6c
lea rcx, [rsp + 0x40]
movsxd r8, edi
mov rdx, rsi
call fcn.140097d10
test eax, eax
je 0x1400c5b18
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x40]
xor r8d, r8d
call fcn.140097d30
test eax, eax
je 0x1400c5b18
lea rcx, [rsp + 0x40]
call fcn.140097dd0
mov r11, qword [rsp + 0xc0]
mov r8, qword [rsp + 0x38]
lea edx, [r12 - 1]
mov r9d, r15d
mov rcx, rbp
mov qword [rsp + 0x20], r11
call fcn.140086730
test eax, eax
jne 0x1400c5b18
sub r12d, edi
sub r12d, 2
movsxd rdx, r12d
add rdx, rbp
inc rdx
xor byte [rdx - 1], 1
test edi, edi
jle 0x1400c5af2
movsxd r8, edi
test edi, edi
jle 0x1400c5af2
nop word [rax + rax]
movzx eax, byte [rbx + rsi]
inc rbx
inc rdx
xor byte [rdx - 1], al
cmp rbx, r8
jl 0x1400c5ae0
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x1400c5b0b
sub r14d, eax
mov eax, 0xff
movzx ecx, r14b
sar eax, cl
and byte [rbp], al
movsxd rax, r13d
mov ebx, 1
mov byte [rax + rbp - 1], 0xbc
test rsi, rsi
je 0x1400c5b25
mov rcx, rsi
call fcn.140075700
mov eax, ebx
jmp 0x1400c59a3
mov eax, ebx
jmp 0x1400c59b3