Function at 0x669dd0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], r8
mov eax, 0xb8
call fcn.00693bc0
sub rsp, rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0xb0], rbx
mov qword [rsp + 0xa8], rbp
mov qword [rsp + 0xa0], rsi
mov qword [rsp + 0x88], r13
xor ebx, ebx
test rax, rax
mov r13, rcx
mov qword [rsp + 0x80], r14
cmove rax, r9
mov rcx, r9
mov rbp, rdx
mov qword [rsp + 0x78], r15
mov r14, r9
mov rsi, rbx
mov qword [rsp + 0xe0], rax
call fcn.005b4490
test eax, eax
movsxd r15, eax
js 0x66a110
mov qword [rsp + 0x98], rdi
mov edi, dword [rsp + 0xe8]
cmp edi, 0xffffffff
jne 0x669ef8
mov edi, r15d
mov rcx, qword [r13 + 0x18]
mov qword [rsp + 0x90], r12
call fcn.005c6580
mov rcx, r13
lea r12d, [rax - 1]
and r12d, 7
mov dword [rsp + 0x30], r12d
call fcn.005ae7a0
test r12d, r12d
mov r13d, eax
jne 0x669e99
mov byte [rbp], bl
inc rbp
dec r13d
cmp edi, 0xfffffffe
jne 0x669f31
mov edi, r13d
sub edi, r15d
sub edi, 2
test edi, edi
jle 0x669fba
lea rdx, [0x0076dae0]
mov r8d, 0xf2
mov ecx, edi
call fcn.005bde70
test rax, rax
mov rsi, rax
jne 0x669fa8
lea r9, str..crypto_rsa_rsa_pss.c
lea ecx, [rax + 4]
lea r8d, [rax + 0x41]
mov edx, __WSAFDIsSet
mov dword [rsp + 0x20], 0xf5
call fcn.005ad900
jmp 0x66a0f8
cmp edi, 0xfffffffe
jne 0x669f02
jmp 0x669e62
cmp edi, 0xfffffffe
jge 0x669e62
mov edx, __WSAFDIsSet
lea r9, [0x0076dab0]
mov ecx, 4
lea r8d, [rdx - 0xc]
mov dword [rsp + 0x20], 0xdc
call fcn.005ad900
mov eax, ebx
jmp 0x669f6b
lea eax, [r15 + rdi + 2]
cmp r13d, eax
jge 0x669eab
mov edx, __WSAFDIsSet
lea r9, [0x0076dac8]
mov ecx, 4
lea r8d, [rdx - 0x26]
mov dword [rsp + 0x20], 0xed
call fcn.005ad900
mov eax, ebx
mov r12, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x98]
mov r15, qword [rsp + 0x78]
mov r14, qword [rsp + 0x80]
mov r13, qword [rsp + 0x88]
mov rsi, qword [rsp + 0xa0]
mov rbp, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xb0]
add rsp, 0xb8
ret
mov edx, edi
mov rcx, rax
call fcn.005b4190
test eax, eax
jle 0x66a0f8
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.005d2780
lea rcx, [rsp + 0x40]
xor r8d, r8d
mov rdx, r14
call fcn.005d27f0
test eax, eax
je 0x66a0f8
mov r14d, 8
lea rdx, [0x006d6130]
lea rcx, [rsp + 0x40]
mov r8, r14
call fcn.005d2a60
test eax, eax
je 0x66a0f8
mov rdx, qword [rsp + 0xd0]
lea rcx, [rsp + 0x40]
mov r8, r15
call fcn.005d2a60
test eax, eax
je 0x66a0f8
test edi, edi
je 0x66a04c
lea rcx, [rsp + 0x40]
movsxd r8, edi
mov rdx, rsi
call fcn.005d2a60
test eax, eax
je 0x66a0f8
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x40]
xor r8d, r8d
call fcn.005d2a80
test eax, eax
je 0x66a0f8
lea rcx, [rsp + 0x40]
call fcn.005d2b30
mov r11, qword [rsp + 0xe0]
mov r8, qword [rsp + 0x38]
lea edx, [r12 - 1]
mov r9d, r15d
mov rcx, rbp
mov qword [rsp + 0x20], r11
call fcn.00649bc0
test eax, eax
jne 0x66a0f8
sub r12d, edi
sub r12d, 2
movsxd rdx, r12d
add rdx, rbp
inc rdx
xor byte [rdx - 1], 1
test edi, edi
jle 0x66a0d2
test edi, edi
movsxd r8, edi
jle 0x66a0d2
nop
nop
nop
movzx eax, byte [rbx + rsi]
inc rbx
inc rdx
xor byte [rdx - 1], al
cmp rbx, r8
jl 0x66a0c0
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x66a0eb
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 0x669f61
mov rcx, rsi
call fcn.005be2c0
mov eax, ebx
jmp 0x669f63
mov eax, ebx
jmp 0x669f73