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

Disassembly:
push ebp
push edi
push esi
push ebx
push eax
mov eax, 0x1e48
call fcn.00de3400
sub esp, eax
mov eax, dword [esp + 0x1e48]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], ecx
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x1e60]
mov dword [esp], eax
call fcn.00aa0290
test eax, eax
mov dword [esp + 0x1e20], eax
je 0x40b702
mov eax, dword [esp + 0x1e60]
xor ebp, ebp
mov edi, dword [esp + 0x80]
test eax, eax
jle 0x408d43
lea esi, [esi]
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x408d34
mov eax, dword [edi + 0x18]
test eax, eax
jle 0x408d34
xor esi, esi
mov eax, dword [edi + 8]
add eax, esi
add esi, 1
lea ebx, [eax + eax*4]
shl ebx, 4
add ebx, dword [0x131b038]
call fcn.004746c0
cmp esi, dword [edi + 0x18]
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], edx
jl 0x408d10
add ebp, 1
add edi, 0x20
cmp ebp, dword [esp + 0x1e60]
jne 0x408d00
mov eax, dword [esp + 0x7c]
test eax, eax
jle 0x408d75
mov eax, dword [esp + 0x74]
xor ebx, ebx
mov esi, dword [esp + 0x7c]
mov edx, dword [eax]
mov ebp, dword [edx + 0x14]
test ebp, ebp
jne 0x408d6b
mov ecx, dword [edx + 8]
test byte [ecx + 0x29], 0x10
je 0x409a1e
add ebx, 1
add eax, 0x28
cmp ebx, esi
jne 0x408d55
mov edx, dword [0x131b068]
test edx, edx
jle 0x409554
mov dword [esp + 0x58], 0
jmp 0x408d9f
add dword [esp + 0x58], 1
cmp dword [esp + 0x58], edx
jge 0x409554
imul ebx, dword [esp + 0x58], 0x228
add ebx, dword [0x131b048]
mov ecx, dword [esp + 0x74]
mov eax, dword [ebx]
mov edi, dword [ebx + 0x21c]
lea eax, [eax + eax*4]
test edi, edi
mov esi, dword [ecx + eax*8]
mov ecx, dword [0x131b038]
mov eax, dword [ebx + 8]
jne 0x408d90
lea eax, [eax + eax*4]
shl eax, 4
add eax, ecx
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x68]
mov eax, dword [ebx + 0xc]
mov edx, dword [ecx + 4]
mov edi, dword [eax + 8]
mov ebp, dword [edx + 8]
mov edx, dword [edx + 0x98]
mov dword [esp + 0x50], edi
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 0x408f43
mov edx, dword [ebp + 0x1c]
mov ecx, edx
sar ecx, 0x1f
add edx, 0x10
adc ecx, 0
cmp ecx, 0
ja 0x408e3d
cmp edx, 0x7fffffff
jbe 0x4097a3
mov dword [esp + 0x78], 0xffffffea
mov dword [esp], 0x131b0d0
call fcn.00aa0260
lea eax, [esp + 0x1e20]
mov dword [esp], eax
call fcn.00aa0260
cmp dword [0x131b048], 0
je 0x409937
cmp dword [0x131b068], 0
jle 0x409937
xor esi, esi
xor edi, edi
jmp 0x408f15
mov eax, dword [ebx + 0x1ec]
test eax, eax
je 0x408e9f
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.00aa4980
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 8]
add eax, 0x3a0
mov dword [esp], eax
call fcn.00aa0260
mov eax, dword [ebx + 0x40]
mov dword [esp], eax
call fcn.00aa0240
mov eax, dword [ebx + 0x184]
mov dword [esp], eax
call fcn.00aa0240
mov eax, dword [ebx + 0x38]
test eax, eax
jne 0x409790
lea eax, [ebx + 0x1f0]
add ebx, 0x210
mov dword [esp], eax
call fcn.00a5fbd0
mov dword [esp], ebx
call fcn.00aa14b0
add edi, 1
add esi, 0x228
cmp dword [0x131b068], edi
jle 0x409937
mov ebx, esi
add ebx, dword [0x131b048]
je 0x408f00
mov edx, dword [ebx + 0x218]
test edx, edx
je 0x408e83
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 8]
add eax, 0x18
mov dword [esp], eax
call fcn.00aa0260
jmp 0x408e83
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x40b6c6
mov edx, dword [esp + 0x50]
mov edi, dword [esp + 0x68]
mov eax, dword [edx + 0xd0]
mov dword [edi + 0xc], 1
mov dword [ebx + 0x10], 1
cmp eax, 1
je 0x409a6e
cmp eax, 3
je 0x4094f2
test eax, eax
jne case.default.0x40994c
mov edx, dword [esp + 0x50]
cmp dword [edx + 0x34], 0xffffffff
je 0x409dac
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x2c]
add eax, 8
call fcn.00401f40
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 8]
cmp dword [eax + 0x34], 0xffffffff
je 0x40bbf3
mov ecx, dword [esp + 0x50]
cmp dword [ecx + 0x28], 0
jne 0x409d27
mov eax, dword [ebp + 0x28]
mov edi, dword [esp + 0x50]
mov dword [edi + 0x28], eax
mov eax, dword [ebp + 0x2c]
mov dword [edi + 0x2c], eax
mov ecx, dword [esp + 0x50]
mov edx, dword [ebp + 0x28]
cmp dword [ecx + 0x28], edx
je 0x409ed2
mov eax, dword [0x131b094]
mov ecx, dword [esp + 0x50]
mov dword [ebx + 0x38], 1
mov dword [ecx + 0x330], eax
mov eax, dword [ebp + 0x2c]
cmp dword [ebx + 0x170], 0
mov dword [ebx + 0x168], edx
mov dword [ebx + 0x164], eax
mov eax, dword [ebp + 0x34]
mov dword [ebx + 0x16c], eax
jne 0x409038
mov edi, dword [esp + 0x68]
mov eax, dword [edi + 4]
cmp dword [eax + 0xc], 0
je 0x409ef3
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 0x409053
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x409053
cmp dword [ebx + 0x178], 0
je 0x40ba7a
mov edx, dword [ebx + 0x174]
mov eax, dword [ebx + 0x170]
mov ecx, dword [esp + 0x50]
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 [0xe6ceb0]
fucompi st(1)
fstp st(0)
jbe 0x4090bb
mov eax, dword [0xe45004]
test eax, eax
je 0x4090bb
cmp eax, 1
je 0x40be9f
test eax, eax
js 0x40be92
mov ebp, dword [ebx + 0x188]
test ebp, ebp
jle 0x409118
mov edi, dword [ebx + 0x184]
xor esi, esi
mov dword [esp + 0x70], ebx
mov ebx, dword [esp + 0x50]
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.00aa0950
mov dword [edi + esi*8], eax
mov dword [edi + esi*8 + 4], edx
add esi, 1
cmp esi, ebp
jne 0x4090d5
mov ebx, dword [esp + 0x70]
mov eax, dword [ebx + 0xc]
mov edi, dword [esp + 0x68]
mov esi, dword [eax + 8]
mov eax, dword [edi + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x70], eax
mov eax, dword [esi + 0x34]
mov dword [esp + 0x1ddc], 0xffffffff
mov dword [esp + 0x1dd8], eax
call fcn.004166f0
mov dword [esp + 0x1e2c], eax
call fcn.00416c20
mov dword [ebx + 0x204], eax
mov eax, dword [edi + 4]
mov edx, dword [eax + 0x130]
test edx, edx
je 0x409ebe
mov ecx, dword [eax + 0x134]
mov eax, dword [eax + 8]
mov dword [esp + 0x24], ecx
lea edi, [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], edi
mov dword [esp + 0xc], eax
call fcn.00de3840
mov ebp, dword [ebx + 0x204]
mov dword [esp], 0xe6a378
call fcn.00415ad0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], ebp
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0xe6a37f
mov dword [esp + 4], eax
lea eax, [ebx + 0x1f8]
mov dword [esp], eax
call fcn.00416cf0
test eax, eax
js 0x409e96
mov ebp, dword [ebx + 0x204]
mov dword [esp], 0xe6a383
call fcn.00415ad0
lea edx, [esp + 0x1dd8]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebp
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xe6a38e
mov dword [esp + 4], eax
lea eax, [ebx + 0x1f4]
mov dword [esp], eax
call fcn.00416cf0
mov ebp, eax
lea eax, [esp + 0x1e2c]
mov dword [esp], eax
call fcn.00aa0260
test ebp, ebp
js 0x409e96
mov edx, dword [esp + 0x70]
mov eax, dword [esi + 0x28]
mov ebp, dword [ebx + 0x1f8]
cmp eax, dword [edx + 0x28]
jne 0x40927c
mov ecx, dword [edx + 0x2c]
cmp dword [esi + 0x2c], ecx
je 0x409328
mov edx, dword [ebx + 0x208]
mov dword [esp + 0x14], edx
mov edx, dword [esi + 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], edi
call fcn.00de3840
mov edx, dword [ebx + 0x204]
mov dword [esp], 0xe6a3a3
mov dword [esp + 0x48], edx
call fcn.00415ad0
mov edx, dword [esp + 0x48]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edi
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.00416cf0
test eax, eax
js 0x409e96
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.004141c0
test eax, eax
js 0x409e96
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], edi
mov dword [esp + 0xc], eax
call fcn.00de3840
mov edx, dword [ebx + 0x204]
mov dword [esp], edi
mov dword [esp + 0x48], edx
call fcn.00aa0350
mov edx, dword [esp + 0x48]
cmp dword [ebx + 0x200], 0
mov dword [edx + 8], eax
je 0x409e6c
call fcn.00417ce0
mov dword [esp + 0x1e30], eax
call fcn.00417ce0
mov edi, dword [esp + 0x1e30]
mov dword [esp], 0xe6a3b4
mov dword [esp + 0x1e34], eax
call fcn.00aa0350
mov dword [edi], eax
mov eax, dword [esp + 0x1e30]
mov dword [eax + 4], ebp
mov dword [eax + 0xc], 0
mov edi, dword [esp + 0x1e34]
mov dword [eax + 8], 0
mov dword [esp], 0xe6a38e
call fcn.00aa0350
mov edx, dword [ebx + 0x1f4]
mov dword [edi], 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.00417d40
test eax, eax
js 0x409e96
lea eax, [ebx + 0x200]
mov dword [esp], eax
call fcn.00aa0260
mov dword [esp + 4], 0
mov eax, dword [ebx + 0x204]
mov dword [esp], eax
call fcn.00417390
test eax, eax
js 0x409e96
mov eax, dword [ebx + 0x1f4]
fld dword [ebx + 0x180]
fldz
fxch st(1)
mov edi, 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 [esi + 0x28], ecx
mov dword [esi + 0x2c], edx
jp 0x409482
je 0x40bab5
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.00aa5c20
mov dword [edi + 0x130], eax
mov dword [edi + 0x134], edx
mov eax, dword [edi + 0x130]
mov edx, dword [edi + 0x134]
mov dword [esi + 0x17c], eax
mov dword [esi + 0x180], edx
mov esi, dword [esp + 0x50]
cmp dword [esi + 0xd4], 0x1c
je case.0x40994c.2
test dword [esi + 0xc], 0x600
jne 0x409711
mov ecx, dword [esp + 0x50]
mov eax, dword [ecx + 0xd0]
test eax, eax
jne 0x40953f
mov eax, dword [ecx + 0x28]
imul eax, dword [ecx + 0x2c]
lea edx, [eax*8]
sub edx, eax
mov eax, dword [0xe45020]
add edx, 0x2710
cmp edx, eax
cmovge eax, edx
mov dword [0xe45020], eax
mov edx, dword [0x131b068]
add dword [esp + 0x58], 1
cmp dword [esp + 0x58], edx
jl 0x408d9f
cmp dword [0x131b0d0], 0
je 0x40ba12
test edx, edx
jle 0x40b436
xor esi, esi
xor edi, edi
jmp 0x4095c0
mov eax, dword [ecx + 0x1c]
mov ebp, dword [ecx + 0x258]
mov edx, eax
sar edx, 0x1f
add dword [0x131b0d8], eax
adc dword [0x131b0dc], edx
test ebp, ebp
je 0x4095a9
mov eax, dword [ebx + 8]
lea eax, [eax + eax*4]
shl eax, 4
add eax, dword [0x131b038]
mov eax, dword [eax + 4]
mov eax, dword [eax + 8]
or dword [eax + 0x188], 0x20
mov edx, dword [0x131b068]
add edi, 1
add esi, 0x228
cmp edi, edx
jge 0x40b436
mov ebx, dword [0x131b048]
add ebx, esi
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x4095af
mov eax, dword [ebx + 8]
mov edx, dword [ebx + 0x2c]
lea eax, [eax + eax*4]
shl eax, 4
add eax, dword [0x131b038]
test edx, edx
mov dword [esp + 0x58], edx
mov eax, dword [eax + 4]
mov ebp, dword [eax + 8]
je 0x409f0c
mov eax, dword [ebp + 0x3a0]
test eax, eax
mov eax, dword [ebx + 0xc]
je 0x409a66
mov edx, dword [eax + 8]
mov eax, dword [ebp + 0x3a4]
mov dword [esp + 0x48], edx
mov dword [esp], eax
call fcn.00aa00b0
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 0x40bb79
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
mov ecx, dword [esp + 0x58]
lea edx, [ebx + 0x210]
mov dword [esp + 8], edx
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0052cc20
test eax, eax
js 0x40bb38
mov eax, dword [ebx + 0xc]
mov ecx, 1
mov eax, dword [eax + 8]
lea edx, [eax + 0xe8]
add eax, 0x78
call fcn.00404a60
mov dword [esp + 0xc], 2
mov dword [esp + 8], 0
mov dword [esp + 4], 0xe69199
mov eax, dword [ebx + 0x210]
mov dword [esp], eax
call fcn.00aa1140
test eax, eax
jne 0x40b6e0
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 4]
cmp eax, 0x3e7
jg 0x40956f
test eax, eax
je 0x40956f
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.00aa0010
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax + 8]
jmp 0x40956f
mov eax, dword [0x131b0bc]
mov edx, str.ffmpeg2pass
mov edi, 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], edi
mov dword [esp], eax
call fcn.00de3840
mov eax, dword [esi + 0xc]
test ah, 4
jne 0x409d66
test ah, 2
je case.0x40994c.2
lea eax, [esp + 0x10d8]
mov dword [esp + 4], 0xe6a40d
mov dword [esp], eax
call sub.msvcrt.dll_fopen
test eax, eax
je 0x40bdf7
mov dword [ebx + 0x1ec], eax
jmp case.0x40994c.2
mov eax, dword [ebx + 0x160]
mov dword [esp], eax
call fcn.00a68fe0
jmp 0x408ee4
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 0x409829
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x34]
test eax, eax
je 0x409819
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.0046f630
mov edi, dword [esp + 0x50]
mov edx, dword [esp + 0x48]
cmp eax, dword [edi + 0xd4]
je 0x409819
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.0046f5c0
mov edx, dword [esp + 0x48]
test eax, eax
jne 0x409829
mov eax, dword [ebp + 0xd8]
mov edi, dword [esp + 0x50]
mov dword [edi + 0xd8], eax
mov edi, dword [esp + 0x50]
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 dword [esp], edx
call fcn.00aa0290
test eax, eax
mov dword [edi + 0x18], eax
je 0x40bb2b
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 eax, dword [eax + 4]
mov ecx, eax
mov dword [esp + 0x78], eax
mov eax, dword [eax + 0x38]
mov edx, dword [ecx + 0x3c]
mov ecx, 4
mov dword [edi + 0x20], eax
mov eax, dword [esi + 8]
mov dword [edi + 0x24], edx
mov edi, 0xe6a1a1
mov esi, dword [eax]
mov dword [esp + 0x70], esi
repe cmpsb byte [esi], byte es:[edi]
jne 0x409953
cmp dword [0xe4500c], 0
jl 0x409dc2
jne 0x4098e1
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 0x24]
mov esi, dword [esp + 0x50]
mov eax, ecx
imul eax, dword [ebp + 0x354]
mov dword [esi + 0x24], edx
shl dword [esi + 0x24], 1
mov dword [esi + 0x20], eax
jmp 0x4098e1
fstp st(0)
jmp 0x4098e1
fstp st(0)
mov edi, dword [esp + 0x50]
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.00aa5440
cmp dword [edi + 0xd0], 4
jbe 0x409946
call sub.msvcrt.dll_abort
mov eax, dword [esp + 0x78]
add esp, 0x1e4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [edi + 0xd0]
jmp dword [eax*4 + 0xe6a980]
test byte [eax + 0x29], 4
jne 0x4098e1
mov esi, dword [esp + 0x70]
mov dword [esp + 4], 0xe6a1a5
mov dword [esp], esi
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x4098e1
mov dword [esp + 4], 0xe6a1a9
mov dword [esp], esi
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x4098e1
mov dword [esp + 4], 0xe6a1ad
mov dword [esp], esi
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x4098e1
mov dword [esp + 4], 0xe6a1b1
mov dword [esp], esi
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x4098e1
mov dword [esp + 4], 0xe6a1b5
mov dword [esp], esi
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x4098e1
mov dword [esp + 4], 0xe6a1b9
mov dword [esp], esi
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x4098e1
cmp dword [0xe4500c], 0
jl 0x40be3d
jne 0x4098e1
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 0x24]
mov esi, dword [esp + 0x50]
mov eax, ecx
imul eax, dword [ebp + 0x354]
mov dword [esi + 0x24], edx
mov dword [esi + 0x20], eax
jmp 0x4098e1
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.004740b0
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.00aa0010
mov dword [esp + 0x78], 0xffffffea
jmp 0x408e45
mov eax, dword [eax + 8]
jmp 0x409665
mov dword [esp], 0x400
call fcn.00aa4910
test eax, eax
mov dword [ebx + 0x1e8], eax
je 0x40bb2b
mov ecx, dword [esp + 0x50]
cmp dword [ecx + 0x3c], 0
je 0x409d1c
mov edx, dword [ebx + 0x2c]
mov esi, dword [ebx + 0xc]
test edx, edx
mov dword [esp + 0x78], edx
mov dword [esp + 0x90], esi
je 0x409b28
mov ecx, dword [edx + 0x38]
test ecx, ecx
je 0x409b28
mov edi, dword [ecx]
test edi, edi
mov dword [esp + 0x68], edi
je 0x40ba37
mov eax, dword [esi + 8]
mov dword [esp + 0x68], 0
mov dword [esp + 0x70], 0x7fffffff
mov edx, dword [eax + 0x3c]
mov dword [esp + 0x88], eax
mov dword [esp + 0x84], edx
mov edx, edi
mov eax, dword [esp + 0x84]
sub eax, edx
mov edi, eax
sar edi, 0x1f
xor eax, edi
sub eax, edi
cmp eax, dword [esp + 0x70]
jge 0x409b06
mov dword [esp + 0x70], eax
mov dword [esp + 0x68], edx
add ecx, 4
mov edx, dword [ecx]
test edx, edx
jne 0x409ae6
cmp dword [esp + 0x70], 0
jne 0x40ba37
mov eax, dword [esp + 0x68]
mov edi, dword [esp + 0x88]
mov dword [edi + 0x3c], eax
mov edx, dword [esp + 0x50]
mov eax, dword [edx + 0x3c]
cmp dword [edx + 0x44], 0xffffffff
mov dword [edx + 0x20], 1
mov dword [edx + 0x24], eax
je 0x409db7
cmp dword [esp + 0x78], 0
je 0x409b82
mov edx, dword [esp + 0x78]
mov eax, dword [edx + 0x3c]
test eax, eax
je 0x409b82
mov edi, dword [eax]
cmp edi, 0xffffffff
je 0x409b76
mov edx, dword [esi + 8]
mov ecx, dword [edx + 0x44]
cmp ecx, edi
jne 0x409b6c
jmp 0x409b82
cmp edx, ecx
je 0x409b82
add eax, 4
mov edx, dword [eax]
cmp edx, 0xffffffff
jne 0x409b68
mov edx, dword [esp + 0x78]
lea eax, [esi + 8]
call fcn.00401e60
mov eax, dword [ebx + 0x1d4]
test eax, eax
jne 0x409d37
mov edi, dword [esp + 0x50]
cmp dword [edi + 0x40], 0
jne 0x409bb8
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 + 0x50]
mov eax, dword [ecx + 0x338]
mov edx, dword [ecx + 0x33c]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00aa5350
mov esi, dword [esp + 0x50]
mov esi, dword [esi + 0x40]
cmp eax, esi
mov dword [esp + 0x68], esi
je 0x409bfb
mov edi, dword [esp + 0x50]
mov dword [edi + 0x338], 0
mov dword [edi + 0x33c], 0
mov eax, dword [esp + 0x50]
mov esi, dword [ebp + 0x3c]
mov dword [esp + 0x64], 1
cmp dword [eax + 0x3c], esi
je 0x40b733
mov edi, dword [esp + 0x50]
mov eax, 1
mov ecx, dword [ebp + 0x44]
cmp dword [edi + 0x44], ecx
je 0x40b70e
or eax, dword [esp + 0x64]
mov dword [ebx + 0x190], eax
mov eax, dword [esp + 0x68]
mov dword [ebp + 0x320], eax
mov eax, dword [ebp + 0x40]
mov dword [ebx + 0x1d8], ecx
mov dword [ebx + 0x1e0], esi
mov dword [ebx + 0x1dc], eax
jmp 0x4094f2
cmp dword [0xe4501c], 0x100
jne 0x40bbd2
mov esi, dword [esp + 0x50]
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.0x40994c.2
mov edi, dword [esp + 0x50]
mov eax, dword [ebp + 0x34]
mov esi, dword [ebx + 0xc]
cmp dword [edi + 0x17c], 0
mov dword [edi + 0x34], eax
mov eax, dword [ebp + 0x28]
mov dword [edi + 0x28], eax
mov eax, dword [ebp + 0x2c]
mov dword [edi + 0x2c], eax
mov eax, dword [ebp + 0xfc]
mov dword [edi + 0xfc], eax
je 0x409e1f
mov edx, dword [esp + 0x68]
mov eax, dword [edx + 4]
mov edx, dword [eax + 0x1a4]
mov eax, dword [eax + 0x1a0]
mov dword [esi + 0x1a4], edx
mov dword [esi + 0x1a0], eax
jmp case.0x40994c.2
mov eax, dword [ebp + 0x28]
mov edx, dword [esp + 0x50]
mov dword [edx + 0x28], eax
mov eax, dword [ebp + 0x2c]
mov dword [edx + 0x2c], eax
jmp case.0x40994c.2
mov eax, dword [ebp + 0x3c]
mov dword [ecx + 0x3c], eax
jmp 0x409a96
mov eax, dword [ecx + 0x2c]
test eax, eax
jne 0x408fce
jmp 0x408fbe
mov ecx, dword [esp + 0x50]
cmp dword [ecx + 0x40], 0
je 0x40b748
cmp eax, 0xf
ja 0x409bb8
mov dword [ebx + eax*4 + 0x194], 0xffffffff
add eax, 1
cmp eax, 0x10
jne 0x409d4e
jmp 0x409bb8
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.00411b60
test eax, eax
js 0x40bddf
mov eax, dword [esp + 0x1e28]
mov edi, dword [esp + 0x50]
mov dword [edi + 0x110], eax
mov eax, dword [edi + 0xc]
jmp 0x409757
mov eax, dword [ebp + 0x34]
mov dword [edx + 0x34], eax
jmp 0x408f92
mov eax, dword [ebp + 0x44]
mov dword [edx + 0x44], eax
jmp 0x409b43
mov edx, dword [esp + 0x78]
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 0x4098db
fld xword [0xe6cea0]
fucompi st(1)
fstp st(0)
ja 0x4098bd
jmp 0x4098e1
mov ecx, dword [esp + 0x68]
mov eax, dword [ecx + 4]
cmp dword [eax + 0x130], 0
je 0x40bace
mov ecx, dword [eax + 0x130]
mov ebx, dword [eax + 0x134]
mov dword [esi + 0x130], ecx
mov dword [esi + 0x134], ebx
mov ecx, dword [esi + 0x130]
mov ebx, dword [esi + 0x134]
mov edi, dword [esp + 0x50]
mov dword [edi + 0x17c], ecx
mov dword [edi + 0x180], ebx
jmp 0x409cea
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.004141c0
test eax, eax
jns 0x409434
mov dword [esp + 8], str.Error_opening_filters__n
mov dword [esp + 4], 8
mov dword [esp], 0
call fcn.00aa0010
mov dword [esp], 1
call sub.msvcrt.dll_exit
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x17c]
mov ecx, dword [eax + 0x180]
jmp 0x409172
cmp dword [ebp + 0x2c], eax
jne 0x408fde
mov edi, dword [ebp + 0x34]
cmp dword [ecx + 0x34], edi
jne 0x408fde
mov dword [ebx + 0x38], 0
jmp 0x408ff4
mov dword [ebx + 0x170], 0x19
mov dword [ebx + 0x174], 1
jmp 0x409038
mov eax, dword [ebx + 0xc]
mov edi, dword [ebx + 4]
mov esi, dword [ebx]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xd4]
mov dword [esp], eax
call fcn.0052df40
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], esi
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.00de3840
mov dword [esp + 0x58], 1
mov dword [esp + 0x78], 0xffffffea
cmp dword [esp + 0x7c], 0
jle 0x409f98
mov esi, dword [esp + 0x74]
xor ebx, ebx
mov edi, dword [esp + 0x7c]
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.004740b0
cmp ebx, edi
jne 0x409f71
mov dword [esp + 8], str.Stream_mapping:_n
mov dword [esp + 4], 0x20
mov dword [esp], 0
call fcn.00aa0010
cmp dword [0x131b068], 0
jle 0x40a11e
xor edi, edi
xor esi, esi
jmp 0x40a009
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.00aa0010
add esi, 1
add edi, 0x228
cmp esi, dword [0x131b068]
jge 0x40a11e
mov ebx, dword [0x131b048]
add ebx, edi
mov eax, dword [ebx + 0x21c]
test eax, eax
jne 0x409fc7
mov edx, dword [ebx + 4]
imul eax, dword [ebx + 8], 0x50
add eax, dword [0x131b038]
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.00aa0010
cmp dword [ebx + 0x1d4], 0
jne 0x40b236
imul edx, dword [ebx + 8], 0x50
mov eax, dword [ebx + 0x18]
add edx, dword [0x131b038]
cmp eax, edx
je 0x40a0a6
mov edx, dword [eax + 4]
mov edx, dword [edx]
mov dword [esp + 0x10], edx
mov eax, dword [eax]
mov dword [esp + 8], str.__sync__d:_d_
mov dword [esp + 4], 0x20
mov dword [esp], 0
mov dword [esp + 0xc], eax
call fcn.00aa0010
cmp dword [ebx + 0x218], 0
jne 0x40b215
mov eax, dword [ebx + 0x2c]
mov edx, 0xe6a172
test eax, eax
je 0x40a0c1
mov edx, dword [eax]
imul eax, dword [ebx + 8], 0x50
add eax, dword [0x131b038]
mov ecx, dword [eax + 0x10]
mov eax, 0xe6a172
test ecx, ecx
je 0x40a0d9
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.00aa0010
mov dword [esp + 8], 0xe69362
mov dword [esp + 4], 0x20
mov dword [esp], 0
call fcn.00aa0010
jmp 0x409ff4
cmp dword [esp + 0x78], 0
jne 0x40b3b4
cmp dword [esp + 0x58], 0
jne 0x40b313
cmp dword [0x131b0c4], 0
jne 0x40a159
mov dword [esp + 8], str.Press__q__to_stop______for_help_n
mov dword [esp + 4], 0x20
mov dword [esp], 0
call fcn.00aa0010
call fcn.004746c0
mov dword [esp + 0x84], 0
mov dword [esp + 0xa8], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 0xac], edx
add eax, 0x40
mov dword [esp + 0xb0], eax
mov eax, dword [0x131b020]
test eax, eax
jne 0x40abb3
call fcn.004746c0
mov ebx, dword [0x131b0c4]
test ebx, ebx
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], edx
jne 0x40a57d
mov eax, dword [0x131b024]
test eax, eax
jne 0x40abb3
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x8c]
sub eax, dword [0x131b0c8]
sbb edx, dword [0x131b0cc]
cmp edx, 0
jl 0x40b0de
jle 0x40b1ff
or ebp, 0xffffffff
cmp dword [0x131b060], 0
je 0x40a3a9
cmp ebp, 0x43
jne 0x40bdd1
lea edi, [esp + 0x18d8]
xor eax, eax
mov ebx, dword [sym.imp.msvcrt.dll__iob]
mov ecx, 0x40
xor esi, esi
mov dword [esp + 0x64], edi
rep stosd dword es:[edi], eax
lea edi, [esp + 0x1e38]
lea eax, [ebx + 0x40]
mov dword [esp + 4], str._nEnter_command:__target___time___command____argument___n
mov dword [esp], eax
call fcn.00401850
jmp 0x40a2df
mov eax, dword [0x131b0e4]
test eax, eax
je 0x40ab87
mov eax, dword [0x131b0e0]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.KERNEL32.dll_PeekNamedPipe
sub esp, 0x18
test eax, eax
je 0x40b18f
mov eax, dword [esp + 0x1e38]
test eax, eax
je 0x40b18f
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 0x40a323
cmp eax, 0xd
je 0x40b41f
cmp esi, 0xffe
ja 0x40b41f
test eax, eax
jg 0x40b0b5
mov eax, dword [0x131b0e0]
test eax, eax
je 0x40b118
mov eax, dword [ebx + 4]
test eax, eax
jle 0x40a23e
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]
cmp eax, 0xa
jne 0x40a2c2
mov byte [esp + esi + 0xd8], 0
lea eax, [esp + 0x1e18]
lea ecx, [esp + 0x18d8]
mov dword [esp + 0xc], eax
lea esi, [esp + 0x10d8]
lea eax, [esp + 0xd8]
lea edi, [esp + 0x1dd8]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], esi
mov dword [esp + 8], edi
mov dword [esp + 4], str._63_____lf__255_____255__n_
mov dword [esp], eax
call sub.msvcrt.dll_sscanf
cmp eax, 2
mov edx, eax
jg 0x40b7c1
lea ecx, [esp + 0xd8]
mov dword [esp + 0x10], ecx
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.00aa0010
jmp 0x40a482
cmp dword [0x131b0e0], 0
je 0x40bd2f
mov ebx, dword [sym.imp.msvcrt.dll__iob]
cmp dword [ebx + 4], 0
jg 0x40b795
cmp dword [0x131b0e4], 0
je 0x40b778
lea eax, [esp + 0x1e3c]
or ebp, 0xffffffff
mov dword [esp + 0x10], eax
mov eax, dword [0x131b0e0]
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 sub.KERNEL32.dll_PeekNamedPipe
sub esp, 0x18
test eax, eax
je 0x40a446
cmp dword [esp + 0x1e3c], 0
je 0x40a446
lea eax, [esp + 0x1e30]
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov dword [esp], 0
call sub.msvcrt.dll__read
movzx ebp, byte [esp + 0x1e30]
mov esi, dword [esp + 0x88]
cmp ebp, 0x71
mov edi, dword [esp + 0x8c]
mov dword [0x131b0c8], esi
mov dword [0x131b0cc], edi
je 0x40abb3
cmp ebp, 0x2b
jne 0x40bd15
call fcn.00aa0070
add eax, 0xa
mov dword [esp], eax
call fcn.00aa0080
cmp ebp, 0x44
sete al
jne 0x40b1b3
test al, al
mov dword [esp + 0x1e24], 0
je 0x40b1c1
mov eax, dword [0x131b038]
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 0x40b2d6
mov ebx, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 0x1e24], 1
mov edi, dword [0x131b03c]
test edi, edi
jle 0x40a503
mov esi, dword [esp + 0x1e24]
xor ecx, ecx
mov edx, dword [0x131b038]
mov eax, dword [edx + 4]
add ecx, 1
add edx, 0x50
cmp ecx, edi
mov eax, dword [eax + 8]
mov dword [eax + 0x188], esi
jne 0x40a4ed
mov edi, dword [0x131b068]
test edi, edi
jle 0x40a535
mov esi, dword [esp + 0x1e24]
xor ecx, ecx
mov edx, dword [0x131b048]
mov eax, dword [edx + 0xc]
add ecx, 1
add edx, 0x228
cmp ecx, edi
mov eax, dword [eax + 8]
mov dword [eax + 0x188], esi
jne 0x40a51c
cmp dword [esp + 0x1e24], 0
jne 0x40b302
mov eax, dword [esp + 0x1e24]
add ebx, 0x40
mov dword [esp + 4], str.debug_d_n
mov dword [esp], ebx
mov dword [esp + 8], eax
call fcn.00401850
cmp ebp, 0x3f
jne 0x40a57d
mov esi, dword [esp + 0xb0]
mov dword [esp + 4], 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
mov dword [esp], esi
call fcn.00401850
mov edi, dword [0x131b068]
test edi, edi
mov dword [esp + 0x58], edi
jle 0x40aba5
fld qword [0xe6ce90]
xor esi, esi
fstp qword [esp + 0xa0]
mov dword [esp + 0x50], 0xffffffff
mov dword [esp + 0x54], 0x7fffffff
mov dword [esp + 0x68], 0xffffffff
imul ebx, esi, 0x228
mov edx, dword [esp + 0x74]
add ebx, dword [0x131b048]
mov eax, dword [ebx]
mov ebp, dword [ebx + 0x214]
lea eax, [eax + eax*4]
lea edi, [edx + eax*8]
test ebp, ebp
mov edx, dword [0x131b038]
mov ecx, dword [edi]
mov eax, dword [ebx + 8]
jne 0x40a650
lea eax, [eax + eax*4]
shl eax, 4
lea ebp, [edx + eax]
mov eax, dword [ebp]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x1e20]
mov edx, dword [esp + 0x64]
cmp byte [eax + edx], 0
jne 0x40a650
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x40aa47
mov dword [esp + 0xc], 1
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp], eax
call fcn.00463ab0
cmp edx, dword [edi + 0x24]
jb 0x40aa36
ja 0x40a646
cmp eax, dword [edi + 0x20]
lea esi, [esi]
jb 0x40aa36
mov ecx, dword [0x131b068]
mov dword [esp + 0x58], ecx
add esi, 1
cmp esi, dword [esp + 0x58]
jl 0x40a5b6
mov ebp, dword [esp + 0x68]
test ebp, ebp
js 0x40aba5
mov ebx, dword [esp + 0x68]
lea esi, [esp + 0x1cd8]
mov dword [esp + 0x58], esi
shl ebx, 5
add ebx, dword [esp + 0x80]
mov edi, dword [ebx]
mov dword [esp + 4], esi
mov dword [esp + 0x50], edi
mov dword [esp], edi
call fcn.0046e060
cmp eax, 0xfffffff5
je 0x40b197
test eax, eax
js 0x40b0ff
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 [0x131b078], 0
jne 0x40b3e0
mov eax, dword [esp + 0x1cf0]
cmp eax, dword [ebx + 0x18]
jge 0x40a9d2
add eax, dword [ebx + 8]
imul esi, eax, 0x50
add esi, dword [0x131b038]
cmp dword [esi + 8], 0
jne 0x40a9d2
mov ebp, dword [esp + 0x1ce4]
mov edi, dword [esp + 0x1ce0]
lea eax, [ebp - 0x80000000]
or eax, edi
je 0x40a769
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x80]
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 [esi]
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.00aa0950
add eax, edi
adc edx, ebp
mov edi, eax
mov dword [esp + 0x1ce0], eax
mov ebp, edx
mov dword [esp + 0x1ce4], 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 0x40a859
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x80]
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 [esi]
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.00aa0950
mov ecx, eax
mov ebx, edx
add ecx, dword [esp + 0x68]
adc ebx, dword [esp + 0x6c]
mov dword [esp + 0x1cd8], ecx
lea eax, [ebx - 0x80000000]
or eax, ecx
mov dword [esp + 0x1cdc], ebx
je 0x40a859
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], ebx
fild qword [esp + 0xb8]
fstp qword [esp + 0xc8]
fld qword [esp + 0xc8]
fmul qword [esi + 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]
lea eax, [ebp - 0x80000000]
or eax, edi
je 0x40a9b0
mov dword [esp + 0xb8], edi
mov dword [esp + 0xbc], ebp
fild qword [esp + 0xb8]
fstp qword [esp + 0xc8]
fld qword [esp + 0xc8]
fmul qword [esi + 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 + 0xb8]
fldcw word [esp + 0xc2]
mov ebx, dword [esp + 0xbc]
mov ecx, dword [esp + 0xb8]
lea eax, [ebx - 0x80000000]
or eax, ecx
mov dword [esp + 0x1ce0], ecx
mov dword [esp + 0x1ce4], ebx
je 0x40a9b0
mov ebp, dword [esi + 0x2c]
mov edi, dword [esi + 0x28]
lea eax, [ebp - 0x80000000]
or eax, edi
je 0x40a9b0
mov edx, dword [esp + 0x50]
mov eax, dword [edx + 4]
test byte [eax + 0x25], 2
je 0x40a9b0
mov eax, dword [esi + 4]
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 0xf4240
mov edx, eax
mov edx, dword [edx + 0x3c]
mov dword [esp + 0x50], eax
mov eax, dword [eax + 0x38]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
call fcn.00aa0950
mov ecx, eax
sub eax, edi
mov ebx, edx
sbb edx, ebp
mov dword [esp + 0xb8], eax
mov edi, eax
mov ebp, edx
mov dword [esp + 0xbc], edx
fild qword [esp + 0xb8]
fld dword [0xe45010]
fld st(0)
fchs
fld dword [0xe6cdc4]
fmul st(1), st(0)
fxch st(1)
fucompi st(3)
ja 0x40b8f3
fmulp st(1)
fxch st(1)
fucompi st(1)
fstp st(0)
ja 0x40b8de
add ecx, 1
adc ebx, 0
cmp ebx, dword [esi + 0x34]
jg 0x40a9b0
jl 0x40b8f9
cmp ecx, dword [esi + 0x30]
jb 0x40b8f9
mov edi, dword [esp + 0x58]
mov eax, esi
mov ecx, dword [0x131b068]
mov edx, dword [0x131b048]
mov dword [esp], edi
call fcn.00405300
test eax, eax
js 0x40bcc1
mov edi, dword [esp + 0x58]
mov dword [esp], edi
call fcn.00531940
mov esi, dword [esp + 0x88]
mov edi, dword [esp + 0x8c]
mov ecx, dword [0x131b068]
mov edx, dword [0x131b048]
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x74]
mov dword [esp + 0x10], edi
mov esi, dword [esp + 0xa8]
mov edi, dword [esp + 0xac]
mov dword [esp], 0
mov dword [esp + 4], esi
mov dword [esp + 8], edi
call fcn.00402fd0
mov dword [esp + 0x84], 0
jmp 0x40a186
mov eax, dword [ebp]
mov edx, dword [0x131b068]
mov dword [esp + 0x64], eax
mov dword [esp + 0x58], edx
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax + 0x24]
mov edx, dword [eax + 0x20]
mov dword [esp + 0x94], ecx
mov ecx, dword [eax + 0x38]
mov eax, dword [eax + 0x3c]
mov dword [esp + 0x90], edx
mov edx, dword [esp + 0x80]
mov dword [esp + 0x98], ecx
mov ecx, dword [ebp + 0x34]
mov dword [esp + 0x9c], eax
mov eax, dword [ebp + 0x30]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x64]
shl eax, 5
mov eax, dword [edx + eax + 4]
test eax, eax
jne 0x40ab2e
cmp ecx, dword [esp + 0x54]
jg 0x40aac1
jl 0x40aaa8
mov eax, dword [esp + 0x50]
cmp dword [esp + 0x70], eax
jae 0x40aac1
cmp dword [0x131b0b0], 0
jne 0x40b0e6
mov edx, dword [esp + 0x70]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x50], edx
fild qword [esp + 0x90]
fstp qword [esp + 0xc8]
fld qword [esp + 0xc8]
fild dword [esp + 0x98]
fild dword [esp + 0x9c]
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 + 0xa0]
fucompi st(1)
jbe 0x40ab2c
mov ecx, dword [esp + 0x68]
fstp qword [esp + 0xa0]
cmp dword [0x131b0b0], 0
cmove ecx, dword [esp + 0x64]
mov dword [esp + 0x68], ecx
jmp 0x40ab2e
fstp st(0)
mov ecx, dword [ebx + 0x14]
mov edx, ecx
sar edx, 0x1f
cmp edx, dword [ebx + 0x34]
jl 0x40a650
jg 0x40ab4a
cmp ecx, dword [ebx + 0x30]
jb 0x40a650
mov eax, dword [edi]
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x40a650
imul eax, dword [edi + 8], 0x228
xor edx, edx
add eax, dword [0x131b048]
add eax, 0x214
nop
lea esi, [esi]
add edx, 1
mov dword [eax], 1
add eax, 0x228
cmp edx, ecx
jne 0x40ab70
jmp 0x40a650
call sub.msvcrt.dll__kbhit
test eax, eax
nop
je 0x40b18f
call sub.msvcrt.dll__getch
nop
lea esi, [esi]
jmp 0x40a2bd
cmp dword [esp + 0x84], 0
jne 0x40b151
mov edx, dword [0x131b03c]
test edx, edx
jle 0x40ac03
xor ebx, ebx
xor esi, esi
jmp 0x40abcd
add esi, 1
add ebx, 0x50
cmp esi, edx
jge 0x40ac03
mov eax, dword [0x131b038]
add eax, ebx
mov edi, dword [eax + 0xc]
test edi, edi
je 0x40abc3
mov edx, dword [0x131b048]
add esi, 1
add ebx, 0x50
mov ecx, dword [0x131b068]
mov dword [esp], 0
call fcn.00405300
mov edx, dword [0x131b03c]
cmp esi, edx
jl 0x40abcd
mov edi, dword [0x131b068]
mov ebx, dword [0x131b048]
test edi, edi
mov dword [esp + 0x70], edi
jle 0x40ade2
mov dword [esp + 0x68], 0
mov eax, dword [ebx + 0xc]
mov edx, dword [0x131b028]
mov ecx, dword [ebx + 0x10]
mov edi, 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 + 0x64], eax
je 0x40adc9
mov eax, dword [edi + 0xd0]
cmp eax, 1
je 0x40b055
test eax, eax
jne 0x40b05f
mov esi, dword [esp + 0x64]
mov eax, dword [esi + 8]
lea esi, [esp + 0x1cd8]
mov dword [esp + 0x58], esi
test byte [eax + 0x28], 0x20
je 0x40ad96
mov eax, dword [edi + 0x78]
cmp dword [eax + 8], 0xe
jne 0x40ad96
jmp 0x40adc9
mov eax, dword [0xe45020]
mov dword [esp + 0xc], 0
mov dword [esp], edi
mov dword [esp + 8], eax
mov eax, dword [0x131b0d0]
mov dword [esp + 4], eax
call fcn.0052d460
test eax, eax
mov esi, eax
js 0x40bb8e
mov edx, esi
sar edx, 0x1f
add dword [0x131b0f8], eax
mov eax, dword [edi + 0x184]
adc dword [0x131b0fc], edx
test eax, eax
je 0x40ace6
mov eax, dword [eax + 0x30]
test eax, eax
je 0x40ace6
or dword [esp + 0x1cf4], 1
mov eax, dword [ebx + 0x1ec]
test eax, eax
je 0x40ad0e
mov edx, dword [edi + 0x10c]
test edx, edx
je 0x40ad0e
mov dword [esp + 8], edx
mov dword [esp + 4], 0xe69421
mov dword [esp], eax
call fcn.00401850
test esi, esi
je 0x40adc9
mov eax, dword [0x131b0d0]
mov dword [esp + 0x1cec], esi
mov dword [esp + 0x1ce8], eax
mov eax, dword [edi + 0x184]
test eax, eax
je 0x40b010
mov ebp, dword [eax + 0x38]
mov eax, dword [eax + 0x3c]
mov esi, dword [ebx + 0xc]
lea ecx, [eax - 0x80000000]
or ecx, ebp
je 0x40ad80
mov edx, dword [esi + 0x38]
mov ecx, dword [esi + 0x3c]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
mov edx, dword [edi + 0x20]
mov ecx, dword [edi + 0x24]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
call fcn.00aa0950
mov dword [esp + 0x1cd8], eax
mov dword [esp + 0x1cdc], edx
mov eax, dword [ebx + 0x28]
mov ecx, dword [esi + 8]
mov edx, dword [esp + 0x58]
mov dword [esp], eax
mov eax, dword [esp + 0x64]
call fcn.00404b20
mov esi, dword [esp + 0x58]
mov dword [esp], esi
call fcn.00531340
mov eax, dword [ebx + 4]
mov dword [esp + 0x1cf0], eax
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xd0]
test eax, eax
je 0x40ac90
cmp eax, 1
je 0x40aed5
add dword [esp + 0x68], 1
add ebx, 0x228
mov esi, dword [esp + 0x70]
cmp dword [esp + 0x68], esi
jne 0x40ac23
mov dword [esp + 0xc], 0xe69199
mov dword [esp + 8], 0xe69421
mov dword [esp + 4], 0xfffffff8
mov dword [esp], 0
call fcn.00aa0010
cmp dword [esp + 0x7c], 0
jle 0x40ae2b
mov esi, dword [esp + 0x74]
xor ebx, ebx
mov edi, dword [esp + 0x7c]
mov eax, dword [esi]
add ebx, 1
add esi, 0x28
mov dword [esp], eax
call fcn.00473e70
cmp ebx, edi
jne 0x40ae17
call fcn.004746c0
mov esi, dword [esp + 0xa8]
mov edi, dword [esp + 0xac]
mov ecx, dword [0x131b068]
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 [0x131b048]
call fcn.00402fd0
cmp dword [0x131b068], 0
jle 0x40b06f
xor edi, edi
xor esi, esi
jmp 0x40aea3
add ebx, 0x204
add esi, 1
mov dword [esp], ebx
add edi, 0x228
call fcn.00416c40
cmp dword [0x131b068], esi
jle 0x40b06f
mov ebx, dword [0x131b048]
add ebx, edi
mov ebp, dword [ebx + 0x10]
test ebp, ebp
je 0x40ae80
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 8]
add eax, 0x110
mov dword [esp], eax
call fcn.00aa0260
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 8]
mov dword [esp], eax
call fcn.00df2e18
jmp 0x40ae80
mov eax, dword [ebx + 0x1e8]
mov dword [esp], eax
call fcn.00aa49d0
test eax, eax
mov esi, eax
jg 0x40af33
mov eax, dword [0xe45020]
mov dword [esp + 0xc], 0
mov dword [esp], edi
mov dword [esp + 8], eax
mov eax, dword [0x131b0d0]
mov dword [esp + 4], eax
call fcn.0052d410
test eax, eax
mov esi, eax
js 0x40bbaf
mov edx, esi
sar edx, 0x1f
add dword [0x131b0e8], esi
adc dword [0x131b0ec], edx
or dword [esp + 0x1cf4], 1
jmp 0x40ad0e
mov eax, dword [edi + 0x44]
mov dword [esp], eax
call fcn.00aa0e60
mov ecx, dword [edi + 0x48]
mov dword [esp + 0xc], 0
mov dword [esp + 8], esi
mov dword [esp + 0x50], ecx
mov ebp, eax
mov eax, dword [0x131b04c]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x1e8]
mov dword [esp], eax
call fcn.00aa4bf0
mov eax, dword [edi + 0x78]
test byte [eax + 0x20], 0x40
je 0x40b018
mov ecx, dword [edi + 0x40]
mov edx, esi
mov eax, esi
sar edx, 0x1f
imul ecx, ebp
idiv ecx
mov dword [edi + 0x48], eax
mov eax, dword [0x131b04c]
mov dword [esp], edi
mov dword [esp + 0xc], eax
mov eax, dword [0xe45020]
mov dword [esp + 8], eax
mov eax, dword [0x131b0d0]
mov dword [esp + 4], eax
call fcn.0052d410
mov ecx, dword [edi + 0x48]
mov esi, eax
mov eax, dword [ebx + 0xc]
mov ebp, dword [eax + 0x3c]
mov dword [esp + 0x80], eax
mov eax, dword [edi + 0x3c]
mov edx, eax
sar edx, 0x1f
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x80]
mov dword [esp + 0x10], eax
mov eax, dword [edx + 0x38]
mov edx, eax
sar edx, 0x1f
mov dword [esp + 8], eax
mov eax, ecx
mov dword [esp + 0xc], edx
imul ebp
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00aa0900
mov ecx, dword [esp + 0x50]
test esi, esi
mov dword [esp + 0x1d00], eax
mov dword [edi + 0x48], ecx
jg 0x40af15
jmp 0x40aee9
mov esi, dword [ebx + 0xc]
jmp 0x40ad80
imul ebp, dword [edi + 0x48]
imul ebp, dword [edi + 0x40]
cmp ebp, dword [0x131b058]
ja 0x40b702
sub ebp, esi
add esi, dword [0x131b04c]
cmp dword [edi + 0x44], 1
mov dword [esp + 8], ebp
mov dword [esp], esi
sbb ecx, ecx
and ecx, 0x80
mov dword [esp + 4], ecx
call sub.msvcrt.dll_memset
jmp 0x40af89
cmp dword [edi + 0x48], 1
jle 0x40adc9
lea esi, [esp + 0x1cd8]
mov dword [esp + 0x58], esi
jmp 0x40ad96
mov edx, dword [0x131b03c]
test edx, edx
jle 0x408e45
xor esi, esi
xor ebx, ebx
jmp 0x40b091
add ebx, 1
add esi, 0x50
cmp ebx, edx
jge 0x408e45
mov eax, dword [0x131b038]
add eax, esi
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x40b083
mov eax, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp], eax
call fcn.00df2e18
mov edx, dword [0x131b03c]
jmp 0x40b083
mov byte [esp + esi + 0xd8], al
add esi, 1
jmp 0x40a2df
mov esi, dword [esp + 0x88]
mov edi, dword [esp + 0x8c]
mov dword [0x131b0c8], esi
mov dword [0x131b0cc], edi
or ebp, 0xffffffff
jmp 0x40a1fa
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x64]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x68], edx
jmp 0x40aac1
cmp dword [0x131b08c], 0
mov dword [ebx + 4], 1
jne 0x40abb3
jmp 0x40a186
mov dword [esp], 0xfffffff6
call sub.KERNEL32.dll_GetStdHandle
push edx
lea edx, [esp + 0x1e3c]
mov dword [0x131b0e0], eax
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.KERNEL32.dll_GetConsoleMode
test eax, eax
sete al
push ecx
movzx eax, al
push ecx
mov dword [0x131b0e4], eax
jmp 0x40a2ec
mov esi, dword [esp + 0x1e60]
mov eax, dword [esp + 0x1e20]
mov dword [esp + 4], 0
mov dword [esp + 8], esi
mov dword [esp], eax
call sub.msvcrt.dll_memset
mov dword [esp], 0x2710
call fcn.00de38f0
mov dword [esp + 0x84], 0
jmp 0x40a186
or eax, 0xffffffff
jmp 0x40a2c2
mov eax, dword [esp + 0x1e20]
mov edi, dword [esp + 0x68]
add dword [esp + 0x84], 1
mov byte [eax + edi], 1
jmp 0x40a186
cmp ebp, 0x64
je 0x40a48e
jmp 0x40a561
lea eax, [esp + 0x1e24]
mov dword [esp + 4], eax
mov dword [esp], 0xe6a7f3
call sub.msvcrt.dll_scanf
mov ebx, dword [sym.imp.msvcrt.dll__iob]
sub eax, 1
je 0x40a4d4
lea eax, [ebx + 0x40]
mov dword [esp + 4], str.error_parsing_debug_value_n
mov dword [esp], eax
call fcn.00401850
jmp 0x40a4d4
cmp eax, 0x1869f
jbe 0x40b0de
lea esi, [esi]
jmp 0x40a1ea
mov dword [esp + 8], str.__copy_
mov dword [esp + 4], 0x20
mov dword [esp], 0
call fcn.00aa0010
jmp 0x40a0fd
mov dword [esp + 8], str.__ch:
mov dword [esp + 4], 0x20
mov dword [esp], 0
call fcn.00aa0010
cmp dword [ebx + 0x1d4], 0
jle 0x40b2b5
xor ebp, ebp
jmp 0x40b28b
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0xe6a68e
mov dword [esp + 4], 0x20
mov dword [esp], 0
call fcn.00aa0010
add ebp, 1
cmp ebp, dword [ebx + 0x1d4]
jge 0x40b2b5
mov eax, dword [ebx + ebp*4 + 0x194]
cmp eax, 0xffffffff
jne 0x40b260
mov dword [esp + 8], 0xe6a68b
mov dword [esp + 4], 0x20
mov dword [esp], 0
call fcn.00aa0010
jmp 0x40b280
mov dword [esp + 8], 0xe6a692
mov dword [esp + 4], 0x20
mov dword [esp], 0
call fcn.00aa0010
jmp 0x40a06a
test eax, 0x6040
mov ebx, dword [sym.imp.msvcrt.dll__iob]
je 0x40a4d4
add eax, eax
test eax, 0x6040
jne 0x40b2e7
mov dword [esp + 0x1e24], eax
mov ebx, dword [sym.imp.msvcrt.dll__iob]
jmp 0x40a4d4
mov dword [esp], 0x30
call fcn.00aa0080
jmp 0x40a543
mov eax, dword [esp + 0x7c]
shl eax, 2
mov dword [esp], eax
call fcn.00aa00b0
test eax, eax
mov dword [esp + 0x1e28], eax
je 0x40b702
cmp dword [esp + 0x7c], 0
jle 0x40b356
mov edx, dword [esp + 0x74]
xor eax, eax
mov ebx, dword [edx]
add edx, 0x28
mov ecx, dword [esp + 0x1e28]
mov dword [ecx + eax*4], ebx
add eax, 1
cmp eax, dword [esp + 0x7c]
jne 0x40b33e
mov edx, dword [esp + 0x7c]
lea ebx, [esp + 0x10d8]
mov eax, dword [esp + 0x1e28]
mov dword [esp + 0xc], 0x800
mov dword [esp + 8], ebx
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00476ca0
mov dword [esp + 4], ebx
mov dword [esp], 0xe6a6bb
call fcn.00401bb0
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x20
mov dword [esp], eax
call sub.msvcrt.dll_fflush
lea eax, [esp + 0x1e28]
mov dword [esp], eax
call fcn.00aa0260
jmp 0x40a134
lea eax, [esp + 0x18d8]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0xe6a6b7
mov dword [esp + 4], 0x10
mov dword [esp], 0
call fcn.00aa0010
jmp 0x408e45
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x1cf0]
mov esi, dword [esp + 0x58]
mov eax, dword [ecx + 0x18]
mov eax, dword [eax + edx*4]
mov dword [esp + 8], esi
mov dword [esp + 4], 0x30
mov dword [esp], 0
mov dword [esp + 0x10], eax
mov eax, dword [0x131b07c]
mov dword [esp + 0xc], eax
call fcn.00474a40
jmp 0x40a6d4
xor edx, edx
test eax, eax
mov byte [esp + esi + 0xd8], 0
jle 0x40a379
jmp 0x40a32b
cmp dword [0x131b03c], 0
jle 0x40b581
xor esi, esi
xor ebp, ebp
mov ebx, dword [0x131b038]
add ebx, esi
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x40b4c3
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x40bc7c
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.0052cc20
test eax, eax
mov eax, dword [ebx + 4]
js 0x40bc3c
mov eax, dword [eax + 8]
xor ecx, ecx
lea edx, [eax + 0xe8]
add eax, 0x78
call fcn.00404a60
mov dword [esp + 0xc], 2
mov dword [esp + 8], 0
mov dword [esp + 4], 0xe69199
mov eax, dword [ebx + 0x48]
mov dword [esp], eax
call fcn.00aa1140
test eax, eax
jne 0x40b6e0
mov eax, dword [ebx + 4]
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov edx, dword [eax + 0x1a0]
test edx, edx
je 0x40b54c
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 + 0x58]
fldcw word [esp + 0xc2]
mov eax, dword [esp + 0x58]
add ebp, 1
add esi, 0x50
mov edx, dword [esp + 0x5c]
cmp ebp, dword [0x131b03c]
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x34], edx
mov dword [ebx + 0x2c], 0x80000000
mov dword [ebx + 0x40], 1
jl 0x40b447
mov ecx, dword [esp + 0x80]
mov edi, dword [0x131b038]
mov dword [esp + 0x78], 0
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x78]
cmp dword [esp + 0x1e60], ecx
jle 0x40b64c
mov esi, dword [esp + 0x50]
mov eax, dword [esi]
mov edx, dword [eax + 0x484]
test edx, edx
mov dword [esp + 0x68], edx
je 0x40b639
mov eax, dword [eax + 0x488]
mov dword [esp + 0x58], 0
mov dword [esp + 0x70], eax
xor eax, eax
mov ecx, dword [esp + 0x70]
mov ebp, dword [ecx + eax*4]
mov eax, 0x30
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x40b625
mov eax, dword [esp + 0x50]
mov ebx, dword [ebp + 0xc]
mov esi, dword [eax + 8]
mov eax, dword [ebx]
add eax, esi
lea edx, [eax + eax*4]
xor eax, eax
shl edx, 4
mov edx, dword [edi + edx + 8]
test edx, edx
jne 0x40b619
jmp 0x40b625
mov edx, dword [ebx + eax*4]
add edx, esi
lea edx, [edx + edx*4]
shl edx, 4
mov edx, dword [edi + edx + 8]
test edx, edx
je 0x40b648
add eax, 1
cmp eax, ecx
jne 0x40b606
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 0x40b5d3
add dword [esp + 0x78], 1
add dword [esp + 0x50], 0x20
jmp 0x40b59a
xor eax, eax
jmp 0x40b625
mov esi, dword [esp + 0x74]
xor ebx, ebx
xor ebp, ebp
mov dword [esp + 0x58], 1
jmp 0x40b6b3
mov edi, dword [esi]
lea eax, [esi + 4]
mov dword [edi + 0x4d0], 0x4012d0
mov dword [edi + 0x4d4], 0
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.00472be0
test eax, eax
js 0x40bafb
mov dword [esp + 4], 0xe6a63a
mov eax, dword [edi + 8]
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
mov edi, dword [esp + 0x58]
test eax, eax
cmovne edi, ebp
add ebx, 1
mov dword [esp + 0x58], edi
add esi, 0x28
cmp dword [esp + 0x7c], ebx
jg 0x40b65e
mov dword [esp + 0x78], 0
jmp 0x409f60
mov ecx, dword [esp + 0x50]
mov eax, dword [ecx + 0xd4]
mov dword [esp], eax
call fcn.0052ddc0
mov dword [ebx + 0x2c], eax
jmp 0x408f4e
mov eax, dword [eax]
mov dword [esp + 8], str.Option__s_not_found._n
mov dword [esp + 0xc], eax
mov dword [esp + 4], 8
mov dword [esp], 0
call fcn.00aa0010
mov dword [esp], 1
call fcn.00403370
mov edx, dword [edi + 0x338]
mov eax, dword [edi + 0x33c]
xor eax, dword [ebp + 0x33c]
xor edx, dword [ebp + 0x338]
or edx, eax
setne al
movzx eax, al
jmp 0x409c28
xor edx, edx
cmp dword [0x131b084], 1
setg dl
mov dword [esp + 0x64], edx
jmp 0x409c13
mov dword [ecx + 0x40], eax
mov dword [esp], eax
call fcn.00aa5390
mov esi, dword [esp + 0x50]
mov ecx, eax
mov dword [esi + 0x33c], edx
or edx, ecx
mov dword [esi + 0x338], eax
je 0x40bc2f
mov eax, dword [ebx + 0x1d4]
jmp 0x409d45
call sub.msvcrt.dll__kbhit
test eax, eax
je 0x40b0c4
call sub.msvcrt.dll__getch
mov ebp, eax
lea esi, [esi]
jmp 0x40a446
lea eax, [esp + 0x1e34]
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov dword [esp], 0
call sub.msvcrt.dll__read
movzx ebp, byte [esp + 0x1e34]
jmp 0x40a446
lea edx, [esp + 0x18d8]
fld qword [esp + 0x1e18]
add ebx, 0x40
mov dword [esp + 0x1c], edx
fstp qword [esp + 0x10]
mov dword [esp + 0x18], esi
mov dword [esp + 0xc], edi
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.00aa0010
mov dword [esp + 0x50], 0
mov dword [esp + 0x58], 0
jmp 0x40b880
fstp st(0)
xor eax, eax
cmp ebp, 0x63
sete al
lea ecx, [esp + 0x18d8]
mov dword [esp + 0x18], eax
lea eax, [esp + 0xd8]
mov dword [esp + 0xc], ecx
mov dword [esp], edx
mov dword [esp + 0x14], 0x1000
mov dword [esp + 0x10], eax
mov dword [esp + 8], esi
mov dword [esp + 4], edi
call fcn.00417420
mov ecx, dword [esp + 0x58]
lea edx, [esp + 0xd8]
mov dword [esp + 0x10], edx
mov dword [esp + 4], str.Command_reply_for_stream__d:_ret:_d_res:_s_n
mov dword [esp], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.00401850
add dword [esp + 0x58], 1
add dword [esp + 0x50], 0x228
mov edx, dword [esp + 0x58]
cmp edx, dword [0x131b068]
jge 0x40a482
mov eax, dword [0x131b048]
mov ecx, dword [esp + 0x50]
mov edx, dword [eax + ecx + 0x204]
test edx, edx
je 0x40b873
fld qword [esp + 0x1e18]
fldz
fucompi st(1)
ja 0x40b810
lea eax, [esp + 0x18d8]
fstp qword [esp + 0x14]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], edx
call fcn.004175b0
jmp 0x40b873
mov edx, dword [esp + 0x50]
mov eax, dword [edx + 8]
cmp dword [eax + 0xd0], 3
jne 0x40b8f9
jmp 0x40a996
fstp st(0)
fstp st(0)
fstp st(0)
cmp dword [0x131b088], 0
jne 0x40a9b0
mov eax, dword [esi]
shl eax, 5
add eax, dword [esp + 0x80]
mov ecx, dword [eax + 0x10]
mov ebx, dword [eax + 0x14]
sub ecx, edi
sbb ebx, ebp
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ebx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ebx
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.00aa0010
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x1ce0]
mov ebx, dword [esp + 0x1ce4]
mov edx, eax
mov edx, dword [edx + 0x3c]
mov dword [esp + 0x50], eax
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 dword [esp], edi
mov dword [esp + 4], ebp
mov dword [esp + 0x4c], ecx
call fcn.00aa0950
mov ecx, dword [esp + 0x4c]
sub ecx, eax
sbb ebx, edx
mov dword [esp + 0x1ce4], ebx
mov ebx, dword [esp + 0x1cdc]
mov dword [esp + 0x1ce0], ecx
mov ecx, dword [esp + 0x1cd8]
lea eax, [ebx - 0x80000000]
or eax, ecx
je 0x40a9b0
mov edx, dword [esp + 0x50]
mov eax, dword [edx + 0x38]
mov edx, dword [edx + 0x3c]
mov dword [esp + 8], 1
mov dword [esp + 0xc], 0xf4240
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov dword [esp], edi
mov dword [esp + 4], ebp
mov dword [esp + 0x4c], ecx
call fcn.00aa0950
mov ecx, dword [esp + 0x4c]
sub ecx, eax
sbb ebx, edx
mov dword [esp + 0x1cd8], ecx
mov dword [esp + 0x1cdc], ebx
jmp 0x40a9b0
mov eax, dword [0xe45020]
mov dword [esp], eax
call fcn.00aa00b0
test eax, eax
mov dword [0x131b0d0], eax
je 0x40bbfd
mov edx, dword [0x131b068]
jmp 0x409561
mov ecx, dword [esp + 0x68]
mov dword [esp + 8], str.Requested_sampling_rate_unsupported_using_closest_supported___d__n
mov dword [esp + 4], 0x18
mov dword [esp + 0xc], ecx
mov eax, dword [esi + 8]
mov dword [esp], eax
call fcn.00aa0010
mov ecx, dword [esp + 0x90]
mov edx, dword [ebx + 0x2c]
mov esi, dword [ebx + 0xc]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x78], edx
mov dword [esp + 0x88], ecx
jmp 0x409b1a
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.00aa5fa0
mov edx, dword [ebx + 0x2c]
mov edx, dword [edx + 0x2c]
lea edx, [edx + eax*8]
mov eax, dword [edx]
mov edx, dword [edx + 4]
mov dword [ebx + 0x170], eax
mov dword [ebx + 0x174], edx
jmp 0x409053
fstp st(0)
mov edx, dword [eax + 0x24]
mov eax, dword [eax + 0x20]
mov dword [edi + 0x134], edx
mov dword [edi + 0x130], eax
jmp 0x4094da
mov edx, dword [eax + 8]
cmp dword [edx + 0x17c], 0
je 0x40bbb9
mov ecx, dword [edx + 0x17c]
mov ebx, dword [edx + 0x180]
mov dword [esi + 0x130], ecx
mov dword [esi + 0x134], ebx
jmp 0x409e4b
lea eax, [esp + 0x18d8]
mov dword [esp + 0xc], ebx
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.00de3840
mov dword [esp + 0x78], 0xffffffea
jmp 0x409f67
mov dword [esp + 0x78], 0xfffffff4
jmp 0x408e45
mov eax, dword [ebx + 4]
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.00de3840
mov dword [esp + 0x58], 1
mov dword [esp + 0x78], 0xffffffea
jmp 0x409f60
mov dword [esp + 0x58], 1
mov dword [esp + 0x78], 0xfffffff4
jmp 0x409f60
mov dword [esp + 8], str.Video_encoding_failed_n
mov dword [esp + 4], 8
mov dword [esp], 0
call fcn.00aa0010
jmp 0x40b702
mov dword [esp + 8], str.Audio_encoding_failed_n
jmp 0x40bb96
mov dword [esi + 0x130], 0
mov dword [esi + 0x134], 1
jmp 0x409e4b
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.00aa0010
jmp 0x40b702
mov dword [esp + 8], str.Video_pixel_format_is_unknown__stream_cannot_be_encoded_n
jmp 0x40bb96
mov eax, dword [0xe45020]
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.00aa0010
mov dword [esp + 0x78], 0xfffffff4
jmp 0x408e45
mov dword [esp + 8], str.Unable_to_find_an_appropriate_channel_layout_for_requested_number_of_channel_n
jmp 0x40bb96
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.00de3840
mov dword [esp + 0x58], 1
mov dword [esp + 0x78], 0xffffffea
jmp 0x409f60
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.0052df40
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.00de3840
jmp 0x40bc67
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.00aa0010
cmp dword [0x131b090], 0
jne 0x40b702
mov esi, dword [esp + 0x58]
mov dword [esp], esi
call fcn.00531940
mov dword [esp + 0x84], 0
jmp 0x40a186
cmp ebp, 0x2d
jne 0x40bd68
call fcn.00aa0070
sub eax, 0xa
mov dword [esp], eax
call fcn.00aa0080
jmp 0x40a57d
mov dword [esp], 0xfffffff6
call sub.KERNEL32.dll_GetStdHandle
push edx
lea edx, [esp + 0x1e38]
mov dword [0x131b0e0], eax
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.KERNEL32.dll_GetConsoleMode
test eax, eax
sete al
push ecx
movzx eax, al
push ecx
mov dword [0x131b0e4], eax
jmp 0x40a3b6
cmp ebp, 0x73
jne 0x40bd79
xor dword [0x131b0ac], 1
jmp 0x40a482
cmp ebp, 0x68
jne 0x40a1fa
cmp dword [0x131b07c], 0
je 0x40bdb0
mov dword [0x131b078], 0
mov dword [0x131b07c], 0
mov dword [esp], 0x30
call fcn.00aa0080
jmp 0x40a482
cmp dword [0x131b078], 0
je 0x40bdc5
mov dword [0x131b07c], 1
jmp 0x40bd9f
mov dword [0x131b078], 1
jmp 0x40bd9f
cmp ebp, 0x63
je 0x40a203
jmp 0x40a482
lea esi, [esp + 0x10d8]
mov dword [esp + 0xc], esi
mov dword [esp + 8], str.Error_reading_log_file__s_for_pass_2_encoding_n
jmp 0x40b6ee
call sub.msvcrt.dll__errno
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_strerror
lea edx, [esp + 0x10d8]
mov dword [esp + 0xc], edx
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
call fcn.00aa0010
mov dword [esp], 1
call fcn.00403370
mov edx, dword [esp + 0x78]
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 0x4098df
fld xword [0xe6cea0]
fucompi st(1)
fstp st(0)
ja 0x409a00
jmp 0x4098e1
mov eax, dword [esi + 8]
test byte [eax + 0x29], 4
jne 0x4090bb
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.00aa0010
jmp 0x4090bb