Function at 0x1400d63ec
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
mov r11, rsp
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x68
xor eax, eax
xor r14d, r14d
or ebx, 0xffffffff
mov byte [r11 - 0x58], r14b
mov qword [r11 - 0x57], rax
lea ebp, [rax + 1]
mov edi, edx
mov dword [rsp + 0x59], eax
mov word [rsp + 0x5d], ax
mov dword [r11 + 0x10], ebp
mov byte [rsp + 0x5f], al
mov dword [r11 - 0x70], r14d
mov dword [r11 + 8], ecx
mov byte [r11 + 0x18], r14b
mov word [r11 + 0x19], ax
mov byte [r11 + 0x1b], al
mov dword [r11 - 0x78], r14d
mov dword [r11 - 0x74], r14d
mov dword [r11 + 0x20], r14d
lea esi, [rax + 4]
mov r12, 0xffffffff80000002
test dl, 0x10
je 0x1400d645d
mov ebx, r14d
jmp 0x1400d6919
lea rax, [rsp + 0xb8]
lea r9, [rsp + 0x30]
lea r8, [0x14011b558]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xc8]
lea rdx, [0x14010e818]
mov rcx, r12
and edi, 0xffffffef
mov dword [rsp + 0xb8], esi
mov qword [rsp + 0x20], rax
call qword [fcn.14012cd30]
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x34]
lea r9, [rsp + 0x30]
lea r8, [0x14011b548]
lea rdx, [0x14011b500]
mov rcx, r12
mov qword [rsp + 0x20], rax
mov dword [rsp + 0xb8], esi
call qword [fcn.14012cd30]
lea r15, [0x14012d0c0]
cmp eax, r14d
jne 0x1400d6540
mov ebx, dword [rsp + 0x34]
cmp ebx, dword [rsp + 0xb0]
jne 0x1400d6526
mov eax, dword [rsp + 0xc8]
lea r8, [0x14011b4e8]
lea rdx, [0x14011b4b8]
mov r9d, edi
mov rcx, r15
mov dword [rsp + 0x20], eax
call fcn.1400180a0
cmp edi, r14d
jne 0x1400d6526
cmp dword [rsp + 0xc8], ebp
je 0x1400d6954
mov r12d, dword [rsp + 0x30]
cmp r12d, esi
je 0x1400d6536
cmp r12d, 3
jne 0x1400d6540
mov r13d, dword [rsp + 0xb8]
jmp 0x1400d654e
mov r12d, 3
mov r13d, ebp
mov dword [rsp + 0x30], r12d
lea rax, [rsp + 0xb8]
lea r9, [rsp + 0x30]
lea r8, [0x14011b4a8]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
lea rdx, [0x14011b488]
mov rcx, 0xffffffff80000002
mov dword [rsp + 0xb8], esi
mov qword [rsp + 0x20], rax
call qword [fcn.14012cd30]
lea rcx, [rsp + 0x40]
mov r9d, ebp
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], r14
mov dword [rsp + 0x20], r14d
call qword [sym.imp.ADVAPI32.DLL_CryptAcquireContextW]
mov edi, eax
cmp eax, r14d
jne 0x1400d6625
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea rdx, [0x14011b478]
xor r9d, r9d
mov rcx, r15
mov r8d, eax
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
call fcn.140025258
cmp dword [rsp + 0xb0], r14d
je 0x1400d6618
mov rcx, qword [rsp + 0x40]
bts ebx, 0xc
cmp rcx, r14
je 0x1400d65fa
xor edx, edx
call qword [sym.imp.ADVAPI32.DLL_CryptReleaseContext]
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x40], r14
cmp rcx, r14
je 0x1400d6954
call qword [sym.imp.ADVAPI32.DLL_CryptDestroyHash]
jmp 0x1400d6954
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, eax
jmp 0x1400d67be
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x48]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8003
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.DLL_CryptCreateHash]
mov ebp, 2
mov edi, eax
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, eax
cmp edi, r14d
jne 0x1400d6696
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea rdx, [0x14011b468]
xor r9d, r9d
mov r8d, eax
mov rcx, r15
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
call fcn.140025258
mov rcx, qword [rsp + 0x40]
cmp dword [rsp + 0xb0], r14d
je 0x1400d67c3
jmp 0x1400d65e9
mov al, byte [rsp + 0xb0]
mov rcx, qword [rsp + 0x48]
xor r9d, r9d
lea r8d, [r9 + 4]
lea rdx, [rsp + 0xc0]
mov byte [rsp + 0xc0], r14b
mov byte [rsp + 0xc1], al
mov byte [rsp + 0xc2], r14b
mov byte [rsp + 0xc3], r14b
call qword [sym.imp.ADVAPI32.DLL_CryptHashData]
mov ebp, 3
mov edi, eax
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, eax
cmp edi, r14d
jne 0x1400d66fc
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea rdx, [0x14011b458]
jmp 0x1400d6666
mov rcx, qword [rsp + 0x48]
xor r9d, r9d
lea rdx, [rsp + 0x38]
lea esi, [r9 + 4]
mov r8d, esi
call qword [sym.imp.ADVAPI32.DLL_CryptHashData]
mov ebp, esi
mov edi, eax
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, eax
cmp edi, r14d
jne 0x1400d6739
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea rdx, [0x14011b448]
jmp 0x1400d6666
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0xb8]
lea r8, [rsp + 0x50]
mov edx, 2
mov dword [rsp + 0xb8], 0x10
mov dword [rsp + 0x20], r14d
call qword [sym.imp.ADVAPI32.DLL_CryptGetHashParam]
mov ebp, 5
mov edi, eax
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, eax
cmp edi, r14d
jne 0x1400d678c
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea rdx, [0x14011b438]
jmp 0x1400d6666
lea rax, [rsp + 0x50]
lea r8, [0x14011b420]
lea rdx, [0x14011b3c0]
mov r9d, 3
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x28], 0x10
mov qword [rsp + 0x20], rax
call fcn.140058be0
mov rcx, qword [rsp + 0x40]
cmp rcx, r14
je 0x1400d67d0
xor edx, edx
call qword [sym.imp.ADVAPI32.DLL_CryptReleaseContext]
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x40], r14
cmp rcx, r14
je 0x1400d67e5
call qword [sym.imp.ADVAPI32.DLL_CryptDestroyHash]
lea rax, [rsp + 0xb0]
lea r8, [0x14011b548]
lea rdx, [0x14011b370]
mov r9d, r12d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], rax
call fcn.140058be0
lea rax, [rsp + 0xb0]
lea r8, [0x14011b548]
lea rdx, [0x14011b320]
mov r9d, r12d
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], rax
call fcn.140058be0
lea rax, [rsp + 0xb0]
lea r8, [0x14011b548]
lea rdx, [0x14011b370]
mov r9d, r12d
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], rax
call fcn.140058be0
mov r13d, 7
mov r12d, eax
cmp edi, r14d
je 0x1400d688b
mov ebp, r13d
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, eax
cmp r12d, r14d
jne 0x1400d68ca
cmp edi, r14d
je 0x1400d68b7
cmp dword [rsp + 0xb0], r14d
jne 0x1400d6901
lea r8, [0x14011b310]
lea rdx, [0x14011b2f0]
mov rcx, r15
call fcn.1400180a0
jmp 0x1400d6901
cmp dword [rsp + 0xb0], r14d
jne 0x1400d6901
lea r8, [0x14011b2e0]
jmp 0x1400d68eb
cmp edi, r14d
je 0x1400d68da
mov ebp, r13d
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, eax
cmp dword [rsp + 0xb0], r14d
jne 0x1400d6901
lea r8, [0x14011b2d0]
lea rdx, [0x14011b2a0]
mov r9d, ebp
mov rcx, r15
mov dword [rsp + 0x20], esi
call fcn.1400180a0
mov ebp, 1
cmp dword [rsp + 0xc8], ebp
je 0x1400d6954
lea esi, [rbp + 3]
mov r12, 0xffffffff80000002
cmp dword [rsp + 0xb0], r14d
jne 0x1400d6954
lea rax, [rsp + 0xc8]
lea r8, [0x14011b558]
lea rdx, [0x14011b278]
mov r9d, esi
mov rcx, r12
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rax
mov dword [rsp + 0xc8], ebp
call fcn.140058be0
mov eax, ebx
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret