Function at 0x140002720
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x6f0
mov rax, qword [0x14007b178]
xor rax, rsp
mov qword [rsp + 0x6e0], rax
movzx esi, dx
mov rbx, rcx
xor ebp, ebp
xor edx, edx
lea ecx, [rbp + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400029d8
mov dword [rsp + 0x270], 0x238
mov dword [rsp + 0x28], 0x104
lea rax, [rsp + 0x4d0]
mov qword [rsp + 0x20], rax
lea r9d, [rbp - 1]
mov r8, rbx
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rdx, [rsp + 0x270]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400029d8
cmp dword [rsp + 0x278], ebp
jne 0x1400027d0
lea rdx, [rsp + 0x270]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
mov ebx, 0x539
cmp si, bx
jne 0x14000281e
lea rdx, [rsp + 0x29c]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___void_const____ptr64____ptr64]
mov rcx, rax
lea rdx, [0x14006783c]
call fcn.140009b90
mov rcx, rax
mov edx, dword [rsp + 0x278]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x140009f30]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rax, [rsp + 0x29c]
lea r8, [rsp + 0x4d0]
sub r8, rax
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x140002845
add rax, 2
test ecx, ecx
jne 0x140002831
test edx, edx
je 0x140002867
lea rdx, [rsp + 0x270]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x1400029d8
jmp 0x1400027d5
mov ebp, dword [rsp + 0x278]
movdqa xmm0, xmmword [0x140067ac0]
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov edx, 0x13c
mov eax, dword [rdx + rcx]
mov ebx, 0x1c8
add rbx, rcx
test al, 1
jne 0x1400028db
or eax, 1
mov dword [rdx + rcx], eax
mov byte [rbx + 0x11], 1
lea rax, [rbx + 0x10]
lea rcx, [rsp + 0x4c0]
cmp rbx, rcx
ja 0x1400028c7
lea rcx, [rsp + 0x4b0]
cmp rax, rcx
jb 0x1400028c7
movups xmmword [rbx], xmm0
mov byte [rbx + 0x10], 0xd1
jmp 0x1400028ce
movups xmmword [rbx], xmm0
mov byte [rbx + 0x10], 0xd1
lea rcx, [0x14005d090]
call fcn.140059740
nop
cmp byte [rbx + 0x11], 0
je 0x140002926
xor byte [rbx], 0xd1
xor byte [rbx + 1], 0x5f
xor byte [rbx + 2], 0x71
not byte [rbx + 3]
xor byte [rbx + 4], 0xf1
xor byte [rbx + 5], 0x5d
xor byte [rbx + 6], 0x99
xor byte [rbx + 7], 0xeb
xor byte [rbx + 8], 0xd1
xor byte [rbx + 9], 0x5f
xor byte [rbx + 0xa], 0x71
not byte [rbx + 0xb]
xor byte [rbx + 0xc], 0xf1
xor byte [rbx + 0xd], 0x5d
xor byte [rbx + 0xe], 0x99
xor byte [rbx + 0xf], 0xeb
xor byte [rbx + 0x10], 0xd1
mov byte [rbx + 0x11], 0
lea rdx, [0x140067990]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140009b90
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x270]
mov eax, 4
nop dword [rax + rax]
movups xmm0, xmmword [rdx]
movups xmmword [r8], xmm0
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [r8 + 0x10], xmm1
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [r8 + 0x20], xmm0
movups xmm1, xmmword [rdx + 0x30]
movups xmmword [r8 + 0x30], xmm1
movups xmm0, xmmword [rdx + 0x40]
movups xmmword [r8 + 0x40], xmm0
movups xmm1, xmmword [rdx + 0x50]
movups xmmword [r8 + 0x50], xmm1
movups xmm0, xmmword [rdx + 0x60]
movups xmmword [r8 + 0x60], xmm0
lea r8, [r8 + 0x80]
movups xmm1, xmmword [rdx + 0x70]
movups xmmword [r8 - 0x10], xmm1
lea rdx, [rdx + 0x80]
sub rax, 1
jne 0x140002950
movups xmm0, xmmword [rdx]
movups xmmword [r8], xmm0
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [r8 + 0x10], xmm1
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [r8 + 0x20], xmm0
mov rdx, qword [rdx + 0x30]
mov qword [r8 + 0x30], rdx
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140001330
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebp
mov rcx, qword [rsp + 0x6e0]
xor rcx, rsp
call fcn.140059350
lea r11, [rsp + 0x6f0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret