Function at 0x403e93
Capabilities:
Resolve function by parsing pe exports
Terminate process

Disassembly:
sub esp, 0xd8
push ebx
xor ebx, ebx
push ebp
push esi
mov esi, dword [esp + 0xf8]
or ecx, 0xffffffff
push edi
lea eax, [esp + 0x9c]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x98]
push str.MaxScanSize
push esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa0], ecx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], ecx
call sub.libav.dll_Ordinal_44283
mov ebp, dword [esp + 0xfc]
pop ecx
pop ecx
cmp dword [eax + 0x1c], ebx
je 0x403f69
push dword [eax + 0x14]
push dword [eax + 0x10]
push ebx
push ebp
call sub.libav.dll_Ordinal_12
mov edi, eax
add esp, 0x10
mov dword [esp + 0x14], edi
test edi, edi
je 0x403f69
push ebp
call sub.libav.dll_Ordinal_9
xor eax, eax
pop ecx
inc eax
jmp 0x404d6d
push ebx
push ebx
push ebp
call sub.libav.dll_Ordinal_10
mov ecx, eax
add esp, 0xc
or ecx, edx
je 0x403f89
push edx
push eax
push str.Limits:_Global_size_limit_set_to__llu_bytes._n
call fcn.00407a1d
add esp, 0xc
push str.MaxFileSize
push esi
call sub.libav.dll_Ordinal_44283
pop ecx
pop ecx
cmp dword [eax + 0x1c], ebx
je 0x403fb6
push dword [eax + 0x14]
push dword [eax + 0x10]
push 1
push ebp
call sub.libav.dll_Ordinal_12
mov edi, eax
add esp, 0x10
mov dword [esp + 0x14], edi
test edi, edi
jne 0x403f5a
push ebx
push 1
push ebp
call sub.libav.dll_Ordinal_10
push str.MaxRecursion
push esi
call sub.libav.dll_Ordinal_44283
add esp, 0x14
cmp dword [eax + 0x1c], ebx
je 0x403ff1
push dword [eax + 0x14]
push dword [eax + 0x10]
push 2
push ebp
call sub.libav.dll_Ordinal_12
mov edi, eax
add esp, 0x10
mov dword [esp + 0x14], edi
test edi, edi
jne 0x403f5a
push ebx
push 2
push ebp
call sub.libav.dll_Ordinal_10
push str.MaxFiles
push esi
call sub.libav.dll_Ordinal_44283
add esp, 0x14
cmp dword [eax + 0x1c], ebx
je 0x40402c
push dword [eax + 0x14]
push dword [eax + 0x10]
push 3
push ebp
call sub.libav.dll_Ordinal_12
mov edi, eax
add esp, 0x10
mov dword [esp + 0x14], edi
test edi, edi
jne 0x403f5a
push ebx
push 3
push ebp
call sub.libav.dll_Ordinal_10
push str.MaxEmbeddedPE
push esi
call sub.libav.dll_Ordinal_44283
add esp, 0x14
cmp dword [eax + 0x1c], ebx
je 0x404067
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x12
push ebp
call sub.libav.dll_Ordinal_12
mov edi, eax
add esp, 0x10
mov dword [esp + 0x14], edi
test edi, edi
jne 0x403f5a
push ebx
push 0x12
push ebp
call sub.libav.dll_Ordinal_10
push str.MaxHTMLNormalize
push esi
call sub.libav.dll_Ordinal_44283
add esp, 0x14
cmp dword [eax + 0x1c], ebx
je 0x4040a2
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x13
push ebp
call sub.libav.dll_Ordinal_12
mov edi, eax
add esp, 0x10
mov dword [esp + 0x14], edi
test edi, edi
jne 0x403f5a
push ebx
push 0x13
push ebp
call sub.libav.dll_Ordinal_10
push str.MaxHTMLNoTags
push esi
call sub.libav.dll_Ordinal_44283
add esp, 0x14
cmp dword [eax + 0x1c], ebx
je 0x4040dd
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x14
push ebp
call sub.libav.dll_Ordinal_12
mov edi, eax
add esp, 0x10
mov dword [esp + 0x14], edi
test edi, edi
jne 0x403f5a
push ebx
push 0x14
push ebp
call sub.libav.dll_Ordinal_10
push str.MaxScriptNormalize
push esi
call sub.libav.dll_Ordinal_44283
add esp, 0x14
cmp dword [eax + 0x1c], ebx
je 0x404118
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x15
push ebp
call sub.libav.dll_Ordinal_12
mov edi, eax
add esp, 0x10
mov dword [esp + 0x14], edi
test edi, edi
jne 0x403f5a
push ebx
push 0x15
push ebp
call sub.libav.dll_Ordinal_10
push str.MaxZipTypeRcg
push esi
call sub.libav.dll_Ordinal_44283
add esp, 0x14
cmp dword [eax + 0x1c], ebx
je 0x404153
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x16
push ebp
call sub.libav.dll_Ordinal_12
mov edi, eax
add esp, 0x10
mov dword [esp + 0x14], edi
test edi, edi
jne 0x403f5a
push ebx
push 0x16
push ebp
call sub.libav.dll_Ordinal_10
push str.MaxPartitions
push esi
call sub.libav.dll_Ordinal_44283
add esp, 0x14
cmp dword [eax + 0x1c], ebx
je 0x40418e
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x1b
push ebp
call sub.libav.dll_Ordinal_12
mov edi, eax
add esp, 0x10
mov dword [esp + 0x14], edi
test edi, edi
jne 0x403f5a
push ebx
push 0x1b
push ebp
call sub.libav.dll_Ordinal_10
push str.MaxIconsPE
push esi
call sub.libav.dll_Ordinal_44283
add esp, 0x14
cmp dword [eax + 0x1c], ebx
je 0x4041c9
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x1c
push ebp
call sub.libav.dll_Ordinal_12
mov edi, eax
add esp, 0x10
mov dword [esp + 0x14], edi
test edi, edi
jne 0x403f5a
push ebx
push 0x1c
push ebp
call sub.libav.dll_Ordinal_10
push str.ScanArchive
push esi
call sub.libav.dll_Ordinal_44283
add esp, 0x14
cmp dword [eax + 0x18], ebx
je 0x404204
push str.ArchiveBlockEncrypted
xor edi, edi
push esi
inc edi
call sub.libav.dll_Ordinal_44283
cmp dword [eax + 0x18], ebx
pop ecx
pop ecx
push 9
pop ecx
cmovne edi, ecx
mov dword [esp + 0x10], edi
jmp 0x404206
mov edi, ebx
push str.AlgorithmicDetection
push esi
call sub.libav.dll_Ordinal_44283
pop ecx
pop ecx
cmp dword [eax + 0x18], ebx
je 0x404222
or edi, 0x200
mov dword [esp + 0x10], edi
push str.ScanPE
push esi
call sub.libav.dll_Ordinal_44283
pop ecx
pop ecx
cmp dword [eax + 0x18], ebx
je 0x40423b
or edi, 0x20
mov dword [esp + 0x10], edi
push str.ScanELF
push esi
call sub.libav.dll_Ordinal_44283
pop ecx
pop ecx
cmp dword [eax + 0x18], ebx
je 0x404257
or edi, 0x2000
mov dword [esp + 0x10], edi
push str.ScanPE
push esi
call sub.libav.dll_Ordinal_44283
pop ecx
pop ecx
cmp dword [eax + 0x18], ebx
jne 0x40427b
push str.ScanELF
push esi
call sub.libav.dll_Ordinal_44283
pop ecx
pop ecx
cmp dword [eax + 0x18], ebx
je 0x404294
push str.DetectBrokenExecutables
push esi
call sub.libav.dll_Ordinal_44283
pop ecx
pop ecx
cmp dword [eax + 0x18], ebx
je 0x404294
or edi, 0x40
mov dword [esp + 0x10], edi
push str.ScanMail
push esi
call sub.libav.dll_Ordinal_44283
pop ecx
pop ecx
cmp dword [eax + 0x18], ebx
je 0x4042c9
push str.ScanPartialMessages
or edi, 2
push esi
mov dword [esp + 0x18], edi
call sub.libav.dll_Ordinal_44283
pop ecx
pop ecx
cmp dword [eax + 0x18], ebx
je 0x4042c9
or edi, 0x40000
mov dword [esp + 0x10], edi
push str.ScanOLE2
push esi
call sub.libav.dll_Ordinal_44283
pop ecx
pop ecx
cmp dword [eax + 0x18], ebx
je 0x4042fe
push str.OLE2BlockMacros
or edi, 4
push esi
mov dword [esp + 0x18], edi
call sub.libav.dll_Ordinal_44283
pop ecx
pop ecx
cmp dword [eax + 0x18], ebx
je 0x4042fe
or edi, 0x100000
mov dword [esp + 0x10], edi
push str.ScanPDF
push esi
call sub.libav.dll_Ordinal_44283
pop ecx
pop ecx
cmp dword [eax + 0x18], ebx
je 0x40431a
or edi, 0x4000
mov dword [esp + 0x10], edi
push str.ScanSWF
push esi
call sub.libav.dll_Ordinal_44283
pop ecx
pop ecx
cmp dword [eax + 0x18], ebx
je 0x404336
or edi, 0x400000
mov dword [esp + 0x10], edi
push str.ScanHTML
push esi
call sub.libav.dll_Ordinal_44283
pop ecx
pop ecx
cmp dword [eax + 0x18], ebx
je 0x40434f
or edi, 0x10
mov dword [esp + 0x10], edi
push str.PhishingScanURLs
push esi
call sub.libav.dll_Ordinal_44283
pop ecx
pop ecx
cmp dword [eax + 0x18], ebx
je 0x404399
push str.PhishingAlwaysBlockCloak
push esi
call sub.libav.dll_Ordinal_44283
pop ecx
pop ecx
cmp dword [eax + 0x18], ebx
je 0x40437d
or edi, 0x1000
mov dword [esp + 0x10], edi
push str.PhishingAlwaysBlockSSLMismatch
push esi
call sub.libav.dll_Ordinal_44283
pop ecx
pop ecx
cmp dword [eax + 0x18], ebx
je 0x404399
or edi, 0x800
mov dword [esp + 0x10], edi
push str.PartitionIntersection
push esi
call sub.libav.dll_Ordinal_44283
pop ecx
pop ecx
cmp dword [eax + 0x18], ebx
je 0x4043b5
or edi, 0x800000
mov dword [esp + 0x10], edi
push str.HeuristicScanPrecedence
push esi
call sub.libav.dll_Ordinal_44283
pop ecx
pop ecx
cmp dword [eax + 0x18], ebx
je 0x4043d1
or edi, 0x80000
mov dword [esp + 0x10], edi
push str.StructuredDataDetection
push esi
call sub.libav.dll_Ordinal_44283
pop ecx
pop ecx
cmp dword [eax + 0x18], ebx
je 0x4044a1
push str.StructuredMinCreditCardCount
or edi, 0x8000
push esi
mov dword [esp + 0x18], edi
call sub.libav.dll_Ordinal_44283
pop ecx
pop ecx
cmp dword [eax + 0x18], ebx
je 0x404426
push dword [eax + 0x14]
push dword [eax + 0x10]
push 4
push ebp
call sub.libav.dll_Ordinal_12
mov edi, eax
add esp, 0x10
mov dword [esp + 0x14], edi
test edi, edi
jne 0x403f5a
mov edi, dword [esp + 0x10]
push ebx
push 4
push ebp
call sub.libav.dll_Ordinal_10
push str.StructuredMinSSNCount
push esi
call sub.libav.dll_Ordinal_44283
add esp, 0x14
cmp dword [eax + 0x18], ebx
je 0x40445f
push dword [eax + 0x14]
push dword [eax + 0x10]
push 5
push ebp
call sub.libav.dll_Ordinal_12
add esp, 0x10
mov dword [esp + 0x14], eax
test eax, eax
jne 0x403f5a
push ebx
push 5
push ebp
call sub.libav.dll_Ordinal_10
push str.StructuredSSNFormatNormal
push esi
call sub.libav.dll_Ordinal_44283
add esp, 0x14
cmp dword [eax + 0x18], ebx
je 0x404485
or edi, 0x10000
mov dword [esp + 0x10], edi
push str.StructuredSSNFormatStripped
push esi
call sub.libav.dll_Ordinal_44283
pop ecx
pop ecx
cmp dword [eax + 0x18], ebx
je 0x4044a1
or edi, 0x20000
mov dword [esp + 0x10], edi
push str.SelfCheck
push esi
call sub.libav.dll_Ordinal_44283
mov eax, dword [eax + 0x10]
mov dword [esp + 0x38], eax
xor eax, eax
mov edi, 0x43561c
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 dword [esp + 0x1c], eax
push str.PidFile
push esi
call sub.libav.dll_Ordinal_44283
mov edi, eax
pop ecx
pop ecx
cmp dword [edi + 0x18], ebx
je 0x404552
push 2
call fcn.004277dd
movzx eax, ax
mov dword [esp], 0x42b618
push dword [edi + 8]
mov dword [esp + 0x30], eax
call fcn.0040d33b
pop ecx
pop ecx
mov dword [esp + 0x24], eax
test eax, eax
jne 0x404515
push dword [edi + 8]
push str._Cant_save_PID_in_file__s_n
call fcn.00407a1a
pop ecx
jmp 0x404543
push dword [esp + 0x1c]
push 0x42b638
push eax
call fcn.00408648
add esp, 0xc
test eax, eax
jns 0x40453a
push dword [edi + 8]
push str._Cant_save_PID_in_file__s_n
call fcn.00407a1a
pop ecx
pop ecx
push dword [esp + 0x24]
call fcn.0040d200
mov eax, dword [esp + 0x2c]
movzx eax, ax
pop ecx
push eax
call fcn.004277dd
pop ecx
push dword [esp + 0x1c]
push str.Listening_daemon:_PID:__u_n
call fcn.00407a1a
push str.MaxThreads
push esi
call sub.libav.dll_Ordinal_44283
mov eax, dword [eax + 0x10]
push str.MaxQueue
push esi
mov dword [esp + 0x3c], eax
call sub.libav.dll_Ordinal_44283
mov edi, dword [eax + 0x10]
push str.CommandReadTimeout
push esi
mov dword [esp + 0x5c], edi
call sub.libav.dll_Ordinal_44283
mov eax, dword [eax + 0x10]
push str.ReadTimeout
push esi
mov dword [esp + 0xa4], eax
call sub.libav.dll_Ordinal_44283
mov eax, dword [eax + 0x10]
push str.ScanOnAccess
push esi
mov dword [esp + 0x58], eax
mov dword [esp + 0xa8], edi
call sub.libav.dll_Ordinal_44283
add esp, 0x30
cmp dword [eax + 0x18], ebx
je 0x4045d7
push str.IdleTimeout
push esi
call sub.libav.dll_Ordinal_44283
mov edi, dword [eax + 0x10]
pop ecx
pop ecx
jmp 0x4045db
mov edi, dword [esp + 0x40]
mov esi, ebx
mov dword [esp + 0x20], ebx
cmp dword [esp + 0xf0], ebx
jbe 0x404617
mov eax, dword [esp + 0xec]
push ebx
push 1
push dword [eax + esi*4]
lea eax, [esp + 0x58]
push eax
call fcn.00401ea4
add esp, 0x10
cmp eax, 0xffffffff
je 0x404658
inc esi
mov dword [esp + 0x20], esi
cmp esi, dword [esp + 0xf0]
jb 0x4045ea
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 [0x435610], eax
call esi
push 0x404f49
push dword [esp + 0x40]
mov dword [0x43560c], eax
push edi
push dword [esp + 0x30]
call fcn.004067bc
add esp, 0x10
mov dword [esp + 0x24], eax
test eax, eax
jne 0x40466e
jmp 0x404d78
push str._fds_add_failed_n
call fcn.00407a1a
push ebp
call sub.libav.dll_Ordinal_9
pop ecx
jmp 0x403f60
lea eax, [esp + 0x4c]
push eax
push 0x403527
lea eax, [esp + 0xa8]
push ebx
push eax
call sub.libav.dll_Ordinal_44303
add esp, 0x10
test eax, eax
jne 0x404d78
lea eax, [esp + 0x44]
push eax
call fcn.00409299
mov edi, dword [esp + 0x100]
mov esi, dword [esp + 0x14]
pop ecx
mov ecx, dword [esp + 0x30]
or eax, 0xffffffff
test ecx, ecx
cmovne eax, ecx
mov dword [esp + 0x40], eax
push dword [esp + 0x60]
call sub.libav.dll_Ordinal_44297
lea eax, [esp + 0x64]
push eax
call fcn.00401f5d
mov eax, dword [esp + 0x44]
pop ecx
pop ecx
cmp dword [esp + 0x68], eax
ja 0x4046e1
lea eax, [esp + 0x74]
push eax
call sub.libav.dll_Ordinal_44307
pop ecx
push dword [0x43560c]
lea eax, [esp + 0x64]
push 1
push dword [esp + 0x48]
push eax
call fcn.004020a7
add esp, 0x10
mov dword [esp + 0x1c], eax
push dword [0x43560c]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
cmp dword [esp + 0x1c], 0xffffffff
jne 0x404748
call fcn.0040c3e4
cmp dword [eax], 4
je 0x404748
push str._Failed_to_poll_sockets__fatal_n
call fcn.00407a1a
mov dword [esp], 0x434008
call sub.libav.dll_Ordinal_44297
mov dword [0x435614], 1
mov dword [esp], 0x434008
call sub.libav.dll_Ordinal_44298
pop ecx
mov ecx, dword [esp + 0x68]
test ecx, ecx
je 0x404761
mov eax, dword [esp + 0x38]
inc eax
xor edx, edx
div ecx
mov eax, edx
mov dword [esp + 0x20], eax
jmp 0x404765
mov eax, dword [esp + 0x20]
mov dword [esp + 0x34], ebx
test ecx, ecx
je 0x404a5c
cmp dword [esp + 0x1c], ebx
jl 0x404a5c
imul eax, eax, 0x48
add eax, dword [esp + 0x64]
mov ecx, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], eax
cmp dword [eax + 0x14], ecx
je 0x404a3b
cmp dword [eax + 0x14], 0xffffffff
jne 0x4047eb
cmp dword [eax + 0x1c], 2
jne 0x4047d5
push str._mode_WAIT_REPLY____closed_n
call fcn.00407a1a
mov eax, dword [esp + 0x14]
push dword [eax + 0x40]
or dword [eax + 0xc], 0xffffffff
call fcn.004066d5
mov eax, dword [esp + 0x18]
push 1
push dword [eax + 0x40]
call fcn.0040656c
add esp, 0x10
jmp 0x404a3b
push str._client_read_error_or_EOF_on_read_n
call fcn.00407a1a
mov eax, dword [esp + 0x14]
pop ecx
xor ecx, ecx
inc ecx
mov dword [esp + 0x18], ecx
cmp dword [eax + 0xc], 0xffffffff
je 0x404821
cmp dword [eax + 0x14], 0xfffffffe
jne 0x404821
push str._Client_read_timed_out_n
call fcn.00407a1a
mov eax, dword [esp + 0x14]
mov dword [esp], str.COMMAND_READ_TIMED_OUT_n
push dword [eax + 0xc]
call fcn.00407b80
mov eax, dword [esp + 0x18]
pop ecx
pop ecx
xor ecx, ecx
inc ecx
mov dword [esp + 0x18], ecx
cmp dword [eax + 0x1c], 3
mov edx, dword [esp + 0x20]
mov dword [esp + 0x38], edx
jne 0x404845
push str._mode____MODE_COMMAND_n
mov dword [eax + 0x1c], ebx
call fcn.00407a1a
pop ecx
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
test ecx, ecx
jne 0x4049be
cmp dword [eax + 0xc], 0xffffffff
je 0x4049ba
cmp dword [eax], ebx
je 0x4049ba
mov edx, dword [esp + 0x2c]
cmp edx, dword [eax + 8]
jae 0x4049ba
cmp dword [eax + 0x1c], 3
je 0x4049ba
push 0x40
lea eax, [esp + 0xac]
push ebx
push eax
call fcn.0040c320
mov ecx, dword [esp + 0x1c]
push dword [esp + 0x34]
mov eax, dword [ecx + 0x18]
mov dword [esp + 0xc0], eax
mov eax, dword [ecx + 0xc]
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xe4], eax
mov eax, dword [ecx + 0x40]
mov dword [esp + 0xf0], eax
mov eax, dword [ecx + 0x20]
or dword [ecx + 0x18], 0xffffffff
mov dword [esp + 0xe8], eax
mov eax, dword [ecx + 0x2c]
mov dword [esp + 0xec], eax
mov eax, dword [ecx + 0x30]
mov dword [esp + 0xbc], eax
mov eax, dword [ecx + 0x1c]
mov dword [esp + 0xf4], eax
mov al, byte [ecx + 0x10]
mov byte [esp + 0xe0], al
push edi
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x44]
push eax
push ecx
lea eax, [esp + 0xc8]
push eax
mov dword [esp + 0xdc], esi
mov dword [esp + 0xe0], edi
mov dword [esp + 0xe4], ebp
call fcn.00403b7e
add esp, 0x24
cmp dword [esp + 0xe4], ebx
jne 0x40492f
test eax, eax
je 0x4049b2
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x404bad
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x1c], 2
jne 0x40497f
mov edx, dword [eax + 8]
test edx, edx
je 0x40497f
push edx
push str.Client_sent_garbage_after_last_command:__lu_bytes_n
call fcn.00407a1a
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 8]
mov eax, dword [edx]
mov byte [ecx + eax], bl
push dword [edx]
push str._Garbage:__s_n
call fcn.00407a1a
add esp, 0x10
mov dword [esp + 0x18], 1
jmp 0x404bb6
cmp dword [eax + 0x1c], 1
jne 0x40484d
push dword [esp + 0x28]
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x20]
push ecx
push edi
push eax
lea eax, [esp + 0xbc]
push eax
call fcn.00403962
add esp, 0x18
cmp eax, 0xffffffff
jne 0x40483d
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x404a3b
mov ecx, dword [eax + 0x24]
cmp ecx, 0xffffffff
je 0x4049f4
push ecx
call fcn.00412887
mov eax, dword [esp + 0x14]
pop ecx
mov ecx, dword [eax + 0x30]
test ecx, ecx
je 0x4049f0
push ecx
call sub.libav.dll_Ordinal_44219
mov eax, dword [esp + 0x14]
push dword [eax + 0x30]
call fcn.00408f7e
mov eax, dword [esp + 0x18]
pop ecx
pop ecx
or dword [eax + 0x24], 0xffffffff
push dword [eax + 0x40]
call fcn.004066d5
mov eax, dword [esp + 0x14]
push 1
push dword [eax + 0x40]
call fcn.0040656c
add esp, 0xc
test eax, eax
mov eax, dword [esp + 0x10]
je 0x404a37
mov ecx, dword [eax + 0xc]
test ecx, ecx
js 0x404a37
push 2
push ecx
call sub.libav.dll_Ordinal_44328
mov eax, dword [esp + 0x18]
push dword [eax + 0xc]
call sub.libav.dll_Ordinal_44331
mov eax, dword [esp + 0x1c]
add esp, 0xc
or dword [eax + 0xc], 0xffffffff
mov eax, dword [esp + 0x20]
inc dword [esp + 0x34]
mov ecx, dword [esp + 0x68]
inc eax
xor edx, edx
div ecx
mov eax, edx
mov dword [esp + 0x20], eax
cmp dword [esp + 0x34], ecx
jb 0x404771
push dword [esp + 0x60]
call sub.libav.dll_Ordinal_44298
mov dword [esp], 0x434008
call sub.libav.dll_Ordinal_44297
pop ecx
push 0x434008
cmp dword [0x435614], ebx
jne 0x404bf0
call sub.libav.dll_Ordinal_44298
pop ecx
cmp dword [0x435608], ebx
je 0x404abe
call fcn.00407b53
mov dword [0x435608], ebx
cmp dword [0x435a70], ebx
jne 0x404abe
push str.LogFile
push edi
call sub.libav.dll_Ordinal_44283
pop ecx
pop ecx
cmp dword [eax + 0x18], ebx
je 0x404abe
mov eax, dword [eax + 8]
mov dword [0x435a70], eax
cmp dword [esp + 0x30], ebx
je 0x404b3c
lea eax, [esp + 0x90]
push eax
call fcn.00409299
mov eax, dword [esp + 0x98]
pop ecx
mov ecx, dword [esp + 0x90]
sub ecx, dword [esp + 0x44]
sbb eax, dword [esp + 0x48]
cmp eax, ebx
jl 0x404b3c
jg 0x404af4
cmp ecx, dword [esp + 0x30]
jb 0x404b3c
lea eax, [esp + 0x14]
push eax
push 1
push edi
push dword [esp + 0x104]
push ebp
call fcn.00404d80
add esp, 0x14
test eax, eax
je 0x404b31
push 0x43400c
call sub.libav.dll_Ordinal_44297
mov dword [0x435618], 1
mov dword [esp], 0x43400c
call sub.libav.dll_Ordinal_44298
pop ecx
lea eax, [esp + 0x44]
push eax
call fcn.00409299
pop ecx
push 0x43400c
call sub.libav.dll_Ordinal_44297
pop ecx
push 0x43400c
cmp dword [0x435618], ebx
je 0x404bce
call sub.libav.dll_Ordinal_44298
lea eax, [esp + 0x18]
push eax
push ebx
push edi
push dword [esp + 0x108]
push ebp
call fcn.00404d80
add esp, 0x18
mov ebp, eax
cmp dword [esp + 0x14], ebx
jne 0x404bd9
push 0x43400c
call sub.libav.dll_Ordinal_44297
mov dword [0x435618], ebx
mov dword [esp], 0x435600
call fcn.00409299
mov dword [esp], 0x43400c
call sub.libav.dll_Ordinal_44298
lea eax, [esp + 0x48]
push eax
call fcn.00409299
pop ecx
jmp 0x404bd3
cmp ecx, 0x15
je 0x404841
lea eax, [esp + 0xa8]
push 0x42a1a8
push eax
call fcn.004056c9
pop ecx
jmp 0x40483c
call sub.libav.dll_Ordinal_44298
pop ecx
jmp 0x4046b7
mov eax, dword [esp + 0x1c]
test eax, eax
js 0x404c7c
push eax
call sub.libav.dll_Ordinal_44331
jmp 0x404c7b
call sub.libav.dll_Ordinal_44298
push dword [esp + 0x64]
call sub.libav.dll_Ordinal_44297
mov eax, ebx
pop ecx
pop ecx
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x68], eax
jbe 0x404c72
mov esi, ebx
mov ecx, dword [esp + 0x64]
cmp dword [esi + ecx + 0xc], 0xffffffff
je 0x404c64
push dword [esi + ecx + 0x40]
call fcn.004066d5
mov eax, dword [esp + 0x68]
push 1
push dword [esi + eax + 0x40]
call fcn.0040656c
add esp, 0xc
test eax, eax
je 0x404c60
mov eax, dword [esp + 0x64]
push 2
push dword [esi + eax + 0xc]
call sub.libav.dll_Ordinal_44328
mov eax, dword [esp + 0x6c]
push dword [esi + eax + 0xc]
call sub.libav.dll_Ordinal_44331
mov eax, dword [esp + 0x70]
add esp, 0xc
or dword [esi + eax + 0xc], 0xffffffff
mov eax, dword [esp + 0x1c]
inc eax
add esi, 0x48
mov dword [esp + 0x1c], eax
cmp eax, dword [esp + 0x68]
jb 0x404c0e
push dword [esp + 0x60]
call sub.libav.dll_Ordinal_44298
pop ecx
mov esi, 0x434008
push esi
call sub.libav.dll_Ordinal_44297
push esi
mov dword [0x435614], 1
call sub.libav.dll_Ordinal_44298
pop ecx
pop ecx
push dword [0x435610]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push dword [esp + 0x24]
call fcn.0040629a
pop ecx
test ebp, ebp
je 0x404cc1
push ebx
call fcn.00406db6
push ebp
call sub.libav.dll_Ordinal_9
pop ecx
pop ecx
push ebx
push dword [esp + 0xa8]
push dword [esp + 0xa8]
call sub.libav.dll_Ordinal_44309
lea eax, [esp + 0x6c]
push eax
call fcn.00402026
push dword [esp + 0x70]
call sub.libav.dll_Ordinal_44299
lea eax, [esp + 0x88]
push eax
call sub.libav.dll_Ordinal_44308
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0x18
push dword [0x435610]
call esi
push dword [0x43560c]
call esi
cmp dword [0x435628], ebx
je 0x404d21
push 0x43561c
call sub.libav.dll_Ordinal_25
pop ecx
cmp dword [esp + 0xf0], ebx
jbe 0x404d4e
mov edi, dword [esp + 0xec]
push 2
push dword [edi + ebx*4]
call sub.libav.dll_Ordinal_44328
inc ebx
pop ecx
pop ecx
cmp ebx, dword [esp + 0xf0]
jb 0x404d31
mov edi, dword [esp + 0xfc]
push str.PidFile
push edi
call sub.libav.dll_Ordinal_44283
lea eax, [esp + 0x98]
push eax
call fcn.00409299
mov eax, dword [esp + 0x20]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd8
ret
push 0xffffffffffffffff
call fcn.00408f6a
int3