Function at 0x140022b30
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 [0x14006b030]
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 0x140022bca
mov ebx, esi
nop dword [rax]
mov rcx, qword [rbx + rcx]
call fcn.14001d770
cmp eax, 1
jne 0x140022baf
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 0x140022b90
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 0x140022f43
mov dword [rbp - 0x20], 0x238
lea rdx, [rbp - 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140022f3a
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 0x140022c22
lea rdx, [rbp + 0xc]
lea rcx, [rbp - 0x60]
call fcn.14001a720
nop
cmp qword [rbp - 0x50], 0
jne 0x140022c5f
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 0x140022d1b
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.140012ef0
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 0x140022d67
sub rdi, rbx
nop
movsx ecx, byte [rbx]
call fcn.1400370f4
mov byte [rdi + rbx], al
inc rbx
cmp rbx, rsi
jne 0x140022d50
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 0x140022e98
nop word [rax + rax]
mov rdx, qword [rsi + rcx]
cmp dword [rdx + 0x84], 0
je 0x140022e6d
add rdx, 0x18
lea rcx, [rsp + 0x58]
call fcn.1400012e0
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.14002a6c0
mov edi, eax
test eax, eax
jne 0x140022e0e
cmp r15, r12
jae 0x140022e05
lea edi, [rax - 1]
jmp 0x140022e0e
xor edi, edi
cmp r15, r12
seta dil
mov rax, qword [rsp + 0x70]
cmp rax, 0x10
jb 0x140022e4e
lea rdx, [rax + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140022e42
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002302d
mov rcx, rbx
call fcn.140027bac
mov r14, qword [rbp - 0x80]
mov r15, qword [rsp + 0x48]
mov r12d, dword [rsp + 0x40]
test edi, edi
jne 0x140022e6d
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 0x140022d90
xor esi, esi
mov rax, qword [rbp - 0x68]
cmp rax, 0x10
jb 0x140022ed3
lea rdx, [rax + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x140022ecb
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140023033
mov rcx, r14
call fcn.140027bac
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], 0xf
mov byte [rbp - 0x80], 0
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x140022f23
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140022f1e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140023039
call fcn.140027bac
lea rdx, [rbp - 0x20]
mov rbx, qword [rsp + 0x78]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
jmp 0x140022bfb
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 0x140022ffd
mov edx, 9
lea rcx, [rsp + 0x58]
call fcn.1400140b0
cmp qword [rax + 0x18], 0x10
jb 0x140022f7e
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 0x140022fcc
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140022fc7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140023027
call fcn.140027bac
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], 0xf
mov byte [rsp + 0x58], 0
test rdi, rdi
je 0x140022ffd
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.140027b60
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.14002e4f8
nop
call fcn.14002e4f8
nop
call fcn.14002e4f8
nop
call fcn.14002e4f8
int3