Function at 0x1400a3854
Capabilities:
Encrypt data using rc4 via winapi
Encrypt or decrypt via wincrypt
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
xor r12d, r12d
mov r15d, r9d
and dword [rbp + 0x38], r12d
mov r14, r8
and qword [rbp - 0x28], r12
mov esi, edx
and qword [rbp - 0x20], r12
mov rbx, rcx
cmp edx, 0x41
jbe 0x1400a3c4a
lea r8d, [r12 + 8]
lea rdx, str.SuppData
call fcn.1400cb580
test eax, eax
jne 0x1400a38b1
mov eax, dword [rbx + 0x14]
lea rdi, [rbx + 0x18]
sub eax, 0x40
jmp 0x1400a38b7
mov rdi, rbx
lea eax, [rsi - 0x40]
mov dword [rbp - 0x30], eax
mov ebx, 0x8004
lea rax, [rbp - 0x10]
mov edx, ebx
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x1400a3c4a
mov rcx, qword [rbp - 0x10]
xor r9d, r9d
mov rdx, rdi
lea r8d, [r9 + 0x20]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
mov rcx, qword [rbp - 0x10]
lea rax, [rbp + 0x38]
mov qword [rsp + 0x28], rax
xor r9d, r9d
and qword [rsp + 0x20], r12
xor r8d, r8d
mov edx, r15d
call qword [sym.imp.ADVAPI32.dll_CryptSignHashW]
test eax, eax
je 0x1400a3c2c
mov edx, dword [rbp + 0x38]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rsi, rax
test rax, rax
je 0x1400a3c40
mov rcx, qword [rbp - 0x10]
lea rax, [rbp + 0x38]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rsi
mov edx, r15d
call qword [sym.imp.ADVAPI32.dll_CryptSignHashW]
test eax, eax
je 0x1400a3c0d
lea rax, [rbp - 0x18]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, ebx
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x1400a3c21
mov r8d, dword [rbp + 0x38]
xor r9d, r9d
mov rcx, qword [rbp - 0x18]
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
mov rcx, qword [rbp - 0x18]
lea rdx, [rdi + 0x20]
xor r9d, r9d
lea r8d, [r9 + 0x20]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
mov r8, qword [rbp - 0x18]
lea rax, [rbp - 8]
xor r9d, r9d
mov qword [rsp + 0x20], rax
mov edx, 0x6801
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
je 0x1400a3bed
xor r9d, r9d
lea rcx, [rbp - 0x30]
mov qword [rsp + 0x28], rcx
lea rax, [rdi + 0x40]
mov rcx, qword [rbp - 8]
xor edx, edx
mov qword [rsp + 0x20], rax
lea r14d, [r9 + 1]
mov r8d, r14d
call qword [sym.imp.ADVAPI32.dll_CryptDecrypt]
mov r12d, eax
test eax, eax
je 0x1400a3bcd
mov edx, dword [rbp - 0x30]
lea rcx, [rdi + 0x58]
add edx, 0xffffffe8
lea r9, [0x1400158cc]
lea r8, [rbp - 0x28]
call fcn.140012ef4
test eax, eax
je 0x1400a3be1
mov rax, qword [rbp - 0x28]
xor edi, edi
cmp dword [rax], edi
jbe 0x1400a3bbb
lea r15d, [r14 + 0xf]
lea r8, [rax + 8]
mov ebx, edi
shl rbx, 5
lea rcx, str.____u___wZ
add r8, rbx
mov edx, edi
call fcn.14000d9f0
mov rdx, qword [rbp - 0x28]
lea rcx, [0x140140218]
add rdx, 8
mov r8b, r14b
add rdx, rbx
call qword [sym.imp.ntdll.dll_RtlEqualUnicodeString]
test al, al
je 0x1400a3b01
mov rax, qword [rbp - 0x28]
mov rbx, qword [rbx + rax + 0x20]
mov edx, dword [rbx]
test edx, edx
je 0x1400a3ac1
cmp edx, 4
je 0x1400a3a9c
lea rcx, str._nUnknown_version:__u_n
call fcn.14000d9f0
jmp 0x1400a3ba0
test byte [rbx + 4], 2
je 0x1400a3ba0
lea rcx, str._n__NTLM:
call fcn.14000d9f0
lea rcx, [rbx + 0xc]
xor r8d, r8d
mov edx, r15d
jmp 0x1400a3b9b
mov eax, dword [rbx + 4]
test r14b, al
je 0x1400a3ae7
lea rcx, str._n____LM:
call fcn.14000d9f0
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, r15d
call fcn.140016508
mov eax, dword [rbx + 4]
test al, 2
je 0x1400a3ba0
lea rcx, str._n__NTLM:
call fcn.14000d9f0
lea rcx, [rbx + 0x18]
jmp 0x1400a3ab6
mov rdx, qword [rbp - 0x28]
lea rcx, [0x14013ffc0]
add rdx, 8
mov r8b, r14b
add rdx, rbx
call qword [sym.imp.ntdll.dll_RtlEqualUnicodeString]
test al, al
je 0x1400a3b7c
mov rcx, qword [rbp - 0x28]
lea r9, [0x140014d90]
lea r8, [rbp - 0x20]
mov edx, dword [rbx + rcx + 0x18]
mov rcx, qword [rbx + rcx + 0x20]
call fcn.140012ef4
test eax, eax
je 0x1400a3ba0
mov rdx, qword [rbp - 0x20]
xor ebx, ebx
cmp dword [rdx], ebx
jbe 0x1400a3b6a
mov ecx, ebx
inc rcx
lea rcx, [rcx + rbx*2]
lea rcx, [rdx + rcx*8]
xor edx, edx
call fcn.1400c5158
mov rdx, qword [rbp - 0x20]
add ebx, r14d
cmp ebx, dword [rdx]
jb 0x1400a3b4b
lea rdx, [0x140014dbc]
lea rcx, [rbp - 0x20]
call fcn.140013010
jmp 0x1400a3ba0
lea rcx, reloc.Cabinet.dll_FCICreate
call fcn.14000d9f0
mov rcx, qword [rbp - 0x28]
mov r8d, 0x100001
mov edx, dword [rbx + rcx + 0x18]
mov rcx, qword [rbx + rcx + 0x20]
call fcn.140016508
lea rcx, reloc.Cabinet.dll_FCICreate
call fcn.14000d9f0
mov rax, qword [rbp - 0x28]
add edi, r14d
cmp edi, dword [rax]
jb 0x1400a3a39
lea rdx, [0x1400158f8]
lea rcx, [rbp - 0x28]
call fcn.140013010
jmp 0x1400a3be1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.ERROR_kuhl_m_lsadump_decryptSCCache___CryptDecrypt__0x_08x__n
call fcn.14000d9f0
mov rcx, qword [rbp - 8]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
jmp 0x1400a3c01
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.ERROR_kuhl_m_lsadump_decryptSCCache___CryptDeriveKey_RC4___0x_08x__n
call fcn.14000d9f0
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
jmp 0x1400a3c21
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.ERROR_kuhl_m_lsadump_decryptSCCache___CryptSignHash_data___0x_08x__n
call fcn.14000d9f0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1400a3c40
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.ERROR_kuhl_m_lsadump_decryptSCCache___CryptSignHash_init___0x_08x__n
call fcn.14000d9f0
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
lea r11, [rsp + 0x60]
mov eax, r12d
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret