Function at 0x403ef9
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
mov eax, dword [0x40e574]
mov dword [ebp - 0x50], eax
mov eax, dword [0x40e688]
or ecx, 0xffffffff
push ebx
xor ebx, ebx
mov dword [ebp - 0x4c], eax
push esi
mov esi, dword [0x40e578]
lea eax, [ebp - 0xac]
push edi
mov edi, dword [0x40ef68]
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x38], edx
mov dword [ebp - 0xac], ecx
mov dword [ebp - 0xa8], ecx
lea eax, [ebp - 0xa8]
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x64], ecx
mov edx, str.MaxScanSize
mov ecx, edi
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 - 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 - 0x78], ebx
mov dword [ebp - 0x74], ebx
call fcn.004071e5
cmp dword [eax + 0x1c], ebx
je 0x403fd7
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 0x403fd7
push esi
call dword [sym.imp.libav.dll_Ordinal_9]
xor eax, eax
pop ecx
inc eax
jmp 0x404ca0
push ebx
push ebx
push esi
call dword [sym.imp.libav.dll_Ordinal_10]
mov ecx, eax
add esp, 0xc
or ecx, edx
je 0x403ff8
push edx
push eax
push str.Limits:_Global_size_limit_set_to__llu_bytes._n
call fcn.00407aa5
add esp, 0xc
mov edx, str.MaxFileSize
mov ecx, edi
call fcn.004071e5
cmp dword [eax + 0x1c], ebx
je 0x404022
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 0x403fc7
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.004071e5
cmp dword [eax + 0x1c], ebx
je 0x40405d
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 0x403fc7
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.004071e5
cmp dword [eax + 0x1c], ebx
je 0x404098
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 0x403fc7
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.004071e5
cmp dword [eax + 0x1c], ebx
je 0x4040d3
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 0x403fc7
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.004071e5
cmp dword [eax + 0x1c], ebx
je 0x40410e
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 0x403fc7
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.004071e5
cmp dword [eax + 0x1c], ebx
je 0x404149
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 0x403fc7
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.004071e5
cmp dword [eax + 0x1c], ebx
je 0x404184
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 0x403fc7
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.004071e5
cmp dword [eax + 0x1c], ebx
je 0x4041bf
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 0x403fc7
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.004071e5
cmp dword [eax + 0x1c], ebx
je 0x4041fa
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 0x403fc7
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.004071e5
cmp dword [eax + 0x1c], ebx
je 0x404235
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 0x403fc7
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.004071e5
cmp dword [eax + 0x18], ebx
je 0x404275
mov edx, str.ArchiveBlockEncrypted
mov ecx, edi
mov dword [ebp - 8], 1
call fcn.004071e5
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.004071e5
cmp dword [eax + 0x18], ebx
je 0x40428d
or dword [ebp - 8], 0x200
mov edx, str.ScanPE
mov ecx, edi
call fcn.004071e5
cmp dword [eax + 0x18], ebx
je 0x4042a2
or dword [ebp - 8], 0x20
mov edx, str.ScanELF
mov ecx, edi
call fcn.004071e5
cmp dword [eax + 0x18], ebx
je 0x4042ba
or dword [ebp - 8], 0x2000
mov edx, str.ScanPE
mov ecx, edi
call fcn.004071e5
cmp dword [eax + 0x18], ebx
jne 0x4042dc
mov edx, str.ScanELF
mov ecx, edi
call fcn.004071e5
cmp dword [eax + 0x18], ebx
je 0x4042f1
mov edx, str.DetectBrokenExecutables
mov ecx, edi
call fcn.004071e5
cmp dword [eax + 0x18], ebx
je 0x4042f1
or dword [ebp - 8], 0x40
mov edx, str.ScanMail
mov ecx, edi
call fcn.004071e5
cmp dword [eax + 0x18], ebx
je 0x40431e
or dword [ebp - 8], 2
mov edx, str.ScanPartialMessages
mov ecx, edi
call fcn.004071e5
cmp dword [eax + 0x18], ebx
je 0x40431e
or dword [ebp - 8], 0x40000
mov edx, str.ScanOLE2
mov ecx, edi
call fcn.004071e5
cmp dword [eax + 0x18], ebx
je 0x40434b
or dword [ebp - 8], 4
mov edx, str.OLE2BlockMacros
mov ecx, edi
call fcn.004071e5
cmp dword [eax + 0x18], ebx
je 0x40434b
or dword [ebp - 8], 0x100000
mov edx, str.ScanPDF
mov ecx, edi
call fcn.004071e5
cmp dword [eax + 0x18], ebx
je 0x404363
or dword [ebp - 8], 0x4000
mov edx, str.ScanSWF
mov ecx, edi
call fcn.004071e5
cmp dword [eax + 0x18], ebx
je 0x40437b
or dword [ebp - 8], 0x400000
mov edx, str.ScanHTML
mov ecx, edi
call fcn.004071e5
cmp dword [eax + 0x18], ebx
je 0x404390
or dword [ebp - 8], 0x10
mov edx, str.PhishingScanURLs
mov ecx, edi
call fcn.004071e5
cmp dword [eax + 0x18], ebx
je 0x4043d1
mov edx, str.PhishingAlwaysBlockCloak
mov ecx, edi
call fcn.004071e5
cmp dword [eax + 0x18], ebx
je 0x4043b9
or dword [ebp - 8], 0x1000
mov edx, str.PhishingAlwaysBlockSSLMismatch
mov ecx, edi
call fcn.004071e5
cmp dword [eax + 0x18], ebx
je 0x4043d1
or dword [ebp - 8], 0x800
mov edx, str.PartitionIntersection
mov ecx, edi
call fcn.004071e5
cmp dword [eax + 0x18], ebx
je 0x4043e9
or dword [ebp - 8], 0x800000
mov edx, str.HeuristicScanPrecedence
mov ecx, edi
call fcn.004071e5
cmp dword [eax + 0x18], ebx
je 0x404401
or dword [ebp - 8], 0x80000
mov edx, str.StructuredDataDetection
mov ecx, edi
call fcn.004071e5
cmp dword [eax + 0x18], ebx
je 0x4044c3
or dword [ebp - 8], 0x8000
mov edx, str.StructuredMinCreditCardCount
mov ecx, edi
call fcn.004071e5
cmp dword [eax + 0x18], ebx
je 0x40444b
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 0x403fc7
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.004071e5
cmp dword [eax + 0x18], ebx
je 0x404486
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 0x403fc7
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.004071e5
cmp dword [eax + 0x18], ebx
je 0x4044ab
or dword [ebp - 8], 0x10000
mov edx, str.StructuredSSNFormatStripped
mov ecx, edi
call fcn.004071e5
cmp dword [eax + 0x18], ebx
je 0x4044c3
or dword [ebp - 8], 0x20000
mov edx, str.SelfCheck
mov ecx, edi
call fcn.004071e5
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
stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, dword [ebp - 0x30]
mov edx, str.PidFile
mov ecx, edi
mov dword [ebp - 0x34], eax
call fcn.004071e5
mov dword [ebp - 0x1c], eax
cmp dword [eax + 0x18], ebx
je 0x40455a
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], 0x40c690
push dword [eax + 8]
call dword [sym.imp.MSVCR110.dll_fopen]
pop ecx
pop ecx
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x40454c
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
mov edx, str.MaxThreads
mov ecx, edi
call fcn.004071e5
mov eax, dword [eax + 0x10]
mov edx, str.MaxQueue
mov ecx, edi
mov dword [ebp - 0x1c], eax
call fcn.004071e5
mov eax, dword [eax + 0x10]
mov edx, str.CommandReadTimeout
mov ecx, edi
mov dword [ebp - 0x3c], eax
call fcn.004071e5
mov eax, dword [eax + 0x10]
mov edx, str.ReadTimeout
mov ecx, edi
mov dword [ebp - 0x74], eax
call fcn.004071e5
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x3c]
mov edx, str.ScanOnAccess
mov ecx, edi
mov dword [ebp - 0x78], eax
call fcn.004071e5
cmp dword [eax + 0x18], ebx
je 0x4045ca
mov edx, str.IdleTimeout
mov ecx, edi
call fcn.004071e5
mov eax, dword [eax + 0x10]
jmp 0x4045cd
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x14], eax
mov eax, ebx
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x38], eax
jbe 0x404605
mov ecx, dword [ebp - 0x4c]
push ebx
mov edx, dword [ecx + eax*4]
push 1
lea ecx, [ebp - 0xa4]
call fcn.0040254b
pop ecx
pop ecx
cmp eax, 0xffffffff
je 0x403fc7
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp eax, dword [ebp - 0x38]
jb 0x4045da
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.004061bd
pop ecx
pop ecx
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x404643
push 0xffffffffffffffff
call dword [sym.imp.MSVCR110.dll_exit]
lea eax, [ebp - 0xa4]
push eax
push 0x4037e9
lea eax, [ebp - 0xbc]
push ebx
push eax
call dword [sym.imp.libav.dll_Ordinal_44303]
add esp, 0x10
test eax, eax
jne 0x40463b
lea ecx, [ebp - 0x5c]
call fcn.00401000
mov ecx, dword [ebp - 0x48]
mov esi, dword [ebp - 0x24]
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.004023c1
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x88], eax
ja 0x4046ab
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.00402648
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 0x404706
call dword [sym.imp.MSVCR110.dll__errno]
cmp dword [eax], 4
je 0x404706
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 0x40471f
mov eax, dword [ebp - 0x2c]
inc eax
xor edx, edx
div ecx
mov eax, edx
mov dword [ebp - 0x20], eax
jmp 0x404722
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], ebx
test ecx, ecx
je 0x404992
cmp dword [ebp - 0x14], ebx
jl 0x404992
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 0x404973
cmp edx, 0xffffffff
jne 0x404784
cmp dword [eax + 0x1c], 2
jne 0x40477e
mov ecx, dword [eax + 0x40]
or dword [eax + 0xc], edx
call fcn.00406a57
mov eax, dword [ebp - 0x10]
xor edx, edx
mov ecx, dword [eax + 0x40]
inc edx
call fcn.00406888
jmp 0x404973
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 0x4047af
cmp edx, 0xfffffffe
jne 0x4047af
push str.COMMAND_READ_TIMED_OUT_n
push dword [ebp - 0x2c]
call fcn.0040784e
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 0x4047be
mov dword [eax + 0x1c], ebx
test ecx, ecx
jne 0x4048fa
cmp dword [eax + 0xc], 0xffffffff
je 0x4048f6
cmp dword [eax], ebx
je 0x4048f6
mov edx, dword [ebp - 0x40]
cmp edx, dword [eax + 8]
jae 0x4048f6
cmp dword [eax + 0x1c], 3
je 0x4048f6
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.00403ae8
add esp, 0x10
cmp dword [ebp - 0xc0], ebx
jne 0x404895
test eax, eax
je 0x4048f0
mov ecx, dword [ebp - 0x18]
test ecx, ecx
jne 0x404ad7
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x1c], 2
jne 0x4048c1
mov edx, dword [eax + 8]
test edx, edx
je 0x4048c1
mov eax, dword [eax]
mov dword [ebp - 0x18], 1
mov byte [edx + eax], bl
jmp 0x404adc
cmp dword [eax + 0x1c], 1
jne 0x4047c6
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.00403d2b
add esp, 0x10
cmp eax, 0xffffffff
jne 0x404aec
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x404973
mov ecx, dword [eax + 0x24]
cmp ecx, 0xffffffff
je 0x404930
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 0x40492c
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.00406a57
mov eax, dword [ebp - 0x10]
xor edx, edx
mov ecx, dword [eax + 0x40]
inc edx
call fcn.00406888
test eax, eax
mov eax, dword [ebp - 0x10]
je 0x40496f
mov ecx, dword [eax + 0xc]
test ecx, ecx
js 0x40496f
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 0x40472d
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 0x404b1a
call dword [sym.imp.libav.dll_Ordinal_44298]
pop ecx
cmp dword [0x40e6a8], ebx
je 0x4049f8
call fcn.00407a72
mov dword [0x40e6a8], ebx
cmp dword [0x40e6c8], ebx
jne 0x4049f8
mov edx, str.LogFile
mov ecx, edi
call fcn.004071e5
cmp dword [eax + 0x18], ebx
je 0x4049f8
mov eax, dword [eax + 8]
mov dword [0x40e6c8], eax
cmp dword [ebp - 0x48], ebx
je 0x404a68
lea ecx, [ebp - 0xb4]
call fcn.00401000
mov ecx, dword [ebp - 0xb4]
sub ecx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0xb0]
sbb eax, dword [ebp - 0x58]
cmp eax, ebx
jl 0x404a68
jg 0x404a25
cmp ecx, dword [ebp - 0x48]
jb 0x404a68
mov edx, dword [ebp - 0x50]
lea eax, [ebp - 0xc]
push eax
push 1
push edi
mov ecx, esi
call fcn.0040353a
add esp, 0xc
test eax, eax
je 0x404a60
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 ecx, [ebp - 0x5c]
call fcn.00401000
push 0x40e024
call dword [sym.imp.libav.dll_Ordinal_44297]
pop ecx
push 0x40e024
cmp dword [0x40e6a4], ebx
je 0x404af7
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.0040353a
add esp, 0xc
mov esi, eax
cmp dword [ebp - 0xc], ebx
jne 0x404b03
push 0x40e024
call dword [sym.imp.libav.dll_Ordinal_44297]
pop ecx
mov ecx, 0x40e690
mov dword [0x40e6a4], ebx
call fcn.00401000
push 0x40e024
call dword [sym.imp.libav.dll_Ordinal_44298]
pop ecx
lea ecx, [ebp - 0x5c]
call fcn.00401000
jmp 0x40467d
cmp ecx, 0x15
je 0x404aef
mov edx, 0x40c13c
lea ecx, [ebp - 0xfc]
call fcn.00404e53
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
jmp 0x4047be
call dword [sym.imp.libav.dll_Ordinal_44298]
pop ecx
jmp 0x40467d
mov eax, dword [ebp - 0x14]
test eax, eax
js 0x404bbb
push eax
call dword [sym.imp.libav.dll_Ordinal_44331]
jmp 0x404bba
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 0x404bae
mov edi, ebx
mov ecx, dword [ebp - 0x8c]
cmp dword [edi + ecx + 0xc], 0xffffffff
je 0x404b9c
mov ecx, dword [edi + ecx + 0x40]
call fcn.00406a57
mov ecx, dword [ebp - 0x8c]
xor edx, edx
mov ecx, dword [edi + ecx + 0x40]
inc edx
call fcn.00406888
test eax, eax
je 0x404b99
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 0x404b3d
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.0040708e
mov ecx, dword [ebp - 0x1c]
call fcn.004060de
test esi, esi
je 0x404c04
xor ecx, ecx
call fcn.00406468
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.00402837
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 0x404c67
push 0x40e6fc
call dword [sym.imp.libav.dll_Ordinal_25]
pop ecx
mov esi, dword [ebp - 0x38]
test esi, esi
je 0x404c86
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 0x404c71
mov edi, dword [ebp - 0x30]
mov edx, str.PidFile
mov ecx, edi
call fcn.004071e5
lea ecx, [ebp - 0xb4]
call fcn.00401000
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret