Function at 0x140001f10
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x210]
sub rsp, 0x310
mov dword [rcx], edx
mov edi, edx
xor edx, edx
mov dword [rbp - 0x30], 0x238
mov rsi, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140001f92
xor ebx, ebx
mov eax, 7
mov qword [rsp + 0x40], rbx
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rax
nop
inc r8
cmp word [rbx + r8*2], bx
jne 0x140001f70
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.140002600
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x40]
jmp 0x140001fde
lea rdx, [rbp - 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140001fbd
cmp edi, dword [rbp - 0x28]
je 0x140002148
lea rdx, [rbp - 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140001fa3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
mov eax, 7
mov ecx, ebx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rax
cmp rax, 8
lea r8, [rsp + 0x40]
cmovae r8, rcx
cmp qword [rsi + 0x20], 0xffffffffffffffff
je 0x14000206a
mov eax, dword [rsi]
lea rcx, [rsp + 0x64]
mov edx, 0x20
mov dword [rsp + 0x60], eax
mov qword [rsp + 0x64], rbx
mov qword [rsp + 0x6c], rbx
mov qword [rsp + 0x74], rbx
mov qword [rsp + 0x7c], rbx
mov qword [rbp - 0x7c], rbx
mov qword [rbp - 0x74], rbx
mov qword [rbp - 0x6c], rbx
mov qword [rbp - 0x64], rbx
call fcn.14002590c
mov rcx, qword [rsi + 0x20]
lea rax, [rbp - 0x50]
mov qword [rsp + 0x38], rbx
lea r8, [rsp + 0x60]
mov qword [rsp + 0x30], rbx
mov r9d, 0x44
mov dword [rsp + 0x28], 0x18
mov edx, 0x3efe800
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x40]
cmp rax, 8
jb 0x1400020a2
lea rdx, [rax*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000209d
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002183
call fcn.14001bfa4
mov rax, qword [rbp - 0x50]
mov qword [rsi + 8], rax
mov eax, dword [rbp - 0x48]
mov dword [rsi + 0x10], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
mov rcx, rsi
call fcn.140002190
xor edx, edx
mov r8d, edi
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov rcx, qword [rsi + 0x20]
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x4c], 0x1fffff
cmp rcx, 0xffffffffffffffff
je 0x14000211b
mov qword [rsp + 0x38], rbx
lea r8, [rsp + 0x40]
mov qword [rsp + 0x30], rbx
mov r9d, 0x10
mov dword [rsp + 0x28], ebx
mov edx, 0x3efe818
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov qword [rsi + 0x18], rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
mov rcx, rsi
call fcn.140002190
lea r11, [rsp + 0x310]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
mov eax, 7
xor ebx, ebx
mov qword [rsp + 0x58], rax
mov r8, 0xffffffffffffffff
lea rax, [rbp - 4]
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rbx
nop dword [rax]
inc r8
cmp word [rax + r8*2], bx
jne 0x140002170
lea rdx, [rbp - 4]
jmp 0x140001f7c
call fcn.140025ba8
int3