Function at 0x140001250
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x280
mov r14, rcx
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r12, rax
mov dword [rsp + 0x40], 0x238
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x1400012e6
mov rdx, qword [r14 + 0x18]
cmp rdx, 8
jb 0x1400012de
lea rdx, [rdx*2 + 2]
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x1400012d9
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000157e
mov rcx, r8
call fcn.140001b34
xor r15d, r15d
jmp 0x140001500
lea rdx, [rsp + 0x40]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_Process32NextW]
xor r15d, r15d
test eax, eax
je 0x1400014c1
movabs r13, 0x7ffffffffffffffe
mov ecx, 0xa
movabs rdx, 0x7fffffffffffffff
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
lea rax, [rsp + 0x6c]
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], r15w
jne 0x140001330
cmp rbx, r13
ja 0x140001585
cmp rbx, 8
jae 0x140001386
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], 7
add rbx, rbx
mov r8, rbx
lea rdx, [rsp + 0x6c]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_memcpy
mov word [rsp + rbx + 0x20], r15w
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x20]
jmp 0x140001422
mov rbp, rbx
or rbp, 7
cmp rbp, r13
jbe 0x14000139b
mov rbp, r13
lea rcx, [rdx + rdx]
jmp 0x1400013bc
cmp rbp, 0xa
cmovb rbp, rcx
lea rcx, [rbp + 1]
cmp rcx, rdx
ja 0x14000158b
add rcx, rcx
cmp rcx, 0x1000
jb 0x1400013e8
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000158b
mov rcx, rax
call fcn.140001af8
test rax, rax
je 0x140001533
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x1400013fa
test rcx, rcx
je 0x1400013f7
call fcn.140001af8
mov rsi, rax
jmp 0x1400013fa
mov rsi, r15
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rbp
lea rdi, [rbx + rbx]
mov r8, rdi
lea rdx, [rsp + 0x6c]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov word [rdi + rsi], r15w
mov rcx, r14
cmp qword [r14 + 0x18], 8
jb 0x14000142f
mov rcx, qword [r14]
lea rdx, [rsp + 0x20]
cmp rbp, 8
setae r8b
cmovae rdx, rsi
cmp rbx, qword [r14 + 0x10]
jne 0x140001467
test rbx, rbx
je 0x140001463
sub rdx, rcx
nop
movzx eax, word [rcx]
cmp word [rcx + rdx], ax
jne 0x140001467
add rcx, 2
sub rbx, 1
jne 0x140001450
mov bl, 1
jmp 0x140001469
xor bl, bl
test r8b, r8b
je 0x1400014a3
lea rdx, [rbp*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14000149b
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001533
mov rcx, rsi
call fcn.140001b34
test bl, bl
jne 0x14000153a
lea rdx, [rsp + 0x40]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140001309
mov rdx, qword [r14 + 0x18]
cmp rdx, 8
jb 0x140001500
lea rdx, [rdx*2 + 2]
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x1400014fb
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000157e
mov rcx, r8
call fcn.140001b34
xor eax, eax
mov word [r14], r15w
mov qword [r14 + 0x18], 7
mov qword [r14 + 0x10], r15
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov ebx, dword [rsp + 0x48]
mov rdx, qword [r14 + 0x18]
cmp rdx, 8
jb 0x140001579
lea rdx, [rdx*2 + 2]
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x140001574
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000157e
mov rcx, r8
call fcn.140001b34
mov rax, rbx
jmp 0x140001502
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140001230
int3
call fcn.140001170
int3