Function at 0x1400019d0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
test rcx, rcx
je 0x140001c56
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x4c0
mov rax, qword [0x14000e010]
xor rax, rsp
mov qword [rsp + 0x4b0], rax
mov r14, rcx
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x140001c2b
mov dword [rsp + 0x60], 0x238
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x140001a47
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140001c2b
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
xor r8d, r8d
lea rdx, [0x140008938]
lea rcx, [rsp + 0x40]
call fcn.140005760
nop
lea rcx, [rsp + 0x40]
call fcn.1400013d0
lea r8, str.LenovoVantageAddinsLenovoBatteryGaugeAddin
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.1400055d0
lea rsi, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae rsi, qword [rsp + 0x20]
mov rbp, 0xffffffffffffffff
inc rbp
cmp word [rsi + rbp*2], 0
jne 0x140001aa5
sub ebp, 0xe
mov eax, 0x2d
test ebp, ebp
cmovle ebp, eax
xor r12d, r12d
nop
mov rdi, r12
mov rdx, qword [r14 + rdi*8]
lea rcx, [rsp + 0x8c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x140001b61
mov r8d, dword [rsp + 0x68]
test r8d, r8d
je 0x140001b61
test rsi, rsi
je 0x140001b61
xor edx, edx
mov ecx, 0x411
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x140001b61
cmp rax, 0xffffffffffffffff
je 0x140001b61
xor edx, edx
mov r8d, 0x20a
lea rcx, [rsp + 0x2a0]
call sub.VCRUNTIME140.dll_memset
mov r9d, 0x104
lea r8, [rsp + 0x2a0]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
movsxd r8, ebp
mov rdx, rsi
lea rcx, [rsp + 0x2a0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
test eax, eax
jne 0x140001b61
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc rdi
cmp rdi, 2
jl 0x140001ac3
lea rdx, [rsp + 0x60]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140001ac0
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x140001bd2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001bcd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001bcd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400066b0
movdqa xmm0, xmmword [0x14000a6d0]
movdqu xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x20], r12w
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x140001c2b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001c26
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001c26
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400066b0
mov rcx, qword [rsp + 0x4b0]
xor rcx, rsp
call fcn.140006690
lea r11, [rsp + 0x4c0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret