Function at 0x140126d30
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
cmp qword [rsp + 0xb0], 0
mov ebx, dword [rsp + 0xb8]
mov rax, r9
mov rdi, rcx
mov rcx, r9
mov rbp, rdx
cmovne rax, qword [rsp + 0xb0]
mov qword [rsp + 0xa0], r8
mov r12, r9
mov qword [rsp + 0xb0], rax
call fcn.1400e01a0
mov esi, eax
test eax, eax
js 0x140126edf
cmp ebx, 0xffffffff
je 0x140127190
cmp ebx, 0xfffffffe
je 0x140126ef0
cmp ebx, 0xfffffffc
je 0x1401271a0
mov r14d, 0xffffffff
jl 0x140127210
mov rcx, qword [rdi + 0x28]
call fcn.1400abf50
mov rcx, rdi
sub eax, 1
and eax, 7
mov dword [rsp + 0x3c], eax
mov r15d, eax
call fcn.14034c200
mov r13d, eax
test r15d, r15d
jne 0x140126de0
mov byte [rbp], 0
sub r13d, 1
add rbp, 1
lea eax, [rsi + 1]
cmp eax, r13d
jge 0x140126eb0
mov eax, r13d
sub eax, esi
mov dword [rsp + 0x30], eax
cmp ebx, 0xfffffffd
je 0x140127170
sub eax, 1
movsxd r15, ebx
cmp eax, ebx
jle 0x1401271d0
test ebx, ebx
jle 0x140127160
mov r8d, 0xdb
lea rdx, str.crypto_rsa_rsa_pss.c
mov rcx, r15
call fcn.140095a80
mov r14, rax
test rax, rax
je 0x1401271c0
mov rcx, qword [rdi + 8]
xor r9d, r9d
mov r8, r15
mov rdx, rax
call fcn.14009bff0
test eax, eax
jle 0x1401271c0
call fcn.140267250
mov rdi, rax
xor eax, eax
test rdi, rdi
je 0x140126e74
xor r8d, r8d
mov rdx, r12
mov rcx, rdi
call fcn.140267380
test eax, eax
jne 0x140126f00
mov rcx, rdi
mov dword [rsp + 0x30], eax
call fcn.140267270
mov r9d, 0x10a
mov rdx, r15
mov rcx, r14
lea r8, str.crypto_rsa_rsa_pss.c
call fcn.140095e80
mov eax, dword [rsp + 0x30]
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
call fcn.1400bf100
lea r8, str.RSA_padding_add_PKCS1_PSS_mgf1
mov edx, 0xcf
lea rcx, str.crypto_rsa_rsa_pss.c
call fcn.1400bf220
xor r8d, r8d
mov edx, 0x6e
mov ecx, 4
call fcn.1400bf330
movsxd r15, ebx
xor edi, edi
xor r14d, r14d
xor eax, eax
jmp 0x140126e74
mov r14d, 0xffffffff
mov ebx, 0xfffffffd
jmp 0x140126dae
mov r8d, 8
lea rdx, [0x140598790]
mov rcx, rdi
call fcn.140267390
test eax, eax
je 0x140126e74
mov rdx, qword [rsp + 0xa0]
movsxd r8, esi
mov rcx, rdi
call fcn.140267390
test eax, eax
je 0x140126e74
test ebx, ebx
je 0x140126f52
mov r8, r15
mov rdx, r14
mov rcx, rdi
call fcn.140267390
test eax, eax
je 0x140126e74
mov r12d, dword [rsp + 0x30]
xor r8d, r8d
mov rcx, rdi
sub r12d, 1
movsxd rdx, r12d
add rdx, rbp
mov qword [rsp + 0x30], rdx
call fcn.1402688d0
test eax, eax
je 0x140126e74
mov rax, qword [rsp + 0xb0]
mov rdx, qword [rsp + 0x30]
mov rcx, rbp
mov r9d, esi
mov qword [rsp + 0x20], rax
mov r8, rdx
mov edx, r12d
call fcn.14034d390
mov ecx, eax
xor eax, eax
test ecx, ecx
jne 0x140126e74
mov eax, r13d
sub eax, ebx
sub eax, esi
cdqe
lea rdx, [rbp + rax - 2]
xor byte [rdx], 1
test ebx, ebx
jle 0x140127130
lea r8d, [rbx - 1]
add rdx, 1
cmp r8d, 0xe
jbe 0x140127016
mov r8d, ebx
lea rcx, [rbp + rax - 1]
xor eax, eax
shr r8d, 4
shl r8, 4
nop dword [rax]
movdqu xmm1, xmmword [rcx + rax]
movdqu xmm0, xmmword [r14 + rax]
pxor xmm0, xmm1
movups xmmword [rcx + rax], xmm0
add rax, 0x10
cmp rax, r8
jne 0x140126fe8
mov ecx, ebx
and ecx, 0xfffffff0
mov eax, ecx
add rdx, rax
cmp ebx, ecx
je 0x140127130
movsxd rax, ecx
movzx eax, byte [r14 + rax]
xor byte [rdx], al
lea eax, [rcx + 1]
cmp ebx, eax
jle 0x140127130
cdqe
movzx eax, byte [r14 + rax]
xor byte [rdx + 1], al
lea eax, [rcx + 2]
cmp ebx, eax
jle 0x140127130
cdqe
movzx eax, byte [r14 + rax]
xor byte [rdx + 2], al
lea eax, [rcx + 3]
cmp ebx, eax
jle 0x140127130
cdqe
movzx eax, byte [r14 + rax]
xor byte [rdx + 3], al
lea eax, [rcx + 4]
cmp ebx, eax
jle 0x140127130
cdqe
movzx eax, byte [r14 + rax]
xor byte [rdx + 4], al
lea eax, [rcx + 5]
cmp ebx, eax
jle 0x140127130
cdqe
movzx eax, byte [r14 + rax]
xor byte [rdx + 5], al
lea eax, [rcx + 6]
cmp ebx, eax
jle 0x140127130
cdqe
movzx eax, byte [r14 + rax]
xor byte [rdx + 6], al
lea eax, [rcx + 7]
cmp ebx, eax
jle 0x140127130
cdqe
movzx eax, byte [r14 + rax]
xor byte [rdx + 7], al
lea eax, [rcx + 8]
cmp ebx, eax
jle 0x140127130
cdqe
movzx eax, byte [r14 + rax]
xor byte [rdx + 8], al
lea eax, [rcx + 9]
cmp ebx, eax
jle 0x140127130
cdqe
movzx eax, byte [r14 + rax]
xor byte [rdx + 9], al
lea eax, [rcx + 0xa]
cmp ebx, eax
jle 0x140127130
cdqe
movzx eax, byte [r14 + rax]
xor byte [rdx + 0xa], al
lea eax, [rcx + 0xb]
cmp ebx, eax
jle 0x140127130
cdqe
movzx eax, byte [r14 + rax]
xor byte [rdx + 0xb], al
lea eax, [rcx + 0xc]
cmp ebx, eax
jle 0x140127130
cdqe
movzx eax, byte [r14 + rax]
xor byte [rdx + 0xc], al
lea eax, [rcx + 0xd]
cmp ebx, eax
jle 0x140127130
cdqe
add ecx, 0xe
movzx eax, byte [r14 + rax]
xor byte [rdx + 0xd], al
cmp ebx, ecx
jle 0x140127130
movsxd rcx, ecx
movzx eax, byte [r14 + rcx]
xor byte [rdx + 0xe], al
nop dword [rax + rax]
mov eax, dword [rsp + 0x3c]
test eax, eax
je 0x14012714b
mov ecx, 8
mov eax, 0xff
sub ecx, dword [rsp + 0x3c]
sar eax, cl
and byte [rbp], al
movsxd r13, r13d
mov eax, 1
mov byte [rbp + r13 - 1], 0xbc
jmp 0x140126e74
xor r14d, r14d
jmp 0x140126e4f
lea ebx, [rax - 2]
test r14d, r14d
js 0x1401271b0
cmp r14d, ebx
jge 0x1401271b0
movsxd r15, r14d
mov ebx, r14d
jmp 0x140126e0c
mov r14d, 0xffffffff
mov ebx, eax
jmp 0x140126dae
mov r14d, eax
mov ebx, 0xfffffffd
jmp 0x140126dae
movsxd r15, ebx
jmp 0x140126e0c
xor edi, edi
xor eax, eax
jmp 0x140126e74
call fcn.1400bf100
mov edx, 0xd7
xor edi, edi
xor r14d, r14d
lea r8, str.RSA_padding_add_PKCS1_PSS_mgf1
lea rcx, str.crypto_rsa_rsa_pss.c
call fcn.1400bf220
xor r8d, r8d
mov edx, 0x6e
mov ecx, 4
call fcn.1400bf330
xor eax, eax
jmp 0x140126e74
call fcn.1400bf100
lea r8, str.RSA_padding_add_PKCS1_PSS_mgf1
mov edx, 0xc4
lea rcx, str.crypto_rsa_rsa_pss.c
call fcn.1400bf220
xor r8d, r8d
mov edx, 0x88
jmp 0x140126ed5