Function at 0x40cb60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
mov ebp, eax
push esi
push ebx
sub esp, 0x8c
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x50], edx
mov dword [esp + 0x74], 0
test eax, eax
je 0x40ddf5
mov dword [esp], eax
call fcn.00484ae0
test eax, eax
mov dword [esp + 0x40], eax
je 0x40e7bc
mov esi, dword [esp + 0x50]
mov edi, 0xc21105
mov ecx, 2
repe cmpsb byte [esi], byte es:[edi]
seta al
setb dl
sub eax, edx
movsx eax, al
test eax, eax
je 0x40dd65
mov esi, dword [esp + 0x50]
mov edi, 0xc210ff
mov ecx, 5
repe cmpsb byte [esi], byte es:[edi]
seta al
setb dl
sub eax, edx
movsx eax, al
test eax, eax
je 0x40cbef
mov esi, dword [esp + 0x50]
mov edi, str._dev_stdin
mov ecx, 0xb
repe cmpsb byte [esi], byte es:[edi]
setne al
movzx eax, al
and dword [0xc07084], eax
call fcn.0052e210
test eax, eax
mov dword [esp + 0x6c], eax
je 0x40e76c
mov eax, dword [ebp + 0x34]
test eax, eax
jne 0x40def3
mov eax, dword [esp + 0x40]
mov edi, dword [ebp + 0x2c]
test eax, eax
setne bl
test edi, edi
je 0x40cc99
test bl, bl
je 0x40cc99
mov esi, dword [eax + 0x14]
test esi, esi
je 0x40cd11
add eax, 0x14
mov dword [esp + 0x10], 2
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc21ea9
mov dword [esp], eax
call fcn.00899870
test eax, eax
je 0x40cc99
mov dword [esp + 0x10], 0
mov eax, dword [ebp + 0x2c]
add eax, 0xfffffff
shl eax, 4
add eax, dword [ebp + 0x28]
mov eax, dword [eax + 8]
mov dword [esp + 4], 0xc21ea9
mov dword [esp + 8], eax
sar eax, 0x1f
mov dword [esp + 0xc], eax
mov eax, dword [ebp]
add eax, 0x14
mov dword [esp], eax
call fcn.0087b990
mov ecx, dword [ebp + 0x3c]
test ecx, ecx
je 0x40cd11
test bl, bl
je 0x40cd11
mov eax, dword [esp + 0x40]
mov edx, dword [eax + 0x14]
test edx, edx
je 0x40cd11
add eax, 0x14
mov dword [esp + 0x10], 2
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc21eb2
mov dword [esp], eax
call fcn.00899870
test eax, eax
je 0x40cd11
mov dword [esp + 0xc], 0
mov eax, dword [ebp + 0x3c]
add eax, 0xfffffff
shl eax, 4
add eax, dword [ebp + 0x38]
mov eax, dword [eax + 8]
mov dword [esp + 4], 0xc21eb2
mov dword [esp + 8], eax
mov eax, dword [ebp]
add eax, 0x14
mov dword [esp], eax
call fcn.0087b690
mov eax, dword [ebp + 0x44]
test eax, eax
jne 0x40de02
mov eax, dword [ebp + 0x4c]
test eax, eax
jne 0x40de3d
mov eax, dword [ebp + 0x24]
test eax, eax
jle 0x40de78
mov ebx, dword [ebp + 0x20]
shl eax, 4
mov dword [esp + 0x30], 0
add eax, ebx
mov dword [esp + 0x34], ebx
mov edx, eax
mov eax, ebx
lea esi, [esi]
mov esi, dword [eax]
mov ecx, 2
mov edi, str.vads
repe cmpsb byte [esi], byte es:[edi]
jne 0x40cd67
mov ecx, dword [eax + 8]
mov dword [esp + 0x30], ecx
add eax, 0x10
cmp edx, eax
jne 0x40cd50
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x34], 0
mov edx, ebx
mov dword [esp + 0x38], ebx
mov esi, dword [edx]
mov ecx, 2
mov edi, 0xc21ed6
repe cmpsb byte [esi], byte es:[edi]
jne 0x40cd97
mov ecx, dword [edx + 8]
mov dword [esp + 0x34], ecx
add edx, 0x10
cmp eax, edx
jne 0x40cd80
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x38], 0
mov eax, ebx
mov dword [esp + 0x3c], ebx
mov esi, dword [eax]
mov ecx, 2
mov edi, 0xc21581
repe cmpsb byte [esi], byte es:[edi]
jne 0x40cdc7
mov ecx, dword [eax + 8]
mov dword [esp + 0x38], ecx
add eax, 0x10
cmp edx, eax
jne 0x40cdb0
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x3c], 0
lea esi, [esi]
mov esi, dword [ebx]
mov ecx, 2
mov edi, 0xc21ed8
repe cmpsb byte [esi], byte es:[edi]
jne 0x40cdf7
mov eax, dword [ebx + 8]
mov dword [esp + 0x3c], eax
add ebx, 0x10
cmp edx, ebx
jne 0x40cde0
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x6c]
test eax, eax
je 0x40dfa5
xor edx, edx
call fcn.0040ab40
mov ebx, dword [esp + 0x6c]
mov eax, dword [eax + 0xc]
mov dword [esi + 0x468], eax
mov eax, dword [esp + 0x34]
test eax, eax
je 0x40df9c
mov edx, 1
call fcn.0040ab40
mov esi, dword [esp + 0x6c]
mov eax, dword [eax + 0xc]
mov dword [ebx + 0x46c], eax
mov eax, dword [esp + 0x38]
test eax, eax
je 0x40ddec
mov edx, 3
call fcn.0040ab40
mov ebx, dword [esp + 0x6c]
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0x470], eax
xor eax, eax
test ecx, ecx
je 0x40ce81
mov edx, 2
mov eax, ecx
call fcn.0040ab40
mov eax, dword [eax + 0xc]
mov dword [ebx + 0x534], eax
mov eax, dword [esp + 0x30]
test eax, eax
je 0x40cea6
xor edx, edx
call fcn.0040ab40
mov dword [esp + 4], eax
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call fcn.00587b00
mov eax, dword [esp + 0x34]
test eax, eax
je 0x40cec8
mov edx, 1
call fcn.0040ab40
mov dword [esp + 4], eax
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call fcn.00587b20
mov eax, dword [esp + 0x38]
test eax, eax
je 0x40ceea
mov edx, 3
call fcn.0040ab40
mov dword [esp + 4], eax
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call fcn.00587b40
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x40cf0c
mov edx, 2
call fcn.0040ab40
mov dword [esp + 4], eax
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call fcn.00587b60
mov ecx, dword [esp + 0x6c]
mov eax, dword [0xc28b8c]
mov edx, dword [0xc28b90]
or dword [ecx + 0x440], 4
mov dword [ecx + 0x498], eax
mov dword [ecx + 0x49c], edx
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc21eda
mov eax, dword [ebp]
mov eax, dword [eax + 0x14]
mov dword [esp], eax
call fcn.0087b580
test eax, eax
je 0x40e62c
mov eax, dword [ebp]
add eax, 0x14
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
lea eax, [esp + 0x6c]
mov dword [esp], eax
mov dword [esp + 0x3c], eax
call fcn.00595600
test eax, eax
js 0x40e7cd
mov eax, dword [ebp]
mov edx, dword [eax + 0x10]
add eax, 0x14
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004263d0
mov eax, dword [ebp]
mov eax, dword [eax + 0x14]
mov dword [esp], eax
call fcn.00426430
mov ebx, dword [esp + 0x6c]
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x40d081
mov dword [esp + 0x38], 0
nop
lea esi, [esi]
mov eax, dword [ebx + 0x1c]
mov edx, dword [esp + 0x38]
mov eax, dword [eax + edx*4]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x24]
test eax, eax
jle 0x40dd30
mov dword [esp + 0x34], 0
xor esi, esi
jmp 0x40d008
mov eax, dword [ebp + 0x20]
mov eax, dword [eax + edi + 8]
mov dword [esp + 0x34], eax
add esi, 1
cmp esi, dword [ebp + 0x24]
jge 0x40d040
mov eax, dword [ebp + 0x20]
mov edi, esi
shl edi, 4
mov eax, dword [eax + edi]
mov dword [esp], ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
call fcn.00407a50
cmp eax, 0
jg 0x40cff5
je 0x40d000
mov dword [esp], 1
call fcn.00401b80
lea esi, [esi]
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x40dd30
mov ebx, dword [esp + 0x30]
mov eax, dword [ebx + 0x2c4]
mov edx, dword [eax]
mov eax, ecx
call fcn.0040ab40
mov edx, dword [ebx + 0x2c4]
mov eax, dword [eax + 0xc]
mov dword [edx + 4], eax
mov ebx, dword [esp + 0x6c]
add dword [esp + 0x38], 1
mov eax, dword [esp + 0x38]
cmp dword [ebx + 0x18], eax
ja 0x40cfd0
mov eax, dword [ebp]
mov eax, dword [eax + 0x10]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.00407da0
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x70], eax
mov ecx, dword [edx + 0x18]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 0x54], ecx
call fcn.00591170
mov edx, dword [esp + 0x6c]
test eax, eax
mov dword [esp + 0x30], edx
js 0x40e0ad
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
lea ebx, [edx - 0x80000000]
or ebx, eax
je 0x40deaf
mov ecx, dword [esp + 0x30]
mov ebx, dword [ecx + 0x42c]
mov ecx, dword [ecx + 0x428]
cmp ebx, 0
jl 0x40e02d
jle 0x40e024
add eax, ecx
adc edx, ebx
mov dword [esp + 0x48], eax
mov dword [ebp + 8], eax
mov dword [esp + 0x4c], edx
mov dword [ebp + 0xc], edx
mov edx, dword [ebp + 0x18]
test edx, edx
jne 0x40d142
mov eax, dword [esp + 0x30]
mov edx, dword [eax + 0x424]
mov eax, dword [eax + 0x420]
lea ebx, [edx - 0x80000000]
or ebx, eax
je 0x40d142
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x4c]
mov ebx, esi
mov ecx, edi
add dword [esp + 0x48], eax
adc dword [esp + 0x4c], edx
add ecx, 0x80000000
or ecx, ebx
je 0x40d1ac
mov ebx, dword [esp + 0x30]
mov edx, dword [esp + 0x4c]
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 8]
mov eax, dword [esp + 0x48]
and ecx, 0x4000000
je 0x40dd9b
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], edx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0x80000000
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call fcn.0058f3f0
test eax, eax
js 0x40e5eb
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
mov edx, dword [eax + 0x18]
test edx, edx
je 0x40d688
mov dword [esp + 0x40], 0
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x40]
mov eax, dword [eax + 0x1c]
mov ebx, dword [eax + edx*4]
mov eax, dword [ebx + 0x2c4]
mov dword [esp], 0x178
mov dword [esp + 0x3c], eax
call fcn.00894240
mov esi, eax
mov dword [esp + 0x34], eax
call fcn.0063d8c0
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x7c]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc21f7e
mov dword [esp], eax
call fcn.00899870
test esi, esi
mov dword [esp + 0x44], eax
je 0x40d02e
mov eax, dword [0xeea0b8]
mov dword [esp + 8], 0xeea0b8
mov dword [esp + 4], 4
add eax, 1
mov dword [esp + 0xc], eax
mov eax, dword [0xeea0bc]
mov dword [esp], eax
call fcn.00407e60
mov edx, dword [0xeea0b8]
mov dword [0xeea0bc], eax
fld1
mov dword [eax + edx*4 - 4], esi
mov eax, dword [0xeea0b0]
mov dword [esi + 4], ebx
mov dword [esi + 8], 1
mov dword [esi], eax
mov eax, dword [ebp + 0x6c]
mov dword [ebx + 0x4c], 0x30
mov dword [esi + 0x70], 0
fstp qword [esi + 0x78]
mov dword [esi + 0x74], 0
mov dword [esi + 0x60], 0xffffffff
mov dword [esi + 0x64], 0x7fffffff
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0x80000000
xor esi, esi
test eax, eax
jg 0x40d2d6
jmp 0x40d308
mov eax, dword [ebp + 0x68]
add esi, 1
cmp esi, dword [ebp + 0x6c]
fld qword [eax + edi + 8]
mov eax, dword [esp + 0x34]
fstp qword [eax + 0x78]
jge 0x40d308
mov eax, dword [ebp + 0x68]
mov edi, esi
shl edi, 4
mov eax, dword [eax + edi]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.00407a50
cmp eax, 0
jg 0x40d2c0
jne 0x40d02e
add esi, 1
cmp esi, dword [ebp + 0x6c]
jl 0x40d2d6
mov eax, dword [esp + 0x34]
xor esi, esi
mov dword [eax + 0x98], 1
mov eax, dword [ebp + 0x94]
test eax, eax
jg 0x40d343
jmp 0x40d37b
mov eax, dword [ebp + 0x90]
add esi, 1
cmp esi, dword [ebp + 0x94]
mov ecx, dword [esp + 0x34]
mov eax, dword [eax + edi + 8]
mov dword [ecx + 0x98], eax
jge 0x40d37b
mov eax, dword [ebp + 0x90]
mov edi, esi
shl edi, 4
mov eax, dword [eax + edi]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.00407a50
cmp eax, 0
jg 0x40d324
jne 0x40d02e
add esi, 1
cmp esi, dword [ebp + 0x94]
jl 0x40d343
mov eax, dword [ebp + 0x118]
xor edi, edi
mov dword [esp + 0x38], 0
test eax, eax
jg 0x40d3ad
jmp 0x40d41d
mov eax, dword [ebp + 0x114]
add edi, 1
cmp edi, dword [ebp + 0x118]
mov eax, dword [eax + esi + 8]
mov dword [esp + 0x38], eax
jge 0x40d3e5
mov eax, dword [ebp + 0x114]
mov esi, edi
shl esi, 4
mov eax, dword [eax + esi]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.00407a50
cmp eax, 0
jg 0x40d394
jne 0x40d02e
add edi, 1
cmp edi, dword [ebp + 0x118]
jl 0x40d3ad
mov eax, dword [esp + 0x38]
test eax, eax
je 0x40d41d
lea edx, [esp + 0x78]
mov dword [esp + 8], 0
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_strtol
mov edx, dword [esp + 0x78]
cmp byte [edx], 0
je 0x40d414
mov eax, dword [esp + 0x38]
mov eax, dword [eax]
mov edx, dword [ebx + 0x2c4]
mov dword [edx + 8], eax
mov eax, dword [ebp + 0x24]
test eax, eax
jle 0x40dd4a
mov dword [esp + 0x38], 0
xor edi, edi
jmp 0x40d447
mov eax, dword [ebp + 0x20]
add edi, 1
cmp edi, dword [ebp + 0x24]
mov eax, dword [eax + esi + 8]
mov dword [esp + 0x38], eax
jge 0x40d479
mov eax, dword [ebp + 0x20]
mov esi, edi
shl esi, 4
mov eax, dword [eax + esi]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.00407a50
cmp eax, 0
jg 0x40d434
jne 0x40d02e
add edi, 1
cmp edi, dword [ebp + 0x24]
jl 0x40d447
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x40dd4a
mov eax, dword [ebx + 0x2c4]
mov edx, dword [eax]
mov eax, ecx
call fcn.0040ab40
mov edx, dword [ebx + 0x2c4]
mov ecx, dword [eax + 0xc]
mov dword [edx + 4], ecx
mov esi, dword [esp + 0x34]
mov dword [esi + 0x18], eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x2c4]
mov eax, dword [eax + 4]
mov dword [esp + 4], eax
mov eax, dword [ebp]
mov eax, dword [eax + 0x10]
mov dword [esp], eax
call fcn.00407ab0
mov dword [esi + 0x84], eax
mov eax, dword [ebp + 0x1a0]
mov dword [esi + 0x11c], 0xffffffff
xor esi, esi
test eax, eax
jg 0x40d512
jmp 0x40d54a
mov eax, dword [ebp + 0x19c]
add esi, 1
cmp esi, dword [ebp + 0x1a0]
mov edx, dword [esp + 0x34]
mov eax, dword [eax + edi + 8]
mov dword [edx + 0x11c], eax
jge 0x40d54a
mov eax, dword [ebp + 0x19c]
mov edi, esi
shl edi, 4
mov eax, dword [eax + edi]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.00407a50
cmp eax, 0
jg 0x40d4f3
jne 0x40d02e
add esi, 1
cmp esi, dword [ebp + 0x1a0]
jl 0x40d512
mov eax, dword [ebp + 0x1e0]
xor edi, edi
mov dword [esp + 0x38], 0
test eax, eax
jg 0x40d57c
jmp 0x40e09d
mov eax, dword [ebp + 0x1dc]
add edi, 1
cmp edi, dword [ebp + 0x1e0]
mov eax, dword [eax + esi + 8]
mov dword [esp + 0x38], eax
jge 0x40d5b4
mov eax, dword [ebp + 0x1dc]
mov esi, edi
shl esi, 4
mov eax, dword [eax + esi]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.00407a50
cmp eax, 0
jg 0x40d563
jne 0x40d02e
add edi, 1
cmp edi, dword [ebp + 0x1e0]
jl 0x40d57c
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
test ecx, ecx
mov dword [eax + 0xc], 0xfffffff0
je 0x40d5ee
add eax, 0xc
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
lea eax, [esp + 0x7c]
mov dword [esp], eax
call fcn.0089a8a0
test eax, eax
js 0x40e86d
mov esi, dword [esp + 0x34]
mov eax, dword [esi + 0x18]
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0x80000000
mov dword [esp], eax
call fcn.0063d310
test eax, eax
mov dword [esi + 0x14], eax
je 0x40e863
mov edx, dword [esp + 0x3c]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0066ce90
test eax, eax
js 0x40e842
mov eax, dword [esp + 0x3c]
mov eax, dword [eax]
mov dword [esp + 0x38], eax
add eax, 1
cmp eax, 5
ja case.default.0x40d644
jmp dword [eax*4 + 0xc22290]
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x14]
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.0066cc70
test eax, eax
js 0x40e842
mov edx, dword [esp + 0x30]
add dword [esp + 0x40], 1
mov eax, dword [esp + 0x40]
cmp eax, dword [edx + 0x18]
jb 0x40d1c3
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov eax, dword [0xeea0b0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.00472400
mov eax, dword [0xeea0b0]
mov dword [esp + 8], 0xeea0b0
mov dword [esp + 4], 4
add eax, 1
mov dword [esp + 0xc], eax
mov eax, dword [0xeea0b4]
mov dword [esp], eax
call fcn.00407e60
mov dword [esp], 0x68
mov dword [0xeea0b4], eax
call fcn.00894240
test eax, eax
mov esi, eax
je 0x40d02e
mov eax, dword [0xeea0b4]
mov edx, dword [0xeea0b0]
mov ecx, dword [esp + 0x6c]
mov ebx, dword [0xeea050]
mov dword [eax + edx*4 - 4], esi
mov eax, dword [0xeea0b8]
mov edi, dword [ecx + 0x18]
mov edx, dword [ebp + 0xc]
mov dword [esi], ecx
sub eax, edi
mov dword [esi + 0x44], edx
mov edx, dword [ebp + 0xc4]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 8]
test ebx, ebx
mov dword [esi + 0x54], edx
mov edx, dword [ebp + 0x54]
mov dword [esi + 0x40], eax
mov eax, dword [ebp + 0xc0]
mov dword [esi + 0x2c], edx
mov dword [esi + 0x50], eax
mov eax, dword [ebp + 0x50]
mov dword [esi + 0x28], eax
je 0x40d765
mov ebx, dword [0xeea04c]
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
test ebx, ebx
jne 0x40e6e5
sub eax, dword [esp + 0x48]
mov dword [esi + 0x58], edi
sbb edx, dword [esp + 0x4c]
mov dword [esi + 0x18], 0
xor ebx, ebx
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 1
mov dword [esi + 0x24], 1
mov dword [esp + 0x34], esi
mov dword [esi + 0x30], eax
mov eax, dword [ebp + 0x5c]
mov dword [esi + 0x34], edx
mov dword [esi + 0x60], eax
mov eax, dword [ebp + 0x60]
mov dword [esi + 0x64], eax
mov eax, dword [ebp + 0x58]
mov dword [esi + 0x10], eax
mov eax, dword [ebp]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x30], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 2
mov dword [esp + 4], 0xc21254
mov dword [esp], eax
call fcn.0087b580
test eax, eax
mov ebx, eax
je 0x40e128
mov esi, dword [ebx]
mov dword [esp + 4], 0x3a
mov dword [esp], esi
call sub.msvcrt.dll_strchr
test eax, eax
mov edi, eax
je 0x40e100
mov byte [eax], 0
mov dword [esp + 0xc], 0
mov eax, dword [ebx + 4]
mov dword [esp + 8], eax
mov eax, dword [ebx]
mov dword [esp + 4], eax
lea eax, [esp + 0x7c]
mov dword [esp], eax
call fcn.0087b690
mov byte [edi], 0x3a
mov eax, dword [esp + 0x30]
jmp 0x40d7bc
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x18]
test eax, eax
je 0x40e6af
mov eax, dword [ebp + 0x1a8]
xor esi, esi
test eax, eax
jg 0x40d86f
jmp 0x40d8a7
mov eax, dword [ebp + 0x1a4]
add esi, 1
cmp esi, dword [ebp + 0x1a8]
mov edx, dword [esp + 0x34]
mov eax, dword [eax + edi + 8]
mov dword [edx + 0xc0], eax
jge 0x40d8a7
mov eax, dword [ebp + 0x1a4]
mov edi, esi
shl edi, 4
mov eax, dword [eax + edi]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.00407a50
cmp eax, 0
jg 0x40d850
jne 0x40d02e
add esi, 1
cmp esi, dword [ebp + 0x1a8]
jl 0x40d86f
mov edi, dword [ebp + 0x1b0]
xor esi, esi
mov dword [esp + 0x38], 0
test edi, edi
jg 0x40d8d9
jmp case.0x40d644.4
mov eax, dword [ebp + 0x1ac]
add esi, 1
cmp esi, dword [ebp + 0x1b0]
mov eax, dword [eax + edi + 8]
mov dword [esp + 0x38], eax
jge 0x40d911
mov eax, dword [ebp + 0x1ac]
mov edi, esi
shl edi, 4
mov eax, dword [eax + edi]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.00407a50
cmp eax, 0
jg 0x40d8c0
jne 0x40d02e
add esi, 1
cmp esi, dword [ebp + 0x1b0]
jl 0x40d8d9
mov esi, dword [esp + 0x38]
test esi, esi
je case.0x40d644.4
mov ebx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov eax, dword [ebx + 0x14]
mov dword [esp + 8], edx
lea edx, [eax + 0x80]
add eax, 0x7c
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0089c570
test eax, eax
js 0x40e78c
mov ecx, dword [ebx + 0x14]
jmp 0x40d652
mov eax, dword [esp + 0x34]
xor esi, esi
mov dword [eax + 0x94], 0x7fffffff
mov eax, dword [ebp + 0x1d0]
test eax, eax
jg 0x40d98f
jmp 0x40d9c7
mov eax, dword [ebp + 0x1cc]
add esi, 1
cmp esi, dword [ebp + 0x1d0]
mov edx, dword [esp + 0x34]
mov eax, dword [eax + edi + 8]
mov dword [edx + 0x94], eax
jge 0x40d9c7
mov eax, dword [ebp + 0x1cc]
mov edi, esi
shl edi, 4
mov eax, dword [eax + edi]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.00407a50
cmp eax, 0
jg 0x40d970
jne 0x40d02e
add esi, 1
cmp esi, dword [ebp + 0x1d0]
jl 0x40d98f
mov ebx, dword [esp + 0x34]
mov dword [esp], ebx
call fcn.00426490
mov ecx, dword [ebx + 0x14]
mov eax, dword [ecx + 0x1a8]
mov edx, dword [ecx + 0x1c4]
mov dword [ebx + 0xa8], eax
mov eax, dword [ecx + 0x1a0]
mov dword [ebx + 0xac], eax
mov eax, dword [ecx + 0x1a4]
mov dword [ebx + 0xb0], eax
mov eax, dword [ecx + 0x1c0]
mov dword [ebx + 0xbc], edx
mov dword [ebx + 0xb8], eax
jmp 0x40d652
mov eax, dword [esp + 0x34]
mov edi, dword [eax + 0x18]
test edi, edi
je 0x40e6ca
mov eax, dword [ebx + 8]
mov dword [esp], eax
call fcn.00664830
test eax, eax
jne 0x40df42
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x14]
mov edi, dword [ecx + 0x80]
mov esi, dword [ecx + 0x7c]
mov edx, dword [ebx + 0x60]
mov eax, dword [ebx + 0x5c]
mov dword [ecx + 0x374], edx
mov edx, dword [esp + 0x34]
mov dword [ecx + 0x370], eax
mov eax, dword [ecx + 0x90]
mov dword [edx + 0xa0], esi
mov esi, dword [ebp + 0x3c]
mov dword [edx + 0x9c], edi
mov dword [edx + 0xa4], eax
test esi, esi
jle 0x40dafa
mov dword [esp + 0x38], 0
xor esi, esi
jmp 0x40daa3
mov eax, dword [ebp + 0x38]
add esi, 1
cmp esi, dword [ebp + 0x3c]
mov eax, dword [eax + edi + 8]
mov dword [esp + 0x38], eax
jge 0x40dad5
mov eax, dword [ebp + 0x38]
mov edi, esi
shl edi, 4
mov eax, dword [eax + edi]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.00407a50
cmp eax, 0
jg 0x40da90
jne 0x40d02e
add esi, 1
cmp esi, dword [ebp + 0x3c]
jl 0x40daa3
mov eax, dword [esp + 0x38]
test eax, eax
je 0x40dafa
mov dword [esp + 4], eax
mov eax, dword [esp + 0x34]
add eax, 0x88
mov dword [esp], eax
call fcn.0089c630
test eax, eax
js 0x40e819
mov ecx, dword [ebp + 0x168]
mov eax, dword [esp + 0x34]
xor esi, esi
test ecx, ecx
mov dword [eax + 0x90], 0xffffffff
jg 0x40db3f
jmp 0x40db77
mov eax, dword [ebp + 0x164]
add esi, 1
cmp esi, dword [ebp + 0x168]
mov edx, dword [esp + 0x34]
mov eax, dword [eax + edi + 8]
mov dword [edx + 0x90], eax
jge 0x40db77
mov eax, dword [ebp + 0x164]
mov edi, esi
shl edi, 4
mov eax, dword [eax + edi]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.00407a50
cmp eax, 0
jg 0x40db20
jne 0x40d02e
add esi, 1
cmp esi, dword [ebp + 0x168]
jl 0x40db3f
mov edx, dword [ebp + 0x7c]
xor esi, esi
mov dword [esp + 0x38], 0
test edx, edx
jg 0x40dba3
jmp 0x40dbfd
mov eax, dword [ebp + 0x78]
add esi, 1
cmp esi, dword [ebp + 0x7c]
mov eax, dword [eax + edi + 8]
mov dword [esp + 0x38], eax
jge 0x40dbd5
mov eax, dword [ebp + 0x78]
mov edi, esi
shl edi, 4
mov eax, dword [eax + edi]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.00407a50
cmp eax, 0
jg 0x40db90
jne 0x40d02e
add esi, 1
cmp esi, dword [ebp + 0x7c]
jl 0x40dba3
mov esi, dword [esp + 0x38]
test esi, esi
je 0x40dbfd
mov edi, 0xc22012
mov ecx, 5
repe cmpsb byte [esi], byte es:[edi]
jne 0x40dd72
mov eax, dword [esp + 0x34]
mov dword [eax + 0x120], 0
mov eax, dword [ebp + 0x84]
xor esi, esi
mov dword [esp + 0x38], 0
test eax, eax
jg 0x40dc2c
jmp 0x40dc86
mov eax, dword [ebp + 0x80]
add esi, 1
cmp esi, dword [ebp + 0x84]
mov eax, dword [eax + edi + 8]
mov dword [esp + 0x38], eax
jge 0x40dc64
mov eax, dword [ebp + 0x80]
mov edi, esi
shl edi, 4
mov eax, dword [eax + edi]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.00407a50
cmp eax, 0
jg 0x40dc13
jne 0x40d02e
add esi, 1
cmp esi, dword [ebp + 0x84]
jl 0x40dc2c
mov eax, dword [esp + 0x38]
test eax, eax
je 0x40dc86
mov dword [esp], eax
call fcn.00894320
mov edx, dword [esp + 0x34]
test eax, eax
mov dword [edx + 0x124], eax
je 0x40d02e
mov eax, dword [ebp + 0x8c]
xor esi, esi
mov dword [esp + 0x38], 0
test eax, eax
jg 0x40dcb9
jmp 0x40df2f
mov eax, dword [ebp + 0x88]
add esi, 1
cmp esi, dword [ebp + 0x8c]
mov eax, dword [eax + edi + 8]
mov dword [esp + 0x38], eax
jge 0x40dcf1
mov eax, dword [ebp + 0x88]
mov edi, esi
shl edi, 4
mov eax, dword [eax + edi]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.00407a50
cmp eax, 0
jg 0x40dca0
jne 0x40d02e
add esi, 1
cmp esi, dword [ebp + 0x8c]
jl 0x40dcb9
mov eax, dword [esp + 0x38]
test eax, eax
je 0x40df2f
mov dword [esp], eax
call fcn.0089e210
mov edx, dword [esp + 0x34]
cmp eax, 0xffffffff
mov dword [edx + 0x128], eax
je 0x40e074
mov eax, dword [esp + 0x34]
mov dword [eax + 0x140], 0xffffffff
mov ecx, dword [eax + 0x14]
jmp 0x40d652
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x2c4]
mov eax, dword [eax + 4]
mov dword [esp], eax
call fcn.00667f90
jmp 0x40d06b
mov eax, dword [ebx + 0x2c4]
mov eax, dword [eax + 4]
mov dword [esp], eax
call fcn.00667f90
jmp 0x40d4a0
call sub.msvcrt.dll_abort
mov dword [esp + 0x50], 0xc210ff
jmp 0x40cbef
mov esi, dword [esp + 0x38]
mov edi, 0xc22017
mov ecx, 5
mov eax, dword [esp + 0x34]
repe cmpsb byte [esi], byte es:[edi]
jne 0x40dfae
mov dword [eax + 0x120], 1
jmp 0x40dbfd
mov edx, dword [ebx + 0x18]
test edx, edx
je 0x40e720
mov eax, dword [ebx + 0x1c]
lea ebx, [eax + edx*4]
lea esi, [esi]
mov edx, dword [eax]
mov edx, dword [edx + 0x2c4]
mov esi, dword [edx + 0x58]
test esi, esi
je 0x40ddc4
mov ecx, 1
add eax, 4
cmp eax, ebx
jne 0x40ddb0
mov ebx, dword [esp + 0x48]
mov esi, dword [esp + 0x4c]
test ecx, ecx
mov eax, ebx
mov edx, esi
je 0x40d160
add eax, 0xfffe027e
adc edx, 0xffffffff
jmp 0x40d160
mov ebx, esi
xor eax, eax
jmp 0x40ce62
mov dword [esp + 0x40], 0
jmp 0x40cb97
add eax, 0xfffffff
mov dword [esp + 0xc], 0
shl eax, 4
add eax, dword [ebp + 0x40]
mov eax, dword [eax + 8]
mov dword [esp + 4], 0xc21ebc
mov dword [esp + 8], eax
mov eax, dword [ebp]
add eax, 0x14
mov dword [esp], eax
call fcn.0087b690
mov eax, dword [ebp + 0x4c]
test eax, eax
je 0x40cd27
add eax, 0xfffffff
mov dword [esp + 0xc], 0
shl eax, 4
add eax, dword [ebp + 0x48]
mov eax, dword [eax + 8]
mov dword [esp + 4], 0xc21ec7
mov dword [esp + 8], eax
mov eax, dword [ebp]
add eax, 0x14
mov dword [esp], eax
call fcn.0087b690
mov eax, dword [ebp + 0x24]
test eax, eax
jg 0x40cd32
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x34], 0
xor eax, eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x38], 0
mov dword [ebx + 0x468], 0
mov esi, ebx
jmp 0x40ce3f
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [esp + 0x4c], edx
mov ecx, edx
mov dword [esp + 0x48], eax
mov edx, eax
mov eax, edx
mov edx, ecx
add edx, 0x80000000
or edx, eax
jne 0x40d103
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x40e72d
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
jmp 0x40d1ac
add eax, 0xfffffff
mov dword [esp + 0x10], 0
shl eax, 4
add eax, dword [ebp + 0x30]
mov eax, dword [eax + 8]
mov dword [esp + 4], 0xc21e9d
mov dword [esp + 8], eax
sar eax, 0x1f
mov dword [esp + 0xc], eax
mov eax, dword [ebp]
add eax, 0x14
mov dword [esp], eax
call fcn.0087b990
jmp 0x40cc11
mov eax, dword [esp + 0x34]
mov dword [eax + 0x128], 0xffffffff
jmp 0x40dd18
mov eax, dword [ebx + 8]
mov dword [esp], eax
call fcn.00664830
mov esi, dword [esp + 0x34]
mov dword [esp + 4], eax
mov eax, dword [esi + 0x14]
mov dword [esp], eax
call fcn.00664840
mov eax, dword [ebx + 8]
mov ecx, dword [esi + 0x14]
mov edi, dword [eax + 0x80]
mov esi, dword [eax + 0x7c]
mov edx, dword [eax + 0x84]
mov eax, dword [eax + 0x88]
or dword [ecx + 0x5c], 0x4000
mov dword [ecx + 0x7c], esi
mov dword [ecx + 0x80], edi
mov dword [ecx + 0x84], edx
mov dword [ecx + 0x88], eax
jmp 0x40da49
mov esi, ebx
xor eax, eax
jmp 0x40ce3f
mov ebx, esi
xor eax, eax
jmp 0x40ce1c
mov eax, dword [eax + 0x120]
test eax, eax
jne 0x40dbfd
mov eax, dword [esp + 0x38]
mov dword [esp + 8], str.Unrecognized_hwaccel:__s._n
mov dword [esp + 4], 8
mov dword [esp], 0
mov dword [esp + 0xc], eax
call fcn.00891920
mov dword [esp + 8], str.Supported_hwaccels:
mov dword [esp + 4], 8
mov dword [esp], 0
call fcn.00891920
mov dword [esp + 8], 0xc210ac
mov dword [esp + 4], 8
mov dword [esp], 0
call fcn.00891920
mov dword [esp], 1
call fcn.00401b80
cmp ecx, 0
ja 0x40d0f1
mov eax, dword [esp + 0x50]
mov dword [esp + 8], str.Cannot_use__sseof__duration_of__s_not_known_n
mov dword [esp + 4], 0x18
mov dword [esp], 0
mov dword [esp + 0xc], eax
call fcn.00891920
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x30], eax
jmp 0x40dec1
mov eax, dword [esp + 0x38]
mov dword [esp + 8], str.Unrecognised_hwaccel_output_format:__s
mov dword [esp + 4], 8
mov dword [esp], 0
mov dword [esp + 0xc], eax
call fcn.00891920
jmp 0x40dd18
mov eax, dword [esp + 0x34]
mov dword [eax + 0xc], 0xfffffff0
jmp 0x40d5ee
mov eax, dword [esp + 0x50]
mov dword [esp + 8], str._s:_could_not_find_codec_parameters_n
mov dword [esp + 4], 8
mov dword [esp], 0
mov dword [esp + 0xc], eax
call fcn.00891920
mov eax, dword [esp + 0x6c]
mov edi, dword [eax + 0x18]
mov dword [esp + 0x30], eax
test edi, edi
jne 0x40d0be
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call fcn.00594f60
mov dword [esp], 1
call fcn.00401b80
lea esi, [esi]
mov dword [esp + 0xc], 0
mov eax, dword [ebx + 4]
mov dword [esp + 4], esi
mov dword [esp + 8], eax
lea eax, [esp + 0x7c]
mov dword [esp], eax
call fcn.0087b690
mov eax, dword [esp + 0x30]
jmp 0x40d7bc
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x7c]
mov edx, dword [esi + 0xc]
cmp edx, dword [0xeea0b8]
mov dword [esp + 0x74], eax
lea esi, [edx*4]
jge 0x40e1b8
mov dword [esp + 0x30], ebx
mov edi, edx
xor ebx, ebx
jmp 0x40e172
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov eax, dword [ebx]
mov dword [esp + 4], eax
lea eax, [esp + 0x74]
mov dword [esp], eax
call fcn.0087b690
mov eax, dword [0xeea0bc]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 2
mov dword [esp + 4], 0xc21254
mov eax, dword [eax + esi]
mov eax, dword [eax + 0x84]
mov dword [esp], eax
call fcn.0087b580
test eax, eax
mov ebx, eax
jne 0x40e150
add edi, 1
add esi, 4
cmp dword [0xeea0b8], edi
jg 0x40e14c
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x74]
lea edi, [esp + 0x78]
jmp 0x40e1f6
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], ecx
mov eax, dword [ebx]
mov dword [esp + 8], str.Codec_AVOption__s___s__specified_for_input_file__d___s__has_not_been_used_for_any_stream._The_most_likely_reason_is_either_wrong_type__e.g._a_video_option_with_no_video_streams__or_that_it_is_a_private_option_of_some_decoder_which_was_not_actually_used_for_any_stream._n
mov dword [esp + 4], 0x18
mov dword [esp], 0
mov dword [esp + 0xc], eax
call fcn.00891920
mov eax, dword [esp + 0x74]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 2
mov dword [esp + 4], 0xc21254
mov dword [esp], eax
call fcn.0087b580
test eax, eax
mov ebx, eax
je 0x40e2b7
call fcn.0063d8c0
mov dword [esp + 0x10], 3
mov dword [esp + 0x78], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov eax, dword [ebx]
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.00899870
mov esi, eax
call fcn.0052e2d0
mov dword [esp + 0x10], 3
mov dword [esp + 0x7c], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov eax, dword [ebx]
mov dword [esp + 4], eax
lea eax, [esp + 0x7c]
mov dword [esp], eax
call fcn.00899870
test esi, esi
je 0x40e1f2
test eax, eax
jne 0x40e1f2
test byte [esi + 0x28], 2
mov eax, dword [0xeea0b0]
je 0x40e894
mov edx, dword [esi + 4]
sub eax, 1
test edx, edx
jne 0x40e1c0
mov edx, 0xc21254
jmp 0x40e1c0
lea eax, [esp + 0x74]
mov dword [esp], eax
call fcn.0087c0b0
mov ecx, dword [ebp + 0x74]
test ecx, ecx
jle 0x40e43c
mov eax, dword [esp + 0x6c]
mov ebx, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x30], ebp
mov edx, dword [eax + 0x18]
add ebx, 0x40
mov dword [esp + 0x40], ebx
test edx, edx
je 0x40e42b
mov edx, dword [esp + 0x3c]
xor ebx, ebx
shl edx, 4
mov dword [esp + 0x34], edx
jmp 0x40e317
mov eax, dword [esp + 0x6c]
add ebx, 1
mov edx, dword [eax + 0x18]
cmp edx, ebx
jbe 0x40e424
mov edx, dword [eax + 0x1c]
mov ecx, dword [esp + 0x30]
mov ebp, dword [edx + ebx*4]
mov edx, dword [ecx + 0x70]
mov ecx, dword [esp + 0x34]
mov edx, dword [edx + ecx]
mov dword [esp + 4], ebp
mov dword [esp], eax
mov dword [esp + 8], edx
call fcn.00407a50
cmp eax, 1
jne 0x40e305
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov eax, dword [eax + 0x70]
mov edx, dword [eax + edx + 8]
mov eax, dword [ebp + 0x2c4]
mov dword [esp + 0x7c], 0
mov eax, dword [eax + 0x10]
test eax, eax
je 0x40e530
cmp byte [edx], 0
mov dword [esp + 0x38], edx
je 0x40e4b4
mov eax, dword [0xeea090]
test eax, eax
jne 0x40e483
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.00455220
test eax, eax
je 0x40e3a6
mov edi, 0xc218fa
mov ecx, 5
mov esi, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x40e564
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xc28b8c
mov dword [esp + 8], 2
mov dword [esp + 4], eax
lea eax, [esp + 0x7c]
mov dword [esp], eax
call fcn.0045da30
test eax, eax
js 0x40e87f
mov eax, dword [ebp + 0x2c4]
add ebx, 1
mov edx, dword [eax + 0x10]
mov dword [esp + 8], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
call fcn.004576e0
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
call fcn.00457930
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
call fcn.0045d5b0
mov eax, dword [esp + 0x6c]
mov edx, dword [eax + 0x18]
cmp edx, ebx
ja 0x40e317
mov ecx, dword [esp + 0x30]
mov ecx, dword [ecx + 0x74]
add dword [esp + 0x3c], 1
mov ebx, dword [esp + 0x3c]
cmp ebx, ecx
jl 0x40e2ee
mov ecx, dword [esp + 0x54]
xor ebx, ebx
test ecx, ecx
jle 0x40e460
mov esi, dword [esp + 0x54]
mov eax, dword [esp + 0x70]
lea eax, [eax + ebx*4]
add ebx, 1
mov dword [esp], eax
call fcn.0087c0b0
cmp esi, ebx
jne 0x40e44a
lea eax, [esp + 0x70]
mov dword [esp], eax
call fcn.00894200
mov dword [0xeea07c], 1
add esp, 0x8c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [0xeea08c]
test eax, eax
je 0x40e3a6
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 4], str.Error__both__y_and__n_supplied._Exiting._n
add eax, 0x40
mov dword [esp], eax
call fcn.004092d0
mov dword [esp], 1
call fcn.00401b80
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc2221c
mov eax, dword [ebp + 0x58]
mov dword [esp], eax
call fcn.0087b580
test eax, eax
je 0x40e4e2
mov eax, dword [eax + 4]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x38]
cmp byte [eax], 0
jne 0x40e375
mov eax, dword [ebp]
mov dword [esp + 8], str.No_filename_specified_and_no_filename_tagin_stream__d:_d._n
mov dword [esp + 4], 8
mov dword [esp], 0
mov dword [esp + 0x10], eax
mov eax, dword [0xeea0b0]
sub eax, 1
mov dword [esp + 0xc], eax
call fcn.00891920
mov dword [esp], 1
call fcn.00401b80
lea esi, [esi]
mov eax, dword [ebp]
mov dword [esp + 8], str.No_extradata_to_dump_in_stream__d:_d._n
mov dword [esp + 4], 0x18
mov dword [esp], 0
mov dword [esp + 0x10], eax
mov eax, dword [0xeea0b0]
sub eax, 1
mov dword [esp + 0xc], eax
call fcn.00891920
jmp 0x40e305
mov esi, dword [esp + 0x38]
mov dword [esp + 4], 0
mov dword [esp], esi
call fcn.00455250
test eax, eax
jne 0x40e3a6
mov eax, dword [0xc07084]
test eax, eax
je 0x40e902
mov edi, dword [0xeea08c]
test edi, edi
jne 0x40e902
mov dword [esp + 8], esi
mov esi, dword [esp + 0x40]
mov dword [esp + 4], str.File__s_already_exists._Overwrite____y_N_
mov dword [esp], esi
call fcn.004092d0
mov dword [esp], esi
call sub.msvcrt.dll_fflush
call fcn.00426350
mov dword [esp + 4], 0
mov dword [esp], 2
call sub.msvcrt.dll_signal
call fcn.00407720
test eax, eax
je 0x40e8e1
call fcn.00426380
jmp 0x40e3a6
fild qword [esp + 0x48]
mov eax, dword [esp + 0x50]
mov dword [esp + 8], str._s:_could_not_seek_to_position__0.3f_n
mov dword [esp + 4], 0x18
mov dword [esp], 0
mov dword [esp + 0xc], eax
fstp qword [esp + 0x58]
fld qword [esp + 0x58]
fld dword [0xc25d70]
fdivp st(1)
fstp qword [esp + 0x10]
call fcn.00891920
jmp 0x40d1a4
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], 0xc21530
mov dword [esp + 4], 0xc21eda
mov eax, dword [ebp]
add eax, 0x14
mov dword [esp], eax
call fcn.0087b690
mov eax, dword [ebp]
add eax, 0x14
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
lea eax, [esp + 0x6c]
mov dword [esp], eax
mov dword [esp + 0x3c], eax
call fcn.00595600
test eax, eax
js 0x40e7cd
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc21eda
mov eax, dword [ebp]
add eax, 0x14
mov dword [esp], eax
call fcn.0087b690
jmp 0x40cf8e
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 4]
mov dword [esp], eax
call fcn.00667f90
mov edx, dword [esp + 0x34]
mov dword [edx + 0x18], eax
jmp 0x40d83a
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 4]
mov dword [esp], eax
call fcn.00667f90
mov edx, dword [esp + 0x34]
mov dword [edx + 0x18], eax
jmp 0x40da26
mov ebx, dword [ecx + 0x424]
mov ecx, dword [ecx + 0x420]
mov dword [esp + 0x4c], ebx
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x48], ecx
add ebx, 0x80000000
or ebx, ecx
jne 0x40d765
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
jmp 0x40d765
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
jmp 0x40d160
mov eax, dword [esp + 0x30]
mov edx, dword [eax + 0x424]
mov eax, dword [eax + 0x420]
lea ebx, [edx - 0x80000000]
or ebx, eax
je 0x40dede
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov ebx, esi
mov ecx, edi
jmp 0x40d130
mov eax, dword [esp + 0x50]
mov dword [esp + 4], 0xfffffff4
mov dword [esp], eax
call fcn.00405850
mov dword [esp], 1
call fcn.00401b80
mov eax, dword [esp + 0x38]
mov dword [esp + 8], str.Invalid_canvas_size:__s._n
mov dword [esp + 0xc], eax
mov dword [esp + 4], 8
mov dword [esp], 0
call fcn.00891920
mov dword [esp], 1
call fcn.00401b80
mov eax, dword [ebp + 0x1c]
mov dword [esp + 8], str.Unknown_input_format:__s_n
mov dword [esp + 0xc], eax
jmp 0x40e79c
mov dword [esp + 4], eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call fcn.00405850
mov eax, dword [esp + 0x30]
cmp eax, 0xb0adaf08
jne 0x40d02e
mov eax, dword [esp + 0x50]
mov dword [esp + 8], 0xc21ee8
mov dword [esp + 4], 0x10
mov dword [esp], 0
mov dword [esp + 0xc], eax
call fcn.00891920
jmp 0x40d02e
mov eax, dword [esp + 0x38]
mov dword [esp + 8], str.Error_parsing_framerate__s._n
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0x10
mov dword [esp], 0
call fcn.00891920
jmp 0x40d02e
mov dword [esp + 8], str.Error_initializing_the_decoder_context._n
mov dword [esp + 4], 0x10
mov dword [esp], 0
call fcn.00891920
jmp 0x40d02e
mov dword [esp + 8], str.Error_allocating_the_decoder_context._n
jmp 0x40e84a
mov eax, dword [esp + 0x38]
mov dword [esp + 8], str.Error_parsing_discard__s._n
mov dword [esp + 0xc], eax
jmp 0x40e829
mov eax, dword [esp + 0x38]
mov dword [esp + 8], str.Could_not_open_file__s_for_writing._n
mov dword [esp + 0xc], eax
jmp 0x40e79c
lea edx, [eax - 1]
mov eax, dword [esi + 4]
test eax, eax
jne 0x40e8a3
mov eax, 0xc21254
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], ecx
mov eax, dword [ebx]
mov dword [esp + 8], str.Codec_AVOption__s___s__specified_for_input_file__d___s__is_not_a_decoding_option._n
mov dword [esp + 4], 0x10
mov dword [esp], 0
mov dword [esp + 0xc], eax
call fcn.00891920
mov dword [esp], 1
call fcn.00401b80
mov dword [esp + 8], str.Not_overwriting___exiting_n
mov dword [esp + 4], 8
mov dword [esp], 0
call fcn.00891920
jmp 0x40d02e
mov eax, dword [esp + 0x38]
mov dword [esp + 8], str.File__s_already_exists._Exiting._n
mov dword [esp + 0xc], eax
jmp 0x40e79c