Function at 0x4095d0
Capabilities:
Read file on windows
Resolve function by parsing pe exports
Write file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
push eax
mov eax, 0x1e48
call fcn.01087f10
sub esp, eax
mov eax, dword [esp + 0x1e48]
mov ebp, dword [esp + 0x1e60]
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x74], eax
mov dword [esp], ebp
call fcn.00ad02a0
test eax, eax
mov dword [esp + 0x1e20], eax
je 0x40c63c
mov eax, dword [esp + 0x1e60]
xor ebp, ebp
mov edi, dword [esp + 0x88]
test eax, eax
jle 0x409670
lea esi, [esi]
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x409661
mov eax, dword [edi + 0x18]
test eax, eax
jle 0x409661
xor esi, esi
mov ebx, dword [edi + 8]
add ebx, esi
add esi, 1
imul ebx, ebx, 0x58
add ebx, dword [0x14d5040]
call fcn.0047d090
cmp esi, dword [edi + 0x18]
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], edx
jl 0x409640
add ebp, 1
add edi, 0x20
cmp ebp, dword [esp + 0x1e60]
jne 0x409630
mov eax, dword [esp + 0x84]
test eax, eax
jle 0x4096a8
mov eax, dword [esp + 0x74]
xor ebx, ebx
mov esi, dword [esp + 0x84]
mov edx, dword [eax]
mov ebp, dword [edx + 0x14]
test ebp, ebp
jne 0x40969e
mov ecx, dword [edx + 8]
test byte [ecx + 0x29], 0x10
je 0x40a334
add ebx, 1
add eax, 0x28
cmp ebx, esi
jne 0x409688
mov eax, dword [0x14d5034]
test eax, eax
jle 0x409ecf
mov dword [esp + 0x58], 0
jmp 0x4096cf
add dword [esp + 0x58], 1
cmp dword [esp + 0x58], eax
jge 0x409ecf
imul ebx, dword [esp + 0x58], 0x228
add ebx, dword [0x14d5030]
mov ecx, dword [esp + 0x74]
mov edx, dword [ebx]
mov edi, dword [ebx + 0x21c]
lea edx, [edx + edx*4]
test edi, edi
mov esi, dword [ecx + edx*8]
mov edx, dword [0x14d5040]
mov ecx, dword [ebx + 8]
jne 0x4096c0
imul ecx, ecx, 0x58
mov eax, dword [ebx + 0xc]
add ecx, edx
mov edi, dword [eax + 8]
mov edx, dword [ecx + 4]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x60], edi
mov ebp, dword [edx + 8]
mov edx, dword [edx + 0x98]
mov dword [eax + 0x98], edx
mov eax, dword [ebp + 0x330]
mov dword [edi + 0x330], eax
mov eax, dword [ebp + 0x36c]
mov dword [edi + 0x36c], eax
mov eax, dword [ebx + 0x218]
test eax, eax
je 0x409871
mov edx, dword [ebp + 0x1c]
mov ecx, edx
sar ecx, 0x1f
add edx, 0x10
adc ecx, 0
cmp ecx, 0
ja 0x409766
cmp edx, 0x7fffffff
jbe 0x40a0a3
mov dword [esp + 0xa4], 0xffffffea
mov dword [esp], 0x14d50c8
call fcn.00ad0270
lea eax, [esp + 0x1e20]
mov dword [esp], eax
call fcn.00ad0270
cmp dword [0x14d5030], 0
je 0x40a252
mov eax, dword [0x14d5034]
test eax, eax
jle 0x40a252
xor esi, esi
xor edi, edi
jmp 0x409843
mov eax, dword [ebx + 0x1ec]
test eax, eax
je 0x4097cc
mov dword [esp], eax
call sub.msvcrt.dll_fclose
mov dword [ebx + 0x1ec], 0
mov eax, dword [ebx + 0x1e8]
mov dword [esp], eax
call fcn.00ad5320
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 8]
add eax, 0x3a0
mov dword [esp], eax
call fcn.00ad0270
mov eax, dword [ebx + 0x40]
mov dword [esp], eax
call fcn.00ad0250
mov eax, dword [ebx + 0x184]
mov dword [esp], eax
call fcn.00ad0250
mov eax, dword [ebx + 0x3c]
test eax, eax
jne 0x40a090
lea eax, [ebx + 0x1f0]
add ebx, 0x210
mov dword [esp], eax
call fcn.00a8de10
mov dword [esp], ebx
call fcn.00ad23d0
mov eax, dword [0x14d5034]
add edi, 1
add esi, 0x228
cmp edi, eax
jge 0x40a252
mov ebx, esi
add ebx, dword [0x14d5030]
je 0x409832
mov edx, dword [ebx + 0x218]
test edx, edx
je 0x4097b0
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 8]
add eax, 0x18
mov dword [esp], eax
call fcn.00ad0270
jmp 0x4097b0
mov edi, dword [ebx + 0x2c]
test edi, edi
je 0x40a898
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x60]
mov dword [eax + 0xc], 1
mov eax, dword [edx + 0xd0]
mov dword [ebx + 0x10], 1
cmp eax, 1
je 0x40a387
cmp eax, 3
je 0x409e25
test eax, eax
jne case.default.0x40a24b
mov ecx, dword [esp + 0x60]
cmp dword [ecx + 0x34], 0xffffffff
je 0x40a758
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x2c]
add eax, 8
call fcn.004025d0
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 8]
cmp dword [eax + 0x34], 0xffffffff
je 0x40c7ea
mov edi, dword [esp + 0x60]
cmp dword [edi + 0x28], 0
jne 0x40a580
mov edx, dword [esp + 0x60]
mov eax, dword [ebp + 0x28]
mov ecx, dword [esp + 0x60]
mov dword [edx + 0x28], eax
mov edx, dword [ebp + 0x2c]
mov dword [ecx + 0x2c], edx
mov edi, dword [esp + 0x60]
mov eax, dword [ebp + 0x28]
cmp dword [edi + 0x28], eax
je 0x40a831
mov edx, dword [0x14d508c]
mov ecx, dword [esp + 0x60]
mov dword [ebx + 0x3c], 1
mov dword [ecx + 0x330], edx
mov edx, dword [ebp + 0x2c]
mov dword [ebx + 0x168], eax
mov eax, dword [ebp + 0x34]
cmp dword [ebx + 0x170], 0
mov dword [ebx + 0x164], edx
mov dword [ebx + 0x16c], eax
jne 0x40996b
mov ebp, dword [esp + 0x68]
mov eax, dword [ebp + 4]
cmp dword [eax + 0xc], 0
je 0x40ab8b
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
mov dword [ebx + 0x174], edx
mov dword [ebx + 0x170], eax
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x409986
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x409986
cmp dword [ebx + 0x178], 0
je 0x40c1e4
mov edx, dword [ebx + 0x174]
mov eax, dword [ebx + 0x170]
mov ecx, dword [esp + 0x60]
mov dword [ecx + 0x20], edx
mov dword [ecx + 0x24], eax
mov dword [esp + 0xb4], edx
fild dword [esp + 0xb4]
mov dword [esp + 0xb4], eax
fild dword [esp + 0xb4]
fdivp st(1)
fstp qword [esp + 0xc8]
fld qword [esp + 0xc8]
fld xword [0x1106060]
fucompi st(1)
fstp st(0)
jbe 0x4099ee
mov eax, dword [0x10d201c]
test eax, eax
je 0x4099ee
cmp eax, 1
je 0x40c432
test eax, eax
js 0x40c425
mov ebp, dword [ebx + 0x188]
test ebp, ebp
jle 0x409a4b
mov edi, dword [ebx + 0x184]
xor esi, esi
mov dword [esp + 0x78], ebx
mov ebx, dword [esp + 0x60]
mov eax, dword [ebx + 0x20]
mov edx, dword [ebx + 0x24]
mov dword [esp + 8], 1
mov dword [esp + 0xc], 0xf4240
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov eax, dword [edi + esi*8]
mov edx, dword [edi + esi*8 + 4]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00ad1870
mov dword [edi + esi*8], eax
mov dword [edi + esi*8 + 4], edx
add esi, 1
cmp esi, ebp
jne 0x409a08
mov ebx, dword [esp + 0x78]
mov eax, dword [ebx + 0xc]
mov ebp, dword [esp + 0x68]
mov edi, dword [eax + 8]
mov eax, dword [ebp + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x78], eax
mov eax, dword [edi + 0x34]
mov dword [esp + 0x1ddc], 0xffffffff
mov dword [esp + 0x1dd8], eax
call fcn.0041b4b0
mov dword [esp + 0x1e2c], eax
call fcn.0041ba20
mov dword [ebx + 0x204], eax
mov eax, dword [ebp + 4]
mov edx, dword [eax + 0x130]
test edx, edx
je 0x40a81d
mov ecx, dword [eax + 0x134]
mov eax, dword [eax + 8]
mov dword [esp + 0x24], ecx
lea esi, [esp + 0x1cd8]
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], 0xf4240
mov dword [esp + 0x18], 1
mov edx, dword [eax + 0x34]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 0x2c]
mov dword [esp + 0x10], edx
mov eax, dword [eax + 0x28]
mov dword [esp + 8], str._d:_d:_d:_d:_d:_d:_d
mov dword [esp + 4], 0xff
mov dword [esp], esi
mov dword [esp + 0xc], eax
call fcn.01088520
mov ebp, dword [ebx + 0x204]
mov dword [esp], 0x1103564
call fcn.0041a820
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0x110356b
mov dword [esp + 4], eax
lea eax, [ebx + 0x1f8]
mov dword [esp], eax
call fcn.0041baf0
test eax, eax
js 0x40a798
mov ebp, dword [ebx + 0x204]
mov dword [esp], 0x110356f
call fcn.0041a820
lea edx, [esp + 0x1dd8]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebp
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x110357a
mov dword [esp + 4], eax
lea eax, [ebx + 0x1f4]
mov dword [esp], eax
call fcn.0041baf0
mov ebp, eax
lea eax, [esp + 0x1e2c]
mov dword [esp], eax
call fcn.00ad0270
test ebp, ebp
js 0x40a798
mov edx, dword [esp + 0x78]
mov eax, dword [edi + 0x28]
mov ebp, dword [ebx + 0x1f8]
cmp eax, dword [edx + 0x28]
jne 0x409baf
mov ecx, dword [edx + 0x2c]
cmp dword [edi + 0x2c], ecx
je 0x409c5b
mov edx, dword [ebx + 0x208]
mov dword [esp + 0x14], edx
mov edx, dword [edi + 0x2c]
mov dword [esp + 0xc], eax
mov dword [esp + 8], str._d:_d:flags0x_X
mov dword [esp + 4], 0xff
mov dword [esp + 0x10], edx
mov dword [esp], esi
call fcn.01088520
mov edx, dword [ebx + 0x204]
mov dword [esp], 0x110358f
mov dword [esp + 0x48], edx
call fcn.0041a820
mov edx, dword [esp + 0x48]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov dword [esp + 0x14], edx
mov dword [esp + 4], eax
lea eax, [esp + 0x1e28]
mov dword [esp], eax
call fcn.0041baf0
test eax, eax
js 0x40a798
mov eax, dword [esp + 0x1e28]
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0
mov dword [esp], ebp
mov dword [esp + 8], eax
call fcn.00418f60
test eax, eax
js 0x40a798
mov ebp, dword [esp + 0x1e28]
mov eax, dword [ebx + 0x208]
mov dword [esp + 8], str.flags0x_X
mov dword [esp + 4], 0xff
mov dword [esp], esi
mov dword [esp + 0xc], eax
call fcn.01088520
mov edx, dword [ebx + 0x204]
mov dword [esp], esi
mov dword [esp + 0x48], edx
call fcn.00ad0370
mov edx, dword [esp + 0x48]
cmp dword [ebx + 0x200], 0
mov dword [edx + 8], eax
je 0x40a76e
call fcn.0041cae0
mov dword [esp + 0x1e30], eax
call fcn.0041cae0
mov esi, dword [esp + 0x1e30]
mov dword [esp], 0x11035a0
mov dword [esp + 0x1e34], eax
call fcn.00ad0370
mov dword [esi], eax
mov eax, dword [esp + 0x1e30]
mov dword [eax + 4], ebp
mov dword [eax + 0xc], 0
mov esi, dword [esp + 0x1e34]
mov dword [eax + 8], 0
mov dword [esp], 0x110357a
call fcn.00ad0370
mov edx, dword [ebx + 0x1f4]
mov dword [esi], eax
mov eax, dword [esp + 0x1e34]
mov dword [eax + 4], edx
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
lea eax, [esp + 0x1e30]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x1e34]
mov dword [esp + 0x10], 0
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x200]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x204]
mov dword [esp], eax
call fcn.0041cb40
test eax, eax
js 0x40a798
lea eax, [ebx + 0x200]
mov dword [esp], eax
call fcn.00ad0270
mov dword [esp + 4], 0
mov eax, dword [ebx + 0x204]
mov dword [esp], eax
call fcn.0041c190
test eax, eax
js 0x40a798
mov eax, dword [ebx + 0x1f4]
fld dword [ebx + 0x180]
fldz
fxch st(1)
mov esi, dword [ebx + 0xc]
fucomi st(1)
fstp st(1)
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
mov dword [edi + 0x28], ecx
mov dword [edi + 0x2c], edx
jp 0x409db5
je 0x40c520
mov dword [esp + 0xb4], edx
fild dword [esp + 0xb4]
mov dword [esp + 0xb4], ecx
mov dword [esp + 8], 0xff
fstp dword [esp + 0xc4]
fld dword [esp + 0xc4]
fmulp st(1)
fild dword [esp + 0xb4]
fstp dword [esp + 0xc4]
fld dword [esp + 0xc4]
fdivp st(1)
fstp qword [esp]
call fcn.00ad6590
mov dword [esi + 0x130], eax
mov dword [esi + 0x134], edx
mov eax, dword [esi + 0x130]
mov edx, dword [esi + 0x134]
mov dword [edi + 0x17c], eax
mov dword [edi + 0x180], edx
mov esi, dword [esp + 0x60]
cmp dword [esi + 0xd4], 0x1c
je case.0x40a24b.2
test dword [esi + 0xc], 0x600
je case.0x40a24b.2
mov eax, dword [0x14d50b4]
mov edx, str.ffmpeg2pass
mov ebp, dword [esp + 0x58]
mov dword [esp + 8], str._s__d.log
mov dword [esp + 4], 0x400
test eax, eax
cmove eax, edx
mov dword [esp + 0xc], eax
lea eax, [esp + 0x10d8]
mov dword [esp + 0x10], ebp
mov dword [esp], eax
call fcn.01088520
mov eax, dword [esi + 0xc]
test ah, 4
jne 0x40a712
test ah, 2
jne 0x40a6e8
lea esi, [esi]
mov edx, dword [esp + 0x60]
mov ecx, dword [edx + 0xd0]
test ecx, ecx
jne 0x409ebb
mov eax, dword [edx + 0x28]
imul eax, dword [edx + 0x2c]
lea edx, [eax + eax*8 + 0x2710]
mov eax, dword [0x10d2020]
cmp edx, eax
cmovge eax, edx
mov dword [0x10d2020], eax
mov eax, dword [0x14d5034]
add dword [esp + 0x58], 1
cmp dword [esp + 0x58], eax
jl 0x4096cf
cmp dword [0x14d50c8], 0
je 0x40c539
test eax, eax
jle 0x40a8b2
xor esi, esi
xor edi, edi
jmp 0x409f3b
mov eax, dword [ecx + 0x1c]
mov ebp, dword [ecx + 0x258]
mov edx, eax
sar edx, 0x1f
add dword [0x14d50d0], eax
adc dword [0x14d50d4], edx
test ebp, ebp
je 0x409f25
imul eax, dword [ebx + 8], 0x58
add eax, dword [0x14d5040]
mov eax, dword [eax + 4]
mov eax, dword [eax + 8]
or dword [eax + 0x188], 0x20
mov eax, dword [0x14d5034]
add edi, 1
add esi, 0x228
cmp edi, eax
jge 0x40a8b2
mov ebx, dword [0x14d5030]
add ebx, esi
mov edx, dword [ebx + 0x10]
test edx, edx
je 0x409f2a
imul eax, dword [ebx + 8], 0x58
add eax, dword [0x14d5040]
mov ebp, dword [ebx + 0x2c]
mov eax, dword [eax + 4]
mov dword [esp + 0x58], ebp
mov ebp, dword [eax + 8]
mov eax, dword [esp + 0x58]
test eax, eax
je 0x40aba4
mov eax, dword [ebp + 0x3a0]
test eax, eax
mov eax, dword [ebx + 0xc]
je 0x40a37f
mov edx, dword [eax + 8]
mov eax, dword [ebp + 0x3a4]
mov dword [esp + 0x48], edx
mov dword [esp], eax
call fcn.00ad00c0
mov edx, dword [esp + 0x48]
mov dword [edx + 0x3a0], eax
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x3a0]
test eax, eax
je 0x40c44f
mov edx, dword [ebp + 0x3a0]
mov ecx, dword [ebp + 0x3a4]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call sub.msvcrt.dll_memcpy
mov eax, dword [ebx + 0xc]
mov edx, dword [ebp + 0x3a4]
mov eax, dword [eax + 8]
mov dword [eax + 0x3a4], edx
lea edx, [ebx + 0x210]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x58]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00536150
test eax, eax
js 0x40c221
mov eax, dword [ebx + 0xc]
mov ecx, 1
mov eax, dword [eax + 8]
lea edx, [eax + 0xe8]
add eax, 0x78
call fcn.00405200
mov dword [esp + 0xc], 2
mov dword [esp + 8], 0
mov dword [esp + 4], 0x11021f9
mov eax, dword [ebx + 0x210]
mov dword [esp], eax
call fcn.00ad2060
test eax, eax
jne 0x40c7f4
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 4]
cmp eax, 0x3e7
jg 0x409ef0
test eax, eax
je 0x409ef0
mov dword [esp + 8], str.The_bitrate_parameter_is_set_too_low._It_takes_bits_s_as_argument__not_kbits_s_n
mov dword [esp + 4], 0x18
mov dword [esp], 0
call fcn.00acfa00
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax + 8]
jmp 0x409ef0
mov eax, dword [ebx + 0x160]
mov dword [esp], eax
call fcn.00a97450
jmp 0x409811
mov eax, dword [ebp + 0xd4]
mov dword [edi + 0xd4], eax
mov eax, dword [ebp + 0xd0]
mov dword [edi + 0xd0], eax
mov eax, dword [edi + 0xd8]
test eax, eax
jne 0x40a129
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x34]
test eax, eax
je 0x40a119
mov edi, dword [ebp + 0xd8]
mov dword [esp + 0x48], edx
mov dword [esp], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 4], edi
call fcn.00477f60
mov edi, dword [esp + 0x60]
mov edx, dword [esp + 0x48]
cmp eax, dword [edi + 0xd4]
je 0x40a119
mov eax, dword [ebp + 0xd4]
mov dword [esp + 4], eax
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x34]
mov dword [esp], eax
call fcn.00477ef0
mov edx, dword [esp + 0x48]
test eax, eax
jne 0x40a129
mov eax, dword [ebp + 0xd8]
mov edi, dword [esp + 0x60]
mov dword [edi + 0xd8], eax
mov edi, dword [esp + 0x60]
mov eax, dword [ebp + 4]
mov dword [edi + 4], eax
mov eax, dword [ebp + 0x12c]
mov dword [edi + 0x12c], eax
mov eax, dword [ebp + 0x134]
mov dword [edi + 0x134], eax
mov eax, dword [ebp + 0x3d8]
mov dword [edi + 0x3d8], eax
mov dword [esp], edx
call fcn.00ad02a0
test eax, eax
mov dword [edi + 0x18], eax
je 0x40c4c0
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x1c]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp + 0x1c]
mov dword [edi + 0x1c], eax
mov eax, dword [esp + 0x68]
mov edi, dword [esp + 0x60]
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x3c]
mov edx, dword [eax + 0x38]
mov dword [esp + 0x70], eax
mov eax, dword [esi + 8]
mov dword [edi + 0x24], ecx
mov ecx, 4
mov dword [edi + 0x20], edx
mov edi, 0x110338d
mov esi, dword [eax]
mov dword [esp + 0x78], esi
repe cmpsb byte [esi], byte es:[edi]
jne 0x40a264
cmp dword [0x10d2008], 0
jl 0x40a7c0
jne 0x40a1f0
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 0x24]
mov esi, dword [esp + 0x60]
mov eax, ecx
imul eax, dword [ebp + 0x354]
mov dword [esi + 0x24], edx
shl dword [esi + 0x24], 1
mov dword [esi + 0x20], eax
jmp 0x40a1f0
fstp st(0)
jmp 0x40a1f0
fstp st(0)
nop
mov edi, dword [esp + 0x60]
mov dword [esp + 0x18], 0x7fffffff
mov dword [esp + 0x1c], 0
mov eax, dword [edi + 0x24]
mov edx, eax
sar edx, 0x1f
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov eax, dword [edi + 0x20]
mov dword [esp + 8], eax
mov ecx, eax
mov eax, edi
add eax, 0x24
sar ecx, 0x1f
mov dword [esp + 4], eax
sub eax, 4
mov dword [esp + 0xc], ecx
mov dword [esp], eax
call fcn.00ad5db0
cmp dword [edi + 0xd0], 4
ja case.default.0x40a24b
mov eax, dword [edi + 0xd0]
jmp dword [eax*4 + 0x1103b6c]
mov eax, dword [esp + 0xa4]
add esp, 0x1e4c
pop ebx
pop esi
pop edi
pop ebp
ret
test byte [eax + 0x29], 4
jne 0x40a1f0
mov esi, dword [esp + 0x78]
mov dword [esp + 4], 0x1103391
mov dword [esp], esi
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x40a1f0
mov dword [esp + 4], 0x1103395
mov dword [esp], esi
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x40a1f0
mov dword [esp + 4], 0x1103399
mov dword [esp], esi
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x40a1f0
mov dword [esp + 4], 0x110339d
mov dword [esp], esi
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x40a1f0
mov dword [esp + 4], 0x11033a1
mov dword [esp], esi
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x40a1f0
mov dword [esp + 4], 0x11033a5
mov dword [esp], esi
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x40a1f0
cmp dword [0x10d2008], 0
jl 0x40c688
jne 0x40a1f0
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 0x24]
mov esi, dword [esp + 0x60]
mov eax, ecx
imul eax, dword [ebp + 0x354]
mov dword [esi + 0x24], edx
mov dword [esi + 0x20], eax
jmp 0x40a1f0
call sub.msvcrt.dll_abort
lea eax, [edx + 0x1c]
mov dword [esp + 8], eax
mov dword [esp], edx
mov dword [esp + 0xc], 1
mov dword [esp + 4], ebx
call fcn.0047ca80
mov dword [esp + 0xc], ebx
mov dword [esp + 8], str.Output_file__d_does_not_contain_any_stream_n
mov dword [esp + 4], 0x10
mov dword [esp], 0
call fcn.00acfa00
mov dword [esp + 0xa4], 0xffffffea
jmp 0x409771
mov eax, dword [eax + 8]
jmp 0x409fdf
mov dword [esp], 0x400
call fcn.00ad52b0
test eax, eax
mov dword [ebx + 0x1e8], eax
je 0x40c4c0
mov ecx, dword [esp + 0x60]
cmp dword [ecx + 0x3c], 0
jne 0x40a3b1
mov eax, dword [ebp + 0x3c]
mov dword [ecx + 0x3c], eax
mov edx, dword [ebx + 0x2c]
mov ecx, dword [ebx + 0xc]
test edx, edx
mov dword [esp + 0x80], edx
mov dword [esp + 0x78], ecx
mov dword [esp + 0xa0], ecx
je 0x40a44d
mov ecx, dword [edx + 0x38]
test ecx, ecx
je 0x40a44d
mov esi, dword [ecx]
test esi, esi
mov dword [esp + 0x68], esi
je 0x40c262
mov edi, dword [esp + 0x78]
mov edx, dword [esp + 0x68]
mov dword [esp + 0x90], ebx
mov dword [esp + 0x68], 0
mov edi, dword [edi + 8]
mov dword [esp + 0x8c], edi
mov esi, dword [edi + 0x3c]
mov edi, 0x7fffffff
nop
mov eax, esi
sub eax, edx
mov ebx, eax
sar ebx, 0x1f
xor eax, ebx
sub eax, ebx
cmp eax, edi
jge 0x40a427
mov edi, eax
mov dword [esp + 0x68], edx
add ecx, 4
mov edx, dword [ecx]
test edx, edx
jne 0x40a410
test edi, edi
mov ebx, dword [esp + 0x90]
jne 0x40c262
mov edi, dword [esp + 0x68]
mov esi, dword [esp + 0x8c]
mov dword [esi + 0x3c], edi
mov edx, dword [esp + 0x60]
mov eax, dword [edx + 0x3c]
cmp dword [edx + 0x44], 0xffffffff
mov dword [edx + 0x20], 1
mov dword [edx + 0x24], eax
je 0x40a763
cmp dword [esp + 0x80], 0
je 0x40a4b8
mov edx, dword [esp + 0x80]
mov eax, dword [edx + 0x3c]
test eax, eax
je 0x40a4b8
mov esi, dword [eax]
cmp esi, 0xffffffff
je 0x40a4a5
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx + 8]
mov ecx, dword [edx + 0x44]
cmp ecx, esi
jne 0x40a49b
jmp 0x40a4b8
cmp edx, ecx
je 0x40a4b8
add eax, 4
mov edx, dword [eax]
cmp edx, 0xffffffff
jne 0x40a497
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x80]
add eax, 8
call fcn.004024f0
mov eax, dword [ebx + 0x1d4]
test eax, eax
jne 0x40a6b3
mov edi, dword [esp + 0x60]
cmp dword [edi + 0x40], 0
jne 0x40a4ee
mov eax, dword [ebp + 0x40]
mov edx, dword [ebp + 0x33c]
mov dword [edi + 0x40], eax
mov eax, dword [ebp + 0x338]
mov dword [edi + 0x33c], edx
mov dword [edi + 0x338], eax
mov ecx, dword [esp + 0x60]
mov eax, dword [ecx + 0x338]
mov edx, dword [ecx + 0x33c]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00ad5d30
mov esi, dword [esp + 0x60]
mov edi, dword [esi + 0x40]
cmp eax, edi
je 0x40a529
mov dword [esi + 0x338], 0
mov dword [esi + 0x33c], 0
mov eax, dword [esp + 0x60]
mov esi, dword [ebp + 0x3c]
mov dword [esp + 0x68], 1
cmp dword [eax + 0x3c], esi
je 0x40a883
mov edx, dword [esp + 0x60]
mov eax, 1
mov ecx, dword [ebp + 0x44]
cmp dword [edx + 0x44], ecx
je 0x40a852
or eax, dword [esp + 0x68]
mov dword [ebx + 0x190], eax
mov eax, dword [ebp + 0x40]
mov dword [ebp + 0x320], edi
mov dword [ebx + 0x1d8], ecx
mov dword [ebx + 0x1e0], esi
mov dword [ebx + 0x1dc], eax
jmp 0x409e25
mov edx, dword [edi + 0x2c]
test edx, edx
jne 0x409900
jmp 0x4098ec
cmp dword [0x10d2018], 0x100
jne 0x40c6dd
mov esi, dword [esp + 0x60]
mov eax, dword [ebp + 0x338]
mov edx, dword [ebp + 0x33c]
mov dword [esi + 0x338], eax
mov eax, dword [ebp + 0x3c]
mov dword [esi + 0x33c], edx
mov dword [esi + 0x3c], eax
mov eax, dword [ebp + 0x40]
mov dword [esi + 0x40], eax
mov eax, dword [ebp + 0x48]
mov dword [esi + 0x48], eax
mov eax, dword [ebp + 0x3c8]
mov dword [esi + 0x3c8], eax
mov eax, dword [ebp + 0x100]
mov dword [esi + 0x100], eax
jmp case.0x40a24b.2
mov edi, dword [esp + 0x60]
mov eax, dword [ebp + 0x34]
mov ebx, dword [ebx + 0xc]
cmp dword [edi + 0x17c], 0
mov dword [edi + 0x34], eax
mov eax, dword [ebp + 0x28]
mov dword [esp + 0x78], ebx
mov dword [edi + 0x28], eax
mov eax, dword [ebp + 0x2c]
mov dword [edi + 0x2c], eax
mov eax, dword [ebp + 0xfc]
mov ebp, dword [esp + 0x68]
mov dword [edi + 0xfc], eax
mov eax, dword [ebp + 4]
jne 0x40a67d
cmp dword [eax + 0x130], 0
jne 0x40c2b0
mov edx, dword [eax + 8]
cmp dword [edx + 0x17c], 0
je 0x40c4d0
mov ecx, dword [edx + 0x17c]
mov ebx, dword [edx + 0x180]
mov esi, dword [esp + 0x78]
mov dword [esi + 0x130], ecx
mov dword [esi + 0x134], ebx
mov ebp, dword [esp + 0x78]
mov edx, dword [esp + 0x60]
mov ecx, dword [ebp + 0x130]
mov ebx, dword [ebp + 0x134]
mov dword [edx + 0x17c], ecx
mov dword [edx + 0x180], ebx
mov edx, dword [eax + 0x1a4]
mov ecx, dword [esp + 0x78]
mov eax, dword [eax + 0x1a0]
mov dword [ecx + 0x1a4], edx
mov dword [ecx + 0x1a0], eax
jmp case.0x40a24b.2
mov eax, dword [ebp + 0x28]
mov esi, dword [esp + 0x60]
mov dword [esi + 0x28], eax
mov eax, dword [ebp + 0x2c]
mov dword [esi + 0x2c], eax
jmp case.0x40a24b.2
mov esi, dword [esp + 0x60]
cmp dword [esi + 0x40], 0
je 0x40c494
cmp eax, 0xf
ja 0x40a4ee
lea esi, [esi]
mov dword [ebx + eax*4 + 0x194], 0xffffffff
add eax, 1
cmp eax, 0x10
jne 0x40a6d0
jmp 0x40a4ee
lea ebp, [esp + 0x10d8]
mov dword [esp + 4], 0x11035f9
mov dword [esp], ebp
call sub.msvcrt.dll_fopen
test eax, eax
je 0x40c73a
mov dword [ebx + 0x1ec], eax
jmp case.0x40a24b.2
lea edx, [esp + 0x1e24]
lea eax, [esp + 0x1e28]
lea ecx, [esp + 0x10d8]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00412b00
test eax, eax
js 0x40c70e
mov eax, dword [esp + 0x1e28]
mov edi, dword [esp + 0x60]
mov dword [edi + 0x110], eax
mov eax, dword [edi + 0xc]
jmp 0x409e81
mov eax, dword [ebp + 0x34]
mov dword [ecx + 0x34], eax
jmp 0x4098c0
mov eax, dword [ebp + 0x44]
mov dword [edx + 0x44], eax
jmp 0x40a468
mov dword [esp + 0xc], 0
mov eax, dword [ebx + 0x1f4]
mov dword [esp + 4], 0
mov dword [esp], ebp
mov dword [esp + 8], eax
call fcn.00418f60
test eax, eax
jns 0x409d67
mov dword [esp + 8], str.Error_opening_filters__n
mov dword [esp + 4], 8
mov dword [esp], 0
call fcn.00acfa00
mov dword [esp], 1
call sub.msvcrt.dll_exit
mov edx, dword [esp + 0x70]
fild dword [edx + 0x38]
fild dword [edx + 0x3c]
fdivp st(1)
fstp qword [esp + 0xc8]
fld qword [esp + 0xc8]
fild dword [ebp + 0x20]
fild dword [ebp + 0x24]
fdivp st(1)
fstp qword [esp + 0xc8]
fld qword [esp + 0xc8]
fild dword [ebp + 0x354]
fmulp st(1)
fld st(1)
fadd st(2)
fxch st(1)
fucompi st(1)
fstp st(0)
jbe 0x40a1e9
fld xword [0x1106050]
fucompi st(1)
fstp st(0)
ja 0x40a1cb
jmp 0x40a1f0
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x17c]
mov ecx, dword [eax + 0x180]
jmp 0x409aa5
cmp dword [ebp + 0x2c], edx
jne 0x409910
mov edx, dword [ebp + 0x34]
cmp dword [edi + 0x34], edx
jne 0x409910
mov dword [ebx + 0x3c], 0
jmp 0x409927
mov eax, dword [edx + 0x338]
mov edx, dword [ebp + 0x338]
xor eax, edx
mov edx, dword [esp + 0x60]
mov dword [esp + 0x70], eax
mov eax, dword [edx + 0x33c]
xor eax, dword [ebp + 0x33c]
or eax, dword [esp + 0x70]
setne al
movzx eax, al
jmp 0x40a556
xor edx, edx
cmp dword [0x14d507c], 1
setg dl
mov dword [esp + 0x68], edx
jmp 0x40a541
mov edi, dword [esp + 0x60]
mov eax, dword [edi + 0xd4]
mov dword [esp], eax
call fcn.00537dd0
mov dword [ebx + 0x2c], eax
jmp 0x40987c
cmp dword [0x14d5044], 0
jle 0x40aa44
xor ebp, ebp
mov dword [esp + 0x58], 0
lea esi, [esi]
mov ebx, dword [0x14d5040]
add ebx, ebp
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x40a983
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x40c781
mov edx, dword [eax + 0x20]
and edx, 2
cmp dword [eax + 4], 0
mov dword [ebx + 0x50], edx
jne 0x40a921
test edx, edx
je 0x40a921
mov edx, dword [ebx + 4]
mov edx, dword [edx + 8]
mov dword [edx + 0xf4], 0x401e60
mov dword [edx + 0xf8], 0x402480
mov dword [edx + 0xac], ebx
lea edx, [ebx + 0x48]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax + 8]
mov dword [esp], eax
call fcn.00536150
test eax, eax
mov eax, dword [ebx + 4]
js 0x40c648
mov eax, dword [eax + 8]
xor ecx, ecx
lea edx, [eax + 0xe8]
add eax, 0x78
call fcn.00405200
mov dword [esp + 0xc], 2
mov dword [esp + 8], 0
mov dword [esp + 4], 0x11021f9
mov eax, dword [ebx + 0x48]
mov dword [esp], eax
call fcn.00ad2060
test eax, eax
jne 0x40c7f4
mov eax, dword [ebx + 4]
xor esi, esi
xor edi, edi
mov edx, dword [eax + 0x1a0]
test edx, edx
je 0x40aa11
mov ecx, dword [eax + 8]
imul ecx, dword [ecx + 0xfc], 0xfff0bdc0
mov dword [esp + 0xb4], ecx
fild dword [esp + 0xb4]
mov dword [esp + 0xb4], edx
fild dword [esp + 0xb4]
fild dword [eax + 0x1a4]
fnstcw word [esp + 0xc2]
fdivp st(1)
movzx eax, word [esp + 0xc2]
mov ah, 0xc
mov word [esp + 0xc0], ax
fstp qword [esp + 0xc8]
fld qword [esp + 0xc8]
fdivp st(1)
fldcw word [esp + 0xc0]
fistp qword [esp + 0xb8]
fldcw word [esp + 0xc2]
mov esi, dword [esp + 0xb8]
mov edi, dword [esp + 0xbc]
add dword [esp + 0x58], 1
add ebp, 0x58
mov dword [ebx + 0x30], esi
mov esi, dword [esp + 0x58]
cmp esi, dword [0x14d5044]
mov dword [ebx + 0x34], edi
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0x80000000
mov dword [ebx + 0x40], 1
jl 0x40a8d0
mov ecx, dword [esp + 0x88]
mov edi, dword [0x14d5040]
mov dword [esp + 0x80], 0
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x80]
cmp dword [esp + 0x1e60], ecx
jle 0x40ab16
mov esi, dword [esp + 0x60]
mov eax, dword [esi]
mov ebp, dword [eax + 0x484]
test ebp, ebp
mov dword [esp + 0x68], ebp
je 0x40ab00
mov eax, dword [eax + 0x488]
mov dword [esp + 0x58], 0
mov dword [esp + 0x78], eax
xor eax, eax
lea esi, [esi]
mov edx, dword [esp + 0x78]
mov ebp, dword [edx + eax*4]
mov eax, 0x30
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x40aaec
mov eax, dword [esp + 0x60]
mov ebx, dword [ebp + 0xc]
mov esi, dword [eax + 8]
xor eax, eax
mov edx, dword [ebx]
add edx, esi
imul edx, edx, 0x58
mov edx, dword [edi + edx + 8]
test edx, edx
jne 0x40aae0
jmp 0x40aaec
mov edx, dword [ebx + eax*4]
add edx, esi
imul edx, edx, 0x58
mov edx, dword [edi + edx + 8]
test edx, edx
je 0x40ab12
add eax, 1
cmp eax, ecx
jne 0x40aad0
mov eax, 0x30
add dword [esp + 0x58], 1
mov edx, dword [esp + 0x68]
mov dword [ebp + 8], eax
mov eax, dword [esp + 0x58]
cmp eax, edx
jne 0x40aaa0
add dword [esp + 0x80], 1
add dword [esp + 0x60], 0x20
jmp 0x40aa60
xor eax, eax
jmp 0x40aaec
mov esi, dword [esp + 0x74]
mov ebp, 1
xor edi, edi
jmp 0x40ab75
mov ebx, dword [esi]
lea eax, [esi + 4]
mov dword [ebx + 0x4d0], 0x401550
mov dword [ebx + 0x4d4], 0
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.0047b5b0
test eax, eax
js 0x40c4ed
mov dword [esp + 4], 0x1103826
mov eax, dword [ebx + 8]
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
mov eax, 0
cmovne ebp, eax
add edi, 1
add esi, 0x28
cmp dword [esp + 0x84], edi
jg 0x40ab23
mov dword [esp + 0xa4], 0
jmp 0x40abf8
mov dword [ebx + 0x170], 0x19
mov dword [ebx + 0x174], 1
jmp 0x40996b
mov eax, dword [ebx + 0xc]
mov ebp, 1
mov esi, dword [ebx + 4]
mov edi, dword [ebx]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xd4]
mov dword [esp], eax
call fcn.00537f70
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], edi
mov dword [esp + 8], str.Encoder__codec__s__not_found_for_output_stream__d:_d
mov dword [esp + 4], 0x400
mov dword [esp + 0xc], eax
lea eax, [esp + 0x18d8]
mov dword [esp], eax
call fcn.01088520
mov dword [esp + 0xa4], 0xffffffea
cmp dword [esp + 0x84], 0
jle 0x40ac37
mov esi, dword [esp + 0x74]
xor ebx, ebx
mov edi, dword [esp + 0x84]
nop
mov eax, dword [esi]
add esi, 0x28
mov dword [esp + 4], ebx
add ebx, 1
mov dword [esp + 0xc], 1
lea edx, [eax + 0x1c]
mov dword [esp + 8], edx
mov dword [esp], eax
call fcn.0047ca80
cmp ebx, edi
jne 0x40ac10
mov dword [esp + 8], str.Stream_mapping:_n
mov dword [esp + 4], 0x20
mov dword [esp], 0
call fcn.00acfa00
cmp dword [0x14d5034], 0
jle 0x40adcb
xor edi, edi
xor esi, esi
mov dword [esp + 0x58], ebp
jmp 0x40acb2
mov edx, dword [ebx + 4]
mov dword [esp + 0x14], edx
mov edx, dword [ebx]
mov dword [esp + 0xc], eax
mov dword [esp + 8], str.__File__s____Stream__d:_d_n
mov dword [esp + 4], 0x20
mov dword [esp + 0x10], edx
mov dword [esp], 0
call fcn.00acfa00
add esi, 1
add edi, 0x228
cmp esi, dword [0x14d5034]
jge 0x40adc7
mov ebx, dword [0x14d5030]
add ebx, edi
mov eax, dword [ebx + 0x21c]
test eax, eax
jne 0x40ac70
mov edx, dword [ebx + 4]
imul eax, dword [ebx + 8], 0x58
add eax, dword [0x14d5040]
mov dword [esp + 0x18], edx
mov edx, dword [ebx]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 4]
mov edx, dword [edx]
mov dword [esp + 0x10], edx
mov eax, dword [eax]
mov dword [esp + 8], str.__Stream__d:_d_____d:_d
mov dword [esp + 4], 0x20
mov dword [esp], 0
mov dword [esp + 0xc], eax
call fcn.00acfa00
cmp dword [ebx + 0x1d4], 0
jne 0x40be9a
imul eax, dword [ebx + 8], 0x58
mov edx, dword [ebx + 0x18]
add eax, dword [0x14d5040]
cmp edx, eax
je 0x40ad4f
mov eax, dword [edx + 4]
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov eax, dword [edx]
mov dword [esp + 8], str.__sync__d:_d_
mov dword [esp + 4], 0x20
mov dword [esp], 0
mov dword [esp + 0xc], eax
call fcn.00acfa00
cmp dword [ebx + 0x218], 0
jne 0x40be79
mov eax, dword [ebx + 0x2c]
mov edx, 0x110335b
test eax, eax
je 0x40ad6a
mov edx, dword [eax]
imul eax, dword [ebx + 8], 0x58
add eax, dword [0x14d5040]
mov ecx, dword [eax + 0x10]
mov eax, 0x110335b
test ecx, ecx
je 0x40ad82
mov eax, dword [ecx]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], str.___s_____s_
mov dword [esp + 4], 0x20
mov dword [esp], 0
call fcn.00acfa00
mov dword [esp + 8], 0x110249a
mov dword [esp + 4], 0x20
mov dword [esp], 0
call fcn.00acfa00
jmp 0x40ac9d
mov ebp, dword [esp + 0x58]
cmp dword [esp + 0xa4], 0
jne 0x40c1b8
test ebp, ebp
jne 0x40c0ab
cmp dword [0x14d50bc], 0
jne 0x40ae06
mov dword [esp + 8], str.Press__q__to_stop______for_help_n
mov dword [esp + 4], 0x20
mov dword [esp], 0
call fcn.00acfa00
call fcn.0047d090
lea edi, [esp + 0x18d8]
mov dword [esp + 0xb0], 0
mov dword [esp + 0x70], edi
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], edx
mov eax, dword [0x14d5020]
test eax, eax
jne 0x40b923
call fcn.0047d090
mov edi, dword [0x14d50bc]
test edi, edi
mov ebx, eax
mov esi, edx
jne 0x40b160
mov eax, dword [0x14d5024]
test eax, eax
jne 0x40b923
mov eax, ebx
sub eax, dword [0x14d50c0]
sbb edx, dword [0x14d50c4]
cmp edx, 0
jl 0x40bda1
jle 0x40bf39
cmp dword [0x14d505c], 0
mov dword [esp + 0x58], 0xffffffff
je 0x40bf49
cmp dword [esp + 0x58], 0x43
jne 0x40c6fe
mov edi, dword [esp + 0x70]
xor eax, eax
mov ecx, 0x40
lea ebp, [esp + 0x1e3c]
rep stosd dword es:[edi], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
xor edi, edi
mov dword [esp + 8], 0x37
mov dword [esp + 4], 1
mov dword [esp], str._nEnter_command:__target___time___command____argument___n
add eax, 0x40
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
jmp 0x40af89
mov eax, dword [0x14d50dc]
test eax, eax
je 0x40b8f7
lea eax, [esp + 0x1e38]
mov dword [esp + 0x10], eax
mov eax, dword [0x14d50d8]
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
sub esp, 0x18
test eax, eax
je 0x40be17
mov eax, dword [esp + 0x1e38]
test eax, eax
je 0x40be17
lea eax, [esp + 0x1e34]
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov dword [esp], 0
call sub.msvcrt.dll__read
movzx eax, byte [esp + 0x1e34]
cmp eax, 0xa
je 0x40afcf
cmp eax, 0xd
je 0x40c026
cmp edi, 0xffe
ja 0x40c026
test eax, eax
jg 0x40bd86
mov eax, dword [0x14d50d8]
test eax, eax
je 0x40bde3
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov eax, dword [eax + 4]
test eax, eax
jle 0x40aee0
lea eax, [esp + 0x1e30]
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov dword [esp], 0
call sub.msvcrt.dll__read
movzx eax, byte [esp + 0x1e30]
jmp 0x40af67
mov byte [esp + edi + 0xd8], 0
lea edx, [esp + 0x18d8]
lea ecx, [esp + 0x10d8]
lea eax, [esp + 0x1e18]
lea edi, [esp + 0x1dd8]
lea ebp, [esp + 0xd8]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 8], edi
mov dword [esp + 4], str._63_____lf__255_____255__n_
mov dword [esp], ebp
call sub.msvcrt.dll_sscanf
cmp eax, 2
mov edx, eax
jg 0x40c2d1
lea edi, [esp + 0xd8]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], edx
mov dword [esp + 8], str.Parse_error__at_least_3_arguments_were_expected__only__d_given_in_string__s_n
mov dword [esp + 4], 0x10
mov dword [esp], 0
call fcn.00acfa00
cmp dword [esp + 0x58], 0x44
sete al
jne 0x40c03d
test al, al
mov dword [esp + 0x1e24], 0
je 0x40c04d
mov eax, dword [0x14d5040]
mov eax, dword [eax + 4]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x188]
add eax, eax
test eax, eax
mov dword [esp + 0x1e24], eax
jne 0x40c15a
mov dword [esp + 0x1e24], 1
mov ebp, dword [0x14d5044]
test ebp, ebp
jle 0x40b0cd
mov edi, dword [esp + 0x1e24]
xor ecx, ecx
mov edx, dword [0x14d5040]
mov eax, dword [edx + 4]
add ecx, 1
add edx, 0x58
cmp ecx, ebp
mov eax, dword [eax + 8]
mov dword [eax + 0x188], edi
jne 0x40b0b7
mov ebp, dword [0x14d5034]
test ebp, ebp
jle 0x40b0ff
mov edi, dword [esp + 0x1e24]
xor ecx, ecx
mov edx, dword [0x14d5030]
mov eax, dword [edx + 0xc]
add ecx, 1
add edx, 0x228
cmp ecx, ebp
mov eax, dword [eax + 8]
mov dword [eax + 0x188], edi
jne 0x40b0e6
cmp dword [esp + 0x1e24], 0
jne 0x40c09a
mov eax, dword [esp + 0x1e24]
mov dword [esp + 4], str.debug_d_n
mov dword [esp + 8], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
cmp dword [esp + 0x58], 0x3f
jne 0x40b160
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x109
mov dword [esp + 4], 1
mov dword [esp], str.key____function_n_______show_this_help_n______increase_verbosity_n_______decrease_verbosity_nc______Send_command_to_filtergraph_nD______cycle_through_available_debug_modes_nh______dump_packets_hex_press_to_cycle_through_the_3_states_nq______quit_ns______Show_QP_histogram_n
add eax, 0x40
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
nop
mov eax, dword [0x14d5034]
test eax, eax
mov dword [esp + 0x58], eax
jle 0x40b915
fld qword [0x1106040]
xor ebp, ebp
fstp qword [esp + 0x90]
mov dword [esp + 0x68], 0xffffffff
mov dword [esp + 0x6c], 0x7fffffff
mov dword [esp + 0x60], 0xffffffff
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], esi
imul ebx, ebp, 0x228
mov edx, dword [esp + 0x74]
add ebx, dword [0x14d5030]
mov eax, dword [ebx]
mov edi, dword [ebx + 0x214]
lea eax, [eax + eax*4]
lea esi, [edx + eax*8]
test edi, edi
mov edx, dword [0x14d5040]
mov ecx, dword [esi]
mov eax, dword [ebx + 8]
jne 0x40b240
imul eax, eax, 0x58
lea edi, [edx + eax]
mov eax, dword [edi]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x1e20]
mov edx, dword [esp + 0x44]
cmp byte [eax + edx], 0
jne 0x40b240
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x40b7b6
mov dword [esp + 0xc], 1
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp], eax
call fcn.0046bf70
cmp edx, dword [esi + 0x24]
jb 0x40b7a6
ja 0x40b22f
cmp eax, dword [esi + 0x20]
jb 0x40b7a6
mov ecx, dword [0x14d5034]
mov dword [esp + 0x58], ecx
lea esi, [esi]
add ebp, 1
cmp ebp, dword [esp + 0x58]
jl 0x40b1a6
mov ebp, dword [esp + 0x60]
mov ebx, dword [esp + 0x98]
mov esi, dword [esp + 0x9c]
test ebp, ebp
js 0x40b915
mov edi, dword [esp + 0x60]
lea eax, [esp + 0x1cd8]
mov dword [esp + 0x80], eax
shl edi, 5
add edi, dword [esp + 0x88]
mov ebp, dword [edi]
mov dword [esp + 4], eax
mov dword [esp], ebp
call fcn.00476950
cmp eax, 0xfffffff5
je 0x40be1f
test eax, eax
js 0x40bdca
mov eax, dword [esp + 0x1e60]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [esp + 0x1e20]
mov dword [esp], eax
call sub.msvcrt.dll_memset
cmp dword [0x14d5070], 0
jne 0x40c17a
mov eax, dword [esp + 0x1cf0]
cmp eax, dword [edi + 0x18]
jge 0x40b74d
add eax, dword [edi + 8]
mov ecx, dword [0x14d5040]
imul eax, eax, 0x58
add eax, ecx
cmp dword [eax + 8], 0
mov dword [esp + 0x78], eax
jne 0x40b74d
mov eax, dword [esp + 0x1ce0]
mov edx, dword [esp + 0x1ce4]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], edx
mov eax, dword [esp + 0x64]
add eax, 0x80000000
or eax, dword [esp + 0x60]
je 0x40b385
mov edi, dword [esp + 0x78]
mov ecx, dword [esp + 0x88]
mov eax, dword [edi + 4]
mov edx, dword [eax + 0x3c]
mov eax, dword [eax + 0x38]
mov dword [esp + 8], 1
mov dword [esp + 0xc], 0xf4240
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov eax, dword [edi]
shl eax, 5
mov edx, dword [ecx + eax + 0x14]
mov eax, dword [ecx + eax + 0x10]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00ad1870
add eax, dword [esp + 0x60]
adc edx, dword [esp + 0x64]
mov dword [esp + 0x1ce0], eax
mov dword [esp + 0x1ce4], edx
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], edx
mov eax, dword [esp + 0x1cd8]
mov edx, dword [esp + 0x1cdc]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edx
mov eax, dword [esp + 0x6c]
add eax, 0x80000000
or eax, dword [esp + 0x68]
je 0x40b479
mov edi, dword [esp + 0x78]
mov ecx, dword [esp + 0x88]
mov eax, dword [edi + 4]
mov edx, dword [eax + 0x3c]
mov eax, dword [eax + 0x38]
mov dword [esp + 8], 1
mov dword [esp + 0xc], 0xf4240
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov eax, dword [edi]
shl eax, 5
mov edx, dword [ecx + eax + 0x14]
mov eax, dword [ecx + eax + 0x10]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00ad1870
mov ecx, edx
mov edx, eax
add edx, dword [esp + 0x68]
adc ecx, dword [esp + 0x6c]
mov dword [esp + 0x1cd8], edx
lea eax, [ecx - 0x80000000]
or eax, edx
mov dword [esp + 0x1cdc], ecx
je 0x40b479
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], ecx
fild qword [esp + 0xb8]
fstp qword [esp + 0xc8]
fld qword [esp + 0xc8]
fmul qword [edi + 0x38]
fnstcw word [esp + 0xc2]
movzx eax, word [esp + 0xc2]
fstp qword [esp + 0xc8]
fld qword [esp + 0xc8]
mov ah, 0xc
mov word [esp + 0xc0], ax
fldcw word [esp + 0xc0]
fistp qword [esp + 0x1cd8]
fldcw word [esp + 0xc2]
mov eax, dword [esp + 0x64]
add eax, 0x80000000
or eax, dword [esp + 0x60]
je 0x40b726
fild qword [esp + 0x60]
mov edi, dword [esp + 0x78]
fstp qword [esp + 0xc8]
fld qword [esp + 0xc8]
fmul qword [edi + 0x38]
fnstcw word [esp + 0xc2]
movzx eax, word [esp + 0xc2]
fstp qword [esp + 0xc8]
fld qword [esp + 0xc8]
mov ah, 0xc
mov word [esp + 0xc0], ax
fldcw word [esp + 0xc0]
fistp qword [esp + 0x90]
fldcw word [esp + 0xc2]
mov eax, dword [esp + 0x90]
mov edx, dword [esp + 0x94]
mov dword [esp + 0x1ce0], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x1ce4], edx
add eax, 0x80000000
or eax, dword [esp + 0x90]
je 0x40b726
mov ecx, dword [edi + 0x2c]
mov edx, dword [edi + 0x28]
mov dword [esp + 0x64], ecx
mov eax, dword [esp + 0x64]
mov dword [esp + 0x60], edx
add eax, 0x80000000
or eax, edx
je 0x40b726
mov eax, dword [ebp + 4]
test byte [eax + 0x25], 2
je 0x40b726
mov edi, dword [edi + 4]
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 0xf4240
mov ecx, edi
mov ebp, dword [ecx + 0x3c]
mov dword [esp + 0x68], edi
mov edi, dword [edi + 0x38]
mov dword [esp + 0xc], ebp
mov ebp, dword [esp + 0x94]
mov dword [esp + 8], edi
mov edi, dword [esp + 0x90]
mov dword [esp + 4], ebp
mov dword [esp], edi
call fcn.00ad1870
mov ecx, edx
mov edi, eax
mov ebp, ecx
mov edx, eax
sub edi, dword [esp + 0x60]
sbb ebp, dword [esp + 0x64]
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], ebp
fild qword [esp + 0x58]
fld dword [0x10d200c]
fld st(0)
fchs
fld dword [0x1105f78]
fmul st(1), st(0)
fxch st(1)
fucompi st(3)
ja 0x40b5da
fmulp st(1)
fxch st(1)
fucompi st(1)
fstp st(0)
jbe 0x40c5b8
mov ebp, dword [esp + 0x68]
mov eax, dword [ebp + 8]
cmp dword [eax + 0xd0], 3
jne 0x40b5e0
jmp 0x40c5b8
fstp st(0)
fstp st(0)
fstp st(0)
cmp dword [0x14d5080], 0
jne 0x40b726
mov ebp, dword [esp + 0x78]
mov edi, dword [esp + 0x58]
mov eax, dword [ebp]
mov ebp, dword [esp + 0x5c]
shl eax, 5
add eax, dword [esp + 0x88]
mov edx, dword [eax + 0x10]
mov ecx, dword [eax + 0x14]
sub edx, dword [esp + 0x58]
sbb ecx, dword [esp + 0x5c]
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ebp
mov dword [esp + 8], str.timestamp_discontinuity__I64d__new_offset__I64d_n
mov dword [esp + 4], 0x30
mov dword [esp], 0
call fcn.00acfa00
mov ebp, dword [esp + 0x1ce4]
mov edi, dword [esp + 0x1ce0]
mov dword [esp + 0x64], ebp
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x60], edi
mov edi, dword [esp + 0x58]
mov ecx, dword [ebp + 4]
mov ebp, dword [esp + 0x5c]
mov eax, dword [ecx + 0x38]
mov edx, dword [ecx + 0x3c]
mov dword [esp], edi
mov dword [esp + 4], ebp
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov dword [esp + 8], 1
mov dword [esp + 0xc], 0xf4240
mov dword [esp + 0x4c], ecx
call fcn.00ad1870
mov edi, dword [esp + 0x60]
mov ebp, dword [esp + 0x64]
mov ecx, dword [esp + 0x4c]
sub edi, eax
sbb ebp, edx
mov dword [esp + 0x1ce4], ebp
mov ebp, dword [esp + 0x1cdc]
mov dword [esp + 0x1ce0], edi
mov edi, dword [esp + 0x1cd8]
mov dword [esp + 0x64], ebp
mov eax, dword [esp + 0x64]
mov dword [esp + 0x60], edi
add eax, 0x80000000
or eax, edi
je 0x40b726
mov eax, dword [ecx + 0x38]
mov edx, dword [ecx + 0x3c]
mov edi, dword [esp + 0x58]
mov ebp, dword [esp + 0x5c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov dword [esp], edi
mov dword [esp + 4], ebp
mov dword [esp + 8], 1
mov dword [esp + 0xc], 0xf4240
call fcn.00ad1870
mov edi, dword [esp + 0x60]
mov ebp, dword [esp + 0x64]
sub edi, eax
sbb ebp, edx
mov dword [esp + 0x1cd8], edi
mov dword [esp + 0x1cdc], ebp
mov ebp, dword [esp + 0x80]
mov ecx, dword [0x14d5034]
mov edx, dword [0x14d5030]
mov eax, dword [esp + 0x78]
mov dword [esp], ebp
call fcn.00405c80
test eax, eax
js 0x40c55d
mov ebp, dword [esp + 0x80]
mov dword [esp], ebp
call fcn.0053dc10
mov edi, dword [esp + 0xac]
mov dword [esp + 0x10], esi
mov ecx, dword [0x14d5034]
mov esi, dword [esp + 0xa8]
mov edx, dword [0x14d5030]
mov eax, dword [esp + 0x74]
mov dword [esp + 0xc], ebx
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp], 0
call fcn.00403660
mov dword [esp + 0xb0], 0
jmp 0x40ae2f
mov eax, dword [edi]
mov edx, dword [0x14d5034]
mov dword [esp + 0x44], eax
mov dword [esp + 0x58], edx
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax + 0x24]
mov edx, dword [eax + 0x20]
mov dword [esp + 0x7c], ecx
mov ecx, dword [eax + 0x38]
mov eax, dword [eax + 0x3c]
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x88]
mov dword [esp + 0x80], ecx
mov ecx, dword [edi + 0x34]
mov dword [esp + 0x8c], eax
mov eax, dword [edi + 0x30]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x44]
shl eax, 5
mov eax, dword [edx + eax + 4]
test eax, eax
jne 0x40b89d
cmp ecx, dword [esp + 0x6c]
jg 0x40b833
jl 0x40b817
mov edi, dword [esp + 0x68]
cmp dword [esp + 0xa0], edi
jae 0x40b833
cmp dword [0x14d50a8], 0
jne 0x40bdae
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x68], eax
fild qword [esp + 0x78]
fstp qword [esp + 0xc8]
fld qword [esp + 0xc8]
fild dword [esp + 0x80]
fild dword [esp + 0x8c]
fdivp st(1)
fstp qword [esp + 0xc8]
fld qword [esp + 0xc8]
fmulp st(1)
fstp qword [esp + 0xc8]
fld qword [esp + 0xc8]
fld qword [esp + 0x90]
fucompi st(1)
jbe 0x40b89b
mov ecx, dword [esp + 0x60]
fstp qword [esp + 0x90]
cmp dword [0x14d50a8], 0
cmove ecx, dword [esp + 0x44]
mov dword [esp + 0x60], ecx
jmp 0x40b89d
fstp st(0)
mov ecx, dword [ebx + 0x14]
mov edx, ecx
sar edx, 0x1f
cmp edx, dword [ebx + 0x34]
jl 0x40b240
jg 0x40b8b9
cmp ecx, dword [ebx + 0x30]
jb 0x40b240
mov eax, dword [esi]
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x40b240
imul eax, dword [esi + 8], 0x228
xor edx, edx
add eax, dword [0x14d5030]
add eax, 0x214
lea esi, [esi]
add edx, 1
mov dword [eax], 1
add eax, 0x228
cmp edx, ecx
jne 0x40b8e0
jmp 0x40b240
call sub.msvcrt.dll__kbhit
test eax, eax
nop
je 0x40be17
call sub.msvcrt.dll__getch
nop
lea esi, [esi]
jmp 0x40af67
cmp dword [esp + 0xb0], 0
jne 0x40be3b
mov edx, dword [0x14d5044]
test edx, edx
jle 0x40b973
xor ebx, ebx
xor esi, esi
jmp 0x40b93d
add esi, 1
add ebx, 0x58
cmp esi, edx
jge 0x40b973
mov eax, dword [0x14d5040]
add eax, ebx
mov edi, dword [eax + 0xc]
test edi, edi
je 0x40b933
mov edx, dword [0x14d5030]
add esi, 1
add ebx, 0x58
mov ecx, dword [0x14d5034]
mov dword [esp], 0
call fcn.00405c80
mov edx, dword [0x14d5044]
cmp esi, edx
jl 0x40b93d
mov edi, dword [0x14d5034]
mov ebx, dword [0x14d5030]
test edi, edi
mov dword [esp + 0x68], edi
jle 0x40bb52
mov dword [esp + 0x60], 0
mov eax, dword [ebx + 0xc]
mov edx, dword [0x14d5028]
mov ecx, dword [ebx + 0x10]
mov esi, dword [eax + 8]
mov eax, dword [ebx]
test ecx, ecx
lea eax, [eax + eax*4]
lea eax, [edx + eax*8]
mov eax, dword [eax]
mov dword [esp + 0x70], eax
je 0x40bb39
mov eax, dword [esi + 0xd0]
cmp eax, 1
je 0x40bd16
test eax, eax
jne 0x40bd30
mov ebp, dword [esp + 0x70]
lea edi, [esp + 0x1cd8]
mov dword [esp + 0x58], edi
mov eax, dword [ebp + 8]
test byte [eax + 0x28], 0x20
je 0x40b9f4
mov eax, dword [esi + 0x78]
cmp dword [eax + 8], 0xe
je 0x40bb39
mov ebp, dword [esp + 0x58]
mov dword [esp], ebp
call fcn.0053d610
mov dword [esp + 0x1ce8], 0
mov dword [esp + 0x1cec], 0
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xd0]
test eax, eax
jne 0x40bb30
mov eax, dword [0x10d2020]
mov dword [esp + 0xc], 0
mov dword [esp], esi
mov dword [esp + 8], eax
mov eax, dword [0x14d50c8]
mov dword [esp + 4], eax
call fcn.00537410
test eax, eax
mov edi, eax
js 0x40c620
mov edx, edi
sar edx, 0x1f
add dword [0x14d50f0], eax
mov eax, dword [esi + 0x184]
adc dword [0x14d50f4], edx
test eax, eax
je 0x40ba80
mov eax, dword [eax + 0x30]
test eax, eax
je 0x40ba80
or dword [esp + 0x1cf4], 1
mov eax, dword [ebx + 0x1ec]
test eax, eax
je 0x40baa0
mov edx, dword [esi + 0x10c]
test edx, edx
je 0x40baa0
mov dword [esp + 4], eax
mov dword [esp], edx
call sub.msvcrt.dll_fputs
test edi, edi
je 0x40bb39
mov eax, dword [ebx + 4]
mov dword [esp + 0x1cec], edi
mov dword [esp + 0x1cf0], eax
mov eax, dword [0x14d50c8]
mov dword [esp + 0x1ce8], eax
mov eax, dword [esi + 0x184]
test eax, eax
je 0x40bb18
mov edx, dword [eax + 0x38]
mov eax, dword [eax + 0x3c]
lea ecx, [eax - 0x80000000]
or ecx, edx
je 0x40bb18
mov ecx, dword [ebx + 0xc]
mov edi, dword [ecx + 0x38]
mov ebp, dword [ecx + 0x3c]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebp
mov edi, dword [esi + 0x20]
mov ebp, dword [esi + 0x24]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebp
call fcn.00ad1870
mov dword [esp + 0x1cd8], eax
mov dword [esp + 0x1cdc], edx
mov edx, dword [esp + 0x58]
mov ecx, ebx
mov eax, dword [esp + 0x70]
call fcn.004052c0
jmp 0x40b9f4
cmp eax, 1
je 0x40bc50
add dword [esp + 0x60], 1
add ebx, 0x228
mov esi, dword [esp + 0x68]
cmp dword [esp + 0x60], esi
jne 0x40b993
mov dword [esp + 0xc], 0x11021f9
mov dword [esp + 8], 0x1102559
mov dword [esp + 4], 0xfffffff8
mov dword [esp], 0
call fcn.00acfa00
cmp dword [esp + 0x84], 0
jle 0x40bba4
mov ebx, dword [esp + 0x74]
xor esi, esi
mov edi, dword [esp + 0x84]
lea esi, [esi]
mov eax, dword [ebx]
add esi, 1
add ebx, 0x28
mov dword [esp], eax
call fcn.0047c840
cmp esi, edi
jne 0x40bb90
call fcn.0047d090
mov esi, dword [esp + 0xa8]
mov edi, dword [esp + 0xac]
mov ecx, dword [0x14d5034]
mov dword [esp], 1
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x10], edx
mov edx, dword [0x14d5030]
call fcn.00403660
cmp dword [0x14d5034], 0
jle 0x40bd40
xor edi, edi
xor esi, esi
jmp 0x40bc19
add ebx, 0x204
add esi, 1
mov dword [esp], ebx
add edi, 0x228
call fcn.0041ba40
cmp dword [0x14d5034], esi
jle 0x40bd40
mov ebx, dword [0x14d5030]
add ebx, edi
mov ebp, dword [ebx + 0x10]
test ebp, ebp
je 0x40bbf6
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 8]
add eax, 0x110
mov dword [esp], eax
call fcn.00ad0270
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 8]
mov dword [esp], eax
call fcn.010972c0
jmp 0x40bbf6
mov eax, dword [ebx + 0x1e8]
mov dword [esp], eax
call fcn.00ad5370
test eax, eax
mov edi, eax
jle 0x40bcf5
mov dword [esp + 8], eax
mov eax, dword [0x14d5050]
mov dword [esp + 0xc], 0
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x1e8]
mov dword [esp], eax
call fcn.00ad55a0
mov eax, dword [esi + 0x78]
test byte [eax + 0x20], 0x40
jne 0x40bcdc
mov eax, dword [esi + 0x44]
mov ebp, dword [esi + 0x48]
imul ebp, dword [esi + 0x40]
mov dword [esp], eax
call fcn.00ad1d80
imul ebp, eax
cmp ebp, dword [0x14d5054]
ja 0x40c63c
mov edx, ebp
sub edx, edi
add edi, dword [0x14d5050]
cmp dword [esi + 0x44], 1
mov dword [esp + 8], edx
mov dword [esp], edi
mov edi, ebp
sbb eax, eax
and eax, 0x80
mov dword [esp + 4], eax
call sub.msvcrt.dll_memset
mov ecx, dword [0x14d5050]
mov edx, ebx
mov eax, dword [esp + 0x70]
mov dword [esp], edi
call fcn.00405420
jmp 0x40b9f4
mov eax, dword [esp + 0x70]
xor ecx, ecx
mov edx, ebx
mov dword [esp], 0
call fcn.00405420
test eax, eax
je 0x40bb39
jmp 0x40b9f4
cmp dword [esi + 0x48], 1
jle 0x40bb39
lea ebp, [esp + 0x1cd8]
mov dword [esp + 0x58], ebp
jmp 0x40b9f4
lea edi, [esp + 0x1cd8]
mov dword [esp + 0x58], edi
jmp 0x40b9f4
mov edx, dword [0x14d5044]
test edx, edx
jle 0x409771
xor esi, esi
xor ebx, ebx
jmp 0x40bd62
add ebx, 1
add esi, 0x58
cmp ebx, edx
jge 0x409771
mov eax, dword [0x14d5040]
add eax, esi
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x40bd54
mov eax, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp], eax
call fcn.010972c0
mov edx, dword [0x14d5044]
jmp 0x40bd54
mov byte [esp + edi + 0xd8], al
add edi, 1
jmp 0x40af89
mov dword [0x14d50c0], ebx
mov dword [0x14d50c4], esi
mov dword [esp + 0x58], 0xffffffff
jmp 0x40ae92
mov edx, dword [esp + 0xa0]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x68], edx
mov dword [esp + 0x60], ecx
jmp 0x40b833
cmp dword [0x14d5084], 0
mov dword [edi + 4], 1
jne 0x40b923
jmp 0x40ae2f
mov dword [esp], 0xfffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push edx
mov dword [0x14d50d8], eax
mov dword [esp + 4], ebp
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
test eax, eax
sete al
push ecx
movzx eax, al
push ecx
mov dword [0x14d50dc], eax
jmp 0x40af96
or eax, 0xffffffff
jmp 0x40af6c
mov eax, dword [esp + 0x1e20]
mov ecx, dword [esp + 0x60]
add dword [esp + 0xb0], 1
mov byte [eax + ecx], 1
jmp 0x40ae2f
mov ebp, dword [esp + 0x1e60]
mov eax, dword [esp + 0x1e20]
mov dword [esp + 4], 0
mov dword [esp + 8], ebp
mov dword [esp], eax
call sub.msvcrt.dll_memset
mov dword [esp], 0x2710
call fcn.01088650
mov dword [esp + 0xb0], 0
jmp 0x40ae2f
mov dword [esp + 8], str.__copy_
mov dword [esp + 4], 0x20
mov dword [esp], 0
call fcn.00acfa00
jmp 0x40ada6
mov dword [esp + 8], str.__ch:
mov dword [esp + 4], 0x20
mov dword [esp], 0
call fcn.00acfa00
cmp dword [ebx + 0x1d4], 0
jle 0x40bf18
xor ebp, ebp
jmp 0x40beee
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x110387a
mov dword [esp + 4], 0x20
mov dword [esp], 0
call fcn.00acfa00
add ebp, 1
cmp ebp, dword [ebx + 0x1d4]
jge 0x40bf18
mov eax, dword [ebx + ebp*4 + 0x194]
cmp eax, 0xffffffff
jne 0x40bec3
mov dword [esp + 8], 0x1103877
mov dword [esp + 4], 0x20
mov dword [esp], 0
call fcn.00acfa00
jmp 0x40bee3
mov dword [esp + 8], 0x110387e
mov dword [esp + 4], 0x20
mov dword [esp], 0
call fcn.00acfa00
jmp 0x40ad13
cmp eax, 0x1869f
jbe 0x40bda1
jmp 0x40ae7d
cmp dword [0x14d50d8], 0
je 0x40c5e5
mov eax, dword [sym.imp.msvcrt.dll__iob]
cmp dword [eax + 4], 0
jg 0x40c464
cmp dword [0x14d50dc], 0
je 0x40c406
lea eax, [esp + 0x1e3c]
mov dword [esp + 0x10], eax
mov eax, dword [0x14d50d8]
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
sub esp, 0x18
test eax, eax
mov dword [esp + 0x58], 0xffffffff
je 0x40bfef
cmp dword [esp + 0x1e3c], 0
je 0x40bfef
lea eax, [esp + 0x1e30]
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov dword [esp], 0
call sub.msvcrt.dll__read
movzx eax, byte [esp + 0x1e30]
mov dword [esp + 0x58], eax
cmp dword [esp + 0x58], 0x71
mov dword [0x14d50c0], ebx
mov dword [0x14d50c4], esi
je 0x40b923
cmp dword [esp + 0x58], 0x2b
jne 0x40c807
call fcn.00acfa60
add eax, 0xa
mov dword [esp], eax
call fcn.00acfa70
jmp 0x40b050
xor edx, edx
test eax, eax
mov byte [esp + edi + 0xd8], 0
jle 0x40b025
jmp 0x40afd7
cmp dword [esp + 0x58], 0x64
je 0x40b05e
jmp 0x40b130
lea ebp, [esp + 0x1e24]
mov dword [esp + 4], ebp
mov dword [esp], 0x11039df
call sub.msvcrt.dll_scanf
sub eax, 1
je 0x40b09e
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x1a
mov dword [esp + 4], 1
mov dword [esp], str.error_parsing_debug_value_n
add eax, 0x40
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
jmp 0x40b09e
mov dword [esp], 0x30
call fcn.00acfa70
jmp 0x40b10d
mov eax, dword [esp + 0x84]
shl eax, 2
mov dword [esp], eax
call fcn.00ad00c0
test eax, eax
mov dword [esp + 0x1e34], eax
je 0x40c63c
cmp dword [esp + 0x84], 0
jle 0x40c0f9
mov edx, dword [esp + 0x74]
xor eax, eax
mov esi, dword [esp + 0x84]
mov ebx, dword [edx]
add edx, 0x28
mov ecx, dword [esp + 0x1e34]
mov dword [ecx + eax*4], ebx
add eax, 1
cmp eax, esi
jne 0x40c0e3
mov edx, dword [esp + 0x84]
lea ebx, [esp + 0x10d8]
mov eax, dword [esp + 0x1e34]
mov dword [esp + 0xc], 0x800
mov dword [esp + 8], ebx
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0047f8a0
mov dword [esp + 4], ebx
mov dword [esp], 0x11038a7
call sub.msvcrt.dll_printf
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x20
mov dword [esp], eax
call sub.msvcrt.dll_fflush
lea eax, [esp + 0x1e34]
mov dword [esp], eax
call fcn.00ad0270
jmp 0x40ade1
test eax, 0x6040
je 0x40b09e
add eax, eax
test eax, 0x6040
jne 0x40c165
mov dword [esp + 0x1e24], eax
jmp 0x40b09e
mov eax, dword [ebp + 0x18]
mov edx, dword [esp + 0x1cf0]
mov eax, dword [eax + edx*4]
mov edx, dword [esp + 0x80]
mov dword [esp + 4], 0x30
mov dword [esp], 0
mov dword [esp + 0x10], eax
mov eax, dword [0x14d5074]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
call fcn.0047d410
jmp 0x40b2d1
lea eax, [esp + 0x18d8]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x11038a3
mov dword [esp + 4], 0x10
mov dword [esp], 0
call fcn.00acfa00
jmp 0x409771
mov dword [esp + 8], eax
mov edx, dword [ebx + 0x174]
mov eax, dword [ebx + 0x170]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00ad6900
mov edx, eax
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax + 0x2c]
lea edx, [eax + edx*8]
mov eax, dword [edx]
mov edx, dword [edx + 4]
mov dword [ebx + 0x170], eax
mov dword [ebx + 0x174], edx
jmp 0x409986
mov eax, dword [ebx + 4]
mov ebp, 1
mov dword [esp + 0x10], eax
mov eax, dword [ebx]
mov dword [esp + 8], str.Error_while_opening_encoder_for_output_stream__d:_d___maybe_incorrect_parameters_such_as_bit_rate__rate__width_or_height
mov dword [esp + 4], 0x400
mov dword [esp + 0xc], eax
lea eax, [esp + 0x18d8]
mov dword [esp], eax
call fcn.01088520
mov dword [esp + 0xa4], 0xffffffea
jmp 0x40abf8
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x78]
mov dword [esp + 8], str.Requested_sampling_rate_unsupported_using_closest_supported___d__n
mov dword [esp + 4], 0x18
mov dword [esp + 0xc], eax
mov eax, dword [edx + 8]
mov dword [esp], eax
call fcn.00acfa00
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebx + 0x2c]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x80], edx
mov ecx, dword [ecx + 8]
mov dword [esp + 0x8c], ecx
jmp 0x40a43f
mov ecx, dword [eax + 0x130]
mov ebx, dword [eax + 0x134]
mov edx, dword [esp + 0x78]
mov dword [edx + 0x130], ecx
mov dword [edx + 0x134], ebx
jmp 0x40a65d
lea eax, [esp + 0x18d8]
fld qword [esp + 0x1e18]
xor ebp, ebp
lea edx, [esp + 0x10d8]
xor edi, edi
lea ecx, [esp + 0x1dd8]
mov dword [esp + 0x1c], eax
fstp qword [esp + 0x10]
mov dword [esp + 0x18], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], str.Processing_command_target:_s_time:_f_command:_s_arg:_s
mov dword [esp + 4], 0x30
mov dword [esp], 0
call fcn.00acfa00
jmp 0x40c3a2
fstp st(0)
xor eax, eax
cmp dword [esp + 0x58], 0x63
lea ecx, [esp + 0x18d8]
mov dword [esp + 0xc], ecx
lea ecx, [esp + 0x1dd8]
sete al
mov dword [esp + 0x18], eax
lea eax, [esp + 0xd8]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10d8]
mov dword [esp], edx
mov dword [esp + 0x14], 0x1000
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
call fcn.0041c220
lea edx, [esp + 0xd8]
mov dword [esp + 0x10], edx
mov dword [esp + 8], edi
mov dword [esp + 4], str.Command_reply_for_stream__d:_ret:_d_res:_s_n
mov dword [esp + 0xc], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
add edi, 1
add ebp, 0x228
cmp edi, dword [0x14d5034]
jge 0x40b050
mov eax, dword [0x14d5030]
mov edx, dword [eax + ebp + 0x204]
test edx, edx
je 0x40c399
fld qword [esp + 0x1e18]
fldz
fucompi st(1)
ja 0x40c322
lea ecx, [esp + 0x18d8]
mov dword [esp + 0xc], ecx
lea eax, [esp + 0x10d8]
lea ecx, [esp + 0x1dd8]
fstp qword [esp + 0x14]
mov dword [esp + 0x10], 0
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call fcn.0041c3b0
jmp 0x40c399
call sub.msvcrt.dll__kbhit
test eax, eax
lea esi, [esi]
je 0x40bd95
call sub.msvcrt.dll__getch
mov dword [esp + 0x58], eax
nop
jmp 0x40bfef
mov eax, dword [esi + 8]
test byte [eax + 0x29], 4
jne 0x4099ee
mov dword [esp + 8], str.Frame_rate_very_high_for_a_muxer_not_effciciently_supporting_it._nPlease_consider_specifiying_a_lower_framerate__a_different_muxer_or__vsync_2_n
mov dword [esp + 4], 0x18
mov dword [esp], esi
call fcn.00acfa00
jmp 0x4099ee
mov ebp, 1
mov dword [esp + 0xa4], 0xfffffff4
jmp 0x40abf8
lea eax, [esp + 0x1e34]
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov dword [esp], 0
call sub.msvcrt.dll__read
movzx eax, byte [esp + 0x1e34]
mov dword [esp + 0x58], eax
jmp 0x40bfef
mov dword [esi + 0x40], eax
mov dword [esp], eax
call fcn.00ad5d70
mov ecx, eax
mov dword [esi + 0x33c], edx
or edx, ecx
mov dword [esi + 0x338], eax
je 0x40c7c9
mov eax, dword [ebx + 0x1d4]
jmp 0x40a6c1
mov dword [esp + 0xa4], 0xfffffff4
jmp 0x409771
mov edi, dword [esp + 0x78]
mov dword [edi + 0x130], 0
mov dword [edi + 0x134], 1
jmp 0x40a65d
lea eax, [esp + 0x18d8]
mov dword [esp + 0xc], edi
mov dword [esp + 8], str.Could_not_write_header_for_output_file__d__incorrect_codec_parameters___
mov dword [esp + 4], 0x400
mov dword [esp], eax
call fcn.01088520
mov dword [esp + 0xa4], 0xffffffea
jmp 0x40ac02
fstp st(0)
mov edx, dword [eax + 0x24]
mov eax, dword [eax + 0x20]
mov dword [esi + 0x134], edx
mov dword [esi + 0x130], eax
jmp 0x409e0d
mov eax, dword [0x10d2020]
mov dword [esp], eax
call fcn.00ad00c0
test eax, eax
mov dword [0x14d50c8], eax
je 0x40c823
mov eax, dword [0x14d5034]
jmp 0x409edc
mov esi, dword [esp + 0x78]
mov eax, dword [esi + 4]
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov eax, dword [esi]
mov dword [esp + 8], str.Error_while_decoding_stream__d:_d_n
mov dword [esp + 4], 0x10
mov dword [esp], 0
mov dword [esp + 0xc], eax
call fcn.00acfa00
cmp dword [0x14d5088], 0
jne 0x40c63c
mov edi, dword [esp + 0x80]
mov dword [esp], edi
call fcn.0053dc10
mov dword [esp + 0xb0], 0
jmp 0x40ae2f
mov edi, dword [esp + 0x78]
add edx, 1
adc ecx, 0
cmp ecx, dword [edi + 0x34]
jg 0x40b726
jl 0x40b5e0
cmp edx, dword [edi + 0x30]
jae 0x40b726
lea esi, [esi]
jmp 0x40b5e0
mov dword [esp], 0xfffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push edx
lea edx, [esp + 0x1e38]
mov dword [0x14d50d8], eax
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
test eax, eax
sete al
push ecx
movzx eax, al
push ecx
mov dword [0x14d50dc], eax
jmp 0x40bf56
mov dword [esp + 8], str.Video_encoding_failed_n
mov dword [esp + 4], 8
mov dword [esp], 0
call fcn.00acfa00
mov dword [esp], 1
call fcn.00403a40
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov eax, dword [ebx]
mov dword [esp + 8], str.Error_while_opening_decoder_for_input_stream__d:_d
mov dword [esp + 4], 0x400
mov dword [esp + 0xc], eax
lea eax, [esp + 0x18d8]
mov dword [esp], eax
call fcn.01088520
mov ebp, 1
mov dword [esp + 0xa4], 0xffffffea
jmp 0x40abf8
mov edx, dword [esp + 0x70]
fild dword [edx + 0x38]
fild dword [edx + 0x3c]
fdivp st(1)
fstp qword [esp + 0xc8]
fld qword [esp + 0xc8]
fild dword [ebp + 0x20]
fild dword [ebp + 0x24]
fdivp st(1)
fstp qword [esp + 0xc8]
fld qword [esp + 0xc8]
fild dword [ebp + 0x354]
fmulp st(1)
fucompi st(1)
jbe 0x40a1ed
fld xword [0x1106050]
fucompi st(1)
fstp st(0)
ja 0x40a311
jmp 0x40a1f0
mov dword [esp + 8], str._acodec_copy_and__vol_are_incompatible__frames_are_not_decoded__n
mov dword [esp + 4], 8
mov dword [esp], 0
call fcn.00acfa00
jmp 0x40c63c
cmp dword [esp + 0x58], 0x63
je 0x40ae9d
jmp 0x40b050
lea esi, [esp + 0x10d8]
mov dword [esp + 0xc], esi
mov dword [esp + 8], str.Error_reading_log_file__s_for_pass_2_encoding_n
mov dword [esp + 4], 8
mov dword [esp], 0
call fcn.00acfa00
jmp 0x40c63c
call dword [sym.imp.msvcrt.dll__errno]
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_strerror
mov dword [esp + 8], str.Cannot_write_log_file__s_for_pass_1_encoding:__s_n
mov dword [esp + 4], 8
mov dword [esp], 0
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10d8]
mov dword [esp + 0xc], eax
call fcn.00acfa00
mov dword [esp], 1
call fcn.00403a40
mov eax, dword [ebx + 4]
mov ebx, dword [ebx]
mov esi, dword [eax]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xd4]
mov dword [esp], eax
call fcn.00537f70
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
mov dword [esp + 8], str.Decoder__codec__s__not_found_for_input_stream__d:_d
mov dword [esp + 4], 0x400
mov dword [esp + 0xc], eax
lea eax, [esp + 0x18d8]
mov dword [esp], eax
call fcn.01088520
jmp 0x40c673
mov dword [esp + 8], str.Unable_to_find_an_appropriate_channel_layout_for_requested_number_of_channel_n
mov dword [esp + 4], 8
mov dword [esp], 0
call fcn.00acfa00
jmp 0x40c63c
mov dword [esp + 8], str.Video_pixel_format_is_unknown__stream_cannot_be_encoded_n
jmp 0x40c7d1
mov eax, dword [eax]
mov dword [esp + 8], str.Option__s_not_found._n
mov dword [esp + 0xc], eax
jmp 0x40c721
cmp dword [esp + 0x58], 0x2d
jne 0x40c858
call fcn.00acfa60
sub eax, 0xa
mov dword [esp], eax
call fcn.00acfa70
jmp 0x40b160
mov eax, dword [0x10d2020]
mov dword [esp + 8], str.Cannot_allocate__d_bytes_output_buffer_n
mov dword [esp + 4], 0x10
mov dword [esp], 0
mov dword [esp + 0xc], eax
call fcn.00acfa00
mov dword [esp + 0xa4], 0xfffffff4
jmp 0x409771
cmp dword [esp + 0x58], 0x73
jne 0x40c86b
xor dword [0x14d50a4], 1
jmp 0x40b050
cmp dword [esp + 0x58], 0x68
jne 0x40ae92
cmp dword [0x14d5074], 0
je 0x40c8a4
mov dword [0x14d5070], 0
mov dword [0x14d5074], 0
mov dword [esp], 0x30
call fcn.00acfa70
jmp 0x40b050
cmp dword [0x14d5070], 0
je 0x40c8b9
mov dword [0x14d5074], 1
jmp 0x40c893
mov dword [0x14d5070], 1
jmp 0x40c893