Function at 0x405dce
Capabilities:
Execute command

Disassembly:
push rbp
push rdi
push rsi
sub rsp, 0x590
lea rbp, [rsp + 0x80]
call dbg.__main
mov dword [rbp + 0x4e4], 0x15
mov dword [rbp + 0x4e0], 0x15
mov dword [rbp + 0x4dc], 0x1a
mov dword [rbp + 0x4d8], 0xd
mov dword [rbp + 0x4d4], 0x15
mov dword [rbp + 0x4d0], 0xb
mov dword [rbp + 0x504], 0x13
mov dword [rbp + 0x500], 0xd
mov dword [rbp + 0x4fc], 0x17
mov dword [rbp + 0x4f8], 0xd
mov dword [rbp + 0x50c], 0
mov dword [rbp + 0x508], 0
mov byte [rbp + 0x4f7], 0
call sym.ocultarCursor__
jmp 0x406398
call sym.menu__
mov eax, dword [0x004ad040]
cmp eax, 1
je 0x405e98
mov eax, dword [0x004ad040]
cmp eax, 2
je 0x405e98
mov eax, dword [0x004ad040]
cmp eax, 3
jne 0x406262
lea rcx, [0x0048d4c6]
call sym.system
call sym.llenarMapa__
call sym.marcadorFijo__
mov edx, dword [rbp + 0x4e0]
mov eax, dword [rbp + 0x4e4]
mov ecx, eax
call sym.imprimirPacman_int__int_
mov edx, dword [rbp + 0x4d8]
mov eax, dword [rbp + 0x4dc]
mov ecx, eax
call sym.imprimirClyde_int__int_
mov edx, dword [rbp + 0x4d0]
mov eax, dword [rbp + 0x4d4]
mov ecx, eax
call sym.imprimirBlinky_int__int_
lea rdx, [rbp + 0x4cf]
lea rax, [rbp + 0x4c8]
mov rcx, rax
call sym.randomClyde_int__char_
mov edx, 0
mov ecx, 0
call sym.gotoxy_int__int_
mov r8d, 0x20001
mov edx, 0
lea rcx, str.C:_Users_acer_Downloads_Sonidos_Pacman_Sonidos_Pacman_Fantasmas_azules_Ghost__Turn_to_Blue__PAC_MAN_.wav
mov rax, qword [sym.imp.WINMM.dll_PlaySoundA]
call rax
mov edx, eax
mov rcx, qword [0x00491dd0]
call method.std::ostream.operator___int_
mov edx, 0
mov ecx, 0
call sym.gotoxy_int__int_
lea rdx, [0x0048d71e]
mov rcx, qword [0x00491dd0]
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov ecx, 0x125c
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
jmp 0x40622e
mov eax, dword [0x00477040]
cmp eax, 0xcf8
je 0x405fa2
mov eax, dword [0x00477040]
cmp eax, 0x1be4
je 0x405fa2
mov eax, dword [0x00477040]
cmp eax, 0x2ad0
je 0x405fa2
mov eax, dword [0x00477040]
cmp eax, 0x39bc
jne 0x4060f1
mov eax, dword [0x00477040]
add eax, 0x208
mov dword [0x00477040], eax
mov eax, dword [0x00477048]
add eax, 1
mov dword [0x00477048], eax
mov eax, dword [0x00477044]
add eax, 3
mov dword [0x00477044], eax
mov dword [0x004ad044], 0
mov dword [rbp + 0x4e4], 0x15
mov dword [rbp + 0x4e0], 0x15
mov dword [rbp + 0x4dc], 0x1a
mov dword [rbp + 0x4d8], 0xd
mov dword [rbp + 0x4d4], 0x15
mov dword [rbp + 0x4d0], 0xb
mov dword [rbp + 0x504], 0x13
mov dword [rbp + 0x500], 0xd
mov dword [rbp + 0x4fc], 0x17
mov dword [rbp + 0x4f8], 0xd
mov dword [rbp + 0x50c], 0
mov dword [rbp + 0x508], 0
lea rdx, [rbp - 0x40]
lea rax, str.AxxxxxxxxxxxxxxxxxxxB_AxxxxxxxxxxxxxxxxxxxB
mov ecx, 0x9f
mov rdi, rdx
mov rsi, rax
rep movsq qword [rdi], qword [rsi]
mov rax, rsi
mov rdx, rdi
mov ecx, dword [rax]
mov dword [rdx], ecx
lea rdx, [rdx + 4]
lea rax, [rax + 4]
lea rcx, [0x0048d4c6]
call sym.system
call sym.llenarMapa__
call sym.marcadorFijo__
mov edx, dword [rbp + 0x4e0]
mov eax, dword [rbp + 0x4e4]
mov ecx, eax
call sym.imprimirPacman_int__int_
mov edx, dword [rbp + 0x4d8]
mov eax, dword [rbp + 0x4dc]
mov ecx, eax
call sym.imprimirClyde_int__int_
mov edx, dword [rbp + 0x4d0]
mov eax, dword [rbp + 0x4d4]
mov ecx, eax
call sym.imprimirBlinky_int__int_
lea rdx, [rbp + 0x4cf]
lea rax, [rbp + 0x4c8]
mov rcx, rax
call sym.randomClyde_int__char_
mov ecx, 0x9c4
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov eax, dword [rbp + 0x4e4]
mov dword [rbp + 0x4f0], eax
mov eax, dword [rbp + 0x4e0]
mov dword [rbp + 0x4ec], eax
call sym.teclear__
lea rdx, [rbp + 0x4e0]
lea rax, [rbp + 0x4e4]
mov rcx, rax
call sym.mover_int__int_
movzx eax, byte [rbp + 0x4cf]
movsx ecx, al
lea r9, [rbp + 0x4d8]
lea r10, [rbp + 0x4dc]
lea rdx, [rbp + 0x4e0]
lea rax, [rbp + 0x4e4]
mov r8d, dword [rbp + 0x4ec]
mov dword [rsp + 0x38], r8d
mov r8d, dword [rbp + 0x4f0]
mov dword [rsp + 0x30], r8d
mov dword [rsp + 0x28], ecx
lea rcx, [0x004ad044]
mov qword [rsp + 0x20], rcx
mov r8, r10
mov rcx, rax
call sym.choqueClyde_int__int__int__int__int__char__int__int_
mov eax, dword [rbp + 0x4e4]
mov dword [rbp + 0x4f0], eax
mov eax, dword [rbp + 0x4e0]
mov dword [rbp + 0x4ec], eax
add dword [rbp + 0x50c], 1
mov ecx, dword [rbp + 0x50c]
mov edx, 0x55555556
mov eax, ecx
imul edx
mov eax, ecx
sar eax, 0x1f
sub edx, eax
mov eax, edx
mov edx, eax
add edx, edx
add edx, eax
mov eax, ecx
sub eax, edx
test eax, eax
jne 0x4061ec
lea r8, [rbp + 0x4c8]
lea rcx, [rbp + 0x4cf]
lea rdx, [rbp + 0x4d8]
lea rax, [rbp + 0x4dc]
mov r9, r8
mov r8, rcx
mov rcx, rax
call sym.moverClyde_int__int__char__int_
add dword [rbp + 0x508], 1
mov eax, dword [rbp + 0x508]
and eax, 1
test eax, eax
jne 0x40622e
mov ecx, dword [0x004ad044]
mov r9d, dword [rbp + 0x4e0]
mov r8d, dword [rbp + 0x4e4]
lea rdx, [rbp + 0x4d0]
lea rax, [rbp + 0x4d4]
mov dword [rsp + 0x20], ecx
mov rcx, rax
call sym.moverBlinky_int__int__int__int__int_
movzx eax, byte [rbp + 0x4f7]
xor eax, 1
test al, al
je 0x406262
mov eax, dword [0x00477044]
test eax, eax
jle 0x406262
mov eax, dword [0x004ad044]
cmp eax, 4
je 0x406262
mov eax, dword [0x00477040]
cmp eax, 0x48a7
jle 0x405f6a
mov eax, dword [0x00477040]
cmp eax, 0x48a8
jne 0x406276
call sym.menuYouWin__
jmp 0x406285
mov eax, dword [0x00477044]
test eax, eax
jne 0x406285
call sym.menuYouLose__
movzx eax, byte [0x0047704c]
cmp al, 0x73
je 0x40629f
movzx eax, byte [0x0047704c]
cmp al, 0x53
jne 0x406398
lea rcx, [0x0048d4c6]
call sym.system
mov dword [0x00477040], 0x14
mov dword [0x00477048], 1
mov dword [0x00477044], 3
mov dword [0x004ad040], 0
mov dword [0x004ad044], 0
mov dword [0x004ad048], 0
mov byte [rbp + 0x4eb], 0x2e
mov byte [rbp + 0x4ea], 0x2e
mov dword [rbp + 0x4e4], 0x15
mov dword [rbp + 0x4e0], 0x15
mov dword [rbp + 0x4dc], 0x1a
mov dword [rbp + 0x4d8], 0xd
mov dword [rbp + 0x4d4], 0x15
mov dword [rbp + 0x4d0], 0xb
mov dword [rbp + 0x504], 0x13
mov dword [rbp + 0x500], 0xd
mov dword [rbp + 0x4fc], 0x17
mov dword [rbp + 0x4f8], 0xd
mov dword [rbp + 0x50c], 0
mov dword [rbp + 0x508], 0
lea rdx, [rbp - 0x40]
lea rax, str.AxxxxxxxxxxxxxxxxxxxB_AxxxxxxxxxxxxxxxxxxxB
mov ecx, 0x9f
mov rdi, rdx
mov rsi, rax
rep movsq qword [rdi], qword [rsi]
mov rax, rsi
mov rdx, rdi
mov ecx, dword [rax]
mov dword [rdx], ecx
lea rdx, [rdx + 4]
lea rax, [rax + 4]
movzx eax, byte [0x0047704c]
cmp al, 0x73
je 0x405e6e
movzx eax, byte [0x0047704c]
cmp al, 0x53
je 0x405e6e
lea rcx, str.pause_nul
call sym.system
mov eax, 0
add rsp, 0x590
pop rsi
pop rdi
pop rbp
ret