Function at 0x1000aef0
Capabilities:
Create new key via cryptacquirecontext
Get common file path
Get file size
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt
Read file on windows

Disassembly:
sub esp, 0x224
mov eax, dword [0x10139d00]
xor eax, esp
mov dword [esp + 0x220], eax
push ebp
xor eax, eax
push esi
push edi
push 0x206
push eax
lea ecx, [esp + 0x2e]
push ecx
mov byte [0x101e2bfc], 0
mov dword [0x101e2bfd], eax
mov dword [0x101e2c01], eax
mov dword [0x101e2c05], eax
mov dword [0x101e2c09], eax
mov dword [0x101e2c0d], eax
mov dword [0x101e2c11], eax
mov dword [0x101e2c15], eax
mov dword [0x101e2c19], eax
mov word [esp + 0x30], ax
call fcn.100d4cc0
mov ebp, dword [sym.imp.KERNEL32.dll_CreateFileW]
add esp, 0xc
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push str.C:Microsofthash
call ebp
mov esi, eax
cmp esi, 0xffffffff
jne 0x1000afc4
push 0
push 0x1a
lea edx, [esp + 0x2c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x1000b116
push str.MicrosoftMMChash
mov eax, 0x208
lea edi, [esp + 0x28]
call fcn.100044f0
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
mov eax, edi
push eax
call ebp
mov esi, eax
cmp esi, 0xffffffff
je 0x1000b116
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push esi
call ebp
inc eax
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
jne 0x1000afeb
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1000b116
push 0
lea ecx, [esp + 0x20]
push ecx
push 0
push esi
mov dword [esp + 0x2c], 0
call ebp
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1000b108
cmp dword [esp + 0x1c], 0
je 0x1000b108
push 0xf0000000
push 0x18
push 0
push 0
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x1000b108
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0x8003
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
push 0
test eax, eax
je 0x1000b07d
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
mov eax, dword [esp + 0x14]
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x1000b084
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
mov edx, dword [esp + 0x14]
push edx
jmp 0x1000b102
mov edx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
push 0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x20]
push ecx
push 4
push edx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x34], 4
call ebp
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x18]
push 0
lea ecx, [esp + 0x18]
push ecx
push 0x101e2bfd
push 2
push edx
mov dword [esp + 0x28], eax
call ebp
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x18]
push 0
lea ecx, [esp + 0x18]
push ecx
push 0x101e2c0c
push 2
push edx
mov dword [esp + 0x28], eax
call ebp
mov eax, dword [esp + 0xc]
push eax
mov byte [0x101e2bfc], 1
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov ecx, dword [esp + 0x10]
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [esp + 0x22c]
pop edi
pop esi
pop ebp
xor ecx, esp
mov eax, 0x101e2bfc
call fcn.100d0738
add esp, 0x224
ret