Function at 0x140016810
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x438]
sub rsp, 0x510
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14009b3f8]
xor rax, rsp
mov qword [rbp + 0x400], rax
mov dword [rsp + 0x28], edx
mov rbx, rcx
xor esi, esi
mov rcx, qword [rcx]
call fcn.14000cf60
mov qword [rsp + 0x30], rax
mov r9, qword [0x14009b020]
mov r9, qword [r9 + 0x10]
lea r8, str._s_Dialog
mov edx, 0x200
lea rcx, [rbp]
call fcn.140001150
lea rax, [rbp]
mov qword [rbx], rax
mov r13d, esi
lea rdx, [rbp]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
je 0x1400168b5
mov rcx, qword [0x1400a7130]
mov rax, qword [rcx]
lea rdx, str.Closing_all_Dialog_Boxes
call qword [rax + SafeArrayPutElement]
lea r12, [rbx + 8]
nop dword [rax]
mov qword [r12], rsi
mov qword [r12 + 8], rsi
mov qword [rbx + 0x18], rsi
mov qword [rbx + 0x20], rsi
mov qword [rbx + 0x28], rsi
mov qword [rbx + 0x30], rsi
mov qword [rbx + 0x38], rsi
mov qword [rbx + 0x40], rsi
mov qword [rbx + 0x48], rsi
mov qword [rbx + 0x50], rsi
mov dword [rbx + 0x80], esi
mov rdx, qword [rbx]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
je 0x140016a20
mov r8, rbx
lea rdx, [0x140016610]
xor ecx, ecx
call qword [sym.imp.USER32.dll_EnumDesktopWindows]
mov eax, r13d
inc r13d
mov dword [rsp + 0x20], r13d
cmp eax, 0xa
jg 0x140016a20
mov r15d, esi
cmp dword [rbx + 0x80], 0
jle 0x140016a10
mov r14, r12
mov esi, SafeArrayLock
lea r12d, [rsi - 0x10]
lea r13d, [rsi - 0xe]
nop dword [rax]
mov rdi, qword [r14]
mov r9, rdi
mov edx, 0x112
mov r8d, 0xf150
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendMessageW]
mov r9, rdi
mov edx, 0x112
mov r8d, 0xf120
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendMessageW]
mov edx, 5
mov rcx, rdi
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetForegroundWindow]
xor edx, edx
mov r8d, 0x98
lea rcx, [rsp + 0x68]
call fcn.140035c20
mov dword [rbp - 0x28], r12d
mov dword [rbp - 0x50], r12d
mov dword [rbp - 0x78], r12d
mov dword [rsp + 0x60], r12d
mov word [rbp - 0x20], si
mov word [rsp + 0x68], si
mov word [rbp - 0x48], r13w
mov word [rbp - 0x70], r13w
mov dword [rbp - 0x1c], 2
mov dword [rbp - 0x44], 2
mov r8d, 0x28
lea rdx, [rsp + 0x60]
lea ecx, [r8 - 0x24]
call qword [sym.imp.USER32.dll_SendInput]
inc r15d
lea r14, [r14 + 8]
cmp r15d, dword [rbx + 0x80]
jl 0x140016950
xor esi, esi
lea r12, [rbx + 8]
mov r13d, dword [rsp + 0x20]
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400168c0
mov r14, qword [rsp + 0x30]
mov qword [rbx], r14
cmp dword [rsp + 0x28], 0
jne 0x140016a71
mov rcx, qword [0x1400a7130]
mov rax, qword [rcx]
lea rdx, str.Waiting_for_Shared_Memory_process_to_exit
call qword [rax + SafeArrayPutElement]
mov edi, esi
mov rcx, rbx
call fcn.1400166c0
test eax, eax
je 0x140016a71
mov eax, edi
inc edi
cmp eax, 0x3c
jg 0x140016a71
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rbx
call fcn.1400166c0
test eax, eax
jne 0x140016a51
mov rcx, rbx
call fcn.1400166c0
test eax, eax
je 0x140016bdb
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x40], esi
mov ecx, SafeArrayPutElement
call fcn.14003027c
mov rdi, rax
mov qword [rsp + 0x28], rax
lea rcx, str.rootcimv2
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
movsxd rcx, eax
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140030420
mov qword [rdi], rax
lea rcx, str.rootcimv2
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
movsxd rdx, eax
lea r9, str.rootcimv2
lea r8, [0x14007a2f0]
mov rcx, qword [rdi]
call fcn.140001150
mov qword [rdi + 8], rsi
mov qword [rdi + 0x10], rsi
mov qword [rsp + 0x38], rdi
lea rcx, [rsp + 0x38]
call fcn.140024df0
mov rcx, qword [0x1400a7130]
mov rax, qword [rcx]
mov r8, r14
lea rdx, str.Unconditional_Termination_of_all__s_Module_processes
call qword [rax + SafeArrayPutElement]
mov rcx, qword [0x1400a7130]
mov rax, qword [rcx]
mov r8, r14
lea rdx, str.Terminating_all__s_Module_processes
call qword [rax + SafeArrayPutElement]
mov r15d, esi
cmp dword [rbx + 0x84], 0
jle 0x140016ba5
lea r14, [rbx + 0x58]
mov r12d, 1
nop dword [rax]
nop dword [rax + rax]
mov r8d, dword [r14]
xor edx, edx
mov ecx, r12d
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x140016b90
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
cmove esi, r12d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc r15d
add r14, 4
cmp r15d, dword [rbx + 0x84]
jl 0x140016b60
mov r14, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140016bcb
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140016bc5
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140016bdb
call fcn.140024d10
nop
mov edx, 2
mov rcx, r14
call fcn.1400302b8
mov eax, esi
mov rcx, qword [rbp + 0x400]
xor rcx, rsp
call fcn.1400303d0
lea r11, [rsp + 0x510]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret