Function at 0x457252
Capabilities:
Accept command line arguments
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x66c
push ebx
push esi
push edi
call fcn.004b30b9
push str.MAIN
call fcn.0049f520
mov eax, dword [ebp + 8]
push 0x61c0ac
mov dword [0x623b10], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [0x623afc], eax
call fcn.004a9266
test al, al
je 0x4572b3
mov eax, dword [0x623afc]
mov ecx, dword [eax]
lea eax, [esp + 0x48]
call fcn.0040162b
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
xor ebx, ebx
push str._installer
mov byte [esp + 0x17], bl
mov byte [esp + 0x10], bl
call fcn.004a92a9
test al, al
je 0x45732d
lea eax, [esp + 0x48]
push eax
push 0x5b07d8
push str.CurrentVersion
mov esi, 0x5bbe1c
push esi
mov byte [esp + 0x23], 1
call fcn.00457b24
cmp word [esp + 0x48], bx
push str.VersionCheckAfterCrash
sete al
push esi
mov byte [esp + 0x14], al
call fcn.00457bdd
push str.LastCrashCheck
push esi
call fcn.00457bdd
push str.OSCheck
push esi
call fcn.00457bdd
push str.OSCheckWinRelease
push esi
call fcn.00457bdd
push str.NewerVersion
push esi
call fcn.00457bdd
cmp dword [0x61c0ac], 1
mov byte [esp + 0x14], bl
jle 0x457659
mov esi, dword [0x623afc]
mov edi, dword [esi + 4]
cmp word [edi], 0x2d
jne 0x457659
mov ecx, str._installsched
mov eax, edi
call fcn.0040106a
test eax, eax
jne 0x457370
call fcn.00462b39
call fcn.00462ad7
jmp 0x4578dc
mov ecx, str._sevendays
mov eax, edi
call fcn.0040106a
test eax, eax
jne 0x4573d6
push str.SevenDays
call fcn.00459d96
cmp dword [0x61c160], 0xa
jne 0x457398
call fcn.004ab8ff
cmp dword [0x61c160], 9
jne 0x4578dc
mov eax, dword [0x61c0ac]
mov esi, dword [0x623afc]
xor ecx, ecx
inc ecx
cmp eax, ecx
mov byte [esp + 0x14], 1
jle 0x4573cd
mov eax, dword [esi + ecx*4 + 4]
mov dword [esi + ecx*4], eax
mov eax, dword [0x61c0ac]
inc ecx
cmp ecx, eax
jl 0x4573bc
mov dword [esi + eax*4], ebx
dec dword [0x61c0ac]
mov ecx, str._notifyinstalled
mov eax, edi
call fcn.0040106a
test eax, eax
jne 0x457422
push str.NotifyInstalledReminder
call fcn.00459d96
push str.LLIBInstallnotify24hoff
push str.LLIBInstallnotify24hon
call fcn.004b2c2f
test al, al
je 0x4578dc
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
call fcn.004788a1
call fcn.00478ee1
call fcn.00478d7a
jmp 0x4578dc
mov ecx, str._notifytrialextension
mov eax, edi
call fcn.0040106a
test eax, eax
jne 0x45743c
call fcn.004c65f8
jmp 0x4578dc
mov ecx, str._systemnotifyevent
mov eax, edi
call fcn.0040106a
test eax, eax
jne 0x457456
call fcn.00478941
jmp 0x4578dc
mov ecx, str._downgrade
mov eax, edi
call fcn.0040106a
test eax, eax
jne 0x457479
call fcn.00462bd5
test al, al
je 0x4578dc
mov esi, dword [0x623afc]
cmp dword [0x61c0ac], 2
jle 0x4574c3
mov ecx, str._exe
mov eax, edi
call fcn.0040106a
test eax, eax
jne 0x4574ad
push dword [esi + 8]
lea eax, [esp + 0x18]
push eax
call fcn.004ab274
xor eax, eax
cmp dword [esp + 0x14], ebx
setne al
jmp 0x4578de
mov ecx, str._elevated
mov eax, edi
call fcn.0040106a
test eax, eax
jne 0x4574c3
inc eax
jmp 0x4578de
mov ecx, str._extfind
mov eax, edi
call fcn.0040106a
test eax, eax
jne 0x4574dd
call fcn.00460c25
jmp 0x4578dc
mov ecx, str._extsuite
mov eax, edi
call fcn.0040106a
test eax, eax
jne 0x45750c
cmp dword [0x61c0ac], 2
jle 0x4574fb
mov esi, dword [esi + 8]
jmp 0x457500
mov esi, 0x5b07d8
push esi
push ebx
call fcn.0044f89f
jmp 0x4578dc
cmp dword [0x61c0ac], 5
jle 0x4575ba
mov ecx, str._addfiletyperunspecial
mov eax, edi
call fcn.0040106a
test eax, eax
jne 0x45754b
push dword [esi + 0x14]
call fcn.00590243
pop ecx
push eax
mov eax, dword [0x623afc]
push dword [eax + 0xc]
push dword [eax + 8]
mov eax, dword [eax + 0x10]
call fcn.004a7e20
jmp 0x4578dc
mov ecx, str._addremfiletyperunspecial
mov eax, edi
call fcn.0040106a
test eax, eax
jne 0x457585
push dword [esi + 8]
mov eax, dword [esi + 0x10]
call fcn.004a7eb7
mov eax, dword [0x623afc]
push dword [eax + 0x18]
call fcn.00590243
pop ecx
push eax
mov eax, dword [0x623afc]
push dword [eax + 0xc]
push dword [eax + 8]
mov eax, dword [eax + 0x14]
jmp 0x457541
mov ecx, str._addremfiletyperun
mov eax, edi
call fcn.0040106a
test eax, eax
jne 0x4575ba
push dword [esi + 0x18]
call fcn.00590243
pop ecx
push eax
mov eax, dword [0x623afc]
push dword [eax + 0x14]
push dword [eax + 0x10]
push dword [eax + 0xc]
push dword [eax + 8]
call fcn.004a7551
jmp 0x4578dc
cmp dword [0x61c0ac], 3
jle 0x4575e3
mov ecx, str._remfiletyperunspecial
mov eax, edi
call fcn.0040106a
test eax, eax
jne 0x4575e3
push dword [esi + 8]
mov eax, dword [esi + 0xc]
call fcn.004a7eb7
jmp 0x4578dc
push 0xf
push str._installrelated
push edi
call fcn.0059091d
add esp, 0xc
test eax, eax
jne 0x45761b
mov eax, dword [0x623afc]
mov edx, dword [eax + 8]
call fcn.00446a7f
cmp eax, ebx
mov dword [0x623b20], eax
je 0x4578dc
call fcn.004b000f
jmp 0x4578dc
mov ecx, str._suite
mov eax, edi
call fcn.0040106a
test eax, eax
jne 0x457659
call fcn.0044f905
push ebx
lea eax, [esp + 0x256]
push eax
call fcn.004b18bd
push 0x2b
push ebx
push eax
call fcn.004040d8
lea eax, [esp + 0x252]
push eax
call fcn.0044f7bf
jmp 0x4578dc
mov eax, dword [0x623b08]
cmp eax, ebx
jne 0x457672
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x623b08], eax
push str.SetProcessDPIAware
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x457684
call eax
cmp byte [esp + 0x13], bl
je 0x457693
call fcn.00405c6c
test al, al
jne 0x4576a4
push dword [esp + 0xc]
call fcn.004be160
test al, al
je 0x4578dc
mov esi, dword [0x61c0ac]
cmp esi, 2
jl 0x457767
push str._uninstall
call fcn.004a92a9
test al, al
je 0x4576f3
cmp esi, 3
mov byte [esp + 0xc], bl
jl 0x4576d8
push str._quiet
call fcn.004a92a9
mov byte [esp + 0xc], al
call fcn.00457112
test al, al
je 0x4578dc
push dword [esp + 0xc]
call fcn.0044e30d
jmp 0x4578dc
push str._uninstall2
call fcn.004a92a9
test al, al
je 0x457726
cmp esi, 3
mov byte [esp + 0xc], bl
jl 0x457718
push str._quiet
call fcn.004a92a9
mov byte [esp + 0xc], al
push dword [esp + 0xc]
call fcn.0044e465
jmp 0x4578dc
mov eax, dword [0x623afc]
mov esi, dword [eax + 4]
mov ecx, str._bootstrap
mov eax, esi
call fcn.0040106a
test eax, eax
jne 0x45774f
call fcn.00457112
push 1
call fcn.004a57de
jmp 0x4578de
mov ecx, str._installer
mov eax, esi
call fcn.0040106a
test eax, eax
jne 0x457767
call fcn.00457112
push ebx
jmp 0x457745
push 0x4e20
mov edi, 0x624680
call fcn.004aad19
push 0x5b0844
push str.NCHSoftware_InstanceWindow
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, ebx
mov dword [esp + 0x18], eax
je 0x4578d3
cmp dword [0x61c0ac], ebx
jle 0x4578b9
lea ecx, [esp + 0xc]
push ecx
push eax
mov dword [esp + 0x14], ebx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x457847
cmp dword [esp + 0xc], ebx
je 0x457847
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esp + 0x20], eax
xor eax, eax
lea edi, [esp + 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x1c]
push eax
call fcn.00459132
cmp dword [esp + 0x1c], 0xffffffff
je 0x45782a
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [esp + 0x30]
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
setne al
test al, al
je 0x45782a
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x48]
push eax
lea esi, [esp + 0x24]
lea edi, [esp + 0x1c]
mov dword [esp + 0x1c], 0x5c8654
call fcn.00459351
lea esi, [esp + 0x1c]
call fcn.004591bc
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esp + 0xc]
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
push 0x10404
call fcn.004a8f86
mov edi, eax
mov eax, dword [0x61c0ac]
mov dword [edi], eax
mov eax, 0x80
cmp dword [edi], eax
pop ecx
jle 0x457866
mov dword [edi], eax
xor ebx, ebx
cmp dword [edi], ebx
jle 0x45788c
lea esi, [edi + 4]
mov eax, dword [0x623afc]
mov edx, dword [eax + ebx*4]
push 0x104
call fcn.004a8ff7
inc ebx
add esi, 0x208
cmp ebx, dword [edi]
jl 0x45786f
and dword [esp + 0x38], 0
lea eax, [esp + 0x38]
push eax
push 0
push 0x4a
push dword [esp + 0x24]
mov dword [esp + 0x4c], 0x10404
mov dword [esp + 0x50], edi
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
call fcn.0059022d
pop ecx
jmp 0x4578c7
push ebx
push ebx
push 0x8068
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, 0x624680
call fcn.004aadad
jmp 0x4578dc
push dword [esp + 0x14]
call fcn.0045704f
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10