Function at 0x10006b30
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt
Print debug messages
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1008fbe8
push 0x1005aa50
mov eax, dword fs:[0]
push eax
sub esp, 0x46c
mov eax, dword [0x1009cbc0]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x474], 0
mov dword [ebp - 0x470], 0x22
mov byte [ebp - 0x460], 0
push 0x3ff
push 0
lea eax, [ebp - 0x45f]
push eax
call fcn.10055aa0
mov dword [ebp - 0x468], 0
mov dword [ebp - 0x464], 0
mov dword [ebp - 0x46c], 0xffffffff
mov byte [ebp - 0x60], 0
push 0x41
push 0
lea eax, [ebp - 0x5f]
push eax
call fcn.10055aa0
add esp, 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 4], 1
test esi, esi
je 0x10006f35
cmp word [esi], 0
je 0x10006f35
push 0
push 0x8000000
push 3
push 0
push 3
push 0x80000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov dword [ebp - 0x46c], ebx
cmp ebx, 0xffffffff
jne 0x10006c36
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x1009cbc0
call fcn.10062b20
add esp, 0xc
lea eax, [esi + 0x1e]
jmp 0x100070b5
push 0xf0000000
push 0x18
push 0
push 0
lea eax, [ebp - 0x468]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x10006d09
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov ebx, eax
call esi
lea edi, [eax + 0x1e]
push 0x1000a
call fcn.1005218a
add esp, 4
mov esi, eax
test esi, esi
jne 0x10006c92
push str.Memory_allocation_error_in_log_file_n
call fcn.10052604
add esp, 4
push str.Memory_allocation_error_in_log_file_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x10006cee
push 0x100865c0
push 0xffff
push esi
call fcn.10052136
add esp, 0xc
push edi
test eax, eax
jle 0x10006ccd
mov byte [esi + 0xffff], 0
push esi
push str.GetFileSHA256
push 1
mov edx, 0x18b
mov ecx, str...ApiAuxNA.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x10006ce5
push str.Error__d_in_swprintf_s_n
call fcn.10052604
add esp, 8
push str.Error_in_swprintf_s_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call fcn.10052152
add esp, 4
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x1009cbc0
call fcn.10062b20
add esp, 0xc
lea eax, [ebx + 0x1e]
jmp 0x100070b5
lea eax, [ebp - 0x464]
push eax
push 0
push 0
push 0x800c
push dword [ebp - 0x468]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x10006d91
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov ebx, eax
call esi
lea edi, [eax + 0x1e]
push 0x1000a
call fcn.1005218a
add esp, 4
mov esi, eax
test esi, esi
je 0x10006c78
push 0x100865c0
push 0xffff
push esi
call fcn.10052136
add esp, 0xc
push edi
test eax, eax
jle 0x10006ccd
mov byte [esi + 0xffff], 0
push esi
push str.GetFileSHA256
push 1
mov edx, 0x18e
mov ecx, str...ApiAuxNA.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x10006ce5
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [ebp - 0x474]
push eax
push 0x400
lea eax, [ebp - 0x460]
push eax
push ebx
call esi
test eax, eax
je 0x10006e4b
mov ecx, dword [ebp - 0x474]
test ecx, ecx
je 0x10006e47
push 0
push ecx
lea eax, [ebp - 0x460]
push eax
push dword [ebp - 0x464]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x10006d97
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov ebx, eax
call esi
lea edi, [eax + 0x1e]
push 0x1000a
call fcn.1005218a
add esp, 4
mov esi, eax
test esi, esi
je 0x10006c78
push 0x100865c0
push 0xffff
push esi
call fcn.10052136
add esp, 0xc
push edi
test eax, eax
jle 0x10006ccd
mov byte [esi + 0xffff], 0
push esi
push str.GetFileSHA256
push 1
mov edx, 0x196
mov ecx, str...ApiAuxNA.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x10006ce5
test eax, eax
jne 0x10006eb3
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov ebx, eax
call esi
lea edi, [eax + 0x1e]
push 0x1000a
call fcn.1005218a
add esp, 4
mov esi, eax
test esi, esi
je 0x10006c78
push 0x100865c0
push 0xffff
push esi
call fcn.10052136
add esp, 0xc
push edi
test eax, eax
jle 0x10006ccd
mov byte [esi + 0xffff], 0
push esi
push str.GetFileSHA256
push 1
mov edx, 0x199
mov ecx, str...ApiAuxNA.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x10006ce5
push 0
lea eax, [ebp - 0x470]
push eax
lea eax, [ebp - 0x60]
push eax
push 2
push dword [ebp - 0x464]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x10006f1b
xor esi, esi
mov dword [ebp - 0x478], esi
cmp esi, 0x42
jae 0x10006f1b
cmp esi, dword [ebp - 0x470]
jae 0x10006f1b
movzx eax, byte [ebp + esi - 0x60]
push eax
push str._02X
push edi
call fcn.10001ba0
add esp, 0xc
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10006f00
sub ecx, edx
sar ecx, 1
lea edi, [edi + ecx*2]
mov dword [ebp - 0x47c], edi
inc esi
jmp 0x10006ed4
mov dword [ebp - 4], 0
call fcn.10006fe2
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
jmp 0x100070b5
push 0x1000a
call fcn.1005218a
add esp, 4
mov esi, eax
test esi, esi
jne 0x10006f62
push str.Memory_allocation_error_in_log_file_n
call fcn.10052604
add esp, 4
push str.Memory_allocation_error_in_log_file_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x10006fbf
push 0x100865c0
push 0xffff
push esi
call fcn.10052136
add esp, 0xc
push 8
test eax, eax
jle 0x10006f9e
mov byte [esi + 0xffff], 0
push esi
push str.GetFileSHA256
push 1
mov edx, 0x183
mov ecx, str...ApiAuxNA.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x10006fb6
push str.Error__d_in_swprintf_s_n
call fcn.10052604
add esp, 8
push str.Error_in_swprintf_s_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call fcn.10052152
add esp, 4
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x1009cbc0
call fcn.10062b20
add esp, 0xc
mov eax, 8
jmp 0x100070b5
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1005132c
mov esp, ebp
pop ebp
ret