Function at 0x14000bb50
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.1400174c8
test rax, rax
je 0x14000bdbd
mov rbx, rax
movzx eax, word [rdi + rax*2 - 2]
cmp ax, 0x5c
je 0x14000bb94
cmp ax, 0x2f
jne 0x14000bb98
add rbx, 0xffffffffffffffff
lea rax, [rbx + 2]
add rax, rax
mov rcx, 0xffffffffffffffff
cmovae rcx, rax
call fcn.14000e39c
mov r14, rax
lea r8, [rbx + rbx]
add r8, 4
xor r15d, r15d
mov rcx, rax
xor edx, edx
call fcn.14000ff90
lea r8, [rbx + 1]
mov rcx, r14
mov rdx, rdi
call fcn.140017990
mov rcx, r14
call fcn.1400158f0
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 0x14000bd06
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 0x14000bd3e
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 0x14000bd46
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 0x14000bd43
mov edi, dword [rsp + 0x28]
mov rcx, rdi
call fcn.14000e39c
mov r12, rax
xor r15d, r15d
mov rcx, rax
xor edx, edx
mov r8, rdi
call fcn.14000ff90
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 0x14000bd46
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14000bcec
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x38]
mov r15d, 1
test rcx, rcx
je 0x14000bd46
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x14000bd46
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x14000bd46
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 0x14000bc1e
jmp 0x14000bd46
xor r15d, r15d
jmp 0x14000bd46
xor r15d, r15d
mov rcx, r14
call fcn.14000e3a4
test r15d, r15d
je 0x14000bdbd
lea rdx, str.SOFTWAREMozillaMaintenanceService_
mov r8d, 0x104
mov rcx, rsi
call fcn.140017990
cmp dword [rsp + 0x28], 0
je 0x14000bdae
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 0x14000bd90
mov rcx, r12
call fcn.14000e3a4
mov esi, 1
jmp 0x14000bdbf
xor esi, esi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400193c0
mov eax, esi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret