Function at 0x14009bb28
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using rc4 via systemfunction033

Disassembly:
mov dword [rsp + 0x20], r9d
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x17]
sub rsp, 0xe0
mov eax, dword [rcx]
mov r12, r8
xor r8d, r8d
mov r15, rcx
mov qword [rsp + 0x40], r8
lea rcx, [rbp - 1]
mov qword [rbp - 0x69], rcx
mov edi, r8d
mov qword [rsp + 0x48], r8
lea rbx, [rdx + rax]
lea r9d, [r8 + 0x10]
mov dword [rbp - 0x71], r9d
mov dword [rbp - 0x6d], r9d
test eax, eax
je 0x14009bdb3
mov esi, dword [r15 + 4]
test esi, esi
je 0x14009bdb3
movzx edx, word [rbx + 2]
mov r14d, dword [rbp + 0x7f]
mov ecx, edx
sub ecx, 1
je 0x14009bc6d
cmp ecx, 1
je 0x14009bbb0
lea rcx, str.ERROR_yvdbdwwplsADumP_getHash___Unknow_SAM_HASH_revision___hu__n
call fcn.14000bdb4
jmp 0x14009bda3
cmp dword [rbx + 4], r9d
jb 0x14009bdb3
mov r9d, reloc.ODBC32.dll_SQLAllocHandle
mov dword [rsp + 0x20], 0xf0000000
xor edx, edx
lea rcx, [rbp - 0x79]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x14009bc09
lea rax, [rbp - 0x79]
mov rcx, r12
mov qword [rsp + 0x30], rax
lea r9d, [rsi - 0x18]
lea rax, [rbp + 0x57]
mov qword [rsp + 0x28], rax
lea r8, [rbx + 0x18]
lea rax, [rbp + 0x5f]
lea rdx, [rbx + 8]
mov qword [rsp + 0x20], rax
call fcn.140004b88
jmp 0x14009bc1f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.ERROR_qmezdwwpcRyPTO_genericAES128Decrypt___CryptAcquireContext__0x_08x__n
call fcn.14000bdb4
xor eax, eax
test eax, eax
je 0x14009bda3
mov eax, dword [rbp + 0x57]
mov ecx, Ordinal_65
mov edx, eax
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x40], eax
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x48], rax
test rax, rax
je 0x14009bc5e
mov r8d, dword [rbp + 0x57]
mov rcx, rax
mov rdx, qword [rbp + 0x5f]
call fcn.1400c49c0
mov edi, 1
mov rcx, qword [rbp + 0x5f]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x14009bd59
cmp esi, 6
jb 0x14009bdb3
lea rcx, [rbp - 0x59]
call qword [sym.imp.cryptdll.dll_MD5Init]
mov r8d, 0x10
lea rcx, [rbp - 0x59]
mov rdx, r12
call qword [sym.imp.cryptdll.dll_MD5Update]
mov r8d, 4
lea rdx, [rbp + 0x6f]
lea rcx, [rbp - 0x59]
call qword [sym.imp.cryptdll.dll_MD5Update]
mov eax, r14d
lea rcx, str.NTPASSWORDHISTORY
neg eax
lea rdx, str.LMPASSWORD
lea rax, str.NTPASSWORD
sbb r8d, r8d
and r8d, 7
add r8d, 0xb
test r14d, r14d
cmovne rax, rcx
lea rcx, str.LMPASSWORDHISTORY
cmovne rdx, rcx
cmp dword [rbp + 0x77], edi
lea rcx, [rbp - 0x59]
cmovne rdx, rax
call qword [sym.imp.cryptdll.dll_MD5Update]
lea rcx, [rbp - 0x59]
call qword [sym.imp.cryptdll.dll_MD5Final]
mov eax, dword [r15 + 4]
mov ecx, Ordinal_65
add eax, 0xfffffffc
mov edx, eax
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x40], eax
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x48], rax
test rax, rax
je 0x14009bdb3
mov r8d, dword [rsp + 0x40]
lea rdx, [rbx + 4]
mov rcx, rax
call fcn.1400c49c0
lea rdx, [rbp - 0x71]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_SystemFunction033]
test eax, eax
setns dil
test eax, eax
jns 0x14009bd59
lea rcx, str.ERROR_yvdbdwwplsADumP_getHash___RtlDecryptData2_n
call fcn.14000bdb4
test edi, edi
je 0x14009bda3
mov r8d, dword [rbp + 0x6f]
lea rcx, str.ntlm
mov edx, dword [rsp + 0x40]
lea rax, str.NTLM
test r14d, r14d
mov dword [rsp + 0x20], r14d
lea r9, str.LM
cmovne rax, rcx
lea rcx, str.lm
cmovne r9, rcx
cmp dword [rbp + 0x77], 0
mov rcx, qword [rsp + 0x48]
cmovne r9, rax
call fcn.1400b1924
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14009bdb3
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, edi
add rsp, 0xe0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret