Function at 0x4bba60
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 [0x535a40]
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 0x4bbc3f
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 0x4bbaf2
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 0x4bbc38
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 0x4bbc2d
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 0x4bbc1f
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x3c], eax
xorps xmm0, xmm0
movlpd qword [ebp - 0x44], xmm0
mov ebx, 1
test eax, eax
je 0x4bbbbe
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x28], edx
nop word [eax + eax]
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 0x4bbb98
push 0
push esi
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x4bbbbc
mov eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x38]
add edx, esi
mov eax, dword [ebp - 0x3c]
adc ecx, 0
mov dword [ebp - 0x28], edx
sub eax, esi
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], eax
jne 0x4bbb60
jmp 0x4bbbbe
xor ebx, ebx
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x4bbc21
push 0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0x20
push eax
lea eax, [ebp - 0x24]
xorps xmm0, xmm0
push eax
push 2
push dword [ebp - 0x2c]
movups xmmword [ebp - 0x24], xmm0
movups xmmword [ebp - 0x14], xmm0
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x4bbc21
xor esi, esi
cmp dword [ebp - 0x28], esi
jbe 0x4bbc21
nop dword [eax]
movzx eax, byte [ebp + esi - 0x24]
push eax
push 0x4fa650
push edi
call fcn.00413df0
inc esi
add esp, 0xc
add edi, 4
cmp esi, dword [ebp - 0x28]
jb 0x4bbc00
jmp 0x4bbc21
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]
test ebx, ebx
pop edi
setne al
xor ecx, ebp
pop esi
pop ebx
call fcn.004c34b7
mov esp, ebp
pop ebp
ret