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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x54eb41
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, 0x1134
call fcn.00527b90
mov eax, dword [0x5b0630]
xor eax, esp
mov dword [esp + 0x1130], eax
push ebx
push esi
push edi
mov eax, dword [0x5b0630]
xor eax, esp
push eax
lea eax, [esp + 0x1178]
mov dword fs:[0], eax
mov esi, dword [0x5b886c]
mov edi, ecx
mov ecx, dword [0x5b8870]
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 0x405ee1
call fcn.00524172
mov ecx, dword [0x5b8870]
mov esi, dword [0x5b886c]
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 0x405f0e
call fcn.00524172
mov esi, dword [0x5b886c]
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.0040a5b0
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 + 0x394], 8
jb 0x405f74
mov eax, dword [edi + 0x380]
jmp 0x405f7a
lea eax, [edi + 0x380]
push 0x589388
push eax
call fcn.005296f3
mov esi, eax
add esp, 8
mov dword [esp + 0x54], esi
cmp esi, ebx
jne 0x405faa
push 0x589690
push 0x66
mov ecx, edi
call fcn.004065f0
mov edi, 0x10
jmp 0x4061fd
mov ecx, dword [edi + 0x374]
mov edx, dword [edi + 0x370]
push ebx
push ecx
push edx
push esi
mov byte [esp + 0x144], 0
mov dword [esp + 0xf0], ebx
mov dword [esp + 0xec], ebx
mov dword [esp + 0xdc], 0x67452301
mov dword [esp + 0xe0], 0xefcdab89
mov dword [esp + 0xe4], 0x98badcfe
mov dword [esp + 0xe8], 0x10325476
call fcn.00529b56
add esp, 0x10
test eax, eax
je 0x406029
push esi
call fcn.00529a3e
add esp, 4
push 0x5896a0
push 0x67
mov ecx, edi
call fcn.004065f0
mov edi, 0x10
jmp 0x4061fd
push 0xfff
lea eax, [esp + 0x141]
push ebx
push eax
mov byte [esp + 0x148], 0
call fcn.00523d50
add esp, 0xc
push esi
push 0x1000
lea ecx, [esp + 0x144]
push 1
push ecx
xor edi, edi
call fcn.005299aa
mov esi, eax
add esp, 0x10
test esi, esi
je 0x406144
fild qword [esp + 0x4c]
fstp qword [esp + 0x6c]
mov eax, esi
cdq
add edi, eax
adc ebx, edx
lea edx, [esp + 0x13c]
push edx
mov eax, esi
lea ecx, [esp + 0xd0]
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], ebx
call fcn.00417060
push 0
push 0
call fcn.00402380
fild qword [esp + 0x64]
push 0
push 0
fmul qword [0x590760]
fdiv qword [esp + 0x7c]
fstp qword [esp + 0x74]
call fcn.00402380
add esp, 0x10
cmp dword [eax + 0x50], 0
je 0x4060dd
push 0
push 0
call fcn.00402380
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 0x4060ff
jl 0x4060f9
cmp ecx, 0x1000
jae 0x4060ff
mov esi, edx
sub esi, edi
jmp 0x40610b
cmp dword [esp + 0x50], ebx
jl 0x406144
jg 0x40610b
cmp edx, edi
jbe 0x406144
push 0x1000
lea ecx, [esp + 0x140]
push 0
push ecx
call fcn.00523d50
mov edx, dword [esp + 0x60]
add esp, 0xc
push edx
push esi
lea eax, [esp + 0x144]
push 1
push eax
call fcn.005299aa
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x406073
mov ecx, dword [esp + 0x54]
push ecx
call fcn.00529a3e
add esp, 4
lea edi, [esp + 0x78]
lea eax, [esp + 0xcc]
call fcn.004179d0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0xa0]
mov byte [esp + 0x118c], 2
call fcn.0040a5b0
mov edi, 0x10
mov byte [esp + 0x1180], 1
cmp dword [esp + 0x90], edi
jb 0x40619d
mov edx, dword [esp + 0x7c]
push edx
call fcn.00450c25
add esp, 4
mov ecx, dword [esp + 0x98]
cmp dword [esp + 0xac], edi
jae 0x4061b4
lea ecx, [esp + 0x98]
mov eax, dword [esp + 0xb4]
cmp dword [esp + 0xc8], edi
jae 0x4061cb
lea eax, [esp + 0xb4]
push ecx
push eax
call fcn.00529cb3
add esp, 8
test eax, eax
je 0x40624d
mov esi, dword [esp + 0x58]
push esi
mov eax, str.Single_package_md5_validate_fail
mov ecx, str.12990103
call fcn.00404a40
push 0x5896e4
push 0x68
mov ecx, esi
call fcn.004065f0
xor ebx, ebx
cmp dword [esp + 0xac], edi
jb 0x406216
mov eax, dword [esp + 0x98]
push eax
call fcn.00450c25
add esp, 4
mov dword [esp + 0xac], 0xf
mov dword [esp + 0xa8], ebx
mov byte [esp + 0x98], 0
cmp dword [esp + 0xc8], edi
jb 0x406249
mov ecx, dword [esp + 0xb4]
push ecx
call fcn.00450c25
add esp, 4
xor al, al
jmp 0x40629f
cmp dword [esp + 0xac], edi
jb 0x406266
mov edx, dword [esp + 0x98]
push edx
call fcn.00450c25
add esp, 4
mov dword [esp + 0xac], 0xf
mov dword [esp + 0xa8], 0
mov byte [esp + 0x98], 0
cmp dword [esp + 0xc8], edi
jb 0x40629d
mov eax, dword [esp + 0xb4]
push eax
call fcn.00450c25
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.00523c2c
mov esp, ebp
pop ebp
ret