Function at 0x1400f5790
Capabilities:
Hash data via bcrypt

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x14057b900]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov eax, dword [rsp + 0xe0]
xor edi, edi
mov qword [rsp + 0x58], rdi
mov r15, r9
mov qword [rsp + 0x60], rdi
mov r12, r8
mov dword [rsp + 0x6c], edi
mov ebp, edx
mov dword [rsp + 0x68], edi
mov rsi, rcx
mov dword [rsp + 0x50], edi
mov r14d, edi
sub eax, 1
je 0x1400f5825
sub eax, 1
je 0x1400f581c
sub eax, 1
je 0x1400f5813
sub eax, 1
je 0x1400f580a
cmp eax, 1
je 0x1400f5801
mov eax, 0xc000000d
jmp 0x1400f5adb
lea rdx, [0x140513508]
jmp 0x1400f582c
lea rdx, [0x140513518]
jmp 0x1400f582c
lea rdx, [0x1404f7378]
jmp 0x1400f582c
lea rdx, [0x1405134f0]
jmp 0x1400f582c
lea rdx, [0x1405134f8]
xor r9d, r9d
lea rcx, [rsp + 0x58]
xor r8d, r8d
call qword [sym.imp.bcrypt.dll_BCryptOpenAlgorithmProvider]
mov ebx, eax
test eax, eax
jns 0x1400f585a
call fcn.14002c3f0
lea rcx, str._Error_0x_x_returned_by_BCryptOpenAlgorithmProvider___Hash
mov r9d, 0x6f
jmp 0x1400f5a75
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x6c]
mov dword [rsp + 0x28], edi
lea r8, [rsp + 0x50]
mov r9d, 4
mov qword [rsp + 0x20], rax
lea rdx, str.ObjectLength
call qword [sym.imp.bcrypt.dll_BCryptGetProperty]
mov ebx, eax
test eax, eax
jns 0x1400f58a2
call fcn.14002c3f0
lea rcx, str._Error_0x_x_returned_by_BCryptGetProperty_getting_object_length
mov r9d, 0x76
jmp 0x1400f5a75
mov ecx, dword [rsp + 0x50]
call fcn.14016cba4
mov r14, rax
test rax, rax
jne 0x1400f58f9
call fcn.14002c3f0
lea rcx, str._memory_allocation_failed
mov qword [rsp + 0x30], rcx
lea r9d, [r14 + 0x7f]
lea rcx, str.MbCommonSigCRYPTUSR
mov r10, qword [rax]
lea r8, str.D:JenkinsworkspaceN_MBCommon_vs2022_srcmbcommonCryptoUser.cpp
mov qword [rsp + 0x28], rcx
lea rdx, str.MbHashMemory
mov rcx, rax
mov dword [rsp + 0x20], 2
call qword [r10 + 0x20]
jmp 0x1400f5aaa
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x6c]
mov dword [rsp + 0x28], edi
lea r8, [rsp + 0x68]
mov r9d, 4
mov qword [rsp + 0x20], rax
lea rdx, str.HashDigestLength
call qword [sym.imp.bcrypt.dll_BCryptGetProperty]
mov ebx, eax
test eax, eax
jns 0x1400f5941
call fcn.14002c3f0
lea rcx, str._Error_0x_x_returned_by_BCryptGetProperty_getting_hash_length
mov r9d, 0x86
jmp 0x1400f5a75
mov eax, dword [rsp + 0x68]
cmp dword [r15], eax
jae 0x1400f59a6
mov ebx, 0xc000000d
call fcn.14002c3f0
mov ecx, dword [rsp + 0x68]
lea r8, str.D:JenkinsworkspaceN_MBCommon_vs2022_srcmbcommonCryptoUser.cpp
mov dword [rsp + 0x40], ecx
lea rdx, str.MbHashMemory
mov ecx, dword [r15]
mov r9d, 0x8e
mov r10, qword [rax]
mov dword [rsp + 0x38], ecx
lea rcx, str._Invalid_hash_size:__u__need__u
mov qword [rsp + 0x30], rcx
lea rcx, str.MbCommonSigCRYPTUSR
mov qword [rsp + 0x28], rcx
mov rcx, rax
mov dword [rsp + 0x20], 2
call qword [r10 + 0x20]
jmp 0x1400f5aaa
test r12, r12
jne 0x1400f59cc
mov ebx, 0xc000000d
call fcn.14002c3f0
lea rcx, str._Invalid_hash_buffer:__p
mov qword [rsp + 0x38], rdi
mov r9d, 0x95
jmp 0x1400f5a79
mov r9d, dword [rsp + 0x50]
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
mov r8, r14
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
mov dword [r15], eax
call qword [sym.imp.bcrypt.dll_BCryptCreateHash]
mov ebx, eax
test eax, eax
jns 0x1400f5a0e
call fcn.14002c3f0
lea rcx, str._Error_0x_x_returned_by_BCryptCreateHash
mov r9d, 0x9e
jmp 0x1400f5a75
test ebp, ebp
je 0x1400f5a49
nop dword [rax]
nop word [rax + rax]
mov r8d, dword [rsi + 8]
xor r9d, r9d
mov rdx, qword [rsi]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.bcrypt.dll_BCryptHashData]
mov ebx, eax
test eax, eax
js 0x1400f5afa
inc edi
add rsi, 0x10
cmp edi, ebp
jb 0x1400f5a20
mov r8d, dword [r15]
xor r9d, r9d
mov rcx, qword [rsp + 0x60]
mov rdx, r12
call qword [sym.imp.bcrypt.dll_BCryptFinishHash]
mov ebx, eax
test eax, eax
jns 0x1400f5aaa
call fcn.14002c3f0
lea rcx, str._Error_0x_x_returned_by_BCryptFinishHash
mov r9d, 0xad
mov dword [rsp + 0x38], ebx
mov r10, qword [rax]
lea r8, str.D:JenkinsworkspaceN_MBCommon_vs2022_srcmbcommonCryptoUser.cpp
mov qword [rsp + 0x30], rcx
lea rdx, str.MbHashMemory
lea rcx, str.MbCommonSigCRYPTUSR
mov qword [rsp + 0x28], rcx
mov rcx, rax
mov dword [rsp + 0x20], 2
call qword [r10 + 0x20]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400f5abc
xor edx, edx
call qword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1400f5acc
call qword [sym.imp.bcrypt.dll_BCryptDestroyHash]
test r14, r14
je 0x1400f5ad9
mov rcx, r14
call fcn.14016046c
mov eax, ebx
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14014f4f0
add rsp, 0x80
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.14002c3f0
lea rcx, str._Error_0x_x_returned_by_BCryptHashData
mov r9d, 0xa6
jmp 0x1400f5a75