Function at 0x403fb2
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
mov eax, dword [0x40e574]
push ebx
xor ebx, ebx
mov dword [ebp - 0x50], eax
mov eax, dword [0x40e688]
push esi
mov esi, dword [0x40e578]
or ecx, 0xffffffff
mov dword [ebp - 0x4c], eax
push edi
mov edi, dword [0x40ef68]
lea eax, [ebp - 0xac]
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0xa8]
push str.MaxScanSize
push edi
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0xac], ecx
mov dword [ebp - 0xa8], ecx
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x64], ecx
call dword [sym.imp.libav.dll_Ordinal_44283]
pop ecx
pop ecx
cmp dword [eax + 0x1c], ebx
je 0x404092
push dword [eax + 0x14]
push dword [eax + 0x10]
push ebx
push esi
call dword [sym.imp.libav.dll_Ordinal_12]
add esp, 0x10
mov dword [ebp - 0xc], eax
test eax, eax
je 0x404092
push esi
call dword [sym.imp.libav.dll_Ordinal_9]
xor eax, eax
pop ecx
inc eax
jmp 0x404dca
push ebx
push ebx
push esi
call dword [sym.imp.libav.dll_Ordinal_10]
mov ecx, eax
add esp, 0xc
or ecx, edx
je 0x4040b3
push edx
push eax
push str.Limits:_Global_size_limit_set_to__llu_bytes._n
call fcn.00407b4f
add esp, 0xc
push str.MaxFileSize
push edi
call dword [sym.imp.libav.dll_Ordinal_44283]
pop ecx
pop ecx
cmp dword [eax + 0x1c], ebx
je 0x4040df
push dword [eax + 0x14]
push dword [eax + 0x10]
push 1
push esi
call dword [sym.imp.libav.dll_Ordinal_12]
add esp, 0x10
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x404082
push ebx
push 1
push esi
call dword [sym.imp.libav.dll_Ordinal_10]
add esp, 0xc
push str.MaxRecursion
push edi
call dword [sym.imp.libav.dll_Ordinal_44283]
pop ecx
pop ecx
cmp dword [eax + 0x1c], ebx
je 0x40411c
push dword [eax + 0x14]
push dword [eax + 0x10]
push 2
push esi
call dword [sym.imp.libav.dll_Ordinal_12]
add esp, 0x10
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x404082
push ebx
push 2
push esi
call dword [sym.imp.libav.dll_Ordinal_10]
add esp, 0xc
push str.MaxFiles
push edi
call dword [sym.imp.libav.dll_Ordinal_44283]
pop ecx
pop ecx
cmp dword [eax + 0x1c], ebx
je 0x404159
push dword [eax + 0x14]
push dword [eax + 0x10]
push 3
push esi
call dword [sym.imp.libav.dll_Ordinal_12]
add esp, 0x10
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x404082
push ebx
push 3
push esi
call dword [sym.imp.libav.dll_Ordinal_10]
add esp, 0xc
push str.MaxEmbeddedPE
push edi
call dword [sym.imp.libav.dll_Ordinal_44283]
pop ecx
pop ecx
cmp dword [eax + 0x1c], ebx
je 0x404196
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x12
push esi
call dword [sym.imp.libav.dll_Ordinal_12]
add esp, 0x10
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x404082
push ebx
push 0x12
push esi
call dword [sym.imp.libav.dll_Ordinal_10]
add esp, 0xc
push str.MaxHTMLNormalize
push edi
call dword [sym.imp.libav.dll_Ordinal_44283]
pop ecx
pop ecx
cmp dword [eax + 0x1c], ebx
je 0x4041d3
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x13
push esi
call dword [sym.imp.libav.dll_Ordinal_12]
add esp, 0x10
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x404082
push ebx
push 0x13
push esi
call dword [sym.imp.libav.dll_Ordinal_10]
add esp, 0xc
push str.MaxHTMLNoTags
push edi
call dword [sym.imp.libav.dll_Ordinal_44283]
pop ecx
pop ecx
cmp dword [eax + 0x1c], ebx
je 0x404210
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x14
push esi
call dword [sym.imp.libav.dll_Ordinal_12]
add esp, 0x10
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x404082
push ebx
push 0x14
push esi
call dword [sym.imp.libav.dll_Ordinal_10]
add esp, 0xc
push str.MaxScriptNormalize
push edi
call dword [sym.imp.libav.dll_Ordinal_44283]
pop ecx
pop ecx
cmp dword [eax + 0x1c], ebx
je 0x40424d
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x15
push esi
call dword [sym.imp.libav.dll_Ordinal_12]
add esp, 0x10
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x404082
push ebx
push 0x15
push esi
call dword [sym.imp.libav.dll_Ordinal_10]
add esp, 0xc
push str.MaxZipTypeRcg
push edi
call dword [sym.imp.libav.dll_Ordinal_44283]
pop ecx
pop ecx
cmp dword [eax + 0x1c], ebx
je 0x40428a
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x16
push esi
call dword [sym.imp.libav.dll_Ordinal_12]
add esp, 0x10
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x404082
push ebx
push 0x16
push esi
call dword [sym.imp.libav.dll_Ordinal_10]
add esp, 0xc
push str.MaxPartitions
push edi
call dword [sym.imp.libav.dll_Ordinal_44283]
pop ecx
pop ecx
cmp dword [eax + 0x1c], ebx
je 0x4042c7
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x1b
push esi
call dword [sym.imp.libav.dll_Ordinal_12]
add esp, 0x10
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x404082
push ebx
push 0x1b
push esi
call dword [sym.imp.libav.dll_Ordinal_10]
add esp, 0xc
push str.MaxIconsPE
push edi
call dword [sym.imp.libav.dll_Ordinal_44283]
pop ecx
pop ecx
cmp dword [eax + 0x1c], ebx
je 0x404304
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x1c
push esi
call dword [sym.imp.libav.dll_Ordinal_12]
add esp, 0x10
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x404082
push ebx
push 0x1c
push esi
call dword [sym.imp.libav.dll_Ordinal_10]
add esp, 0xc
push str.ScanArchive
push edi
call dword [sym.imp.libav.dll_Ordinal_44283]
pop ecx
pop ecx
cmp dword [eax + 0x18], ebx
je 0x404348
push str.ArchiveBlockEncrypted
push edi
mov dword [ebp - 8], 1
call dword [sym.imp.libav.dll_Ordinal_44283]
cmp dword [eax + 0x18], ebx
mov eax, dword [ebp - 8]
pop ecx
pop ecx
push 9
pop ecx
cmovne eax, ecx
mov dword [ebp - 8], eax
push str.AlgorithmicDetection
push edi
call dword [sym.imp.libav.dll_Ordinal_44283]
pop ecx
pop ecx
cmp dword [eax + 0x18], ebx
je 0x404362
or dword [ebp - 8], 0x200
push str.ScanPE
push edi
call dword [sym.imp.libav.dll_Ordinal_44283]
pop ecx
pop ecx
cmp dword [eax + 0x18], ebx
je 0x404379
or dword [ebp - 8], 0x20
push str.ScanELF
push edi
call dword [sym.imp.libav.dll_Ordinal_44283]
pop ecx
pop ecx
cmp dword [eax + 0x18], ebx
je 0x404393
or dword [ebp - 8], 0x2000
push str.ScanPE
push edi
call dword [sym.imp.libav.dll_Ordinal_44283]
pop ecx
pop ecx
cmp dword [eax + 0x18], ebx
jne 0x4043b9
push str.ScanELF
push edi
call dword [sym.imp.libav.dll_Ordinal_44283]
pop ecx
pop ecx
cmp dword [eax + 0x18], ebx
je 0x4043d0
push str.DetectBrokenExecutables
push edi
call dword [sym.imp.libav.dll_Ordinal_44283]
pop ecx
pop ecx
cmp dword [eax + 0x18], ebx
je 0x4043d0
or dword [ebp - 8], 0x40
push str.ScanMail
push edi
call dword [sym.imp.libav.dll_Ordinal_44283]
pop ecx
pop ecx
cmp dword [eax + 0x18], ebx
je 0x404401
or dword [ebp - 8], 2
push str.ScanPartialMessages
push edi
call dword [sym.imp.libav.dll_Ordinal_44283]
pop ecx
pop ecx
cmp dword [eax + 0x18], ebx
je 0x404401
or dword [ebp - 8], 0x40000
push str.ScanOLE2
push edi
call dword [sym.imp.libav.dll_Ordinal_44283]
pop ecx
pop ecx
cmp dword [eax + 0x18], ebx
je 0x404432
or dword [ebp - 8], 4
push str.OLE2BlockMacros
push edi
call dword [sym.imp.libav.dll_Ordinal_44283]
pop ecx
pop ecx
cmp dword [eax + 0x18], ebx
je 0x404432
or dword [ebp - 8], 0x100000
push str.ScanPDF
push edi
call dword [sym.imp.libav.dll_Ordinal_44283]
pop ecx
pop ecx
cmp dword [eax + 0x18], ebx
je 0x40444c
or dword [ebp - 8], 0x4000
push str.ScanSWF
push edi
call dword [sym.imp.libav.dll_Ordinal_44283]
pop ecx
pop ecx
cmp dword [eax + 0x18], ebx
je 0x404466
or dword [ebp - 8], 0x400000
push str.ScanHTML
push edi
call dword [sym.imp.libav.dll_Ordinal_44283]
pop ecx
pop ecx
cmp dword [eax + 0x18], ebx
je 0x40447d
or dword [ebp - 8], 0x10
push str.PhishingScanURLs
push edi
call dword [sym.imp.libav.dll_Ordinal_44283]
pop ecx
pop ecx
cmp dword [eax + 0x18], ebx
je 0x4044c4
push str.PhishingAlwaysBlockCloak
push edi
call dword [sym.imp.libav.dll_Ordinal_44283]
pop ecx
pop ecx
cmp dword [eax + 0x18], ebx
je 0x4044aa
or dword [ebp - 8], 0x1000
push str.PhishingAlwaysBlockSSLMismatch
push edi
call dword [sym.imp.libav.dll_Ordinal_44283]
pop ecx
pop ecx
cmp dword [eax + 0x18], ebx
je 0x4044c4
or dword [ebp - 8], 0x800
push str.PartitionIntersection
push edi
call dword [sym.imp.libav.dll_Ordinal_44283]
pop ecx
pop ecx
cmp dword [eax + 0x18], ebx
je 0x4044de
or dword [ebp - 8], 0x800000
push str.HeuristicScanPrecedence
push edi
call dword [sym.imp.libav.dll_Ordinal_44283]
pop ecx
pop ecx
cmp dword [eax + 0x18], ebx
je 0x4044f8
or dword [ebp - 8], 0x80000
push str.StructuredDataDetection
push edi
call dword [sym.imp.libav.dll_Ordinal_44283]
pop ecx
pop ecx
cmp dword [eax + 0x18], ebx
je 0x4045c4
or dword [ebp - 8], 0x8000
push str.StructuredMinCreditCardCount
push edi
call dword [sym.imp.libav.dll_Ordinal_44283]
pop ecx
pop ecx
cmp dword [eax + 0x18], ebx
je 0x404546
push dword [eax + 0x14]
push dword [eax + 0x10]
push 4
push esi
call dword [sym.imp.libav.dll_Ordinal_12]
add esp, 0x10
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x404082
push ebx
push 4
push esi
call dword [sym.imp.libav.dll_Ordinal_10]
add esp, 0xc
push str.StructuredMinSSNCount
push edi
call dword [sym.imp.libav.dll_Ordinal_44283]
pop ecx
pop ecx
cmp dword [eax + 0x18], ebx
je 0x404583
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 0x404082
push ebx
push 5
push esi
call dword [sym.imp.libav.dll_Ordinal_10]
add esp, 0xc
push str.StructuredSSNFormatNormal
push edi
call dword [sym.imp.libav.dll_Ordinal_44283]
pop ecx
pop ecx
cmp dword [eax + 0x18], ebx
je 0x4045aa
or dword [ebp - 8], 0x10000
push str.StructuredSSNFormatStripped
push edi
call dword [sym.imp.libav.dll_Ordinal_44283]
pop ecx
pop ecx
cmp dword [eax + 0x18], ebx
je 0x4045c4
or dword [ebp - 8], 0x20000
push str.SelfCheck
push edi
call dword [sym.imp.libav.dll_Ordinal_44283]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x48], eax
xor eax, eax
mov edi, 0x40e6fc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop ecx
pop ecx
stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, dword [ebp - 0x30]
push str.PidFile
push edi
mov dword [ebp - 0x34], eax
call dword [sym.imp.libav.dll_Ordinal_44283]
pop ecx
pop ecx
mov dword [ebp - 0x1c], eax
cmp dword [eax + 0x18], ebx
je 0x40465f
push 2
call dword [sym.imp.MSVCR110.dll__umask]
movzx eax, ax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], 0x40c6bc
push dword [eax + 8]
call dword [sym.imp.MSVCR110.dll_fopen]
pop ecx
pop ecx
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x404651
push dword [ebp - 0x34]
lea ecx, [ebp - 0x28]
push ecx
push eax
mov dword [ebp - 0x28], 0xa7525
call dword [sym.imp.MSVCR110.dll_fprintf]
add esp, 0xc
push dword [ebp - 0x1c]
call dword [sym.imp.MSVCR110.dll_fclose]
pop ecx
mov eax, dword [ebp - 0x14]
movzx eax, ax
push eax
call dword [sym.imp.MSVCR110.dll__umask]
pop ecx
push str.MaxThreads
push edi
call dword [sym.imp.libav.dll_Ordinal_44283]
mov eax, dword [eax + 0x10]
push str.MaxQueue
push edi
mov dword [ebp - 0x1c], eax
call dword [sym.imp.libav.dll_Ordinal_44283]
mov eax, dword [eax + 0x10]
push str.CommandReadTimeout
push edi
mov dword [ebp - 0x3c], eax
call dword [sym.imp.libav.dll_Ordinal_44283]
mov eax, dword [eax + 0x10]
push str.ReadTimeout
push edi
mov dword [ebp - 0x74], eax
call dword [sym.imp.libav.dll_Ordinal_44283]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x3c]
push str.ScanOnAccess
push edi
mov dword [ebp - 0x78], eax
call dword [sym.imp.libav.dll_Ordinal_44283]
add esp, 0x28
cmp dword [eax + 0x18], ebx
je 0x4046d4
push str.IdleTimeout
push edi
call dword [sym.imp.libav.dll_Ordinal_44283]
mov eax, dword [eax + 0x10]
pop ecx
pop ecx
jmp 0x4046d7
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x14], eax
mov eax, ebx
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x38], eax
jbe 0x40470f
mov ecx, dword [ebp - 0x4c]
push ebx
mov edx, dword [ecx + eax*4]
push 1
lea ecx, [ebp - 0xa4]
call fcn.00402585
pop ecx
pop ecx
cmp eax, 0xffffffff
je 0x404082
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp eax, dword [ebp - 0x38]
jb 0x4046e4
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 [0x40e698], eax
call esi
mov edx, dword [ebp - 0x14]
push ecx
push dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x1c]
mov dword [0x40e69c], eax
call fcn.0040632d
pop ecx
pop ecx
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x40474d
push 0xffffffffffffffff
call dword [sym.imp.MSVCR110.dll_exit]
lea eax, [ebp - 0xa4]
push eax
push 0x40386f
lea eax, [ebp - 0xbc]
push ebx
push eax
call dword [sym.imp.libav.dll_Ordinal_44303]
add esp, 0x10
test eax, eax
jne 0x404745
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.MSVCR110.dll__time64]
mov esi, dword [ebp - 0x24]
pop ecx
mov ecx, dword [ebp - 0x48]
or eax, 0xffffffff
test ecx, ecx
cmovne eax, ecx
mov dword [ebp - 0x44], eax
push dword [ebp - 0x90]
call dword [sym.imp.libav.dll_Ordinal_44297]
pop ecx
lea ecx, [ebp - 0x90]
call fcn.004023f9
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x88], eax
ja 0x4047b8
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.libav.dll_Ordinal_44307]
pop ecx
push dword [0x40e69c]
mov edx, dword [ebp - 0x44]
push 1
lea ecx, [ebp - 0x90]
call fcn.00402691
pop ecx
pop ecx
push dword [0x40e69c]
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
cmp dword [ebp - 0x14], 0xffffffff
jne 0x404813
call dword [sym.imp.MSVCR110.dll__errno]
cmp dword [eax], 4
je 0x404813
push 0x40e02c
call dword [sym.imp.libav.dll_Ordinal_44297]
mov dword [0x40e6a0], 1
mov dword [esp], 0x40e02c
call dword [sym.imp.libav.dll_Ordinal_44298]
pop ecx
mov ecx, dword [ebp - 0x88]
test ecx, ecx
je 0x40482c
mov eax, dword [ebp - 0x2c]
inc eax
xor edx, edx
div ecx
mov eax, edx
mov dword [ebp - 0x20], eax
jmp 0x40482f
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], ebx
test ecx, ecx
je 0x404a9f
cmp dword [ebp - 0x14], ebx
jl 0x404a9f
imul eax, eax, 0x48
add eax, dword [ebp - 0x8c]
mov ecx, ebx
mov dword [ebp - 0x40], ebx
mov edx, dword [eax + 0x14]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], eax
test edx, edx
je 0x404a80
cmp edx, 0xffffffff
jne 0x404891
cmp dword [eax + 0x1c], 2
jne 0x40488b
mov ecx, dword [eax + 0x40]
or dword [eax + 0xc], edx
call fcn.00406beb
mov eax, dword [ebp - 0x10]
xor edx, edx
mov ecx, dword [eax + 0x40]
inc edx
call fcn.00406a1a
jmp 0x404a80
xor ecx, ecx
inc ecx
mov dword [ebp - 0x18], ecx
mov edi, dword [eax + 0xc]
mov dword [ebp - 0x2c], edi
cmp edi, 0xffffffff
mov edi, dword [ebp - 0x30]
je 0x4048bc
cmp edx, 0xfffffffe
jne 0x4048bc
push str.COMMAND_READ_TIMED_OUT_n
push dword [ebp - 0x2c]
call fcn.004078f8
mov eax, dword [ebp - 0x10]
pop ecx
pop ecx
xor ecx, ecx
inc ecx
mov dword [ebp - 0x18], ecx
cmp dword [eax + 0x1c], 3
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x2c], edx
jne 0x4048cb
mov dword [eax + 0x1c], ebx
test ecx, ecx
jne 0x404a07
cmp dword [eax + 0xc], 0xffffffff
je 0x404a03
cmp dword [eax], ebx
je 0x404a03
mov edx, dword [ebp - 0x40]
cmp edx, dword [eax + 8]
jae 0x404a03
cmp dword [eax + 0x1c], 3
je 0x404a03
push 0x40
lea eax, [ebp - 0xfc]
push ebx
push eax
call sub.MSVCR110.dll_memset
mov ecx, dword [ebp - 0x10]
add esp, 0xc
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0xf4], eax
mov eax, dword [ecx + 0xc]
push dword [ebp - 0x34]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0x1c]
or dword [ecx + 0x18], 0xffffffff
mov dword [ebp - 0xd0], eax
mov eax, dword [ecx + 0x40]
mov dword [ebp - 0xc4], eax
mov eax, dword [ecx + 0x20]
mov dword [ebp - 0xcc], eax
mov eax, dword [ecx + 0x2c]
mov dword [ebp - 0xc8], eax
mov eax, dword [ecx + 0x30]
mov dword [ebp - 0xf8], eax
mov eax, dword [ecx + 0x1c]
mov dword [ebp - 0xc0], eax
mov al, byte [ecx + 0x10]
mov byte [ebp - 0xd4], al
push edi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x40]
mov edx, ecx
push eax
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0xe8], edi
mov dword [ebp - 0xe4], esi
call fcn.00403b6e
add esp, 0x10
cmp dword [ebp - 0xc0], ebx
jne 0x4049a2
test eax, eax
je 0x4049fd
mov ecx, dword [ebp - 0x18]
test ecx, ecx
jne 0x404bf3
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x1c], 2
jne 0x4049ce
mov edx, dword [eax + 8]
test edx, edx
je 0x4049ce
mov eax, dword [eax]
mov dword [ebp - 0x18], 1
mov byte [edx + eax], bl
jmp 0x404bf8
cmp dword [eax + 0x1c], 1
jne 0x4048d3
push dword [ebp - 0x34]
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push edi
mov edx, eax
lea ecx, [ebp - 0xfc]
call fcn.00403dc9
add esp, 0x10
cmp eax, 0xffffffff
jne 0x404c11
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x404a80
mov ecx, dword [eax + 0x24]
cmp ecx, 0xffffffff
je 0x404a3d
push ecx
call dword [sym.imp.MSVCR110.dll__close]
mov eax, dword [ebp - 0x10]
pop ecx
mov ecx, dword [eax + 0x30]
test ecx, ecx
je 0x404a39
push ecx
call dword [sym.imp.libav.dll_Ordinal_44219]
mov eax, dword [ebp - 0x10]
pop ecx
push dword [eax + 0x30]
call dword [sym.imp.MSVCR110.dll_free]
mov eax, dword [ebp - 0x10]
pop ecx
or dword [eax + 0x24], 0xffffffff
mov ecx, dword [eax + 0x40]
call fcn.00406beb
mov eax, dword [ebp - 0x10]
xor edx, edx
mov ecx, dword [eax + 0x40]
inc edx
call fcn.00406a1a
test eax, eax
mov eax, dword [ebp - 0x10]
je 0x404a7c
mov ecx, dword [eax + 0xc]
test ecx, ecx
js 0x404a7c
push 2
push ecx
call dword [sym.imp.libav.dll_Ordinal_44328]
mov eax, dword [ebp - 0x10]
push dword [eax + 0xc]
call dword [sym.imp.libav.dll_Ordinal_44331]
mov eax, dword [ebp - 0x10]
add esp, 0xc
or dword [eax + 0xc], 0xffffffff
mov eax, dword [ebp - 0x20]
inc dword [ebp - 0x24]
mov ecx, dword [ebp - 0x88]
inc eax
xor edx, edx
div ecx
mov eax, edx
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x24], ecx
jb 0x40483a
push dword [ebp - 0x90]
call dword [sym.imp.libav.dll_Ordinal_44298]
mov dword [esp], 0x40e02c
call dword [sym.imp.libav.dll_Ordinal_44297]
pop ecx
push 0x40e02c
cmp dword [0x40e6a0], ebx
jne 0x404c3f
call dword [sym.imp.libav.dll_Ordinal_44298]
pop ecx
cmp dword [0x40e6a8], ebx
je 0x404b07
call fcn.00407b1c
mov dword [0x40e6a8], ebx
cmp dword [0x40e6c8], ebx
jne 0x404b07
push str.LogFile
push edi
call dword [sym.imp.libav.dll_Ordinal_44283]
pop ecx
pop ecx
cmp dword [eax + 0x18], ebx
je 0x404b07
mov eax, dword [eax + 8]
mov dword [0x40e6c8], eax
cmp dword [ebp - 0x48], ebx
je 0x404b7d
lea eax, [ebp - 0xb4]
push eax
call dword [sym.imp.MSVCR110.dll__time64]
mov eax, dword [ebp - 0xb0]
pop ecx
mov ecx, dword [ebp - 0xb4]
sub ecx, dword [ebp - 0x5c]
sbb eax, dword [ebp - 0x58]
cmp eax, ebx
jl 0x404b7d
jg 0x404b37
cmp ecx, dword [ebp - 0x48]
jb 0x404b7d
mov edx, dword [ebp - 0x50]
lea eax, [ebp - 0xc]
push eax
push 1
push edi
mov ecx, esi
call fcn.004035bc
add esp, 0xc
test eax, eax
je 0x404b72
push 0x40e024
call dword [sym.imp.libav.dll_Ordinal_44297]
mov dword [0x40e6a4], 1
mov dword [esp], 0x40e024
call dword [sym.imp.libav.dll_Ordinal_44298]
pop ecx
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.MSVCR110.dll__time64]
pop ecx
push 0x40e024
call dword [sym.imp.libav.dll_Ordinal_44297]
pop ecx
push 0x40e024
cmp dword [0x40e6a4], ebx
je 0x404c1c
call dword [sym.imp.libav.dll_Ordinal_44298]
mov edx, dword [ebp - 0x50]
pop ecx
lea eax, [ebp - 0xc]
push eax
push ebx
push edi
mov ecx, esi
call fcn.004035bc
add esp, 0xc
mov esi, eax
cmp dword [ebp - 0xc], ebx
jne 0x404c28
push 0x40e024
call dword [sym.imp.libav.dll_Ordinal_44297]
mov dword [0x40e6a4], ebx
mov dword [esp], 0x40e690
call dword [sym.imp.MSVCR110.dll__time64]
mov dword [esp], 0x40e024
call dword [sym.imp.libav.dll_Ordinal_44298]
pop ecx
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.MSVCR110.dll__time64]
jmp 0x404c22
cmp ecx, 0x15
je 0x404c14
push str.ERROR
push 0x40c158
xor edx, edx
lea ecx, [ebp - 0xfc]
call fcn.00404ee3
pop ecx
pop ecx
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
jmp 0x4048cb
call dword [sym.imp.libav.dll_Ordinal_44298]
pop ecx
jmp 0x40478a
mov eax, dword [ebp - 0x14]
test eax, eax
js 0x404ce0
push eax
call dword [sym.imp.libav.dll_Ordinal_44331]
jmp 0x404cdf
call dword [sym.imp.libav.dll_Ordinal_44298]
pop ecx
push dword [ebp - 0x90]
call dword [sym.imp.libav.dll_Ordinal_44297]
mov eax, ebx
pop ecx
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x88], eax
jbe 0x404cd3
mov edi, ebx
mov ecx, dword [ebp - 0x8c]
cmp dword [edi + ecx + 0xc], 0xffffffff
je 0x404cc1
mov ecx, dword [edi + ecx + 0x40]
call fcn.00406beb
mov ecx, dword [ebp - 0x8c]
xor edx, edx
mov ecx, dword [edi + ecx + 0x40]
inc edx
call fcn.00406a1a
test eax, eax
je 0x404cbe
mov eax, dword [ebp - 0x8c]
push 2
push dword [edi + eax + 0xc]
call dword [sym.imp.libav.dll_Ordinal_44328]
mov eax, dword [ebp - 0x8c]
push dword [edi + eax + 0xc]
call dword [sym.imp.libav.dll_Ordinal_44331]
mov eax, dword [ebp - 0x8c]
add esp, 0xc
or dword [edi + eax + 0xc], 0xffffffff
mov eax, dword [ebp - 0x14]
inc eax
add edi, 0x48
mov dword [ebp - 0x14], eax
cmp eax, dword [ebp - 0x88]
jb 0x404c62
mov edi, dword [ebp - 0x30]
push dword [ebp - 0x90]
call dword [sym.imp.libav.dll_Ordinal_44298]
pop ecx
push 0x40e02c
call dword [sym.imp.libav.dll_Ordinal_44297]
mov dword [0x40e6a0], 1
mov dword [esp], 0x40e02c
call dword [sym.imp.libav.dll_Ordinal_44298]
pop ecx
mov ecx, dword [0x40e698]
call fcn.0040727f
mov ecx, dword [ebp - 0x1c]
call fcn.0040624e
test esi, esi
je 0x404d29
xor ecx, ecx
call fcn.004065d8
push esi
call dword [sym.imp.libav.dll_Ordinal_9]
pop ecx
push ebx
push dword [ebp - 0xb8]
push dword [ebp - 0xbc]
call dword [sym.imp.libav.dll_Ordinal_44309]
add esp, 0xc
lea ecx, [ebp - 0x90]
call fcn.00402898
push dword [ebp - 0x90]
call dword [sym.imp.libav.dll_Ordinal_44299]
pop ecx
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.libav.dll_Ordinal_44308]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
push dword [0x40e698]
call esi
push dword [0x40e69c]
call esi
cmp dword [0x40e708], ebx
je 0x404d8c
push 0x40e6fc
call dword [sym.imp.libav.dll_Ordinal_25]
pop ecx
mov esi, dword [ebp - 0x38]
test esi, esi
je 0x404dab
mov edi, dword [ebp - 0x4c]
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 0x404d96
mov edi, dword [ebp - 0x30]
push str.PidFile
push edi
call dword [sym.imp.libav.dll_Ordinal_44283]
lea eax, [ebp - 0xb4]
push eax
call dword [sym.imp.MSVCR110.dll__time64]
mov eax, dword [ebp - 0xc]
add esp, 0xc
pop edi
pop esi
pop ebx
leave
ret