Function at 0x140105db0
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 dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov dword [rsp + 0x4c], 0
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x44], 0
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x68], 0
mov eax, dword [rsp + 0xb8]
cmp rax, 0x41
jbe 0x140106360
mov r8d, 8
lea rdx, str.SuppData
mov rcx, qword [rsp + 0xb0]
call fcn.140161ba0
test eax, eax
jne 0x140105e51
mov rax, qword [rsp + 0xb0]
add rax, 0x18
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0x14]
sub eax, 0x40
mov dword [rsp + 0x44], eax
jmp 0x140105e6c
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0xb8]
sub eax, 0x40
mov dword [rsp + 0x44], eax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8004
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x140106360
mov rax, qword [rsp + 0x58]
xor r9d, r9d
mov r8d, Ordinal_36
mov rdx, rax
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, dword [rsp + 0xc8]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_CryptSignHashW]
test eax, eax
je 0x14010633e
mov eax, dword [rsp + 0x40]
mov edx, eax
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
je 0x14010633c
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, dword [rsp + 0xc8]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_CryptSignHashW]
test eax, eax
je 0x14010631d
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8004
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x14010631b
xor r9d, r9d
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
mov rax, qword [rsp + 0x58]
add rax, 0x20
xor r9d, r9d
mov r8d, Ordinal_36
mov rdx, rax
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8, qword [rsp + 0x70]
mov edx, 0x6801
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
je 0x1401062fc
mov rax, qword [rsp + 0x58]
add rax, 0x40
lea rcx, [rsp + 0x44]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 1
xor edx, edx
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.ADVAPI32.dll_CryptDecrypt]
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0
je 0x1401062d8
mov eax, dword [rsp + 0x44]
sub eax, 0x18
mov rcx, qword [rsp + 0x58]
add rcx, 0x58
lea r9, [0x14001f340]
lea r8, [rsp + 0x38]
mov edx, eax
call fcn.14001bc40
test eax, eax
je 0x1401062d6
mov dword [rsp + 0x30], 0
jmp 0x14010605a
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax]
cmp dword [rsp + 0x30], eax
jae 0x1401062c5
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + rax + 8]
mov r8, rax
mov edx, dword [rsp + 0x30]
lea rcx, str.____u___wZ
call fcn.140013fd0
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + rax + 8]
mov r8b, 1
mov rdx, rax
lea rcx, [0x14017a9b0]
call qword [sym.imp.ntdll.dll_RtlEqualUnicodeString]
movzx eax, al
test eax, eax
je 0x1401061c0
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx + rax + 0x20]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x1401060f5
cmp dword [rsp + 0x60], 4
je 0x14010615f
jmp 0x1401061a8
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 4]
and eax, 1
test eax, eax
je 0x140106129
lea rcx, str._n____LM:
call fcn.140013fd0
mov rax, qword [rsp + 0x50]
add rax, 8
xor r8d, r8d
mov edx, 0x10
mov rcx, rax
call fcn.1400204a0
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 4]
and eax, 2
test eax, eax
je 0x14010615d
lea rcx, str._n__NTLM:
call fcn.140013fd0
mov rax, qword [rsp + 0x50]
add rax, 0x18
xor r8d, r8d
mov edx, 0x10
mov rcx, rax
call fcn.1400204a0
jmp 0x1401061bb
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 4]
and eax, 2
test eax, eax
je 0x1401061a6
lea rcx, str._n__NTLM:
call fcn.140013fd0
mov rax, qword [rsp + 0x88]
add rax, 0xc
xor r8d, r8d
mov edx, 0x10
mov rcx, rax
call fcn.1400204a0
jmp 0x1401061bb
mov rax, qword [rsp + 0x50]
mov edx, dword [rax]
lea rcx, str._nUnknown_version:__u_n
call fcn.140013fd0
jmp 0x1401062b4
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + rax + 8]
mov r8b, 1
mov rdx, rax
lea rcx, [0x14017a790]
call qword [sym.imp.ntdll.dll_RtlEqualUnicodeString]
movzx eax, al
test eax, eax
je 0x14010627a
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x20
mov ecx, dword [rsp + 0x30]
imul rcx, rcx, 0x20
lea r9, [0x14001e590]
lea r8, [rsp + 0x68]
mov rdx, qword [rsp + 0x38]
mov edx, dword [rdx + rax + 0x18]
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax + rcx + 0x20]
call fcn.14001bc40
test eax, eax
je 0x140106278
mov dword [rsp + 0x48], 0
jmp 0x14010623c
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x68]
mov eax, dword [rax]
cmp dword [rsp + 0x48], eax
jae 0x140106267
mov eax, dword [rsp + 0x48]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x68]
lea rax, [rcx + rax + 8]
xor edx, edx
mov rcx, rax
call fcn.140135bb0
jmp 0x140106232
lea rdx, [0x14001e5e0]
lea rcx, [rsp + 0x68]
call fcn.14001bd80
jmp 0x1401062b4
lea rcx, reloc.Cabinet.dll_FCICreate
call fcn.140013fd0
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x20
mov ecx, dword [rsp + 0x30]
imul rcx, rcx, 0x20
mov r8d, 0x100001
mov rdx, qword [rsp + 0x38]
mov edx, dword [rdx + rax + 0x18]
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax + rcx + 0x20]
call fcn.1400204a0
lea rcx, reloc.Cabinet.dll_FCICreate
call fcn.140013fd0
jmp 0x140106050
lea rdx, [0x14001f390]
lea rcx, [rsp + 0x38]
call fcn.14001bd80
jmp 0x1401062ec
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.ERROR_kuhl_m_lsadump_decryptSCCache___CryptDecrypt__0x_08x__n
call fcn.140013fd0
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
jmp 0x140106310
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.140013fd0
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
jmp 0x140106331
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.140013fd0
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x140106352
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.140013fd0
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [rsp + 0x4c]
add rsp, 0xa8
ret