Function at 0x140006874
Capabilities:
Accept command line arguments
Check mutex on windows
Query or enumerate registry value
Shutdown system

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2a0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x140050110]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov rdi, rcx
mov dword [rsp + 0x40], 8
mov dword [rsp + 0x44], 0xff
lea rcx, [rsp + 0x40]
call qword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
call fcn.140014f18
mov rcx, rdi
call fcn.1400142e0
mov r15d, 1
mov rbx, r15
xor r13d, r13d
mov r12d, r13d
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, str.__silent
mov rcx, rax
call fcn.14001d5dc
mov ebp, r13d
cmp rax, r13
cmovne ebp, r15d
mov dword [rsp + 0x28], 0x207
mov qword [rsp + 0x20], r13
lea r9d, [r15 + 3]
mov r8d, r15d
lea rdx, str._d._d._d._d
lea rcx, [0x1400569d8]
call fcn.140001544
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.IsWow64Process
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
cmp rax, r13
je 0x14000699d
mov dword [rsp + 0x30], r13d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x30]
call rdi
cmp eax, r13d
je 0x14000699d
cmp dword [rsp + 0x30], r13d
je 0x14000699d
lea r9d, [r15 + 0x3f]
lea r8, str.Setup___Shadow_Defender
lea rdx, str.Sorry__Shadow_Defender_doesnt_support_tihs_operation_system.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x140006a3d
mov edi, 0x43
movzx ecx, di
call fcn.140008194
cmp eax, r13d
je 0x1400069c8
lea rdx, [rsp + 0x48]
movzx ecx, di
call fcn.140032db0
cmp eax, r13d
je 0x1400069c8
cmp dword [rsp + 0x4c], r15d
je 0x1400069d4
add di, r15w
cmp di, 0x5a
ja 0x1400069f2
jmp 0x1400069a2
mov r9d, 0x40
lea r8, str.Setup___Shadow_Defender
lea rdx, str.Please_install_when_your_OS_is_not_in_Shadow_Mode.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x140006a3d
lea r8, str.Global44EE29B3_FD3D_4E65_BDFC_ABDA82EE76B0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rdi, rax
cmp rax, r13
je 0x140006a4d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140006a44
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r9d, 0x40
lea r8, str.Setup___Shadow_Defender
lea rdx, str.Please_close_Shadow_Defender_main_interface.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
jmp 0x1400071a1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, str.Shadow_Defender_Daemon_Window
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
mov rcx, rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x47b
call qword [sym.imp.USER32.dll_SendMessageW]
movsxd rsi, ebp
lea rdi, vtable.CFont.0
mov r14d, 2
cmp rsi, r13
jne 0x140006b12
xor r8d, r8d
lea edx, [r8 + 0x65]
lea rcx, [rsp + 0x60]
call fcn.14000874c
nop
lea rax, vtable.CWelcomeDlg.0
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x160], r13
mov qword [rsp + 0x158], rdi
call fcn.14000b7cc
call fcn.14000b7cc
mov edx, 0x80
mov rcx, qword [rax + 0x18]
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rsp + 0x148], rax
mov qword [rsp + 0x150], r14
lea rcx, [rsp + 0x60]
call fcn.140009094
mov rbx, qword [rsp + 0x150]
mov qword [rsp + 0x158], rdi
lea rcx, [rsp + 0x158]
call fcn.140001570
nop
lea rcx, [rsp + 0x60]
call fcn.140008678
cmp rbx, r14
je 0x14000719f
cmp rsi, r13
jne 0x140006ba7
xor r8d, r8d
lea edx, [r8 + 0x66]
lea rcx, [rsp + 0x60]
call fcn.14000874c
nop
lea rax, vtable.CLicenseDlg.0
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x160], r13
mov qword [rsp + 0x158], rdi
call fcn.14000b7cc
call fcn.14000b7cc
mov edx, 0x80
mov rcx, qword [rax + 0x18]
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rsp + 0x148], rax
mov qword [rsp + 0x150], r14
mov dword [rsp + 0x168], r12d
lea rcx, [rsp + 0x60]
call fcn.140009094
mov rbx, qword [rsp + 0x150]
mov r12d, dword [rsp + 0x168]
lea rcx, [rsp + 0x60]
call fcn.140004f80
cmp rbx, r14
je 0x14000719b
cmp rbx, 0x3e9
je 0x140006a80
cmp rsi, r13
jne 0x140006c91
xor r8d, r8d
lea edx, [r8 + 0x67]
lea rcx, [rsp + 0x60]
call fcn.14000874c
nop
lea rax, vtable.CUserInformationDlg.0
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x160], r13
mov qword [rsp + 0x158], rdi
lea rdx, [0x14004376c]
lea rcx, [rsp + 0x168]
call fcn.140004b30
nop
lea rdx, [0x14004376c]
lea rcx, [rsp + 0x170]
call fcn.140004b30
nop
call fcn.14000b7cc
call fcn.14000b7cc
mov edx, 0x80
mov rcx, qword [rax + 0x18]
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rsp + 0x148], rax
mov qword [rsp + 0x150], r14
lea rcx, [rsp + 0x60]
call fcn.140009094
mov rbx, qword [rsp + 0x150]
lea rdx, [rsp + 0x168]
lea rcx, [0x1400569e0]
call fcn.1400047b4
lea rdx, [rsp + 0x170]
lea rcx, [0x1400569e8]
call fcn.1400047b4
nop
lea rcx, [rsp + 0x60]
call fcn.140007d9c
jmp 0x140006d9b
mov word [rsp + 0x190], r13w
mov edi, 0xfe
mov r8, rdi
xor edx, edx
lea rcx, [rsp + 0x192]
call fcn.14001da40
mov word [rsp + 0x60], r13w
mov r8, rdi
xor edx, edx
lea rcx, [rsp + 0x62]
call fcn.14001da40
mov edi, 0x100
mov dword [rsp + 0x30], edi
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x190]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
lea r8, str.RegisteredOwner
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov dword [rsp + 0x30], edi
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
lea r8, str.RegisteredOrganization
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x190]
repne scasw ax, word [rdi]
not rcx
sub rcx, r15
mov r8d, ecx
lea rdx, [rsp + 0x190]
lea rcx, [0x1400569e0]
call fcn.140004a5c
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x60]
repne scasw ax, word [rdi]
not rcx
sub rcx, r15
mov r8d, ecx
lea rdx, [rsp + 0x60]
lea rcx, [0x1400569e8]
call fcn.140004a5c
lea rdi, vtable.CFont.0
cmp rbx, r14
je 0x140007197
cmp rbx, 0x3e9
je 0x140006b1b
cmp rsi, r13
jne 0x140006e5a
xor r8d, r8d
mov edx, 0x88
lea rcx, [rsp + 0x60]
call fcn.14000874c
nop
lea rax, vtable.CStartMenuFolderDlg.0
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x160], r13
mov qword [rsp + 0x158], rdi
lea rdx, str.Shadow_Defender
lea rcx, [rsp + 0x168]
call fcn.140004b30
nop
call fcn.14000b7cc
call fcn.14000b7cc
mov edx, 0x80
mov rcx, qword [rax + 0x18]
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rsp + 0x148], rax
mov qword [rsp + 0x150], r14
lea rcx, [rsp + 0x60]
call fcn.140009094
mov rbx, qword [rsp + 0x150]
lea rdx, [rsp + 0x168]
lea rcx, [0x1400569f0]
call fcn.1400047b4
nop
lea rcx, [rsp + 0x60]
call fcn.140007718
jmp 0x140006e8d
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, str.Shadow_Defender
repne scasw ax, word [rdi]
not rcx
sub rcx, r15
mov r8d, ecx
lea rdx, str.Shadow_Defender
lea rcx, [0x1400569f0]
call fcn.140004a5c
lea rdi, vtable.CFont.0
cmp rbx, r14
je 0x140007193
cmp rbx, 0x3e9
je 0x140006bbd
cmp rsi, r13
jne 0x140006f4b
xor r8d, r8d
lea edx, [r8 + 0x68]
lea rcx, [rsp + 0x60]
call fcn.14000874c
nop
lea rax, vtable.CAdditionalTaskDlg.0
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x160], r13
mov qword [rsp + 0x158], rdi
call fcn.14000b7cc
call fcn.14000b7cc
mov edx, 0x80
mov rcx, qword [rax + 0x18]
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rsp + 0x148], rax
mov qword [rsp + 0x150], r14
mov dword [rsp + 0x168], r15d
mov dword [rsp + 0x16c], r15d
lea rcx, [rsp + 0x60]
call fcn.140009094
mov rbx, qword [rsp + 0x150]
mov eax, dword [rsp + 0x168]
mov dword [0x140051cfc], eax
mov eax, dword [rsp + 0x16c]
mov dword [0x140051d00], eax
lea rcx, [rsp + 0x60]
call fcn.140001038
jmp 0x140006f59
mov dword [0x140051cfc], r15d
mov dword [0x140051d00], r15d
cmp rbx, r14
je 0x14000718f
cmp rbx, 0x3e9
je 0x140006db1
cmp rsi, r13
jne 0x140006fe7
xor r8d, r8d
lea edx, [r8 + 0x69]
lea rcx, [rsp + 0x60]
call fcn.14000874c
nop
lea rax, vtable.CReadyDlg.0
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x160], r13
mov qword [rsp + 0x158], rdi
call fcn.14000b7cc
call fcn.14000b7cc
mov edx, 0x80
mov rcx, qword [rax + 0x18]
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rsp + 0x148], rax
mov qword [rsp + 0x150], r14
lea rcx, [rsp + 0x60]
call fcn.140009094
mov rbx, qword [rsp + 0x150]
lea rcx, [rsp + 0x60]
call fcn.140005e18
cmp rbx, r14
je 0x14000718b
cmp rbx, 0x3e9
je 0x140006ea3
cmp ebp, r13d
jne 0x140007078
xor r8d, r8d
lea edx, [r8 + 0x6a]
lea rcx, [rsp + 0x60]
call fcn.14000874c
nop
lea rax, vtable.CRunningDlg.0
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x160], r13
mov qword [rsp + 0x158], rdi
call fcn.14000b7cc
call fcn.14000b7cc
mov edx, 0x80
mov rcx, qword [rax + 0x18]
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rsp + 0x148], rax
mov qword [rsp + 0x150], r14
mov qword [rsp + 0x168], r13
lea rcx, [rsp + 0x60]
call fcn.140009094
nop
lea rcx, [rsp + 0x60]
call fcn.140006498
jmp 0x140007082
mov edx, r15d
xor ecx, ecx
call fcn.140004118
cmp dword [0x1400569d4], r13d
jne 0x140007187
cmp ebp, r13d
jne 0x140007187
xor r8d, r8d
lea edx, [r8 + 0x6b]
lea rcx, [rsp + 0x60]
call fcn.14000874c
nop
lea rax, vtable.CFinishDlg.0
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x160], r13
mov qword [rsp + 0x158], rdi
call fcn.14000b7cc
call fcn.14000b7cc
mov edx, 0x80
mov rcx, qword [rax + 0x18]
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rsp + 0x148], rax
mov qword [rsp + 0x150], r14
lea rcx, [rsp + 0x60]
call fcn.140009094
cmp dword [0x140051d04], r13d
je 0x14000717d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x30]
mov edx, 0x28
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
cmp eax, r13d
je 0x14000716c
lea r8, [rsp + 0x38]
lea rdx, str.SeShutdownPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
cmp eax, r13d
je 0x14000716c
mov dword [rsp + 0x48], r15d
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x4c], rax
mov dword [rsp + 0x54], r14d
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
xor r9d, r9d
lea r8, [rsp + 0x48]
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov edx, 0x30000
mov ecx, 6
call qword [sym.imp.USER32.dll_ExitWindowsEx]
nop
lea rcx, [rsp + 0x60]
call fcn.140004c1c
xor eax, eax
jmp 0x1400071a1
xor eax, eax
jmp 0x1400071a1
xor eax, eax
jmp 0x1400071a1
xor eax, eax
jmp 0x1400071a1
xor eax, eax
jmp 0x1400071a1
xor eax, eax
jmp 0x1400071a1
xor eax, eax
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.14001cb20
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret