Function at 0x14001bde0
Capabilities:
Encrypt data using rc4 via winapi
Encrypt or decrypt via wincrypt
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
cmp qword [rsp + 0xb8], 0
je 0x14001be1c
cmp qword [rsp + 0xc8], 0
je 0x14001be1c
cmp qword [rsp + 0xd0], 0
jne 0x14001be23
xor al, al
jmp 0x14001c094
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 8]
test eax, eax
jne 0x14001be3a
xor al, al
jmp 0x14001c094
mov byte [rsp + 0x68], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x58], 0
mov dword [rsp + 0x20], 0
mov r9d, 1
lea r8, [0x140024ad0]
lea rdx, [0x140024b28]
lea rcx, [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x14001bed3
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 1
lea r8, [0x140024b50]
xor edx, edx
lea rcx, [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x14001bed3
jmp 0x14001c033
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8003
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x14001befc
jmp 0x14001c033
mov rcx, qword [rsp + 0xd0]
call fcn.140006f00
shl rax, 1
mov dword [rsp + 0x58], eax
xor r9d, r9d
mov r8d, dword [rsp + 0x58]
mov rdx, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x14001bf34
jmp 0x14001c033
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 1
mov r8, qword [rsp + 0x48]
mov edx, 0x6801
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x14001bf62
jmp 0x14001c033
mov ecx, dword [rsp + 0xc0]
call fcn.140006af8
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x14001bf90
jmp 0x14001c033
mov r8d, dword [rsp + 0xc0]
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x60]
call fcn.140008090
mov r11d, dword [rsp + 0xc0]
mov dword [rsp + 0x80], r11d
mov eax, dword [rsp + 0xc0]
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 1
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
jne 0x14001bff8
jmp 0x14001c033
mov eax, dword [rsp + 0xc0]
cmp dword [rsp + 0x80], eax
je 0x14001c00a
jmp 0x14001c033
mov r8d, dword [rsp + 0xc0]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0xc8]
call fcn.140008090
mov byte [rsp + 0x68], 1
xor eax, eax
test eax, eax
jne 0x14001be7d
cmp qword [rsp + 0x60], 0
je 0x14001c055
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x90]
call fcn.140007214
cmp qword [rsp + 0x40], 0
je 0x14001c068
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
cmp qword [rsp + 0x48], 0
je 0x14001c07b
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
cmp qword [rsp + 0x50], 0
je 0x14001c090
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov al, byte [rsp + 0x68]
add rsp, 0xa8
ret