Function at 0x14000ae48
Capabilities:
Hash data via bcrypt

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140036950]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor r15d, r15d
mov r13, rdx
lea rdx, [0x140037550]
mov r14, r9
mov r12d, r8d
mov ebx, r15d
lea ecx, [r15 + 0x18]
call fcn.1400260bc
mov rsi, rax
test rax, rax
je 0x14000aea1
mov qword [rax], r15
mov qword [rax + 8], r15
mov qword [rax + 0x10], r15
jmp 0x14000aea4
mov rsi, r15
test rsi, rsi
jne 0x14000aeb3
mov edi, 0x8007000e
jmp 0x14000b0f6
lea r15, [rsi + 8]
xor r9d, r9d
mov rcx, r15
lea r8, str.Microsoft_Primitive_Provider
lea rdx, str.SHA1
call qword [sym.imp.bcrypt.dll_BCryptOpenAlgorithmProvider]
nop dword [rax + rax]
mov edi, eax
or edi, 0x10000000
jl 0x14000af6b
and dword [rsp + 0x28], ebx
lea rax, [rbp - 0x2c]
mov rcx, qword [r15]
lea r8, [rbp - 0x30]
mov r9d, 4
mov qword [rsp + 0x20], rax
lea rdx, str.ObjectLength
call qword [sym.imp.bcrypt.dll_BCryptGetProperty]
nop dword [rax + rax]
mov edi, eax
or edi, 0x10000000
jl 0x14000af6b
mov ecx, dword [rbp - 0x30]
lea rdx, [0x140037550]
call fcn.1400260e0
xor edi, edi
mov qword [rsi], rax
test rax, rax
jne 0x14000af3c
mov edi, 0x8007000e
jmp 0x14000af6f
mov r9d, dword [rbp - 0x30]
lea rdx, [rsi + 0x10]
mov rcx, qword [r15]
mov r8, rax
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.bcrypt.dll_BCryptCreateHash]
nop dword [rax + rax]
or eax, 0x10000000
cmovl edi, eax
test edi, edi
jns 0x14000afb4
mov rcx, qword [rsi + 0x10]
test rcx, rcx
je 0x14000af84
call qword [sym.imp.bcrypt.dll_BCryptDestroyHash]
nop dword [rax + rax]
mov rcx, qword [r15]
xor r15d, r15d
test rcx, rcx
je 0x14000af9d
xor edx, edx
call qword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
nop dword [rax + rax]
mov rcx, qword [rsi]
call fcn.14002527c
mov edx, 0x18
mov rcx, rsi
call fcn.14002527c
jmp 0x14000afbd
xor r15d, r15d
mov rbx, rsi
mov edi, r15d
test edi, edi
js 0x14000b0f6
movups xmm0, xmmword [0x14002b280]
xor r9d, r9d
movd ecx, xmm0
movups xmmword [rbp - 0x28], xmm0
rol word [rbp - 0x24], 8
lea r8d, [r9 + 0x10]
rol word [rbp - 0x22], 8
mov edx, ecx
and edx, 0xff0000
mov eax, ecx
shr eax, 0x10
or edx, eax
mov eax, ecx
and eax, 0xff00
shl ecx, 0x10
or eax, ecx
shr edx, 8
shl eax, 8
or edx, eax
mov dword [rbp - 0x28], edx
lea rdx, [rbp - 0x28]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.bcrypt.dll_BCryptHashData]
nop dword [rax + rax]
mov edi, eax
mov esi, 0x10000000
or edi, esi
cmovge edi, r15d
test edi, edi
cmovns edi, r15d
test edi, edi
js 0x14000b0f6
mov rcx, qword [rbx + 0x10]
xor r9d, r9d
mov r8d, r12d
mov rdx, r13
call qword [sym.imp.bcrypt.dll_BCryptHashData]
nop dword [rax + rax]
or eax, esi
mov edi, r15d
cmovl edi, eax
test edi, edi
cmovns edi, r15d
test edi, edi
js 0x14000b0f6
mov rcx, qword [rbx + 0x10]
lea rdx, [rbp - 0x28]
xor r9d, r9d
lea r8d, [r9 + 0x14]
call qword [sym.imp.bcrypt.dll_BCryptFinishHash]
nop dword [rax + rax]
mov edi, eax
or edi, esi
cmovge edi, r15d
test edi, edi
cmovns edi, r15d
test edi, edi
js 0x14000b0f6
mov edx, 0x10
lea r8, [rbp - 0x28]
mov r9d, edx
mov rcx, r14
call fcn.140001234
test eax, eax
je 0x14000b0b5
mov edi, 0x8000ffff
jmp 0x14000b0f6
mov eax, dword [r14]
mov ecx, 0xfff
bswap eax
mov dword [r14], eax
mov edi, r15d
movzx eax, word [r14 + 4]
rol ax, 8
mov word [r14 + 4], ax
movzx eax, word [r14 + 6]
and byte [r14 + 8], 0x3f
rol ax, 8
and ax, cx
mov ecx, 0x5000
or ax, cx
or byte [r14 + 8], 0x80
mov word [r14 + 6], ax
test rbx, rbx
je 0x14000b13c
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14000b110
call qword [sym.imp.bcrypt.dll_BCryptDestroyHash]
nop dword [rax + rax]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14000b127
xor edx, edx
call qword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
nop dword [rax + rax]
mov rcx, qword [rbx]
call fcn.14002527c
mov edx, 0x18
mov rcx, rbx
call fcn.14002527c
mov eax, edi
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140024de0
mov rbx, qword [rsp + 0xb0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret