Function at 0x14006bd80
Capabilities:
Enumerate processes

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x278]
sub rsp, 0x350
mov qword [rbp], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov edx, 0x7e
lea rcx, [rbp - 0x20]
call fcn.140016310
nop
mov edx, 0x7f
lea rcx, [rbp - 0x40]
call fcn.140016310
nop
mov edx, 0x80
lea rcx, [rbp - 0x60]
call fcn.140016310
nop
mov edx, 0x81
lea rcx, [rbp - 0x80]
call fcn.140016310
nop
mov edx, 0x82
lea rcx, [rsp + 0x60]
call fcn.140016310
nop
mov edx, 0x83
lea rcx, [rsp + 0x40]
call fcn.140016310
nop
xor edx, edx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rbp + 0x280], rax
xor edi, edi
cmp rax, 0xffffffffffffffff
je 0x14006c092
mov dword [rbp + 0x10], 0x238
lea rdx, [rbp + 0x10]
mov rcx, rax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x14006be50
mov rcx, qword [rbp + 0x280]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14006c092
mov qword [rsp + 0x38], 7
mov qword [rsp + 0x30], rdi
mov word [rsp + 0x20], di
cmp word [rbp + 0x3c], 0
jne 0x14006be6f
mov r8, rdi
jmp 0x14006be8b
lea rax, [rbp + 0x3c]
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14006be80
lea rdx, [rbp + 0x3c]
lea rcx, [rsp + 0x20]
call fcn.14000b804
nop
lea rbx, [rsp + 0x20]
mov r14, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x38]
cmp rsi, 8
cmovae rbx, r14
lea rax, [rsp + 0x20]
cmovae rax, r14
mov r13, qword [rsp + 0x30]
lea rax, [rax + r13*2]
lea r15, [rsp + 0x20]
cmovae r15, r14
mov r12, rax
sub r12, r15
inc r12
shr r12, 1
cmp r15, rax
mov eax, 0
cmova r12, rax
test r12, r12
je 0x14006bf18
sub r15, rbx
nop dword [rax]
movzx ecx, word [r15 + rbx]
call fcn.140155970
mov word [rbx], ax
add rbx, 2
inc rdi
cmp rdi, r12
jne 0x14006bef0
mov rsi, qword [rsp + 0x38]
mov r13, qword [rsp + 0x30]
mov r14, qword [rsp + 0x20]
lea r8, [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae r8, qword [rbp - 0x20]
lea rcx, [rsp + 0x20]
cmp rsi, 8
cmovae rcx, r14
mov r9, qword [rbp - 0x10]
mov rdx, r13
call fcn.140006964
test eax, eax
je 0x14006c064
lea r8, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae r8, qword [rbp - 0x40]
lea rcx, [rsp + 0x20]
cmp rsi, 8
cmovae rcx, r14
mov r9, qword [rbp - 0x30]
mov rdx, r13
call fcn.140006964
test eax, eax
je 0x14006c064
lea r8, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae r8, qword [rbp - 0x60]
lea rcx, [rsp + 0x20]
cmp rsi, 8
cmovae rcx, r14
mov r9, qword [rbp - 0x50]
mov rdx, r13
call fcn.140006964
test eax, eax
je 0x14006c064
lea r8, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae r8, qword [rbp - 0x80]
lea rcx, [rsp + 0x20]
cmp rsi, 8
cmovae rcx, r14
mov r9, qword [rbp - 0x70]
mov rdx, r13
call fcn.140006964
test eax, eax
je 0x14006c064
lea r8, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae r8, qword [rsp + 0x60]
lea rcx, [rsp + 0x20]
cmp rsi, 8
cmovae rcx, r14
mov r9, qword [rsp + 0x70]
mov rdx, r13
call fcn.140006964
test eax, eax
je 0x14006c064
lea r8, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae r8, qword [rsp + 0x40]
lea rcx, [rsp + 0x20]
cmp rsi, 8
cmovae rcx, r14
mov r9, qword [rsp + 0x50]
mov rdx, r13
call fcn.140006964
test eax, eax
je 0x14006c064
cmp rsi, 8
jb 0x14006c049
lea r8, [rsi + 1]
mov rdx, r14
lea rcx, [rsp + 0x20]
call fcn.14000c6f4
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x280]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x14006c07f
xor edi, edi
jmp 0x14006be50
mov bl, 1
cmp rsi, 8
jb 0x14006c081
lea r8, [rsi + 1]
mov rdx, r14
lea rcx, [rsp + 0x20]
call fcn.14000c6f4
jmp 0x14006c081
xor bl, bl
mov rcx, qword [rbp + 0x280]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
jmp 0x14006c094
xor bl, bl
mov r8, qword [rsp + 0x58]
cmp r8, 8
jb 0x14006c0b1
inc r8
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.14000c6f4
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], rdi
mov word [rsp + 0x40], di
mov r8, qword [rsp + 0x78]
cmp r8, 8
jb 0x14006c0e1
inc r8
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x60]
call fcn.14000c6f4
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], rdi
mov word [rsp + 0x60], di
mov r8, qword [rbp - 0x68]
cmp r8, 8
jb 0x14006c10e
inc r8
mov rdx, qword [rbp - 0x80]
lea rcx, [rbp - 0x80]
call fcn.14000c6f4
mov qword [rbp - 0x68], 7
mov qword [rbp - 0x70], rdi
mov word [rbp - 0x80], di
mov r8, qword [rbp - 0x48]
cmp r8, 8
jb 0x14006c138
inc r8
mov rdx, qword [rbp - 0x60]
lea rcx, [rbp - 0x60]
call fcn.14000c6f4
mov qword [rbp - 0x48], 7
mov qword [rbp - 0x50], rdi
mov word [rbp - 0x60], di
mov r8, qword [rbp - 0x28]
cmp r8, 8
jb 0x14006c162
inc r8
mov rdx, qword [rbp - 0x40]
lea rcx, [rbp - 0x40]
call fcn.14000c6f4
mov qword [rbp - 0x28], 7
mov qword [rbp - 0x30], rdi
mov word [rbp - 0x40], di
mov r8, qword [rbp - 8]
cmp r8, 8
jb 0x14006c18c
inc r8
mov rdx, qword [rbp - 0x20]
lea rcx, [rbp - 0x20]
call fcn.14000c6f4
movzx eax, bl
lea r11, [rsp + 0x350]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret