Function at 0x140024190
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 [0x1400a7040]
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.140023690
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 0x140024232
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x1400243f4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400243ee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002446d
jmp 0x1400243ee
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 0x140024250
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 0x1400242aa
lea rax, [rsp + 0x7c]
sub r9, rax
movzx eax, word [rdx]
cmp word [r9 + rdx], ax
jne 0x140024342
add rdx, 2
sub r8, 1
jne 0x140024292
cmp rsi, rcx
jb 0x140024342
ja 0x140024342
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp r14, 8
jb 0x1400242fe
lea rdx, [r14*2 + 2]
cmp rdx, 0x1000
mov rax, rdi
jb 0x1400242f5
mov rdi, qword [rdi - 8]
sub rax, rdi
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002446d
mov rcx, rdi
call fcn.140050f70
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x140024338
inc rdx
cmp rdx, 0x1000
mov rcx, qword [rbx]
jb 0x140024333
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140024467
mov rcx, r8
call fcn.140050f70
mov eax, 1
jmp 0x14002442c
lea rdx, [rsp + 0x50]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x1400243af
lea rax, [rsp + 0x7c]
mov rdx, 0xffffffffffffffff
inc rdx
cmp word [rax + rdx*2], 0
jne 0x140024360
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 0x1400243a7
lea rax, [rsp + 0x7c]
sub r9, rax
movzx eax, word [rcx]
cmp word [r9 + rcx], ax
jne 0x140024342
add rcx, 2
sub r8, 1
jne 0x140024393
cmp rsi, rdx
jmp 0x1400242ad
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp r14, 8
jb 0x1400243f4
lea rdx, [r14*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400243eb
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002446d
mov rcx, rdi
call fcn.140050f70
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14002442a
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140024425
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140024467
mov rcx, r8
call fcn.140050f70
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.140050f50
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.140057640
nop
call fcn.140057640
nop
int3