Function at 0x14000da80
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.140021f88
test rax, rax
je 0x14000dced
mov rbx, rax
movzx eax, word [rdi + rax*2 - 2]
cmp ax, 0x5c
je 0x14000dac4
cmp ax, 0x2f
jne 0x14000dac8
add rbx, 0xffffffffffffffff
lea rax, [rbx + 2]
add rax, rax
mov rcx, 0xffffffffffffffff
cmovae rcx, rax
call fcn.140013d44
mov r14, rax
lea r8, [rbx + rbx]
add r8, 4
xor r15d, r15d
mov rcx, rax
xor edx, edx
call fcn.140015fa0
lea r8, [rbx + 1]
mov rcx, r14
mov rdx, rdi
call fcn.140022450
mov rcx, r14
call fcn.14001ef50
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 0x14000dc36
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 0x14000dc6e
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 0x14000dc76
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 0x14000dc73
mov edi, dword [rsp + 0x28]
mov rcx, rdi
call fcn.140013d44
mov r12, rax
xor r15d, r15d
mov rcx, rax
xor edx, edx
mov r8, rdi
call fcn.140015fa0
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 0x14000dc76
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14000dc1c
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x38]
mov r15d, 1
test rcx, rcx
je 0x14000dc76
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x14000dc76
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x14000dc76
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 0x14000db4e
jmp 0x14000dc76
xor r15d, r15d
jmp 0x14000dc76
xor r15d, r15d
mov rcx, r14
call fcn.140013d4c
test r15d, r15d
je 0x14000dced
lea rdx, str.SOFTWAREMozillaMaintenanceService_
mov r8d, 0x104
mov rcx, rsi
call fcn.140022450
cmp dword [rsp + 0x28], 0
je 0x14000dcde
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 0x14000dcc0
mov rcx, r12
call fcn.140013d4c
mov esi, 1
jmp 0x14000dcef
xor esi, esi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140023e80
mov eax, esi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret