Function at 0x140025910
Capabilities:
Accept command line arguments
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x380
mov rax, qword [0x1400f1200]
xor rax, rsp
mov qword [rsp + 0x370], rax
mov r12, r8
xor ebx, ebx
mov r15d, ebx
mov dword [rsp + 0x1a0], ebx
mov dword [rsp + 0x120], 1
mov qword [rsp + 0x128], rbx
mov qword [rsp + 0x130], rbx
xor r8d, r8d
lea rdx, [rsp + 0x120]
lea rcx, [rsp + 0x138]
call qword [sym.imp.gdiplus.dll_GdiplusStartup]
xor edx, edx
xor ecx, ecx
call sub.api_ms_win_core_com_l1_1_0.dll_CoInitializeEx
test eax, eax
js 0x140026e00
call fcn.1400402f0
mov dword [rsp + 0x90], ebx
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x90]
call qword [sym.imp.api_ms_win_shcore_obsolete_l1_1_0.dll_CommandLineToArgvW]
mov r14, rax
mov edi, 1
movsxd rsi, dword [rsp + 0x90]
cmp rsi, rdi
jbe 0x140025a73
lea r13, str._report_update_success
nop dword [rax]
nop word [rax + rax]
mov r9, qword [r14 + rdi*8]
lea rax, str._ToastActivated
mov r8, r9
sub r8, rax
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x140025a05
add rax, 2
test ecx, ecx
jne 0x1400259f1
test edx, edx
je 0x14002615b
cmp rsi, 2
jne 0x140025a67
lea r8d, [rsi + 0xa]
mov rdx, r9
lea rcx, str.powertoys:__
call fcn.1400858dc
test eax, eax
je 0x140025f6c
mov rdx, qword [r14 + rdi*8]
mov rcx, 0xffffffffffffffff
nop dword [rax]
movzx eax, word [r13 + rcx*2 + 2]
cmp ax, word [rdx + rcx*2 + 2]
jne 0x140025a67
add rcx, 2
cmp rcx, 0x17
je 0x140025fb4
movzx eax, word [r13 + rcx*2]
cmp ax, word [rdx + rcx*2]
je 0x140025a40
inc rdi
cmp rdi, rsi
jb 0x1400259e0
lea r13, [0x140000000]
lea rcx, [rsp + 0x1a0]
call fcn.140030a80
xorps xmm0, xmm0
movups xmmword [rsp + 0x220], xmm0
mov qword [rsp + 0x230], rbx
mov qword [rsp + 0x238], rbx
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x220], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x230], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
lea rcx, [rsp + 0x1a0]
call fcn.1400073a0
lea rdx, [0x1400fd2d0]
cmp qword [0x1400fd2e8], 8
cmovae rdx, qword [0x1400fd2d0]
xorps xmm0, xmm0
movups xmmword [rsp + 0x180], xmm0
mov qword [rsp + 0x190], rbx
mov qword [rsp + 0x198], rbx
mov r8, qword [0x1400fd2e0]
lea rcx, [rsp + 0x180]
call fcn.1400075d0
or r15d, 0x60
lea rdx, [rsp + 0x180]
lea rcx, [rsp + 0x220]
call fcn.140023b00
nop
lea rcx, [rsp + 0x180]
call fcn.1400073a0
lea rcx, [rsp + 0x350]
call fcn.140030a80
xorps xmm0, xmm0
movups xmmword [rsp + 0x200], xmm0
mov qword [rsp + 0x210], rbx
mov qword [rsp + 0x218], rbx
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x200], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x210], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
lea rcx, [rsp + 0x350]
call fcn.1400073a0
xorps xmm0, xmm0
movups xmmword [rsp + 0x180], xmm0
mov qword [rsp + 0x190], rbx
mov qword [rsp + 0x198], rbx
mov r8d, 0x11
lea rdx, str.log_settings.json
lea rcx, [rsp + 0x180]
call fcn.1400075d0
or r15d, 0xc
lea rdx, [rsp + 0x180]
lea rcx, [rsp + 0x200]
call fcn.140023b00
mov rdi, rax
lea rcx, [rsp + 0x180]
call fcn.1400073a0
lea rax, [rsp + 0x200]
cmp rax, rdi
je 0x140025c26
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 8
jb 0x140025c16
mov rdi, qword [rdi]
mov rdx, rdi
lea rcx, [rsp + 0x200]
call fcn.140007410
lea rdx, [rsp + 0x200]
lea rcx, [rsp + 0x160]
call fcn.1400072d0
or r15d, 0x12
lea rcx, [rsp + 0x200]
call fcn.1400073a0
nop
lea rax, [rsp + 0x160]
cmp qword [rsp + 0x178], 8
cmovae rax, qword [rsp + 0x160]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0xc8], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x220]
lea rcx, [rsp + 0xa0]
call fcn.1400072d0
or r15d, 1
lea rdx, str.runner
lea rcx, [rsp + 0xd0]
call fcn.140027a70
movaps xmm0, xmmword [rsp + 0xc0]
movdqa xmmword [rsp + 0x40], xmm0
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0xa0]
mov rcx, rax
call fcn.14005f3c0
nop
lea rcx, [rsp + 0x160]
call fcn.1400073a0
xorps xmm0, xmm0
movups xmmword [rsp + 0x1c0], xmm0
mov qword [rsp + 0x1d0], rbx
mov qword [rsp + 0x1d8], rbx
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [r12 + r8], 0
jne 0x140025d10
mov rdx, r12
lea rcx, [rsp + 0x1c0]
call fcn.14000bd30
nop
lea rax, str.Running_powertoys_with_cmd_args:_
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0x23
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x80], rbx
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0x160], xmm1
movsd xmm0, qword [rsp + 0x80]
movsd qword [rsp + 0x170], xmm0
lea rax, [rsp + 0x1c0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
lea rdx, [rsp + 0x160]
mov rcx, qword [0x1400fc7f0]
call fcn.140029aa0
lea rsi, [rsp + 0x1c0]
cmp qword [rsp + 0x1d8], 0x10
setae byte [rsp + 0x31]
cmovae rsi, qword [rsp + 0x1c0]
mov r12, qword [rsp + 0x1d0]
cmp r12, 0xf
jb 0x140025e2c
lea r14, [rsi + r12]
lea r8, [r14 - 0xe]
sub r8, rsi
mov edx, 0x2d
mov rcx, rsi
call fcn.14007b9d0
mov rdi, rax
test rax, rax
je 0x140025e2c
nop
mov r8d, 0xf
lea rdx, [0x1400cc5c0]
mov rcx, rdi
call fcn.14007be30
test eax, eax
je 0x140026205
inc rdi
lea r8, [r14 - 0xe]
sub r8, rdi
mov edx, 0x2d
mov rcx, rdi
call fcn.14007b9d0
mov rdi, rax
test rax, rax
jne 0x140025df0
mov rdi, 0xffffffffffffffff
mov qword [rsp + 0x40], rdi
cmp rdi, 0xffffffffffffffff
setne byte [rsp + 0x60]
lea rsi, [rsp + 0x1c0]
cmp byte [rsp + 0x31], 0
cmovne rsi, qword [rsp + 0x1c0]
cmp r12, 0x10
jb 0x140025ebc
lea r14, [rsi + r12]
lea r8, [r14 - 0xf]
sub r8, rsi
mov edx, 0x2d
mov rcx, rsi
call fcn.14007b9d0
mov rdi, rax
test rax, rax
je 0x140025ebc
nop dword [rax]
mov r8d, 0x10
lea rdx, [0x1400cc5a8]
mov rcx, rdi
call fcn.14007be30
test eax, eax
je 0x14002620d
inc rdi
lea r8, [r14 - 0xf]
sub r8, rdi
mov edx, 0x2d
mov rcx, rdi
call fcn.14007b9d0
mov rdi, rax
test rax, rax
jne 0x140025e80
mov rdi, 0xffffffffffffffff
xorps xmm0, xmm0
movups xmmword [rsp + 0x1e0], xmm0
mov qword [rsp + 0x1f0], rbx
mov qword [rsp + 0x1f8], 0xf
mov byte [rsp + 0x1e0], 0
cmp rdi, 0xffffffffffffffff
je 0x14002643c
movups xmmword [rsp + 0x180], xmm0
mov ecx, 0x20
call fcn.140078e70
mov rsi, rax
mov qword [rsp + 0x180], rax
mov qword [rsp + 0x190], 0x10
mov qword [rsp + 0x198], 0x1f
movups xmm0, xmmword [0x1400cc5a8]
movups xmmword [rax], xmm0
mov byte [rax + 0x10], 0
add rdi, 0x10
xorps xmm0, xmm0
movups xmmword [rsp + 0x160], xmm0
mov qword [rsp + 0x170], rbx
mov qword [rsp + 0x178], rbx
mov rax, qword [rsp + 0x1d0]
cmp rax, rdi
jb 0x140026e35
jmp 0x140026215
mov rcx, qword [r14 + 8]
add rcx, 0x18
mov qword [rsp + 0x40], rcx
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], bx
jne 0x140025f80
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call fcn.1400256f0
test eax, eax
je 0x1400261fe
cmp eax, 1
je 0x140026151
lea rdi, str.PTUpdateNotifyTag
mov qword [rsp + 0x40], rdi
mov rax, 0xffffffffffffffff
inc rax
cmp word [rdi + rax*2], bx
jne 0x140025fc7
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call fcn.140066700
call fcn.140066fe0
lea rax, [rsp + 0x260]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0xd0], rdi
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rdi + rax*2], bx
jne 0x140026010
mov qword [rsp + 0xd8], rax
mov byte [rsp + 0xe0], 1
mov byte [rsp + 0xe8], 1
mov byte [rsp + 0x118], bl
movups xmm0, xmmword [rsp + 0xd0]
movups xmmword [rsp + 0x260], xmm0
movsd xmm1, qword [rsp + 0xe0]
movsd qword [rsp + 0x270], xmm1
mov byte [rsp + 0x278], 1
mov byte [rsp + 0x2a8], 0
lea rax, [rsp + 0x180]
mov qword [rsp + 0xc0], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x180], xmm0
mov qword [rsp + 0x190], rbx
mov qword [rsp + 0x198], rbx
mov r8d, 9
lea rdx, [0x1400c76f8]
lea rcx, [rsp + 0x180]
call fcn.1400075d0
nop
xor r9d, r9d
lea r8, [rsp + 0x70]
lea edx, [r9 + 0x6d]
lea r13, [0x140000000]
mov rcx, r13
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadStringW]
xorps xmm0, xmm0
mov qword [rsp + 0x170], rbx
mov qword [rsp + 0x178], rbx
lea rcx, [rsp + 0x160]
movups xmmword [rsp + 0x160], xmm0
test eax, eax
jne 0x140026100
lea r8d, [rax + 0x1e]
lea rdx, str.IDS_PT_UPDATE_MESSAGE_BOX_TEXT
jmp 0x140026108
movsxd r8, eax
mov rdx, qword [rsp + 0x70]
call fcn.1400075d0
mov r15d, 0x80
lea r8, [rsp + 0x260]
lea rdx, [rsp + 0x180]
lea rcx, [rsp + 0x160]
call fcn.140064950
nop
cmp byte [rsp + 0x118], 0
je 0x140025a7a
lea rcx, [rsp + 0xf0]
call fcn.1400073a0
jmp 0x140025a7a
mov eax, 1
jmp 0x140026dd3
lea rax, vtable.com_object_factory_class_NotificationActivator_.0
mov qword [rsp + 0x40], rax
xor eax, eax
mov dword [rsp + 0x48], eax
mov edx, 8
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1400fd614], eax
jle 0x1400261b6
lea rcx, [0x1400fd614]
call fcn.14007930c
cmp dword [0x1400fd614], 0xffffffff
jne 0x1400261b6
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentThreadId]
mov dword [0x1400fd618], eax
lea rcx, [0x1400fd614]
call fcn.1400792ac
lea rax, [rsp + 0x1a0]
mov qword [rsp + 0x20], rax
mov r9d, 1
lea r8d, [r9 + 3]
lea rdx, [rsp + 0x40]
lea rcx, [0x1400d4258]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoRegisterClassObject]
test eax, eax
js 0x1400261fe
mov byte [rsp + 0x74], bl
mov rdx, qword [rsp + 0x70]
call fcn.140024160
mov ecx, dword [rsp + 0x1a0]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoRevokeClassObject]
xor eax, eax
jmp 0x140026dd3
sub rdi, rsi
jmp 0x140025e33
sub rdi, rsi
jmp 0x140025ec3
sub rax, rdi
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
lea rdx, [rsp + 0x1c0]
cmp qword [rsp + 0x1d8], 0x10
cmovae rdx, qword [rsp + 0x1c0]
add rdx, rdi
lea rcx, [rsp + 0x160]
call fcn.14000bd30
nop
mov edx, 0x20
mov rcx, rsi
call fcn.140078eb4
lea rax, [r13 + 0xcd110]
mov qword [rsp + 0x260], rax
mov qword [rsp + 0x2f8], rbx
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x320], xmm0
mov qword [rsp + 0x330], rbx
bts r15d, 8
mov dword [rsp + 0x1a0], r15d
lea rsi, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rsp + 0x2f0], rsi
mov dword [rsp + 0x2ec], 0x78
mov qword [rsp + 0x268], rbx
lea rdx, [rsp + 0x270]
lea rcx, [rsp + 0x2f0]
call fcn.140028060
nop
mov rax, qword [rsp + 0x260]
movsxd rcx, dword [rax + 4]
lea rdi, vtable.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x260], rdi
mov rax, qword [rsp + 0x260]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x90]
mov dword [rsp + rcx + 0x25c], edx
lea rax, [rsp + 0x270]
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x270]
call fcn.140027fd0
nop
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + 0x270], rax
lea rdx, [rsp + 0x160]
cmp qword [rsp + 0x178], 0x10
cmovae rdx, qword [rsp + 0x160]
mov r9d, 2
mov r8, qword [rsp + 0x170]
lea rcx, [rsp + 0x270]
call fcn.140027e80
nop
lea rdx, [rsp + 0x1e0]
lea rcx, [rsp + 0x260]
call fcn.140028550
nop
mov rax, qword [rsp + 0x260]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x260], rdi
mov rax, qword [rsp + 0x260]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x90]
mov dword [rsp + rcx + 0x25c], edx
lea rcx, [rsp + 0x270]
call fcn.1400274a0
mov rax, qword [rsp + 0x260]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x260], rsi
mov rax, qword [rsp + 0x260]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rsp + rcx + 0x25c], edx
lea rax, vtable.std::ios_base.0
mov qword [rsp + 0x2f0], rax
lea rcx, [rsp + 0x2f0]
call fcn.140076490
nop
mov rdx, qword [rsp + 0x178]
cmp rdx, 0x10
jb 0x14002643c
inc rdx
mov rcx, qword [rsp + 0x160]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140026437
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140026e3b
call fcn.140078eb4
lea rcx, [rsp + 0xc0]
call fcn.140024210
nop
cmp qword [rsp + 0xc0], 0
jne 0x14002653b
lea rdx, [rsp + 0x1e0]
lea rcx, [rsp + 0xd0]
call fcn.140027a70
mov byte [rsp + 0xf0], 1
lea rcx, [rsp + 0xd0]
call fcn.1400243a0
nop
mov rdx, qword [rsp + 0x1f8]
cmp rdx, 0x10
jb 0x1400264c8
inc rdx
mov rcx, qword [rsp + 0x1e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400264c2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140026e8b
call fcn.140078eb4
nop
mov rdx, qword [rsp + 0x1d8]
cmp rdx, 0x10
jb 0x14002650b
inc rdx
mov rcx, qword [rsp + 0x1c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140026506
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140026e91
call fcn.140078eb4
mov qword [rsp + 0x1d0], rbx
mov qword [rsp + 0x1d8], 0xf
mov byte [rsp + 0x1c0], 0
lea rcx, [rsp + 0x220]
call fcn.1400073a0
xor eax, eax
jmp 0x140026dd3
mov byte [rsp + 0x31], 0
call fcn.140030f30
test al, al
sete byte [rsp + 0x31]
jmp 0x140026550
mov byte [rsp + 0x30], 0
lea rcx, [rsp + 0x240]
call fcn.140031450
nop
lea rcx, [rsp + 0x180]
call fcn.14001abe0
nop
lea rcx, [rsp + 0x240]
cmp qword [rsp + 0x258], 8
cmovae rcx, qword [rsp + 0x240]
lea r8, [rsp + 0x180]
cmp qword [rsp + 0x198], 8
cmovae r8, qword [rsp + 0x180]
mov rdx, qword [rsp + 0x190]
cmp rdx, qword [rsp + 0x250]
jne 0x1400265d9
test rdx, rdx
je 0x1400265d4
sub r8, rcx
nop
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x1400265d9
add rcx, 2
sub rdx, 1
jne 0x1400265c0
xor r12b, r12b
jmp 0x1400265dc
mov r12b, 1
mov byte [rsp + 0x30], r12b
lea rax, str.Scoobe:_product_version_last_version_run
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], 0x2e
mov qword [rsp + 0xa8], 0
mov qword [rsp + 0xa0], rbx
mov qword [rsp + 0xb0], rbx
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rsp + 0xa0]
movaps xmmword [rsp + 0x160], xmm1
movsd xmm0, qword [rsp + 0xb0]
movsd qword [rsp + 0x170], xmm0
lea rax, [rsp + 0x240]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x180]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x70]
mov r8d, 2
lea rdx, [rsp + 0x160]
mov rcx, qword [0x1400fc7f0]
call fcn.14000e690
nop
lea rcx, [rsp + 0x180]
call fcn.1400073a0
nop
lea rcx, [rsp + 0x240]
call fcn.1400073a0
nop
jmp 0x14002669f
call fcn.140021770
mov ecx, 1
call fcn.140078e70
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x1a8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x140029750]
xor edx, edx
xor ecx, ecx
call fcn.14007f9bc
mov qword [rsp + 0x1a0], rax
test rax, rax
je 0x140026e63
cmp dword [rsp + 0x1a8], 0
je 0x140026e41
movaps xmm0, xmmword [rsp + 0x1a0]
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, [rsp + 0x70]
call fcn.140075ba8
test eax, eax
jne 0x140026e4b
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x1a0], xmm0
lea rcx, [rsp + 0xa0]
call fcn.14001bd10
nop
xor edx, edx
lea rcx, [rsp + 0xa0]
call fcn.14001c620
call fcn.14001a960
movzx r13d, al
lea rdi, [rsp + 0x1c0]
cmp qword [rsp + 0x1d8], 0x10
cmovae rdi, qword [rsp + 0x1c0]
mov rcx, qword [rsp + 0x1d0]
cmp rcx, 0xe
jb 0x1400267cc
lea r14, [rdi + rcx]
lea r8, [r14 - 0xd]
sub r8, rdi
mov edx, 0x2d
mov rcx, rdi
call fcn.14007b9d0
mov rsi, rax
test rax, rax
je 0x1400267cc
mov r8d, 0xe
lea rdx, str.__dont_elevate
mov rcx, rsi
call fcn.14007be30
test eax, eax
je 0x140026858
inc rsi
lea r8, [r14 - 0xd]
sub r8, rsi
mov edx, 0x2d
mov rcx, rsi
call fcn.14007b9d0
mov rsi, rax
test rax, rax
jne 0x140026790
mov rsi, 0xffffffffffffffff
mov dword [rsp + 0x188], 1
mov dword [rsp + 0x18c], 0xc
lea rax, str.run_elevated
mov qword [rsp + 0x198], rax
lea rdx, [rsp + 0x188]
mov qword [rsp + 0x180], rdx
mov byte [rsp + 0x30], 0
mov dword [rsp + 0x160], 0x93
mov dword [rsp + 0x164], 9
lea rax, str.C:_a_work1_s_src_runnerx64ReleaseGenerated_FileswinrtWindows.Data.Json.h
mov qword [rsp + 0x168], rax
lea rax, str.auto___cdecl_winrt::impl::consume_Windows_Data_Json_IJsonObjectWithDefaultValues_struct_winrt::Windows::Data::Json::JsonObject_::GetNamedBoolean_const_struct_winrt::param::hstring__bool__const
mov qword [rsp + 0x170], rax
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
jne 0x140026860
mov rcx, rbx
mov qword [rsp + 0x70], rbx
jmp 0x140026891
sub rsi, rdi
jmp 0x1400267d3
mov qword [rsp + 0x1a0], rbx
mov rax, qword [rcx]
lea r8, [rsp + 0x1a0]
lea rdx, [0x1400c8968]
call qword [rax]
mov rcx, qword [rsp + 0x1a0]
mov qword [rsp + 0x70], rcx
mov rdx, qword [rsp + 0x180]
mov rax, qword [rcx]
lea r9, [rsp + 0x30]
xor r8d, r8d
call qword [rax + 0x58]
test eax, eax
js 0x140026e53
lea rcx, [rsp + 0x70]
call fcn.140019250
lea r14, [rsp + 0x1c0]
cmp qword [rsp + 0x1d8], 0x10
cmovae r14, qword [rsp + 0x1c0]
mov rax, qword [rsp + 0x1d0]
cmp rax, 0x13
jb 0x14002693c
lea r15, [r14 + rax]
lea r8, [r15 - 0x12]
sub r8, r14
mov edx, 0x2d
mov rcx, r14
call fcn.14007b9d0
mov rdi, rax
test rax, rax
je 0x14002693c
nop dword [rax]
mov r8d, 0x13
lea rdx, [0x1400cc6d8]
mov rcx, rdi
call fcn.14007be30
test eax, eax
je 0x1400269e6
inc rdi
lea r8, [r15 - 0x12]
sub r8, rdi
mov edx, 0x2d
mov rcx, rdi
call fcn.14007b9d0
mov rdi, rax
test rax, rax
jne 0x140026900
mov rdi, 0xffffffffffffffff
test r13b, r13b
je 0x1400269ee
cmp rsi, 0xffffffffffffffff
je 0x140026b1a
cmp byte [rsp + 0x30], 0
jne 0x140026b1a
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x80], rbx
lea rax, str.Scheduling_restart_as_non_elevated
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0x22
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0x160], xmm1
movsd xmm0, qword [rsp + 0x80]
movsd qword [rsp + 0x170], xmm0
lea r9, [rsp + 0x40]
mov r8d, 2
lea rdx, [rsp + 0x160]
mov rcx, qword [0x1400fc7f0]
call fcn.140023f30
mov dword [0x1400fc860], 3
mov edi, ebx
jmp 0x140026bf5
sub rdi, r14
jmp 0x140026943
cmp byte [rsp + 0x30], 0
je 0x140026aa0
cmp rsi, 0xffffffffffffffff
jne 0x140026aa0
cmp rdi, rsi
jne 0x140026aa6
mov qword [rsp + 0x1a8], 0
mov qword [rsp + 0x1a0], rbx
mov qword [rsp + 0x1b0], rbx
lea rax, str.Scheduling_restart_as_elevated
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], 0x1e
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rsp + 0x1a0]
movaps xmmword [rsp + 0x160], xmm1
movsd xmm0, qword [rsp + 0x1b0]
movsd qword [rsp + 0x170], xmm0
lea r9, [rsp + 0x70]
lea r8d, [rsi + 3]
lea rdx, [rsp + 0x160]
mov rcx, qword [0x1400fc7f0]
call fcn.140023f30
mov eax, ebx
cmp qword [rsp + 0x40], rsi
setne al
inc eax
mov dword [0x1400fc860], eax
mov edi, ebx
jmp 0x140026bf5
cmp rdi, 0xffffffffffffffff
je 0x140026b1a
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x80], rbx
lea rax, str.Restart_as_elevated_failed._Running_non_elevated.
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0x31
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0x160], xmm1
movsd xmm0, qword [rsp + 0x80]
movsd qword [rsp + 0x170], xmm0
lea r9, [rsp + 0x40]
mov r8d, 2
lea rdx, [rsp + 0x160]
mov rcx, qword [0x1400fc7f0]
call fcn.140023f30
lea rdx, [rsp + 0x1e0]
lea rcx, [rsp + 0xd0]
call fcn.140027a70
mov byte [rsp + 0x20], r12b
movzx r9d, byte [rsp + 0x31]
mov r8, rax
movzx edx, byte [rsp + 0x60]
movzx ecx, r13b
call fcn.140024460
mov edi, eax
test eax, eax
jne 0x140026bf5
lea rcx, [rsp + 0x260]
call fcn.14001c140
nop
lea rdx, [rsp + 0x70]
mov rcx, rax
call fcn.14001aef0
nop
mov rcx, rax
call fcn.140030c00
nop
cmp qword [rsp + 0x70], 0
je 0x140026b8d
lea rcx, [rsp + 0x70]
call fcn.140019250
nop
lea rcx, [rsp + 0x2e0]
call fcn.1400073a0
lea rcx, [rsp + 0x2c0]
call fcn.1400073a0
lea rcx, [rsp + 0x2a0]
call fcn.1400073a0
mov r8, qword [rsp + 0x288]
mov r8, qword [r8 + 8]
lea rdx, [rsp + 0x288]
lea rcx, [rsp + 0x288]
call fcn.140020850
mov edx, 0x48
mov rcx, qword [rsp + 0x288]
call fcn.140078eb4
lea rcx, [rsp + 0x268]
call fcn.1400073a0
nop
cmp qword [rsp + 0xa0], 0
je 0x140026c0e
lea rcx, [rsp + 0xa0]
call fcn.140019250
nop
jmp 0x140026c19
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov esi, eax
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov rcx, qword [rsp + 0x3a8]
test eax, eax
je 0x140026e75
mov ecx, esi
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
mov qword [rsp + 0xc0], rbx
cmp dword [0x1400fc860], 0
je 0x140026ce2
call fcn.14002a380
test al, al
jne 0x140026ce2
mov qword [rsp + 0x1a8], 0
mov qword [rsp + 0x1a0], rbx
mov qword [rsp + 0x1b0], rbx
lea rax, str.Scheduled_restart_failed._Couldnt_restart_non_elevated._PowerToys_exits_here_because_retrying_it_would_just_mean_failing_in_a_loop.
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0x84
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rsp + 0x1a0]
movaps xmmword [rsp + 0x160], xmm1
movsd xmm0, qword [rsp + 0x1b0]
movsd qword [rsp + 0x170], xmm0
lea r9, [rsp + 0x40]
mov r8d, 3
lea rdx, [rsp + 0x160]
mov rcx, qword [0x1400fc7f0]
call fcn.140023f30
cmp byte [0x1400f9f3e], 0
je 0x140026d03
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x10]
mov rcx, qword [0x1400fc878]
call qword [sym.imp.USER32.dll_SendMessageW]
nop
test rbx, rbx
je 0x140026d21
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov rcx, qword [rsp + 0x3a8]
test eax, eax
je 0x140026e80
mov rdx, qword [rsp + 0x1f8]
cmp rdx, 0x10
jb 0x140026d65
inc rdx
mov rcx, qword [rsp + 0x1e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140026d5f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140026e8b
call fcn.140078eb4
nop
mov rdx, qword [rsp + 0x1d8]
cmp rdx, 0x10
jb 0x140026da8
inc rdx
mov rcx, qword [rsp + 0x1c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140026da3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140026e91
call fcn.140078eb4
mov qword [rsp + 0x1d0], rbx
mov qword [rsp + 0x1d8], 0xf
mov byte [rsp + 0x1c0], 0
lea rcx, [rsp + 0x220]
call fcn.1400073a0
mov eax, edi
mov rcx, qword [rsp + 0x370]
xor rcx, rsp
call fcn.140078e50
lea r11, [rsp + 0x380]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov dword [rsp + 0x40], 0x197f
mov dword [rsp + 0x44], 0xd
lea rcx, str.C:_a_work1_s_src_runnerx64ReleaseGenerated_Fileswinrt_base.h
mov qword [rsp + 0x48], rcx
lea rcx, str.void___cdecl_winrt::init_apartment_const_enum_winrt::apartment_type_
mov qword [rsp + 0x50], rcx
lea rdx, [rsp + 0x40]
mov ecx, eax
call fcn.140019e90
nop
call fcn.14000d9e0
nop
call fcn.14007fed8
nop
mov ecx, 1
call fcn.1400754c8
mov ecx, eax
call fcn.14007548c
nop
lea rdx, [rsp + 0x160]
mov ecx, eax
call fcn.140019e90
nop
mov dword [rsp + 0x1a8], ebx
mov ecx, 6
call fcn.1400754c8
nop
mov edx, 0x93e
call fcn.1400239e0
nop
mov edx, 0x93e
call fcn.1400239e0
nop
call fcn.14007fed8
nop
call fcn.14007fed8
int3