Function at 0x14005e540
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x270]
sub rsp, 0x370
mov rax, qword [0x140080010]
xor rax, rsp
mov qword [rbp + 0x260], rax
lea r15, [0x1400c34e8]
mov r14d, 2
cmp qword [0x1400c3500], 0x10
mov rsi, r15
mov ecx, r14d
cmovae rsi, qword [0x1400c34e8]
xor edx, edx
xor edi, edi
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x14005e636
xor edx, edx
mov dword [rbp + 0x20], 0x130
mov r8d, 0x12c
lea rcx, [rbp + 0x24]
call fcn.14006dbbc
lea rdx, [rbp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x14005e62d
lea rdx, [rbp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x14005e62d
nop dword [rax]
lea rax, [rbp + 0x4c]
mov r8, rsi
sub r8, rax
nop word [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x14005e613
inc rax
test ecx, ecx
jne 0x14005e600
test edx, edx
je 0x14005e62a
lea rdx, [rbp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x14005e5f0
jmp 0x14005e62d
mov edi, dword [rbp + 0x28]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x1400c4280], rdi
test rdi, rdi
je 0x14005e581
mov rdx, rdi
lea rcx, str.pid___d_n
call fcn.14005a000
nop word [rax + rax]
mov rax, qword [0x1400c4280]
mov edx, 0x69
mov qword [rbp - 0x18], rax
mov ecx, edx
lea rax, [rbp - 0x30]
mov dword [rbp - 0x20], 0x4040
mov qword [rsp + 0x40], rax
mov r9d, edx
lea rax, [rbp - 0x20]
mov dword [rbp - 0x1c], 3
mov qword [rsp + 0x38], rax
mov r8d, ecx
mov dword [rsp + 0x30], 0x69
mov dword [rsp + 0x28], 0x69
mov dword [rsp + 0x20], 0x69
call qword [0x1400c4290]
xor edx, edx
cmp dword [rbp - 0x30], edx
cmove rdx, qword [rbp - 8]
mov qword [0x1400c4288], rdx
test rdx, rdx
je 0x14005e660
lea rcx, str.base___p_n
call fcn.14005a000
nop dword [rax + rax]
mov rcx, qword [0x1400c4288]
lea rdx, [rbp - 0x20]
mov r8d, 0x40
call fcn.14005e460
test al, al
je 0x14005e724
movaps xmm0, xmmword [rbp - 0x20]
lea rax, [rsp + 0x50]
movaps xmm1, xmmword [rbp - 0x10]
movaps xmmword [rsp + 0x50], xmm0
movaps xmm0, xmmword [rbp]
movaps xmmword [rsp + 0x60], xmm1
movaps xmm1, xmmword [rbp + 0x10]
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rbp - 0x80], xmm1
jmp 0x14005e73b
xorps xmm0, xmm0
lea rax, [rbp - 0x70]
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movaps xmm1, xmmword [rax + 0x10]
movaps xmm0, xmmword [rax]
movaps xmmword [0x1400c4250], xmm1
movaps xmm1, xmmword [rax + 0x30]
movaps xmmword [0x1400c4270], xmm1
psrldq xmm1, 0xc
movaps xmmword [0x1400c4240], xmm0
movaps xmm0, xmmword [rax + 0x20]
movd eax, xmm1
movaps xmmword [0x1400c4260], xmm0
test eax, eax
jle 0x14005e6e0
movsxd rcx, eax
lea rdx, [rbp + 0x150]
add rcx, qword [0x1400c4288]
mov r8d, pe_nt_image_headers64
call fcn.14005e460
lea rcx, [rbp + 0x20]
test al, al
je 0x14005e80b
lea rax, [rbp + 0x150]
mov rdx, r14
nop word [rax + rax]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x14005e7b0
mov rax, qword [rax]
mov qword [rcx], rax
jmp 0x14005e818
xor edx, edx
mov r8d, pe_nt_image_headers64
call fcn.14006dbbc
lea rax, [rbp + 0x20]
lea rcx, [0x1400c42a0]
nop dword [rax]
nop word [rax + rax]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub r14, 1
jne 0x14005e830
cmp qword [0x1400c4280], r14
mov rax, qword [rax]
mov qword [rcx], rax
jbe 0x14005e8b1
cmp qword [0x1400c4288], r14
jbe 0x14005e8b1
cmp dword [0x1400c427c], r14d
jle 0x14005e8b1
cmp dword [0x1400c42f0], r14d
jbe 0x14005e8b1
mov al, 1
jmp 0x14005e8b3
xor al, al
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.14006cbc0
lea r11, [rsp + 0x370]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret