Function at 0x410de0
Capabilities:
Check if file exists
Get file size
Hash data with md5
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x521a99
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x574674]
xor eax, esp
mov dword [esp + 0xc8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x574674]
xor eax, esp
push eax
lea eax, [esp + 0xe0]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xf0]
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0xe8], ebx
push ebx
push 0x566d2c
lea ecx, [esp + 0x40]
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], bx
call fcn.00402110
mov byte [esp + 0xe8], 1
mov eax, dword [esp + 0xf8]
mov esi, 8
cmp dword [esp + 0x10c], esi
mov byte [esp + 0xd8], bl
mov dword [esp + 0x84], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x70], 0x67452301
mov dword [esp + 0x74], 0xefcdab89
mov dword [esp + 0x78], 0x98badcfe
mov dword [esp + 0x7c], 0x10325476
jae 0x410ea8
lea eax, [esp + 0xf8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41105a
cmp dword [esp + 0x10c], esi
mov eax, dword [esp + 0xf8]
jae 0x410ece
lea eax, [esp + 0xf8]
push ebx
push 0x80
push 4
push ebx
push 1
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
push ebx
jne 0x410f42
mov edi, 7
mov dword [ebp + 0x18], edi
mov dword [ebp + 0x14], ebx
push 0x566d2c
mov ecx, ebp
mov word [ebp + 4], bx
call fcn.00402110
cmp dword [esp + 0x50], esi
jb 0x410f1b
mov eax, dword [esp + 0x3c]
push eax
call fcn.00418473
add esp, 4
cmp dword [esp + 0x10c], esi
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], bx
jb 0x4110b1
mov ecx, dword [esp + 0xf8]
push ecx
jmp 0x4110a9
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esp + 0x14], eax
add eax, 1
push eax
call fcn.0041846e
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x410f90
push 0x566d2c
mov ecx, ebp
call fcn.00401de0
mov esi, 8
cmp dword [esp + 0x50], esi
jb 0x410f83
mov edx, dword [esp + 0x3c]
push edx
call fcn.00418473
add esp, 4
mov dword [esp + 0x50], 7
jmp 0x41108f
mov eax, dword [esp + 0x14]
add eax, 1
push eax
push ebx
push esi
call fcn.00437ec0
mov edx, dword [esp + 0x20]
add esp, 0xc
push ebx
lea ecx, [esp + 0x1c]
push ecx
push edx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x14]
push esi
lea ecx, [esp + 0x74]
call fcn.0040d670
push esi
call fcn.00418473
add esp, 4
lea edi, [esp + 0x1c]
lea eax, [esp + 0x70]
call fcn.0040dfe0
push eax
lea eax, [esp + 0x58]
push eax
mov byte [esp + 0xf0], 2
call fcn.0040a5d0
add esp, 8
mov byte [esp + 0xe8], 4
cmp dword [esp + 0x34], 0x10
jb 0x411012
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00418473
add esp, 4
cmp dword [esp + 0x68], ebx
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
jbe 0x411039
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x5c]
push edx
lea ecx, [esp + 0x44]
call fcn.00401e80
mov byte [esp + 0xe8], 1
cmp dword [esp + 0x6c], 8
jb 0x411055
mov eax, dword [esp + 0x58]
push eax
call fcn.00418473
add esp, 4
mov esi, 8
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x40]
mov edi, 7
push ecx
mov dword [ebp + 0x18], edi
mov dword [ebp + 0x14], ebx
mov ecx, ebp
mov word [ebp + 4], bx
call fcn.00401e80
cmp dword [esp + 0x50], esi
jb 0x41108b
mov edx, dword [esp + 0x3c]
push edx
call fcn.00418473
add esp, 4
mov dword [esp + 0x50], edi
cmp dword [esp + 0x10c], esi
mov word [esp + 0x3c], bx
mov dword [esp + 0x4c], ebx
jb 0x4110b1
mov eax, dword [esp + 0xf8]
push eax
call fcn.00418473
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0xe0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.004338df
add esp, 0xd8
ret 0x20