Function at 0x490ba3
Capabilities:
Get file size
Hash data with md5
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x5349e2
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x58e700]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x58e700]
xor eax, esp
push eax
lea eax, [esp + 0x120]
mov dword fs:[0], eax
mov esi, dword [esp + 0x130]
xor ebx, ebx
mov edi, dword [esp + 0x134]
mov dword [esp + 0x128], ebx
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ebx
call fcn.00450709
push eax
mov ecx, esi
call fcn.00450537
xor eax, eax
mov dword [esp + 0x128], ebx
inc eax
mov dword [esp + 0x34], eax
test edi, edi
je 0x490e30
push ebx
push 0x80
push 3
push ebx
push eax
push SysReAllocString
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x490e30
lea eax, [esp + 0x2c]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x490e29
mov edi, 0x4000000
push edi
call fcn.004eb671
mov dword [esp + 0x24], eax
pop ecx
test eax, eax
je 0x490e29
push edi
push ebx
push eax
call fcn.005071d0
push 0x3f
lea eax, [esp + 0xc1]
mov dword [esp + 0xbc], vtable.MD5.0
push ebx
push eax
mov dword [esp + 0x11c], 0xf
mov dword [esp + 0x118], ebx
mov byte [esp + 0x108], bl
mov byte [esp + 0xc8], 0x80
call fcn.005071d0
add esp, 0x18
mov dword [esp + 0x128], 1
lea edi, [esp + 0x10d]
mov ecx, dword [esp + 0x30]
xor eax, eax
mov byte [esp + 0x10c], bl
xorps xmm0, xmm0
stosd dword es:[edi], eax
mov dword [esp + 0x68], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x54], 0x67452301
stosd dword es:[edi], eax
mov dword [esp + 0x58], 0xefcdab89
mov dword [esp + 0x5c], 0x98badcfe
mov dword [esp + 0x60], 0x10325476
stosd dword es:[edi], eax
mov dword [esp + 0x28], ecx
movlpd qword [esp + 0x14], xmm0
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x24], eax
cmp ecx, ebx
jl 0x490da0
jg 0x490d24
cmp eax, ebx
jbe 0x490da0
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
push 0
push 0
push edi
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x490da8
and dword [esp + 0x14], 0
lea eax, [esp + 0x14]
push 0
push eax
push 0x4000000
push dword [esp + 0x2c]
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x490da8
cmp dword [esp + 0x14], 0
je 0x490da8
push dword [esp + 0x14]
lea eax, [esp + 0x58]
push dword [esp + 0x24]
push eax
call fcn.004943f0
add ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
adc edi, 0
sub eax, dword [esp + 0x14]
mov dword [esp + 0x24], eax
sbb ecx, 0
mov dword [esp + 0x28], ecx
test ecx, ecx
jg 0x490d2c
jl 0x490da8
test eax, eax
jne 0x490d2c
jmp 0x490da8
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
cmp ebx, dword [esp + 0x2c]
jne 0x490e0b
cmp edi, dword [esp + 0x30]
jne 0x490e0b
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x110]
push eax
lea ecx, [esp + 0xb4]
call fcn.00494c0f
push ecx
lea eax, [esp + 0x110]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.00494c96
mov byte [esp + 0x128], 2
lea eax, [esp + 0x3c]
cmp dword [esp + 0x50], 0x10
mov ecx, esi
cmovae eax, dword [esp + 0x3c]
push eax
call fcn.00471c6a
push 0
push 1
lea ecx, [esp + 0x44]
call fcn.0044ea77
push dword [esp + 0x20]
call fcn.0050330f
pop ecx
lea ecx, [esp + 0xac]
mov byte [esp + 0x128], 0
call fcn.004943dd
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, esi
call fcn.00490ed1
mov eax, esi
mov ecx, dword [esp + 0x120]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.00502653
add esp, 0x118
ret 8