Function at 0x1400a10bc
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 rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x60
xor r12d, r12d
mov esi, r9d
mov rdi, r8
and dword [rax + 0x10], r12d
and qword [rax - 0x40], r12
and qword [rax - 0x38], r12
cmp edx, 0x41
jbe 0x1400a14b5
mov rax, qword [rcx]
cmp rax, qword [str.SuppData]
jne 0x1400a1105
mov eax, dword [rcx + 0x14]
lea rbx, [rcx + 0x18]
sub eax, 0x40
jmp 0x1400a110b
mov rbx, rcx
lea eax, [rdx - 0x40]
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8004
mov rcx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x1400a14b5
mov rcx, qword [rsp + 0x50]
xor r9d, r9d
mov rdx, rbx
lea r8d, [r9 + 0x20]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
mov rcx, qword [rsp + 0x50]
lea r11, [rsp + 0x88]
mov qword [rsp + 0x28], r11
and qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
mov edx, esi
call qword [sym.imp.ADVAPI32.dll_CryptSignHashW]
test eax, eax
je 0x1400a1496
mov edx, dword [rsp + 0x88]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbp, rax
test rax, rax
je 0x1400a14aa
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x88]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov edx, esi
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_CryptSignHashW]
test eax, eax
je 0x1400a1477
lea rax, [rsp + 0x48]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8004
mov rcx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x1400a148b
mov r8d, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x48]
xor r9d, r9d
mov rdx, rbp
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
mov rcx, qword [rsp + 0x48]
xor r9d, r9d
lea r8d, [r9 + 0x20]
lea rdx, [rbx + 0x20]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
mov r8, qword [rsp + 0x48]
lea r11, [rsp + 0x58]
xor r9d, r9d
mov edx, 0x6801
mov rcx, rdi
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
je 0x1400a1456
lea rcx, [rsp + 0x30]
xor r9d, r9d
lea rax, [rbx + 0x40]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x58]
lea r8d, [r9 + 1]
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_CryptDecrypt]
mov r12d, eax
test eax, eax
je 0x1400a1435
mov edx, dword [rsp + 0x30]
lea rcx, [rbx + 0x58]
lea r9, [0x140012250]
lea r8, [rsp + 0x38]
add edx, 0xffffffe8
call fcn.140010974
test eax, eax
je 0x1400a1449
mov rax, qword [rsp + 0x38]
xor esi, esi
cmp dword [rax], esi
jbe 0x1400a1422
xor edi, edi
mov ebx, esi
lea rcx, str.____u___wZ
mov edx, esi
shl rbx, 5
lea r8, [rbx + rax + 8]
call fcn.14000c020
mov r11, qword [rsp + 0x38]
lea rcx, [0x1400d34b8]
lea rdx, [rbx + r11 + 8]
mov r8b, 1
call sub.ntdll.dll_RtlEqualUnicodeString
test al, al
mov rax, qword [rsp + 0x38]
je 0x1400a136a
mov rbx, qword [rdi + rax + 0x20]
mov edx, dword [rbx]
test edx, edx
je 0x1400a132c
cmp edx, 4
je 0x1400a1306
lea rcx, str._nUnknown_version:__u_n
call fcn.14000c020
jmp 0x1400a1403
test byte [rbx + 4], 2
je 0x1400a1403
lea rcx, str._n__NTLM:
call fcn.14000c020
lea rcx, [rbx + 0xc]
xor r8d, r8d
lea edx, [r8 + 0x10]
jmp 0x1400a13fe
test byte [rbx + 4], 1
je 0x1400a134e
lea rcx, str._n____LM:
call fcn.14000c020
xor r8d, r8d
lea rcx, [rbx + 8]
lea edx, [r8 + 0x10]
call fcn.140012c94
test byte [rbx + 4], 2
je 0x1400a1403
lea rcx, str._n__NTLM:
call fcn.14000c020
lea rcx, [rbx + 0x18]
jmp 0x1400a1320
lea rdx, [rbx + rax + 8]
lea rcx, [0x1400d34e0]
mov r8b, 1
call sub.ntdll.dll_RtlEqualUnicodeString
test al, al
je 0x1400a13de
mov rcx, qword [rsp + 0x38]
lea r9, [0x140012154]
lea r8, [rsp + 0x40]
mov edx, dword [rdi + rcx + 0x18]
mov rcx, qword [rdi + rcx + 0x20]
call fcn.140010974
test eax, eax
je 0x1400a1403
mov rdx, qword [rsp + 0x40]
xor ebx, ebx
cmp dword [rdx], ebx
jbe 0x1400a13cb
lea rcx, [rbx + rbx*2]
lea rcx, [rdx + rcx*8 + 8]
xor edx, edx
call fcn.1400c2edc
mov rdx, qword [rsp + 0x40]
inc ebx
cmp ebx, dword [rdx]
jb 0x1400a13b0
lea rdx, [0x14001217c]
lea rcx, [rsp + 0x40]
call fcn.140010a90
jmp 0x1400a1403
lea rcx, reloc.Cabinet.dll_FCICreate
call fcn.14000c020
mov rcx, qword [rsp + 0x38]
mov r8d, 0x100001
mov edx, dword [rdi + rcx + 0x18]
mov rcx, qword [rdi + rcx + 0x20]
call fcn.140012c94
lea rcx, reloc.Cabinet.dll_FCICreate
call fcn.14000c020
mov rax, qword [rsp + 0x38]
inc esi
add rdi, 0x20
cmp esi, dword [rax]
jb 0x1400a12a6
lea rdx, [0x140012278]
lea rcx, [rsp + 0x38]
call fcn.140010a90
jmp 0x1400a1449
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.ERROR_kuhl_m_lsadump_decryptSCCache___CryptDecrypt__0x_08x__n
mov edx, eax
call fcn.14000c020
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
jmp 0x1400a146a
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.ERROR_kuhl_m_lsadump_decryptSCCache___CryptDeriveKey_RC4___0x_08x__n
mov edx, eax
call fcn.14000c020
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
jmp 0x1400a148b
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.ERROR_kuhl_m_lsadump_decryptSCCache___CryptSignHash_data___0x_08x__n
mov edx, eax
call fcn.14000c020
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1400a14aa
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.ERROR_kuhl_m_lsadump_decryptSCCache___CryptSignHash_init___0x_08x__n
mov edx, eax
call fcn.14000c020
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
lea r11, [rsp + 0x60]
mov eax, r12d
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret