Function at 0x14000f640
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using rc4 via winapi
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x100
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
mov rax, qword [0x1400aa008]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov r15, rdx
mov rbx, rcx
lea rdi, [rcx + 0x10]
mov rcx, qword [rdi]
xor r12d, r12d
test rcx, rcx
je 0x14000f693
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov qword [rdi], r12
lea rsi, [rbx + 8]
mov rcx, qword [rsi]
test rcx, rcx
je 0x14000f6a8
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov qword [rsi], r12
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14000f6bd
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov qword [rbx + 0x18], r12
mov dword [rsp + 0x20], r12d
mov ebp, 1
mov r9d, ebp
lea r8, str.Microsoft_Enhanced_Cryptographic_Provider_v1.0
xor edx, edx
lea rcx, [rbx + 0x18]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
mov r14d, eax
test eax, eax
jne 0x14000f712
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x14000f712
mov dword [rsp + 0x20], 8
mov r9d, ebp
lea r8, str.Microsoft_Enhanced_Cryptographic_Provider_v1.0
xor edx, edx
lea rcx, [rbx + 0x18]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
mov r14d, eax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x60], rax
mov r8d, 3
mov rdx, r15
lea rcx, [rsp + 0x60]
call fcn.140003b70
nop
mov qword [rsp + 0x50], 0xf
mov qword [rsp + 0x48], r12
mov byte [rsp + 0x38], 0
mov rdx, qword [rsp + 0x60]
cmp byte [rdx], 0
jne 0x14000f752
mov r8, r12
jmp 0x14000f760
or r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x14000f756
lea rcx, [rsp + 0x38]
call fcn.140003890
nop
lea rax, [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
cmp rcx, rax
je 0x14000f77f
call fcn.14005392c
test r14d, r14d
je 0x14000f7e9
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8003
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x14000f7e9
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rdx, qword [rsp + 0x38]
xor r9d, r9d
mov r8d, dword [rsp + 0x48]
mov rcx, qword [rdi]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x14000f7e9
mov qword [rsp + 0x20], rsi
mov r9d, 0x800000
mov r8, qword [rdi]
mov edx, 0x6801
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x14000f823
mov ebp, r12d
mov rcx, qword [rdi]
test rcx, rcx
je 0x14000f7fd
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov qword [rdi], r12
mov rcx, qword [rsi]
test rcx, rcx
je 0x14000f80e
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov qword [rsi], r12
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14000f823
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov qword [rbx + 0x18], r12
mov rax, qword [rsp + 0x50]
cmp rax, 0x10
jb 0x14000f87b
inc rax
mov rcx, qword [rsp + 0x38]
cmp rax, 0x1000
jb 0x14000f876
test cl, 0x1f
je 0x14000f849
call fcn.1400534c4
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x14000f858
call fcn.1400534c4
int3
sub rcx, rax
cmp rcx, 8
jae 0x14000f867
call fcn.1400534c4
int3
cmp rcx, 0x27
jbe 0x14000f873
call fcn.1400534c4
int3
mov rcx, rax
call fcn.1400300f0
mov eax, ebp
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.140030090
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret