Function at 0x4064b0
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x54dd21
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, 0x1134
call fcn.00526eb0
mov eax, dword [0x5af640]
xor eax, esp
mov dword [esp + 0x1130], eax
push ebx
push esi
push edi
mov eax, dword [0x5af640]
xor eax, esp
push eax
lea eax, [esp + 0x1178]
mov dword fs:[0], eax
mov esi, dword [0x5b78c0]
mov edi, ecx
mov ecx, dword [0x5b78c4]
mov edx, ecx
sub edx, esi
mov eax, 0x2e8ba2e9
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x58], edi
jne 0x406531
call fcn.005234a2
mov ecx, dword [0x5b78c4]
mov esi, dword [0x5b78c0]
mov edx, dword [esi + 0x1c]
sub ecx, esi
mov dword [esp + 0x4c], edx
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 4
mov eax, edx
xor ebx, ebx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x50], ebx
jne 0x40655e
call fcn.005234a2
mov esi, dword [0x5b78c0]
push 0xffffffffffffffff
push ebx
add esi, 0x3c
push esi
lea ecx, [esp + 0xbc]
mov dword [esp + 0xd4], 0xf
mov dword [esp + 0xd0], ebx
mov byte [esp + 0xc0], bl
call fcn.0040ac20
mov dword [esp + 0x1180], ebx
mov dword [esp + 0xac], 0xf
mov dword [esp + 0xa8], ebx
mov byte [esp + 0x98], 0
mov byte [esp + 0x1180], 1
cmp dword [edi + 0x3e4], 8
mov byte [esp + 0x134], 0
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xcc], 0x67452301
mov dword [esp + 0xd0], 0xefcdab89
mov dword [esp + 0xd4], 0x98badcfe
mov dword [esp + 0xd8], 0x10325476
jb 0x406606
mov eax, dword [edi + 0x3d0]
jmp 0x40660c
lea eax, [edi + 0x3d0]
push 0x5884a8
push eax
call fcn.00527a8a
mov esi, eax
add esp, 8
mov dword [esp + 0x54], esi
cmp esi, ebx
jne 0x40663c
push 0x588814
push 0x66
mov ecx, edi
call fcn.00406c40
mov edi, 0x10
jmp 0x40684b
mov ecx, dword [edi + 0x3c4]
mov edx, dword [edi + 0x3c0]
push ebx
push ecx
push edx
push esi
call fcn.00527eed
add esp, 0x10
test eax, eax
je 0x406679
push esi
call fcn.00527dd5
add esp, 4
push 0x588824
push 0x67
mov ecx, edi
call fcn.00406c40
mov edi, 0x10
jmp 0x40684b
push 0xfff
lea eax, [esp + 0x141]
push ebx
push eax
mov byte [esp + 0x148], 0
call fcn.00523080
add esp, 0xc
push esi
push 0x1000
lea ecx, [esp + 0x144]
push 1
push ecx
xor edi, edi
call fcn.00527d41
mov esi, eax
add esp, 0x10
test esi, esi
je 0x406792
fild qword [esp + 0x4c]
fstp qword [esp + 0x6c]
add edi, esi
lea edx, [esp + 0x13c]
adc ebx, 0
push edx
mov eax, esi
lea ecx, [esp + 0xd0]
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], ebx
call fcn.00417750
push 0
push 0
call fcn.00402450
fild qword [esp + 0x64]
push 0
push 0
fmul qword [0x58f860]
fdiv qword [esp + 0x7c]
fstp qword [esp + 0x74]
call fcn.00402450
add esp, 0x10
cmp dword [eax + 0x50], 0
je 0x40672b
push 0
push 0
call fcn.00402450
fld qword [esp + 0x6c]
mov eax, dword [eax + 0x50]
fstp qword [esp]
call eax
add esp, 8
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
mov ecx, edx
sub ecx, edi
sbb eax, ebx
test eax, eax
jg 0x40674d
jl 0x406747
cmp ecx, 0x1000
jae 0x40674d
mov esi, edx
sub esi, edi
jmp 0x406759
cmp dword [esp + 0x50], ebx
jl 0x406792
jg 0x406759
cmp edx, edi
jbe 0x406792
push 0x1000
lea ecx, [esp + 0x140]
push 0
push ecx
call fcn.00523080
mov edx, dword [esp + 0x60]
add esp, 0xc
push edx
push esi
lea eax, [esp + 0x144]
push 1
push eax
call fcn.00527d41
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4066c3
mov ecx, dword [esp + 0x54]
push ecx
call fcn.00527dd5
add esp, 4
lea edi, [esp + 0x78]
lea eax, [esp + 0xcc]
call fcn.004180c0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0xa0]
mov byte [esp + 0x118c], 2
call fcn.0040ac20
mov edi, 0x10
mov byte [esp + 0x1180], 1
cmp dword [esp + 0x90], edi
jb 0x4067eb
mov edx, dword [esp + 0x7c]
push edx
call fcn.004508d0
add esp, 4
mov ecx, dword [esp + 0x98]
cmp dword [esp + 0xac], edi
jae 0x406802
lea ecx, [esp + 0x98]
mov eax, dword [esp + 0xb4]
cmp dword [esp + 0xc8], edi
jae 0x406819
lea eax, [esp + 0xb4]
push ecx
push eax
call fcn.0052804a
add esp, 8
test eax, eax
je 0x40689b
mov esi, dword [esp + 0x58]
push esi
mov eax, str.Single_package_md5_validate_fail
mov ecx, str.12990103
call fcn.00404c90
push 0x588868
push 0x68
mov ecx, esi
call fcn.00406c40
xor ebx, ebx
cmp dword [esp + 0xac], edi
jb 0x406864
mov eax, dword [esp + 0x98]
push eax
call fcn.004508d0
add esp, 4
mov dword [esp + 0xac], 0xf
mov dword [esp + 0xa8], ebx
mov byte [esp + 0x98], 0
cmp dword [esp + 0xc8], edi
jb 0x406897
mov ecx, dword [esp + 0xb4]
push ecx
call fcn.004508d0
add esp, 4
xor al, al
jmp 0x4068ed
cmp dword [esp + 0xac], edi
jb 0x4068b4
mov edx, dword [esp + 0x98]
push edx
call fcn.004508d0
add esp, 4
mov dword [esp + 0xac], 0xf
mov dword [esp + 0xa8], 0
mov byte [esp + 0x98], 0
cmp dword [esp + 0xc8], edi
jb 0x4068eb
mov eax, dword [esp + 0xb4]
push eax
call fcn.004508d0
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x1178]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1130]
xor ecx, esp
call fcn.00522f5c
mov esp, ebp
pop ebp
ret