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

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.00442eb0
push 0xffffffffffffffff
push 0x44fca5
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x46a2c8]
xor eax, ebp
mov dword [ebp + 0x1000], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
mov dword [ebp - 0x2c], esi
push 0x454ad8
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], esi
call fcn.0040890f
push 0xf0000000
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push esi
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x423ca3
lea eax, [ebp - 0x14]
push eax
push esi
push esi
push 0x8003
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x423c94
push esi
push 0x8000000
push 3
push esi
push 1
push SysReAllocString
push dword [ebp + 0x100c]
mov dword [ebp - 0x20], esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x1c], eax
cmp eax, 0xffffffff
je 0x423ca3
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
lea ecx, [ebp - 0x20]
push ecx
push 0x1000
lea ecx, [ebp]
push ecx
push eax
jmp 0x423b93
cmp dword [ebp - 0x20], esi
je 0x423b99
push esi
push dword [ebp - 0x20]
lea eax, [ebp]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x423cf0
push esi
lea eax, [ebp - 0x20]
push eax
push 0x1000
lea eax, [ebp]
push eax
push dword [ebp - 0x1c]
call ebx
test eax, eax
jne 0x423b64
mov ebx, dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
push 4
pop eax
push esi
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x24]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x30], eax
call ebx
test eax, eax
je 0x423c86
push dword [ebp - 0x24]
call fcn.004315fe
pop ecx
mov dword [ebp - 0x1c], eax
cmp eax, esi
je 0x423c86
push esi
lea ecx, [ebp - 0x24]
push ecx
push eax
push 2
push dword [ebp - 0x14]
call ebx
test eax, eax
je 0x423c7d
cmp dword [ebp - 0x24], esi
jbe 0x423c7d
mov eax, dword [0x46c8c4]
mov ecx, 0x46c8c4
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 2
movzx eax, byte [esi + eax]
push eax
push ecx
mov dword [ebp - 0x34], esp
mov ebx, esp
push ecx
mov eax, esp
mov dword [ebp - 0x34], esp
push str.SlRJdU1uZz0
push eax
call fcn.0040890f
push ebx
call fcn.0040f5fc
pop ecx
pop ecx
lea eax, [ebp - 0x2c]
push eax
call fcn.0040f5fc
pop ecx
pop ecx
mov byte [ebp - 4], 3
push dword [eax]
lea eax, [ebp - 0x28]
call fcn.0040d841
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2c]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.0040117e
mov ebx, dword [ebp - 0x28]
push dword [ebx - 0xc]
lea eax, [ebp - 0x10]
push ebx
call fcn.0040d369
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 1
call fcn.0040117e
inc esi
cmp esi, dword [ebp - 0x24]
jb 0x423bee
xor esi, esi
push dword [ebp - 0x1c]
call fcn.004314e1
pop ecx
cmp dword [ebp - 0x14], esi
je 0x423c94
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
cmp dword [ebp - 0x18], esi
je 0x423ca3
push esi
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040d0b9
add eax, 0x10
mov dword [edi], eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040117e
mov eax, dword [ebp + 0x100c]
add eax, 0xfffffff0
call fcn.0040117e
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp + 0x1000]
xor ecx, ebp
call fcn.004312e6
add ebp, 0x1004
leave
ret
cmp dword [ebp - 0x14], esi
je 0x423cfe
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
cmp dword [ebp - 0x18], esi
je 0x423d0d
push esi
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x423ca3