Function at 0x140013110
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1b8]
sub rsp, 0x290
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x140218f40]
xor rax, rsp
mov qword [rbp + 0x180], rax
call fcn.14001e6e8
mov rdx, rax
xor r12d, r12d
mov ecx, r12d
test rax, rax
setne cl
test ecx, ecx
jne 0x140013173
mov ecx, 0x80004005
call fcn.140014f90
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x28], rax
lea rsi, [0x1401dc830]
mov rdi, rsi
shr rdi, 0x10
test rdi, rdi
jne 0x1400131b9
movzx ebx, si
mov ecx, ebx
call fcn.14001e4bc
test rax, rax
je 0x1400131ca
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.140014c80
jmp 0x1400131ca
xor r8d, r8d
mov rdx, rsi
lea rcx, [rsp + 0x28]
call fcn.140014fb0
nop
call fcn.14001e6e8
mov rdx, rax
mov ecx, r12d
test rax, rax
setne cl
test ecx, ecx
jne 0x1400131ea
mov ecx, 0x80004005
call fcn.140014f90
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x20], rbx
test rdi, rdi
jne 0x140013222
movzx edi, si
mov ecx, edi
call fcn.14001e4bc
test rax, rax
je 0x140013237
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140014c80
jmp 0x140013232
xor r8d, r8d
mov rdx, rsi
lea rcx, [rsp + 0x20]
call fcn.140014fb0
mov rbx, qword [rsp + 0x20]
mov eax, dword [0x1402268cc]
or r14, 0xffffffffffffffff
sub eax, 2
je 0x1400132b8
sub eax, 2
je 0x140013270
dec eax
je 0x140013267
xor ecx, ecx
dec eax
je 0x14001325e
lea rdx, str.Elan_Smart_Pad
jmp 0x140013279
lea rdx, str.Properties_for_ELAN_on_PS_2_port
jmp 0x140013279
lea rdx, str.ASUS_Smart_Gesture
jmp 0x140013277
lea rdx, str.Elan_touchpad
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
je 0x14001348e
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r8d, dword [rsp + 0x30]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x14001348e
mov r8d, 0xf
lea rdx, str.DellDevices.exe
lea rcx, [rsp + 0x28]
call fcn.140014fb0
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r15, rax
cmp rax, 0xffffffffffffffff
jne 0x1400132eb
mov rcx, r14
jmp 0x140013487
mov dword [rsp + 0x40], 0x238
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140013484
mov rsi, qword [rsp + 0x28]
nop
xor eax, eax
mov rcx, r14
lea rdi, [rsp + 0x6c]
repne scasw ax, word [rdi]
not rcx
dec rcx
mov rdi, rcx
test ecx, ecx
jne 0x140013385
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x140013401
cmp dword [rdx + 0x10], eax
jge 0x140013355
cmp dword [rbx - 0xc], eax
jl 0x14001345c
mov dword [rbx - 0x10], r12d
mov word [rbx], r12w
jmp 0x140013401
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14001336c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x20], rbx
mov rsi, qword [rsp + 0x28]
jmp 0x140013401
mov r13d, dword [rbx - 0x10]
lea r12, [rsp + 0x6c]
sub r12, rbx
sar r12, 1
test ecx, ecx
js 0x1400134e2
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x1400133be
mov edx, edi
lea rcx, [rsp + 0x20]
call fcn.140014f30
mov rbx, qword [rsp + 0x20]
movsxd rax, edi
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
add rdx, rdx
cmp r12, r13
lea r13, [rax + rax]
mov r9, r13
ja 0x1400133e2
lea r8, [rbx + r12*2]
call fcn.14015e47c
jmp 0x1400133ec
lea r8, [rsp + 0x6c]
call fcn.14015e3f4
cmp edi, dword [rbx - 0xc]
jg 0x1400134d7
mov dword [rbx - 0x10], edi
xor r12d, r12d
mov word [r13 + rbx], r12w
mov eax, r12d
test rsi, rsi
setne al
test eax, eax
je 0x1400134cc
mov rax, rbx
mov rdx, rsi
sub rdx, rbx
nop dword [rax + rax]
movzx ecx, word [rax]
cmp cx, word [rax + rdx]
jne 0x140013437
add rax, 2
test cx, cx
jne 0x140013420
mov eax, r12d
jmp 0x14001343c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
jne 0x140013467
lea rdx, [rsp + 0x40]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x14001348e
jmp 0x140013310
mov ecx, 0x80070057
call fcn.140014f90
int3
mov r8d, dword [rsp + 0x48]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rdx, [rbx - 0x18]
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400134aa
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r14d
dec r14d
test r14d, r14d
jg 0x1400134ed
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1400134ed
mov ecx, 0x80004005
call fcn.140014f90
int3
mov ecx, 0x80070057
call fcn.140014f90
int3
mov ecx, 0x80070057
call fcn.140014f90
nop
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.14015e210
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret