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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x579b20
mov eax, dword fs:[0]
push eax
sub esp, 0x2a8
mov eax, dword [0x5e1040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2a8], ecx
mov edi, dword [ebp + 0xc]
mov eax, edi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x2b0], esi
mov dword [ebp - 0x2ac], esi
cmp dword [edi + 0x14], 7
jbe 0x405b7f
mov eax, dword [edi]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x224], eax
cmp eax, 0xffffffff
je 0x405bbd
lea ecx, [ebp - 0x248]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push dword [ebp - 0x224]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [edi + 0x14], 7
jbe 0x405bc5
mov edi, dword [edi]
push 0x5d028c
push edi
call fcn.0054b5eb
mov edi, eax
add esp, 8
mov dword [ebp - 0x2ac], edi
test edi, edi
jne 0x405bff
xorps xmm0, xmm0
mov ecx, esi
push eax
movups xmmword [esi], xmm0
push 0x5cfebf
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
call fcn.004040d0
mov eax, esi
jmp 0x405e10
push 0x200
lea eax, [ebp - 0x220]
mov dword [ebp - 0x28c], 0
push 0
push eax
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x2a0], 0x67452301
mov dword [ebp - 0x29c], 0xefcdab89
mov dword [ebp - 0x298], 0x98badcfe
mov dword [ebp - 0x294], 0x10325476
call fcn.00547c40
push edi
push 0x200
lea eax, [ebp - 0x220]
xorps xmm0, xmm0
push 1
push eax
movups xmmword [ebp - 0x20], xmm0
call fcn.0054ca9a
mov esi, dword [ebp - 0x2a8]
add esp, 0x1c
test eax, eax
je 0x405ca7
push eax
lea eax, [ebp - 0x220]
mov ecx, esi
push eax
lea eax, [ebp - 0x2a0]
push eax
call fcn.00405110
push edi
push 0x200
lea eax, [ebp - 0x220]
push 1
push eax
call fcn.0054ca9a
add esp, 0x10
test eax, eax
jne 0x405c76
lea eax, [ebp - 0x2a0]
mov ecx, esi
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004051e0
xorps xmm0, xmm0
mov dword [ebp - 0x228], 0xf
xor edi, edi
movups xmmword [ebp - 0x23c], xmm0
mov dword [ebp - 0x22c], edi
mov byte [ebp - 0x23c], 0
mov dword [ebp - 4], edi
xor esi, esi
mov dl, byte [ebp + esi - 0x20]
mov al, dl
mov byte [ebp - 0x2a1], dl
shr al, 4
cmp al, 0xa
sbb cl, cl
and cl, 0xd9
add cl, 0x57
add cl, al
mov byte [ebp - 0x224], cl
cmp edi, dword [ebp - 0x228]
jae 0x405d31
cmp dword [ebp - 0x228], 0xf
lea eax, [edi + 1]
mov dword [ebp - 0x22c], eax
lea eax, [ebp - 0x23c]
cmova eax, dword [ebp - 0x23c]
mov byte [eax + edi], cl
mov byte [eax + edi + 1], 0
jmp 0x405d57
push dword [ebp - 0x224]
mov byte [ebp - 0x2a8], 0
lea ecx, [ebp - 0x23c]
push dword [ebp - 0x2a8]
push 1
call fcn.00403e30
mov dl, byte [ebp - 0x2a1]
mov edi, dword [ebp - 0x228]
and dl, 0xf
cmp dl, 0xa
sbb cl, cl
add dl, 0x57
and cl, 0xd9
add cl, dl
mov edx, dword [ebp - 0x22c]
mov byte [ebp - 0x240], cl
cmp edx, edi
jae 0x405da0
lea eax, [edx + 1]
cmp edi, 0xf
mov dword [ebp - 0x22c], eax
lea eax, [ebp - 0x23c]
cmova eax, dword [ebp - 0x23c]
mov byte [eax + edx], cl
mov byte [eax + edx + 1], 0
jmp 0x405dc0
push dword [ebp - 0x240]
mov byte [ebp - 0x244], 0
lea ecx, [ebp - 0x23c]
push dword [ebp - 0x244]
push 1
call fcn.00403e30
inc esi
cmp esi, 0x10
jae 0x405dd1
mov edi, dword [ebp - 0x22c]
jmp 0x405ce1
push dword [ebp - 0x2ac]
call fcn.0054b86c
mov eax, dword [ebp - 0x2b0]
xorps xmm0, xmm0
add esp, 4
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
movups xmm0, xmmword [ebp - 0x23c]
mov dword [eax + 0x14], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x22c]
movq qword [eax + 0x10], xmm0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004224b5
mov esp, ebp
pop ebp
ret 0x10