Function at 0x1400162f0
Capabilities:
Get common file path
Terminate process

Disassembly:
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x15a0]
mov eax, 0x16a0
call fcn.140193d30
sub rsp, rax
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x16d8], rbx
mov qword [rsp + 0x16e0], rsi
mov qword [rsp + 0x16e8], rdi
mov rax, qword [0x140260d50]
xor rax, rsp
mov qword [rbp + 0x1590], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor r8d, r8d
lea rdx, str.TerminateProcessFromName
lea rcx, [rsp + 0x30]
call fcn.14000b870
nop
mov r9, rbx
lea r8, str.szProcessName___s
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.14000ba50
xor edi, edi
mov r12d, edi
mov word [rbp + 0x1380], di
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x1382]
call fcn.140193010
mov word [rbp + 0xf60], di
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0xf62]
call fcn.140193010
mov edx, 0x104
lea rcx, [rbp + 0x1380]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x1400163cd
jmp 0x1400165ba
lea r8, [rbp + 0x1380]
lea rdx, str._spsapi.dll
lea rcx, [rbp + 0xf60]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rbp + 0xf60]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov r13, rax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x1400165a1
lea rdx, str.EnumProcesses
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
lea rdx, str.EnumProcessModules
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
lea rdx, str.GetModuleBaseNameW
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
test rbx, rbx
je 0x140016586
test r14, r14
je 0x140016586
test rax, rax
je 0x140016586
mov dword [rsp + 0x20], edi
lea r8, [rsp + 0x20]
mov edx, 0x1000
lea rcx, [rsp + 0x60]
call rbx
mov r11d, dword [rsp + 0x20]
shr r11d, 2
test r11d, r11d
je 0x140016544
lea rdi, [rsp + 0x60]
mov esi, r11d
mov r13, qword [rsp + 0x28]
nop
mov r8d, dword [rdi]
xor edx, edx
mov ecx, 0x411
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x140016532
xor eax, eax
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x40], eax
lea r9, [rsp + 0x40]
lea r8d, [rax + 8]
lea rdx, [rsp + 0x28]
mov rcx, rbx
call r14
test eax, eax
je 0x140016529
xor eax, eax
mov word [rbp + 0x1170], ax
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x1172]
call fcn.140193010
mov r9d, 0x208
lea r8, [rbp + 0x1170]
mov rdx, qword [rsp + 0x28]
mov rcx, rbx
call r15
mov rdx, r13
lea rcx, [rbp + 0x1170]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x140016529
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov r12d, 1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rdi, 4
dec rsi
jne 0x140016490
mov r13, qword [rsp + 0x48]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test r12d, r12d
je 0x14001655d
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r9d, r12d
lea r8, str.return___08x
mov edx, 2
lea rcx, [rsp + 0x30]
call fcn.14000ba50
nop
lea rcx, [rsp + 0x30]
call fcn.14000ba00
mov eax, r12d
jmp 0x1400165c6
xor r9d, r9d
lea r8, str.return___08x
lea edx, [r9 + 2]
lea rcx, [rsp + 0x30]
call fcn.14000ba50
nop
jmp 0x1400165ba
xor r9d, r9d
lea r8, str.return___08x
lea edx, [r9 + 2]
lea rcx, [rsp + 0x30]
call fcn.14000ba50
nop
lea rcx, [rsp + 0x30]
call fcn.14000ba00
xor eax, eax
mov rcx, qword [rbp + 0x1590]
xor rcx, rsp
call fcn.14018e5d0
lea r11, [rsp + 0x16a0]
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