Function at 0x140001220
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2a0
mov rax, qword [0x140006040]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov r13, rdx
mov r14, rcx
mov qword [rsp + 0x20], rcx
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r12, rax
cmp rax, 0xffffffffffffffff
jne 0x1400012b1
mov rdx, qword [r14 + 0x18]
cmp rdx, 7
jbe 0x1400012a9
lea rdx, [rdx*2 + 2]
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x1400012a4
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140001610
mov rcx, r8
call fcn.1400020fc
xor r15d, r15d
jmp 0x1400015d3
mov dword [rsp + 0x50], 0x238
xor edx, edx
mov r8d, 0x234
lea rcx, [rsp + 0x54]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x50]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
xor r15d, r15d
test eax, eax
je 0x14000158e
mov r8d, 0xa
movabs rdx, 0x7fffffffffffffff
movabs rcx, 0x7ffffffffffffffe
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
lea rax, [rsp + 0x7c]
mov rdi, 0xffffffffffffffff
inc rdi
cmp word [rax + rdi*2], r15w
jne 0x140001312
cmp rdi, rcx
ja 0x140001617
cmp rdi, 7
ja 0x140001369
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], 7
lea rbx, [rdi + rdi]
mov r8, rbx
lea rdx, [rsp + 0x7c]
lea rcx, [rsp + 0x28]
call sub.VCRUNTIME140.dll_memcpy
mov word [rsp + rbx + 0x28], r15w
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x28]
jmp 0x140001400
mov rbp, rdi
or rbp, 7
cmp rbp, rcx
jbe 0x1400013b1
mov rbp, rcx
lea rcx, [rdx + rdx]
cmp rcx, 0x1000
jb 0x1400013d0
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000161d
mov rcx, rax
call fcn.1400020c0
test rax, rax
je 0x140001587
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x1400013d8
cmp rbp, 0xa
cmovb rbp, r8
lea rcx, [rbp + 1]
cmp rcx, rdx
ja 0x14000161d
add rcx, rcx
jne 0x14000137c
mov rsi, r15
jmp 0x1400013d8
call fcn.1400020c0
mov rsi, rax
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], rbp
lea rbx, [rdi + rdi]
mov r8, rbx
lea rdx, [rsp + 0x7c]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov word [rbx + rsi], r15w
mov r10, r14
cmp qword [r14 + 0x18], 7
jbe 0x14000140d
mov r10, qword [r14]
lea rbx, [rsp + 0x28]
cmp rbp, 7
cmova rbx, rsi
mov r11, qword [r14 + 0x10]
cmp r11, rdi
ja 0x1400014a0
sub rdi, r11
test r11, r11
je 0x1400014fb
inc rdi
lea rdi, [rbx + rdi*2]
mov rax, rbx
nop dword [rax]
mov rcx, rdi
sub rcx, rax
sar rcx, 1
je 0x1400014a0
movzx edx, word [r10]
nop
cmp word [rax], dx
je 0x140001461
add rax, 2
sub rcx, 1
jne 0x140001450
jmp 0x1400014a0
test rax, rax
je 0x1400014a0
mov r8, r11
mov rdx, r10
test r11, r11
je 0x140001494
mov r9, rax
sub r9, r10
nop word [rax + rax]
movzx ecx, word [rdx]
cmp word [r9 + rdx], cx
jne 0x1400014f2
add rdx, 2
sub r8, 1
jne 0x140001480
sub rax, rbx
sar rax, 1
cmp rax, 0xffffffffffffffff
jne 0x1400014fb
lea rdx, [rsp + 0x50]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_Process32NextW]
mov ebx, eax
cmp rbp, 7
jbe 0x1400014eb
lea rdx, [rbp*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1400014e3
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001587
mov rcx, rsi
call fcn.1400020fc
test ebx, ebx
jmp 0x1400012de
add rax, 2
jmp 0x140001440
mov eax, dword [rsp + 0x58]
mov dword [r13], eax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp rbp, 7
jbe 0x140001544
lea rdx, [rbp*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14000153b
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001587
mov rcx, rsi
call fcn.1400020fc
nop
mov rdx, qword [r14 + 0x18]
cmp rdx, 7
jbe 0x140001583
lea rdx, [rdx*2 + 2]
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x14000157e
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140001610
mov rcx, r8
call fcn.1400020fc
mov al, 1
jmp 0x1400015d5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [r14 + 0x18]
cmp rdx, 7
jbe 0x1400015d3
lea rdx, [rdx*2 + 2]
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x1400015ce
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140001610
mov rcx, r8
call fcn.1400020fc
xor al, al
mov word [r14], r15w
mov qword [r14 + 0x18], 7
mov qword [r14 + 0x10], r15
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.1400020a0
mov rbx, qword [rsp + 0x2f0]
add rsp, 0x2a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140001200
nop
call fcn.140001160
int3