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

Disassembly:
push 0xffffffffffffffff
push 0x5af225
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.00579757
add esp, 4
mov dword [esp + 0x1c], eax
mov ecx, 1
mov dword [esp + 0xa8], ecx
cmp eax, ebx
je 0x4a06a8
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
jmp 0x4a06aa
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 connect
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 0x4a0897
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 0x4a0897
mov eax, dword [esp + 0x20]
cmp eax, ebx
ja 0x4a0720
cmp dword [esp + 0x1c], ebx
jbe 0x4a0897
cmp eax, 0xffffffff
ja 0x4a0897
jb 0x4a0736
cmp dword [esp + 0x1c], 0xffffffff
jae 0x4a0897
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov edi, 0x10000
lea ebx, [esp + 0x38]
call fcn.004265ee
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 0x4a0799
jb 0x4a079b
cmp edx, edi
jb 0x4a079b
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 0x4a0823
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4a0823
mov ecx, dword [ebp]
push ecx
lea esi, [esp + 0x48]
call fcn.0042d610
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 0x4a0804
jb 0x4a0802
cmp esi, ecx
jae 0x4a0804
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 0x4a07b8
mov ecx, dword [esp + 0x1c]
cmp dword [esp + 0x2c], ecx
jne 0x4a0869
mov edx, dword [esp + 0x20]
cmp dword [esp + 0x30], edx
jne 0x4a0869
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x48]
push ecx
call fcn.004a0560
mov byte [esp + 0xa8], 4
mov ebx, dword [esp + 0x28]
push eax
call fcn.0042dddd
mov byte [esp + 0xa8], 3
lea ebx, [esp + 0x1c]
call fcn.00426633
mov byte [esp + 0xa8], 2
add dword [ebp + 8], 0xffffffff
jne 0x4a0891
xor edi, edi
mov esi, ebp
call fcn.00428d6c
push ebp
call fcn.005796d1
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 0x4a08aa
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.005796dc
add esp, 0x98
ret