Function at 0x140169370
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbx
push rbp
push rdi
push r12
push r14
push r15
mov eax, 0x48
call fcn.1402563a0
sub rsp, rax
mov r12, rcx
mov rcx, qword [rsp + 0xa0]
xor ebx, ebx
test rcx, rcx
mov rbp, rdx
mov r14d, ebx
cmove rcx, r9
mov qword [rsp + 0xa0], rcx
mov rcx, r9
call fcn.1400c6ce0
mov edi, dword [rsp + 0xa8]
movsxd r15, eax
test eax, eax
js 0x1401694da
cmp edi, 0xffffffff
jne 0x140169494
mov edi, r15d
mov rcx, qword [r12 + 0x28]
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x40], r13
call fcn.14011ad80
mov rcx, r12
lea esi, [rax - 1]
and esi, 7
mov dword [rsp + 0xa8], esi
call fcn.140198530
mov r13d, eax
test esi, esi
jne 0x140169419
mov byte [rbp], bl
inc rbp
dec r13d
lea eax, [r15 + 2]
cmp r13d, eax
jge 0x1401694df
call fcn.1400baef0
lea r8, str.RSA_padding_add_PKCS1_PSS_mgf1
mov edx, 0xc1
lea rcx, str.crypto_rsa_rsa_pss.c
call fcn.1400baf60
mov edx, WSASetLastError
xor r8d, r8d
lea ecx, [r8 + 4]
call fcn.1400bb1b0
mov r12, rbx
mov rsi, qword [rsp + 0x88]
mov r13, qword [rsp + 0x40]
mov rcx, r12
call fcn.1400b3090
lea r8, str.crypto_rsa_rsa_pss.c
movsxd rdx, edi
mov r9d, 0xfc
mov rcx, r14
call fcn.1400b4620
mov eax, ebx
add rsp, 0x48
pop r15
pop r14
pop r12
pop rdi
pop rbp
pop rbx
ret
cmp edi, 0xfffffffe
jne 0x1401694a3
mov edi, 0xfffffffd
jmp 0x1401693dd
cmp edi, 0xfffffffd
jge 0x1401693dd
call fcn.1400baef0
lea r8, str.RSA_padding_add_PKCS1_PSS_mgf1
lea rcx, str.crypto_rsa_rsa_pss.c
mov edx, 0xb6
call fcn.1400baf60
xor r8d, r8d
mov edx, 0x88
lea ecx, [r8 + 4]
call fcn.1400bb1b0
mov r12, rbx
jmp 0x140169464
mov esi, r13d
sub esi, r15d
cmp edi, 0xfffffffd
jne 0x14016953c
lea edi, [rsi - 2]
test edi, edi
jle 0x14016957b
movsxd r12, edi
lea rdx, str.crypto_rsa_rsa_pss.c
mov r8d, 0xcb
mov rcx, r12
call fcn.1400b4520
mov r14, rax
test rax, rax
jne 0x140169559
call fcn.1400baef0
lea r8, str.RSA_padding_add_PKCS1_PSS_mgf1
lea rcx, str.crypto_rsa_rsa_pss.c
mov edx, 0xcd
call fcn.1400baf60
mov edx, 0xc0100
jmp 0x140169448
lea eax, [rsi - 2]
cmp edi, eax
jle 0x1401694ed
call fcn.1400baef0
lea r8, str.RSA_padding_add_PKCS1_PSS_mgf1
mov edx, 0xc7
jmp 0x140169437
mov rcx, qword [rsp + 0x80]
xor r9d, r9d
mov r8, r12
mov rcx, qword [rcx + 8]
mov rdx, rax
call fcn.1400ec860
test eax, eax
jle 0x140169454
lea eax, [rsi - 1]
cdqe
add rax, rbp
mov qword [rsp + 0x38], rax
call fcn.1400b2520
mov r12, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140169457
mov rdx, qword [rsp + 0x98]
xor r8d, r8d
mov rcx, rax
call fcn.1400b43c0
test eax, eax
je 0x140169457
mov rcx, qword [rsp + 0x30]
mov r12d, 8
lea rdx, [0x140321060]
mov r8d, r12d
call fcn.1400b2550
test eax, eax
je 0x1401696ac
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x30]
mov r8, r15
call fcn.1400b2550
test eax, eax
je 0x1401696ac
test edi, edi
je 0x140169614
mov rcx, qword [rsp + 0x30]
movsxd r8, edi
mov rdx, r14
call fcn.1400b2550
test eax, eax
je 0x1401696ac
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
xor r8d, r8d
call fcn.1400b2670
test eax, eax
je 0x1401696ac
mov rax, qword [rsp + 0xa0]
mov r8, qword [rsp + 0x38]
lea edx, [rsi - 1]
mov r9d, r15d
mov rcx, rbp
mov qword [rsp + 0x20], rax
call fcn.1401c11e0
test eax, eax
jne 0x1401696ac
sub esi, edi
sub esi, 2
movsxd rdx, esi
add rdx, rbp
inc rdx
xor byte [rdx - 1], 1
test edi, edi
jle 0x140169683
movsxd r8, edi
nop dword [rax + rax]
movzx eax, byte [rbx + r14]
inc rbx
inc rdx
xor byte [rdx - 1], al
cmp rbx, r8
jl 0x140169670
mov eax, dword [rsp + 0xa8]
test eax, eax
je 0x14016969f
sub r12d, eax
mov eax, 0xff
movzx ecx, r12b
sar eax, cl
and byte [rbp], al
movsxd rax, r13d
mov ebx, 1
mov byte [rax + rbp - 1], 0xbc
mov r12, qword [rsp + 0x30]
jmp 0x140169457