Function at 0x405420
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43f12a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov esi, ecx
push str._chunks
push dword [esi + 0x10]
push str.calc
push str._DEBUG_
push 0x45cd78
call fcn.004011c0
add esp, 8
push eax
call fcn.004011c0
add esp, 8
mov ecx, eax
call fcn.00402740
push eax
call fcn.004011c0
mov edi, eax
add esp, 8
lea eax, [ebp - 0x1c]
mov ecx, dword [edi]
push eax
mov ecx, dword [ecx + 4]
add ecx, edi
call fcn.00405220
push eax
mov dword [ebp - 4], 0
call fcn.00401e50
add esp, 4
mov ebx, eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 4], 1
test ecx, ecx
je 0x4054bb
mov edx, dword [ecx]
call dword [edx + 8]
test eax, eax
je 0x4054bb
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov eax, dword [ebx]
mov ecx, ebx
push 0xa
mov dword [ebp - 4], 0xffffffff
mov eax, dword [eax + 0x20]
call eax
movzx eax, al
mov ecx, edi
push eax
call fcn.004057c0
mov ecx, edi
call fcn.00405160
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
lea ebx, [eax - 1]
shl ebx, 4
add ebx, edx
mov dword [ebp - 0x14], ebx
cmp ecx, eax
jb 0x405587
push str.Reuse_cached_calculation
push str._DEBUG_
push 0x45cd78
call fcn.004011c0
add esp, 8
push eax
call fcn.004011c0
mov esi, eax
add esp, 8
lea eax, [ebp - 0x1c]
mov ecx, dword [esi]
push eax
mov ecx, dword [ecx + 4]
add ecx, esi
call fcn.00405220
push eax
mov dword [ebp - 4], 2
call fcn.00401e50
add esp, 4
mov edi, eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 4], 3
test ecx, ecx
je 0x40555e
mov edx, dword [ecx]
call dword [edx + 8]
test eax, eax
je 0x40555e
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov eax, dword [edi]
mov ecx, edi
push 0xa
mov dword [ebp - 4], 0xffffffff
mov eax, dword [eax + 0x20]
call eax
movzx eax, al
mov ecx, esi
push eax
call fcn.004057c0
mov ecx, esi
call fcn.00405160
jmp 0x4056a1
test ecx, ecx
je 0x40559a
lea eax, [ecx - 1]
add eax, eax
movups xmm0, xmmword [edx + eax*8]
movups xmmword [ebp - 0x2c], xmm0
jmp 0x4055b6
mov dword [ebp - 0x2c], 0x67452301
mov dword [ebp - 0x28], 0xefcdab89
mov dword [ebp - 0x24], 0x98badcfe
mov dword [ebp - 0x20], 0x10325476
lea eax, [ebp - 0x2c]
movups xmm0, xmmword [eax]
push str._cached_calculations
movups xmmword [ebx], xmm0
mov eax, dword [esi + 0x18]
mov ecx, eax
push eax
shl ecx, 6
push str._DEBUG_
push 0x45cd78
mov dword [ebp - 0x10], ecx
call fcn.004011c0
add esp, 8
mov ecx, eax
call fcn.00402740
push eax
call fcn.004011c0
mov edi, eax
add esp, 8
lea eax, [ebp - 0x24]
mov ecx, dword [edi]
push eax
mov ecx, dword [ecx + 4]
add ecx, edi
call fcn.00405220
push eax
mov dword [ebp - 4], 4
call fcn.00401e50
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 4], 5
test ecx, ecx
je 0x405636
mov edx, dword [ecx]
call dword [edx + 8]
test eax, eax
je 0x405636
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov ecx, dword [ebp - 0x18]
push 0xa
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
movzx eax, al
mov ecx, edi
push eax
call fcn.004057c0
mov ecx, edi
call fcn.00405160
mov edi, dword [esi + 0x18]
cmp edi, dword [esi + 0x10]
jae 0x40569b
mov ebx, edi
shl ebx, 4
mov eax, dword [esi]
add eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
push eax
call fcn.00401550
mov eax, dword [esi + 0x10]
dec eax
cmp edi, eax
jae 0x40568b
mov ecx, dword [ebp - 0x14]
mov eax, dword [esi + 0x1c]
movups xmm0, xmmword [ecx]
movups xmmword [eax + ebx], xmm0
add dword [ebp - 0x10], 0x40
inc edi
add ebx, 0x10
cmp edi, dword [esi + 0x10]
jb 0x405668
mov ebx, dword [ebp - 0x14]
mov eax, dword [esi + 0x10]
mov dword [esi + 0x18], eax
movups xmm0, xmmword [ebx]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
movups xmmword [eax], xmm0
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4