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

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140045010]
xor rax, rsp
mov qword [rsp + 0x40], rax
call fcn.1400220e8
test rax, rax
je 0x14000ddbd
mov rbx, rax
movzx eax, word [rdi + rax*2 - 2]
cmp ax, 0x5c
je 0x14000db94
cmp ax, 0x2f
jne 0x14000db98
add rbx, 0xffffffffffffffff
lea rax, [rbx + 2]
add rax, rax
mov rcx, 0xffffffffffffffff
cmovae rcx, rax
call fcn.140013ea4
mov r14, rax
lea r8, [rbx + rbx]
add r8, 4
xor r15d, r15d
mov rcx, rax
xor edx, edx
call fcn.140016100
lea r8, [rbx + 1]
mov rcx, r14
mov rdx, rdi
call fcn.1400225b0
mov rcx, r14
call fcn.14001f0b0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x20], 0xf0000000
lea rcx, [rsp + 0x38]
xor edx, edx
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x14000dd06
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov edx, 0x8003
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x14000dd3e
add ebx, ebx
mov rcx, qword [rsp + 0x30]
xor r15d, r15d
mov rdx, r14
mov r8d, ebx
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x14000dd46
mov dword [rsp + 0x2c], 4
mov rcx, qword [rsp + 0x30]
mov dword [rsp + 0x20], 0
lea r8, [rsp + 0x28]
lea r9, [rsp + 0x2c]
mov edx, 4
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x14000dd43
mov edi, dword [rsp + 0x28]
mov rcx, rdi
call fcn.140013ea4
mov r12, rax
xor r15d, r15d
mov rcx, rax
xor edx, edx
mov r8, rdi
call fcn.140016100
mov rcx, qword [rsp + 0x30]
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x28]
mov edx, 2
mov r8, r12
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x14000dd46
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14000dcec
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x38]
mov r15d, 1
test rcx, rcx
je 0x14000dd46
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x14000dd46
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x14000dd46
mov dword [rsp + 0x20], 0xf0000008
xor r15d, r15d
lea rcx, [rsp + 0x38]
xor edx, edx
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x14000dc1e
jmp 0x14000dd46
xor r15d, r15d
jmp 0x14000dd46
xor r15d, r15d
mov rcx, r14
call fcn.140013eac
test r15d, r15d
je 0x14000ddbd
lea rdx, str.SOFTWAREMozillaMaintenanceService_
mov r8d, 0x104
mov rcx, rsi
call fcn.1400225b0
cmp dword [rsp + 0x28], 0
je 0x14000ddae
add rsi, 0x48
xor ebx, ebx
lea r14, str._.2x
mov rdi, qword [sym.imp.USER32.dll_wsprintfW]
nop word cs:[rax + rax]
nop dword [rax]
movzx r8d, byte [r12 + rbx]
mov rcx, rsi
mov rdx, r14
call rdi
add rsi, 4
add rbx, 1
mov eax, dword [rsp + 0x28]
cmp rbx, rax
jb 0x14000dd90
mov rcx, r12
call fcn.140013eac
mov esi, 1
jmp 0x14000ddbf
xor esi, esi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140023fe0
mov eax, esi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret