Function at 0x18014b8c0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x18014b8c0
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r14
push r15
mov eax, 0x48
call fcn.180001055
sub rsp, rax
mov ebp, dword [rsp + 0xa0]
xor r12d, r12d
movsxd rdi, r9d
mov rsi, r8
mov r15, rcx
mov r14d, r12d
test edx, edx
jle 0x18014bc64
test r9d, r9d
jle 0x18014bc64
cmp edi, ebp
jg 0x18014bc44
cmp ebp, 0xb
jl 0x18014bc44
mov qword [rsp + 0x90], rbx
lea r8d, [rax + 0x6a]
mov qword [rsp + 0x40], r13
lea rdx, str.crypto_rsa_rsa_pk1.c
movsxd r13, ebp
mov rcx, r13
mov qword [rsp + 0x38], r13
call sym.libcrypto_1_1_x64.dll_CRYPTO_malloc
mov rbx, rax
test rax, rax
jne 0x18014b984
lea r9, str.crypto_rsa_rsa_pk1.c
mov dword [rsp + 0x20], 0xb4
lea edx, [rax + 0x71]
lea ecx, [rax + 4]
lea r8d, [r12 + 0x41]
call sym.libcrypto_1_1_x64.dll_ERR_put_error
lea eax, [rbx - 1]
mov rbx, qword [rsp + 0x90]
mov r13, qword [rsp + 0x40]
add rsp, 0x48
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret
add rsi, rdi
add rbx, r13
test ebp, ebp
jle 0x18014b9c1
mov rdx, rbp
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 rsi, rax
movzx eax, byte [rsi]
and al, cl
mov byte [rbx], al
sub rdx, 1
jne 0x18014b991
movzx eax, byte [rbx + 1]
mov r8d, 2
xor eax, 2
mov r10d, r12d
lea esi, [rax - 1]
not eax
shr eax, 0x1f
shr esi, 0x1f
and esi, eax
movzx eax, byte [rbx]
dec eax
neg esi
shr eax, 0x1f
neg eax
and esi, eax
cmp ebp, r8d
jle 0x18014ba3c
lea r9, [rbx + 2]
nop word [rax + rax]
movzx edx, byte [r9]
lea r9, [r9 + 1]
dec edx
mov eax, r10d
not eax
shr edx, 0x1f
neg edx
and eax, edx
or r10d, 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 r14d, eax
inc r8d
or r14d, ecx
cmp r8d, ebp
jl 0x18014ba00
mov r8d, dword [rsp + 0x88]
mov r13d, ebp
sub r13d, r14d
mov ecx, r8d
dec r13d
mov r10d, 1
sub ecx, r13d
mov eax, r13d
xor eax, r8d
xor ecx, r13d
or ecx, eax
lea eax, [r14 - 0xa]
or eax, r14d
xor ecx, r8d
xor eax, r14d
shr ecx, 0x1f
shr eax, 0x1f
lea r14d, [rbp - 0xb]
dec eax
dec ecx
and ecx, eax
and esi, ecx
lea ecx, [rbp - 0xb]
mov edx, ecx
mov eax, ecx
sub edx, r8d
xor eax, r8d
xor edx, r8d
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, r14d
and ecx, r8d
or ecx, eax
mov dword [rsp + 0x30], ecx
cmp r14d, r10d
jle 0x18014bb65
mov r15d, ebp
sub r15d, r13d
add r15d, 0xfffffff5
nop dword [rax]
nop word [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 0x18014bb51
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 0x18014bb20
add r10d, r10d
cmp r10d, r14d
jl 0x18014bae0
mov r15, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x30]
movsxd r9, ecx
test ecx, ecx
jle 0x18014bbde
mov r8d, r13d
mov r10, rbx
shr r8d, 0x1f
sub r10, r15
nop dword [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 0x18014bb80
mov rdx, qword [rsp + 0x38]
lea r8, str.crypto_rsa_rsa_pk1.c
mov r9d, 0xfa
mov rcx, rbx
call sym.libcrypto_1_1_x64.dll_CRYPTO_clear_free
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 sym.libcrypto_1_1_x64.dll_ERR_put_error
mov ecx, esi
and ecx, 1
call fcn.1800015e6
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
or eax, ecx
jmp 0x18014b969
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 sym.libcrypto_1_1_x64.dll_ERR_put_error
mov eax, 0xffffffff
add rsp, 0x48
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret