Function at 0x140004490
Capabilities:
Accept command line arguments
Compare security identifiers
Create directory
Create process on windows
Create thread
Delete directory
Delete registry value
Find taskbar
Get common file path
Get program files directory
Get token membership
Impersonate user
Move file
Persist via com hijack
Persist via run registry key
Query or enumerate registry value
Self delete
Set registry value
Shutdown system
Terminate process

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1370]
mov eax, 0x1470
call fcn.1400279c0
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x1360], rax
mov r14, rcx
mov r15, r8
lea rcx, [0x14003ce40]
call fcn.140001d90
xor edi, edi
mov rcx, 0xfffffffffffffffc
mov dword [rsp + 0x60], edi
mov r12d, edi
call qword [sym.imp.USER32.dll_SetProcessDpiAwarenessContext]
lea rdx, [rbp + 0x110]
mov dword [rbp + 0x110], edi
mov rcx, r15
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
xor edx, edx
lea rcx, [rbp + 0x120]
mov r8d, 0x208
mov rbx, rax
call fcn.140027ca0
cmp dword [rbp + 0x110], 1
jl 0x1400048af
mov rcx, qword [rbx]
lea rdx, str._extract
call fcn.140018b58
test eax, eax
jne 0x1400048af
cmp dword [rbp + 0x110], 2
jl 0x14000456a
mov r8, qword [rbx + 8]
lea rcx, [rbp + 0x120]
mov r9d, 0x104
mov edx, r9d
call fcn.140018cd4
mov rcx, qword [rbx + 8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x14000457c
lea rdx, [rbp + 0x120]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea rcx, [rsp + 0x68]
call fcn.140002790
test rax, rax
mov ebx, edi
mov rsi, rax
setne bl
mov eax, ebx
test rsi, rsi
je 0x1400045c9
lea rax, [0x140036078]
mov r8, rsi
mov qword [rsp + 0x28], rax
lea r9, str.ExplorerPatcher.IA_32.dll
lea rax, [rbp + 0x120]
mov rdx, r14
mov ecx, 1
mov qword [rsp + 0x20], rax
call fcn.140003f50
mov ebx, eax
test eax, eax
je 0x1400046de
lea rax, [0x1400360d0]
mov r8, rsi
mov qword [rsp + 0x28], rax
lea r9, str.ExplorerPatcher.amd64.dll
lea rax, [rbp + 0x120]
mov rdx, r14
mov ecx, 1
mov qword [rsp + 0x20], rax
call fcn.140003f50
mov ebx, eax
test eax, eax
je 0x1400046de
lea rax, [0x140036128]
mov r8, rsi
mov qword [rsp + 0x28], rax
lea r9, str.ep_dwm.exe
lea rax, [rbp + 0x120]
mov rdx, r14
mov ecx, 1
mov qword [rsp + 0x20], rax
call fcn.140003f50
mov ebx, eax
test eax, eax
je 0x1400046de
lea rax, [rbp + 0x120]
mov r8, rsi
lea r12, [0x140036150]
mov rdx, r14
mov qword [rsp + 0x28], r12
lea r9, str.ep_weather_host.dll
mov ecx, 1
mov qword [rsp + 0x20], rax
call fcn.140003f50
mov ebx, eax
test eax, eax
je 0x1400046de
lea rax, [0x140036190]
mov r8, rsi
mov qword [rsp + 0x28], rax
lea r9, str.ep_weather_host_stub.dll
lea rax, [rbp + 0x120]
mov rdx, r14
mov ecx, 1
mov qword [rsp + 0x20], rax
call fcn.140003f50
mov ebx, eax
test eax, eax
je 0x1400046de
lea rax, [0x1400361e8]
mov r8, rsi
mov qword [rsp + 0x28], rax
lea r9, str.WebView2Loader.dll
lea rax, [rbp + 0x120]
mov rdx, r14
mov ecx, 1
mov qword [rsp + 0x20], rax
call fcn.140003f50
mov ebx, eax
test ebx, ebx
je 0x14000482c
lea rax, [0x140036228]
mov r8, rsi
mov qword [rsp + 0x28], rax
lea r9, [0x140036248]
lea rax, [rbp + 0x120]
mov rdx, r14
mov ecx, 1
mov qword [rsp + 0x20], rax
call fcn.140003f50
mov ebx, eax
test eax, eax
je 0x14000482c
lea rax, [0x140036258]
mov r8, rsi
mov qword [rsp + 0x28], rax
lea r9, str.ep_gui.dll
lea rax, [rbp + 0x120]
mov rdx, r14
mov ecx, 1
mov qword [rsp + 0x20], rax
call fcn.140003f50
mov ebx, eax
test eax, eax
je 0x14000482c
lea rax, [0x140035c78]
mov r8, rsi
mov qword [rsp + 0x28], rax
lea r9, str.ep_taskbar.2.dll
lea rax, [rbp + 0x120]
mov rdx, r14
mov ecx, 1
mov qword [rsp + 0x20], rax
call fcn.140003f50
mov ebx, eax
test eax, eax
je 0x14000482c
lea rax, [0x140035ca0]
mov r8, rsi
mov qword [rsp + 0x28], rax
lea r9, str.ep_taskbar.3.dll
lea rax, [rbp + 0x120]
mov rdx, r14
mov ecx, 1
mov qword [rsp + 0x20], rax
call fcn.140003f50
mov ebx, eax
test eax, eax
je 0x14000482c
lea rax, [0x140035cc8]
mov r8, rsi
mov qword [rsp + 0x28], rax
lea r9, str.ep_taskbar.4.dll
lea rax, [rbp + 0x120]
mov rdx, r14
mov ecx, 1
mov qword [rsp + 0x20], rax
call fcn.140003f50
mov ebx, eax
test eax, eax
je 0x14000482c
lea rax, [0x140035cf0]
mov r8, rsi
mov qword [rsp + 0x28], rax
lea r9, str.ep_taskbar.5.dll
lea rax, [rbp + 0x120]
mov rdx, r14
mov ecx, 1
mov qword [rsp + 0x20], rax
call fcn.140003f50
mov ebx, eax
test rsi, rsi
je 0x14000487e
mov r14, qword [rsi + 0x110]
test r14, r14
je 0x14000486b
mov rcx, qword [r14]
call fcn.14001869c
cmp dword [r14 + 0x68], 8
mov qword [r14], rdi
jne 0x140004858
lea rcx, [r14 + 8]
call fcn.14000ba10
mov rcx, r14
mov dword [r14 + 0x68], edi
call fcn.14001869c
mov qword [rsi + 0x110], rdi
mov rdx, qword [rsi + 0x60]
mov rcx, qword [rsi + 0x38]
call qword [rsi + 0x28]
mov rcx, rsi
call fcn.14001869c
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400048a2
mov rax, qword [rcx]
test rax, rax
je 0x14000489d
mov rcx, rax
call fcn.14001869c
mov rcx, qword [rsp + 0x68]
call fcn.14001869c
test ebx, ebx
sete dil
mov eax, edi
jmp 0x140006509
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.IsWow64Process2
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rax, rax
je 0x140004903
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rbp + 0x10c]
lea rdx, [rbp + 0x108]
call rsi
test eax, eax
je 0x140004903
mov eax, 0xaa64
cmp word [rbp + 0x10c], ax
je 0x140006532
xor edx, edx
mov qword [rsp + 0x14b8], r13
mov r8d, 0x104
lea rcx, [rbp + 0x740]
call fcn.140027ca0
mov r8d, 0x104
lea rdx, [rbp + 0x740]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x14000652a
cmp dword [rbp + 0x110], 1
lea r13, str._uninstall_silent
jl 0x140004972
mov rcx, qword [rbx]
lea rdx, str._uninstall
call fcn.140018b58
test eax, eax
je 0x14000496e
mov rcx, qword [rbx]
mov rdx, r13
call fcn.140018b58
test eax, eax
jne 0x140004972
mov esi, edi
jmp 0x140004977
mov esi, 1
lea rcx, [rbp + 0x740]
call qword [sym.imp.SHLWAPI.dll_PathStripPathW]
lea rdx, str.ep_uninstall.exe
lea rcx, [rbp + 0x740]
call fcn.140018b58
test eax, eax
jne 0x1400049ab
mov rcx, qword [rbx]
mov rdx, r13
mov esi, edi
call fcn.140018b58
mov r12d, eax
mov r8d, 0x104
lea rdx, [rbp + 0x740]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x14000652a
cmp dword [rbp + 0x110], 1
jl 0x1400049ee
mov rcx, qword [rbx]
lea rdx, str._update_silent
call fcn.140018b58
mov dword [rbp + 0x114], 1
test eax, eax
je 0x1400049f4
mov dword [rbp + 0x114], edi
test esi, esi
jne 0x140004a57
mov rcx, qword [rbx]
lea rdx, str._uninstall
call fcn.140018b58
test eax, eax
je 0x140004a10
test r12d, r12d
je 0x140004a57
mov r9d, 0x100
mov word [rbp + 0x330], di
lea r8, [rbp + 0x330]
mov edx, 0x12e
mov rcx, r14
call qword [sym.imp.USER32.dll_LoadStringW]
mov r9d, 0x124
lea r8, [0x140033c80]
lea rdx, [rbp + 0x330]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 7
je 0x1400065b5
lea rax, [rsp + 0x68]
mov dword [rbp + 0x108], edi
mov qword [rsp + 0x50], rax
lea rcx, [rbp + 0x100]
mov dword [rsp + 0x48], edi
mov ebx, edi
mov dword [rsp + 0x40], edi
mov r9d, 0x220
mov dword [rsp + 0x38], edi
mov r8d, 0x20
mov dword [rsp + 0x30], edi
mov dl, 2
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
mov qword [rsp + 0x68], rdi
mov dword [rbp + 0x100], ebx
mov word [rbp + 0x104], 0x500
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x140004acc
mov rdx, qword [rsp + 0x68]
lea r8, [rbp + 0x108]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x140004ad4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140004ae4
call qword [sym.imp.ADVAPI32.dll_FreeSid]
test ebx, ebx
jne 0x1400065da
cmp dword [rbp + 0x108], edi
je 0x1400065da
mov qword [rbp - 0x80], rdi
mov r13, rdi
test esi, esi
je 0x140004b18
lea rcx, [rbp - 0x80]
call fcn.140002790
mov r13, rax
test rax, rax
je 0x14000652a
lea rax, [rbp + 0x11c]
mov dword [rbp + 0x118], edi
mov qword [rsp + 0x30], rax
lea r8, str.UndockingDisabled
lea rax, [rbp + 0x118]
mov dword [rbp + 0x11c], 4
mov qword [rsp + 0x28], rax
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionShellUpdatePackages
mov r9d, 0x18
mov qword [rsp + 0x20], rdi
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
cmp dword [rbp + 0x118], edi
je 0x140004bd6
mov edx, esi
mov word [rbp + 0x330], di
xor edx, 1
lea r8, [rbp + 0x330]
add edx, 0x12f
mov r9d, 0x100
mov rcx, r14
call qword [sym.imp.USER32.dll_LoadStringW]
mov r9d, 0x24
lea r8, [0x140033c80]
lea rdx, [rbp + 0x330]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x1400065bd
lea r8, str.UndockingDisabled
mov rcx, 0xffffffff80000002
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionShellUpdatePackages
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyValueW]
lea r9, str.Globalep_setup_D17F1E1A_5919_4427_8F89_A1A8503CA3EB
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
lea rax, [rbp + 0x120]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0x26
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea r8, [0x140033d28]
mov edx, 0x104
lea rcx, [rbp + 0x120]
call fcn.140017cd0
xor edx, edx
lea rcx, [rbp + 0x120]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140004c45
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140006484
mov r15d, 1
mov qword [rsp + 0x70], 0xffffffffffffffff
xor edx, edx
mov dword [rbp + 0x108], r15d
lea rcx, str.Shell_TrayWnd
call qword [sym.imp.USER32.dll_FindWindowW]
mov qword [rbp], rax
mov r12, rax
test rax, rax
je 0x140004ed6
lea rdx, [rbp + 0x100]
mov dword [rbp + 0x100], edi
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r8d, dword [rbp + 0x100]
test r8d, r8d
je 0x140004e4e
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x140004cd1
lea r8, [rsp + 0x70]
mov edx, 0xb
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rsp + 0x70], rdi
je 0x140004e4e
mov qword [rsp + 0x68], 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x68]
mov edx, 0xb
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
cmp qword [rsp + 0x68], 0xffffffffffffffff
je 0x140004e4e
xor ecx, ecx
mov dword [rbp + 0x10c], edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x70]
lea rax, [rbp + 0x10c]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, r15d
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x140004e43
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140004e43
mov ecx, dword [rbp + 0x10c]
call fcn.140018a74
mov r12, rax
test rax, rax
je 0x140004e3f
mov r9d, dword [rbp + 0x10c]
lea rax, [rbp + 0x10c]
mov rcx, qword [rsp + 0x70]
mov r8, r12
mov edx, r15d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x140004e37
xor ecx, ecx
mov dword [rbp + 0x10c], edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x68]
lea rax, [rbp + 0x10c]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, r15d
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x140004e37
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140004e37
mov ecx, dword [rbp + 0x10c]
call fcn.140018a74
mov rbx, rax
test rax, rax
je 0x140004e37
mov r9d, dword [rbp + 0x10c]
lea rax, [rbp + 0x10c]
mov rcx, qword [rsp + 0x68]
mov r8, rbx
mov edx, r15d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x140004e2f
mov rdx, qword [rbx]
mov rcx, qword [r12]
call qword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x140004e2f
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x70], 0xffffffffffffffff
mov rcx, rbx
call fcn.14001869c
mov rcx, r12
call fcn.14001869c
mov r12, qword [rbp]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x78], 0xffffffffffffffff
mov qword [rsp + 0x30], rax
xor r9d, r9d
mov dword [rsp + 0x28], 0x7d0
xor r8d, r8d
mov edx, 0x5b4
mov dword [rsp + 0x20], 2
mov rcx, r12
call qword [sym.imp.USER32.dll_SendMessageTimeoutW]
test rax, rax
jne 0x140004ed6
cmp qword [rsp + 0x78], rdi
je 0x140004ed6
mov qword [rsp + 0x28], rdi
lea r8, [fcn.140001280]
xor r9d, r9d
mov dword [rsp + 0x20], edi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
test rax, rax
je 0x140004ecf
mov edx, 0x7d0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140004ed6
xor ecx, ecx
call fcn.140001280
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov edx, 0x104
lea rcx, [rbp + 0x120]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea r8, str._taskkill.exe
mov edx, 0x104
lea rcx, [rbp + 0x120]
call fcn.140017cd0
xorps xmm0, xmm0
lea rax, [rbp + 0x120]
movups xmmword [rbp + 0x20], xmm0
lea rcx, [rbp + 0x20]
mov dword [rbp + 0x20], 0x70
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x38], rax
lea rax, str._f__im_explorer.exe
movups xmmword [rbp + 0x50], xmm0
mov dword [rbp + 0x24], 0x40
movups xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x40], rax
movups xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x58], rdi
movups xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x30], rdi
movups xmmword [rbp + 0x80], xmm0
mov qword [rbp + 0x28], rdi
mov dword [rbp + 0x50], 2
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x140004f96
mov rcx, qword [rbp + 0x88]
test rcx, rcx
je 0x140004f96
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
lea r9, str.Globalep_dwm_D17F1E1A_5919_4427_8F89_A1A8503CA3EB
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov r12, rax
test rax, rax
je 0x140004fd6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, r12
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, 0xb7
jmp 0x140004fdf
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x140004ff3
mov edx, r15d
call fcn.140001830
mov edx, 3
call fcn.140001830
mov edx, 0x104
lea rcx, [rbp + 0x1150]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea r8, str._sc.exe
mov edx, 0x104
lea rcx, [rbp + 0x1150]
call fcn.140017cd0
xorps xmm0, xmm0
lea rax, str.runas
movups xmmword [rbp + 0x90], xmm0
lea rcx, [rbp + 0x90]
mov dword [rbp + 0x90], 0x70
movups xmmword [rbp + 0xa0], xmm0
mov qword [rbp + 0xa0], rax
lea rax, [rbp + 0x1150]
movups xmmword [rbp + 0xb0], xmm0
mov qword [rbp + 0xa8], rax
lea rax, str.stop_ep_dwm_D17F1E1A_5919_4427_8F89_A1A8503CA3EB
movups xmmword [rbp + 0xc0], xmm0
mov qword [rbp + 0xb0], rax
movups xmmword [rbp + 0xd0], xmm0
mov dword [rbp + 0x94], 0x40
movups xmmword [rbp + 0xe0], xmm0
mov qword [rbp + 0x98], rdi
movups xmmword [rbp + 0xf0], xmm0
mov qword [rbp + 0xb8], rdi
mov dword [rbp + 0xc0], edi
mov qword [rbp + 0xc8], rdi
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x1400050f9
mov rcx, qword [rbp + 0xf8]
test rcx, rcx
je 0x1400050f9
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp + 0xf8]
lea rdx, [rbp + 0x100]
mov dword [rbp + 0x100], edi
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rbp + 0xf8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
lea rcx, str.ExplorerPatcher_GUI_D17F1E1A_5919_4427_8F89_A1A8503CA3EB
call qword [sym.imp.USER32.dll_FindWindowW]
mov rbx, rax
test rax, rax
je 0x140005202
lea rdx, [rbp + 0x100]
mov dword [rbp + 0x100], edi
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r8d, dword [rbp + 0x100]
test r8d, r8d
je 0x140005202
xor edx, edx
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r12, rax
test rax, rax
je 0x140005202
xor r9d, r9d
mov edx, 0x401
mov r8, r15
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
xor edx, edx
mov rcx, r12
mov dword [rbp + 0x10c], eax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x40], rdi
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
lea rdx, str.SoftwareExplorerPatcher
mov qword [rsp + 0x30], rdi
xor r9d, r9d
mov dword [rsp + 0x28], 0x2011f
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x20], edi
mov qword [rsp + 0x68], rdi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov rcx, qword [rsp + 0x68]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140005202
lea rax, [rbp + 0x10c]
mov dword [rsp + 0x28], 4
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.OpenPropertiesAtNextStart
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rbp + 0x120]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0x26
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea r8, [0x140033d28]
mov edx, 0x104
lea rcx, [rbp + 0x120]
call fcn.140017cd0
lea rcx, [0x140036668]
test esi, esi
je 0x14000527e
mov qword [rsp + 0x28], rcx
lea rax, [rbp + 0x120]
mov ecx, esi
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, r14
call fcn.140003f50
mov r15d, eax
mov dword [rbp + 0x108], eax
jmp 0x14000540f
lea rax, [rsp + 0x78]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREClassesCLSIDD17F1E1A_5919_4427_8F89_A1A8503CA3EBInProcServer32
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rcx, qword [rsp + 0x78]
lea rax, [rcx + 1]
test rax, 0xfffffffffffffffe
jne 0x1400052bd
mov qword [rsp + 0x78], rdi
jmp 0x1400052c8
mov dword [rsp + 0x60], r15d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x60], edi
je 0x14000540f
lea rax, [rbp + 0x338]
mov dword [rbp + 0x330], 0x75002f
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rbp + 0x334], 0x220020
mov edx, 0x26
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea r8, str.ExplorerPatcherExplorerPatcher.amd64.dll_
mov edx, 0x104
lea rcx, [rbp + 0x330]
call fcn.140017cd0
lea rdx, [rbp + 0x330]
lea rcx, [0x140034230]
call fcn.140001010
mov edx, 0x208
lea rcx, [rbp + 0x950]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea r8, str._regsvr32.exe
mov edx, 0x208
lea rcx, [rbp + 0x950]
call fcn.140017cd0
lea rdx, [rbp + 0x950]
lea rcx, [0x140034230]
call fcn.140001010
xorps xmm0, xmm0
lea rax, [rbp + 0x950]
movups xmmword [rbp - 0x70], xmm0
lea rcx, [rbp - 0x70]
mov dword [rbp - 0x70], 0x70
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x58], rax
lea rax, [rbp + 0x330]
movups xmmword [rbp - 0x40], xmm0
mov dword [rbp - 0x6c], 0x40
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x50], rax
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x38], rdi
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x60], rdi
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp - 0x68], rdi
mov dword [rbp - 0x40], r15d
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x14000540f
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x14000540f
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp - 8]
lea rdx, [rbp + 0x100]
mov dword [rbp + 0x100], edi
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [rbp + 0x100]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rbp - 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r15d, r15d
je 0x1400054fc
lea rax, [0x140036078]
mov r8, r13
mov qword [rsp + 0x28], rax
lea r9, str.ExplorerPatcher.IA_32.dll
lea rax, [rbp + 0x120]
mov rdx, r14
mov ecx, esi
mov qword [rsp + 0x20], rax
call fcn.140003f50
mov dword [rbp + 0x108], eax
mov r15d, eax
test eax, eax
je 0x1400054fc
lea rax, [0x1400360d0]
mov r8, r13
mov qword [rsp + 0x28], rax
lea r9, str.ExplorerPatcher.amd64.dll
lea rax, [rbp + 0x120]
mov rdx, r14
mov ecx, esi
mov qword [rsp + 0x20], rax
call fcn.140003f50
mov dword [rbp + 0x108], eax
mov r15d, eax
test eax, eax
je 0x1400054fc
lea rax, [0x140036258]
mov r8, r13
mov qword [rsp + 0x28], rax
lea r9, str.ep_gui.dll
lea rax, [rbp + 0x120]
mov rdx, r14
mov ecx, esi
mov qword [rsp + 0x20], rax
call fcn.140003f50
mov dword [rbp + 0x108], eax
mov r15d, eax
test eax, eax
je 0x1400054fc
lea rax, [0x140036128]
mov r8, r13
mov qword [rsp + 0x28], rax
lea r9, str.ep_dwm.exe
lea rax, [rbp + 0x120]
mov rdx, r14
mov ecx, esi
mov qword [rsp + 0x20], rax
call fcn.140003f50
mov r15d, eax
mov dword [rbp + 0x108], eax
lea rbx, [0x1400361e8]
lea r12, [0x140036150]
test esi, esi
je 0x1400055ab
test r15d, r15d
je 0x1400055ab
lea rax, [rbp + 0x120]
mov qword [rsp + 0x28], r12
lea r9, str.ep_weather_host.dll
mov qword [rsp + 0x20], rax
mov r8, r13
mov rdx, r14
mov ecx, esi
call fcn.140003f50
mov dword [rbp + 0x108], eax
test eax, eax
je 0x1400055ab
lea rax, [0x140036190]
mov r8, r13
mov qword [rsp + 0x28], rax
lea r9, str.ep_weather_host_stub.dll
lea rax, [rbp + 0x120]
mov rdx, r14
mov ecx, esi
mov qword [rsp + 0x20], rax
call fcn.140003f50
mov dword [rbp + 0x108], eax
test eax, eax
je 0x1400055ab
lea rax, [rbp + 0x120]
mov qword [rsp + 0x28], rbx
lea r9, str.WebView2Loader.dll
mov qword [rsp + 0x20], rax
mov r8, r13
mov rdx, r14
mov ecx, esi
call fcn.140003f50
mov dword [rbp + 0x108], eax
lea rax, [rbp + 0x120]
mov r9, r14
mov qword [rsp + 0x28], rax
lea rcx, [rbp + 0x108]
xor r8d, r8d
mov qword [rsp + 0x20], r13
mov edx, esi
call fcn.1400041c0
mov ebx, dword [rbp + 0x108]
test ebx, ebx
je 0x140005b03
mov edx, 0x104
lea rcx, [rbp + 0x120]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea rax, [rbp + 0x120]
mov r8, r13
lea r15, str.dxgi.dll
mov rdx, r14
mov qword [rsp + 0x28], r15
lea r9, str.ExplorerPatcher.amd64.dll
mov ecx, esi
mov qword [rsp + 0x20], rax
call fcn.140003f50
mov ebx, eax
test eax, eax
je 0x140005b03
mov edx, 0x104
lea rcx, [rbp + 0x120]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea r8, str.SystemAppsMicrosoft.Windows.StartMenuExperienceHost_cw5n1h2txyewy
mov edx, 0x104
lea rcx, [rbp + 0x120]
call fcn.140017cd0
lea rax, [rbp + 0x120]
mov qword [rsp + 0x28], r15
lea r9, str.ExplorerPatcher.amd64.dll
mov qword [rsp + 0x20], rax
mov r8, r13
mov rdx, r14
mov ecx, esi
call fcn.140003f50
mov ebx, eax
test eax, eax
je 0x140005b03
test esi, esi
je 0x1400056a8
cmp dword [0x14003ce44], edi
jne 0x140005697
lea rcx, [0x14003ce40]
call fcn.140001d90
cmp dword [0x14003ce4c], 0x55ec
mov ecx, 1
jae 0x1400056aa
mov ecx, edi
lea rax, [0x140036228]
mov r8, r13
mov qword [rsp + 0x28], rax
lea r9, str.ep_startmenu.dll
lea rax, [rbp + 0x120]
mov rdx, r14
mov qword [rsp + 0x20], rax
call fcn.140003f50
mov ebx, eax
test eax, eax
je 0x140005b03
lea rdx, [0x140036860]
lea rcx, [rbp + 0x120]
call fcn.140004090
mov ebx, eax
test eax, eax
je 0x140005b03
cmp dword [0x14003ce44], edi
jne 0x14000570f
lea rcx, [0x14003ce40]
call fcn.140001d90
cmp dword [0x14003ce4c], 0x55ec
jb 0x140005793
test esi, esi
je 0x140005793
mov edx, 0x104
lea rcx, [rbp + 0x950]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea r8, str.wincorlib.dll
mov edx, 0x104
lea rcx, [rbp + 0x950]
call fcn.140017cd0
lea r8, [rbp + 0x120]
mov edx, 0x104
lea rcx, [rbp + 0x330]
call fcn.140017c68
lea r8, str.wincorlib_orig.dll
mov edx, 0x104
lea rcx, [rbp + 0x330]
call fcn.140017cd0
xor r8d, r8d
lea rdx, [rbp + 0x950]
lea rcx, [rbp + 0x330]
call qword [sym.imp.KERNEL32.dll_CreateSymbolicLinkW]
movzx ebx, al
test ebx, ebx
je 0x140005b03
lea rdx, str.AppResolverLegacy.dll
lea rcx, [rbp + 0x120]
call fcn.140004090
mov ebx, eax
test eax, eax
je 0x140005b03
lea rdx, str.StartTileDataLegacy.dll
lea rcx, [rbp + 0x120]
call fcn.140004090
mov ebx, eax
test eax, eax
je 0x140005b03
cmp dword [0x14003ce44], edi
jne 0x1400057e9
lea rcx, [0x14003ce40]
call fcn.140001d90
cmp dword [0x14003ce4c], 0x55ec
jb 0x14000580a
lea rdx, str.Windows.UI.ShellCommon.pri
lea rcx, [rbp + 0x120]
call fcn.140004090
mov ebx, eax
test ebx, ebx
je 0x140005b03
cmp dword [0x14003ce44], edi
jne 0x140005826
lea rcx, [0x14003ce40]
call fcn.140001d90
cmp dword [0x14003ce4c], 0x55ec
mov ecx, edi
setae cl
test ecx, ecx
je 0x1400058b4
lea r8, [rbp + 0x120]
mov edx, 0x104
lea rcx, [rbp + 0x330]
call fcn.140017c68
lea r8, str.en_US
mov edx, 0x104
lea rcx, [rbp + 0x330]
call fcn.140017cd0
lea rdx, [rbp + 0x950]
lea rcx, [rbp + 0x330]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
je 0x1400058b4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rdx, str.StartTileDataLegacy.dll.mui
lea rcx, [rbp + 0x330]
call fcn.140004090
mov ebx, eax
test eax, eax
je 0x1400058b4
lea rcx, [rbp + 0x330]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ebx, eax
test ebx, ebx
je 0x140005b03
cmp dword [0x14003ce44], edi
jne 0x1400058d0
lea rcx, [0x14003ce40]
call fcn.140001d90
cmp dword [0x14003ce4c], 0x55ec
mov eax, edi
setae al
test eax, eax
je 0x14000595e
lea r8, [rbp + 0x120]
mov edx, 0x104
lea rcx, [rbp + 0x330]
call fcn.140017c68
lea r8, str.pris2
mov edx, 0x104
lea rcx, [rbp + 0x330]
call fcn.140017cd0
lea rdx, [rbp + 0x950]
lea rcx, [rbp + 0x330]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
je 0x14000595e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rdx, str.Windows.UI.ShellCommon.en_US.pri
lea rcx, [rbp + 0x330]
call fcn.140004090
mov ebx, eax
test eax, eax
je 0x14000595e
lea rcx, [rbp + 0x330]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ebx, eax
test ebx, ebx
je 0x140005b03
mov edx, 0x104
lea rcx, [rbp + 0x120]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea r8, str.SystemAppsShellExperienceHost_cw5n1h2txyewy
mov edx, 0x104
lea rcx, [rbp + 0x120]
call fcn.140017cd0
cmp dword [0x14003ce44], edi
jne 0x1400059a4
lea rcx, [0x14003ce40]
call fcn.140001d90
cmp dword [0x14003ce4c], 0x55ec
jb 0x1400059d7
lea rax, [rbp + 0x120]
mov qword [rsp + 0x28], r15
lea r9, str.ExplorerPatcher.amd64.dll
mov qword [rsp + 0x20], rax
mov r8, r13
mov rdx, r14
mov ecx, esi
call fcn.140003f50
mov ebx, eax
test ebx, ebx
je 0x140005b03
mov edx, 0x104
lea rcx, [rbp + 0x120]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea rax, [rbp + 0x120]
mov rcx, 0xffffffffffffffff
nop
inc rcx
cmp word [rax + rcx*2], di
jne 0x140005a00
mov edx, 0x104
lea r8, str._rundll32.exe__
sub edx, ecx
lea rcx, [rbp + 0x120]
call fcn.140017cd0
lea rcx, [rbp + 0x120]
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], di
jne 0x140005a31
mov eax, eax
lea rcx, [rbp + 0x120]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x26
lea rbx, [rbp + rax*2 + 0x11c]
lea rax, [rcx + rax*2]
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea r8, str.ExplorerPatcherep_gui.dll__ZZGUI
mov edx, 0x104
lea rcx, [rbp + 0x120]
call fcn.140017cd0
lea r8, [rbx + 2]
mov word [rbx], di
lea rdx, [rbp + 0x120]
mov ecx, esi
call fcn.140001eb0
xor edx, edx
lea rcx, [rbp + 0x120]
mov r8d, 0x104
mov ebx, eax
call fcn.140027ca0
test ebx, ebx
je 0x140005b03
lea rax, [rbp + 0x122]
mov r15d, 0x22
xor r9d, r9d
mov word [rbp + 0x120], r15w
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0x26
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea r8, str.ExplorerPatcherep_setup.exe___uninstall
mov edx, 0x104
lea rcx, [rbp + 0x120]
call fcn.140017cd0
lea rdx, [rbp + 0x120]
mov ecx, esi
call fcn.140002270
mov ebx, eax
lea rcx, str.start_ep_dwm_D17F1E1A_5919_4427_8F89_A1A8503CA3EB
test esi, esi
lea rax, str.delete_ep_dwm_D17F1E1A_5919_4427_8F89_A1A8503CA3EB
cmovne rax, rcx
lea rcx, [rbp + 0x90]
mov qword [rbp + 0xb0], rax
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x140005b6d
mov rcx, qword [rbp + 0xf8]
test rcx, rcx
je 0x140005b6d
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp + 0xf8]
lea rdx, [rbp + 0x100]
mov dword [rbp + 0x100], edi
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rbp + 0xf8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x140005eeb
mov dword [rbp + 0x330], 0x73002f
mov dword [rbp + 0x334], 0x220020
test esi, esi
jne 0x140005ba1
mov dword [rbp + 0x336], 0x75002f
mov dword [rbp + 0x33a], 0x220020
test esi, esi
lea rax, [rbp + 0x338]
mov r15d, 6
mov edx, 0x26
cmovne r15, rdi
xor r9d, r9d
add rax, r15
xor r8d, r8d
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea r8, str.ExplorerPatcherep_weather_host.dll_
mov edx, 0x104
lea rcx, [rbp + 0x330]
call fcn.140017cd0
lea rdx, [rbp + 0x330]
lea rcx, [0x140034230]
call fcn.140001010
mov edx, 0x208
lea rcx, [rbp + 0x950]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea r8, str._regsvr32.exe
mov edx, 0x208
lea rcx, [rbp + 0x950]
call fcn.140017cd0
lea rdx, [rbp + 0x950]
lea rcx, [0x140034230]
call fcn.140001010
xorps xmm0, xmm0
lea rax, [rbp + 0x950]
movups xmmword [rbp - 0x70], xmm0
lea rcx, [rbp - 0x70]
mov dword [rbp - 0x70], 0x70
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x58], rax
lea rax, [rbp + 0x330]
movups xmmword [rbp - 0x40], xmm0
mov dword [rbp - 0x6c], 0x40
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x50], rax
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x38], rdi
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x60], rdi
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp - 0x68], rdi
mov dword [rbp - 0x40], 1
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x140005cdc
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x140005cdc
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp - 8]
lea rdx, [rbp + 0x100]
mov dword [rbp + 0x100], edi
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [rbp + 0x100]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rbp - 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rbp + 0x330], 0x73002f
mov dword [rbp + 0x334], 0x220020
test esi, esi
jne 0x140005d08
mov dword [rbp + 0x336], 0x75002f
mov dword [rbp + 0x33a], 0x220020
lea rax, [rbp + 0x338]
xor r9d, r9d
add rax, r15
xor r8d, r8d
mov edx, 0x26
mov qword [rsp + 0x20], rax
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea r8, str.ExplorerPatcherep_weather_host_stub.dll_
mov edx, 0x104
lea rcx, [rbp + 0x330]
call fcn.140017cd0
lea rdx, [rbp + 0x330]
lea rcx, [0x140034230]
call fcn.140001010
mov edx, 0x208
lea rcx, [rbp + 0x950]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea r8, str._regsvr32.exe
mov edx, 0x208
lea rcx, [rbp + 0x950]
call fcn.140017cd0
lea rdx, [rbp + 0x950]
lea rcx, [0x140034230]
call fcn.140001010
xorps xmm0, xmm0
lea rax, [rbp + 0x950]
movups xmmword [rbp - 0x70], xmm0
lea rcx, [rbp - 0x70]
mov dword [rbp - 0x70], 0x70
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x58], rax
lea rax, [rbp + 0x330]
movups xmmword [rbp - 0x40], xmm0
mov dword [rbp - 0x6c], 0x40
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x50], rax
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x38], rdi
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x60], rdi
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp - 0x68], rdi
mov dword [rbp - 0x40], 1
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x140005e37
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x140005e37
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp - 8]
lea rdx, [rbp + 0x100]
mov dword [rbp + 0x100], edi
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [rbp + 0x100]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rbp - 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x140005ef3
mov qword [rsp + 0x40], rdi
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
lea rdx, str.SOFTWAREPoliciesMicrosoftWindowsExplorer
mov qword [rsp + 0x30], rdi
xor r9d, r9d
mov dword [rsp + 0x28], 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x20], edi
mov qword [rsp + 0x68], rdi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov rcx, qword [rsp + 0x68]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140005e93
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], rdi
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesExplorer
mov qword [rsp + 0x30], rdi
xor r9d, r9d
mov dword [rsp + 0x28], 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov rcx, qword [rsp + 0x68]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140005f7d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140005f7d
test esi, esi
jne 0x140005f7d
lea rax, [rbp + 0x120]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0x26
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea r8, [0x140033d28]
mov edx, 0x104
lea rcx, [rbp + 0x120]
call fcn.140017cd0
test ebx, ebx
je 0x1400062bb
mov rdx, r12
lea rcx, [rbp + 0x120]
call fcn.140004090
mov ebx, eax
test eax, eax
je 0x1400062bb
lea rdx, [0x140036190]
lea rcx, [rbp + 0x120]
call fcn.140004090
mov ebx, eax
test eax, eax
je 0x1400062bb
lea rdx, [0x1400361e8]
lea rcx, [rbp + 0x120]
call fcn.140004090
mov ebx, eax
test ebx, ebx
je 0x1400062bb
test esi, esi
jne 0x14000621c
lea rdx, [rbp + 0x950]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea r8, [0x140036668]
mov edx, 0x104
lea rcx, [rbp + 0x950]
call fcn.140017cd0
mov r8d, 1
lea rdx, [rbp + 0x950]
lea rcx, [rbp + 0x740]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x1400060d8
mov qword [rsp + 0x40], rdi
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnce
mov qword [rsp + 0x30], rdi
xor r9d, r9d
mov dword [rsp + 0x28], 0x2001f
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x20], edi
mov qword [rsp + 0x68], rdi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x1400060d8
cmp rax, 0xffffffffffffffff
je 0x1400060d8
lea r8, str.cmd__c_del__f__q__
mov edx, 0x104
lea rcx, [rbp + 0x330]
call fcn.140017c68
lea r8, [rbp + 0x950]
mov edx, 0x104
lea rcx, [rbp + 0x330]
call fcn.140017cd0
lea r8, [0x14003427c]
mov edx, 0x104
lea rcx, [rbp + 0x330]
call fcn.140017cd0
lea rcx, [rbp + 0x330]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
cmp word [rcx + rax*2 + 2], di
lea rax, [rax + 1]
jne 0x140006090
mov rcx, qword [rsp + 0x68]
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
lea rdx, str.ExplorerPatcherCleanup
lea rax, [rbp + 0x330]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rbp + 0x120]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0x26
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea r8, [0x140033d28]
mov edx, 0x104
lea rcx, [rbp + 0x120]
call fcn.140017cd0
lea rcx, [rbp + 0x120]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea r8, [rbp + 0x540]
mov word [rbp + 0x540], di
mov r9d, 0x100
mov rcx, r14
cmp dword [rsp + 0x60], edi
je 0x1400061f0
mov edx, 0x131
call qword [sym.imp.USER32.dll_LoadStringW]
mov r9d, 0x24
lea r8, [0x140033c80]
lea rdx, [rbp + 0x540]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x1400062fd
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x78]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1400062fd
lea r8, [rbp + 4]
xor ecx, ecx
lea rdx, str.SeShutdownPrivilege
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov rcx, qword [rsp + 0x78]
lea r8, [rbp]
xor r9d, r9d
mov qword [rsp + 0x28], rdi
xor edx, edx
mov dword [rbp], 1
mov dword [rbp + 0xc], 2
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400062fd
mov edx, 0x80020003
mov ecx, 6
call qword [sym.imp.USER32.dll_ExitWindowsEx]
jmp 0x1400062fd
mov edx, 0x132
call qword [sym.imp.USER32.dll_LoadStringW]
mov r9d, 0x40
lea r8, [0x140033c80]
lea rdx, [rbp + 0x540]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x1400062fd
cmp dword [rbp + 0x114], edi
je 0x1400062fd
mov qword [rsp + 0x40], rdi
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
lea rdx, str.SoftwareExplorerPatcher
mov qword [rsp + 0x30], rdi
xor r9d, r9d
mov dword [rsp + 0x28], 0x2011f
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x20], edi
mov qword [rsp + 0x68], rdi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov rcx, qword [rsp + 0x68]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400062fd
lea rax, [rbp + 0x114]
mov dword [rsp + 0x28], 4
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rbp + 0x114], 1
lea rdx, str.IsUpdatePending
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400062fd
mov r9d, 0x400
mov word [rbp + 0x950], di
lea r8, [rbp + 0x950]
mov edx, 0x133
mov rcx, r14
call qword [sym.imp.USER32.dll_LoadStringW]
mov r9d, 0x10
lea r8, [0x140033c80]
lea rdx, [rbp + 0x950]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
test ebx, ebx
je 0x140006309
cmp dword [rbp + 0x118], edi
jne 0x1400065c5
mov rbx, qword [rsp + 0x70]
lea rcx, [rbp + 0x330]
xor edx, edx
mov r8d, 0x208
call fcn.140027ca0
mov edx, 0x104
lea rcx, [rbp + 0x330]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea r8, [0x140033c60]
mov edx, 0x104
lea rcx, [rbp + 0x330]
call fcn.140017cd0
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp rbx, 0xffffffffffffffff
je 0x14000644d
mov rcx, rbx
mov qword [rsp + 0x68], 0xffffffffffffffff
call qword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
je 0x1400063a6
lea rax, [rsp + 0x68]
mov r9d, 2
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov edx, 0x2000000
mov dword [rsp + 0x20], 1
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
call qword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov rcx, qword [rsp + 0x68]
cmp rcx, 0xffffffffffffffff
je 0x14000644d
xorps xmm1, xmm1
mov dword [rbp - 0x70], 0x68
xor eax, eax
lea r8, [rbp + 0x330]
mov qword [rbp + 0x10], rax
xorps xmm0, xmm0
mov dword [rbp - 0xc], eax
xor r9d, r9d
lea rax, [rbp]
mov edx, 1
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
movups xmmword [rbp], xmm0
movups xmmword [rbp - 0x6c], xmm1
movups xmmword [rbp - 0x5c], xmm1
movups xmmword [rbp - 0x4c], xmm1
movups xmmword [rbp - 0x3c], xmm1
movups xmmword [rbp - 0x2c], xmm1
movups xmmword [rbp - 0x1c], xmm1
call qword [sym.imp.ADVAPI32.dll_CreateProcessWithTokenW]
mov rcx, qword [rsp + 0x68]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp]
cmp rcx, 0xffffffffffffffff
je 0x140006439
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 8]
cmp rcx, 0xffffffffffffffff
je 0x140006449
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x140006473
mov dword [rsp + 0x28], 1
lea r8, [rbp + 0x330]
xor r9d, r9d
mov qword [rsp + 0x20], rdi
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rcx, qword [rsp + 0x70]
cmp rcx, 0xffffffffffffffff
je 0x140006484
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r13, r13
je 0x1400064d5
mov rbx, qword [r13 + 0x110]
test rbx, rbx
je 0x1400064c1
mov rcx, qword [rbx]
call fcn.14001869c
cmp dword [rbx + 0x68], 8
mov qword [rbx], rdi
jne 0x1400064af
lea rcx, [rbx + 8]
call fcn.14000ba10
mov rcx, rbx
mov dword [rbx + 0x68], edi
call fcn.14001869c
mov qword [r13 + 0x110], rdi
mov rdx, qword [r13 + 0x60]
mov rcx, qword [r13 + 0x38]
call qword [r13 + 0x28]
mov rcx, r13
call fcn.14001869c
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x1400064fb
mov rax, qword [rcx]
test rax, rax
je 0x1400064f2
mov rcx, rax
call fcn.14001869c
mov rcx, qword [rbp - 0x80]
call fcn.14001869c
mov qword [rbp - 0x80], rdi
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r13, qword [rsp + 0x14b8]
mov rcx, qword [rbp + 0x1360]
xor rcx, rsp
call fcn.140009350
add rsp, 0x1470
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
xor ecx, ecx
call fcn.14000fbd8
int3
mov r9d, 0x100
mov word [rbp + 0x540], di
lea r8, [rbp + 0x540]
mov edx, 0x12d
mov rcx, r14
call qword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jle 0x1400065ad
cmp eax, 0x100
jae 0x1400065ad
lea rax, [0x1400362b0]
mov word [rbp + 0x330], di
lea r9, str.ARM64
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x540]
mov edx, 0x100
lea rcx, [rbp + 0x330]
call fcn.140001d30
mov r9d, 0x10
lea r8, [0x140033c80]
lea rdx, [rbp + 0x330]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor ecx, ecx
call fcn.14000fbd8
int3
xor ecx, ecx
call fcn.14000fbd8
int3
xor ecx, ecx
call fcn.14000fbd8
int3
mov edx, 0x80000000
xor ecx, ecx
call qword [sym.imp.USER32.dll_ExitWindowsEx]
xor ecx, ecx
call fcn.14000fbd8
int3
xorps xmm0, xmm0
lea rax, str.runas
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x30], rax
lea rax, [rbp + 0x740]
movups xmmword [rbp + 0x20], xmm0
test esi, esi
lea rcx, [rbp + 0x20]
movups xmmword [rbp + 0x40], xmm0
cmove r15, r13
mov qword [rbp + 0x38], rax
movups xmmword [rbp + 0x50], xmm0
mov dword [rbp + 0x20], 0x70
movups xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x40], r15
movups xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x28], rdi
movups xmmword [rbp + 0x80], xmm0
mov dword [rbp + 0x50], 1
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x140006642
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
call fcn.14000fbd8
int3