Function at 0x14000b2a9
Capabilities:
Enumerate processes

Disassembly:
test r8, r8
je 0x14000b6ae
mov r11, rsp
push rbx
push rbp
push r12
push r14
sub rsp, 0x328
mov rax, qword [0x14003ebd8]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
mov qword [r11 - 0x30], rdi
mov r12d, r9d
mov edi, dword [r8 + 0x14]
mov rbx, r8
mov rbp, rdx
mov r14, rcx
test edi, edi
je 0x14000b689
mov qword [r11 - 0x28], rsi
lea r9, [0x14002ef10]
mov qword [r11 - 0x38], r13
lea rcx, [r11 - 0xb8]
mov r13d, dword [r8 + 0x10]
mov edx, 0x10
mov qword [r11 - 0x40], r15
mov dword [rsp + 0x20], edi
lea r8, [rdx - 0x11]
call fcn.140001d80
mov eax, dword [rbx + 0x18]
lea r9, [0x14002ef10]
mov edx, 0x10
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x2b0]
lea r8, [rdx - 0x11]
call fcn.140001d80
lea rax, [0x14000ad50]
xor r15d, r15d
mov ecx, 4
cmp rbp, rax
jne 0x14000b376
mov r8, qword [rbx]
lea rax, [rsp + 0x2b0]
mov qword [rsp + 0x28], r15
lea r9, [rsp + 0x290]
mov edx, 0x400003ff
mov qword [rsp + 0x20], rax
call fcn.140002610
mov r8d, edi
xor edx, edx
mov ecx, 0x100411
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test rax, rax
je 0x14000b4ba
mov edx, 0x10
mov dword [rsp + 0x20], r12d
lea r9, [0x14002ef10]
lea rcx, [rsp + 0x2d0]
lea r8, [rdx - 0x11]
call fcn.140001d80
lea rax, [0x14000ad50]
cmp rbp, rax
jne 0x14000b3ef
mov rax, qword [rbx]
lea r9, [rsp + 0x2d0]
mov qword [rsp + 0x28], r15
lea r8, [rsp + 0x290]
mov qword [rsp + 0x20], rax
mov edx, 0x40000403
mov eax, 4
movzx ecx, ax
call fcn.140002610
mov rdx, rbx
mov qword [rbx + 8], rsi
mov rcx, r14
call rbp
mov r15d, 1
test eax, eax
jne 0x14000b4af
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x14000b429
cmp dword [rsp + 0x40], 0x103
jne 0x14000b4af
test byte [rbx + 0x1c], 8
je 0x14000b471
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140002510
mov r9, qword [rbx]
lea r8, [rsp + 0x290]
mov edx, 0xc0000404
movzx ecx, r15w
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], rax
call fcn.140002610
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000b4f4
mov r8, qword [rbx]
lea rax, str.AppStopMethodSkip
mov qword [rsp + 0x30], 0
lea r9, [rsp + 0x290]
mov qword [rsp + 0x28], rax
mov edx, 0x8000041d
lea rax, str.NSSM
mov qword [rsp + 0x20], rax
mov eax, 2
movzx ecx, ax
call fcn.140002610
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000b4f4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140002510
mov r9, qword [rbx]
lea r8, [rsp + 0x290]
mov r15d, 1
mov qword [rsp + 0x28], 0
movzx ecx, r15w
mov edx, 0xc0000402
mov qword [rsp + 0x20], rax
call fcn.140002610
xor edx, edx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x14000b536
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140002510
mov r8, qword [rbx]
mov r9, rax
mov edx, 0xc0000400
movzx ecx, r15w
mov qword [rsp + 0x20], 0
call fcn.140002610
jmp 0x14000b671
xor edx, edx
lea rcx, [rsp + 0x54]
mov r8d, 0x234
call fcn.140019470
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x238
mov rcx, rsi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x14000b599
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140002510
mov r8, qword [rbx]
mov r9, rax
mov edx, 0xc0000401
movzx ecx, r15w
mov qword [rsp + 0x20], 0
call fcn.140002610
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000b671
inc dword [rbx + 0x10]
lea rdx, [rsp + 0x50]
mov r8d, edi
mov rcx, rbx
call fcn.14000a7f0
test eax, eax
jne 0x14000b5c8
mov eax, dword [rsp + 0x58]
mov r9d, r12d
mov r8, rbx
mov dword [rbx + 0x14], eax
mov rdx, rbp
mov rcx, r14
call fcn.14000b2a0
lea rdx, [rsp + 0x50]
mov dword [rbx + 0x14], edi
mov rcx, rsi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x14000b620
nop dword [rax]
mov r8d, edi
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.14000a7f0
test eax, eax
jne 0x14000b60c
mov eax, dword [rsp + 0x58]
mov r9d, r12d
mov r8, rbx
mov dword [rbx + 0x14], eax
mov rdx, rbp
mov rcx, r14
call fcn.14000b2a0
lea rdx, [rsp + 0x50]
mov dword [rbx + 0x14], edi
mov rcx, rsi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x14000b5e0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x14000b63a
mov rcx, rsi
mov dword [rbx + 0x10], r13d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000b671
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140002510
mov r8, qword [rbx]
mov r9, rax
mov edx, 0xc0000401
movzx ecx, r15w
mov qword [rsp + 0x20], 0
call fcn.140002610
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rbx + 0x10], r13d
mov r13, qword [rsp + 0x310]
mov rsi, qword [rsp + 0x320]
mov r15, qword [rsp + 0x308]
mov rdi, qword [rsp + 0x318]
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.1400180d0
add rsp, 0x328
pop r14
pop r12
pop rbp
pop rbx
ret