Function at 0x4148e0
Capabilities:
Check if file exists
Check mutex and terminate process on windows
Check mutex on windows
Contain obfuscated stackstrings
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3ec
push esi
push edi
mov byte [ebp - 0x1bc], 0
push 0xff
push 0
lea eax, [ebp - 0x1bb]
push eax
call fcn.00405b80
add esp, 0xc
mov byte [ebp - 0x2bc], 0
push 0xff
push 0
lea ecx, [ebp - 0x2bb]
push ecx
call fcn.00405b80
add esp, 0xc
mov byte [ebp - 0x3bc], 0
push 0xff
push 0
lea edx, [ebp - 0x3bb]
push edx
call fcn.00405b80
add esp, 0xc
mov dword [ebp - 0x20], 0x34
mov dword [ebp - 0x30], 0
call fcn.00421530
test eax, eax
je 0x414960
push 0x28
call fcn.00402201
push 0
call dword [sym.imp.libav.dll_Ordinal_17]
add esp, 4
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
je 0x414999
mov eax, dword [ebp - 0x80]
push eax
call dword [sym.imp.libav.dll_Ordinal_27]
add esp, 4
push eax
push str._Cant_initialize_libclamav:__s_n
call fcn.004217e0
add esp, 8
mov eax, 0x28
jmp 0x415655
push 0
push 0
push 2
push 1
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0
call dword [sym.imp.libav.dll_Ordinal_44284]
add esp, 0x1c
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4149d4
push str._Cant_parse_command_line_options_n
call fcn.004217e0
add esp, 4
mov eax, 0x28
jmp 0x415655
push str.help
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.libav.dll_Ordinal_44283]
add esp, 8
cmp dword [eax + 0x18], 0
je 0x414a05
call fcn.00415ff0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.libav.dll_Ordinal_44285]
add esp, 4
xor eax, eax
jmp 0x415655
lea edx, [ebp - 0x1bc]
push edx
push 0
push 0
push 0x23
push 0
call fcn.004210b0
add esp, 0x14
push 0x42d464
push 0x100
lea eax, [ebp - 0x1bc]
push eax
call fcn.0040304b
add esp, 0xc
call fcn.00416bd0
push eax
push 0x100
lea ecx, [ebp - 0x1bc]
push ecx
call fcn.0040304b
add esp, 0xc
lea edx, [ebp - 0x1bc]
push edx
push 0x100
lea eax, [ebp - 0x2bc]
push eax
call fcn.00402c34
add esp, 0xc
push 0x42d464
push 0x100
lea ecx, [ebp - 0x2bc]
push ecx
call fcn.0040304b
add esp, 0xc
call fcn.00416bd0
push eax
push 0x100
lea edx, [ebp - 0x2bc]
push edx
call fcn.0040304b
add esp, 0xc
mov eax, 1
shl eax, 3
mov byte [ebp + eax - 0x64], 0x63
mov ecx, 1
imul ecx, ecx, 6
mov byte [ebp + ecx - 0x64], 0x72
mov edx, 1
imul edx, edx, 3
mov byte [ebp + edx - 0x64], 0x61
mov eax, 1
imul eax, eax, 7
mov byte [ebp + eax - 0x64], 0x2e
mov ecx, 1
imul ecx, ecx, 0xb
mov byte [ebp + ecx - 0x64], 0x66
mov edx, 1
shl edx, 1
mov byte [ebp + edx - 0x64], 0x64
mov eax, 1
imul eax, eax, 0xc
mov byte [ebp + eax - 0x64], 0
mov ecx, 1
imul ecx, ecx, 9
mov byte [ebp + ecx - 0x64], 0x6f
mov edx, 1
imul edx, edx, 5
mov byte [ebp + edx - 0x64], 0x65
mov eax, 1
imul eax, eax, 0
mov byte [ebp + eax - 0x64], 0x55
mov ecx, 1
imul ecx, ecx, 0xa
mov byte [ebp + ecx - 0x64], 0x6e
mov edx, 1
shl edx, 2
mov byte [ebp + edx - 0x64], 0x74
mov eax, 1
shl eax, 0
mov byte [ebp + eax - 0x64], 0x70
lea ecx, [ebp - 0x64]
push ecx
push 0x100
lea edx, [ebp - 0x2bc]
push edx
call fcn.0040304b
add esp, 0xc
lea eax, [ebp - 0x1bc]
push eax
push 0x100
lea ecx, [ebp - 0x3bc]
push ecx
call fcn.00402c34
add esp, 0xc
push 0x42d468
push 0x100
lea edx, [ebp - 0x3bc]
push edx
call fcn.0040304b
add esp, 0xc
call fcn.00416bd0
push eax
push 0x100
lea eax, [ebp - 0x3bc]
push eax
call fcn.0040304b
add esp, 0xc
mov ecx, 1
imul ecx, ecx, 0
mov byte [ebp + ecx - 0x54], 0x55
mov edx, 1
imul edx, edx, 6
mov byte [ebp + edx - 0x54], 0x72
mov eax, 1
shl eax, 1
mov byte [ebp + eax - 0x54], 0x64
mov ecx, 1
imul ecx, ecx, 3
mov byte [ebp + ecx - 0x54], 0x61
mov edx, 1
shl edx, 0
mov byte [ebp + edx - 0x54], 0x70
mov eax, 1
imul eax, eax, 5
mov byte [ebp + eax - 0x54], 0x65
mov ecx, 1
imul ecx, ecx, 0xb
mov byte [ebp + ecx - 0x54], 0
mov edx, 1
shl edx, 3
mov byte [ebp + edx - 0x54], 0x6c
mov eax, 1
shl eax, 2
mov byte [ebp + eax - 0x54], 0x74
mov ecx, 1
imul ecx, ecx, 0xa
mov byte [ebp + ecx - 0x54], 0x67
mov edx, 1
imul edx, edx, 9
mov byte [ebp + edx - 0x54], 0x6f
mov eax, 1
imul eax, eax, 7
mov byte [ebp + eax - 0x54], 0x2e
lea ecx, [ebp - 0x54]
push ecx
push 0x100
lea edx, [ebp - 0x3bc]
push edx
call fcn.0040304b
add esp, 0xc
lea eax, [ebp - 0x1bc]
push eax
push 0x100
push 0x4356a0
call fcn.00402c34
add esp, 0xc
push str.database
push 0x100
push 0x4356a0
call fcn.0040304b
add esp, 0xc
lea ecx, [ebp - 0x2bc]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.004134b2
add esp, 4
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 4]
push eax
push 0
push 2
push 1
push 0
push 0
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.libav.dll_Ordinal_44284]
add esp, 0x1c
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x414d00
mov edx, dword [ebp - 0x68]
push edx
push str.ERROR:_Cant_open_parse_the_config_file__s_n
call fcn.004023a7
mov ecx, 0x20
shl ecx, 1
add eax, ecx
push eax
call fcn.00402b22
add esp, 0xc
mov edx, dword [ebp - 0x68]
push edx
call fcn.00402297
add esp, 4
mov eax, 0x28
jmp 0x415655
mov eax, dword [ebp - 0x68]
push eax
call fcn.00402297
add esp, 4
push str.version
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.libav.dll_Ordinal_44283]
add esp, 8
cmp dword [eax + 0x18], 0
je 0x414d56
push str.DatabaseDirectory
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.libav.dll_Ordinal_44283]
add esp, 8
mov eax, dword [eax + 8]
push eax
call fcn.00421600
add esp, 4
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.libav.dll_Ordinal_44285]
add esp, 4
xor eax, eax
jmp 0x415655
push str.stats_host_id
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.libav.dll_Ordinal_44283]
add esp, 8
cmp dword [eax + 0x18], 0
je 0x414f18
push str.stats_host_id
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.libav.dll_Ordinal_44283]
add esp, 8
mov ecx, dword [eax + 8]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], str.default
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
mov cl, byte [eax]
mov byte [ebp - 0x17], cl
mov edx, dword [ebp - 0x40]
cmp cl, byte [edx]
jne 0x414dd4
cmp byte [ebp - 0x17], 0
je 0x414dcb
mov eax, dword [ebp - 0x34]
mov cl, byte [eax + 1]
mov byte [ebp - 0x19], cl
mov edx, dword [ebp - 0x40]
cmp cl, byte [edx + 1]
jne 0x414dd4
add dword [ebp - 0x34], 2
add dword [ebp - 0x40], 2
cmp byte [ebp - 0x19], 0
jne 0x414d97
mov dword [ebp - 0x7c], 0
jmp 0x414ddc
sbb eax, eax
or eax, 1
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x94], ecx
cmp dword [ebp - 0x94], 0
je 0x414f00
mov dword [ebp - 0x48], str.anonymous
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
mov cl, byte [eax]
mov byte [ebp - 0x15], cl
mov edx, dword [ebp - 0x48]
cmp cl, byte [edx]
jne 0x414e3c
cmp byte [ebp - 0x15], 0
je 0x414e33
mov eax, dword [ebp - 0x38]
mov cl, byte [eax + 1]
mov byte [ebp - 0x18], cl
mov edx, dword [ebp - 0x48]
cmp cl, byte [edx + 1]
jne 0x414e3c
add dword [ebp - 0x38], 2
add dword [ebp - 0x48], 2
cmp byte [ebp - 0x18], 0
jne 0x414dff
mov dword [ebp - 0x78], 0
jmp 0x414e44
sbb eax, eax
or eax, 1
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x8c], ecx
cmp dword [ebp - 0x8c], 0
jne 0x414e6d
mov ecx, 9
mov esi, str.5b585e8f_3be5_11e3_bf0b_18037319526c
mov edi, 0x435460
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
jmp 0x414efe
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x24]
mov dl, byte [ecx]
mov byte [ebp - 0x16], dl
add dword [ebp - 0x24], 1
cmp byte [ebp - 0x16], 0
jne 0x414e7f
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x84]
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0x24
jbe 0x414ec0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.libav.dll_Ordinal_44285]
add esp, 4
mov eax, 0x28
jmp 0x415655
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x3c], 0x435460
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x6c]
mov dl, byte [ecx]
mov byte [ebp - 0xd], dl
mov eax, dword [ebp - 0x3c]
mov cl, byte [ebp - 0xd]
mov byte [eax], cl
mov edx, dword [ebp - 0x6c]
add edx, 1
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp - 0x3c]
add eax, 1
mov dword [ebp - 0x3c], eax
cmp byte [ebp - 0xd], 0
jne 0x414ed6
jmp 0x414f18
mov ecx, dword [str.default]
mov dword [0x435460], ecx
mov edx, dword [0x42d4d4]
mov dword [0x435464], edx
mov eax, dword [ebp - 4]
push eax
call fcn.00414670
add esp, 4
push str.HTTPProxyPassword
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.libav.dll_Ordinal_44283]
add esp, 8
cmp dword [eax + 0x18], 0
je 0x414f6c
lea edx, [ebp - 0x3ec]
push edx
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.libav.dll_Ordinal_44339]
add esp, 8
cmp eax, 0xffffffff
jne 0x414f6c
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.libav.dll_Ordinal_44285]
add esp, 4
mov eax, 0x38
jmp 0x415655
push str.Debug
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.libav.dll_Ordinal_44283]
add esp, 8
cmp dword [eax + 0x18], 0
jne 0x414f9c
push str.debug
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.libav.dll_Ordinal_44283]
add esp, 8
cmp dword [eax + 0x18], 0
je 0x414fa2
call dword [sym.imp.libav.dll_Ordinal_6]
push str.verbose
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.libav.dll_Ordinal_44283]
add esp, 8
cmp dword [eax + 0x18], 0
je 0x414fc6
mov edx, 1
mov word [0x434314], dx
push str.quiet
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.libav.dll_Ordinal_44283]
add esp, 8
cmp dword [eax + 0x18], 0
je 0x414fea
mov ecx, 1
mov word [0x434300], cx
push str.no_warnings
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.libav.dll_Ordinal_44283]
add esp, 8
cmp dword [eax + 0x18], 0
je 0x415019
mov eax, 1
mov word [0x434310], ax
mov ecx, 1
mov word [0x434304], cx
push str.stdout
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.libav.dll_Ordinal_44283]
add esp, 8
cmp dword [eax + 0x18], 0
je 0x41503c
mov eax, 1
mov word [0x4342f8], ax
movsx ecx, word [0x434314]
test ecx, ecx
je 0x415050
mov dword [ebp - 0x74], 1
jmp 0x415068
push str.LogVerbose
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.libav.dll_Ordinal_44283]
add esp, 8
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x74], eax
mov cx, word [ebp - 0x74]
mov word [0x434308], cx
push str.LogTime
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.libav.dll_Ordinal_44283]
add esp, 8
mov ax, word [eax + 0x18]
mov word [0x43430c], ax
push str.LogFileMaxSize
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.libav.dll_Ordinal_44283]
add esp, 8
mov edx, dword [eax + 0x10]
mov dword [0x434318], edx
cmp dword [0x434318], 0
je 0x4150d0
push str.LogRotate
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.libav.dll_Ordinal_44283]
add esp, 8
mov cx, word [eax + 0x18]
mov word [0x43431c], cx
push str.UpdateLogFile
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.libav.dll_Ordinal_44283]
add esp, 8
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x18], 0
je 0x415138
lea ecx, [ebp - 0x3bc]
mov dword [0x4342fc], ecx
push str._______________________________________n
call fcn.00421c90
add esp, 4
test eax, eax
je 0x415136
mov edx, dword [0x4342fc]
push edx
push str._Problem_with_internal_logger__UpdateLogFile___s_._n
call fcn.004217e0
add esp, 8
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.libav.dll_Ordinal_44285]
add esp, 4
mov eax, 0x3e
jmp 0x415655
jmp 0x415142
mov dword [0x4342fc], 0
push 0x415f00
call dword [sym.imp.libav.dll_Ordinal_33]
add esp, 4
push 0x4356a0
call fcn.004139b4
add esp, 4
test eax, eax
je 0x415178
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.libav.dll_Ordinal_44285]
add esp, 4
mov eax, 0x32
jmp 0x415655
push str.list_mirrors
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.libav.dll_Ordinal_44283]
add esp, 8
cmp dword [eax + 0x18], 0
je 0x415201
push 1
lea eax, [ebp - 0xbc]
push eax
push str.mirrors.dat
call fcn.0041d3e0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x4151cf
push str.Cant_read_mirrors.dat_n
call fcn.0040299d
add esp, 4
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.libav.dll_Ordinal_44285]
add esp, 4
mov eax, 0x37
jmp 0x415655
lea edx, [ebp - 0xbc]
push edx
call fcn.0041d560
add esp, 4
lea eax, [ebp - 0xbc]
push eax
call fcn.0041d530
add esp, 4
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.libav.dll_Ordinal_44285]
add esp, 4
xor eax, eax
jmp 0x415655
push str.PrivateMirror
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.libav.dll_Ordinal_44283]
add esp, 8
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x18], 0
je 0x4153d1
push str.DatabaseMirror
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.libav.dll_Ordinal_44283]
add esp, 8
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
mov dword [edx + 0x18], 1
mov eax, dword [ebp - 8]
mov dword [eax + 0x1c], 1
push str..clamav.net
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.libav.dll_Ordinal_44258]
add esp, 8
test eax, eax
je 0x41527c
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.libav.dll_Ordinal_44285]
add esp, 4
mov eax, 0x2d
jmp 0x415655
mov ecx, dword [ebp - 8]
cmp dword [ecx + 8], 0
je 0x415294
mov edx, dword [ebp - 8]
mov eax, dword [edx + 8]
push eax
call fcn.00402297
add esp, 4
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 8]
push edx
call fcn.004134b2
add esp, 4
mov ecx, dword [ebp - 8]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 8]
cmp dword [edx + 8], 0
jne 0x4152c9
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.libav.dll_Ordinal_44285]
add esp, 4
mov eax, 0x4b
jmp 0x415655
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x28], 0
jne 0x415304
push 0x38
push 1
call fcn.004022cf
add esp, 8
mov edx, dword [ebp - 8]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 0x28], 0
jne 0x415304
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.libav.dll_Ordinal_44285]
add esp, 4
mov eax, 0x4b
jmp 0x415655
mov edx, dword [ebp - 8]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x28]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x28]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x41524c
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x28], 0
cmp dword [ebp - 8], 0
je 0x41537f
mov edx, dword [ebp - 8]
mov eax, dword [edx]
push eax
call fcn.00402297
add esp, 4
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
push edx
call fcn.00402297
add esp, 4
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 8]
push ecx
call fcn.00402297
add esp, 4
mov edx, dword [ebp - 8]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x28]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x14]
push edx
call fcn.00402297
add esp, 4
jmp 0x415330
push str.no_dns
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.libav.dll_Ordinal_44283]
add esp, 8
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x18], 1
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x1c], 1
push str.ScriptedUpdates
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.libav.dll_Ordinal_44283]
add esp, 8
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x18], 0
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x1c], 0
mov eax, 1
imul eax, eax, 0
mov byte [eax + 0x4354a0], 0
push 0x416b80
push 2
call fcn.00402736
add esp, 8
push str.daemon
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.libav.dll_Ordinal_44283]
add esp, 8
cmp dword [eax + 0x18], 0
je 0x415544
push str.Checks
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.libav.dll_Ordinal_44283]
add esp, 8
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
jg 0x415440
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.libav.dll_Ordinal_44285]
add esp, 4
mov eax, 0x29
jmp 0x415655
mov edx, 1
test edx, edx
je 0x415466
cmp dword [ebp - 0x70], 0x32
jle 0x415466
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.libav.dll_Ordinal_44285]
add esp, 4
mov eax, 0x29
jmp 0x415655
mov eax, 0x15180
cdq
idiv dword [ebp - 0x70]
mov dword [ebp - 0x88], eax
push str.PidFile
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.libav.dll_Ordinal_44283]
add esp, 8
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x18], 0
je 0x4154ae
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 8]
mov dword [0x4341e8], ecx
mov edx, dword [0x4341e8]
push edx
call fcn.00416b10
add esp, 4
mov dword [0x4358a0], 0
movsx eax, word [0x4341ec]
test eax, eax
jne 0x41553f
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.00415f10
add esp, 8
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
jle 0x415525
push str.OnErrorExecute
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.libav.dll_Ordinal_44283]
add esp, 8
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 0x18], 0
je 0x415503
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 8]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x41551e
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x30]
push edx
push str.OnErrorExecute
call fcn.00414440
add esp, 0xc
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x88]
imul eax, eax, 0x3e8
push eax
call fcn.00421030
add esp, 4
jmp 0x4154b8
jmp 0x4155d3
push str.GlobalChronoSpeedupUpdMutex
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x415573
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x30
jmp 0x415655
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x415588
mov eax, 0x30
jmp 0x415655
call fcn.004156b0
test eax, eax
je 0x4155c9
push str.GlobalChronoSpeedupUpdMutex
push 0
push 0
call fcn.00420960
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.00415f10
add esp, 8
mov dword [ebp - 0x20], eax
call fcn.00415b40
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4155d3
mov eax, 0x31
jmp 0x415655
cmp dword [ebp - 0x20], 1
jle 0x41560f
push str.OnErrorExecute
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.libav.dll_Ordinal_44283]
add esp, 8
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x18], 0
je 0x41560f
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 8]
push eax
push str.OnErrorExecute
call fcn.00414440
add esp, 0xc
cmp dword [0x4341e8], 0
je 0x415627
mov ecx, dword [0x4341e8]
push ecx
call fcn.0041396b
add esp, 4
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.libav.dll_Ordinal_44285]
add esp, 4
call dword [sym.imp.libav.dll_Ordinal_49]
cmp dword [ebp - 0x20], 0
jne 0x415652
cmp dword [0x4342f4], 0
je 0x415652
mov eax, 2
jmp 0x415655
mov eax, dword [ebp - 0x20]
pop edi
pop esi
mov esp, ebp
pop ebp
ret