Function at 0x45bcb0
Capabilities:
Get file size
Hash data with md5
Read file on windows
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x4e50cc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
xorps xmm0, xmm0
mov dword [ebp - 0x84], edx
push ecx
mov dword [ebp - 0xc], 0
movlpd qword [ebp - 0x80], xmm0
mov dword [ebp - 0x78], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x6c], edi
cmp edi, 0xffffffff
je 0x45bf01
lea eax, [ebp - 0xc]
mov dword [ebp - 0x58], 0
push eax
push edi
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x68], 0x67452301
mov dword [ebp - 0x64], 0xefcdab89
mov dword [ebp - 0x60], 0x98badcfe
mov dword [ebp - 0x5c], 0x10325476
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, eax
xor edx, edx
mov eax, dword [ebp - 0xc]
xor esi, esi
add esi, ecx
mov ebx, eax
mov dword [ebp - 0x70], esi
adc ebx, edx
mov dword [ebp - 0x74], ebx
test eax, eax
jne 0x45bdfd
cmp edx, 1
ja 0x45bdfd
jb 0x45bd6e
test ecx, ecx
jne 0x45bdfd
xorps xmm0, xmm0
mov dword [ebp - 8], edx
push 0x4ea758
push 0x8000
movlpd qword [ebp - 0x80], xmm0
call fcn.004a61f0
mov esi, eax
add esp, 8
test esi, esi
je 0x45bee3
push 0
lea eax, [ebp - 8]
push eax
push 0x8000
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, dword [ebp - 0x7c]
mov ebx, dword [ebp - 0x80]
test eax, eax
je 0x45bde8
mov eax, dword [ebp - 8]
test eax, eax
je 0x45bde8
add ebx, eax
lea ecx, [ebp - 0x68]
push eax
push esi
adc edi, 0
call fcn.0045d0c0
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0x8000
push esi
push dword [ebp - 0x6c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x45bdb2
cmp ebx, dword [ebp - 0x70]
jne 0x45bdf6
cmp edi, dword [ebp - 0x74]
je 0x45be95
xor ebx, ebx
jmp 0x45bea8
push 0
push 0
push 0
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 0x78], eax
test eax, eax
je 0x45bee3
test ebx, ebx
jl 0x45be93
jg 0x45be23
test esi, esi
je 0x45be93
mov ebx, dword [ebp - 0x7c]
mov edi, dword [ebp - 0x80]
lea esp, [esp]
mov eax, ebx
mov ecx, edi
sar eax, 0x1f
mov edx, edi
add ecx, 0x80000
mov eax, ebx
adc eax, 0
cmp eax, dword [ebp - 0x74]
jg 0x45be56
jl 0x45be4f
cmp ecx, esi
ja 0x45be56
mov esi, 0x80000
jmp 0x45be58
sub esi, edi
push esi
push edx
push ebx
push 4
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 8], eax
test eax, eax
je 0x45beb8
push esi
push eax
lea ecx, [ebp - 0x68]
call fcn.0045d0c0
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
add edi, esi
mov esi, dword [ebp - 0x70]
adc ebx, 0
cmp ebx, dword [ebp - 0x74]
jl 0x45be30
jg 0x45be93
cmp edi, esi
jb 0x45be30
xor esi, esi
push dword [ebp - 0x84]
lea ecx, [ebp - 0x68]
call fcn.0045d170
mov ebx, 1
test esi, esi
je 0x45beba
push esi
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
add esp, 4
jmp 0x45beba
xor ebx, ebx
mov eax, dword [ebp - 0x78]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x45beca
push eax
call esi
mov edi, dword [ebp - 0x6c]
push edi
call esi
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a5ae0
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
push edi
call esi
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a5ae0
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a5ae0
mov esp, ebp
pop ebp
ret