Function at 0x1400c6430
Capabilities:
Create process on windows
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x240]
sub rsp, 0x340
mov rax, qword [0x1401f2308]
xor rax, rsp
mov qword [rbp + 0x230], rax
mov rsi, rdx
xor r15d, r15d
cmp qword [rdx + 8], r15
je 0x1400c6611
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
xor edx, edx
mov r8d, 0x234
lea rcx, [rbp - 0xc]
call main
mov dword [rbp - 0x10], 0x238
mov edi, r15d
lea rdx, [rbp - 0x10]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
lea r14, str.regedit.exe
test eax, eax
je 0x1400c64fb
lea rcx, [rbp + 0x1c]
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], r15w
jne 0x1400c64c0
cmp rax, 0xb
jne 0x1400c663f
mov rdx, r14
lea r8, [rbp + 0x1c]
sub r8, r14
nop
movzx ecx, word [r8 + rdx]
cmp cx, word [rdx]
jne 0x1400c663f
add rdx, 2
sub rax, 1
jne 0x1400c64e0
mov edi, dword [rbp - 8]
mov rcx, rbx
call qword [0x1401f2070]
test edi, edi
je 0x1400c6534
mov r8d, edi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x1400c6534
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [0x1401f2070]
mov qword [rsp + 0x50], r15
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x20006
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionAppletsRegedit
mov rcx, 0xffffffff80000001
call qword [0x1401f2180]
test eax, eax
je 0x1400c65ad
mov dword [rsp + 0x58], r15d
lea rax, [rsp + 0x58]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionAppletsRegedit
mov rcx, 0xffffffff80000001
call qword [0x1401f2170]
test eax, eax
jne 0x1400c6611
mov r8, qword [rsp + 0x50]
mov rdx, qword [0x1401f2168]
lea rcx, [rsp + 0x60]
call fcn.140029d60
nop
mov eax, dword [rsi + 8]
lea eax, [rax*2 + 1]
mov rcx, qword [rsi]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
lea rdx, str.Lastkey
mov rcx, qword [rsp + 0x50]
call qword [0x1401f2190]
nop
test eax, eax
je 0x1400c6651
cmp byte [rsp + 0x60], 0
jne 0x1400c6611
mov rcx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x68]
call qword [case.0x1400309a4.0]
xor al, al
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.140160900
lea r11, [rsp + 0x340]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
lea rdx, [rbp - 0x10]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
jmp 0x1400c64b1
cmp byte [rsp + 0x60], 0
jne 0x1400c6668
mov rcx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x68]
call qword [case.0x1400309a4.0]
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x80], 0x70
lea rax, str.open
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], r14
lea rax, [0x1401a3ce0]
mov qword [rbp - 0x60], rax
mov dword [rbp - 0x50], 1
lea rcx, [rbp - 0x80]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
setne al
jmp 0x1400c6613