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

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
mov eax, 0x20a0
call fcn.140002210
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x2090], rax
mov rdi, qword [rdx]
cmp ecx, 2
mov ecx, 2
mov rbx, rdx
je 0x140001117
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rdi
lea rdx, str.Usage:__s__filename__n
mov rcx, rax
call fcn.140001010
mov eax, 1
jmp 0x1400013d1
mov qword [rsp + 0x20b0], rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rdi
lea rdx, str.ya_zag_antbh_n
mov rcx, rax
call fcn.140001010
mov rsi, qword [rbx + 8]
xor r9d, r9d
xor ebx, ebx
mov edx, 0x80000000
mov qword [rsp + 0x30], rbx
mov r8d, 1
mov dword [rsp + 0x28], 0x80
mov rcx, rsi
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400011a1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 2
mov ebx, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8d, ebx
lea rdx, str.Error_opening_file:__lu_n
mov rcx, rax
call fcn.140001010
mov eax, 1
jmp 0x1400013c9
mov r9d, 0x18
mov qword [rsp + 0x50], rbx
xor r8d, r8d
mov qword [rsp + 0x48], rbx
xor edx, edx
mov dword [rsp + 0x20], 0xf0000000
lea rcx, [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x140001205
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 2
mov ebx, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8d, ebx
lea rdx, str.Error_acquiring_context:__lu_n
mov rcx, rax
call fcn.140001010
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x1400013c9
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x48]
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 0x140001253
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 2
mov ebx, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8d, ebx
lea rdx, str.Error_creating_hash:__lu_n
mov rcx, rax
call fcn.140001010
jmp 0x14000134d
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rbx
mov r8d, 0x2000
lea rdx, [rsp + 0x90]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400012c9
nop dword [rax + rax]
mov r8d, dword [rsp + 0x40]
test r8d, r8d
je 0x1400012c9
mov rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0x90]
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x14000131d
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rbx
mov r8d, 0x2000
lea rdx, [rsp + 0x90]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140001280
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x60]
mov dword [rsp + 0x58], 0x21
mov edx, 2
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x14000136a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 2
mov ebx, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8d, ebx
lea rdx, str.Error_getting_hash_value:__lu_n
mov rcx, rax
call fcn.140001010
jmp 0x1400013a6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 2
mov ebx, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8d, ebx
lea rdx, str.Error_hashing_data:__lu_n
mov rcx, rax
call fcn.140001010
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x50]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x1400013c9
mov rdx, rsi
lea rcx, str.SHA_256_hash_of__s:
call fcn.140001060
nop dword [rax]
movzx edx, byte [rsp + rbx + 0x60]
lea rcx, str._02x
call fcn.140001060
inc rbx
cmp rbx, 0x21
jl 0x140001380
lea rcx, [0x1400032b8]
call fcn.140001060
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x50]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rsi, qword [rsp + 0x20b0]
mov rcx, qword [rsp + 0x2090]
xor rcx, rsp
call fcn.140001410
mov rbx, qword [rsp + 0x20c0]
add rsp, 0x20a0
pop rdi
ret