Function at 0x429d60
Capabilities:
Accept command line arguments
Shutdown system

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 0x552f28
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x120
mov eax, dword [0x5ec3c8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x44], ecx
mov eax, dword [ecx + 0x4c]
mov edi, dword [ebx + 0xc]
cmp byte [eax + 0x34], 0
jne 0x429e24
call fcn.0044f060
push 1
lea ecx, [ebp - 0x110]
push ecx
mov ecx, eax
call fcn.0044f5c0
lea edx, [ebp - 0x4c]
mov dword [ebp - 0x4c], str.InstallManager.cpp
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x48], 0x4b
call fcn.0041a580
mov edx, str.event_sender_service_is_not_initialized
lea ecx, [ebp - 0x110]
call fcn.0041a5e0
lea ecx, [ebp - 0xb8]
call fcn.0044dd10
lea eax, [ebp - 0xb8]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0xb8], vtable.std::ios_base.0
call fcn.004f317c
add esp, 4
or eax, 0xffffffff
jmp 0x42a21f
mov eax, dword [ebx + 8]
lea esi, [ecx + 0x14]
mov dword [ebp - 0x3c], esi
test eax, eax
jle 0x429f1d
test edi, edi
je 0x429f1d
lea ecx, [edi + eax*4]
mov dword [ebp - 0x30], 0
xorps xmm0, xmm0
mov dword [ebp - 0x54], ecx
movq qword [ebp - 0x38], xmm0
lea ecx, [ebp - 0x38]
push eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
call fcn.00420c70
lea eax, [ebp - 0x38]
mov dword [ebp - 0x48], eax
mov dword [ebp - 4], 2
xorps xmm0, xmm0
mov esi, dword [ebp - 0x38]
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 3
cmp edi, dword [ebp - 0x54]
je 0x429ee7
mov edx, dword [edi]
xorps xmm0, xmm0
mov ecx, edx
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
lea eax, [ecx + 2]
mov dword [ebp - 0x50], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x429ec0
sub ecx, dword [ebp - 0x50]
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.00419c40
add esi, 0x18
add edi, 4
mov dword [ebp - 0x1c], esi
cmp edi, dword [ebp - 0x54]
jne 0x429ea1
mov dword [ebp - 0x34], esi
mov dword [ebp - 4], 4
lea eax, [ebp - 0x38]
mov esi, dword [ebp - 0x3c]
mov ecx, esi
push eax
call fcn.00425010
lea ecx, [ebp - 0x38]
mov byte [ebp - 0x3d], al
mov dword [ebp - 4], 0xffffffff
call fcn.0041d5f0
cmp byte [ebp - 0x3d], 0
jne 0x42a003
jmp 0x429f90
call fcn.0044f060
push 1
lea ecx, [ebp - 0x110]
push ecx
mov ecx, eax
call fcn.0044f5c0
lea edx, [ebp - 0x4c]
mov dword [ebp - 0x4c], str.CmdLineArgParser.cpp
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x48], 0x26
call fcn.0041a580
mov edx, str.Invalid_arguments
lea ecx, [ebp - 0x110]
call fcn.0041a5e0
lea ecx, [ebp - 0xb8]
call fcn.0044dd10
lea eax, [ebp - 0xb8]
mov dword [ebp - 4], 1
push eax
mov dword [ebp - 0xb8], vtable.std::ios_base.0
call fcn.004f317c
add esp, 4
mov dword [ebp - 4], 0xffffffff
call fcn.0044f060
push 2
lea ecx, [ebp - 0x110]
push ecx
mov ecx, eax
call fcn.0044f5c0
lea edx, [ebp - 0x4c]
mov dword [ebp - 0x4c], str.InstallManager.cpp
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x48], 0x51
call fcn.0041a580
mov edx, str.Failed_to_parse_command_line_arguments
lea ecx, [ebp - 0x110]
call fcn.0041a5e0
lea ecx, [ebp - 0xb8]
call fcn.0044dd10
lea eax, [ebp - 0xb8]
mov dword [ebp - 4], 5
push eax
mov dword [ebp - 0xb8], vtable.std::ios_base.0
call fcn.004f317c
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0x5c9d38
mov ecx, esi
call fcn.00425a00
mov esi, dword [ebp - 0x44]
mov ecx, esi
test al, al
je 0x42a01f
call fcn.0042b520
jmp 0x42a024
call fcn.0042bd70
mov eax, dword [esi + 0x38]
test eax, eax
js 0x42a21f
push 0x5c9d38
lea ecx, [esi + 0x14]
call fcn.00425a00
test al, al
jne 0x42a09a
cmp byte [esi + 0x48], al
je 0x42a09a
lea eax, [ebp - 0x3c]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x42a090
lea eax, [ebp - 0x20]
push eax
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push 0
push 0
push 0
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 1
push eax
push 0
push dword [ebp - 0x3c]
mov dword [ebp - 0x18], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push 0
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov edi, dword [esi + 0x38]
lea ecx, [esi + 0x14]
push 0x5c9d38
call fcn.00425a00
test al, al
je 0x42a0bf
push str.thirdparty
lea ecx, [esi + 0x14]
call fcn.00425a00
test al, al
je 0x42a0c6
mov ecx, esi
call fcn.0042a250
mov eax, dword [esi + 0x4c]
mov dword [ebp - 0x44], eax
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov dword [ebp - 0x50], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x12c]
push eax
call fcn.0041f900
mov dword [ebp - 4], 6
xorps xmm0, xmm0
cmp byte [eax + 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x2c], xmm0
je 0x42a12f
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
jmp 0x42a13e
push 0
push 0x5c698b
lea ecx, [ebp - 0x2c]
call fcn.00419cf0
mov esi, dword [ebp - 0x2c]
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x6c]
cmp dword [ebp - 0x18], 0x10
mov edx, edi
cmovb esi, eax
call fcn.004320b0
mov byte [ebp - 4], 8
cmp dword [eax + 0x14], 0x10
jb 0x42a165
mov eax, dword [eax]
push 0
push 0
push dword [ebp - 0x3c]
push esi
mov esi, dword [ebp - 0x50]
mov ecx, esi
push 0
push eax
push str.Completed
push str.Installer
call dword [0x5845b0]
mov ecx, dword [ebp - 0x44]
call esi
mov ecx, dword [ebp - 0x58]
cmp ecx, 0x10
jb 0x42a1be
mov edx, dword [ebp - 0x6c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42a1b4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a23f
push ecx
push edx
call fcn.0050a4c5
add esp, 8
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0xf
mov byte [ebp - 0x6c], 0
cmp ecx, 0x10
jb 0x42a200
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42a1f6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a23f
push ecx
push edx
call fcn.0050a4c5
add esp, 8
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.0041fd70
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0050a47b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.00522dda
int3