Function at 0x42edc0
Capabilities:
Accept command line arguments
Check if file exists
Create thread
Get file attributes
Identify system language via api

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c5084
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x3b8
mov eax, dword [0x519100]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebx + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x3a8], 0
mov dword [ebp - 0x390], eax
xor eax, eax
movups xmmword [ebp - 0xc4], xmm0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 7
mov word [ebp - 0xc4], ax
mov dword [ebp - 4], eax
movups xmmword [ebp - 0x284], xmm0
mov dword [ebp - 0x274], eax
mov dword [ebp - 0x270], 7
mov word [ebp - 0x284], ax
movups xmmword [ebp - 0xf4], xmm0
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xe0], 7
mov word [ebp - 0xf4], ax
push 0x34
push eax
lea eax, [ebp - 0x254]
push eax
call fcn.00486ef0
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
xor eax, eax
mov dword [ebp - 0x44], 7
movups xmmword [ebp - 0x58], xmm0
mov word [ebp - 0x58], ax
mov byte [ebp - 0x23c], al
movups xmmword [ebp - 0x238], xmm0
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], eax
add esp, 8
mov byte [ebp - 4], 4
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0x254]
push eax
call fcn.00431020
lea ecx, [ebp - 0x58]
call fcn.00423780
push 0x48
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.00486ef0
add esp, 0xc
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x208], 0
xor eax, eax
mov dword [ebp - 0x204], 7
movups xmmword [ebp - 0x218], xmm0
mov word [ebp - 0x218], ax
movups xmmword [ebp - 0x200], xmm0
mov dword [ebp - 0x1f0], eax
mov dword [ebp - 0x1ec], 7
mov word [ebp - 0x200], ax
mov byte [ebp - 4], 9
push 0x70
mov dword [ebp - 0x1e8], eax
mov dword [ebp - 0x1e4], eax
call fcn.00484763
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x1e8], eax
mov byte [ebp - 4], 0xa
push 0x34
mov dword [ebp - 0x1e0], 0
mov dword [ebp - 0x1dc], 0
call fcn.00484763
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x1e0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x3a0], 0
xor eax, eax
mov dword [ebp - 0x9c], 0
movups xmmword [ebp - 0xac], xmm0
mov dword [ebp - 0x98], 7
mov word [ebp - 0xac], ax
lea ecx, [eax + 1]
mov byte [ebp - 4], 0xc
call fcn.0045ee90
sub esp, 8
mov ecx, 1
call fcn.00468d70
add esp, 8
call fcn.00468ff0
xor ecx, ecx
call fcn.0045f040
call fcn.00469a70
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, eax
mov dword [ebp - 0x48], 0
mov ecx, edx
mov dword [ebp - 0x44], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x58], xmm0
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42f030
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.00423920
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 7
push ecx
cmova eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x254]
push eax
call fcn.00431020
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xc
call fcn.00423780
mov ecx, str.silent
mov dword [ebp - 0x60], 0
xorps xmm0, xmm0
mov dword [ebp - 0x5c], 0
movups xmmword [ebp - 0x70], xmm0
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42f090
sub ecx, edx
sar ecx, 1
push ecx
push str.silent
lea ecx, [ebp - 0x70]
call fcn.00423920
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x70]
cmp dword [ebp - 0x5c], 7
lea ecx, [ebp - 0x254]
push dword [ebp - 0x60]
cmova eax, dword [ebp - 0x70]
push eax
call fcn.0042ca40
test eax, eax
mov dword [ebp - 0x394], eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xc
setne byte [ebp - 0x395]
call fcn.00423780
mov ecx, 0x5006cc
mov dword [ebp - 0x60], 0
xorps xmm0, xmm0
mov dword [ebp - 0x5c], 0
movups xmmword [ebp - 0x70], xmm0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42f103
sub ecx, edx
sar ecx, 1
push ecx
push 0x5006cc
lea ecx, [ebp - 0x70]
call fcn.00423920
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x70]
cmp dword [ebp - 0x5c], 7
lea ecx, [ebp - 0x254]
push dword [ebp - 0x60]
cmova eax, dword [ebp - 0x70]
push eax
call fcn.0042ca40
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 4], 0xc
call fcn.00423780
call fcn.00433870
mov edx, eax
cmp dword [eax + 0x14], 7
jbe 0x42f15f
mov edx, dword [eax]
mov ecx, dword [eax + 0x10]
sub esp, 8
mov eax, esp
push ecx
push edx
lea ecx, [ebp - 0xac]
mov dword [eax], str.LogsUpdate.log
mov dword [eax + 4], 0xf
call fcn.00476960
mov esi, dword [ebp - 0x9c]
lea edx, [ebp - 0xac]
add esp, 0x10
cmp dword [ebp - 0x98], 7
cmova edx, dword [ebp - 0xac]
or edi, 0xffffffff
test esi, esi
je 0x42f1d3
lea eax, [esi - 1]
mov ecx, edi
cmp eax, edi
cmovb ecx, eax
cmp word [edx + ecx*2], 0x5c
lea ecx, [edx + ecx*2]
je 0x42f1cd
nop dword [eax]
cmp ecx, edx
je 0x42f1d3
sub ecx, 2
cmp word [ecx], 0x5c
jne 0x42f1c0
sub ecx, edx
sar ecx, 1
jmp 0x42f1d6
or ecx, 0xffffffff
cmp esi, ecx
mov dword [ebp - 0x48], 0
lea eax, [ebp - 0xac]
mov dword [ebp - 0x44], 0
cmovb ecx, esi
xorps xmm0, xmm0
cmp dword [ebp - 0x98], 7
push ecx
cmova eax, dword [ebp - 0xac]
lea ecx, [ebp - 0x58]
push eax
movups xmmword [ebp - 0x58], xmm0
call fcn.00423920
mov dword [ebp - 0x3a8], 2
xor edx, edx
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x58]
call fcn.004764f0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xc
call fcn.00423780
cmp dword [ebp - 0x98], 7
lea eax, [ebp - 0xac]
xorps xmm0, xmm0
lea ecx, [ebp - 0x28]
cmova eax, dword [ebp - 0xac]
mov dword [ebp - 0x20], eax
movlpd qword [ebp - 0x28], xmm0
call fcn.0040abc0
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x42f290
mov eax, dword [eax]
xor ecx, ecx
cmp dword [ebp - 0x39c], ecx
mov esi, dword [eax + 0x2c]
mov eax, 2
cmovne eax, ecx
push eax
push ecx
push 0x400000
push dword [ebp - 0x20]
mov ecx, esi
call dword [0x4cc2f8]
mov ecx, dword [ebp - 0x28]
call esi
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x20], ecx
test ecx, ecx
je 0x42f2d6
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x42f2d6
mov eax, dword [ecx]
mov esi, dword [eax]
mov ecx, esi
call dword [0x4cc2f8]
mov ecx, dword [ebp - 0x20]
call esi
mov ecx, dword [ebp - 0x20]
mov eax, edi
lock xadd dword [ecx + 8], eax
jne 0x42f2d6
mov eax, dword [ecx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4cc2f8]
mov ecx, dword [ebp - 0x20]
call esi
xorps xmm0, xmm0
lea ecx, [ebp - 0x28]
movlpd qword [ebp - 0x28], xmm0
call fcn.0040abc0
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x42f305
mov eax, dword [eax]
push 7
mov esi, dword [eax + 0x28]
mov ecx, esi
call dword [0x4cc2f8]
mov ecx, dword [ebp - 0x28]
call esi
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x20], ecx
test ecx, ecx
je 0x42f34b
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x42f34b
mov eax, dword [ecx]
mov esi, dword [eax]
mov ecx, esi
call dword [0x4cc2f8]
mov ecx, dword [ebp - 0x20]
call esi
mov ecx, dword [ebp - 0x20]
mov eax, edi
lock xadd dword [ecx + 8], eax
jne 0x42f34b
mov eax, dword [ecx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4cc2f8]
mov ecx, dword [ebp - 0x20]
call esi
movq xmm0, qword [str.sfxvps]
mov eax, dword [0x5006c8]
mov dword [ebp - 0x380], 0x45414144
mov ecx, dword [ebp - 0x380]
movq qword [ebp - 0x58], xmm0
xorps xmm0, xmm0
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x48], ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x384], 0x43313345
mov eax, dword [ebp - 0x384]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x44], 0x54
movlpd qword [ebp - 0x28], xmm0
call fcn.0040abc0
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x42f3b8
push str.Entering_Avast_VPS_SFX_stub_guarded_code_section.
lea eax, [ebp - 0x58]
push eax
push 2
call fcn.0042bf00
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x20], ecx
test ecx, ecx
je 0x42f3fe
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x42f3fe
mov eax, dword [ecx]
mov esi, dword [eax]
mov ecx, esi
call dword [0x4cc2f8]
mov ecx, dword [ebp - 0x20]
call esi
mov ecx, dword [ebp - 0x20]
mov eax, edi
lock xadd dword [ecx + 8], eax
jne 0x42f3fe
mov eax, dword [ecx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4cc2f8]
mov ecx, dword [ebp - 0x20]
call esi
mov eax, dword [0x5006c8]
lea edx, [ebp - 0x58]
movq xmm0, qword [str.sfxvps]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x384], 0x43313345
mov eax, dword [ebp - 0x384]
push 0x14
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x20]
push str.Running_VPS_SFX_
mov dword [ebp - 0x380], 0x45414144
mov ecx, dword [ebp - 0x380]
push eax
mov dword [ebp - 0x20], 0x5209e0
movq qword [ebp - 0x58], xmm0
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], 0x55
call fcn.0040d200
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0xffffffff
xor eax, eax
mov dword [ebp - 0x60], 0
movups xmmword [ebp - 0x70], xmm0
add esp, 0xc
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
movups xmmword [ebp - 0x1d8], xmm0
mov dword [ebp - 0x1c8], eax
mov dword [ebp - 0x1c4], 7
mov word [ebp - 0x1d8], ax
movups xmmword [ebp - 0xdc], xmm0
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], 7
mov word [ebp - 0xdc], ax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0x16
push eax
sub esp, 8
lea eax, [ebp - 0xdc]
lea edx, [ebp - 0x1d8]
lea ecx, [ebp - 0x70]
push eax
call fcn.00435480
add esp, 0x10
test al, al
jne 0x42f66a
call fcn.00449eb0
push eax
lea ecx, [ebp - 0x40]
call fcn.0040b2f0
cmp dword [ebp - 0x394], 0
mov byte [ebp - 4], 0x17
mov dword [ebp - 0x20], 0xa003
jne 0x42f5f6
cmp dword [ebp - 0x2c], 7
lea ecx, [ebp - 0x40]
mov eax, dword [ebp - 0x30]
cmova ecx, dword [ebp - 0x40]
sub esp, 8
mov dword [ebp - 0x37c], eax
mov eax, esp
mov dword [ebp - 0x380], ecx
lea ecx, [ebp - 0x384]
mov dword [ebp - 0x384], 0xc0000000
mov byte [ebp - 4], 0x17
mov dword [eax + 4], ecx
lea ecx, [ebp - 0x88]
push 0x54
push str._was_not_detected_to_be_installed_on_this_machine._This_installer_cannot_continue.
mov dword [eax], 1
call fcn.0040d940
cmp dword [ebp - 0x2c], 7
lea ecx, [ebp - 0x40]
mov eax, dword [ebp - 0x30]
cmova ecx, dword [ebp - 0x40]
add esp, 8
mov dword [ebp - 0x3ac], eax
mov eax, esp
mov dword [ebp - 0x3b0], ecx
lea ecx, [ebp - 0x3b4]
mov dword [ebp - 0x3b4], 0xc0000000
mov byte [ebp - 4], 0x19
mov dword [eax + 4], ecx
lea ecx, [ebp - 0x26c]
push 0xf
push str._not_detected
mov dword [eax], 1
call fcn.0040d940
add esp, 0x10
lea ecx, [ebp - 0x26c]
cmp dword [ebp - 0x258], 7
lea eax, [ebp - 0x88]
cmova ecx, dword [ebp - 0x26c]
cmp dword [ebp - 0x74], 7
push 0x10
cmova eax, dword [ebp - 0x88]
push ecx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x26c]
call fcn.00423780
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x17
call fcn.00423780
mov eax, dword [0x5006c8]
lea edx, [ebp - 0x3c0]
movq xmm0, qword [str.sfxvps]
mov dword [ebp - 0x3b8], eax
mov dword [ebp - 0x384], 0x43313345
mov eax, dword [ebp - 0x384]
push 0x2a
mov dword [ebp - 0x3b4], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x380], 0x45414144
mov ecx, dword [ebp - 0x380]
mov dword [ebp - 0x3b0], ecx
mov ecx, 7
push str._is_not_installed._Stub_cannot_continue.
push eax
movq qword [ebp - 0x3c0], xmm0
mov dword [ebp - 0x3ac], 0x67
call fcn.0042a060
add esp, 0xc
jmp 0x43042b
cmp dword [ebp - 0xc8], 7
lea edx, [ebp - 0xdc]
mov eax, dword [ebp - 0xcc]
mov ecx, str.instup.exe
cmova edx, dword [ebp - 0xdc]
sub esp, 8
mov esi, esp
mov dword [ebp - 0x24], eax
lea eax, [ecx + 2]
mov dword [ebp - 0x3a4], eax
mov dword [esi], str.instup.exe
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42f6a0
sub ecx, dword [ebp - 0x3a4]
push dword [ebp - 0x24]
sar ecx, 1
mov dword [esi + 4], ecx
lea ecx, [ebp - 0xc4]
push edx
call fcn.00476960
add esp, 0x10
lea eax, [ebp - 0xc4]
cmp dword [ebp - 0xb0], 7
cmova eax, dword [ebp - 0xc4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4302f8
test al, 0x10
jne 0x4302f8
mov eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x42f707
cmp eax, 0x7cb
jbe 0x4302f8
lea ecx, [ebp - 0x378]
call fcn.004306e0
mov byte [ebp - 4], 0x1d
call fcn.004356d0
mov eax, dword [ebp - 0x2e8]
cmp eax, 0xffffffff
jne 0x42f741
call fcn.00449710
xor ecx, ecx
cmp dword [eax + 0x18], 2
sete cl
add ecx, 0x3e9
mov dword [ebp - 0x24], ecx
mov esi, ecx
jmp 0x42f779
cmp eax, 0x13
jne 0x42f74d
mov esi, 0x3eb
jmp 0x42f779
cmp eax, 0x15
je 0x42f774
cmp eax, 0x16
je 0x42f774
cmp eax, 0xf
je 0x42f76d
cmp eax, 0x10
je 0x42f76d
cmp eax, 0x11
je 0x42f76d
mov esi, 0x3e9
jmp 0x42f779
mov esi, 0x3ea
jmp 0x42f779
mov esi, 0x3ec
push 0x58
lea eax, [ebp - 0x14c]
push 0
push eax
call fcn.00486ef0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov edx, dword [ebp - 0x2e8]
movzx eax, ax
push eax
push ecx
lea ecx, [ebp - 0x88]
call fcn.0042e8f0
add esp, 8
push eax
push esi
push ecx
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 0x1e
call fcn.0042df80
lea ecx, [ebp - 0x88]
call fcn.00423780
push 0x74
lea eax, [ebp - 0x1c0]
mov dword [ebp - 0x94], 0x5006a4
push 0
push eax
call fcn.00486ef0
add esp, 0xc
mov dword [ebp - method.ProgressCallback.virtual_0], vtable.ProgressCallback.0
mov dword [ebp - 0x1a0], 0
mov dword [ebp - 0x19c], 0
mov dword [ebp - 0x198], 0
xorps xmm0, xmm0
mov dword [ebp - 0x17c], 0
xor eax, eax
mov dword [ebp - 0x178], 7
movups xmmword [ebp - 0x18c], xmm0
mov word [ebp - 0x18c], ax
movups xmmword [ebp - 0x174], xmm0
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x160], 7
mov word [ebp - 0x174], ax
mov byte [ebp - 4], 0x23
push 0x38
mov dword [ebp - 0x15c], eax
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x150], eax
call fcn.00484763
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x154], eax
lea eax, [ebp - 0x1bc]
mov byte [ebp - 4], 0x24
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push ecx
push 1
sub esp, 8
call fcn.004671a0
mov dword [ebp - 0x1a4], eax
add esp, 0x10
mov eax, dword [ebp - 0x1a0]
cmp eax, dword [ebp - 0x19c]
je 0x42f8bf
mov dword [ebp - 0x19c], eax
mov byte [ebp - 0x158], 0
lea ecx, [ebp - 0x15c]
xor eax, eax
xchg dword [ecx], eax
lea eax, [ebp - 0x24]
mov byte [ebp - 0x190], 0
xorps xmm0, xmm0
mov dword [ebp - 0x88], 0x64
push eax
lea ecx, [ebp - 0x154]
movlpd qword [ebp - 0x80], xmm0
mov dword [ebp - 0x84], 0
mov byte [ebp - 0x90], 1
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x24], 0
call fcn.004248b0
movups xmm0, xmmword [ebp - 0x90]
lea ecx, [ebp - 0x154]
mov dword [ebp - 0x3a4], 1
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0x80]
movups xmmword [eax + 0x10], xmm0
lea eax, [ebp - 0x3a4]
push eax
call fcn.004248b0
movups xmm0, xmmword [ebp - 0x90]
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0x80]
movups xmmword [eax + 0x10], xmm0
lea eax, [ebp - 0x1bc]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x1bc]
mov dword [ebp - 0x194], 0
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [ebp - 0x94]
mov byte [ebp - 4], 0x25
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x1bc]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x1a0]
mov ecx, dword [ebp - 0x19c]
cmp eax, ecx
je 0x42f9b6
lea edx, [ebp - 0x94]
cmp dword [eax], edx
je 0x42f9df
add eax, 4
cmp eax, ecx
jne 0x42f9a5
cmp ecx, dword [ebp - 0x198]
je 0x42f9cf
lea eax, [ebp - 0x94]
mov dword [ecx], eax
add dword [ebp - 0x19c], 4
jmp 0x42f9df
lea eax, [ebp - 0x20]
push eax
push ecx
lea ecx, [ebp - 0x1a0]
call fcn.00424c70
lea eax, [ebp - 0x1bc]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [ebp - 0x14c]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x1bc]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x1a0]
mov ecx, dword [ebp - 0x19c]
cmp eax, ecx
je 0x42fa23
lea edx, [ebp - 0x14c]
cmp dword [eax], edx
je 0x42fa4c
add eax, 4
cmp eax, ecx
jne 0x42fa12
cmp ecx, dword [ebp - 0x198]
je 0x42fa3c
lea eax, [ebp - 0x14c]
mov dword [ecx], eax
add dword [ebp - 0x19c], 4
jmp 0x42fa4c
lea eax, [ebp - 0x20]
push eax
push ecx
lea ecx, [ebp - 0x1a0]
call fcn.00424c70
lea eax, [ebp - 0x1bc]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 0x394], 0
jne 0x42faab
cmp dword [ebp - 0x10c], 0
mov dword [ebp - 0x20], 0
jne 0x42faab
lea eax, [ebp - 0x20]
push eax
push 0
lea eax, [ebp - 0x14c]
push eax
push 0x42e660
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x10c], eax
test eax, eax
je 0x42faab
mov eax, dword [ebp - 0x148]
test eax, eax
je 0x42faab
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [ebp - 0x88]
call fcn.0042c080
mov esi, eax
lea eax, [ebp - 0xf4]
cmp eax, esi
je 0x42faf3
mov ecx, eax
call fcn.00423780
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0xf4], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0xe4], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x88]
call fcn.00423780
mov ecx, 0x5209e0
mov byte [ebp - 4], 0x26
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42fb20
sub ecx, edx
sar ecx, 1
push ecx
push 0x5209e0
lea ecx, [ebp - 0x40]
call fcn.00423920
mov byte [ebp - 4], 0x28
call fcn.0047b200
cmp eax, 1
jne 0x42fb6a
lea ecx, [ebp - 0x3b0]
call fcn.00429760
push eax
lea ecx, [ebp - 0x220]
call fcn.004290b0
mov ecx, dword [ebp - 0x3ac]
jmp 0x42fb87
lea ecx, [ebp - 0x380]
call fcn.004297f0
push eax
lea ecx, [ebp - 0x220]
call fcn.004290b0
mov ecx, dword [ebp - 0x37c]
mov dword [ebp - 0x20], ecx
test ecx, ecx
je 0x42fbc5
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x42fbc5
mov eax, dword [ecx]
mov esi, dword [eax]
mov ecx, esi
call dword [0x4cc2f8]
mov ecx, dword [ebp - 0x20]
call esi
mov eax, edi
mov edi, dword [ebp - 0x20]
lock xadd dword [edi + 8], eax
jne 0x42fbc5
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4cc2f8]
mov ecx, edi
call esi
mov edi, dword [ebp - 0x220]
mov eax, dword [edi]
mov esi, dword [eax + 4]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x88]
mov ecx, esi
push eax
call dword [0x4cc2f8]
mov ecx, edi
call esi
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x3a8], 3
call fcn.00427ed0
lea ecx, [ebp - 0x88]
call fcn.00423780
lea ecx, [ebp - 0x40]
call fcn.00423780
push ecx
lea eax, [ebp - 0x1c0]
mov dword [ebp - 4], 0x25
push eax
lea eax, [ebp - 0xf4]
mov byte [ebp - 4], 0x2b
push eax
lea ecx, [ebp - 0x220]
call fcn.00428ad0
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0x25
push eax
lea ecx, [ebp - 0x58]
call fcn.0040b2f0
mov byte [ebp - 4], 0x2e
lea eax, [ebp - 0xf4]
cmp dword [ebp - 0xe0], 7
lea ecx, [ebp - 0x58]
mov edx, str._TMPPATH_
cmova eax, dword [ebp - 0xf4]
push eax
call fcn.0042c820
mov esi, dword [ebp - 0x390]
add esp, 4
test esi, esi
je 0x42fcc0
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42fc82
sub ecx, edx
sar ecx, 1
je 0x42fcc0
push 1
push 0x5002ec
lea ecx, [ebp - 0x58]
call fcn.0040ba30
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42fca7
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x58]
call fcn.0040ba30
mov eax, dword [0x5006c8]
lea edx, [ebp - 0x40]
movq xmm0, qword [str.sfxvps]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x384], 0x43313345
mov eax, dword [ebp - 0x384]
push 0x2a
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0xc4]
mov dword [ebp - 0x380], 0x45414144
mov ecx, dword [ebp - 0x380]
mov dword [ebp - 0x30], ecx
mov ecx, 2
push 0x5002f0
push eax
movq qword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0xcc
call fcn.0042a060
cmp dword [ebp - 0x44], 7
lea edx, [ebp - 0x58]
mov esi, dword [ebp - 0x394]
lea ecx, [ebp - 0xc4]
cmova edx, dword [ebp - 0x58]
lea eax, [ebp - 0x14c]
cmp dword [ebp - 0xb0], 7
cmova ecx, dword [ebp - 0xc4]
add esp, 8
xor edi, edi
test esi, esi
cmovne eax, edi
push eax
lea eax, [ebp - 0x3a0]
push eax
call fcn.0042c4c0
add esp, 0xc
mov dword [ebp - 0x20], eax
test eax, eax
je 0x42fed1
test esi, esi
jne 0x42fd89
push 0x10
push str.Installer_error
push str.Cannot_run_installer_updater_executable.
push dword [ebp - 0x104]
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [0x5006c8]
lea edx, [ebp - 0x40]
movq xmm0, qword [str.sfxvps]
mov dword [ebp - 0x38], eax
push 0x3c
mov dword [ebp - 0x384], 0x43313345
mov eax, dword [ebp - 0x384]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x20]
push str.Cannot_run_installer_updater_executable___code_0x:08X_
push eax
mov dword [ebp - 0x380], 0x45414144
lea eax, [ebp - 0xc4]
mov ecx, dword [ebp - 0x380]
mov dword [ebp - 0x30], ecx
mov ecx, 7
push eax
movq qword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0xd4
call fcn.00431ef0
add esp, 0x10
lea ecx, [ebp - 0x58]
call fcn.00423780
lea eax, [ebp - 0x1bc]
mov dword [ebp - method.ProgressCallback.virtual_0], vtable.ProgressCallback.0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [ebp - 0x1a4]
test eax, eax
je 0x42fe1d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x154]
call fcn.00424990
lea ecx, [ebp - 0x174]
call fcn.00423780
lea ecx, [ebp - 0x18c]
call fcn.00423780
lea ecx, [ebp - 0x1a0]
call fcn.004234a0
lea ecx, [ebp - 0x14c]
mov dword [ebp - method.ProgressAnimator.virtual_0], vtable.ProgressAnimator.0
call fcn.0042e870
mov edi, dword [ebp - 0x100]
test edi, edi
je 0x42fe84
mov eax, dword [edi]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x4cc2f8]
mov ecx, edi
call esi
mov dword [ebp - 0x100], 0
push dword [ebp - 0x144]
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
mov eax, dword [ebp - 0x148]
test eax, eax
je 0x42feab
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x148], 0
lea ecx, [ebp - 0x128]
call fcn.00423780
lea ecx, [ebp - 0x140]
call fcn.00423780
lea ecx, [ebp - 0x378]
call fcn.00430be0
jmp 0x430433
mov eax, dword [ebp - 0x3a0]
lea edx, [ebp - 0x40]
movq xmm0, qword [str.sfxvps]
mov dword [ebp - 0x20], eax
mov eax, dword [0x5006c8]
mov dword [ebp - 0x38], eax
push 0x49
mov dword [ebp - 0x384], 0x43313345
mov eax, dword [ebp - 0x384]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x20]
push str.Installer_updater_executable__finished__process_return_code_0x:08X_
push eax
mov dword [ebp - 0x380], 0x45414144
lea eax, [ebp - 0xc4]
mov ecx, dword [ebp - 0x380]
mov dword [ebp - 0x30], ecx
mov ecx, 2
push eax
movq qword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0xda
call fcn.00431ef0
add esp, 0x10
lea ecx, [ebp - 0x58]
call fcn.00423780
lea eax, [ebp - 0x1bc]
mov dword [ebp - method.ProgressCallback.virtual_0], vtable.ProgressCallback.0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [ebp - 0x1a4]
test eax, eax
je 0x42ff6e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x154]
call fcn.00424990
lea ecx, [ebp - 0x174]
call fcn.00423780
lea ecx, [ebp - 0x18c]
call fcn.00423780
lea ecx, [ebp - 0x1a0]
call fcn.004234a0
lea ecx, [ebp - 0x14c]
mov dword [ebp - method.ProgressAnimator.virtual_0], vtable.ProgressAnimator.0
call fcn.0042e870
mov edi, dword [ebp - 0x100]
test edi, edi
je 0x42ffd5
mov eax, dword [edi]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x4cc2f8]
mov ecx, edi
call esi
mov dword [ebp - 0x100], 0
push dword [ebp - 0x144]
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
mov eax, dword [ebp - 0x148]
test eax, eax
je 0x42fffc
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x148], 0
lea ecx, [ebp - 0x128]
call fcn.00423780
lea ecx, [ebp - 0x140]
call fcn.00423780
lea ecx, [ebp - 0x2a0]
call fcn.00423780
lea ecx, [ebp - 0x2b8]
call fcn.00423780
lea ecx, [ebp - 0x2d4]
call fcn.00423780
lea ecx, [ebp - 0x2e0]
call fcn.004234a0
lea ecx, [ebp - 0x300]
call fcn.00423780
lea ecx, [ebp - 0x318]
call fcn.00423780
lea ecx, [ebp - 0x330]
call fcn.00423780
lea ecx, [ebp - 0x348]
call fcn.00423780
lea ecx, [ebp - 0x360]
call fcn.00423780
lea ecx, [ebp - 0x378]
jmp 0x43042e
call fcn.00449eb0
push eax
lea ecx, [ebp - 0x40]
call fcn.0040b2f0
cmp dword [ebp - 0x394], 0
mov byte [ebp - 4], 0x1b
mov dword [ebp - 0x20], 0xa003
jne 0x4303ba
cmp dword [ebp - 0x2c], 7
lea ecx, [ebp - 0x40]
mov eax, dword [ebp - 0x30]
xorps xmm0, xmm0
cmova ecx, dword [ebp - 0x40]
sub esp, 8
mov dword [ebp - 0x380], eax
mov eax, esp
mov dword [ebp - 0x384], ecx
lea ecx, [ebp - 0x38c]
movq qword [ebp - 0x38c], xmm0
mov dword [ebp - 0x38c], 0xc0000000
mov dword [ebp - 0x37c], 0x7cb
mov dword [ebp - 0x388], 0x20000008
mov byte [ebp - 4], 0x1b
mov dword [eax + 4], ecx
lea ecx, [ebp - 0x88]
push 0x68
push str.This_installer_cannot_continue_because_installed__is_too_old._Program_version_must_be_greater_than_.
mov dword [eax], 2
call fcn.0040d940
add esp, 0x10
lea eax, [ebp - 0x88]
cmp dword [ebp - 0x74], 7
cmova eax, dword [ebp - 0x88]
push 0x10
push str.Old_program_version
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x88]
call fcn.00423780
mov eax, dword [0x5006c8]
lea edx, [ebp - 0x3c0]
movq xmm0, qword [str.sfxvps]
mov dword [ebp - 0x3b8], eax
push 0x32
mov dword [ebp - 0x384], 0x43313345
mov eax, dword [ebp - 0x384]
mov dword [ebp - 0x3b4], eax
lea eax, [ebp - 0xc4]
push str._setup__was_not_found._Stub_cannot_continue.
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x380], 0x45414144
mov ecx, dword [ebp - 0x380]
push eax
movq qword [ebp - 0x3c0], xmm0
mov dword [ebp - 0x3b0], ecx
mov dword [ebp - 0x3ac], 0x78
call fcn.00431dd0
add esp, 0x10
lea ecx, [ebp - 0x40]
call fcn.00423780
lea ecx, [ebp - 0xdc]
call fcn.00423780
lea ecx, [ebp - 0x1d8]
call fcn.00423780
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xc
call fcn.00423780
or edi, 0xffffffff
lea ecx, [ebp - 0xf4]
cmp dword [ebp - 0x39c], 0
je 0x430470
mov dl, 1
call fcn.00476f00
jmp 0x43047b
sub esp, 8
call fcn.00476640
add esp, 8
call fcn.0045fa00
call fcn.00469120
sub esp, 8
xor ecx, ecx
call fcn.00468d70
add esp, 8
xor ecx, ecx
call fcn.0045ee90
movq xmm0, qword [str.sfxvps]
mov eax, dword [0x5006c8]
mov dword [ebp - 0x380], 0x45414144
mov ecx, dword [ebp - 0x380]
movq qword [ebp - 0x58], xmm0
xorps xmm0, xmm0
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x48], ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x384], 0x43313345
mov eax, dword [ebp - 0x384]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x44], 0xeb
movlpd qword [ebp - 0x28], xmm0
call fcn.0040abc0
mov byte [ebp - 4], 0x2f
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x39c], eax
test eax, eax
je 0x430572
mov eax, dword [eax]
push 2
mov esi, dword [eax + 0x3c]
mov ecx, esi
call dword [0x4cc2f8]
mov ecx, dword [ebp - 0x39c]
call esi
test al, al
je 0x430572
push 0x42
push str.Leaving_Avast_SFX_stub_guarded_code_section__return_code_0x:08X_
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.004328e0
mov esi, dword [ebp - 0x39c]
mov byte [ebp - 4], 0x30
cmp dword [eax + 0x14], 7
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
mov ecx, eax
mov dword [ebp - 0x390], edx
jbe 0x43054d
mov ecx, dword [eax]
push dword [eax + 0x10]
lea eax, [ebp - 0x58]
push ecx
push eax
push 2
mov ecx, edx
call dword [0x4cc2f8]
mov ecx, esi
call dword [ebp - 0x390]
lea ecx, [ebp - 0x88]
call fcn.00423780
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x394], ecx
test ecx, ecx
je 0x4305c0
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x4305c0
mov eax, dword [ecx]
mov esi, dword [eax]
mov ecx, esi
call dword [0x4cc2f8]
mov ecx, dword [ebp - 0x394]
call esi
mov ecx, dword [ebp - 0x394]
mov eax, edi
lock xadd dword [ecx + 8], eax
jne 0x4305c0
mov eax, dword [ecx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4cc2f8]
mov ecx, dword [ebp - 0x394]
call esi
lea ecx, [ebp - 0xac]
call fcn.00423780
lea ecx, [ebp - 0x1e0]
call fcn.00430fd0
mov eax, dword [ebp - 0x1e8]
push dword [eax + 4]
lea eax, [ebp - 0x1e8]
push eax
mov ecx, eax
call fcn.00429a30
push 0x70
push dword [ebp - 0x1e8]
call fcn.00484729
add esp, 8
lea ecx, [ebp - 0x200]
call fcn.00423780
lea ecx, [ebp - 0x218]
call fcn.00423780
mov ecx, dword [ebp - 0x21c]
mov dword [ebp - 0x394], ecx
test ecx, ecx
je 0x430663
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x430663
mov eax, dword [ecx]
mov esi, dword [eax]
mov ecx, esi
call dword [0x4cc2f8]
mov ecx, dword [ebp - 0x394]
call esi
mov eax, dword [ebp - 0x394]
lock xadd dword [eax + 8], edi
dec edi
jne 0x430663
mov eax, dword [eax]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4cc2f8]
mov ecx, dword [ebp - 0x394]
call esi
lea ecx, [ebp - 0x22c]
call fcn.0040b6f0
lea ecx, [ebp - 0x238]
call fcn.00431530
cmp byte [ebp - 0x23c], 0
je 0x43068d
lea ecx, [ebp - 0x254]
call fcn.00423780
lea ecx, [ebp - 0xf4]
call fcn.00423780
lea ecx, [ebp - 0x284]
call fcn.00423780
lea ecx, [ebp - 0xc4]
call fcn.00423780
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0048471b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8