Function at 0x18005af10
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x10], rdx
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov rsi, rdx
xor r13d, r13d
xor ebx, ebx
xor edx, edx
lea ecx, [rbx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
mov dword [rbp + 0x60], 0x130
lea rdx, [rbp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
lea rdx, [rbp + 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x18005afb6
nop word [rax + rax]
lea rdx, str.HD_Player.exe
lea rcx, [rbp + 0x8c]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsicmp]
test eax, eax
jne 0x18005afa5
mov eax, dword [rbp + 0x7c]
cmp eax, ebx
jbe 0x18005afa5
mov ebx, eax
mov r13d, dword [rbp + 0x68]
lea rdx, [rbp + 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x18005af80
mov ecx, 1
call fcn.180097158
mov rbx, rax
mov byte [rax], 0
mov ecx, 1
call fcn.180097158
mov rdi, rax
mov byte [rax], 0
mov r14, qword [rsi + 0x10]
mov rcx, rsi
mov r15, qword [rsi + 0x18]
cmp r15, 0xf
jbe 0x18005afea
mov rcx, qword [rsi]
mov r12, qword [rbp + 0x1f0]
cmp r14, 4
jne 0x18005b295
mov r8, r14
lea rdx, str.Npc1
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x18005b295
lea ecx, [rax + 0x4f]
call fcn.180097158
mov rbx, rax
mov dword [rax], 0x21
mov dword [rax + 4], 0x6e0069
mov dword [rax + 8], 0x610067
mov dword [rax + 0xc], 0x65006d
mov dword [rax + 0x10], 0x63002f
mov dword [rax + 0x14], 0x700061
mov dword [rax + 0x18], 0x750073
mov dword [rax + 0x1c], 0x65006c
mov dword [rax + 0x20], 0x750068
mov dword [rax + 0x24], 0x61006d
mov dword [rax + 0x28], 0x73006e
mov dword [rax + 0x2c], 0x69006e
mov dword [rax + 0x30], 0x650070
mov dword [rax + 0x34], 0x630072
mov dword [rax + 0x38], 0x6c006f
mov dword [rax + 0x3c], 0x69006c
mov dword [rax + 0x40], 0x650064
mov qword [rax + 0x44], 0x72
mov word [rax + 0x4c], 0
mov byte [rax + 0x4e], 0
cmp byte [0x1802d2110], 0
je 0x18005b1f8
lea ecx, [r14 - 3]
call fcn.180097158
mov rdi, rax
mov byte [rax], 0x21
mov byte [0x1802d2110], 0
mov r14d, 8
xor r15d, r15d
mov dword [rsp + 0x40], r15d
mov dword [rsp + 0x50], 0x1010101
mov word [rsp + 0x54], 0x101
mov qword [rsp + 0x58], r15
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
lea rcx, [rsp + 0x70]
call fcn.180067180
nop
test r13d, r13d
je 0x18005b11d
mov dword [rsp + 0x40], r13d
mov r8d, r13d
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x20], rdi
mov r9, rbx
lea rcx, [rsp + 0x40]
call fcn.18005b9c0
mov ecx, 0x11
test al, al
cmove r14, rcx
lea rcx, str.Fallo_al_Aplicar_
lea rdx, str.Enabled_
cmove rdx, rcx
mov r8, r14
lea rcx, [0x1802d1f48]
call fcn.18003ef60
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x70], rax
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x6c], edx
lea rcx, [rsp + 0x78]
call fcn.180067090
lea rcx, [rbp - 0x80]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp - 8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x18005b84d
mov rdx, qword [rsp + 0x68]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005b83a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005b83a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov ecx, 0x50
call fcn.180097158
mov rdi, rax
mov dword [rax], 0x26
mov dword [rax + 4], 0x6e0049
mov dword [rax + 8], 0x610047
mov dword [rax + 0xc], 0x65006d
mov dword [rax + 0x10], 0x4e002f
mov dword [rax + 0x14], 0x740065
mov dword [rax + 0x18], 0x6f0077
mov dword [rax + 0x1c], 0x6b0072
mov dword [rax + 0x20], 0x490041
mov dword [rax + 0x24], 0x610050
mov dword [rax + 0x28], 0x6e0077
mov dword [rax + 0x2c], 0x4e002f
mov dword [rax + 0x30], 0x740065
mov dword [rax + 0x34], 0x6f0077
mov dword [rax + 0x38], 0x6b0072
mov dword [rax + 0x3c], 0x490041
mov dword [rax + 0x40], 0x610050
mov dword [rax + 0x44], 0x740072
mov dword [rax + 0x48], 0x4e0079
mov dword [rax + 0x4c], 0x430050
jmp 0x18005b0c8
mov rcx, rsi
cmp r15, 0xf
jbe 0x18005b2a1
mov rcx, qword [rsi]
cmp r14, 4
jne 0x18005b404
mov r8, r14
lea rdx, str.Npc2
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x18005b404
mov r8, r14
lea rdx, str.Npc1
mov rcx, r12
call fcn.18003ef60
lea ecx, [r14 + 0x4c]
call fcn.180097158
mov rbx, rax
mov dword [rax], 0x26
mov dword [rax + 4], 0x6e0049
mov dword [rax + 8], 0x610047
mov dword [rax + 0xc], 0x65006d
mov dword [rax + 0x10], 0x4e002f
mov dword [rax + 0x14], 0x740065
mov dword [rax + 0x18], 0x6f0077
mov dword [rax + 0x1c], 0x6b0072
mov dword [rax + 0x20], 0x490041
mov dword [rax + 0x24], 0x610050
mov dword [rax + 0x28], 0x6e0077
mov dword [rax + 0x2c], 0x4e002f
mov dword [rax + 0x30], 0x740065
mov dword [rax + 0x34], 0x6f0077
mov dword [rax + 0x38], 0x6b0072
mov dword [rax + 0x3c], 0x490041
mov dword [rax + 0x40], 0x610050
mov dword [rax + 0x44], 0x740072
mov dword [rax + 0x48], 0x4e0079
mov dword [rax + 0x4c], 0x430050
lea ecx, [r14 + 0x4b]
call fcn.180097158
mov rdi, rax
mov dword [rax], 0x21
mov dword [rax + 4], 0x6e0069
mov dword [rax + 8], 0x610067
mov dword [rax + 0xc], 0x65006d
mov dword [rax + 0x10], 0x63002f
mov dword [rax + 0x14], 0x700061
mov dword [rax + 0x18], 0x750073
mov dword [rax + 0x1c], 0x65006c
mov dword [rax + 0x20], 0x750068
mov dword [rax + 0x24], 0x61006d
mov dword [rax + 0x28], 0x73006e
mov dword [rax + 0x2c], 0x69006e
mov dword [rax + 0x30], 0x650070
mov dword [rax + 0x34], 0x630072
mov dword [rax + 0x38], 0x6c006f
mov dword [rax + 0x3c], 0x69006c
mov dword [rax + 0x40], 0x650064
mov qword [rax + 0x44], 0x72
mov word [rax + 0x4c], 0
mov byte [rax + 0x4e], 0
jmp 0x18005b0c8
mov rcx, rsi
cmp r15, 0xf
jbe 0x18005b410
mov rcx, qword [rsi]
cmp r14, 5
jne 0x18005b4bd
mov r8, r14
lea rdx, str.NpcDE
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x18005b4bd
lea ecx, [rax + 0x41]
call fcn.180097158
mov rbx, rax
mov dword [rax], 0
mov qword [rax + 4], 0xffffffffffffffff
mov dword [rax + 0xc], 0xffffffff
mov dword [rax + 0x10], 0
mov dword [rax + 0x14], 0xbb9
mov dword [rax + 0x18], 0xffffffff
mov dword [rax + 0x1c], 0x3f3f3f01
mov dword [rax + 0x20], 0x3f
mov dword [rax + 0x24], 0x3f3f3f01
mov dword [rax + 0x28], 0x3f3f3f3f
mov dword [rax + 0x2c], 0x47
mov dword [rax + 0x30], 4
mov dword [rax + 0x34], 8
mov dword [rax + 0x38], 0x3f3f3f3f
mov dword [rax + 0x3c], 0x3f3f3f3f
mov byte [rax + 0x40], 0x24
lea ecx, [r14 - 4]
call fcn.180097158
mov rdi, rax
mov byte [rax], 0
jmp 0x18005b0c8
mov rcx, rsi
cmp r15, 0xf
jbe 0x18005b4c9
mov rcx, qword [rsi]
cmp r14, 3
jne 0x18005b55d
mov r8, r14
lea rdx, [0x1800b46ec]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x18005b55d
lea ecx, [rax + 0x10]
call fcn.180097158
mov rbx, rax
mov dword [rax], 0x3727c5ac
mov dword [rax + 4], 0xe92d4830
mov dword [rax + 8], 0xe1a04001
mov dword [rax + 0xc], 0xe59f1020
cmp byte [0x1802d2111], 0
je 0x18005b530
lea ecx, [r14 - 2]
call fcn.180097158
mov rdi, rax
mov byte [rax], 0xac
mov byte [0x1802d2111], 0
jmp 0x18005b0c8
mov ecx, 0x10
call fcn.180097158
mov dword [rax], 0x3f800000
mov rdi, rax
mov dword [rax + 4], 0xe92d4830
mov dword [rax + 8], 0xe1a04001
mov dword [rax + 0xc], 0xe59f1020
jmp 0x18005b0c8
mov rcx, rsi
cmp r15, 0xf
jbe 0x18005b569
mov rcx, qword [rsi]
cmp r14, 3
jne 0x18005b5cf
mov r8, r14
lea rdx, [0x1800b46f0]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x18005b5cf
mov r8, r14
lea rdx, [0x1800b46ec]
mov rcx, r12
call fcn.18003ef60
lea ecx, [r14 + 0xd]
call fcn.180097158
mov rbx, rax
mov dword [rax], 0x3f800000
mov dword [rax + 4], 0xe92d4830
mov dword [rax + 8], 0xe1a04001
mov dword [rax + 0xc], 0xe59f1020
lea ecx, [r14 + 0xd]
call fcn.180097158
mov dword [rax], 0x3727c5ac
jmp 0x18005b540
mov rcx, rsi
cmp r15, 0xf
jbe 0x18005b5db
mov rcx, qword [rsi]
cmp r14, 3
jne 0x18005b699
mov r8, r14
lea rdx, [0x1800b46f4]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x18005b699
lea ecx, [rax + 0x10]
cmp byte [0x1802d2113], al
je 0x18005b647
mov byte [0x1802d2113], al
call fcn.180097158
mov rbx, rax
mov dword [rax], 0x447a0000
mov dword [rax + 4], 0x43f3f3f
mov dword [rax + 8], 0xe92d4ff0
mov dword [rax + 0xc], 0xe28db01c
lea ecx, [r14 + 1]
call fcn.180097158
mov rdi, rax
mov dword [rax], 0
jmp 0x18005b0c8
mov byte [0x1802d2113], 1
call fcn.180097158
mov dword [rax], 0
mov rbx, rax
mov dword [rax + 4], 0x43f3f3f
mov dword [rax + 8], 0xe92d4ff0
mov dword [rax + 0xc], 0xe28db01c
mov ecx, 4
call fcn.180097158
mov rdi, rax
mov dword [rax], 0x447a0000
mov edx, 0x1c2
mov ecx, 0x352
call qword [sym.imp.KERNEL32.dll_Beep]
jmp 0x18005b0c8
mov rcx, rsi
cmp r15, 0xf
jbe 0x18005b6a5
mov rcx, qword [rsi]
cmp r14, 3
jne 0x18005b739
mov r8, r14
lea rdx, [0x1800b46f8]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x18005b739
mov r8, r14
lea rdx, [0x1800b46f4]
mov rcx, r12
call fcn.18003ef60
lea ecx, [r14 + 0xd]
cmp byte [0x1802d2113], 0
je 0x18005b722
mov byte [0x1802d2113], 0
call fcn.180097158
mov rbx, rax
mov dword [rax], 0x447a0000
mov dword [rax + 4], 0x43f3f3f
mov dword [rax + 8], 0xe92d4ff0
mov dword [rax + 0xc], 0xe28db01c
lea ecx, [r14 + 1]
call fcn.180097158
mov rdi, rax
mov dword [rax], 0xc47a0000
jmp 0x18005b0c8
mov byte [0x1802d2113], 1
call fcn.180097158
mov dword [rax], 0xc47a0000
jmp 0x18005b659
mov rcx, rsi
cmp r15, 0xf
jbe 0x18005b745
mov rcx, qword [rsi]
cmp r14, 2
jne 0x18005b0c8
mov r8, r14
lea rdx, [0x1800b46fc]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x18005b0c8
cmp byte [0x1802d2115], al
je 0x18005b7cb
mov byte [0x1802d2115], al
lea ecx, [rax + 0x18]
call fcn.180097158
mov rbx, rax
mov dword [rax], 0x3f8147ae
mov dword [rax + 4], 0x3f8147ae
mov dword [rax + 8], 0x3f8147ae
mov dword [rax + 0xc], 0x3f8147ae
mov dword [rax + 0x10], 0xeeb71a00
mov dword [rax + 0x14], 0xed9f3adc
mov r14d, 8
mov ecx, r14d
call fcn.180097158
mov rdi, rax
mov dword [rax], 0xbeac8b44
mov dword [rax + 4], 0xbf1e76c9
jmp 0x18005b0ce
mov byte [0x1802d2115], 1
mov r14d, 8
mov ecx, r14d
call fcn.180097158
mov dword [rax], 0xbeac8b44
mov dword [rax + 4], 0xbf1e76c9
lea ecx, [r14 + 0x10]
call fcn.180097158
mov rbx, rax
mov dword [rax], 0x3f8147ae
mov dword [rax + 4], 0x3f8147ae
mov dword [rax + 8], 0x3f8147ae
mov dword [rax + 0xc], 0x3f8147ae
mov dword [rax + 0x10], 0xeeb71a00
mov dword [rax + 0x14], 0xed9f3adc
mov rdi, rax
mov edx, 0x1c2
mov ecx, 0x352
call qword [sym.imp.KERNEL32.dll_Beep]
jmp 0x18005b0ce
call fcn.18009707c
mov qword [rsp + 0x58], r15
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x18005b887
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x18005b882
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18005b9a4
mov rcx, r8
call fcn.18009707c
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rbx, qword [rbp + 0x1e0]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x18005b8d7
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x18005b8d2
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18005b9ab
mov rcx, r8
call fcn.18009707c
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rbx, qword [rbp + 0x1e8]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x18005b927
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x18005b922
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18005b9b2
mov rcx, r8
call fcn.18009707c
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rdx, qword [r12 + 0x18]
cmp rdx, 0xf
jbe 0x18005b96e
inc rdx
mov rcx, qword [r12]
cmp rdx, 0x1000
jb 0x18005b969
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18005b9b9
mov rcx, r8
call fcn.18009707c
mov qword [r12 + 0x10], r15
mov qword [r12 + 0x18], 0xf
mov byte [r12], 0
mov al, 1
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3