Function at 0x180003100
Capabilities:
Enumerate processes
Patch process command line

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2f0
mov rax, qword [0x18000f040]
xor rax, rsp
mov qword [rsp + 0x2e0], rax
mov r15, rdx
mov r12, rcx
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r13, rax
test rax, rax
je 0x180003459
lea rdx, [rsp + 0x80]
mov dword [rsp + 0x80], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1800033ea
xor edi, edi
mov rbp, 0xffffffffffffffff
nop dword [rax]
cmp qword [r12 + 0x18], 7
mov r8, r12
jbe 0x18000318f
mov r8, qword [r12]
lea rax, [rsp + 0xac]
sub r8, rax
nop word [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x1800031b4
add rax, 2
test ecx, ecx
jne 0x1800031a0
test edx, edx
jne 0x1800033d1
cmp qword [r15 + 0x10], 0
je 0x180003450
mov r8d, dword [rsp + 0x88]
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test rax, rax
je 0x1800033d1
lea rcx, [0x18000abb0]
mov rbx, rdi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [0x18000ab90]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1800032c0
mov r9d, 0x30
mov qword [rsp + 0x20], rdi
lea r8, [rsp + 0x48]
xor edx, edx
mov rcx, rsi
call rax
test eax, eax
js 0x1800032c0
mov rdx, qword [rsp + 0x50]
lea r8, [rsp + 0x40]
add rdx, 0x20
mov qword [rsp + 0x20], rdi
mov r9d, 8
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x1800032c0
mov rdx, qword [rsp + 0x40]
lea r8, [rsp + 0x30]
add rdx, 0x70
mov qword [rsp + 0x20], rdi
mov r9d, 0x10
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x1800032c0
movzx ecx, word [rsp + 0x30]
add rcx, 2
cmovb rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
movzx r8d, word [rsp + 0x30]
xor edx, edx
add r8, 2
mov rcx, rax
mov rbx, rax
call sub.VCRUNTIME140.dll_memset
movzx r9d, word [rsp + 0x30]
mov r8, rbx
mov rdx, qword [rsp + 0x38]
mov rcx, rsi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, rbx
lea rcx, [rsp + 0x2c0]
call fcn.180001ce0
cmp qword [r15 + 0x18], 7
mov r10, r15
jbe 0x1800032dd
mov r10, qword [r15]
mov r14, qword [rsp + 0x2d8]
lea rbx, [rsp + 0x2c0]
mov rdi, qword [rsp + 0x2c0]
cmp r14, 7
mov r11, qword [r15 + 0x10]
mov rax, qword [rsp + 0x2d0]
cmova rbx, rdi
cmp r11, rax
ja 0x18000338b
sub rax, r11
test r11, r11
je 0x1800033fe
inc rax
lea rbp, [rbx + rax*2]
mov rax, rbx
mov rcx, rbp
sub rcx, rax
sar rcx, 1
je 0x180003384
movzx edx, word [r10]
cmp word [rax], dx
je 0x180003344
add rax, 2
sub rcx, 1
jne 0x180003333
jmp 0x180003384
test rax, rax
je 0x180003384
mov r8, r11
mov rdx, r10
test r11, r11
je 0x180003378
mov r9, rax
sub r9, r10
nop word [rax + rax]
movzx ecx, word [rdx]
cmp word [r9 + rdx], cx
jne 0x1800033f5
add rdx, 2
sub r8, 1
jne 0x180003360
sub rax, rbx
sar rax, 1
cmp rax, 0xffffffffffffffff
jne 0x1800033fe
mov rbp, 0xffffffffffffffff
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp r14, 7
jbe 0x1800033cf
lea rdx, [r14*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1800033c7
mov rdi, qword [rdi - 8]
add rdx, 0x27
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180003449
mov rcx, rdi
call fcn.18000620c
xor edi, edi
lea rdx, [rsp + 0x80]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x180003180
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180003465
add rax, 2
jmp 0x180003324
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [rsp + 0x88]
cmp r14, 7
jbe 0x180003445
lea rdx, [r14*2 + 2]
mov r8, rdi
cmp rdx, 0x1000
jb 0x18000343d
mov rdi, qword [rdi - 8]
add rdx, 0x27
sub r8, rdi
add r8, 0xfffffffffffffff8
cmp r8, 0x1f
ja 0x180003449
mov rcx, rdi
call fcn.18000620c
mov eax, ebx
jmp 0x180003467
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov eax, dword [rsp + 0x88]
jmp 0x180003467
lea rcx, str.hSnapshot_no_n
call fcn.180002580
xor eax, eax
mov rcx, qword [rsp + 0x2e0]
xor rcx, rsp
call fcn.1800061b0
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret