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

Disassembly:
push 0xffffffffffffffff
push 0x517e69
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x5685f0]
xor eax, esp
mov dword [esp + 0xc8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5685f0]
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 0x55c3b8
lea esi, [esp + 0x40]
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], bx
call fcn.00401250
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 0x40bbf8
lea eax, [esp + 0xf8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40bdcd
cmp dword [esp + 0x10c], esi
mov eax, dword [esp + 0xf8]
jae 0x40bc1e
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 0x40bc97
mov edi, 7
mov dword [ebp + 0x18], edi
mov dword [ebp + 0x14], ebx
push 0x55c3b8
mov esi, ebp
mov word [ebp + 4], bx
call fcn.00401250
mov esi, 8
cmp dword [esp + 0x50], esi
jb 0x40bc70
mov eax, dword [esp + 0x3c]
push eax
call fcn.0040eb10
add esp, 4
cmp dword [esp + 0x10c], esi
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], bx
jb 0x40be23
mov ecx, dword [esp + 0xf8]
push ecx
jmp 0x40be1b
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esp + 0x14], eax
add eax, 1
push eax
call fcn.0040eb15
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x40bd03
mov edx, 0x55c3b8
mov eax, ebp
call fcn.004011b0
mov esi, 8
cmp dword [esp + 0x50], esi
jb 0x40bcd8
mov edx, dword [esp + 0x3c]
push edx
call fcn.0040eb10
add esp, 4
cmp dword [esp + 0x10c], esi
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], bx
jb 0x40be23
mov eax, dword [esp + 0xf8]
push eax
jmp 0x40be1b
mov eax, dword [esp + 0x14]
add eax, 1
push eax
push ebx
push esi
call fcn.0042faa0
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.00407dc0
push esi
call fcn.0040eb10
add esp, 4
lea edi, [esp + 0x1c]
lea eax, [esp + 0x70]
call fcn.00408830
lea ecx, [esp + 0x54]
push ecx
mov ecx, eax
mov byte [esp + 0xec], 2
call fcn.004076d0
add esp, 4
mov byte [esp + 0xe8], 4
cmp dword [esp + 0x34], 0x10
jb 0x40bd86
mov edx, dword [esp + 0x20]
push edx
call fcn.0040eb10
add esp, 4
cmp dword [esp + 0x68], ebx
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
jbe 0x40bdac
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x5c]
lea ecx, [esp + 0x40]
call fcn.004012f0
mov byte [esp + 0xe8], 1
cmp dword [esp + 0x6c], 8
jb 0x40bdc8
mov eax, dword [esp + 0x58]
push eax
call fcn.0040eb10
add esp, 4
mov esi, 8
push 0xffffffffffffffff
mov edi, 7
mov dword [ebp + 0x18], edi
mov dword [ebp + 0x14], ebx
push ebx
lea eax, [esp + 0x40]
mov ecx, ebp
mov word [ebp + 4], bx
call fcn.004012f0
cmp dword [esp + 0x50], esi
jb 0x40bdfd
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.0040eb10
add esp, 4
cmp dword [esp + 0x10c], esi
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], bx
jb 0x40be23
mov edx, dword [esp + 0xf8]
push edx
call fcn.0040eb10
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.00429fbb
add esp, 0xd8
ret 0x20