Function at 0x14001e510
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 [0x1400a1020]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov rbx, rcx
mov qword [rsp + 0x20], rcx
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x14001e599
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x14001e592
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14001e58d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001e7c4
mov rcx, r8
call fcn.140027894
xor ebp, ebp
jmp 0x14001e785
mov dword [rsp + 0x50], 0x238
lea rdx, [rsp + 0x50]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
xor ebp, ebp
test eax, eax
je 0x14001e740
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x40], rbp
lea rax, [rsp + 0x7c]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], bp
jne 0x14001e5e0
lea rdx, [rsp + 0x7c]
lea rcx, [rsp + 0x28]
call fcn.14000cfd0
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x14001e606
mov rax, qword [rbx]
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp word [rax + rcx*2], bp
jne 0x14001e610
lea r8, [rsp + 0x28]
mov rsi, qword [rsp + 0x40]
cmp rsi, 8
setae r9b
mov rdi, qword [rsp + 0x28]
cmovae r8, rdi
mov rdx, qword [rsp + 0x38]
cmp rdx, rcx
jne 0x14001e6f3
test rdx, rdx
je 0x14001e668
sub r8, rax
nop word [rax + rax]
movzx ecx, word [r8 + rax]
cmp cx, word [rax]
jne 0x14001e6f3
add rax, 2
sub rdx, 1
jne 0x14001e650
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp rsi, 8
jb 0x14001e6ad
lea rdx, [rsi*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14001e6a4
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001e7be
mov rcx, rdi
call fcn.140027894
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x14001e6ec
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14001e6e7
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001e7c4
mov rcx, r8
call fcn.140027894
mov al, 1
jmp 0x14001e787
test r9b, r9b
je 0x14001e72d
lea rdx, [rsi*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14001e725
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001e7be
mov rcx, rdi
call fcn.140027894
lea rdx, [rsp + 0x50]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Process32NextW]
jmp 0x14001e5b1
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x14001e785
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14001e780
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001e7c4
mov rcx, r8
call fcn.140027894
xor al, al
mov word [rbx], bp
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rbp
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.140027540
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.14002e3f8
nop
call fcn.14002e3f8
int3