Function at 0x7ff6c5d84d00
Capabilities:
Hash data via bcrypt

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov rax, qword [0x7ff6c5e036d8]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rbx, r8
mov rdi, rcx
mov qword [rbp - 0x19], rcx
xor r14d, r14d
mov dword [rbp - 0x21], r14d
mov qword [rbp - 0x29], r14
mov qword [rbp - 0x31], r14
mov qword [rcx], r14
mov qword [rcx + 8], r14
mov qword [rcx + 0x10], r14
mov dword [rbp - 0x21], 1
mov dword [rbp - 0x35], r14d
mov dword [rbp - 0x1d], r14d
lea rcx, [rbp + 0xf]
call fcn.7ff6c5d61250
nop
mov rdx, rbx
lea rcx, [rbp - 0x11]
call fcn.7ff6c5d61250
nop
lea r9d, [r14 + 8]
xor r8d, r8d
lea rdx, [0x7ff6c5daf8e8]
lea rcx, [rbp - 0x29]
call sub.bcrypt.dll_BCryptOpenAlgorithmProvider
test eax, eax
js 0x7ff6c5d84e75
mov dword [rsp + 0x28], r14d
lea rax, [rbp - 0x1d]
mov qword [rsp + 0x20], rax
lea r9d, [r14 + 4]
lea r8, [rbp - 0x35]
lea rdx, [0x7ff6c5daf8f8]
mov rcx, qword [rbp - 0x29]
call sub.bcrypt.dll_BCryptGetProperty
test eax, eax
js 0x7ff6c5d84e75
mov ebx, dword [rbp - 0x35]
mov rsi, qword [rdi + 8]
mov rdx, qword [rdi]
mov rcx, rsi
sub rcx, rdx
cmp rbx, rcx
jae 0x7ff6c5d84dd3
lea rax, [rdx + rbx]
jmp 0x7ff6c5d84e06
jbe 0x7ff6c5d84e0a
mov rax, qword [rdi + 0x10]
sub rax, rdx
cmp rbx, rax
jbe 0x7ff6c5d84df2
lea r8, [rbp - 0x39]
mov rdx, rbx
mov rcx, rdi
call fcn.7ff6c5d677b0
jmp 0x7ff6c5d84e0a
sub rbx, rcx
mov r8, rbx
xor edx, edx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memset
lea rax, [rsi + rbx]
mov qword [rdi + 8], rax
lea rcx, [rbp + 0xf]
cmp qword [rbp + 0x27], 0x10
cmovae rcx, qword [rbp + 0xf]
mov dword [rsp + 0x30], r14d
mov eax, dword [rbp + 0x1f]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x31]
mov rcx, qword [rbp - 0x29]
call sub.bcrypt.dll_BCryptCreateHash
test eax, eax
js 0x7ff6c5d84e75
lea rdx, [rbp - 0x11]
cmp qword [rbp + 7], 0x10
cmovae rdx, qword [rbp - 0x11]
xor r9d, r9d
mov r8d, dword [rbp - 1]
mov rcx, qword [rbp - 0x31]
call sub.bcrypt.dll_BCryptHashData
test eax, eax
js 0x7ff6c5d84e75
xor r9d, r9d
mov r8d, dword [rbp - 0x35]
mov rdx, qword [rdi]
mov rcx, qword [rbp - 0x31]
call sub.bcrypt.dll_BCryptFinishHash
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x7ff6c5d84e83
call sub.bcrypt.dll_BCryptDestroyHash
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x7ff6c5d84e94
xor edx, edx
call sub.bcrypt.dll_BCryptCloseAlgorithmProvider
nop
mov rdx, qword [rbp + 7]
cmp rdx, 0x10
jb 0x7ff6c5d84ed2
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff6c5d84ecd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff6c5d84ecd
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff6c5d5e4b0
mov qword [rbp - 1], r14
mov qword [rbp + 7], 0xf
mov byte [rbp - 0x11], 0
mov rdx, qword [rbp + 0x27]
cmp rdx, 0x10
jb 0x7ff6c5d84f20
inc rdx
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff6c5d84f1b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff6c5d84f1b
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff6c5d5e4b0
mov rax, rdi
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.7ff6c5d967d0
add rsp, 0xb0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret