Function at 0x14000ac80
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 [0x140038010]
xor rax, rsp
mov qword [rsp + 0x40], rax
call fcn.14001787c
test rax, rax
je 0x14000aeed
mov rbx, rax
movzx eax, word [rdi + rax*2 - 2]
cmp ax, 0x5c
je 0x14000acc4
cmp ax, 0x2f
jne 0x14000acc8
add rbx, 0xffffffffffffffff
lea rax, [rbx + 2]
add rax, rax
mov rcx, 0xffffffffffffffff
cmovae rcx, rax
call fcn.14000e728
mov r14, rax
lea r8, [rbx + rbx]
add r8, 4
xor r15d, r15d
mov rcx, rax
xor edx, edx
call fcn.140010350
lea r8, [rbx + 1]
mov rcx, r14
mov rdx, rdi
call fcn.140017d44
mov rcx, r14
call fcn.140015cb0
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 0x14000ae36
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 0x14000ae6e
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 0x14000ae76
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 0x14000ae73
mov edi, dword [rsp + 0x28]
mov rcx, rdi
call fcn.14000e728
mov r12, rax
xor r15d, r15d
mov rcx, rax
xor edx, edx
mov r8, rdi
call fcn.140010350
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 0x14000ae76
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14000ae1c
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x38]
mov r15d, 1
test rcx, rcx
je 0x14000ae76
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x14000ae76
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x14000ae76
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 0x14000ad4e
jmp 0x14000ae76
xor r15d, r15d
jmp 0x14000ae76
xor r15d, r15d
mov rcx, r14
call fcn.14000e730
test r15d, r15d
je 0x14000aeed
lea rdx, str.SOFTWAREMozillaMaintenanceService_
mov r8d, 0x104
mov rcx, rsi
call fcn.140017d44
cmp dword [rsp + 0x28], 0
je 0x14000aede
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 0x14000aec0
mov rcx, r12
call fcn.14000e730
mov esi, 1
jmp 0x14000aeef
xor esi, esi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140019770
mov eax, esi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret