Function at 0x41e290
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [esp], 0x10
call fcn.00405785
mov edi, eax
test eax, eax
jne 0x41e2d0
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, 0
jmp 0x41e5a6
mov eax, dword [ebp + 0xc]
mov dword [eax + 8], edi
mov ebx, 0xc
mov esi, 0
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.msvcrt.dll__lseek
cdq
mov ecx, edx
xor ecx, esi
xor eax, ebx
or ecx, eax
je 0x41e323
mov dword [esp], str.Faild_to_seek_VIDEO_TS.IFO_n
call fcn.0042c4b6
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.0041ed49
mov eax, 0
jmp 0x41e5a6
mov dword [esp + 8], 4
lea eax, [ebp - 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.msvcrt.dll__read
cmp eax, 4
je 0x41e363
mov dword [esp], str.Faild_to_read_VIDEO_TS.IFO_n
call fcn.0042c4b6
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.0041ed49
mov eax, 0
jmp 0x41e5a6
lea ecx, [ebp - 0x10]
movzx edx, byte [ecx + 3]
movzx eax, byte [ecx + 2]
shl eax, 8
or edx, eax
movzx eax, byte [ecx + 1]
shl eax, 0x10
or edx, eax
movzx eax, byte [ebp - 0x10]
shl eax, 0x18
or edx, eax
mov dword [ebp - 0x10], edx
mov dword [edi], edx
mov ebx, 0x1c
mov esi, 0
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.msvcrt.dll__lseek
cdq
mov ecx, edx
xor ecx, esi
xor eax, ebx
or ecx, eax
je 0x41e3d7
mov dword [esp], str.Faild_to_seek_VIDEO_TS.IFO_n
call fcn.0042c4b6
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.0041ed49
mov eax, 0
jmp 0x41e5a6
mov dword [esp + 8], 4
lea eax, [ebp - 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.msvcrt.dll__read
cmp eax, 4
je 0x41e417
mov dword [esp], str.Faild_to_read_VIDEO_TS.IFO_n
call fcn.0042c4b6
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.0041ed49
mov eax, 0
jmp 0x41e5a6
lea ecx, [ebp - 0x10]
movzx edx, byte [ecx + 3]
movzx eax, byte [ecx + 2]
shl eax, 8
or edx, eax
movzx eax, byte [ecx + 1]
shl eax, 0x10
or edx, eax
movzx eax, byte [ebp - 0x10]
shl eax, 0x18
or edx, eax
mov dword [ebp - 0x10], edx
mov dword [edi + 4], edx
mov ebx, 0xc0
mov esi, 0
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.msvcrt.dll__lseek
cdq
mov ecx, edx
xor ecx, esi
xor eax, ebx
or ecx, eax
je 0x41e48c
mov dword [esp], str.Faild_to_seek_VIDEO_TS.IFO_n
call fcn.0042c4b6
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.0041ed49
mov eax, 0
jmp 0x41e5a6
mov dword [esp + 8], 4
lea eax, [ebp - 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.msvcrt.dll__read
cmp eax, 4
je 0x41e4cc
mov dword [esp], str.Faild_to_read_VIDEO_TS.IFO_n
call fcn.0042c4b6
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.0041ed49
mov eax, 0
jmp 0x41e5a6
lea ecx, [ebp - 0x10]
movzx edx, byte [ecx + 3]
movzx eax, byte [ecx + 2]
shl eax, 8
or edx, eax
movzx eax, byte [ecx + 1]
shl eax, 0x10
or edx, eax
movzx eax, byte [ebp - 0x10]
shl eax, 0x18
or edx, eax
mov dword [ebp - 0x10], edx
mov dword [edi + 8], edx
mov ebx, 0xc4
mov esi, 0
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.msvcrt.dll__lseek
cdq
mov ecx, edx
xor ecx, esi
xor eax, ebx
or ecx, eax
je 0x41e53e
mov dword [esp], str.Faild_to_seek_VIDEO_TS.IFO_n
call fcn.0042c4b6
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.0041ed49
mov eax, 0
jmp 0x41e5a6
mov dword [esp + 8], 4
lea eax, [ebp - 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.msvcrt.dll__read
cmp eax, 4
je 0x41e57b
mov dword [esp], str.Faild_to_read_VIDEO_TS.IFO_n
call fcn.0042c4b6
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.0041ed49
mov eax, 0
jmp 0x41e5a6
lea ecx, [ebp - 0x10]
movzx edx, byte [ecx + 3]
movzx eax, byte [ecx + 2]
shl eax, 8
or edx, eax
movzx eax, byte [ecx + 1]
shl eax, 0x10
or edx, eax
movzx eax, byte [ebp - 0x10]
shl eax, 0x18
or edx, eax
mov dword [ebp - 0x10], edx
mov dword [edi + 0xc], edx
mov eax, dword [ebp + 0xc]
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret