Function at 0x140020080
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.14019e810
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 [0x14026fdb0]
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.140001190
nop
mov r9, rbx
lea r8, str.szProcessName___s
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.140001370
xor edi, edi
mov r12d, edi
mov word [rbp + 0x1380], di
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x1382]
call fcn.14019d7c0
mov word [rbp + 0xf60], di
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0xf62]
call fcn.14019d7c0
mov edx, 0x104
lea rcx, [rbp + 0x1380]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x14002015d
jmp 0x14002034a
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 0x140020331
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 0x140020316
test r14, r14
je 0x140020316
test rax, rax
je 0x140020316
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 0x1400202d4
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 0x1400202c2
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 0x1400202b9
xor eax, eax
mov word [rbp + 0x1170], ax
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x1172]
call fcn.14019d7c0
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 0x1400202b9
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 0x140020220
mov r13, qword [rsp + 0x48]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test r12d, r12d
je 0x1400202ed
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.140001370
nop
lea rcx, [rsp + 0x30]
call fcn.140001320
mov eax, r12d
jmp 0x140020356
xor r9d, r9d
lea r8, str.return___08x
lea edx, [r9 + 2]
lea rcx, [rsp + 0x30]
call fcn.140001370
nop
jmp 0x14002034a
xor r9d, r9d
lea r8, str.return___08x
lea edx, [r9 + 2]
lea rcx, [rsp + 0x30]
call fcn.140001370
nop
lea rcx, [rsp + 0x30]
call fcn.140001320
xor eax, eax
mov rcx, qword [rbp + 0x1590]
xor rcx, rsp
call fcn.140198b40
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