Function at 0x140024460
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x2a0
mov rax, qword [0x1400a8040]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov rbx, rcx
mov qword [rsp + 0x20], rcx
mov rdx, rcx
lea rcx, [rsp + 0x28]
call fcn.140023960
mov dword [rsp + 0x50], 0x238
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x140024502
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x1400246c4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400246be
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002473d
jmp 0x1400246be
lea rdx, [rsp + 0x50]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
lea rax, [rsp + 0x7c]
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp word [rax + rcx*2], 0
jne 0x140024520
lea r9, [rsp + 0x28]
mov rdi, qword [rsp + 0x28]
mov r14, qword [rsp + 0x40]
cmp r14, 8
cmovae r9, rdi
mov rsi, qword [rsp + 0x38]
mov r8, rsi
cmp rcx, rsi
cmovb r8, rcx
lea rdx, [rsp + 0x7c]
test r8, r8
je 0x14002457a
lea rax, [rsp + 0x7c]
sub r9, rax
movzx eax, word [rdx]
cmp word [r9 + rdx], ax
jne 0x140024612
add rdx, 2
sub r8, 1
jne 0x140024562
cmp rsi, rcx
jb 0x140024612
ja 0x140024612
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp r14, 8
jb 0x1400245ce
lea rdx, [r14*2 + 2]
cmp rdx, 0x1000
mov rax, rdi
jb 0x1400245c5
mov rdi, qword [rdi - 8]
sub rax, rdi
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002473d
mov rcx, rdi
call fcn.140051220
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x140024608
inc rdx
cmp rdx, 0x1000
mov rcx, qword [rbx]
jb 0x140024603
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140024737
mov rcx, r8
call fcn.140051220
mov eax, 1
jmp 0x1400246fc
lea rdx, [rsp + 0x50]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x14002467f
lea rax, [rsp + 0x7c]
mov rdx, 0xffffffffffffffff
inc rdx
cmp word [rax + rdx*2], 0
jne 0x140024630
lea r9, [rsp + 0x28]
cmp r14, 8
cmovae r9, rdi
mov r8, rsi
cmp rdx, rsi
cmovb r8, rdx
lea rcx, [rsp + 0x7c]
test r8, r8
je 0x140024677
lea rax, [rsp + 0x7c]
sub r9, rax
movzx eax, word [rcx]
cmp word [r9 + rcx], ax
jne 0x140024612
add rcx, 2
sub r8, 1
jne 0x140024663
cmp rsi, rdx
jmp 0x14002457d
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp r14, 8
jb 0x1400246c4
lea rdx, [r14*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400246bb
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002473d
mov rcx, rdi
call fcn.140051220
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x1400246fa
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x1400246f5
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140024737
mov rcx, r8
call fcn.140051220
xor eax, eax
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], select
mov byte [rbx], 0
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.140051200
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call fcn.1400578f0
nop
call fcn.1400578f0
nop
int3