Function at 0x1401692e0
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, reloc.WS2_32.dll_WSASetLastError
call fcn.140189b00
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.1400dce40
test eax, eax
movsxd r15, eax
js 0x1401695de
mov qword [rsp + 0xa0], rdi
mov edi, dword [rsp + 0xc8]
cmp edi, 0xffffffff
jne 0x1401693ea
mov edi, r15d
mov rcx, qword [r13 + 0x18]
mov qword [rsp + 0xa8], r12
call fcn.1400bb3d0
mov rcx, r13
lea r12d, [rax - 1]
and r12d, 7
mov dword [rsp + 0x30], r12d
call fcn.1400d82d0
test r12d, r12d
mov r13d, eax
jne 0x14016938b
mov byte [rbp], bl
add rbp, 1
sub r13d, 1
cmp edi, 0xfffffffe
jne 0x140169423
mov edi, r13d
sub edi, r15d
sub edi, 2
test edi, edi
jle 0x14016948c
lea rdx, [0x1402380c0]
mov r8d, 0xe9
mov ecx, edi
call fcn.1400adb80
test rax, rax
mov rsi, rax
jne 0x14016947a
lea r9, str..crypto_rsa_rsa_pss.c
lea ecx, [rax + 4]
lea r8d, [rax + 0x41]
mov edx, __WSAFDIsSet
mov dword [rsp + 0x20], 0xec
call fcn.1400a5900
jmp 0x1401695ca
cmp edi, 0xfffffffe
jne 0x1401693f4
jmp 0x140169352
cmp edi, 0xfffffffe
jge 0x140169352
mov edx, __WSAFDIsSet
lea r9, [0x140238090]
mov ecx, 4
lea r8d, [rdx - 0xc]
mov dword [rsp + 0x20], 0xd7
call fcn.1400a5900
mov eax, ebx
jmp 0x14016945d
lea eax, [r15 + rdi + 2]
cmp r13d, eax
jge 0x14016939d
mov edx, __WSAFDIsSet
lea r9, [0x1402380a8]
mov ecx, 4
lea r8d, [rdx - 0x26]
mov dword [rsp + 0x20], 0xe5
call fcn.1400a5900
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.14009f500
test eax, eax
jle 0x1401695ca
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.1400da360
lea rcx, [rsp + 0x40]
xor r8d, r8d
mov rdx, r14
call fcn.1400da3d0
test eax, eax
je 0x1401695ca
mov r14d, 8
lea rdx, [0x1401c8460]
lea rcx, [rsp + 0x40]
mov r8, r14
call fcn.1400da630
test eax, eax
je 0x1401695ca
mov rdx, qword [rsp + 0xb0]
lea rcx, [rsp + 0x40]
mov r8, r15
call fcn.1400da630
test eax, eax
je 0x1401695ca
test edi, edi
je 0x14016951e
lea rcx, [rsp + 0x40]
movsxd r8, edi
mov rdx, rsi
call fcn.1400da630
test eax, eax
je 0x1401695ca
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x40]
xor r8d, r8d
call fcn.1400da650
test eax, eax
je 0x1401695ca
lea rcx, [rsp + 0x40]
call fcn.1400da6f0
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.140153eb0
test eax, eax
jne 0x1401695ca
sub r12d, edi
sub r12d, 2
movsxd rdx, r12d
add rdx, rbp
add rdx, 1
xor byte [rdx - 1], 1
test edi, edi
jle 0x1401695a4
test edi, edi
movsxd r8, edi
jle 0x1401695a4
nop
nop
movzx eax, byte [rbx + rsi]
add rbx, 1
add rdx, 1
xor byte [rdx - 1], al
cmp rbx, r8
jl 0x140169590
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x1401695bd
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 0x1401695d7
mov rcx, rsi
call fcn.1400ae010
mov eax, ebx
jmp 0x140169455
mov eax, ebx
jmp 0x140169465