Function at 0x401060
Capabilities:
Create thread
Terminate process

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0xa6c
pxor xmm1, xmm1
mov eax, 0x100
movaps xmmword [esp + eax + 0x110], xmm1
movaps xmmword [esp + eax + 0x100], xmm1
movaps xmmword [esp + eax + 0xf0], xmm1
movaps xmmword [esp + eax + 0xe0], xmm1
sub eax, 0x40
jne 0x401073
mov eax, 0x100
movaps xmmword [esp + eax + 0x210], xmm1
movaps xmmword [esp + eax + 0x200], xmm1
movaps xmmword [esp + eax + 0x1f0], xmm1
movaps xmmword [esp + eax + 0x1e0], xmm1
sub eax, 0x40
jne 0x40109d
mov eax, 0x100
movaps xmmword [esp + eax + 0x310], xmm1
movaps xmmword [esp + eax + 0x300], xmm1
movaps xmmword [esp + eax + 0x2f0], xmm1
movaps xmmword [esp + eax + 0x2e0], xmm1
sub eax, 0x40
jne 0x4010c7
mov eax, 0x100
movaps xmmword [esp + eax + 0x410], xmm1
movaps xmmword [esp + eax + 0x400], xmm1
movaps xmmword [esp + eax + 0x3f0], xmm1
movaps xmmword [esp + eax + 0x3e0], xmm1
sub eax, 0x40
jne 0x4010f1
mov eax, 0x100
movaps xmmword [esp + eax + 0x510], xmm1
movaps xmmword [esp + eax + 0x500], xmm1
movaps xmmword [esp + eax + 0x4f0], xmm1
movaps xmmword [esp + eax + 0x4e0], xmm1
sub eax, 0x40
jne 0x40111b
mov eax, 0x100
movaps xmmword [esp + eax + 0x610], xmm1
movaps xmmword [esp + eax + 0x600], xmm1
movaps xmmword [esp + eax + 0x5f0], xmm1
movaps xmmword [esp + eax + 0x5e0], xmm1
sub eax, 0x40
jne 0x401145
mov eax, 0x100
movaps xmmword [esp + eax + 0x710], xmm1
movaps xmmword [esp + eax + 0x700], xmm1
movaps xmmword [esp + eax + 0x6f0], xmm1
movaps xmmword [esp + eax + 0x6e0], xmm1
sub eax, 0x40
jne 0x40116f
mov eax, 0x100
movaps xmmword [esp + eax + 0x810], xmm1
movaps xmmword [esp + eax + 0x800], xmm1
movaps xmmword [esp + eax + 0x7f0], xmm1
movaps xmmword [esp + eax + 0x7e0], xmm1
sub eax, 0x40
jne 0x401199
mov eax, 0x100
movaps xmmword [esp + eax + 0x910], xmm1
movaps xmmword [esp + eax + 0x900], xmm1
movaps xmmword [esp + eax + 0x8f0], xmm1
movaps xmmword [esp + eax + 0x8e0], xmm1
sub eax, 0x40
jne 0x4011c3
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
pxor xmm1, xmm1
call dword [sym.imp.avformat.dll_av_register_all]
lea ebp, [esp + 0xa44]
lea ebx, [esp + 0xa40]
lea ecx, [esp + 0xa38]
lea edx, [esp + 0xa3c]
xor eax, eax
pxor xmm1, xmm1
mov dword [esp + 0xa44], eax
mov dword [esp + 0xa40], eax
mov dword [esp + 0xa38], eax
mov dword [esp + 0xa3c], eax
push edx
push 0xffffffffffffffff
push ecx
push ebx
push ebp
call sub.MSVCR90.dll___wgetmainargs
add esp, 0x14
pxor xmm1, xmm1
mov ebp, dword [esp + 0xa44]
test ebp, ebp
jle 0x4012c6
xor ebx, ebx
xor esi, esi
mov eax, dword [esp + 0xa40]
push dword [eax + ebx*4]
call dword [sym.imp.MSVCR90.dll_wcslen]
lea ebp, [eax*4 + 0xa]
push ebp
call sub.avutil.dll_av_malloc
mov edi, eax
push ebp
push 0
push edi
call fcn.004195e0
add esp, 0x14
mov eax, dword [esp + 0xa40]
push esi
push esi
push ebp
push edi
push 0xffffffffffffffff
push dword [eax + ebx*4]
push esi
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push edi
call sub.avutil.dll_av_strdup
pop ecx
mov dword [ebx*4 + 0x527a00], eax
test eax, eax
je 0x4024bf
mov ebp, dword [esp + 0xa44]
inc ebx
cmp ebx, ebp
jl 0x401259
pxor xmm1, xmm1
xor eax, eax
push eax
push eax
push eax
push 0x4146f0
push eax
push eax
call sub.MSVCR90.dll__beginthreadex
add esp, 0x18
pxor xmm1, xmm1
xor esi, esi
push esi
call sub.avcodec.dll_avcodec_alloc_context2
pop ecx
mov dword [esi*4 + 0x938468], eax
inc esi
cmp esi, 5
jb 0x4012e0
pxor xmm1, xmm1
call sub.avformat.dll_Ordinal_9
pxor xmm1, xmm1
mov dword [0x93847c], eax
mov edx, 0x10
xor eax, eax
push eax
push eax
push eax
push dword [0x426430]
push eax
push edx
push edx
push eax
push edx
push edx
call sub.avswscale.dll_sws_getContext
add esp, 0x28
pxor xmm1, xmm1
mov dword [0x938480], eax
mov eax, 0x320
movaps xmmword [eax + 0x531af0], xmm1
movaps xmmword [eax + 0x531ae0], xmm1
movaps xmmword [eax + 0x531ad0], xmm1
movaps xmmword [eax + 0x531ac0], xmm1
movaps xmmword [eax + 0x531ab0], xmm1
sub eax, 0x50
jne 0x401332
push 0x640
push 0
push 0x531e20
call fcn.004195e0
add esp, 0xc
pxor xmm1, xmm1
movdqa xmm0, xmmword [0x41e570]
mov eax, 0x320
movaps xmmword [eax + 0x532450], xmm0
movaps xmmword [eax + 0x532440], xmm0
movaps xmmword [eax + 0x532430], xmm0
movaps xmmword [eax + 0x532420], xmm0
movaps xmmword [eax + 0x532410], xmm0
sub eax, 0x50
jne 0x40137f
mov eax, 0x320
movaps xmmword [eax + 0x532770], xmm1
movaps xmmword [eax + 0x532760], xmm1
movaps xmmword [eax + 0x532750], xmm1
movaps xmmword [eax + 0x532740], xmm1
movaps xmmword [eax + 0x532730], xmm1
sub eax, 0x50
jne 0x4013ac
mov eax, 0x320
movaps xmmword [eax + 0x532a90], xmm1
movaps xmmword [eax + 0x532a80], xmm1
movaps xmmword [eax + 0x532a70], xmm1
movaps xmmword [eax + 0x532a60], xmm1
movaps xmmword [eax + 0x532a50], xmm1
sub eax, 0x50
jne 0x4013d9
mov eax, 0x320
movaps xmmword [eax + 0x532db0], xmm1
movaps xmmword [eax + 0x532da0], xmm1
movaps xmmword [eax + 0x532d90], xmm1
movaps xmmword [eax + 0x532d80], xmm1
movaps xmmword [eax + 0x532d70], xmm1
sub eax, 0x50
jne 0x401406
mov eax, 0x320
movaps xmmword [eax + 0x5330d0], xmm1
movaps xmmword [eax + 0x5330c0], xmm1
movaps xmmword [eax + 0x5330b0], xmm1
movaps xmmword [eax + 0x5330a0], xmm1
movaps xmmword [eax + 0x533090], xmm1
sub eax, 0x50
jne 0x401433
mov eax, 0x320
movaps xmmword [eax + 0x5333f0], xmm1
movaps xmmword [eax + 0x5333e0], xmm1
movaps xmmword [eax + 0x5333d0], xmm1
movaps xmmword [eax + 0x5333c0], xmm1
movaps xmmword [eax + 0x5333b0], xmm1
sub eax, 0x50
jne 0x401460
mov eax, 0x320
movaps xmmword [eax + 0x533710], xmm1
movaps xmmword [eax + 0x533700], xmm1
movaps xmmword [eax + 0x5336f0], xmm1
movaps xmmword [eax + 0x5336e0], xmm1
movaps xmmword [eax + 0x5336d0], xmm1
sub eax, 0x50
jne 0x40148d
mov eax, 0x320
movaps xmmword [eax + 0x533a30], xmm1
movaps xmmword [eax + 0x533a20], xmm1
movaps xmmword [eax + 0x533a10], xmm1
movaps xmmword [eax + 0x533a00], xmm1
movaps xmmword [eax + 0x5339f0], xmm1
sub eax, 0x50
jne 0x4014ba
mov eax, 0x320
movaps xmmword [eax + 0x533d50], xmm1
movaps xmmword [eax + 0x533d40], xmm1
movaps xmmword [eax + 0x533d30], xmm1
movaps xmmword [eax + 0x533d20], xmm1
movaps xmmword [eax + 0x533d10], xmm1
sub eax, 0x50
jne 0x4014e7
mov eax, 0x320
movaps xmmword [eax + 0x534070], xmm1
movaps xmmword [eax + 0x534060], xmm1
movaps xmmword [eax + 0x534050], xmm1
movaps xmmword [eax + 0x534040], xmm1
movaps xmmword [eax + 0x534030], xmm1
sub eax, 0x50
jne 0x401514
mov eax, 0x320
movaps xmmword [eax + 0x534390], xmm1
movaps xmmword [eax + 0x534380], xmm1
movaps xmmword [eax + 0x534370], xmm1
movaps xmmword [eax + 0x534360], xmm1
movaps xmmword [eax + 0x534350], xmm1
sub eax, 0x50
jne 0x401541
mov eax, dword [sym.imp.avformat.dll_Ordinal_153]
movdqa xmm0, xmmword [0x41e560]
mov dword [eax], 0
xor eax, eax
movdqa xmmword [eax*4 + 0x5346c0], xmm0
movdqa xmmword [eax*4 + 0x5346d0], xmm0
movdqa xmmword [eax*4 + 0x5346e0], xmm0
movdqa xmmword [eax*4 + 0x5346f0], xmm0
add eax, 0x10
cmp eax, 0xc0
jb 0x40157e
mov eax, 1
mov dword [0x5349c0], eax
mov dword [0x5349c4], eax
cmp ebp, 1
mov dword [0x5349c8], eax
mov dword [0x5349cc], eax
mov dword [0x5349d0], eax
mov dword [0x5349d4], eax
mov dword [0x5349d8], eax
mov dword [0x5349dc], eax
jle 0x40161d
mov esi, eax
mov edi, esi
mov ecx, dword [edi*4 + 0x527a00]
inc edi
test esi, esi
je 0x4015f7
cmp byte [ecx], 0x2d
je 0x40225e
cmp dword [0x938508], 0
jne 0x401609
mov eax, ecx
call fcn.0040cb80
jmp 0x401610
mov eax, ecx
call fcn.00402510
cmp edi, ebp
jl 0x4015e2
mov eax, 1
pxor xmm1, xmm1
mov edi, dword [0x93850c]
test edi, edi
jne 0x401633
mov dword [0x93850c], 1
mov edi, eax
cmp dword [0x9384e4], 0
je 0x402255
mov eax, dword [0x938510]
test eax, eax
jle 0x402236
mov dword [0x938514], 0
xor ebx, ebx
test edi, edi
jle 0x401d68
xor esi, esi
call dword [sym.imp.MSVCR90.dll___iob_func]
mov dword [esp + 0xa30], ebp
add eax, 0x40
mov dword [esp + 0xa34], eax
pxor xmm1, xmm1
pxor xmm0, xmm0
mov dword [0x938518], esi
test esi, esi
pxor xmm0, xmm0
movsd qword [0x9383f0], xmm0
jle 0x401bea
cmp esi, edi
je 0x401bea
xor eax, eax
cmp dword [0x938524], 0
mov dword [0x93851c], eax
mov dword [0x426464], 0xfffffffe
mov dword [0x938520], eax
je 0x4016ce
mov eax, dword [sym.imp.avformat.dll_Ordinal_153]
mov dword [eax], 1
cmp dword [0x938528], 0
je 0x4018f2
mov eax, 0x100
pxor xmm0, xmm0
movaps xmmword [esp + eax + 0x310], xmm0
movaps xmmword [esp + eax + 0x300], xmm0
movaps xmmword [esp + eax + 0x2f0], xmm0
movaps xmmword [esp + eax + 0x2e0], xmm0
sub eax, 0x40
jne 0x4016e0
mov eax, 0x100
pxor xmm0, xmm0
movaps xmmword [esp + eax + 0x410], xmm0
movaps xmmword [esp + eax + 0x400], xmm0
movaps xmmword [esp + eax + 0x3f0], xmm0
movaps xmmword [esp + eax + 0x3e0], xmm0
sub eax, 0x40
jne 0x40170e
mov eax, 0x100
pxor xmm0, xmm0
movaps xmmword [esp + eax + 0x510], xmm0
movaps xmmword [esp + eax + 0x500], xmm0
movaps xmmword [esp + eax + 0x4f0], xmm0
movaps xmmword [esp + eax + 0x4e0], xmm0
sub eax, 0x40
jne 0x40173c
mov eax, 0x100
pxor xmm0, xmm0
movaps xmmword [esp + eax + 0x510], xmm0
movaps xmmword [esp + eax + 0x500], xmm0
movaps xmmword [esp + eax + 0x4f0], xmm0
movaps xmmword [esp + eax + 0x4e0], xmm0
sub eax, 0x40
jne 0x40176a
mov eax, 0x100
pxor xmm0, xmm0
movaps xmmword [esp + eax + 0x10], xmm0
movaps xmmword [esp + eax], xmm0
movaps xmmword [esp + eax - 0x10], xmm0
movaps xmmword [esp + eax - 0x20], xmm0
sub eax, 0x40
jne 0x401798
mov eax, 0x100
pxor xmm0, xmm0
movaps xmmword [esp + eax + 0x610], xmm0
movaps xmmword [esp + eax + 0x600], xmm0
movaps xmmword [esp + eax + 0x5f0], xmm0
movaps xmmword [esp + eax + 0x5e0], xmm0
sub eax, 0x40
jne 0x4017b9
mov eax, 0x100
pxor xmm0, xmm0
movaps xmmword [esp + eax + 0x710], xmm0
movaps xmmword [esp + eax + 0x700], xmm0
movaps xmmword [esp + eax + 0x6f0], xmm0
movaps xmmword [esp + eax + 0x6e0], xmm0
sub eax, 0x40
jne 0x4017e7
mov eax, 0x100
pxor xmm0, xmm0
movaps xmmword [esp + eax + 0x910], xmm0
movaps xmmword [esp + eax + 0x900], xmm0
movaps xmmword [esp + eax + 0x8f0], xmm0
movaps xmmword [esp + eax + 0x8e0], xmm0
sub eax, 0x40
jne 0x401815
lea edi, [esp + 0x20]
lea esi, [esp + 0x620]
lea ebp, [esp + 0x720]
lea ecx, [esp + 0x920]
mov edx, ebx
shl edx, 4
shl ebx, 0xa
lea eax, [edx + ebx + 0x5349e0]
lea edx, [esp + 0x520]
lea ebx, [esp + 0x820]
push ecx
push ebx
push ebp
push esi
push edi
push edx
lea ecx, [esp + 0x438]
push ecx
lea ebx, [esp + 0x33c]
push ebx
lea ebp, [esp + 0x240]
push ebp
lea ebp, [esp + 0x144]
push ebp
push eax
push 0
call fcn.004163f0
push 1
push ebp
call sub.avformat.dll_Ordinal_171
add esp, 0x38
mov ebx, dword [0x938514]
mov ebp, dword [ebx*4 + 0x567660]
mov esi, dword [ebx*4 + 0x532460]
test ebp, ebp
je 0x4018db
cmp esi, dword [ebx*4 + 0x5346c0]
jge 0x4018db
mov ecx, esi
shl ecx, 4
mov dword [ecx + ebp + 8], eax
mov dword [ecx + ebp + 0xc], edx
test esi, esi
je 0x4018e4
cmp esi, 0xffffffff
jne 0x4018f2
mov dword [ebx*8 + 0x567980], eax
mov dword [ebx*8 + 0x567984], edx
mov edx, ebx
shl edx, 4
shl ebx, 0xa
lea eax, [edx + ebx + 0x5349e0]
call fcn.0040d8e4
cmp dword [0x938528], 0
jne 0x40191a
mov esi, dword [0x938514]
jmp 0x401bdf
mov ebp, dword [0x938514]
lea eax, [esp + 0x620]
push eax
call dword [sym.imp.MSVCR90.dll_atoi]
mov dword [ebp*4 + 0x533a40], eax
add esp, 4
test eax, eax
jl 0x4021e6
mov edx, eax
and edx, reloc.avcodec.dll_Ordinal_1
jge 0x401951
sub edx, 1
or edx, 0xfffffffe
inc edx
test edx, edx
jne 0x4021c9
mov ebx, dword [ebp*4 + 0x532aa0]
cmp eax, ebx
jge 0x4021ac
sub ebx, eax
mov dword [ebp*4 + 0x532aa0], ebx
lea eax, [esp + 0x720]
push eax
call dword [sym.imp.MSVCR90.dll_atoi]
mov dword [ebp*4 + 0x533d60], eax
add esp, 4
test eax, eax
jl 0x40218f
mov edx, eax
and edx, reloc.avcodec.dll_Ordinal_1
jge 0x4019a2
sub edx, 1
or edx, 0xfffffffe
inc edx
test edx, edx
jne 0x402172
cmp eax, ebx
jge 0x402155
sub ebx, eax
mov dword [ebp*4 + 0x532aa0], ebx
lea eax, [esp + 0x820]
push eax
call dword [sym.imp.MSVCR90.dll_atoi]
mov dword [ebp*4 + 0x534080], eax
add esp, 4
test eax, eax
jl 0x402138
mov edx, eax
and edx, reloc.avcodec.dll_Ordinal_1
jge 0x4019ec
sub edx, 1
or edx, 0xfffffffe
inc edx
test edx, edx
jne 0x40211b
mov ebx, dword [ebp*4 + 0x532780]
cmp eax, ebx
jge 0x4020fe
sub ebx, eax
mov dword [ebp*4 + 0x532780], ebx
lea eax, [esp + 0x920]
push eax
call dword [sym.imp.MSVCR90.dll_atoi]
mov dword [ebp*4 + 0x5343a0], eax
add esp, 4
test eax, eax
jl 0x4020e1
mov edx, eax
and edx, reloc.avcodec.dll_Ordinal_1
jge 0x401a3d
sub edx, 1
or edx, 0xfffffffe
inc edx
test edx, edx
jne 0x4020c4
cmp eax, ebx
jge 0x4020a7
lea ecx, [ebp*4 + 0x532780]
lea edx, [ebp*4 + 0x532aa0]
sub ebx, eax
lea eax, [esp + 0x220]
push eax
mov dword [ebp*4 + 0x532780], ebx
push edx
push ecx
call sub.avcodec.dll_av_parse_video_frame_size
add esp, 0xc
test eax, eax
jl 0x40208a
mov eax, dword [ebp*4 + 0x532780]
and eax, reloc.avcodec.dll_Ordinal_1
jge 0x401a93
sub eax, 1
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x40206d
mov eax, dword [ebp*4 + 0x532aa0]
and eax, reloc.avcodec.dll_Ordinal_1
jge 0x401ab0
sub eax, 1
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x40206d
mov esi, dword [0x938514]
mov ebp, esi
mov ebx, ebp
test esi, esi
jle 0x401ad3
cmp dword [0x938528], 0
lea ebp, [esi - 1]
cmovne ebp, esi
lea eax, [esp + 0x320]
push eax
call dword [sym.imp.MSVCR90.dll_atoi]
mov dword [ebp*4 + 0x532dc0], eax
add esp, 4
test eax, eax
jl 0x402050
and eax, reloc.avcodec.dll_Ordinal_1
jge 0x401b01
sub eax, 1
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x402033
mov ebp, ebx
test esi, esi
jle 0x401b1c
cmp dword [0x938528], 0
lea ebp, [esi - 1]
cmovne ebp, esi
lea eax, [esp + 0x420]
push eax
call dword [sym.imp.MSVCR90.dll_atoi]
mov dword [ebp*4 + 0x5330e0], eax
add esp, 4
test eax, eax
jl 0x402016
and eax, reloc.avcodec.dll_Ordinal_1
jge 0x401b4a
sub eax, 1
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x401ff9
mov ebp, ebx
test esi, esi
jle 0x401b65
cmp dword [0x938528], 0
lea ebp, [esi - 1]
cmovne ebp, esi
lea eax, [esp + 0x520]
push eax
call dword [sym.imp.MSVCR90.dll_atoi]
mov dword [ebp*4 + 0x533400], eax
add esp, 4
test eax, eax
jl 0x401fdc
and eax, reloc.avcodec.dll_Ordinal_1
jge 0x401b93
sub eax, 1
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x401fbf
test esi, esi
jle 0x401bac
cmp dword [0x938528], 0
lea ebx, [esi - 1]
cmovne ebx, esi
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.MSVCR90.dll_atoi]
mov dword [ebx*4 + 0x533720], eax
add esp, 4
test eax, eax
jl 0x401fa2
and eax, reloc.avcodec.dll_Ordinal_1
jge 0x401bd7
sub eax, 1
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x401f85
mov eax, dword [0x938530]
inc eax
mov dword [0x93852c], eax
cmp dword [esi*4 + 0x531b00], 0
je 0x402219
call sub.avformat.dll_Ordinal_18
mov ebp, eax
mov ebx, edx
cmp dword [0x938504], 0
je 0x401c4b
mov ecx, dword [0x567fc0]
test ecx, ecx
je 0x401c4b
lea edi, [ecx + 0x15c]
mov esi, 0x5682e0
mov dl, byte [edi]
inc edi
mov byte [esi], dl
inc esi
test dl, dl
jne 0x401c1f
mov eax, dword [ecx + 0x68]
test eax, eax
jbe 0x401c4b
xor esi, esi
mov edx, dword [ecx + esi*4 + 0x6c]
mov edx, dword [edx + 8]
cmp dword [edx + 0xe0], 0
je 0x402203
inc esi
cmp esi, eax
jb 0x401c32
mov edi, dword [0x938514]
mov eax, dword [edi*4 + 0x531b00]
mov edx, dword [0x93853c]
imul esi, edi, 0x320
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0x568700
lea ecx, [esi + 0x569380]
mov eax, 0x567fc0
mov dword [esp + 0x14], edx
mov edx, dword [0x938510]
call fcn.00402600
call sub.avformat.dll_Ordinal_18
sub eax, ebp
sbb edx, ebx
cmp dword [0x93848c], 0
je 0x401cf2
mov dword [esp], str.bench:_utime_0.3fs_n
mov dword [esp + 0xa20], eax
mov dword [esp + 0xa24], edx
fild qword [esp + 0xa20]
fdiv qword [0x41e5a0]
fst qword [esp + 0xa28]
fstp qword [esp + 4]
call dword [sym.imp.MSVCR90.dll_printf]
fld qword [esp + 0xa28]
mov eax, dword [esp + 0xa34]
fstp qword [esp + 8]
mov dword [esp], eax
mov dword [esp + 4], str.bench:_utime_0.3f_n
call dword [sym.imp.MSVCR90.dll_fprintf]
mov esi, dword [0x938514]
cmp dword [esi*4 + 0x5346c0], 1
jle 0x401d16
push dword [esi*4 + 0x567660]
call dword [sym.imp.avutil.dll_av_free]
pop ecx
mov esi, dword [0x938514]
cmp dword [esi*4 + 0x531b00], 0
jle 0x401d45
xor ebp, ebp
imul eax, esi, 0x320
push dword [eax + ebp*4 + 0x569380]
call sub.avformat.dll_Ordinal_10
pop ecx
mov esi, dword [0x938514]
inc ebp
cmp ebp, dword [esi*4 + 0x531b00]
jl 0x401d22
mov edi, dword [0x93850c]
inc esi
mov dword [0x938514], esi
mov ebx, esi
cmp esi, edi
jl 0x401682
mov ebp, dword [esp + 0xa30]
mov eax, dword [0x938510]
test eax, eax
jle 0x401dd2
mov dword [esp + 0xa30], ebp
xor ebx, ebx
xor edi, edi
mov ebp, dword [ebx*4 + 0x567fc0]
mov eax, dword [ebp + 8]
test byte [eax + 0x28], 1
jne 0x401d92
lea eax, [ebp + 0x10]
push eax
call dword [sym.imp.avformat.dll_Ordinal_232]
pop ecx
cmp dword [ebp + 0x68], 0
jbe 0x401dba
mov esi, edi
mov eax, dword [ebp + esi*4 + 0x6c]
push dword [eax + 8]
call dword [sym.imp.avutil.dll_av_free]
push dword [ebp + esi*4 + 0x6c]
call dword [sym.imp.avutil.dll_av_free]
add esp, 8
inc esi
cmp esi, dword [ebp + 0x68]
jb 0x401d9a
push ebp
call dword [sym.imp.avutil.dll_av_free]
pop ecx
inc ebx
cmp ebx, dword [0x938510]
jl 0x401d77
mov ebp, dword [esp + 0xa30]
cmp dword [0x938504], 0
je 0x401e03
cmp dword [0x938540], 0
je 0x401ded
cmp dword [0x938544], 0
jne 0x401e03
mov edx, dword [0x938534]
mov ecx, dword [0x938538]
mov eax, 0x5682e0
call fcn.0040ea30
cmp dword [0x938548], 0
je 0x401e1d
mov eax, dword [0x93854c]
test eax, eax
je 0x401e1d
push eax
call dword [sym.imp.MSVCR90.dll_fclose]
pop ecx
call sub.avcodec.dll_av_free_static
mov eax, dword [0x938480]
test eax, eax
je 0x401e3d
push eax
call dword [sym.imp.avutil.dll_av_free]
pop ecx
mov dword [0x938480], 0
mov eax, dword [0x938468]
test eax, eax
je 0x401e58
push eax
call dword [sym.imp.avutil.dll_av_free]
pop ecx
mov dword [0x938468], 0
mov eax, dword [0x93846c]
test eax, eax
je 0x401e73
push eax
call dword [sym.imp.avutil.dll_av_free]
pop ecx
mov dword [0x93846c], 0
mov eax, dword [0x938470]
test eax, eax
je 0x401e8e
push eax
call dword [sym.imp.avutil.dll_av_free]
pop ecx
mov dword [0x938470], 0
mov eax, dword [0x938474]
test eax, eax
je 0x401ea9
push eax
call dword [sym.imp.avutil.dll_av_free]
pop ecx
mov dword [0x938474], 0
mov eax, dword [0x938478]
test eax, eax
je 0x401ec4
push eax
call dword [sym.imp.avutil.dll_av_free]
pop ecx
mov dword [0x938478], 0
mov eax, dword [0x93847c]
test eax, eax
je 0x401edf
push eax
call dword [sym.imp.avutil.dll_av_free]
pop ecx
mov dword [0x93847c], 0
call sub.avcodec.dll_Ordinal_79
push dword [0x938550]
call dword [sym.imp.avutil.dll_av_free]
push dword [0x938554]
call dword [sym.imp.avutil.dll_av_free]
add esp, 8
mov eax, dword [0x938558]
test eax, eax
je 0x401f10
push eax
call dword [sym.imp.MSVCR90.dll_fclose]
pop ecx
push dword [0x93855c]
call dword [sym.imp.avutil.dll_av_free]
push dword [0x938560]
call dword [sym.imp.avutil.dll_av_free]
push dword [0x938564]
call dword [sym.imp.avutil.dll_av_free]
add esp, 0xc
mov eax, dword [0x938568]
test eax, eax
jne 0x401f5c
dec ebp
js 0x401f53
push dword [ebp*4 + 0x527a00]
call dword [sym.imp.avutil.dll_av_free]
pop ecx
jmp 0x401f40
push 0
call dword [sym.imp.MSVCR90.dll_exit]
pop ecx
call dword [sym.imp.MSVCR90.dll___iob_func]
push dword [0x938568]
push str.Received_signal__d:_terminating._n
add eax, 0x40
push eax
call dword [sym.imp.MSVCR90.dll_fprintf]
push 0xff
call dword [sym.imp.MSVCR90.dll_exit]
add esp, 0x10
mov eax, dword [esp + 0xa34]
push eax
push str.Right_pad_size_must_be_a_multiple_of_2_n
call sub.MSVCR90.dll_fputs
push 1
call dword [sym.imp.MSVCR90.dll_exit]
add esp, 0xc
mov eax, dword [esp + 0xa34]
push eax
push str.Incorrect_right_pad_size_n
call sub.MSVCR90.dll_fputs
push 1
call dword [sym.imp.MSVCR90.dll_exit]
add esp, 0xc
mov eax, dword [esp + 0xa34]
push eax
push str.Left_pad_size_must_be_a_multiple_of_2_n
call sub.MSVCR90.dll_fputs
push 1
call dword [sym.imp.MSVCR90.dll_exit]
add esp, 0xc
mov eax, dword [esp + 0xa34]
push eax
push str.Incorrect_left_pad_size_n
call sub.MSVCR90.dll_fputs
push 1
call dword [sym.imp.MSVCR90.dll_exit]
add esp, 0xc
mov eax, dword [esp + 0xa34]
push eax
push str.Bottom_pad_size_must_be_a_multiple_of_2_n
call sub.MSVCR90.dll_fputs
push 1
call dword [sym.imp.MSVCR90.dll_exit]
add esp, 0xc
mov eax, dword [esp + 0xa34]
push eax
push str.Incorrect_bottom_pad_size_n
call sub.MSVCR90.dll_fputs
push 1
call dword [sym.imp.MSVCR90.dll_exit]
add esp, 0xc
mov eax, dword [esp + 0xa34]
push eax
push str.Top_pad_size_must_be_a_multiple_of_2_n
call sub.MSVCR90.dll_fputs
push 1
call dword [sym.imp.MSVCR90.dll_exit]
add esp, 0xc
mov eax, dword [esp + 0xa34]
push eax
push str.Incorrect_top_pad_size_n
call sub.MSVCR90.dll_fputs
push 1
call dword [sym.imp.MSVCR90.dll_exit]
add esp, 0xc
mov eax, dword [esp + 0xa34]
push eax
push str.Frame_size_must_be_a_multiple_of_2_n
call sub.MSVCR90.dll_fputs
push 1
call dword [sym.imp.MSVCR90.dll_exit]
add esp, 0xc
mov eax, dword [esp + 0xa34]
push eax
push str.Incorrect_frame_size_n
call sub.MSVCR90.dll_fputs
push 1
call dword [sym.imp.MSVCR90.dll_exit]
add esp, 0xc
mov eax, dword [esp + 0xa34]
push eax
push str.Horizontal_crop_dimensions_are_outside_the_range_of_the_original_image._nRemember_to_crop_first_and_scale_second._n
call sub.MSVCR90.dll_fputs
push 1
call dword [sym.imp.MSVCR90.dll_exit]
add esp, 0xc
mov eax, dword [esp + 0xa34]
push eax
push str.Right_crop_size_must_be_a_multiple_of_2_n
call sub.MSVCR90.dll_fputs
push 1
call dword [sym.imp.MSVCR90.dll_exit]
add esp, 0xc
mov eax, dword [esp + 0xa34]
push eax
push str.Incorrect_right_crop_size_n
call sub.MSVCR90.dll_fputs
push 1
call dword [sym.imp.MSVCR90.dll_exit]
add esp, 0xc
mov eax, dword [esp + 0xa34]
push eax
push str.Horizontal_crop_dimensions_are_outside_the_range_of_the_original_image._nRemember_to_crop_first_and_scale_second._n
call sub.MSVCR90.dll_fputs
push 1
call dword [sym.imp.MSVCR90.dll_exit]
add esp, 0xc
mov eax, dword [esp + 0xa34]
push eax
push str.Left_crop_size_must_be_a_multiple_of_2_n
call sub.MSVCR90.dll_fputs
push 1
call dword [sym.imp.MSVCR90.dll_exit]
add esp, 0xc
mov eax, dword [esp + 0xa34]
push eax
push str.Incorrect_left_crop_size_n
call sub.MSVCR90.dll_fputs
push 1
call dword [sym.imp.MSVCR90.dll_exit]
add esp, 0xc
mov eax, dword [esp + 0xa34]
push eax
push str.Vertical_crop_dimensions_are_outside_the_range_of_the_original_image._nRemember_to_crop_first_and_scale_second._n
call sub.MSVCR90.dll_fputs
push 1
call dword [sym.imp.MSVCR90.dll_exit]
add esp, 0xc
mov eax, dword [esp + 0xa34]
push eax
push str.Bottom_crop_size_must_be_a_multiple_of_2_n
call sub.MSVCR90.dll_fputs
push 1
call dword [sym.imp.MSVCR90.dll_exit]
add esp, 0xc
mov eax, dword [esp + 0xa34]
push eax
push str.Incorrect_bottom_crop_size_n
call sub.MSVCR90.dll_fputs
push 1
call dword [sym.imp.MSVCR90.dll_exit]
add esp, 0xc
mov eax, dword [esp + 0xa34]
push eax
push str.Vertical_crop_dimensions_are_outside_the_range_of_the_original_image._nRemember_to_crop_first_and_scale_second._n
call sub.MSVCR90.dll_fputs
push 1
call dword [sym.imp.MSVCR90.dll_exit]
add esp, 0xc
mov eax, dword [esp + 0xa34]
push eax
push str.Top_crop_size_must_be_a_multiple_of_2_n
call sub.MSVCR90.dll_fputs
push 1
call dword [sym.imp.MSVCR90.dll_exit]
add esp, 0xc
mov eax, dword [esp + 0xa34]
push eax
push str.Incorrect_top_crop_size_n
call sub.MSVCR90.dll_fputs
push 1
call dword [sym.imp.MSVCR90.dll_exit]
add esp, 0xc
mov eax, dword [edx + 0x28]
mov edx, dword [edx + 0x2c]
mov dword [0x938534], eax
mov dword [0x938538], edx
jmp 0x401c4b
mov eax, dword [esp + 0xa34]
push eax
push str.Must_supply_at_least_one_input_file_n
call sub.MSVCR90.dll_fputs
push 1
call dword [sym.imp.MSVCR90.dll_exit]
add esp, 0xc
call dword [sym.imp.MSVCR90.dll___iob_func]
add eax, 0x40
push eax
push str.Must_supply_at_least_one_output_file_n
call sub.MSVCR90.dll_fputs
push 1
call dword [sym.imp.MSVCR90.dll_exit]
add esp, 0xc
push 1
call dword [sym.imp.MSVCR90.dll_exit]
pop ecx
movsx edx, byte [ecx + 1]
test edx, edx
je 0x4015f7
cmp edx, 0x2d
jne 0x402286
movsx edx, byte [ecx + 2]
test edx, edx
jne 0x402286
cmp edi, ebp
jge 0x401614
xor esi, esi
jmp 0x4015e2
mov dword [esp + 0xa30], ebp
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], esi
mov ebx, 0x41d800
lea edx, [ecx + 1]
mov eax, 0x41e784
mov dword [esp + 0x28], edx
mov ebp, edx
mov ecx, eax
mov edi, ebp
mov esi, ecx
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x4022d2
test dl, dl
je 0x4022ce
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x4022d2
add edi, 2
add esi, 2
test dl, dl
jne 0x4022b2
xor eax, eax
jmp 0x4022d7
sbb eax, eax
or eax, 1
test eax, eax
je 0x4022e4
add ebx, 0x14
mov ecx, dword [ebx]
test ecx, ecx
jne 0x4022ae
mov ebp, dword [esp + 0xa30]
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov eax, ecx
mov ecx, dword [esp + 0x2c]
test eax, eax
je 0x402467
cmp dword [ebx], 0
je 0x402402
mov edx, dword [ebx + 4]
test dl, 1
je 0x402347
mov eax, dword [edi*4 + 0x527a00]
inc edi
test eax, eax
jne 0x402349
mov ebx, ecx
call dword [sym.imp.MSVCR90.dll___iob_func]
push ebx
push dword [0x527a00]
add eax, 0x40
push str._s:_missing_argument_for_option__s_n
push eax
call dword [sym.imp.MSVCR90.dll_fprintf]
push 1
call dword [sym.imp.MSVCR90.dll_exit]
add esp, 0x14
xor eax, eax
test dl, 8
jne 0x40244e
test dl, 2
je 0x40236d
mov eax, dword [ebx + 8]
mov dword [eax], 1
cmp edi, ebp
jl 0x4015e2
jmp 0x4023f4
test edx, 0x80
je 0x40238e
push eax
call dword [sym.imp.MSVCR90.dll_atoi]
mov edx, dword [ebx + 8]
add esp, 4
mov dword [edx], eax
cmp edi, ebp
jl 0x4015e2
jmp 0x4023f4
test edx, 0x800
jne 0x40242b
test edx, 0x100
je 0x4023bb
push eax
call dword [sym.imp.MSVCR90.dll_atof]
mov eax, dword [ebx + 8]
fstp dword [eax]
add esp, 4
cmp edi, ebp
jl 0x4015e2
jmp 0x4023f4
test edx, 0x400
je 0x4023e7
push eax
push dword [esp + 0x2c]
mov dword [esp + 0x34], ecx
call dword [ebx + 8]
mov ecx, dword [esp + 0x34]
add esp, 8
test eax, eax
jl 0x402402
cmp edi, ebp
jl 0x4015e2
jmp 0x401614
push eax
call dword [ebx + 8]
pop ecx
cmp edi, ebp
jl 0x4015e2
mov eax, 1
pxor xmm1, xmm1
jmp 0x40161d
mov ebx, ecx
call dword [sym.imp.MSVCR90.dll___iob_func]
push ebx
push dword [0x527a00]
add eax, 0x40
push str._s:_unrecognized_option__s_n
push eax
call dword [sym.imp.MSVCR90.dll_fprintf]
push 1
call dword [sym.imp.MSVCR90.dll_exit]
add esp, 0x14
push 0xa
push 0
push eax
call sub.avformat.dll_Ordinal_117
add esp, 0xc
cdq
mov ecx, dword [ebx + 8]
mov dword [ecx], eax
mov dword [ecx + 4], edx
cmp edi, ebp
jl 0x4015e2
jmp 0x401614
push eax
call sub.avutil.dll_av_strdup
pop ecx
mov edx, dword [ebx + 8]
mov dword [edx], eax
cmp edi, ebp
jl 0x4015e2
jmp 0x401614
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], esi
mov ebx, 0x41d800
mov edx, 0x41e784
mov edi, str.default
mov esi, edx
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x4024a0
test dl, dl
je 0x40249c
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x4024a0
add edi, 2
add esi, 2
test dl, dl
jne 0x402480
xor eax, eax
jmp 0x4024a5
sbb eax, eax
or eax, 1
test eax, eax
je 0x4024b2
add ebx, 0x14
mov edx, dword [ebx]
test edx, edx
jne 0x402479
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
jmp 0x402301
mov eax, dword [esp + 0xa44]
dec eax
mov dword [esp + 0xa44], eax
js 0x4024e0
push dword [eax*4 + 0x527a00]
call dword [sym.imp.avutil.dll_av_free]
pop ecx
jmp 0x4024bf
call dword [sym.imp.MSVCR90.dll___iob_func]
add eax, 0x40
push eax
push str.cannot_get_command_line_arguments_n
call sub.MSVCR90.dll_fputs
mov eax, 0xffffffff
add esp, 0xa74
pop ebx
pop ebp
pop esi
pop edi
ret