Function at 0x40415e
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x412ad0]
mov dword [ebp - 0x40], eax
mov eax, dword [0x412adc]
or ecx, 0xffffffff
push ebx
xor ebx, ebx
mov dword [ebp - 0x48], eax
push esi
mov esi, dword [0x412ad4]
lea eax, [ebp - 0xb4]
push edi
mov edi, dword [0x412ea8]
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x38], edx
mov dword [ebp - 0xb4], ecx
mov dword [ebp - 0xb0], ecx
lea eax, [ebp - 0xb0]
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x5c], ecx
mov edx, str.MaxScanSize
mov ecx, edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
call fcn.00406f1e
cmp dword [eax + 0x1c], ebx
je 0x40423a
push dword [eax + 0x14]
push dword [eax + 0x10]
push ebx
push esi
call dword [sym.imp.libav.dll_Ordinal_12]
mov edi, eax
add esp, 0x10
mov dword [ebp - 0xc], edi
test edi, edi
je 0x404237
push esi
call dword [sym.imp.libav.dll_Ordinal_9]
xor eax, eax
inc eax
jmp 0x404f75
mov edi, dword [ebp - 0x10]
push ebx
push ebx
push esi
call dword [sym.imp.libav.dll_Ordinal_10]
mov ecx, eax
add esp, 0xc
or ecx, edx
je 0x40425b
push edx
push eax
push str.Limits:_Global_size_limit_set_to__llu_bytes._n
call fcn.00407649
add esp, 0xc
mov edx, str.MaxFileSize
mov ecx, edi
call fcn.00406f1e
cmp dword [eax + 0x1c], ebx
je 0x40428a
push dword [eax + 0x14]
push dword [eax + 0x10]
push 1
push esi
call dword [sym.imp.libav.dll_Ordinal_12]
mov edi, eax
add esp, 0x10
mov dword [ebp - 0xc], edi
test edi, edi
jne 0x404228
mov edi, dword [ebp - 0x10]
push ebx
push 1
push esi
call dword [sym.imp.libav.dll_Ordinal_10]
add esp, 0xc
mov edx, str.MaxRecursion
mov ecx, edi
call fcn.00406f1e
cmp dword [eax + 0x1c], ebx
je 0x4042ca
push dword [eax + 0x14]
push dword [eax + 0x10]
push 2
push esi
call dword [sym.imp.libav.dll_Ordinal_12]
mov edi, eax
add esp, 0x10
mov dword [ebp - 0xc], edi
test edi, edi
jne 0x404228
mov edi, dword [ebp - 0x10]
push ebx
push 2
push esi
call dword [sym.imp.libav.dll_Ordinal_10]
add esp, 0xc
mov edx, str.MaxFiles
mov ecx, edi
call fcn.00406f1e
cmp dword [eax + 0x1c], ebx
je 0x40430a
push dword [eax + 0x14]
push dword [eax + 0x10]
push 3
push esi
call dword [sym.imp.libav.dll_Ordinal_12]
mov edi, eax
add esp, 0x10
mov dword [ebp - 0xc], edi
test edi, edi
jne 0x404228
mov edi, dword [ebp - 0x10]
push ebx
push 3
push esi
call dword [sym.imp.libav.dll_Ordinal_10]
add esp, 0xc
mov edx, str.MaxEmbeddedPE
mov ecx, edi
call fcn.00406f1e
cmp dword [eax + 0x1c], ebx
je 0x40434a
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x12
push esi
call dword [sym.imp.libav.dll_Ordinal_12]
mov edi, eax
add esp, 0x10
mov dword [ebp - 0xc], edi
test edi, edi
jne 0x404228
mov edi, dword [ebp - 0x10]
push ebx
push 0x12
push esi
call dword [sym.imp.libav.dll_Ordinal_10]
add esp, 0xc
mov edx, str.MaxHTMLNormalize
mov ecx, edi
call fcn.00406f1e
cmp dword [eax + 0x1c], ebx
je 0x40438a
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x13
push esi
call dword [sym.imp.libav.dll_Ordinal_12]
mov edi, eax
add esp, 0x10
mov dword [ebp - 0xc], edi
test edi, edi
jne 0x404228
mov edi, dword [ebp - 0x10]
push ebx
push 0x13
push esi
call dword [sym.imp.libav.dll_Ordinal_10]
add esp, 0xc
mov edx, str.MaxHTMLNoTags
mov ecx, edi
call fcn.00406f1e
cmp dword [eax + 0x1c], ebx
je 0x4043ca
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x14
push esi
call dword [sym.imp.libav.dll_Ordinal_12]
mov edi, eax
add esp, 0x10
mov dword [ebp - 0xc], edi
test edi, edi
jne 0x404228
mov edi, dword [ebp - 0x10]
push ebx
push 0x14
push esi
call dword [sym.imp.libav.dll_Ordinal_10]
add esp, 0xc
mov edx, str.MaxScriptNormalize
mov ecx, edi
call fcn.00406f1e
cmp dword [eax + 0x1c], ebx
je 0x40440a
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x15
push esi
call dword [sym.imp.libav.dll_Ordinal_12]
mov edi, eax
add esp, 0x10
mov dword [ebp - 0xc], edi
test edi, edi
jne 0x404228
mov edi, dword [ebp - 0x10]
push ebx
push 0x15
push esi
call dword [sym.imp.libav.dll_Ordinal_10]
add esp, 0xc
mov edx, str.MaxZipTypeRcg
mov ecx, edi
call fcn.00406f1e
cmp dword [eax + 0x1c], ebx
je 0x40444a
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x16
push esi
call dword [sym.imp.libav.dll_Ordinal_12]
mov edi, eax
add esp, 0x10
mov dword [ebp - 0xc], edi
test edi, edi
jne 0x404228
mov edi, dword [ebp - 0x10]
push ebx
push 0x16
push esi
call dword [sym.imp.libav.dll_Ordinal_10]
add esp, 0xc
mov edx, str.MaxPartitions
mov ecx, edi
call fcn.00406f1e
cmp dword [eax + 0x1c], ebx
je 0x40448a
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x1b
push esi
call dword [sym.imp.libav.dll_Ordinal_12]
mov edi, eax
add esp, 0x10
mov dword [ebp - 0xc], edi
test edi, edi
jne 0x404228
mov edi, dword [ebp - 0x10]
push ebx
push 0x1b
push esi
call dword [sym.imp.libav.dll_Ordinal_10]
add esp, 0xc
mov edx, str.MaxIconsPE
mov ecx, edi
call fcn.00406f1e
cmp dword [eax + 0x1c], ebx
je 0x4044ca
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x1c
push esi
call dword [sym.imp.libav.dll_Ordinal_12]
mov edi, eax
add esp, 0x10
mov dword [ebp - 0xc], edi
test edi, edi
jne 0x404228
mov edi, dword [ebp - 0x10]
push ebx
push 0x1c
push esi
call dword [sym.imp.libav.dll_Ordinal_10]
add esp, 0xc
mov edx, str.ScanArchive
mov ecx, edi
call fcn.00406f1e
cmp dword [eax + 0x18], ebx
je 0x40450a
mov edx, str.ArchiveBlockEncrypted
mov ecx, edi
mov dword [ebp - 8], 1
call fcn.00406f1e
cmp dword [eax + 0x18], ebx
mov eax, dword [ebp - 8]
push 9
pop ecx
cmovne eax, ecx
mov dword [ebp - 8], eax
mov edx, str.AlgorithmicDetection
mov ecx, edi
call fcn.00406f1e
cmp dword [eax + 0x18], ebx
je 0x404522
or dword [ebp - 8], 0x200
mov edx, 0x40f588
mov ecx, edi
call fcn.00406f1e
cmp dword [eax + 0x18], ebx
je 0x404537
or dword [ebp - 8], 0x20
mov edx, 0x40f590
mov ecx, edi
call fcn.00406f1e
cmp dword [eax + 0x18], ebx
je 0x40454f
or dword [ebp - 8], 0x2000
mov edx, str.ScanPE
mov ecx, edi
call fcn.00406f1e
cmp dword [eax + 0x18], ebx
jne 0x404571
mov edx, str.ScanELF
mov ecx, edi
call fcn.00406f1e
cmp dword [eax + 0x18], ebx
je 0x404586
mov edx, str.DetectBrokenExecutables
mov ecx, edi
call fcn.00406f1e
cmp dword [eax + 0x18], ebx
je 0x404586
or dword [ebp - 8], 0x40
mov edx, str.ScanMail
mov ecx, edi
call fcn.00406f1e
cmp dword [eax + 0x18], ebx
je 0x4045b3
or dword [ebp - 8], 2
mov edx, str.ScanPartialMessages
mov ecx, edi
call fcn.00406f1e
cmp dword [eax + 0x18], ebx
je 0x4045b3
or dword [ebp - 8], 0x40000
mov edx, str.ScanOLE2
mov ecx, edi
call fcn.00406f1e
cmp dword [eax + 0x18], ebx
je 0x4045e0
or dword [ebp - 8], 4
mov edx, str.OLE2BlockMacros
mov ecx, edi
call fcn.00406f1e
cmp dword [eax + 0x18], ebx
je 0x4045e0
or dword [ebp - 8], 0x100000
mov edx, str.ScanPDF
mov ecx, edi
call fcn.00406f1e
cmp dword [eax + 0x18], ebx
je 0x4045f8
or dword [ebp - 8], 0x4000
mov edx, str.ScanSWF
mov ecx, edi
call fcn.00406f1e
cmp dword [eax + 0x18], ebx
je 0x404610
or dword [ebp - 8], 0x400000
mov edx, str.ScanHTML
mov ecx, edi
call fcn.00406f1e
cmp dword [eax + 0x18], ebx
je 0x404625
or dword [ebp - 8], 0x10
mov edx, str.PhishingScanURLs
mov ecx, edi
call fcn.00406f1e
cmp dword [eax + 0x18], ebx
je 0x404666
mov edx, str.PhishingAlwaysBlockCloak
mov ecx, edi
call fcn.00406f1e
cmp dword [eax + 0x18], ebx
je 0x40464e
or dword [ebp - 8], 0x1000
mov edx, str.PhishingAlwaysBlockSSLMismatch
mov ecx, edi
call fcn.00406f1e
cmp dword [eax + 0x18], ebx
je 0x404666
or dword [ebp - 8], 0x800
mov edx, str.PartitionIntersection
mov ecx, edi
call fcn.00406f1e
cmp dword [eax + 0x18], ebx
je 0x40467e
or dword [ebp - 8], 0x800000
mov edx, str.HeuristicScanPrecedence
mov ecx, edi
call fcn.00406f1e
cmp dword [eax + 0x18], ebx
je 0x404696
or dword [ebp - 8], 0x80000
mov edx, str.StructuredDataDetection
mov ecx, edi
call fcn.00406f1e
cmp dword [eax + 0x18], ebx
je 0x40475d
or dword [ebp - 8], 0x8000
mov edx, str.StructuredMinCreditCardCount
mov ecx, edi
call fcn.00406f1e
cmp dword [eax + 0x18], ebx
je 0x4046e5
push dword [eax + 0x14]
push dword [eax + 0x10]
push 4
push esi
call dword [sym.imp.libav.dll_Ordinal_12]
mov edi, eax
add esp, 0x10
mov dword [ebp - 0xc], edi
test edi, edi
jne 0x404228
mov edi, dword [ebp - 0x10]
push ebx
push 4
push esi
call dword [sym.imp.libav.dll_Ordinal_10]
add esp, 0xc
mov edx, str.StructuredMinSSNCount
mov ecx, edi
call fcn.00406f1e
cmp dword [eax + 0x18], ebx
je 0x404720
push dword [eax + 0x14]
push dword [eax + 0x10]
push 5
push esi
call dword [sym.imp.libav.dll_Ordinal_12]
add esp, 0x10
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x404228
push ebx
push 5
push esi
call dword [sym.imp.libav.dll_Ordinal_10]
add esp, 0xc
mov edx, str.StructuredSSNFormatNormal
mov ecx, edi
call fcn.00406f1e
cmp dword [eax + 0x18], ebx
je 0x404745
or dword [ebp - 8], 0x10000
mov edx, str.StructuredSSNFormatStripped
mov ecx, edi
call fcn.00406f1e
cmp dword [eax + 0x18], ebx
je 0x40475d
or dword [ebp - 8], 0x20000
mov edx, str.SelfCheck
mov ecx, edi
call fcn.00406f1e
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x3c], eax
xor eax, eax
mov edi, 0x412c48
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, dword [ebp - 0x10]
mov edx, 0x40f72c
mov ecx, edi
mov dword [ebp - 0x18], eax
call fcn.00406f1e
mov dword [ebp - 0x20], eax
cmp dword [eax + 0x18], ebx
je 0x4047f4
push 2
call dword [sym.imp.MSVCR110.dll__umask]
movzx eax, ax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x20]
mov dword [esp], 0x40f734
push dword [eax + 8]
call dword [sym.imp.MSVCR110.dll_fopen]
pop ecx
pop ecx
mov dword [ebp - 0x20], eax
test eax, eax
je 0x4047e6
push dword [ebp - 0x18]
lea ecx, [ebp - 0x30]
push ecx
push eax
mov dword [ebp - 0x30], 0xa7525
call dword [sym.imp.MSVCR110.dll_fprintf]
add esp, 0xc
push dword [ebp - 0x20]
call dword [sym.imp.MSVCR110.dll_fclose]
pop ecx
mov eax, dword [ebp - 0x2c]
movzx eax, ax
push eax
call dword [sym.imp.MSVCR110.dll__umask]
pop ecx
mov edx, str.MaxThreads
mov ecx, edi
call fcn.00406f1e
mov eax, dword [eax + 0x10]
mov edx, str.MaxQueue
mov ecx, edi
mov dword [ebp - 0x20], eax
call fcn.00406f1e
mov eax, dword [eax + 0x10]
mov edx, str.CommandReadTimeout
mov ecx, edi
mov dword [ebp - 0x44], eax
call fcn.00406f1e
mov eax, dword [eax + 0x10]
mov edx, str.ReadTimeout
mov ecx, edi
mov dword [ebp - 0x6c], eax
call fcn.00406f1e
mov eax, dword [eax + 0x10]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x44]
mov edx, str.ScanOnAccess
mov ecx, edi
mov dword [ebp - 0x70], eax
call fcn.00406f1e
cmp dword [eax + 0x18], ebx
je 0x404867
mov edx, str.IdleTimeout
mov ecx, edi
call fcn.00406f1e
mov edi, dword [eax + 0x10]
jmp 0x40486a
mov edi, dword [ebp - 0x40]
mov eax, ebx
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x38], eax
jbe 0x40489f
mov ecx, dword [ebp - 0x48]
push ebx
mov edx, dword [ecx + eax*4]
push 1
lea ecx, [ebp - 0x9c]
call fcn.004026a9
pop ecx
pop ecx
cmp eax, 0xffffffff
je 0x404228
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp eax, dword [ebp - 0x38]
jb 0x404874
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push ebx
push ebx
push 1
push ebx
call esi
push ebx
push ebx
push 1
push ebx
mov dword [0x412bf0], eax
call esi
push ecx
push dword [ebp - 0x44]
mov ecx, dword [ebp - 0x20]
mov edx, edi
mov dword [0x412bf4], eax
call fcn.0040643a
pop ecx
pop ecx
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x4048dc
push 0xffffffffffffffff
call dword [sym.imp.MSVCR110.dll_exit]
lea eax, [ebp - 0x9c]
push eax
push 0x403a21
lea eax, [ebp - 0xc0]
push ebx
push eax
call dword [sym.imp.libav.dll_Ordinal_44303]
add esp, 0x10
test eax, eax
jne 0x4048d4
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.MSVCR110.dll__time64]
mov esi, dword [ebp - 0x28]
mov edi, dword [ebp - 0xc]
pop ecx
mov ecx, dword [ebp - 0x3c]
or eax, 0xffffffff
test ecx, ecx
cmovne eax, ecx
mov dword [ebp - 0xb8], eax
push dword [ebp - 0x88]
call dword [sym.imp.libav.dll_Ordinal_44297]
pop ecx
lea ecx, [ebp - 0x88]
call fcn.00402559
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x80], eax
ja 0x40494a
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.libav.dll_Ordinal_44307]
pop ecx
push dword [0x412bf4]
mov edx, dword [ebp - 0xb8]
push 1
lea ecx, [ebp - 0x88]
call fcn.0040274a
pop ecx
pop ecx
push dword [0x412bf4]
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
cmp dword [ebp - 0x18], 0xffffffff
jne 0x4049a8
call dword [sym.imp.MSVCR110.dll__errno]
cmp dword [eax], 4
je 0x4049a8
push 0x40f7b4
call dword [sym.imp.libav.dll_Ordinal_44297]
mov dword [0x412bf8], 1
mov dword [esp], 0x40f7b4
call dword [sym.imp.libav.dll_Ordinal_44298]
pop ecx
mov ecx, dword [ebp - 0x80]
test ecx, ecx
je 0x4049be
mov eax, dword [ebp - 0x34]
inc eax
xor edx, edx
div ecx
mov eax, edx
mov dword [ebp - 0x24], eax
jmp 0x4049c1
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], ebx
test ecx, ecx
je 0x404c34
mov edi, ebx
cmp dword [ebp - 0x18], ebx
jl 0x404c31
imul eax, eax, 0x48
add eax, dword [ebp - 0x84]
mov ecx, ebx
mov dword [ebp - 0x2c], ebx
mov edx, dword [eax + 0x14]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], eax
test edx, edx
je 0x404c16
cmp edx, 0xffffffff
jne 0x404a25
cmp dword [eax + 0x1c], 2
jne 0x404a1f
mov ecx, dword [eax + 0x40]
or dword [eax + 0xc], edx
call fcn.00406d57
mov eax, dword [ebp - 0x14]
xor edx, edx
mov ecx, dword [eax + 0x40]
inc edx
call fcn.00406b86
jmp 0x404c16
xor ecx, ecx
inc ecx
mov dword [ebp - 0x1c], ecx
mov edi, dword [eax + 0xc]
mov dword [ebp - 0x34], edi
cmp edi, 0xffffffff
je 0x404a4b
cmp edx, 0xfffffffe
jne 0x404a4b
push str.COMMAND_READ_TIMED_OUT_n
push edi
call fcn.004073f5
mov eax, dword [ebp - 0x14]
pop ecx
pop ecx
xor ecx, ecx
inc ecx
mov dword [ebp - 0x1c], ecx
cmp dword [eax + 0x1c], 3
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x34], edx
jne 0x404a5a
mov dword [eax + 0x1c], ebx
test ecx, ecx
jne 0x404b9a
cmp dword [eax + 0xc], 0xffffffff
je 0x404b96
cmp dword [eax], ebx
je 0x404b96
mov edx, dword [ebp - 0x2c]
cmp edx, dword [eax + 8]
jae 0x404b96
mov edi, dword [eax + 0x1c]
cmp edi, 3
je 0x404b96
push 0x40
lea eax, [ebp - 0x104]
push ebx
push eax
call sub.MSVCR110.dll_memset
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 0x18]
mov dword [ebp - 0xfc], eax
mov eax, dword [edx + 0xc]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0x20]
or dword [edx + 0x18], 0xffffffff
mov dword [ebp - 0xd8], eax
mov eax, dword [edx + 0x40]
mov dword [ebp - 0xcc], eax
mov eax, dword [edx + 0x20]
mov dword [ebp - 0xd4], eax
mov eax, dword [edx + 0x2c]
mov dword [ebp - 0xd0], eax
mov eax, dword [edx + 0x30]
add esp, 0xc
mov dword [ebp - 0x100], eax
mov al, byte [edx + 0x10]
mov dword [ebp - 0xc8], edi
mov edi, dword [ebp - 0xa0]
push edi
mov byte [ebp - 0xdc], al
push ecx
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0xf0], ecx
push eax
lea ecx, [ebp - 0x104]
mov dword [ebp - 0xec], esi
call fcn.00403d20
add esp, 0x10
cmp dword [ebp - 0xc8], ebx
jne 0x404b35
test eax, eax
je 0x404b90
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
jne 0x404ceb
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x1c], 2
jne 0x404b61
mov edx, dword [eax + 8]
test edx, edx
je 0x404b61
mov eax, dword [eax]
mov dword [ebp - 0x1c], 1
mov byte [edx + eax], bl
jmp 0x404cf0
cmp dword [eax + 0x1c], 1
jne 0x404a62
push edi
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
push dword [ebp - 0x10]
mov edx, eax
lea ecx, [ebp - 0x104]
call fcn.00403f78
add esp, 0x10
cmp eax, 0xffffffff
jne 0x404d09
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x404c13
mov ecx, dword [eax + 0x24]
cmp ecx, 0xffffffff
je 0x404bd0
push ecx
call dword [sym.imp.MSVCR110.dll__close]
mov eax, dword [ebp - 0x14]
pop ecx
mov ecx, dword [eax + 0x30]
test ecx, ecx
je 0x404bcc
push ecx
call dword [sym.imp.libav.dll_Ordinal_44219]
mov eax, dword [ebp - 0x14]
pop ecx
push dword [eax + 0x30]
call dword [sym.imp.MSVCR110.dll_free]
mov eax, dword [ebp - 0x14]
pop ecx
or dword [eax + 0x24], 0xffffffff
mov ecx, dword [eax + 0x40]
call fcn.00406d57
mov eax, dword [ebp - 0x14]
xor edx, edx
mov ecx, dword [eax + 0x40]
inc edx
call fcn.00406b86
test eax, eax
mov eax, dword [ebp - 0x14]
je 0x404c0f
mov ecx, dword [eax + 0xc]
test ecx, ecx
js 0x404c0f
push 2
push ecx
call dword [sym.imp.libav.dll_Ordinal_44328]
mov eax, dword [ebp - 0x14]
push dword [eax + 0xc]
call dword [sym.imp.libav.dll_Ordinal_44331]
mov eax, dword [ebp - 0x14]
add esp, 0xc
or dword [eax + 0xc], 0xffffffff
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
inc edi
inc eax
xor edx, edx
div dword [ebp - 0x80]
mov dword [ebp - 0x28], edi
mov eax, edx
mov dword [ebp - 0x24], eax
cmp edi, dword [ebp - 0x80]
jb 0x4049ce
mov edi, dword [ebp - 0xc]
push dword [ebp - 0x88]
call dword [sym.imp.libav.dll_Ordinal_44298]
mov dword [esp], 0x40f7b4
call dword [sym.imp.libav.dll_Ordinal_44297]
pop ecx
push 0x40f7b4
cmp dword [0x412bf8], ebx
jne 0x404df3
call dword [sym.imp.libav.dll_Ordinal_44298]
pop ecx
cmp dword [0x412c00], ebx
je 0x404c9b
call fcn.00407619
mov dword [0x412c00], ebx
cmp dword [0x412c1c], ebx
jne 0x404c9b
mov ecx, dword [ebp - 0x10]
mov edx, str.LogFile
call fcn.00406f1e
cmp dword [eax + 0x18], ebx
je 0x404c9b
mov eax, dword [eax + 8]
mov dword [0x412c1c], eax
cmp dword [ebp - 0x3c], ebx
je 0x404d5a
lea eax, [ebp - 0xac]
push eax
call dword [sym.imp.MSVCR110.dll__time64]
mov eax, dword [ebp - 0xa8]
pop ecx
mov ecx, dword [ebp - 0xac]
sub ecx, dword [ebp - 0x54]
sbb eax, dword [ebp - 0x50]
cmp eax, ebx
jl 0x404d5a
jg 0x404cd7
cmp ecx, dword [ebp - 0x3c]
jb 0x404d5a
mov edi, ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0xc], edi
cmp dword [0x412c54], ebx
jne 0x404d14
mov ecx, esi
jmp 0x404d28
cmp ecx, 0x15
je 0x404d0c
push 0x410078
push 0x412be7
xor edx, edx
lea ecx, [ebp - 0x104]
call fcn.0040508f
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
jmp 0x404a5a
push 0x412c48
call dword [sym.imp.libav.dll_Ordinal_24]
pop ecx
xor ecx, ecx
cmp eax, 1
cmove ecx, esi
test ecx, ecx
je 0x404d4f
push 0x40ec34
call dword [sym.imp.libav.dll_Ordinal_44297]
mov dword [0x412bfc], 1
mov dword [esp], 0x40ec34
call dword [sym.imp.libav.dll_Ordinal_44298]
pop ecx
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.MSVCR110.dll__time64]
pop ecx
push 0x40ec34
call dword [sym.imp.libav.dll_Ordinal_44297]
pop ecx
push 0x40ec34
cmp dword [0x412bfc], ebx
je 0x404dd0
call dword [sym.imp.libav.dll_Ordinal_44298]
mov edx, dword [ebp - 0x40]
pop ecx
lea eax, [ebp - 0xc]
push eax
push ebx
push dword [ebp - 0x10]
mov ecx, esi
call fcn.00403772
mov edi, dword [ebp - 0xc]
add esp, 0xc
mov esi, eax
test edi, edi
jne 0x404ddc
push 0x40ec34
call dword [sym.imp.libav.dll_Ordinal_44297]
mov dword [0x412bfc], ebx
mov dword [esp], 0x412be8
call dword [sym.imp.MSVCR110.dll__time64]
mov dword [esp], 0x40ec34
call dword [sym.imp.libav.dll_Ordinal_44298]
pop ecx
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.MSVCR110.dll__time64]
jmp 0x404dd6
call dword [sym.imp.libav.dll_Ordinal_44298]
pop ecx
jmp 0x40491f
mov eax, dword [ebp - 0x18]
test eax, eax
js 0x404e8e
push eax
call dword [sym.imp.libav.dll_Ordinal_44331]
jmp 0x404e8d
call dword [sym.imp.libav.dll_Ordinal_44298]
pop ecx
push dword [ebp - 0x88]
call dword [sym.imp.libav.dll_Ordinal_44297]
mov eax, ebx
pop ecx
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x80], eax
jbe 0x404e81
mov edi, ebx
mov ecx, dword [ebp - 0x84]
cmp dword [edi + ecx + 0xc], 0xffffffff
je 0x404e72
mov ecx, dword [edi + ecx + 0x40]
call fcn.00406d57
mov ecx, dword [ebp - 0x84]
xor edx, edx
mov ecx, dword [edi + ecx + 0x40]
inc edx
call fcn.00406b86
test eax, eax
je 0x404e6f
mov eax, dword [ebp - 0x84]
push 2
push dword [edi + eax + 0xc]
call dword [sym.imp.libav.dll_Ordinal_44328]
mov eax, dword [ebp - 0x84]
push dword [edi + eax + 0xc]
call dword [sym.imp.libav.dll_Ordinal_44331]
mov eax, dword [ebp - 0x84]
add esp, 0xc
or dword [edi + eax + 0xc], 0xffffffff
mov eax, dword [ebp - 0x18]
inc eax
add edi, 0x48
mov dword [ebp - 0x18], eax
cmp eax, dword [ebp - 0x80]
jb 0x404e13
mov edi, dword [ebp - 0xc]
push dword [ebp - 0x88]
call dword [sym.imp.libav.dll_Ordinal_44298]
pop ecx
push 0x40f7b4
call dword [sym.imp.libav.dll_Ordinal_44297]
mov dword [0x412bf8], 1
mov dword [esp], 0x40f7b4
call dword [sym.imp.libav.dll_Ordinal_44298]
pop ecx
mov ecx, dword [0x412bf0]
call fcn.00406e92
mov ecx, dword [ebp - 0x20]
call fcn.0040635b
test esi, esi
je 0x404ed7
xor ecx, ecx
call fcn.00406713
push esi
call dword [sym.imp.libav.dll_Ordinal_9]
pop ecx
push ebx
push dword [ebp - 0xbc]
push dword [ebp - 0xc0]
call dword [sym.imp.libav.dll_Ordinal_44309]
add esp, 0xc
lea ecx, [ebp - 0x88]
call fcn.00402a00
push dword [ebp - 0x88]
call dword [sym.imp.libav.dll_Ordinal_44299]
pop ecx
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.libav.dll_Ordinal_44308]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
push dword [0x412bf0]
call esi
push dword [0x412bf4]
call esi
cmp dword [0x412c54], ebx
je 0x404f3a
push 0x412c48
call dword [sym.imp.libav.dll_Ordinal_25]
pop ecx
mov esi, dword [ebp - 0x38]
test esi, esi
je 0x404f59
mov edi, dword [ebp - 0x48]
push 2
push dword [edi + ebx*4]
call dword [sym.imp.libav.dll_Ordinal_44328]
inc ebx
pop ecx
pop ecx
cmp ebx, esi
jb 0x404f44
mov edi, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov edx, str.PidFile
call fcn.00406f1e
lea eax, [ebp - 0xac]
push eax
call dword [sym.imp.MSVCR110.dll__time64]
mov eax, edi
pop ecx
pop edi
pop esi
pop ebx
leave
ret