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

Disassembly:
push 0xffffffffffffffff
push 0x5b6725
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x6c56f8]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6c56f8]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0xa8], ebx
mov edi, ecx
push 0xc
mov dword [esp + 0x2c], edi
mov esi, edx
mov dword [esp + 0x40], ebx
call fcn.005812e3
add esp, 4
mov dword [esp + 0x1c], eax
mov ecx, 1
mov dword [esp + 0xa8], ecx
cmp eax, ebx
je 0x4b59a8
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
jmp 0x4b59aa
xor eax, eax
mov byte [esp + 0xa8], bl
mov dword [edi], eax
mov dword [esp + 0xa8], ebx
push ebx
push 0x8000000
push 3
push ebx
push ecx
push closesocket
push esi
mov dword [esp + 0x58], ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0xa8], 2
cmp esi, 0xffffffff
je 0x4b5b97
lea eax, [esp + 0x1c]
push eax
push esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x4b5b97
mov eax, dword [esp + 0x20]
cmp eax, ebx
ja 0x4b5a20
cmp dword [esp + 0x1c], ebx
jbe 0x4b5b97
cmp eax, 0xffffffff
ja 0x4b5b97
jb 0x4b5a36
cmp dword [esp + 0x1c], 0xffffffff
jae 0x4b5b97
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov edi, 0x10000
lea ebx, [esp + 0x38]
call fcn.0042c18f
mov byte [esp + 0xa8], 3
mov ebp, dword [esp + 0x38]
mov edx, dword [ebp + 4]
mov edi, dword [esp + 0x1c]
xor eax, eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov dword [esp + 0x44], 0x67452301
mov dword [esp + 0x48], 0xefcdab89
mov dword [esp + 0x4c], 0x98badcfe
mov dword [esp + 0x50], 0x10325476
cmp ecx, eax
ja 0x4b5a99
jb 0x4b5a9b
cmp edx, edi
jb 0x4b5a9b
mov edx, edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x20], edx
mov eax, dword [ebp]
push edx
push eax
push esi
call edi
test eax, eax
je 0x4b5b23
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4b5b23
mov ecx, dword [ebp]
push ecx
lea esi, [esp + 0x48]
call fcn.004329ed
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
mov esi, dword [ebp + 4]
add esp, 4
add eax, dword [esp + 0x18]
adc edx, 0
sub ecx, eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x20]
sbb eax, edx
mov dword [esp + 0x30], edx
xor edx, edx
cmp edx, eax
ja 0x4b5b04
jb 0x4b5b02
cmp esi, ecx
jae 0x4b5b04
mov ecx, esi
push 0
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x20], ecx
mov eax, dword [ebp]
push ecx
push eax
mov eax, dword [esp + 0x34]
push eax
call edi
mov esi, dword [esp + 0x24]
test eax, eax
jne 0x4b5ab8
mov ecx, dword [esp + 0x1c]
cmp dword [esp + 0x2c], ecx
jne 0x4b5b69
mov edx, dword [esp + 0x20]
cmp dword [esp + 0x30], edx
jne 0x4b5b69
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x48]
push ecx
call fcn.004b5860
mov byte [esp + 0xa8], 4
mov ebx, dword [esp + 0x28]
push eax
call fcn.00433213
mov byte [esp + 0xa8], 3
lea ebx, [esp + 0x1c]
call fcn.004170a7
mov byte [esp + 0xa8], 2
add dword [ebp + 8], 0xffffffff
jne 0x4b5b91
xor edi, edi
mov esi, ebp
call fcn.0041ad11
push ebp
call fcn.0058125d
mov esi, dword [esp + 0x28]
add esp, 4
mov dword [esp + 0x38], edi
mov edi, dword [esp + 0x28]
xor ebx, ebx
mov byte [esp + 0xa8], bl
cmp esi, 0xffffffff
je 0x4b5baa
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.00581268
add esp, 0x98
ret