Function at 0x140022f70
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x230]
sub rsp, 0x330
mov rax, qword [0x14006c030]
xor rax, rsp
mov qword [rbp + 0x220], rax
mov r15, rdx
mov qword [rsp + 0x48], rdx
mov r13, rcx
xor esi, esi
mov r12d, esi
mov dword [rsp + 0x40], esi
mov dword [rdx], esi
mov edi, esi
mov rcx, qword [rcx]
mov rax, qword [r13 + 8]
sub rax, rcx
sar rax, 4
test rax, rax
je 0x14002300a
mov ebx, esi
nop dword [rax]
mov rcx, qword [rbx + rcx]
call fcn.14001d930
cmp eax, 1
jne 0x140022fef
mov rax, qword [r13]
mov rcx, qword [rbx + rax]
mov eax, dword [rcx + 0x80]
or dword [r15], eax
inc rdi
add rbx, 0x10
mov rcx, qword [r13]
mov rax, qword [r13 + 8]
sub rax, rcx
sar rax, 4
cmp rdi, rax
jb 0x140022fd0
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
mov qword [rsp + 0x78], rax
cmp rax, 0xffffffffffffffff
je 0x140023383
mov dword [rbp - 0x20], 0x238
lea rdx, [rbp - 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14002337a
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], si
lea rax, [rbp + 0xc]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140023062
lea rdx, [rbp + 0xc]
lea rcx, [rbp - 0x60]
call fcn.140016550
nop
cmp qword [rbp - 0x50], 0
jne 0x14002309f
mov qword [rbp - 0x80], rsi
mov rdx, rsi
mov qword [rbp - 0x70], rdx
mov ecx, 0xf
mov qword [rbp - 0x68], rcx
mov byte [rbp - 0x80], 0
jmp 0x14002315b
lea r8, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae r8, qword [rbp - 0x60]
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
mov r9d, dword [rbp - 0x50]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rbx, eax
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], 0xf
mov rdx, rbx
xor r8d, r8d
lea rcx, [rbp - 0x40]
call fcn.1400055a0
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0x10
cmovae rcx, qword [rbp - 0x40]
lea r8, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae r8, qword [rbp - 0x60]
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rcx
xor edx, edx
mov ecx, 0xfde9
lea r9d, [rdx - 1]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movups xmm0, xmmword [rbp - 0x40]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rbp - 0x30]
movups xmmword [rbp - 0x70], xmm1
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], 0xf
mov byte [rbp - 0x40], 0
mov rdx, qword [rbp - 0x70]
mov rcx, qword [rbp - 0x68]
or r12d, 1
lea rdi, [rbp - 0x80]
mov r14, qword [rbp - 0x80]
cmp rcx, 0x10
cmovae rdi, r14
lea rsi, [rbp - 0x80]
cmovae rsi, r14
add rsi, rdx
lea rbx, [rbp - 0x80]
cmp rcx, 0x10
cmovae rbx, r14
cmp rbx, rsi
je 0x1400231a7
sub rdi, rbx
nop
movsx ecx, byte [rbx]
call fcn.140037530
mov byte [rdi + rbx], al
inc rbx
cmp rbx, rsi
jne 0x140023190
mov r14, qword [rbp - 0x80]
xor esi, esi
mov qword [rsp + 0x50], rsi
mov rcx, qword [r13]
mov rax, qword [r13 + 8]
sub rax, rcx
sar rax, 4
test rax, rax
je 0x1400232d8
nop word [rax + rax]
mov rdx, qword [rsi + rcx]
cmp dword [rdx + 0x84], 0
je 0x1400232ad
add rdx, 0x18
lea rcx, [rsp + 0x58]
call fcn.1400015f0
or r12d, 2
mov dword [rsp + 0x40], r12d
lea rdx, [rbp - 0x80]
mov r14, qword [rbp - 0x80]
cmp qword [rbp - 0x68], 0x10
cmovae rdx, r14
lea rcx, [rsp + 0x58]
mov rbx, qword [rsp + 0x58]
cmp qword [rsp + 0x70], 0x10
cmovae rcx, rbx
mov r15, qword [rsp + 0x68]
mov r8, r15
mov r12, qword [rbp - 0x70]
cmp r12, r15
cmovb r8, r12
call fcn.14002ab00
mov edi, eax
test eax, eax
jne 0x14002324e
cmp r15, r12
jae 0x140023245
lea edi, [rax - 1]
jmp 0x14002324e
xor edi, edi
cmp r15, r12
seta dil
mov rax, qword [rsp + 0x70]
cmp rax, 0x10
jb 0x14002328e
lea rdx, [rax + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140023282
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002346d
mov rcx, rbx
call fcn.140027ffc
mov r14, qword [rbp - 0x80]
mov r15, qword [rsp + 0x48]
mov r12d, dword [rsp + 0x40]
test edi, edi
jne 0x1400232ad
mov rax, qword [r13]
mov rcx, qword [rsi + rax]
mov eax, dword [rcx + 0x84]
or dword [r15], eax
mov rdx, qword [rsp + 0x50]
inc rdx
mov qword [rsp + 0x50], rdx
add rsi, 0x10
mov rcx, qword [r13]
mov rax, qword [r13 + 8]
sub rax, rcx
sar rax, 4
cmp rdx, rax
jb 0x1400231d0
xor esi, esi
mov rax, qword [rbp - 0x68]
cmp rax, 0x10
jb 0x140023313
lea rdx, [rax + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x14002330b
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140023473
mov rcx, r14
call fcn.140027ffc
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], 0xf
mov byte [rbp - 0x80], 0
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x140023363
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002335e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140023479
call fcn.140027ffc
lea rdx, [rbp - 0x20]
mov rbx, qword [rsp + 0x78]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
jmp 0x14002303b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbx, rax
test rax, rax
je 0x14002343d
mov edx, 9
lea rcx, [rsp + 0x58]
call fcn.140014120
cmp qword [rax + 0x18], 0x10
jb 0x1400233be
mov rax, qword [rax]
mov r8d, 0x24
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rdi, rax
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x14002340c
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140023407
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140023467
call fcn.140027ffc
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], 0xf
mov byte [rsp + 0x58], 0
test rdi, rdi
je 0x14002343d
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
or dword [r15], 0x2000
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.140027fa0
mov rbx, qword [rsp + 0x380]
add rsp, 0x330
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14002e938
nop
call fcn.14002e938
nop
call fcn.14002e938
nop
call fcn.14002e938
int3