Function at 0x1400126e0
Capabilities:
Enumerate gui resources
Enumerate processes
Terminate process
Terminate process by name

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x14005b060]
xor rax, rsp
mov qword [rbp + 0x1c8], rax
mov rdi, rcx
mov rbx, qword [0x14005eb48]
xor r8d, r8d
lea rdx, str.Killing_existing_clients
lea rcx, [rbp + 0x1a0]
call fcn.14000edc0
lea rdx, [rbp + 0x1a0]
cmp qword [rbp + 0x1b8], 0x10
cmovae rdx, qword [rbp + 0x1a0]
mov rcx, rbx
call fcn.14000f340
mov rdx, qword [rbp + 0x1b8]
cmp rdx, 0x10
jb 0x140012798
inc rdx
mov rcx, qword [rbp + 0x1a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012793
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140012b54
call fcn.14001c70c
mov rcx, qword [rdi + 8]
mov rax, qword [rcx]
mov dword [rbp + 0x1a0], 0x976
mov byte [rbp + 0x1a4], 0
xor r15d, r15d
mov qword [rbp + 0x1a8], r15
mov qword [rbp + 0x1b8], r15
mov qword [rbp + 0x1c0], 7
lea rdx, [rbp + 0x1a0]
call qword [rax + 8]
lea rcx, str.WM_PIA_EXIT_CLIENT
call qword [sym.imp.USER32.dll_RegisterWindowMessageW]
mov r13d, eax
test eax, eax
jne 0x140012875
mov rbx, qword [0x14005eb48]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r8d, [r15 + 1]
lea rdx, str.Failed_to_register_exit_message___d_
lea rcx, [rbp + 0x1a0]
call fcn.14000edc0
lea rdx, [rbp + 0x1a0]
cmp qword [rbp + 0x1b8], 0x10
cmovae rdx, qword [rbp + 0x1a0]
mov rcx, rbx
call fcn.14000f340
mov rdx, qword [rbp + 0x1b8]
cmp rdx, 0x10
jb 0x140012875
inc rdx
mov rcx, qword [rbp + 0x1a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012870
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140012b5a
call fcn.14001c70c
mov r12b, 1
test r13d, r13d
je 0x140012891
xor r9d, r9d
xor r8d, r8d
mov edx, r13d
mov ecx, 0xffff
call qword [sym.imp.USER32.dll_PostMessageW]
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x140012b1e
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x1a0], xmm0
mov rsi, r15
mov qword [rbp + 0x1b0], r15
mov dword [rsp + 0x60], 0x238
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
mov rdi, qword [rbp + 0x1a8]
test eax, eax
je 0x1400129af
lea rdx, str.pia_client.exe
lea rcx, [rbp - 0x74]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140012911
lea rdx, str.pia_client_portable.exe
lea rcx, [rbp - 0x74]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x140012999
mov r8d, dword [rsp + 0x68]
xor edx, edx
mov ecx, 0x100401
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
mov qword [rsp + 0x28], rax
cmp rax, 0xffffffffffffffff
je 0x140012999
mov ecx, dword [rsp + 0x68]
mov dword [rsp + 0x20], ecx
mov byte [rsp + 0x24], 0
lea rdx, [rsp + 0x20]
lea rcx, [0x140012b60]
call qword [sym.imp.USER32.dll_EnumWindows]
cmp byte [rsp + 0x24], 0
jne 0x140012962
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp rdi, rsi
je 0x140012977
mov qword [rdi], rbx
add rdi, 8
mov qword [rbp + 0x1a8], rdi
jmp 0x140012999
lea r8, [rsp + 0x28]
mov rdx, rdi
lea rcx, [rbp + 0x1a0]
call fcn.140012c10
mov rsi, qword [rbp + 0x1b0]
mov rdi, qword [rbp + 0x1a8]
lea rdx, [rsp + 0x60]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400128e3
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r14, qword [rbp + 0x1a0]
cmp r14, rdi
je 0x140012a52
mov r15, rdi
sub r15, r14
sar r15, 3
mov r9d, 0x7d0
mov r8d, 1
mov rdx, r14
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov eax, eax
cmp rax, r15
jb 0x140012a35
mov rbx, r14
xor edx, edx
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rbx, 8
cmp rbx, rdi
jne 0x1400129f4
mov r9d, 0x7d0
mov r8d, 1
mov rdx, r14
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov ecx, eax
movzx r12d, r12b
cmp rcx, r15
mov r15d, 0
cmovae r12d, r15d
jmp 0x140012a38
xor r15d, r15d
mov rbx, r14
nop dword [rax + rax]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 8
cmp rbx, rdi
jne 0x140012a40
test r12b, r12b
jne 0x140012ae6
mov dword [rsp + 0x30], 0x9d1
mov byte [rsp + 0x34], r12b
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], 7
lea rdx, [rsp + 0x30]
mov ecx, 3
call fcn.14000e260
cmp eax, 1
jne 0x140012ae6
test r14, r14
je 0x140012875
sub rsi, r14
and rsi, 0xfffffffffffffff8
mov rax, r14
cmp rsi, 0x1000
jb 0x140012ac4
add rsi, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140012b4e
mov rdx, rsi
mov rcx, r14
call fcn.14001c70c
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x1a0], xmm0
mov qword [rbp + 0x1b0], r15
jmp 0x140012875
test r14, r14
je 0x140012b1e
sub rsi, r14
and rsi, 0xfffffffffffffff8
mov rax, r14
cmp rsi, 0x1000
jb 0x140012b13
add rsi, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140012b4e
mov rdx, rsi
mov rcx, r14
call fcn.14001c70c
mov rcx, qword [rbp + 0x1c8]
xor rcx, rsp
call fcn.14001c460
lea r11, [rsp + 0x2d0]
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
call fcn.140025138
int3
call fcn.140025138
int3
call fcn.140025138
int3