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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a71b3
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x104
mov eax, dword [0x632a40]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x100], eax
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x110], 0
xor eax, eax
mov dword [ebp - 4], 0
push eax
push 0x623880
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.00404db0
mov byte [ebp - 4], 1
mov byte [ebp - 0x6f], 0
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xf8], 0x67452301
mov dword [ebp - 0xf4], 0xefcdab89
mov dword [ebp - 0xf0], 0x98badcfe
mov dword [ebp - 0xec], 0x10325476
call fcn.0043b7b0
test al, al
je 0x418d15
push eax
pop edx
pop edi
pop edi
push ebp
pop ecx
push ecx
push edi
push esp
push edi
push esi
push ebp
pop esi
pop ecx
pop esp
push esi
pop esp
push ecx
push esp
push eax
pop ecx
pop ecx
call fcn.0043b900
test al, al
je 0x418d3a
pop ebx
push ecx
pop edx
push ebp
push edx
pop edi
pop edi
pop esp
push ebp
pop esi
pop edx
pop ebp
pop esi
pop edx
push edi
pop ebp
push ebp
push edi
push ebp
pop edx
push ebp
push esi
pop esi
pop esi
pop ebp
push edx
push ebp
pop esp
call fcn.0043b7b0
test al, al
je 0x418d5a
pop esi
push ebp
pop edx
pop edx
push ebp
push edi
pop eax
push ebp
pop edx
pop ecx
pop esp
push esp
pop edi
push esp
pop edx
push ebp
push esi
push edi
push edi
pop ebx
pop ebp
pop ebx
push esp
cmp dword [ebx + 0x1c], 8
lea esi, [ebx + 8]
cmovae esi, dword [ebx + 8]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x4190a9
lea eax, [ebp - 0x50]
mov dword [ebp - 0x30], 0
push eax
xorps xmm0, xmm0
push 0
push esi
movups xmmword [ebp - 0x50], xmm0
movups xmmword [ebp - 0x40], xmm0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
setne al
test al, al
je 0x4190a9
cmp dword [ebx + 0x1c], 8
lea eax, [ebx + 8]
push 0
cmovae eax, dword [ebx + 8]
push 0x80
push 4
push 0
push 1
push bind
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0xfc], esi
cmp esi, 0xffffffff
jne 0x418e1f
mov esi, dword [ebp - 0x100]
mov ecx, esi
push 0x623880
call fcn.00404a90
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x418df8
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00405130
mov ecx, dword [ebx + 0x1c]
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
cmp ecx, 8
jb 0x41910b
inc ecx
push ecx
jmp 0x419100
call fcn.0043b190
test al, al
je 0x418e48
push edi
pop esp
push esp
pop edi
push esi
pop edx
push ecx
pop edx
push esi
pop edx
push esi
push eax
push esp
pop ebx
pop ebp
push ebx
pop ebx
push edx
push esp
pop ebp
push ebp
push edi
push ebp
pop esi
push ebx
pop ebx
mov esi, dword [ebp - 0xfc]
call fcn.0043bb30
test al, al
je 0x418e62
pop ebp
push esi
pop eax
pop esp
push ecx
pop ebp
push ebx
pop ebp
pop ecx
pop edi
push edi
pop ecx
push ecx
pop eax
pop ebx
push esp
pop edx
call fcn.0043b6d0
test al, al
je 0x418e7d
pop ecx
push esp
pop ebp
push esi
pop esp
pop eax
pop edi
push ebp
push esp
pop edi
push ecx
pop ecx
push edx
push ecx
pop ecx
push eax
push esp
push ecx
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x104], eax
inc eax
push eax
mov dword [ebp - 0x10c], eax
call fcn.0057a3e9
mov esi, eax
add esp, 4
mov dword [ebp - 0x108], esi
test esi, esi
jne 0x418ed3
mov ecx, dword [ebp - 0x100]
push 0x623880
call fcn.00404a90
lea ecx, [ebp - 0x2c]
call fcn.00403d40
lea ecx, [ebx + 8]
call fcn.00403d40
mov eax, dword [ebp - 0x100]
jmp 0x41910d
call fcn.0043b660
test al, al
je 0x418efd
pop eax
push edx
push edi
push esp
push ebp
pop ebp
pop eax
push eax
pop esi
push esi
pop eax
pop esp
push esi
push esi
push eax
push esp
push eax
push eax
pop ecx
push edx
pop esi
push edx
pop esp
pop eax
push esi
push ebp
push edx
mov esi, dword [ebp - 0x108]
call fcn.0043bb30
test al, al
je 0x418f1e
pop esp
push ebx
pop esp
pop esp
pop esp
pop edi
pop eax
pop eax
push esi
push esi
pop eax
push esi
push ebx
push eax
push ebp
push ebp
push ebp
push edi
pop edi
pop ebp
pop esp
push ebx
push ebp
pop ebx
push dword [ebp - 0x10c]
push 0
push esi
call fcn.0057ff70
add esp, 0xc
lea eax, [ebp - 0x114]
push 0
push eax
push dword [ebp - 0x104]
push esi
push dword [ebp - 0xfc]
call dword [sym.imp.KERNEL32.dll_ReadFile]
call fcn.0043b970
test al, al
je 0x418f6b
pop edx
pop ebx
pop esi
push edi
pop edi
push ecx
pop edx
push ebp
pop eax
pop ebp
push edx
push eax
push eax
pop edx
push edi
pop esp
pop eax
push ebx
pop edi
pop edx
push edx
pop eax
push esi
call fcn.0043b430
test al, al
je 0x418f8e
pop esp
push ebx
push eax
pop edi
pop ecx
pop edx
push ebp
push eax
pop ecx
push edi
pop eax
pop ebx
push edi
pop ecx
push ebx
pop edi
push eax
pop ecx
push edi
pop esp
push ebx
pop edi
push edx
pop edi
push edx
pop esi
push dword [ebp - 0xfc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x104]
mov esi, dword [ebp - 0x108]
lea ecx, [ebp - 0xf8]
push esi
call fcn.004075d0
push esi
call fcn.00579f1b
add esp, 4
call fcn.0043bb30
test al, al
je 0x418fdf
push ecx
pop esp
push eax
pop ebp
push esi
pop eax
pop esp
push eax
push esi
pop ecx
pop eax
push ebp
pop eax
pop esi
push edx
pop edi
pop ebp
push edx
push eax
pop ebx
pop edx
pop edx
push esi
push esi
pop edx
pop ebp
pop ebx
call fcn.0043b0b0
test al, al
je 0x418fff
pop esp
push eax
push esi
push esi
push ebp
push esi
pop eax
pop ecx
pop eax
push edi
push edi
pop ebx
push esp
pop esp
push esi
pop ecx
push esi
push esi
push ebx
pop esi
push edx
pop esp
pop eax
call fcn.0043b040
test al, al
je 0x41901d
push ebp
push ecx
pop esp
push ecx
pop ebp
push ecx
push esp
push ecx
pop esp
pop edi
push edi
pop ebp
push edi
push esp
pop ebx
push ecx
push edi
pop ebx
pop eax
pop ebx
push ebp
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0xf8]
call fcn.00408080
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x68]
call fcn.00420740
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x419053
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00408a70
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
call fcn.0043b6d0
test al, al
je 0x41908b
push edi
pop ecx
push esi
push ebx
push edi
push ebp
push ebp
push esp
pop eax
pop edi
pop ecx
pop ebp
pop ecx
pop esp
push esi
pop eax
pop ebp
push ebp
push ebp
push eax
pop edi
push edx
push eax
push eax
pop ebp
push ebx
pop edx
push ebp
pop esi
cmp dword [ebp - 0x58], 0
jbe 0x4190a1
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00404eb0
lea ecx, [ebp - 0x68]
call fcn.00403d40
mov esi, dword [ebp - 0x100]
xor eax, eax
mov ecx, esi
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
lea eax, [ebp - 0x2c]
push eax
call fcn.00404fd0
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x4190e2
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00405130
xor eax, eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x1c], 0
cmp eax, 8
jb 0x41910b
inc eax
push eax
push dword [ebx + 8]
lea ecx, [ebx + 8]
call fcn.00405130
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00579ec9
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret