Function at 0x140144d00
Capabilities:
Encode data using xor

Disassembly:
mov dword [rsp + 0x10], edx
push rsi
push rdi
push r13
push r14
push r15
mov eax, 0x50
call fcn.1401da3f0
sub rsp, rax
xor r13d, r13d
movsxd rdi, r9d
mov r14, r8
mov rsi, rcx
mov r15d, r13d
test edx, edx
jle 0x14014518c
test r9d, r9d
jle 0x14014518c
mov qword [rsp + 0x90], rbp
mov ebp, dword [rsp + 0xa0]
cmp edi, ebp
jg 0x14014516c
cmp ebp, 0xb
jl 0x14014516c
mov qword [rsp + 0x80], rbx
lea r8d, [rax - 2]
mov qword [rsp + 0x98], r12
lea rdx, str.crypto_rsa_rsa_ssl.c
movsxd r12, ebp
mov rcx, r12
mov qword [rsp + 0x40], r12
call fcn.1400e4860
mov rbx, rax
test rax, rax
jne 0x140144dcb
xor r9d, r9d
mov dword [rsp + 0x20], r13d
lea edx, [rax + 0x72]
lea ecx, [rax + 4]
lea r8d, [r13 + 0x41]
call fcn.1400dbe30
or eax, 0xffffffff
mov rbx, qword [rsp + 0x80]
mov r12, qword [rsp + 0x98]
mov rbp, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
add r14, rdi
add rbx, r12
test ebp, ebp
jle 0x140144e11
mov rdx, rbp
nop dword [rax + rax]
mov eax, edi
lea ecx, [rdi - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
dec rbx
and ecx, eax
dec ecx
mov eax, ecx
and eax, 1
sub edi, eax
mov eax, ecx
and eax, 1
sub r14, rax
movzx eax, byte [r14]
and al, cl
mov byte [rbx], al
sub rdx, 1
jne 0x140144de0
movzx ecx, byte [rbx]
xor r10d, r10d
movzx eax, byte [rbx + 1]
xor edi, edi
xor eax, 2
mov r11d, 2
lea r14d, [rax - 1]
not eax
shr eax, 0x1f
shr r14d, 0x1f
and r14d, eax
lea eax, [rcx - 1]
shr eax, 0x1f
neg r14d
not ecx
shr ecx, 0x1f
and eax, ecx
neg eax
and r14d, eax
mov dword [rsp + 0x30], r14d
mov r12d, r14d
not r12d
mov dword [rsp + 0x34], r12d
mov eax, dword [rsp + 0x30]
mov r13d, dword [rsp + 0x34]
and r13d, 0x6b
cmp ebp, r11d
jle 0x140144eef
or r8d, 0xffffffff
lea r9, [rbx + 2]
nop dword [rax]
movzx eax, byte [r9]
lea r9, [r9 + 1]
lea edx, [rax - 1]
not eax
shr eax, 0x1f
shr edx, 0x1f
and edx, eax
neg edx
and r8d, edx
or r10d, edx
mov dword [rsp + 0x34], r8d
not r8d
mov dword [rsp + 0x30], r8d
mov r8d, r10d
mov ecx, dword [rsp + 0x34]
not r8d
mov eax, dword [rsp + 0x30]
and ecx, r11d
and r15d, eax
inc r11d
movzx eax, byte [r9 - 1]
or r15d, ecx
xor eax, 3
lea ecx, [rax - 1]
not eax
shr eax, 0x1f
shr ecx, 0x1f
and ecx, eax
mov eax, r8d
neg ecx
and eax, 1
add eax, edi
or ecx, r10d
mov edi, ecx
and edi, eax
cmp r11d, ebp
jl 0x140144e80
mov r9d, dword [rsp + 0x88]
lea eax, [r15 - 0xa]
or eax, r15d
xor eax, r15d
shr eax, 0x1f
dec eax
and r14d, eax
mov eax, r14d
mov ecx, r14d
or eax, r12d
not ecx
mov dword [rsp + 0x34], eax
lea r12d, [rbp - 0xb]
not eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x34]
mov edx, dword [rsp + 0x30]
and eax, r13d
and edx, 0x71
mov r13d, ebp
or edx, eax
sub r13d, r15d
dec r13d
lea eax, [rdi - 8]
or eax, edi
xor eax, edi
shr eax, 0x1f
neg eax
and r14d, eax
mov eax, r14d
or eax, ecx
mov ecx, r9d
mov dword [rsp + 0x34], eax
sub ecx, r13d
not eax
xor ecx, r13d
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x34]
mov r8d, dword [rsp + 0x30]
and eax, edx
and r8d, 0x73
mov edx, r14d
or r8d, eax
not edx
mov eax, r13d
xor eax, r9d
or ecx, eax
xor ecx, r9d
shr ecx, 0x1f
dec ecx
and r14d, ecx
mov eax, r14d
or eax, edx
mov dword [rsp + 0x88], eax
not eax
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x88]
mov ecx, dword [rsp + 0x34]
and eax, r8d
and ecx, 0x6d
or ecx, eax
mov dword [rsp + 0x38], ecx
lea ecx, [rbp - 0xb]
mov edx, ecx
mov eax, ecx
sub edx, r9d
xor eax, r9d
xor edx, r9d
or edx, eax
xor edx, ecx
shr edx, 0x1f
neg edx
mov dword [rsp + 0x88], edx
not edx
mov dword [rsp + 0x34], edx
mov eax, dword [rsp + 0x88]
mov ecx, dword [rsp + 0x34]
and eax, r12d
and ecx, r9d
or ecx, eax
mov dword [rsp + 0x30], ecx
mov r10d, 1
cmp r12d, r10d
jle 0x14014508d
mov r15d, ebp
sub r15d, r13d
add r15d, 0xfffffff5
nop dword [rax + rax]
mov eax, r15d
and eax, r10d
lea ecx, [rax - 1]
not eax
shr eax, 0x1f
shr ecx, 0x1f
and ecx, eax
mov eax, ebp
sub eax, r10d
dec ecx
movsxd r8, eax
cmp r8, 0xb
jle 0x140145081
movzx r11d, cl
lea rax, [rbx + 0xb]
mov r9d, r11d
movsxd rdi, r10d
not r9d
add r8, 0xfffffffffffffff5
nop dword [rax + rax]
mov dword [rsp + 0x88], r11d
lea rax, [rax + 1]
mov dword [rsp + 0x34], r9d
mov ecx, dword [rsp + 0x88]
movzx edx, byte [rdi + rax - 1]
and dl, cl
mov ecx, dword [rsp + 0x34]
and cl, byte [rax - 1]
or cl, dl
mov byte [rax - 1], cl
sub r8, 1
jne 0x140145050
add r10d, r10d
cmp r10d, r12d
jl 0x140145010
mov ecx, dword [rsp + 0x30]
xor r9d, r9d
movsxd r11, ecx
test ecx, ecx
jle 0x140145106
mov r10d, r13d
movzx ebp, r14b
mov edi, r13d
shr r10d, 0x1f
neg edi
mov r15, rbx
sub r15, rsi
nop dword [rax]
mov ecx, r9d
lea edx, [rdi + r9]
shr ecx, 0x1f
lea rsi, [rsi + 1]
shr edx, 0x1f
movzx eax, r10b
xor al, cl
xor dl, r10b
or dl, al
inc r9d
xor dl, cl
neg dl
movzx eax, dl
and eax, ebp
mov dword [rsp + 0x88], eax
not eax
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x88]
movzx ecx, byte [r15 + rsi + 0xa]
and cl, al
mov eax, dword [rsp + 0x34]
and al, byte [rsi - 1]
or al, cl
mov byte [rsi - 1], al
sub r11, 1
jne 0x1401450b0
mov rdx, qword [rsp + 0x40]
lea r8, str.crypto_rsa_rsa_ssl.c
mov r9d, 0xab
mov rcx, rbx
call fcn.1400e49c0
mov r8d, dword [rsp + 0x38]
xor r9d, r9d
mov dword [rsp + 0x20], 0
lea edx, [r9 + 0x72]
lea ecx, [rdx - 0x6e]
call fcn.1400dbe30
mov ecx, r14d
and ecx, 1
call fcn.1400dc040
mov dword [rsp + 0x88], r14d
not r14d
mov dword [rsp + 0x38], r14d
mov ecx, dword [rsp + 0x88]
mov eax, dword [rsp + 0x38]
and ecx, r13d
or eax, ecx
jmp 0x140144da6
xor r9d, r9d
mov dword [rsp + 0x20], r13d
lea edx, [r9 + 0x72]
lea ecx, [rdx - 0x6e]
lea r8d, [r9 + 0x6f]
call fcn.1400dbe30
or eax, 0xffffffff
jmp 0x140144db6
or eax, 0xffffffff
add rsp, 0x50
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret