Function at 0x140023550
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x220]
sub rsp, 0x320
mov rax, qword [0x14006b030]
xor rax, rsp
mov qword [rbp + 0x210], rax
mov r12d, r8d
mov r15, rdx
xor ebx, ebx
mov edi, ebx
mov dword [rsp + 0x20], ebx
mov dword [rbp - 0x30], 0x238
xor edx, edx
lea ecx, [rbx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r13, rax
cmp rax, 0xffffffffffffffff
je 0x1400239e3
lea rdx, [rbp - 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
cmp eax, 1
jne 0x1400239da
nop dword [rax + rax]
mov qword [rbp - 0x58], rbx
mov qword [rbp - 0x48], rbx
mov qword [rbp - 0x40], 7
mov word [rbp - 0x58], bx
lea rax, [rbp - 4]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x1400235f0
lea rdx, [rbp - 4]
lea rcx, [rbp - 0x58]
call fcn.14001a720
nop
mov edx, 5
lea rcx, [rbp - 0x78]
call fcn.140014500
nop
or edi, 1
mov dword [rsp + 0x20], edi
mov rcx, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x14002362d
mov rax, qword [rax]
lea r9, [rbp - 0x58]
mov rsi, qword [rbp - 0x58]
mov r14, qword [rbp - 0x40]
cmp r14, 8
cmovae r9, rsi
mov rbx, qword [rbp - 0x48]
cmp rbx, rcx
jne 0x14002368d
mov rcx, rbx
test rbx, rbx
je 0x14002384b
movzx edx, word [r9]
movzx r8d, word [rax]
cmp dx, r8w
jb 0x14002368d
sub r9, rax
cmp dx, r8w
ja 0x14002368d
cmp rcx, 1
je 0x14002384b
dec rcx
add rax, 2
movzx edx, word [r9 + rax]
movzx r8d, word [rax]
cmp dx, r8w
jae 0x14002366b
mov edx, 6
lea rcx, [rsp + 0x68]
call fcn.140014500
nop
or edi, 2
mov dword [rsp + 0x20], edi
mov rcx, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x1400236b2
mov rax, qword [rax]
lea r9, [rbp - 0x58]
cmp r14, 8
cmovae r9, rsi
cmp rbx, rcx
jne 0x140023706
mov rcx, rbx
test rbx, rbx
je 0x14002384b
movzx edx, word [r9]
movzx r8d, word [rax]
cmp dx, r8w
jb 0x140023706
sub r9, rax
cmp dx, r8w
ja 0x140023706
cmp rcx, 1
je 0x14002384b
dec rcx
add rax, 2
movzx edx, word [r9 + rax]
movzx r8d, word [rax]
cmp dx, r8w
jae 0x1400236e4
mov edx, 7
lea rcx, [rsp + 0x48]
call fcn.140014500
nop
or edi, 4
mov dword [rsp + 0x20], edi
mov rcx, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x14002372b
mov rax, qword [rax]
lea r9, [rbp - 0x58]
cmp r14, 8
cmovae r9, rsi
cmp rbx, rcx
jne 0x14002377f
mov rcx, rbx
test rbx, rbx
je 0x14002384b
movzx edx, word [r9]
movzx r8d, word [rax]
cmp dx, r8w
jb 0x14002377f
sub r9, rax
cmp dx, r8w
ja 0x14002377f
cmp rcx, 1
je 0x14002384b
dec rcx
add rax, 2
movzx edx, word [r9 + rax]
movzx r8d, word [rax]
cmp dx, r8w
jae 0x14002375d
mov edx, 8
lea rcx, [rsp + 0x28]
call fcn.140014500
or edi, 8
mov rcx, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x14002379f
mov rax, qword [rax]
lea r8, [rbp - 0x58]
cmp r14, 8
cmovae r8, rsi
cmp rbx, rcx
jne 0x1400237e7
test rbx, rbx
je 0x14002384b
movzx ecx, word [r8]
movzx edx, word [rax]
cmp cx, dx
jb 0x1400237e7
sub r8, rax
cmp cx, dx
ja 0x1400237e7
cmp rbx, 1
je 0x14002384b
dec rbx
add rax, 2
movzx ecx, word [r8 + rax]
movzx edx, word [rax]
cmp cx, dx
jae 0x1400237cb
xor bl, bl
test dil, 8
je 0x14002384f
and edi, 0xfffffff7
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x140023834
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002382f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140023a19
call fcn.140027b3c
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], ax
jmp 0x140023851
mov bl, 1
jmp 0x1400237e9
xor eax, eax
test dil, 4
je 0x1400238b1
and edi, 0xfffffffb
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x14002389e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140023897
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140023a1f
call fcn.140027b3c
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], ax
test dil, 2
je 0x14002390f
and edi, 0xfffffffd
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x1400238fd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400238f6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140023a25
call fcn.140027b3c
xor eax, eax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], ax
test dil, 1
je 0x140023958
and edi, 0xfffffffe
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x140023958
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140023953
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140023a2b
call fcn.140027b3c
test bl, bl
jne 0x14002398a
test r12d, r12d
je 0x140023967
cmp dword [rbp - 0x10], r12d
jne 0x14002398a
mov rdx, qword [r15 + 8]
cmp rdx, qword [r15 + 0x10]
je 0x14002397d
mov eax, dword [rbp - 0x28]
mov dword [rdx], eax
add qword [r15 + 8], 4
jmp 0x14002398a
lea r8, [rbp - 0x28]
mov rcx, r15
call fcn.140020d40
nop
cmp r14, 8
jb 0x1400239c1
lea rdx, [r14*2 + 2]
cmp rdx, 0x1000
mov rax, rsi
jb 0x1400239b9
mov rsi, qword [rsi - 8]
sub rax, rsi
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140023a13
mov rcx, rsi
call fcn.140027b3c
lea rdx, [rbp - 0x30]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
jne 0x1400239da
xor ebx, ebx
jmp 0x1400235d0
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.140027af0
lea r11, [rsp + 0x320]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14002e488
nop
call fcn.14002e488
nop
call fcn.14002e488
nop
call fcn.14002e488
nop
call fcn.14002e488
int3