Function at 0x14000bd60
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.1400176d8
test rax, rax
je 0x14000bfcd
mov rbx, rax
movzx eax, word [rdi + rax*2 - 2]
cmp ax, 0x5c
je 0x14000bda4
cmp ax, 0x2f
jne 0x14000bda8
add rbx, 0xffffffffffffffff
lea rax, [rbx + 2]
add rax, rax
mov rcx, 0xffffffffffffffff
cmovae rcx, rax
call fcn.14000e5ac
mov r14, rax
lea r8, [rbx + rbx]
add r8, 4
xor r15d, r15d
mov rcx, rax
xor edx, edx
call fcn.1400101a0
lea r8, [rbx + 1]
mov rcx, r14
mov rdx, rdi
call fcn.140017ba0
mov rcx, r14
call fcn.140015b00
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 0x14000bf16
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 0x14000bf4e
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 0x14000bf56
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 0x14000bf53
mov edi, dword [rsp + 0x28]
mov rcx, rdi
call fcn.14000e5ac
mov r12, rax
xor r15d, r15d
mov rcx, rax
xor edx, edx
mov r8, rdi
call fcn.1400101a0
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 0x14000bf56
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14000befc
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x38]
mov r15d, 1
test rcx, rcx
je 0x14000bf56
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x14000bf56
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x14000bf56
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 0x14000be2e
jmp 0x14000bf56
xor r15d, r15d
jmp 0x14000bf56
xor r15d, r15d
mov rcx, r14
call fcn.14000e5b4
test r15d, r15d
je 0x14000bfcd
lea rdx, str.SOFTWAREMozillaMaintenanceService_
mov r8d, 0x104
mov rcx, rsi
call fcn.140017ba0
cmp dword [rsp + 0x28], 0
je 0x14000bfbe
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 0x14000bfa0
mov rcx, r12
call fcn.14000e5b4
mov esi, 1
jmp 0x14000bfcf
xor esi, esi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400195d0
mov eax, esi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret