Function at 0x401000
Capabilities:
Read file on windows
Write file on windows

Disassembly:
sub esp, 0x74
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x70], eax
push ebp
push str._n_MovieSplitter____ver_0.11_by_Breaky_n_n
call fcn.00401e6a
mov eax, dword [str.output.avi]
mov ebp, dword [esp + 0x80]
mov ecx, dword [0x410440]
mov dx, word [0x410444]
mov dword [esp + 0x28], eax
mov al, byte [0x410446]
add esp, 4
cmp ebp, 3
mov dword [esp + 0x28], ecx
mov word [esp + 0x2c], dx
mov byte [esp + 0x2e], al
jge 0x4010cc
push str.___Available_options____n_n
call fcn.00401e6a
push str._t_i_tInput_file._Insert_file_name_which_you_want_to_insert._n
call fcn.00401e6a
push str._t_tlike_this.__ex____i_sora_aoi.avi_n_n
call fcn.00401e6a
push str._t_o_tOutput_file._Insert_file_name_which_you_want_to_make._n
call fcn.00401e6a
push str._t_tDefault_is__output.avi___n
call fcn.00401e6a
push str._t_tlike_this.__ex____o_out.dat_n_n
call fcn.00401e6a
push str._t_s_tSize_of_the_file._Insert_the_size_that_you_want_to_make_out._n
call fcn.00401e6a
push str._t_tlike_this.__ex____s_225599180_n_n
call fcn.00401e6a
push str._Please_insert_specified_format___n
call fcn.00401e6a
push str.___ex__moviesplitter.exe__i_sora_aoi.avi__o_output.avi__s_225599180_n_n
call fcn.00401e6a
add esp, 0x28
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.00401fb2
add esp, 0x74
ret
push esi
push edi
mov edi, 1
cmp ebp, edi
jle 0x4011d4
push ebx
mov ebx, dword [esp + 0x8c]
mov esi, dword [ebx + edi*4]
mov ecx, 0x410268
mov eax, esi
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x401110
test dl, dl
je 0x40110c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x401110
add eax, 2
add ecx, 2
test dl, dl
jne 0x4010f0
xor eax, eax
jmp 0x401115
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x401133
mov eax, dword [ebx + edi*4 + 4]
inc edi
lea edx, [esp + 0x58]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x401124
jmp 0x4011ca
mov ecx, 0x410264
mov eax, esi
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x401160
test dl, dl
je 0x40115c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x401160
add eax, 2
add ecx, 2
test dl, dl
jne 0x401140
xor eax, eax
jmp 0x401165
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x401180
mov eax, dword [ebx + edi*4 + 4]
inc edi
lea edx, [esp + 0x24]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x401174
jmp 0x4011ca
mov ecx, 0x410260
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4011a7
test dl, dl
je 0x4011a3
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4011a7
add eax, 2
add ecx, 2
test dl, dl
jne 0x401187
xor eax, eax
jmp 0x4011ac
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4011ca
mov eax, dword [ebx + edi*4 + 4]
inc edi
lea edx, [esp + 0x30]
sub edx, eax
jmp 0x4011c0
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4011c0
inc edi
cmp edi, ebp
jl 0x4010e3
pop ebx
lea ecx, [esp + 0x54]
push 0x41025c
push ecx
call fcn.00401e53
mov esi, eax
add esp, 8
test esi, esi
jne 0x40120e
push str.File_not_found___n
call fcn.00401e6a
add esp, 4
pop edi
lea eax, [esi + 2]
pop esi
pop ebp
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.00401fb2
add esp, 0x74
ret
push str._InputFile_access_succeed._n
call fcn.00401e6a
lea edx, [esp + 0x30]
push 0x410228
push edx
call fcn.00401e53
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x401252
push str.Can_not_open_the_result_file___n
call fcn.00401e6a
add esp, 4
lea eax, [edi + 3]
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.00401fb2
add esp, 0x74
ret
push str._OutputFile_open_succeed._n_n
call fcn.00401e6a
push 2
push 0
push esi
call fcn.00401d0a
push esi
call fcn.00401c12
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
push 0
push 0
push esi
fstp qword [esp + 0x30]
call fcn.00401d0a
lea eax, [esp + 0x40]
push eax
call fcn.00401a62
fst qword [esp + 0x3c]
fcom qword [esp + 0x34]
add esp, 0x24
fnstsw ax
test ah, 0x41
jne 0x4012c4
push str.UNAVAILABLE_SIZE___Please_check_output_file_size___n
fstp st(0)
call fcn.00401e6a
add esp, 4
pop edi
pop esi
mov eax, 4
pop ebp
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.00401fb2
add esp, 0x74
ret
sub esp, 8
fstp qword [esp]
push str._Now_splitting.....__.0lfBytes_n
call fcn.00401e6a
push esi
call fcn.004018fc
add esp, 0x10
test eax, eax
jne 0x401329
push esi
push 1
lea ecx, [esp + 0x17]
push 1
push ecx
call fcn.004018df
push edi
push eax
lea edx, [esp + 0x27]
push 1
push edx
mov dword [esp + 0x30], eax
call fcn.004015bd
fild dword [esp + 0x30]
add esp, 0x20
fsubr qword [esp + 0x18]
fst qword [esp + 0x18]
fldz
fcompp
fnstsw ax
test ah, 1
je 0x401329
push esi
call fcn.004018fc
add esp, 4
test eax, eax
je 0x4012e1
push esi
call fcn.004013df
push edi
call fcn.004013df
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x3c]
push edx
push str.__SUCCESS_____Splitting_file_____s_from__s___sBytes__n
call fcn.00401e6a
mov ecx, dword [esp + 0x94]
add esp, 0x18
pop edi
pop esi
pop ebp
xor ecx, esp
xor eax, eax
call fcn.00401fb2
add esp, 0x74
ret