Function at 0x425900
Capabilities:
Create new key via cryptacquirecontext
Get file size
Hash data via wincrypt
Initialize hashing via wincrypt
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c9ce
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x45f040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x58], 0
push 4
mov ecx, dword [ebp + 8]
call fcn.00402190
mov ecx, dword [ebp + 8]
call fcn.004028d0
mov dword [ebp - 0x5c], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x58]
or eax, 1
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x48], 0xffffffff
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x3c], 0x20
push 0
push 0x8000000
push 3
push 0
push 1
push closesocket
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0xffffffff
jne 0x4259af
jmp 0x425aad
lea edx, [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x4259c6
jmp 0x425aad
push 0
push 0
push 0
push 2
push 0
mov ecx, dword [ebp - 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x4259e8
jmp 0x425aad
push 0
push 0
push 0
push 4
mov edx, dword [ebp - 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x425a08
jmp 0x425aad
push 0xf0000000
push 0x18
push 0
push 0
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x425a26
jmp 0x425aad
lea ecx, [ebp - 0x34]
push ecx
push 0
push 0
push 0x800c
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x425a43
jmp 0x425aad
push 0
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x425a5d
jmp 0x425aad
push 0
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x30]
push ecx
push 2
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x425a79
jmp 0x425aad
mov dword [ebp - 0x54], 0
jmp 0x425a8b
mov eax, dword [ebp - 0x54]
add eax, 1
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0x20
jge 0x425aad
mov ecx, dword [ebp - 0x54]
movzx edx, byte [ebp + ecx - 0x30]
push edx
push 0x44d50c
mov eax, dword [ebp + 8]
push eax
call fcn.0040d040
add esp, 0xc
jmp 0x425a82
cmp dword [ebp - 0x4c], 0
je 0x425abe
mov ecx, dword [ebp - 0x4c]
push ecx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
nop
cmp dword [ebp - 0x50], 0
je 0x425acf
mov edx, dword [ebp - 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp dword [ebp - 0x48], 0xffffffff
je 0x425ae0
mov eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp dword [ebp - 0x34], 0
je 0x425af1
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
nop
cmp dword [ebp - 0x38], 0
je 0x425b04
push 0
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
nop
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00429858
mov esp, ebp
pop ebp
ret