Function at 0x14005f6e0
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 [0x14010a010]
xor rax, rsp
mov qword [rbp + 0x200], rax
cmp edx, 6
jne 0x14005f764
mov edx, 0x5c
lea rbx, str.C:Userspaul1_leeDesktopAsusAppServiceAsusAppServiceAsusAppServiceVirtualKeyboardLauncherHelper.cpp
mov rcx, rbx
call fcn.14008d088
test rax, rax
je 0x14005f744
mov edx, 0x5c
mov rcx, rbx
call fcn.14008d088
lea rbx, [rax + 1]
lea r9, str.WTS_SESSION_LOGOFF
lea r8, str.SessionChangeEvent
mov edx, 0xc9
mov rcx, rbx
call fcn.140015a30
jmp 0x14005fba0
cmp edx, 5
jne 0x14005f7b3
mov edx, 0x5c
lea rbx, str.C:Userspaul1_leeDesktopAsusAppServiceAsusAppServiceAsusAppServiceVirtualKeyboardLauncherHelper.cpp
mov rcx, rbx
call fcn.14008d088
test rax, rax
je 0x14005f793
mov edx, 0x5c
mov rcx, rbx
call fcn.14008d088
lea rbx, [rax + 1]
lea r9, str.WTS_SESSION_LOGON
lea r8, str.SessionChangeEvent
mov edx, 0xcd
mov rcx, rbx
call fcn.140015a30
jmp 0x14005fba0
cmp edx, 7
jne 0x14005f9eb
mov edx, 0x5c
lea rbx, str.C:Userspaul1_leeDesktopAsusAppServiceAsusAppServiceAsusAppServiceVirtualKeyboardLauncherHelper.cpp
mov rcx, rbx
call fcn.14008d088
test rax, rax
je 0x14005f7e6
mov edx, 0x5c
mov rcx, rbx
call fcn.14008d088
lea rbx, [rax + 1]
lea r9, str.WTS_SESSION_LOCK
lea r8, str.SessionChangeEvent
mov edx, 0xd1
mov rcx, rbx
call fcn.140015a30
call fcn.14005fbf0
test al, al
je 0x14005fba0
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.14005b910
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 0x14005f89f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005f89a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005fbd8
call fcn.140061000
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], bx
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x14005f8f4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005f8ef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005fbde
call fcn.140061000
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, [0x1400d8d10]
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 [0x14010fbd0], eax
jle 0x14005f98d
lea rcx, [0x14010fbd0]
call fcn.1400611a0
cmp dword [0x14010fbd0], 0xffffffff
jne 0x14005f98d
lea rcx, [0x1400c76b0]
call fcn.140061524
lea rcx, [0x14010fbd0]
call fcn.140061140
nop
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x70]
call fcn.1400573d0
nop
mov rdx, qword [rbp + 0x1f8]
cmp rdx, 8
jb 0x14005fba0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005fb9b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005fbd2
jmp 0x14005fb9b
cmp edx, 8
jne 0x14005fba0
mov edx, 0x5c
lea rbx, str.C:Userspaul1_leeDesktopAsusAppServiceAsusAppServiceAsusAppServiceVirtualKeyboardLauncherHelper.cpp
mov rcx, rbx
call fcn.14008d088
test rax, rax
je 0x14005fa1e
mov edx, 0x5c
mov rcx, rbx
call fcn.14008d088
lea rbx, [rax + 1]
lea r9, str.WTS_SESSION_UNLOCK
lea r8, str.SessionChangeEvent
mov edx, 0xda
mov rcx, rbx
call fcn.140015a30
call fcn.14005fbf0
test al, al
je 0x14005fba0
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 [0x14010fbd0], eax
jle 0x14005fab3
lea rcx, [0x14010fbd0]
call fcn.1400611a0
cmp dword [0x14010fbd0], 0xffffffff
jne 0x14005fab3
lea rcx, [0x1400c76b0]
call fcn.140061524
lea rcx, [0x14010fbd0]
call fcn.140061140
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 0x14005fb60
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 0x14005fb14
add rax, 2
test ecx, ecx
jne 0x14005fb00
test edx, edx
jne 0x14005fb4f
mov r8d, dword [rbp - 0x58]
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x14005fb4f
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rbp - 0x58], eax
je 0x14005fb4f
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 0x14005fae3
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp r14, 8
jb 0x14005fba0
lea rdx, [r14*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14005fb98
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005fbcc
mov rcx, rdi
call fcn.140061000
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.140060fe0
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.140091a84
int3
call fcn.140091a84
nop
call fcn.140091a84
nop
call fcn.140091a84
int3