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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x4dc6e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 7
push SysReAllocStringLen
push eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x48], esi
cmp esi, 0xffffffff
je 0x48cbe3
push ebx
push ebx
push dword [ebp - 0x34]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
push 0xf0000000
push 0x18
push ebx
push ebx
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
mov ebx, eax
test ebx, ebx
jne 0x48ca82
push 0xf0000000
push 1
push eax
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
mov ebx, eax
test ebx, ebx
je 0x48cbdc
lea eax, [ebp - 0x2c]
push eax
push 0
push 0
push 0x8004
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x48cbd1
push 0
push 0
push 0
push 2
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x48cbc3
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x38], eax
xorps xmm0, xmm0
movlpd qword [ebp - 0x44], xmm0
mov ebx, 1
test eax, eax
je 0x48cb4e
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x28], edx
jmp 0x48caf0
mov esi, eax
cmp eax, 0x100000
mov eax, 0x100000
cmova esi, eax
push esi
push edx
push ecx
push 4
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x40], eax
test eax, eax
je 0x48cb28
push 0
push esi
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x48cb4c
mov eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x3c]
add edx, esi
mov eax, dword [ebp - 0x38]
adc ecx, 0
mov dword [ebp - 0x28], edx
sub eax, esi
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], eax
jne 0x48caf0
jmp 0x48cb4e
xor ebx, ebx
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x48cbc5
push 0
lea eax, [ebp - 0x28]
mov byte [ebp - 0x24], 0
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0xb], 0
push eax
push 2
push dword [ebp - 0x2c]
xorps xmm0, xmm0
mov word [ebp - 7], 0
movdqu xmmword [ebp - 0x23], xmm0
mov byte [ebp - 5], 0
movq qword [ebp - 0x13], xmm0
mov dword [ebp - 0x28], 0x20
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x48cbc5
xor esi, esi
cmp dword [ebp - 0x28], esi
jbe 0x48cbc5
movzx eax, byte [ebp + esi - 0x24]
push eax
push 0x4b017c
push edi
call fcn.0049215f
inc esi
add esp, 0xc
add edi, 4
cmp esi, dword [ebp - 0x28]
jb 0x48cba4
jmp 0x48cbc5
xor ebx, ebx
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov esi, dword [ebp - 0x48]
push 0
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor eax, eax
test ebx, ebx
pop edi
setne al
xor ecx, ebp
pop esi
pop ebx
call fcn.0048fc6c
mov esp, ebp
pop ebp
ret