Function at 0x14000f1f0
Capabilities:
Enumerate processes

Disassembly:
test rdx, rdx
je 0x14000f56c
mov r11, rsp
push rbx
push rbp
sub rsp, 0x318
mov rax, qword [0x14002dda0]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
mov qword [r11 + 0x20], rdi
mov edi, dword [rdx + 0x10]
mov ebp, r8d
mov rbx, rdx
test edi, edi
je 0x14000f54b
mov qword [r11 + 8], rsi
mov qword [r11 - 0x18], r12
or r8, 0xffffffffffffffff
mov qword [r11 - 0x20], r13
lea r9, [0x140026188]
lea rcx, [r11 - 0x98]
lea edx, [r8 + 0x11]
mov qword [r11 - 0x28], r14
mov dword [rsp + 0x20], edi
call fcn.140019e88
mov r11d, dword [rbx + 0x14]
or r8, 0xffffffffffffffff
lea edx, [r8 + 0x11]
lea r9, [0x140026188]
lea rcx, [rsp + 0x2b0]
mov dword [rsp + 0x20], r11d
call fcn.140019e88
mov r8, qword [rbx]
lea rax, [rsp + 0x2b0]
mov r12d, 4
xor r13d, r13d
lea r9, [rsp + 0x290]
mov edx, 0x400003ff
movzx ecx, r12w
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rax
call fcn.140007190
mov r8d, edi
xor edx, edx
mov ecx, 0x100411
call qword [sym.imp.KERNEL32.DLL_OpenProcess]
lea r14d, [r12 - 2]
mov rsi, rax
test rax, rax
je 0x14000f3d7
lea r9, [0x140026188]
lea edx, [r12 + 0xc]
lea rcx, [rsp + 0x2d0]
or r8, 0xffffffffffffffff
mov dword [rsp + 0x20], ebp
call fcn.140019e88
mov rcx, qword [rbx]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x2d0]
lea r8, [rsp + 0x290]
movzx ecx, r12w
mov edx, 0x40000403
call fcn.140007190
mov rcx, rbx
mov qword [rbx + 8], rsi
call fcn.14000f1e0
lea r12d, [r13 + 1]
test eax, eax
jne 0x14000f3cc
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_GetExitCodeProcess]
test eax, eax
je 0x14000f355
cmp dword [rsp + 0x40], 0x103
jne 0x14000f3cc
test byte [rbx + 0x18], 8
je 0x14000f396
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, eax
call fcn.140006fd0
mov r9, qword [rbx]
lea r8, [rsp + 0x290]
mov edx, 0xc0000404
movzx ecx, r12w
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rax
call fcn.140007190
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x14000f40d
mov r8, qword [rbx]
lea rax, str.AppStopMethodSkip
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], rax
lea rax, str.NSSM
lea r9, [rsp + 0x290]
mov edx, 0x8000041d
movzx ecx, r14w
mov qword [rsp + 0x20], rax
call fcn.140007190
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x14000f40d
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, eax
call fcn.140006fd0
mov r9, qword [rbx]
mov r12d, 1
lea r8, [rsp + 0x290]
movzx ecx, r12w
mov edx, 0xc0000402
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rax
call fcn.140007190
xor edx, edx
mov ecx, r14d
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov r14, qword [rsp + 0x300]
mov rsi, rax
test rax, rax
jne 0x14000f452
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, eax
call fcn.140006fd0
mov r8, qword [rbx]
mov edx, 0xc0000400
movzx ecx, r12w
mov r9, rax
mov qword [rsp + 0x20], r13
call fcn.140007190
jmp 0x14000f533
lea rcx, [rsp + 0x50]
xor edx, edx
mov r8d, 0x238
call fcn.14001a4c0
lea rdx, [rsp + 0x50]
mov rcx, rsi
mov dword [rsp + 0x50], 0x238
call sub.KERNEL32.DLL_Process32FirstW
test eax, eax
je 0x14000f504
lea rdx, [rsp + 0x50]
mov r8d, edi
mov rcx, rbx
call fcn.14000eb90
test eax, eax
jne 0x14000f4a6
mov eax, dword [rsp + 0x58]
mov edx, ebp
mov rcx, rbx
mov dword [rbx + 0x10], eax
call fcn.14000f570
lea rdx, [rsp + 0x50]
mov rcx, rsi
mov dword [rbx + 0x10], edi
call sub.KERNEL32.DLL_Process32NextW
test eax, eax
je 0x14000f4f9
nop word [rax + rax]
lea rdx, [rsp + 0x50]
mov r8d, edi
mov rcx, rbx
call fcn.14000eb90
test eax, eax
jne 0x14000f4e5
mov eax, dword [rsp + 0x58]
mov edx, ebp
mov rcx, rbx
mov dword [rbx + 0x10], eax
call fcn.14000f570
lea rdx, [rsp + 0x50]
mov rcx, rsi
mov dword [rbx + 0x10], edi
call sub.KERNEL32.DLL_Process32NextW
test eax, eax
jne 0x14000f4c0
call qword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x12
je 0x14000f52a
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, eax
call fcn.140006fd0
mov r8, qword [rbx]
mov edx, 0xc0000401
movzx ecx, r12w
mov r9, rax
mov qword [rsp + 0x20], r13
call fcn.140007190
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov r12, qword [rsp + 0x310]
mov rsi, qword [rsp + 0x330]
mov r13, qword [rsp + 0x308]
mov rdi, qword [rsp + 0x348]
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.14001a490
add rsp, 0x318
pop rbp
pop rbx
repz ret
mov r8d, edx
mov rdx, rcx
xor ecx, ecx
jmp 0x14000f1f0