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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d92a0
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x655140]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push 0x5df4c0
push 0x8000
mov dword [ebp - 0xdc], eax
call fcn.004b440f
mov ebx, eax
add esp, 8
mov dword [ebp - 0xbc], ebx
test ebx, ebx
je 0x490830
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xcc], eax
cmp eax, 0xffffffff
je 0x490827
lea ecx, [ebp - 0xe4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [ebp - 0xe4]
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xe8], eax
mov dword [esi], eax
mov dword [esi + 4], ecx
test ecx, ecx
jne 0x4905f9
cmp eax, 0x8000
ja 0x4905f9
mov dword [ebp - 0xd0], 1
mov dword [ebp - 0xc4], ecx
jmp 0x49061a
mov edi, eax
shrd edi, ecx, 0xf
shr ecx, 0xf
mov dword [ebp - 0xd0], edi
mov dword [ebp - 0xc4], ecx
test ecx, ecx
jne 0x490639
cmp edi, 0xa0
jae 0x490639
xorps xmm0, xmm0
movlpd qword [ebp - 0xc0], xmm0
mov ecx, dword [ebp - 0xbc]
mov dword [ebp - 0xd4], ecx
mov ecx, dword [ebp - 0xc0]
jmp 0x4906af
mov ebx, 0xcccccccd
mov eax, edi
mul ebx
mov eax, edi
mov esi, edx
mov edx, 0xcccccccc
mul edx
mov edi, eax
mov dword [ebp - 0xd4], edx
mov eax, ecx
mul ebx
mov ebx, edx
mov ecx, eax
mov eax, dword [ebp - 0xc4]
mov edx, 0xcccccccc
mul edx
add ecx, esi
mov dword [ebp - 0xb4], eax
adc ebx, 0
add edi, ecx
mov ecx, dword [ebp - 0xd4]
adc ecx, 0
xor eax, eax
add ebx, ecx
mov ecx, dword [ebp - 0xb4]
adc eax, eax
add ecx, ebx
mov ebx, dword [ebp - 0xbc]
adc edx, eax
mov eax, dword [ebp - 0xc8]
shrd ecx, edx, 7
shr edx, 7
add ecx, 0xffffffff
adc edx, 0xffffffff
mov dword [ebp - 0xd4], edx
cmp dword [ebp - 0xe4], 0
mov dword [ebp - 0xb4], ecx
ja 0x4906c5
cmp eax, 0x8000
jbe 0x4906cf
mov dword [ebp - 0xc8], 0x8000
push 0x40
lea eax, [ebp - 0x54]
mov dword [ebp - 0xb0], vtable.MD5_CTX.0
xorps xmm0, xmm0
mov dword [ebp - 0x98], 0
push 0
push eax
movlpd qword [ebp - 0xc0], xmm0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0xac], 0x67452301
mov dword [ebp - 0xa8], 0xefcdab89
mov dword [ebp - 0xa4], 0x98badcfe
mov dword [ebp - 0xa0], 0x10325476
call fcn.004b69d0
add esp, 0xc
mov byte [ebp - 0x54], 0x80
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0xbc]
mov esi, dword [ebp - 0xc0]
nop word [eax + eax]
cmp edi, dword [ebp - 0xc4]
ja 0x4907e0
jb 0x490766
cmp esi, dword [ebp - 0xd0]
ja 0x4907e0
push 0
lea eax, [ebp - 0xbc]
mov dword [ebp - 0xbc], 0
push eax
push dword [ebp - 0xc8]
push ebx
push dword [ebp - 0xcc]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0xbc]
test eax, eax
je 0x4907e0
push eax
push ebx
lea ecx, [ebp - 0xb0]
call fcn.004ab250
cmp dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0xb4]
ja 0x4907b6
test eax, eax
je 0x4907ca
push 1
push 0
shl eax, 0xf
push eax
push dword [ebp - 0xcc]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
add esi, 1
adc edi, 0
test edi, edi
jne 0x4907e2
cmp esi, 0xa0
jb 0x490750
test edi, edi
ja 0x4907ee
jb 0x4907ea
test esi, esi
jne 0x4907ee
xor esi, esi
jmp 0x490804
push dword [ebp - 0xdc]
lea ecx, [ebp - 0xb0]
call fcn.004ab330
mov esi, 1
push ebx
mov dword [ebp - 0xb0], vtable.MD5_CTX.0
call fcn.004b44af
add esp, 4
push dword [ebp - 0xcc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x490832
push ebx
call fcn.004b44af
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b3f1a
mov esp, ebp
pop ebp
ret