Function at 0x1400cb720
Capabilities:
Encode data using xor

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rdi
push r12
push r14
push r15
mov eax, 0x48
call fcn.14013d720
sub rsp, rax
mov r14d, dword [rsp + 0xa0]
xor r12d, r12d
movsxd rbx, r9d
mov rdi, r8
mov r15, rcx
mov ebp, r12d
test edx, edx
jle 0x1400cba99
test r9d, r9d
jle 0x1400cba99
cmp ebx, r14d
jg 0x1400cba79
cmp r14d, 0xb
jl 0x1400cba79
mov qword [rsp + 0x90], rsi
lea r8d, [rax + 0x6a]
movsxd rsi, r14d
lea rdx, str.crypto_rsa_rsa_pk1.c
mov rcx, rsi
mov qword [rsp + 0x38], rsi
call fcn.140070ec0
mov r11, rax
test rax, rax
jne 0x1400cb7df
lea r9, str.crypto_rsa_rsa_pk1.c
mov dword [rsp + 0x20], VariantTimeToSystemTime
lea edx, [rax + 0x71]
lea ecx, [rax + 4]
lea r8d, [r12 + 0x41]
call fcn.14006b890
lea eax, [r12 - 1]
mov rsi, qword [rsp + 0x90]
add rsp, 0x48
pop r15
pop r14
pop r12
pop rdi
pop rbp
pop rbx
ret
add rdi, rbx
mov qword [rsp + 0x40], r13
add r11, rsi
mov rdx, r14
nop dword [rax]
mov eax, ebx
lea ecx, [rbx - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
mov r8, r11
and ecx, eax
dec r11
dec ecx
mov eax, ecx
and eax, 1
sub ebx, eax
mov eax, ecx
and eax, 1
sub rdi, rax
movzx eax, byte [rdi]
and al, cl
mov byte [r11], al
sub rdx, 1
jne 0x1400cb7f0
movzx esi, byte [r8]
lea r10, [r11 + 2]
xor esi, 2
movzx eax, al
dec esi
lea r8d, [rdx + 2]
dec eax
shr esi, 0x1f
shr eax, 0x1f
neg esi
neg eax
mov r9d, r12d
and esi, eax
nop dword [rax]
movzx edx, byte [r10]
lea r10, [r10 + 1]
dec edx
mov eax, r9d
not eax
shr edx, 0x1f
neg edx
and eax, edx
or r9d, edx
mov dword [rsp + 0x30], eax
not eax
mov dword [rsp + 0x34], eax
mov ecx, dword [rsp + 0x30]
mov eax, dword [rsp + 0x34]
and ecx, r8d
and ebp, eax
inc r8d
or ebp, ecx
cmp r8d, r14d
jl 0x1400cb850
mov edx, dword [rsp + 0x88]
mov r13d, r14d
sub r13d, ebp
mov ecx, edx
dec r13d
mov r10d, 1
sub ecx, r13d
mov eax, r13d
xor ecx, r13d
xor eax, edx
or ecx, eax
lea eax, [rbp - 0xa]
xor ecx, edx
or eax, ebp
shr ecx, 0x1f
xor eax, ebp
dec ecx
shr eax, 0x1f
dec eax
lea ebp, [r14 - 0xb]
and ecx, eax
mov eax, ebp
and esi, ecx
xor eax, edx
mov ecx, ebp
sub ecx, edx
xor ecx, edx
or ecx, eax
xor ecx, ebp
shr ecx, 0x1f
neg ecx
mov dword [rsp + 0x88], ecx
not ecx
mov dword [rsp + 0x34], ecx
mov eax, dword [rsp + 0x88]
mov ecx, dword [rsp + 0x34]
and eax, ebp
and ecx, edx
or ecx, eax
mov dword [rsp + 0x30], ecx
cmp ebp, r10d
jle 0x1400cb994
mov r15d, r14d
sub r15d, r13d
add r15d, 0xfffffff5
mov eax, r15d
and eax, r10d
lea ecx, [rax - 1]
not eax
shr eax, 0x1f
shr ecx, 0x1f
and ecx, eax
mov eax, r14d
sub eax, r10d
dec ecx
movsxd r8, eax
cmp r8, 0xb
jle 0x1400cb980
movzx ebx, cl
lea rax, [r11 + 0xb]
mov r9d, ebx
movsxd rdi, r10d
not r9d
add r8, 0xfffffffffffffff5
nop word [rax + rax]
mov dword [rsp + 0x88], ebx
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 0x1400cb950
add r10d, r10d
cmp r10d, ebp
jl 0x1400cb912
mov r15, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x30]
movsxd r9, ecx
test ecx, ecx
jle 0x1400cba0e
mov r8d, r13d
mov r10, r11
shr r8d, 0x1f
sub r10, r15
nop dword [rax + rax]
mov edx, r12d
lea r15, [r15 + 1]
sub edx, r13d
mov ecx, r12d
shr ecx, 0x1f
movzx eax, r8b
xor al, cl
shr edx, 0x1f
xor dl, r8b
inc r12d
or dl, al
movzx eax, sil
xor dl, cl
neg dl
movzx ecx, dl
and ecx, eax
mov dword [rsp + 0x88], ecx
not ecx
mov dword [rsp + 0x34], ecx
mov eax, dword [rsp + 0x88]
movzx ecx, byte [r10 + r15 + 0xa]
and cl, al
mov eax, dword [rsp + 0x34]
and al, byte [r15 - 1]
or al, cl
mov byte [r15 - 1], al
sub r9, 1
jne 0x1400cb9b0
mov rdx, qword [rsp + 0x38]
lea r8, str.crypto_rsa_rsa_pk1.c
mov r9d, 0xfa
mov rcx, r11
call fcn.140071030
mov edx, WSAStartup
mov dword [rsp + 0x20], 0xfb
lea r9, str.crypto_rsa_rsa_pk1.c
lea ecx, [rdx - 0x6d]
lea r8d, [rdx + 0x2e]
call fcn.14006b890
mov ecx, esi
and ecx, 1
call fcn.14006bb80
mov dword [rsp + 0x88], esi
not esi
mov dword [rsp + 0x34], esi
mov ecx, dword [rsp + 0x88]
mov eax, dword [rsp + 0x34]
and ecx, r13d
mov r13, qword [rsp + 0x40]
or eax, ecx
jmp 0x1400cb7c9
mov edx, WSAStartup
mov dword [rsp + 0x20], 0xae
lea r9, str.crypto_rsa_rsa_pk1.c
lea ecx, [rdx - 0x6d]
lea r8d, [rdx + 0x2e]
call fcn.14006b890
mov eax, 0xffffffff
add rsp, 0x48
pop r15
pop r14
pop r12
pop rdi
pop rbp
pop rbx
ret