Function at 0x42fee5
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4bc
mov eax, dword [0x47c00c]
xor eax, esp
mov dword [esp + 0x4b8], eax
push ebx
push esi
push edi
xor edi, edi
mov ebx, edx
and dword [esp + 0x38], edi
mov esi, ecx
and dword [esp + 0x10], edi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], edi
call fcn.004138dc
push 5
mov ecx, eax
call fcn.0043a060
test eax, eax
je 0x42ff62
call fcn.004138dc
test ebx, ebx
mov ecx, 0x45c5e0
cmovne ecx, ebx
push ecx
push esi
mov ecx, str.CTrayElevator::StartQMTray
push ecx
push str.__s__:_dwSessionId__d___tszCmd__s_.
push ecx
push 0x3e4
push str.D:qci_workspace_root_workspaces__qci_pipeline_10989745_2FTHardwareQMPublicExeQMServiceTrayElevator.cpp
push edi
push 5
push edi
push eax
call fcn.0043a100
add esp, 0x2c
lea eax, [esp + 0x10]
xor esi, esi
push eax
push dword [esp + 0x24]
mov dword [esp + 0x48], esi
call dword [0x455524]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
inc edx
test eax, eax
je 0x42ffc9
call fcn.004138dc
push 5
mov ecx, eax
call fcn.0043a060
test eax, eax
je 0x430092
call fcn.004138dc
push dword [esp + 0x10]
push str.WTSQueryUserToken_hPToken:_x
push str.CTrayElevator::StartQMTray
push 0x3e9
push str.D:qci_workspace_root_workspaces__qci_pipeline_10989745_2FTHardwareQMPublicExeQMServiceTrayElevator.cpp
push esi
push 5
push esi
push eax
call fcn.0043a100
add esp, 0x24
jmp 0x430092
lea eax, [esp + 0x1c]
xor ecx, ecx
push eax
lea eax, [esp + 0x10]
mov dword [esp + 0x20], ecx
push eax
push edx
push ecx
push ecx
mov dword [esp + 0x20], ecx
call dword [0x45552c]
test eax, eax
je 0x430092
and dword [esp + 0x34], esi
cmp dword [esp + 0x1c], esi
jbe 0x430050
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov esi, dword [esp + 0xc]
lea edi, [esp + 0x24]
push str.explorer.exe
lea esi, [ecx + esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push dword [esp + 0x30]
call dword [0x455644]
pop ecx
pop ecx
test eax, eax
jne 0x430030
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x24], eax
je 0x430125
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
inc eax
add ecx, 0x10
mov dword [esp + 0x34], eax
mov dword [esp + 0x14], ecx
cmp eax, dword [esp + 0x1c]
jb 0x42fffe
mov esi, dword [esp + 0x40]
mov edi, esi
cmp dword [esp + 0xc], 0
je 0x430066
push dword [esp + 0xc]
call dword [0x455530]
and dword [esp + 0xc], 0
test esi, esi
je 0x430092
push esi
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x430092
lea eax, [esp + 0x10]
push eax
push 0xf00ff
push esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
push esi
call ebx
cmp dword [esp + 0x10], 0
je 0x430344
lea eax, [esp + 0x38]
xor edi, edi
push eax
push 4
lea eax, [esp + 0x20]
mov dword [esp + 0x14], edi
push eax
push 0x13
push dword [esp + 0x20]
mov dword [esp + 0x2c], edi
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov esi, 0x2000000
test eax, eax
jne 0x430177
lea eax, [esp + 0x40]
push eax
push str.SeDebugPrivilege
push edi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
lea eax, [esp + 0xc]
push eax
push 1
push 1
push edi
push esi
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
call fcn.004138dc
push 5
mov ecx, eax
call fcn.0043a060
test eax, eax
je 0x4301bb
call fcn.004138dc
push dword [esp + 0xc]
push str.USE_DuplicateTokenEx_hUserTokenDup:_x
push str.CTrayElevator::StartQMTray
push 0x41a
jmp 0x4301a9
call fcn.004138dc
push 5
mov ecx, eax
call fcn.0043a060
mov esi, dword [esp + 0x28]
test eax, eax
je 0x43016e
call fcn.004138dc
push dword [esp + 0x24]
mov ecx, str.CTrayElevator::StartQMTray
push esi
push dword [esp + 0x34]
push ecx
push str.__s__:_pProcessName__s___ProcessId__d___SessionId__d_.
push ecx
push 0x3f6
push str.D:qci_workspace_root_workspaces__qci_pipeline_10989745_2FTHardwareQMPublicExeQMServiceTrayElevator.cpp
push 0
push 5
push 0
push eax
call fcn.0043a100
add esp, 0x30
mov edi, dword [esp + 0x18]
jmp 0x430050
mov eax, dword [esp + 0x18]
mov dword [esp + 0xc], eax
call fcn.004138dc
push 5
mov ecx, eax
call fcn.0043a060
test eax, eax
je 0x4301bb
call fcn.004138dc
push dword [esp + 0xc]
push str.USE_LinkedToken_hUserTokenDup:_x
push str.CTrayElevator::StartQMTray
push 0x41d
push str.D:qci_workspace_root_workspaces__qci_pipeline_10989745_2FTHardwareQMPublicExeQMServiceTrayElevator.cpp
push edi
push 5
push edi
push eax
call fcn.0043a100
add esp, 0x24
push 1
push dword [esp + 0x10]
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], edi
push eax
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
mov dword [esp + 0x48], 0x44
mov ecx, 0x2000400
lea edi, [esp + 0x24]
cmovne esi, ecx
xor eax, eax
stosd dword es:[edi], eax
push 0x40
push 0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x54]
push eax
call fcn.0044fa15
mov edi, dword [esp + 0x48]
add esp, 0xc
push str._showui
push edi
call dword [0x4554c8]
pop ecx
pop ecx
test eax, eax
je 0x43021c
xor eax, eax
inc eax
mov dword [esp + 0x74], eax
jmp 0x430226
xor eax, eax
mov dword [esp + 0x74], 0x81
push 0x412
mov word [esp + 0x7c], ax
lea eax, [esp + 0xac]
push 0
push eax
call fcn.0044fa15
add esp, 0xc
lea ecx, [esp + 0x90]
call fcn.00412dfa
cmp dword [eax + 0x14], 8
jb 0x430256
mov eax, dword [eax]
test edi, edi
mov ecx, 0x45c5e0
cmovne ecx, edi
push ecx
push str._elevated
push str.QQPCTray.exe
push eax
push str.__s_s___s_s
lea eax, [esp + 0xbc]
push 0x208
push eax
call fcn.00412b5e
add esp, 0x1c
lea ecx, [esp + 0x90]
call fcn.004023ee
lea eax, [esp + 0x24]
xor ecx, ecx
push eax
lea eax, [esp + 0x4c]
push eax
push ecx
push dword [esp + 0x20]
lea eax, [esp + 0xb8]
push esi
push ecx
mov dword [ebp - 0x1ee6], ecx