Function at 0x66eb33
Capabilities:
Accept command line arguments
Create process on windows
Delete file

Disassembly:
mov eax, 0x670f2e
call fcn.004c5428
sub esp, 0x464
push ebx
push esi
mov esi, ecx
cmp dword [esi + 0x10], 0
push edi
mov dword [ebp - 0x10], esp
jne 0x66eb65
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
lea ecx, [ebp - 0x14]
call fcn.00402781
and dword [ebp - 4], 0
push eax
push esi
call fcn.004031a8
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
lea ecx, [ebp - 0x14]
call fcn.0040279b
cmp dword [esi + 0x14], 0x10
jb 0x66eb8e
mov esi, dword [esi]
mov ebx, dword [ebp + 8]
push esi
lea esi, [ebx + 0x24]
call fcn.0066f8cf
mov edi, eax
mov esi, ebx
test edi, edi
je 0x66ebb9
push edi
push str.Installer:_package_download_failed._Error:__d_r_n
push bind
call fcn.00666d3d
add esp, 0xc
mov eax, edi
jmp 0x66eb54
push str.Starting_download_of_upgraded_installer_r_n
mov edi, bind
push edi
call fcn.00666d3d
pop ecx
pop ecx
lea eax, [ebp - 0x470]
push eax
lea eax, [ebx + 0x24]
call fcn.0066f601
mov ebx, eax
test ebx, ebx
je 0x66ebf6
push ebx
push str.SaveToTempFile_of_upgraded_installer_failed._Error:__d_r_n
push edi
call fcn.00666d3d
add esp, 0xc
mov eax, ebx
jmp 0x66eb54
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp - 0x470]
push eax
mov ebx, esi
call fcn.0066d20b
mov ebx, eax
test ebx, ebx
je 0x66ec19
push ebx
push str.ExtractUpgrade_of_upgraded_installer_failed._Error:__d_r_n
jmp 0x66ebe6
lea eax, [ebp - 0x470]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
and dword [ebp - 0x44], 0
lea eax, [ebp - 0x270]
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x66ec3e
sub eax, ecx
push eax
lea eax, [ebp - 0x270]
push eax
lea ecx, [ebp - 0x54]
call fcn.0040182b
xor edx, edx
inc edx
mov dword [ebp - 4], edx
mov ecx, dword [ebp - 0x44]
test ecx, ecx
jne 0x66ec79
mov esi, edx
push 0
push 1
lea ecx, [ebp - 0x54]
call fcn.004010ac
mov eax, esi
jmp 0x66eb54
cmp dword [ebp - 0x40], 0x10
mov eax, dword [ebp - 0x54]
jae 0x66ec85
lea eax, [ebp - 0x54]
cmp byte [eax + ecx - 1], 0x5c
je 0x66ec97
push 0x5c
push edx
lea ecx, [ebp - 0x54]
call fcn.00402d38
push 0xffffffffffffffff
push 0
add esi, 0x2ae0
push esi
lea ecx, [ebp - 0x54]
call fcn.00402ebc
mov byte [ebp - 4], 2
cmp dword [ebp - 0x40], 0x10
mov eax, dword [ebp - 0x54]
jae 0x66ecba
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x5c]
call fcn.004b4e15
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
add eax, 0x2ac4
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 0x10
jb 0x66ecda
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x38]
call fcn.004b4e15
mov ecx, dword [ebp - 0x14]
mov ebx, eax
lea eax, [ebp - 0x6c]
push eax
call fcn.004b4ce6
push eax
lea eax, [ebp - 0x64]
push eax
mov ecx, ebx
call fcn.004b4ce6
push eax
call fcn.004b7acb
pop ecx
mov bl, al
pop ecx
neg bl
lea ecx, [ebp - 0x38]
sbb bl, bl
call fcn.004b4d76
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
call fcn.004b4d76
inc bl
je 0x66ed4a
mov esi, dword [ebp + 8]
push str.Version_of_downloaded_installer_isnt_higher_than_the_version_of_the_current_installer._using_the_original_installer_r_n
push edi
call fcn.00666d3d
pop ecx
pop ecx
lea eax, [ebp - 0x270]
push eax
push esi
call fcn.0066d153
mov esi, 0x507
jmp 0x66ec66
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
and dword [ebp - 0x20], 0
push eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
call fcn.0040189f
lea ecx, [ebp - 0x14]
call fcn.00402781
push esi
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x38]
push ecx
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.004031c9
add esp, 0xc
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.0040279b
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x38], eax
je 0x66edc1
cmp byte [eax], 0x22
mov ecx, dword [ebp - 0x30]
jne 0x66edab
inc eax
cmp dword [ebp - 0x1c], 0x10
jae 0x66edb4
lea ecx, [ebp - 0x30]
push eax
push ecx
lea ebx, [ebp - 0x14]
lea eax, [ebp - 0x30]
call fcn.00402be2
lea ecx, [ebp - 0x14]
call fcn.00402781
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 7
call fcn.004031a8
pop ecx
pop ecx
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.0040279b
cmp dword [ebp - 0x1c], 0x10
mov ecx, dword [ebp - 0x30]
jae 0x66edf1
lea ecx, [ebp - 0x30]
cmp dword [ebp - 0x40], 0x10
mov eax, dword [ebp - 0x54]
jae 0x66edfd
lea eax, [ebp - 0x54]
push 0
lea edx, [ebp - 0x270]
push edx
push ecx
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, dword [ebp + 8]
cmp eax, 0x20
jle 0x66ee4a
push str.Upgraded_installer_will_be_used._r_n
push edi
call fcn.00666d3d
xor esi, esi
lea eax, [ebp - 0x270]
push esi
push eax
call fcn.004b7311
add esp, 0x10
push esi
push 1
lea ecx, [ebp - 0x30]
call fcn.004010ac
jmp 0x66ec66
push str.Unable_to_launch_upgraded_installer_r_n
push edi
call fcn.00666d3d
pop ecx
pop ecx
lea eax, [ebp - 0x270]
push eax
push esi
call fcn.0066d153
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.004010ac
jmp 0x66ed40