Function at 0x140002030
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r13
push r15
lea rbp, [rsp - 0x2e0]
sub rsp, 0x3e0
mov rax, qword [0x140033040]
xor rax, rsp
mov qword [rbp + 0x2d0], rax
xor r12d, r12d
lea rdx, str.m2tool.exe
xorps xmm0, xmm0
mov qword [rsp + 0x40], r12
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x48], r12
movups xmmword [rsp + 0x30], xmm0
lea r8d, [r12 + 0xa]
call fcn.140002710
xor edx, edx
mov r13d, r12d
lea ecx, [rdx + 0xa]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r15, qword [rsp + 0x48]
mov rdi, rax
mov rsi, qword [rsp + 0x30]
cmp rax, 0xffffffffffffffff
jne 0x1400020b5
mov bl, 1
jmp 0x1400021ba
xor edx, edx
mov qword [rsp + 0x410], r14
mov r8d, 0x12c
lea rcx, [rsp + 0x54]
call fcn.1400220a0
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x130
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x1400021a7
mov r14, qword [rsp + 0x40]
nop dword [rax]
nop word [rax + rax]
lea rcx, [rsp + 0x7c]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rcx + rax], r13b
jne 0x140002110
cmp r15, 0xf
lea rcx, [rsp + 0x30]
cmova rcx, rsi
cmp r14, rax
jne 0x140002191
mov r8, r14
lea rdx, [rsp + 0x7c]
call fcn.140022450
test eax, eax
jne 0x140002191
mov r12d, dword [rsp + 0x58]
lea rcx, [rbp + 0x84]
xor edx, edx
mov r8d, 0x234
call fcn.1400220a0
mov edx, r12d
mov dword [rbp + 0x80], 0x238
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rbp + 0x80]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Module32First]
mov rcx, rbx
test eax, eax
jne 0x140002234
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140002100
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
mov r14, qword [rsp + 0x410]
cmp r15, 0xf
jbe 0x1400021f1
lea rdx, [r15 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1400021e9
mov rsi, qword [rsi - 8]
add rdx, 0x27
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002337
mov rcx, rsi
call fcn.1400058f0
test bl, bl
je 0x140002251
lea rdx, str.Error:_Unable_to_find_process_or_main_module.
lea rcx, [0x1400344b0]
call fcn.140002460
mov dl, 0xa
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call fcn.140002d90
movzx edx, al
mov rcx, rbx
call fcn.140002be0
mov rcx, rbx
call fcn.140002a80
jmp 0x140002300
mov r13, qword [rbp + 0x98]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
jmp 0x1400021b2
xor edx, edx
mov r8d, r12d
lea ecx, [rdx + 0x28]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
jne 0x140002270
lea rdx, str.Error:_Unable_to_open_process.
jmp 0x1400021fc
lea rax, [rbp + 0x2c8]
mov word [rbp + 0x2c0], 0x1b0
lea rdx, [r13 + 0x50dc0]
mov qword [rsp + 0x20], rax
mov r9d, 3
mov byte [rbp + 0x2c2], 0xc3
lea r8, [rbp + 0x2c0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x1400022bd
lea rdx, str.Error:_Unable_to_write_to_process_memory.
lea rcx, [0x1400344b0]
jmp 0x1400022cb
lea rdx, str.Successfully_wrote_to_process_memory.
lea rcx, [0x140034310]
call fcn.140002460
mov dl, 0xa
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call fcn.140002d90
movzx edx, al
mov rcx, rbx
call fcn.140002be0
mov rcx, rbx
call fcn.140002a80
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.pause
call fcn.14000c1e0
mov rcx, qword [rbp + 0x2d0]
xor rcx, rsp
call fcn.1400058d0
lea r11, [rsp + 0x3e0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r13
pop r12
pop rdi
pop rbp
ret
call fcn.14000c748
int3