Function at 0x140006f20
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x3c0]
sub rsp, 0x4c0
mov rax, qword [0x14001c008]
xor rax, rsp
mov qword [rbp + 0x3b0], rax
movups xmm0, xmmword [str.0123456789abcdef]
movzx eax, byte [0x140011150]
xor ebx, ebx
mov rsi, rdx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x8000000
xor r9d, r9d
mov edx, 0x80000000
mov qword [rsp + 0x48], rbx
lea r8d, [rbx + 1]
mov qword [rsp + 0x50], rbx
mov r14, rcx
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x44], ebx
movups xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x68], al
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140006fce
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, r14
lea rcx, str.Error_opening_file__ls_nError:__d_n
mov r8d, eax
mov ebx, eax
call fcn.140001010
jmp 0x140007101
mov r9d, 0x18
mov dword [rsp + 0x20], 0xf0000000
xor r8d, r8d
lea rcx, [rsp + 0x48]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x14000700b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CryptAcquireContext_failed:__d_n
mov ebx, eax
call fcn.140001010
jmp 0x1400070f8
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x800c
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x140007060
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CryptAcquireContext_failed:__d_n
mov ebx, eax
call fcn.140001010
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x48]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x140007101
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rbx
mov r8d, 0x400
lea rdx, [rbp - 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400070ca
mov r8d, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x50]
test r8d, r8d
je 0x140007139
xor r9d, r9d
lea rdx, [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x14000712a
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rbx
mov r8d, 0x400
lea rdx, [rbp - 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140007081
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.ReadFile_failed:__d_n
mov edx, eax
mov ebx, eax
call fcn.140001010
mov rcx, qword [rsp + 0x48]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rcx, qword [rbp + 0x3b0]
xor rcx, rsp
call fcn.1400085d0
lea r11, [rsp + 0x4c0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.CryptHashData_failed:__d_n
jmp 0x1400070d7
lea r9, [rsp + 0x44]
mov dword [rsp + 0x44], 0x40
lea r8, [rsp + 0x70]
mov dword [rsp + 0x20], ebx
mov edx, 2
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x1400071b6
mov r10d, dword [rsp + 0x44]
mov r8d, ebx
mov edx, ebx
test r10d, r10d
je 0x1400071cc
nop dword [rax]
mov eax, edx
mov ecx, r8d
movzx r9d, byte [rsp + rax + 0x70]
mov eax, r9d
shr rax, 4
movzx eax, byte [rsp + rax + 0x58]
cmp byte [rsi + rcx*2], al
jne 0x1400071ac
and r9d, 0xf
lea ecx, [r8 + 1]
movzx eax, byte [rsp + r9 + 0x58]
cmp byte [rsi + rcx*2], al
jne 0x1400071ac
add r8d, 2
inc edx
cmp edx, r10d
jb 0x140007170
jmp 0x1400071cc
mov eax, 0xffffffff
jmp 0x140007103
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CryptGetHashParam_failed:__d_n
mov ebx, eax
call fcn.140001010
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x48]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x1400070f8