Function at 0x140013880
Capabilities:
Contain obfuscated stackstrings
Encrypt data using rc4 via winapi
Encrypt or decrypt via wincrypt

Disassembly:
push rbp
push rbx
push r12
push r13
lea rbp, [rsp - 0x3f]
sub rsp, 0xa8
mov rax, qword [0x14016b140]
xor rax, rsp
mov qword [rbp + 0x1f], rax
xor r13d, r13d
mov r12, r8
mov rbx, rdx
test rdx, rdx
je 0x140013b4f
mov qword [rbp - 0x19], r13
mov eax, r13d
mov qword [rbp - 0x11], r13
mov qword [rbp - 9], r13
mov dword [rbp + 0xf], 0x69666a61
mov dword [rbp + 0x13], 0x76627265
mov word [rbp + 0x17], 0x6468
mov byte [rbp + 0x19], r13b
nop word [rax + rax]
movzx ecx, byte [rbp + rax + 0xf]
mov byte [rbp + rax - 1], cl
lea rax, [rax + 1]
test cl, cl
jne 0x1400138e0
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rdx + rax*2], r13w
jne 0x140013900
test eax, eax
je 0x140013b4f
mov qword [rsp + 0xd0], rsi
mov qword [rsp + 0xa0], rdi
mov qword [rsp + 0x98], r14
mov qword [rsp + 0x90], r15
lea r15d, [rax*2 + 2]
mov dword [rbp - 0x29], r15d
call fcn.140013260
lea r8, [rbp - 1]
mov rdx, rax
mov rdi, rax
call fcn.1400132f0
mov r14, rax
mov qword [rbp - 0x21], r13
lea rax, [rbp - 0x21]
mov r8, r14
mov r9d, 0x800000
mov qword [rsp + 0x20], rax
mov edx, 0x6801
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x140013991
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CryptDeriveKey_error___d_n
call fcn.140020f50
mov rsi, qword [rbp - 0x21]
lea rax, [rbp - 0x29]
xor r9d, r9d
mov dword [rsp + 0x30], r15d
mov qword [rsp + 0x28], rax
xor edx, edx
mov rcx, rsi
mov qword [rsp + 0x20], r13
lea r8d, [r9 + 1]
call qword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
jne 0x1400139d2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CryptEncrypt_error___d_n
call fcn.1400213c0
test rsi, rsi
je 0x1400139e0
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
test r14, r14
je 0x1400139ee
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
test rdi, rdi
je 0x1400139fe
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov ecx, dword [rbp - 0x29]
test ecx, ecx
jne 0x140013a59
lea ecx, [r15 + r15]
mov dword [rbp - 0x29], ecx
test ecx, ecx
jne 0x140013a59
lea rcx, str.Cannot_enc_buffer_n
call fcn.1400213c0
mov eax, r13d
mov r14, qword [rsp + 0x98]
mov rdi, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0xd0]
mov r15, qword [rsp + 0x90]
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.140027790
add rsp, 0xa8
pop r13
pop r12
pop rbx
pop rbp
ret
call fcn.140027a58
mov r8d, dword [rbp - 0x29]
xor edx, edx
mov rcx, rax
mov r14, rax
call fcn.1400c0ac0
mov r8d, r15d
mov rdx, rbx
mov rcx, r14
call fcn.1400c0dd0
mov ebx, dword [rbp - 0x29]
mov dword [rbp - 0x21], r15d
call fcn.140013260
lea r8, [rbp - 1]
mov rdx, rax
mov rdi, rax
call fcn.1400132f0
mov rsi, rax
mov qword [rbp + 0xf], r13
lea rax, [rbp + 0xf]
mov r8, rsi
mov r9d, 0x800000
mov qword [rsp + 0x20], rax
mov edx, 0x6801
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x140013ad7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CryptDeriveKey_error___d_n
call fcn.140020f50
mov dword [rsp + 0x30], ebx
lea rax, [rbp - 0x21]
mov rbx, qword [rbp + 0xf]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor edx, edx
mov rcx, rbx
mov qword [rsp + 0x20], r14
lea r8d, [r9 + 1]
call qword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
jne 0x140013b17
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CryptEncrypt_error___d_n
call fcn.1400213c0
test rbx, rbx
je 0x140013b25
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
test rsi, rsi
je 0x140013b33
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
test rdi, rdi
je 0x140013b43
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, dword [rbp - 0x21]
mov qword [r12], r14
jmp 0x140013a1f
mov eax, r13d
jmp 0x140013a3f