Function at 0x1400dd4a4
Capabilities:
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
xor ecx, ecx
mov r13b, r9b
lea rsi, [rax - 0x50]
and r13b, 7
lea rbx, [rax - 0x48]
mov qword [rax - 0x50], rcx
mov qword [rax - 0x48], rcx
mov r12, r9
movsx rax, r13b
sub r12, rax
mov r14d, r8d
mov r15, rdx
mov ebp, ecx
lea edi, [rcx + 1]
cmp r13b, cl
je 0x1400dd506
lea rsi, [r12 - 0x18]
lea rbx, [rsi + 8]
cmp qword [rbx], rcx
jne 0x1400dd74e
cmp r8d, 0xffffcfc7
jne 0x1400dd6f7
lea rdx, [0x140122c0c]
or r8, 0xffffffffffffffff
mov rcx, r12
call fcn.1400617f4
lea rcx, [rsp + 0x50]
mov edx, 0x1c00
xor ebx, ebx
mov dword [rsp + 0x44], 0x400
mov r13d, edi
mov esi, edi
call fcn.1400616c8
mov r11, qword [rsp + 0x50]
lea rcx, [rsp + 0xd8]
lea rax, [r11 + 0x1800]
lea rbp, [r11 + 0x1000]
mov qword [rsp + 0x28], rcx
and qword [rsp + 0x20], rbx
mov qword [rsp + 0x58], rax
lea r15, [r11 + 0x1400]
xor ecx, ecx
jmp 0x1400dd5b2
lea rax, [rsp + 0xd8]
lea r9, [rsp + 0x40]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov ecx, ebx
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.DLL_CryptEnumProviderTypesW]
add ebx, edi
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
mov ecx, ebx
lea r9, [rsp + 0x40]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ADVAPI32.DLL_CryptEnumProviderTypesW]
xor edx, edx
test eax, eax
jne 0x1400dd579
and dword [rsp + 0x20], eax
lea rcx, [rsp + 0x60]
mov r9d, edi
xor r8d, r8d
call qword [sym.imp.ADVAPI32.DLL_CryptAcquireContextW]
test eax, eax
je 0x1400dd6e6
mov rcx, qword [rsp + 0x60]
lea r9, [rsp + 0x44]
mov r8, r15
mov edx, edi
mov dword [rsp + 0x20], r13d
call qword [sym.imp.ADVAPI32.DLL_CryptGetProvParam]
test eax, eax
je 0x1400dd6cd
and dword [rsp + 0x48], 0
mov rcx, qword [rsp + 0x58]
mov r13d, dword [r15]
lea rdx, [r15 + 4]
mov eax, 0x63
mov ebp, dword [rdx + 4]
mov r14d, dword [rdx]
cmp ebp, eax
cmovb eax, ebp
add rdx, 8
mov r8d, eax
mov ebx, eax
call fcn.1400ff0a0
mov rdx, qword [rsp + 0x58]
mov ecx, r13d
and ecx, 0xe000
mov byte [rbx + rdx], 0
cmp ecx, 0x2000
je 0x1400dd68c
cmp ecx, 0x6000
je 0x1400dd683
cmp ecx, 0x8000
je 0x1400dd67a
lea rax, [0x140122c04]
lea r8, [0x140122bfc]
cmp ecx, 0xa000
cmove rax, r8
jmp 0x1400dd693
lea rax, [0x140122bf4]
jmp 0x1400dd693
lea rax, [0x140122bec]
jmp 0x1400dd693
lea rax, [0x140122be4]
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x30], rdx
lea rdx, [0x140122bc8]
mov r9d, r14d
mov r8d, r13d
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rax
call qword [sym.imp.USER32.DLL_wsprintfA]
mov rdx, qword [rsp + 0x50]
mov rcx, r12
call fcn.14006177c
mov r13d, dword [rsp + 0x48]
jmp 0x1400dd6cf
xor esi, esi
test esi, esi
jne 0x1400dd5e5
mov rcx, qword [rsp + 0x60]
xor edx, edx
call qword [sym.imp.ADVAPI32.DLL_CryptReleaseContext]
xor edi, edi
lea rcx, [rsp + 0x50]
call fcn.140059370
mov eax, edi
jmp 0x1400dd85d
lea r8, [0x140122b70]
mov r9d, edi
xor edx, edx
mov rcx, rsi
mov dword [rsp + 0x20], 0xf0000000
call qword [sym.imp.ADVAPI32.DLL_CryptAcquireContextW]
test eax, eax
jne 0x1400dd723
call qword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x1400dd85d
mov rcx, qword [rsi]
xor r9d, r9d
xor r8d, r8d
mov edx, r14d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.DLL_CryptCreateHash]
test eax, eax
jne 0x1400dd74e
call qword [sym.imp.KERNEL32.DLL_GetLastError]
xor r15d, r15d
mov ebp, eax
jmp 0x1400dd837
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rbx]
xor r9d, r9d
mov r8d, r15d
call qword [sym.imp.ADVAPI32.DLL_CryptHashData]
xor r15d, r15d
cmp eax, r15d
jne 0x1400dd77a
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ebp, eax
jmp 0x1400dd837
test r13b, 2
je 0x1400dd787
xor eax, eax
jmp 0x1400dd85d
mov rcx, qword [rbx]
lea r9, [rsp + 0xd8]
lea r8, [rsp + 0x40]
mov edx, 4
mov dword [rsp + 0x40], r15d
mov dword [rsp + 0xd8], 4
mov dword [rsp + 0x20], r15d
call qword [sym.imp.ADVAPI32.DLL_CryptGetHashParam]
mov edx, dword [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.1400616c8
mov r13, qword [rsp + 0x60]
mov eax, dword [rsp + 0x40]
mov rcx, qword [rbx]
lea r9, [rsp + 0xd8]
mov r8, r13
mov edx, 2
mov dword [rsp + 0xd8], eax
mov dword [rsp + 0x20], r15d
call qword [sym.imp.ADVAPI32.DLL_CryptGetHashParam]
mov byte [r12], r15b
mov r14d, r15d
cmp dword [rsp + 0xd8], r15d
jbe 0x1400dd82d
movzx r8d, byte [r13]
lea rdx, [0x14011f0a8]
mov rcx, r12
call qword [sym.imp.USER32.DLL_wsprintfA]
add r14d, edi
add r12, 2
add r13, rdi
cmp r14d, dword [rsp + 0xd8]
jb 0x1400dd804
lea rcx, [rsp + 0x60]
call fcn.140059370
mov rcx, qword [rbx]
cmp rcx, r15
je 0x1400dd848
call qword [sym.imp.ADVAPI32.DLL_CryptDestroyHash]
mov qword [rbx], r15
mov rcx, qword [rsi]
cmp rcx, r15
je 0x1400dd85b
xor edx, edx
call qword [sym.imp.ADVAPI32.DLL_CryptReleaseContext]
mov qword [rsi], r15
mov eax, ebp
mov rbx, qword [rsp + 0xc8]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret