Function at 0x140006d10
Capabilities:
Create new key via cryptacquirecontext
Initialize hashing via wincrypt

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x98
mov dword [rsp + 0x6c], 0
mov dword [rsp + 0x20], 0xf0000000
mov r9d, reloc.ODBC32.dll_SQLAllocHandle
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x140007054
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, dword [rsp + 0xa0]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x140007044
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
xor r8d, r8d
mov edx, 2
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x140007039
mov eax, dword [rsp + 0xc0]
add rax, 4
mov rdx, rax
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
je 0x140007039
mov eax, dword [rsp + 0x40]
mov edx, eax
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
je 0x14000702e
mov eax, dword [rsp + 0x40]
mov edx, eax
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x140007023
mov dword [rsp + 0x6c], 1
mov eax, dword [rsp + 0xc0]
mov r8d, eax
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x70]
call fcn.140161160
mov dword [rsp + 0x50], 1
jmp 0x140006e56
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0xd8], 0
jbe 0x140007018
mov ecx, dword [rsp + 0x50]
call fcn.14013fb44
mov ecx, dword [rsp + 0xc0]
mov rdx, qword [rsp + 0x70]
mov dword [rdx + rcx], eax
mov eax, dword [rsp + 0xc0]
add eax, 4
mov ecx, dword [rsp + 0x40]
mov dword [rsp + 0x30], ecx
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x70]
mov r8d, dword [rsp + 0xb0]
mov rdx, qword [rsp + 0xa8]
mov ecx, dword [rsp + 0xa0]
call fcn.140006af0
mov eax, dword [rsp + 0x40]
mov r8d, eax
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x60]
call fcn.140161160
mov dword [rsp + 0x54], 1
jmp 0x140006ee7
mov eax, dword [rsp + 0x54]
inc eax
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0xc8]
cmp dword [rsp + 0x54], eax
jae 0x140006fa0
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x48]
mov r8d, dword [rsp + 0xb0]
mov rdx, qword [rsp + 0xa8]
mov ecx, dword [rsp + 0xa0]
call fcn.140006af0
mov dword [rsp + 0x44], 0
jmp 0x140006f47
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x44], eax
jae 0x140006f7b
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x44]
mov rdx, qword [rsp + 0x48]
movzx ecx, byte [rdx + rcx]
mov rdx, qword [rsp + 0x60]
movzx eax, byte [rdx + rax]
xor eax, ecx
mov ecx, dword [rsp + 0x44]
mov rdx, qword [rsp + 0x60]
mov byte [rdx + rcx], al
jmp 0x140006f3d
cmp dword [rsp + 0xe0], 0
je 0x140006f9b
mov eax, dword [rsp + 0x40]
mov r8d, eax
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
call fcn.140161160
jmp 0x140006edd
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0xd8], eax
jae 0x140006fba
mov eax, dword [rsp + 0xd8]
mov dword [rsp + 0x68], eax
jmp 0x140006fc2
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x58]
mov r8d, eax
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0xd0]
call fcn.140161160
mov eax, dword [rsp + 0x58]
mov rcx, qword [rsp + 0xd0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xd0], rax
mov eax, dword [rsp + 0x58]
mov ecx, dword [rsp + 0xd8]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0xd8], eax
jmp 0x140006e4c
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
xor edx, edx
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, dword [rsp + 0x6c]
add rsp, 0x98
ret