Function at 0x14007c070
Capabilities:
Hash data via bcrypt

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x4f]
sub rsp, 0x100
mov rax, qword [0x1400b77a8]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov ebx, r9d
mov dword [rbp - 0x79], r8d
mov dword [rbp - 0x69], ebx
mov esi, r8d
mov r15, rdx
mov qword [rbp - 0x49], rdx
mov r12, rcx
mov qword [rbp - 0x41], rcx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
lea rcx, [rbp - 0x29]
mov edi, eax
call fcn.14004eb38
xor r13d, r13d
lea rax, [rbp - 0x31]
mov qword [rbp - 0x39], rax
mov r14d, r13d
xor eax, eax
mov qword [rbp - 0x51], r13
mov dword [rbp - 0x31], eax
cmp dword [rbp + 0xf], r13d
jl 0x14007c28b
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x29]
call fcn.14004ed98
test eax, eax
js 0x14007c28b
mov r13, qword [rbp - 0x39]
xor eax, eax
mov qword [rbp - 0x61], rax
mov r12d, eax
mov qword [rbp - 0x59], rax
mov r15d, eax
mov dword [rbp - 0x6d], eax
mov dword [rbp - 0x75], eax
mov dword [rbp - 0x71], eax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test r13, r13
je 0x14007c272
xor r9d, r9d
lea rdx, str.SHA256
xor r8d, r8d
lea rcx, [rbp - 0x61]
call qword [sym.imp.bcrypt.dll_BCryptOpenAlgorithmProvider]
nop dword [rax + rax]
mov esi, eax
xor eax, eax
test esi, esi
jne 0x14007c1ca
mov rcx, qword [rbp - 0x61]
lea r9d, [r14 + 4]
mov dword [rsp + 0x28], eax
lea r8, [rbp - 0x6d]
lea rax, [rbp - 0x71]
lea rdx, str.ObjectLength
mov qword [rsp + 0x20], rax
call qword [sym.imp.bcrypt.dll_BCryptGetProperty]
nop dword [rax + rax]
mov esi, eax
test eax, eax
jne 0x14007c1ca
mov esi, dword [rbp - 0x6d]
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8d, esi
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapAlloc]
nop dword [rax + rax]
mov r12, rax
xor eax, eax
test r12, r12
jne 0x14007c3aa
mov esi, 0xc0000017
xor r13d, r13d
mov rcx, qword [rbp - 0x61]
test rcx, rcx
je 0x14007c1e4
xor edx, edx
call qword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x59]
test rcx, rcx
je 0x14007c1f9
call qword [sym.imp.bcrypt.dll_BCryptDestroyHash]
nop dword [rax + rax]
test r12, r12
je 0x14007c21e
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, r12
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
nop dword [rax + rax]
test r15, r15
je 0x14007c243
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, r15
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
nop dword [rax + rax]
test esi, esi
je 0x14007c26f
test r14, r14
je 0x14007c26f
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, r14
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
nop dword [rax + rax]
mov r14, r13
mov esi, dword [rbp - 0x79]
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
mov ebx, dword [rbp - 0x69]
mov r15, qword [rbp - 0x49]
mov r12, qword [rbp - 0x41]
lea rdx, [0x140055450]
call fcn.140056498
mov rcx, qword [rax + 8]
cmp dword [rcx], 5
jbe 0x14007c333
movabs rdx, 0x200000000000
call fcn.1400380c4
test al, al
je 0x14007c333
mov eax, dword [rbp + 0x7f]
lea rdx, [0x1400a97e1]
mov dword [rbp - 0x69], eax
mov rax, qword [rbp + 0x77]
mov qword [rbp - 0x41], rax
lea rax, [rbp - 0x69]
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0x41]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x49]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x71]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x79]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x51]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x59]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x61]
mov qword [rsp + 0x20], rax
mov qword [rbp - 0x49], r14
mov dword [rbp - 0x71], ebx
mov dword [rbp - 0x79], esi
mov qword [rbp - 0x51], r15
mov qword [rbp - 0x59], r12
mov qword [rbp - 0x61], 0x1000000
call fcn.14007b808
test r14, r14
je 0x14007c358
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, r14
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
nop dword [rax + rax]
mov rdx, qword [rbp - 0x39]
lea rcx, [rbp - 0x39]
call fcn.140010cb0
lea rcx, [rbp - 0x29]
call fcn.14004eb90
mov ecx, edi
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140013440
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov rcx, qword [rbp - 0x61]
lea r8, [rbp - 0x75]
mov dword [rsp + 0x28], eax
lea rdx, str.HashDigestLength
lea rax, [rbp - 0x71]
mov r9d, 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.bcrypt.dll_BCryptGetProperty]
nop dword [rax + rax]
mov esi, eax
test eax, eax
jne 0x14007c1ca
mov esi, dword [rbp - 0x75]
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8d, esi
mov edx, 8
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapAlloc]
nop dword [rax + rax]
mov r15, rax
xor eax, eax
test r15, r15
je 0x14007c1c5
mov r9d, dword [rbp - 0x6d]
lea rdx, [rbp - 0x59]
mov rcx, qword [rbp - 0x61]
mov r8, r12
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rax
call qword [sym.imp.bcrypt.dll_BCryptCreateHash]
nop dword [rax + rax]
xor ecx, ecx
mov esi, eax
test eax, eax
jne 0x14007c1ca
or rax, 0xffffffffffffffff
inc rax
cmp word [r13 + rax*2], cx
jne 0x14007c44e
mov rcx, qword [rbp - 0x59]
lea r8d, [rax*2 + 2]
xor r9d, r9d
mov rdx, r13
call qword [sym.imp.bcrypt.dll_BCryptHashData]
nop dword [rax + rax]
xor r13d, r13d
mov esi, eax
test eax, eax
jne 0x14007c1cd
mov r8d, dword [rbp - 0x75]
xor r9d, r9d
mov rcx, qword [rbp - 0x59]
mov rdx, r15
call qword [sym.imp.bcrypt.dll_BCryptFinishHash]
nop dword [rax + rax]
mov esi, eax
test eax, eax
jne 0x14007c1cd
mov edx, dword [rbp - 0x75]
lea r8, [rbp - 0x51]
mov rcx, r15
call fcn.14007cb3c
mov r14, qword [rbp - 0x51]
mov esi, eax
jmp 0x14007c1cd