Function at 0x14005f9f0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x210]
sub rsp, 0x310
mov rax, qword [0x14010b010]
xor rax, rsp
mov qword [rbp + 0x200], rax
cmp edx, 6
jne 0x14005fa74
mov edx, 0x5c
lea rbx, str.C:Userspaul1_leeDesktopAsusAppServiceAsusAppServiceAsusAppServiceVirtualKeyboardLauncherHelper.cpp
mov rcx, rbx
call fcn.14008d398
test rax, rax
je 0x14005fa54
mov edx, 0x5c
mov rcx, rbx
call fcn.14008d398
lea rbx, [rax + 1]
lea r9, str.WTS_SESSION_LOGOFF
lea r8, str.SessionChangeEvent
mov edx, 0xc9
mov rcx, rbx
call fcn.140015b90
jmp 0x14005feb0
cmp edx, 5
jne 0x14005fac3
mov edx, 0x5c
lea rbx, str.C:Userspaul1_leeDesktopAsusAppServiceAsusAppServiceAsusAppServiceVirtualKeyboardLauncherHelper.cpp
mov rcx, rbx
call fcn.14008d398
test rax, rax
je 0x14005faa3
mov edx, 0x5c
mov rcx, rbx
call fcn.14008d398
lea rbx, [rax + 1]
lea r9, str.WTS_SESSION_LOGON
lea r8, str.SessionChangeEvent
mov edx, 0xcd
mov rcx, rbx
call fcn.140015b90
jmp 0x14005feb0
cmp edx, 7
jne 0x14005fcfb
mov edx, 0x5c
lea rbx, str.C:Userspaul1_leeDesktopAsusAppServiceAsusAppServiceAsusAppServiceVirtualKeyboardLauncherHelper.cpp
mov rcx, rbx
call fcn.14008d398
test rax, rax
je 0x14005faf6
mov edx, 0x5c
mov rcx, rbx
call fcn.14008d398
lea rbx, [rax + 1]
lea r9, str.WTS_SESSION_LOCK
lea r8, str.SessionChangeEvent
mov edx, 0xd1
mov rcx, rbx
call fcn.140015b90
call fcn.14005ff00
test al, al
je 0x14005feb0
call fcn.140001760
xor ebx, ebx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rbx
lea rdx, [rax + 0x60]
lea rcx, [rsp + 0x28]
call sym.AsusAppService.exe_private:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::_Construct_lv_contents_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64____ptr64
nop
call fcn.140001760
lea rdx, [rsp + 0x50]
call fcn.14005bc30
nop
lea r9, [rsp + 0x28]
mov r8, rax
movzx edx, byte [rsp + 0x20]
lea rcx, [rbp + 0x1e0]
call sym.AsusAppService.exe_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_struct_std::_String_constructor_concat_tag__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64____ptr64
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x14005fbaf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005fbaa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005fee8
call fcn.140061310
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], bx
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x14005fc04
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005fbff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005feee
call fcn.140061310
lea rax, [rsp + 0x28]
mov qword [rbp - 0x70], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], 7
xor r8d, r8d
lea rdx, [0x1400d9d10]
lea rcx, [rsp + 0x28]
call sym.AsusAppService.exe_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::assign_wchar_t_const__const___ptr64__unsigned_long_long_unsigned___int64_____ptr64
nop
mov qword [rsp + 0x70], rbx
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], rbx
lea rdx, [rbp + 0x1e0]
lea rcx, [rsp + 0x70]
call sym.AsusAppService.exe_private:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::_Construct_lv_contents_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64____ptr64
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140110bd0], eax
jle 0x14005fc9d
lea rcx, [0x140110bd0]
call fcn.1400614b0
cmp dword [0x140110bd0], 0xffffffff
jne 0x14005fc9d
lea rcx, [0x1400c79e0]
call fcn.140061834
lea rcx, [0x140110bd0]
call fcn.140061450
nop
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x70]
call fcn.1400576e0
nop
mov rdx, qword [rbp + 0x1f8]
cmp rdx, 8
jb 0x14005feb0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005feab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005fee2
jmp 0x14005feab
cmp edx, 8
jne 0x14005feb0
mov edx, 0x5c
lea rbx, str.C:Userspaul1_leeDesktopAsusAppServiceAsusAppServiceAsusAppServiceVirtualKeyboardLauncherHelper.cpp
mov rcx, rbx
call fcn.14008d398
test rax, rax
je 0x14005fd2e
mov edx, 0x5c
mov rcx, rbx
call fcn.14008d398
lea rbx, [rax + 1]
lea r9, str.WTS_SESSION_UNLOCK
lea r8, str.SessionChangeEvent
mov edx, 0xda
mov rcx, rbx
call fcn.140015b90
call fcn.14005ff00
test al, al
je 0x14005feb0
call fcn.140001760
xor ebx, ebx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rbx
lea rdx, [rax + 0x60]
lea rcx, [rsp + 0x28]
call sym.AsusAppService.exe_private:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::_Construct_lv_contents_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64____ptr64
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140110bd0], eax
jle 0x14005fdc3
lea rcx, [0x140110bd0]
call fcn.1400614b0
cmp dword [0x140110bd0], 0xffffffff
jne 0x14005fdc3
lea rcx, [0x1400c79e0]
call fcn.140061834
lea rcx, [0x140110bd0]
call fcn.140061450
xor edx, edx
lea ecx, [rdx + 0xf]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
mov dword [rbp - 0x60], 0x238
lea rdx, [rbp - 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
mov r14, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x28]
test eax, eax
je 0x14005fe70
lea r8, [rsp + 0x28]
cmp r14, 8
cmovae r8, rdi
lea rax, [rbp - 0x34]
sub r8, rax
nop word [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14005fe24
add rax, 2
test ecx, ecx
jne 0x14005fe10
test edx, edx
jne 0x14005fe5f
mov r8d, dword [rbp - 0x58]
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x14005fe5f
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rbp - 0x58], eax
je 0x14005fe5f
mov edx, 9
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbp - 0x60]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14005fdf3
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp r14, 8
jb 0x14005feb0
lea rdx, [r14*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14005fea8
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005fedc
mov rcx, rdi
call fcn.140061310
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.1400612f0
lea r11, [rsp + 0x310]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.140091d94
int3
call fcn.140091d94
nop
call fcn.140091d94
nop
call fcn.140091d94
int3