Function at 0x401390
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
push edi
sub esp, 0x1d4
mov dword [esp], str.WAR3.EXE
call sym.GetPIDForProcess_char_
test eax, eax
jne 0x4013dd
mov dword [esp + 0xc], 0
mov dword [esp + 8], str.FunsDotA_Hack
mov dword [esp + 4], str.Wc3_was_not_found
mov dword [esp], 0
call sub.USER32.dll_MessageBoxA
sub esp, 0x10
mov dword [esp], 0
call sym._exit
mov dword [esp + 4], str..dataconf.dat
lea eax, [ebp - 0x108]
mov dword [esp], eax
call sym.CIniReader::CIniReader_char_
mov dword [esp + 0xc], 0
mov dword [esp + 8], str.show_Mainmap_units
mov dword [esp + 4], str.Maphack_Features
lea eax, [ebp - 0x108]
mov dword [esp], eax
call method.CIniReader.ReadBoolean_char__char__bool_
mov byte [ebp - 0x109], al
mov dword [esp + 0xc], 0
mov dword [esp + 8], str.show_Minimap_units
mov dword [esp + 4], str.Maphack_Features
lea eax, [ebp - 0x108]
mov dword [esp], eax
call method.CIniReader.ReadBoolean_char__char__bool_
mov byte [ebp - 0x10a], al
mov dword [esp + 0xc], 0
mov dword [esp + 8], str.make_units_clickable
mov dword [esp + 4], str.Maphack_Features
lea eax, [ebp - 0x108]
mov dword [esp], eax
call method.CIniReader.ReadBoolean_char__char__bool_
mov byte [ebp - 0x10b], al
mov dword [esp + 0xc], 0
mov dword [esp + 8], str.reveal_invisibles
mov dword [esp + 4], str.Maphack_Features
lea eax, [ebp - 0x108]
mov dword [esp], eax
call method.CIniReader.ReadBoolean_char__char__bool_
mov byte [ebp - 0x10c], al
mov dword [esp + 0xc], 0
mov dword [esp + 8], str.reveal_illusions
mov dword [esp + 4], str.Maphack_Features
lea eax, [ebp - 0x108]
mov dword [esp], eax
call method.CIniReader.ReadBoolean_char__char__bool_
mov byte [ebp - 0x10d], al
mov dword [esp + 0xc], 0
mov dword [esp + 8], str.show_runes
mov dword [esp + 4], str.Maphack_Features
lea eax, [ebp - 0x108]
mov dword [esp], eax
call method.CIniReader.ReadBoolean_char__char__bool_
mov byte [ebp - 0x10e], al
mov dword [esp + 0xc], 0
mov dword [esp + 8], str.bypass_DotA__ah
mov dword [esp + 4], str.Maphack_Features
lea eax, [ebp - 0x108]
mov dword [esp], eax
call method.CIniReader.ReadBoolean_char__char__bool_
mov byte [ebp - 0x10f], al
mov dword [esp + 0xc], 0
mov dword [esp + 8], str.view_Skills
mov dword [esp + 4], str.Maphack_Features
lea eax, [ebp - 0x108]
mov dword [esp], eax
call method.CIniReader.ReadBoolean_char__char__bool_
mov byte [ebp - 0x110], al
mov dword [esp + 0xc], 0
mov dword [esp + 8], str.remove_Mainmap_fog
mov dword [esp + 4], str.Maphack_Features
lea eax, [ebp - 0x108]
mov dword [esp], eax
call method.CIniReader.ReadBoolean_char__char__bool_
mov byte [ebp - 0x111], al
mov dword [esp + 0xc], 0
mov dword [esp + 8], str.remove_Minimap_fog
mov dword [esp + 4], str.Maphack_Features
lea eax, [ebp - 0x108]
mov dword [esp], eax
call method.CIniReader.ReadBoolean_char__char__bool_
mov byte [ebp - 0x112], al
mov dword [esp + 0xc], 0
mov dword [esp + 8], str.trade
mov dword [esp + 4], str.Maphack_Features
lea eax, [ebp - 0x108]
mov dword [esp], eax
call method.CIniReader.ReadBoolean_char__char__bool_
mov byte [ebp - 0x113], al
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x4420fb
mov dword [esp + 4], str.Maphack_Features
lea eax, [ebp - 0x108]
mov dword [esp], eax
call method.CIniReader.ReadBoolean_char__char__bool_
mov byte [ebp - 0x114], al
mov dword [esp + 0xc], 0
mov dword [esp + 8], str.1000
mov dword [esp + 4], str.Maphack_Features
lea eax, [ebp - 0x108]
mov dword [esp], eax
call method.CIniReader.ReadBoolean_char__char__bool_
mov byte [ebp - 0x115], al
mov dword [esp + 0xc], 0
mov dword [esp + 8], str.1650
mov dword [esp + 4], str.Maphack_Features
lea eax, [ebp - 0x108]
mov dword [esp], eax
call method.CIniReader.ReadBoolean_char__char__bool_
mov byte [ebp - 0x116], al
mov dword [esp + 0xc], 0
mov dword [esp + 8], str.2150
mov dword [esp + 4], str.Maphack_Features
lea eax, [ebp - 0x108]
mov dword [esp], eax
call method.CIniReader.ReadBoolean_char__char__bool_
mov byte [ebp - 0x117], al
mov dword [esp + 0xc], 0
mov dword [esp + 8], str.2500
mov dword [esp + 4], str.Maphack_Features
lea eax, [ebp - 0x108]
mov dword [esp], eax
call method.CIniReader.ReadBoolean_char__char__bool_
mov byte [ebp - 0x118], al
mov dword [esp + 0xc], 0
mov dword [esp + 8], str.3000
mov dword [esp + 4], str.Maphack_Features
lea eax, [ebp - 0x108]
mov dword [esp], eax
call method.CIniReader.ReadBoolean_char__char__bool_
mov byte [ebp - 0x119], al
mov dword [esp + 0xc], 0
mov dword [esp + 8], str.3500
mov dword [esp + 4], str.Maphack_Features
lea eax, [ebp - 0x108]
mov dword [esp], eax
call method.CIniReader.ReadBoolean_char__char__bool_
mov byte [ebp - 0x11a], al
call sym.EnableDebugPriv__
mov dword [esp], str.WAR3.EXE
call sym.GetPIDForProcess_char_
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0x1f0fff
call sub.KERNEL32.dll_OpenProcess
sub esp, 0xc
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 0
je 0x402d67
mov eax, dword [str.Warcraft_III]
mov dword [ebp - 0x198], eax
mov eax, dword [0x442121]
mov dword [ebp - 0x194], eax
mov eax, dword [0x442125]
mov dword [ebp - 0x190], eax
movzx eax, byte [0x442129]
mov byte [ebp - 0x18c], al
lea edi, [ebp - 0x18b]
cld
mov ecx, 0x13
mov al, 0
rep stosb byte es:[edi], al
mov dword [esp + 4], 0
lea eax, [ebp - 0x198]
mov dword [esp], eax
call sub.USER32.dll_FindWindowA
sub esp, 8
mov dword [ebp - 0x19c], eax
mov dword [esp], str.WAR3.EXE
call sym.GetPIDForProcess_char_
mov dword [esp + 4], eax
mov dword [esp], str.Game.dll
call sym.GetDLLBase_char__unsigned_long_
mov dword [ebp - 0x1a0], eax
mov dword [ebp - 0x1a4], 0
mov dword [esp], str.WAR3.EXE
call sym.GetPIDForProcess_char_
mov dword [esp + 4], eax
mov dword [esp], str.Storm.dll
call sym.GetDLLBase_char__unsigned_long_
mov dword [ebp - 0x1a8], eax
movzx eax, byte [ebp - 0x109]
cmp eax, 1
jne 0x40186e
lea eax, [ebp - 0x1a4]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 2
mov dword [esp + 8], 0x442150
mov eax, dword [ebp - 0x1a0]
add eax, 0x3a20db
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x120]
mov dword [esp], eax
call sub.KERNEL32.dll_WriteProcessMemory
sub esp, 0x14
cmp dword [ebp - 0x1a4], 0
jne 0x4018d5
mov dword [esp + 4], str._reveal_units_on_Mainmap_failed.
mov dword [esp], 0x4453d0
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 dword [esp + 4], method.std::basic_ostream_char__std::char_traits_char____std::endl_char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char____
mov dword [esp], eax
call method.std::ostream.operator___std::ostream____std::ostream__
jmp 0x4018d5
lea eax, [ebp - 0x1a4]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 2
mov dword [esp + 8], 0x442176
mov eax, dword [ebp - 0x1a0]
add eax, 0x3a20db
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x120]
mov dword [esp], eax
call sub.KERNEL32.dll_WriteProcessMemory
sub esp, 0x14
cmp dword [ebp - 0x1a4], 0
jne 0x4018d5
mov dword [esp + 4], str._reveal_units_on_Mainmap_failed.
mov dword [esp], 0x4453d0
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 dword [esp + 4], method.std::basic_ostream_char__std::char_traits_char____std::endl_char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char____
mov dword [esp], eax
call method.std::ostream.operator___std::ostream____std::ostream__
movzx eax, byte [ebp - 0x10a]
cmp eax, 1
jne 0x40194e
lea eax, [ebp - 0x1a4]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0x442179
mov eax, dword [ebp - 0x1a0]
add eax, 0x361f7c
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x120]
mov dword [esp], eax
call sub.KERNEL32.dll_WriteProcessMemory
sub esp, 0x14
cmp dword [ebp - 0x1a4], 0
jne 0x4019b5
mov dword [esp + 4], str._reveal_units_on_Minimap_failed.
mov dword [esp], 0x4453d0
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 dword [esp + 4], method.std::basic_ostream_char__std::char_traits_char____std::endl_char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char____
mov dword [esp], eax
call method.std::ostream.operator___std::ostream____std::ostream__
jmp 0x4019b5
lea eax, [ebp - 0x1a4]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0x44219e
mov eax, dword [ebp - 0x1a0]
add eax, 0x361f7c
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x120]
mov dword [esp], eax
call sub.KERNEL32.dll_WriteProcessMemory
sub esp, 0x14
cmp dword [ebp - 0x1a4], 0
jne 0x4019b5
mov dword [esp + 4], str._reveal_units_on_Mainmap_failed.
mov dword [esp], 0x4453d0
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 dword [esp + 4], method.std::basic_ostream_char__std::char_traits_char____std::endl_char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char____
mov dword [esp], eax
call method.std::ostream.operator___std::ostream____std::ostream__
movzx eax, byte [ebp - 0x10b]
cmp eax, 1
jne 0x401a6f
lea eax, [ebp - 0x1a4]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 2
mov dword [esp + 8], 0x442150
mov eax, dword [ebp - 0x1a0]
add eax, 0x285cbc
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x120]
mov dword [esp], eax
call sub.KERNEL32.dll_WriteProcessMemory
sub esp, 0x14
lea eax, [ebp - 0x1a4]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 2
mov dword [esp + 8], 0x4421a0
mov eax, dword [ebp - 0x1a0]
add eax, 0x285cd2
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x120]
mov dword [esp], eax
call sub.KERNEL32.dll_WriteProcessMemory
sub esp, 0x14
cmp dword [ebp - 0x1a4], 0
jne 0x401b10
mov dword [esp + 4], str._make_units_clickable_failed
mov dword [esp], 0x4453d0
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 dword [esp + 4], method.std::basic_ostream_char__std::char_traits_char____std::endl_char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char____
mov dword [esp], eax
call method.std::ostream.operator___std::ostream____std::ostream__
jmp 0x401b10
lea eax, [ebp - 0x1a4]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 2
mov dword [esp + 8], 0x4421c1
mov eax, dword [ebp - 0x1a0]
add eax, 0x285cbc
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x120]
mov dword [esp], eax
call sub.KERNEL32.dll_WriteProcessMemory
sub esp, 0x14
lea eax, [ebp - 0x1a4]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 2
mov dword [esp + 8], 0x4421c4
mov eax, dword [ebp - 0x1a0]
add eax, 0x285cd2
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x120]
mov dword [esp], eax
call sub.KERNEL32.dll_WriteProcessMemory
sub esp, 0x14
cmp dword [ebp - 0x1a4], 0
jne 0x401b10
mov dword [esp + 4], str._reveal_units_on_Mainmap_failed.
mov dword [esp], 0x4453d0
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 dword [esp + 4], method.std::basic_ostream_char__std::char_traits_char____std::endl_char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char____
mov dword [esp], eax
call method.std::ostream.operator___std::ostream____std::ostream__
movzx eax, byte [ebp - 0x10d]
cmp eax, 1
jne 0x401b89
lea eax, [ebp - 0x1a4]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 2
mov dword [esp + 8], 0x4421c7
mov eax, dword [ebp - 0x1a0]
add eax, 0x28357c
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x120]
mov dword [esp], eax
call sub.KERNEL32.dll_WriteProcessMemory
sub esp, 0x14
cmp dword [ebp - 0x1a4], 0
jne 0x401bf0
mov dword [esp + 4], str._reveal_illus_failed
mov dword [esp], 0x4453d0
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 dword [esp + 4], method.std::basic_ostream_char__std::char_traits_char____std::endl_char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char____
mov dword [esp], eax
call method.std::ostream.operator___std::ostream____std::ostream__
jmp 0x401bf0
lea eax, [ebp - 0x1a4]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 2
mov dword [esp + 8], 0x4421e0
mov eax, dword [ebp - 0x1a0]
add eax, 0x28357c
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x120]
mov dword [esp], eax
call sub.KERNEL32.dll_WriteProcessMemory
sub esp, 0x14
cmp dword [ebp - 0x1a4], 0
jne 0x401bf0
mov dword [esp + 4], str._reveal_units_on_Mainmap_failed.
mov dword [esp], 0x4453d0
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 dword [esp + 4], method.std::basic_ostream_char__std::char_traits_char____std::endl_char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char____
mov dword [esp], eax
call method.std::ostream.operator___std::ostream____std::ostream__
movzx eax, byte [ebp - 0x10c]
cmp eax, 1
jne 0x401c38
lea eax, [ebp - 0x1a4]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0x4421e3
mov eax, dword [ebp - 0x1a0]
add eax, 0x39a5d8
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x120]
mov dword [esp], eax
call sub.KERNEL32.dll_WriteProcessMemory
sub esp, 0x14
jmp 0x401c9f
lea eax, [ebp - 0x1a4]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0x4421e5
mov eax, dword [ebp - 0x1a0]
add eax, 0x39a5d8
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x120]
mov dword [esp], eax
call sub.KERNEL32.dll_WriteProcessMemory
sub esp, 0x14
cmp dword [ebp - 0x1a4], 0
jne 0x401c9f
mov dword [esp + 4], str._reveal_units_on_Mainmap_failed.
mov dword [esp], 0x4453d0
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 dword [esp + 4], method.std::basic_ostream_char__std::char_traits_char____std::endl_char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char____
mov dword [esp], eax
call method.std::ostream.operator___std::ostream____std::ostream__
movzx eax, byte [ebp - 0x10e]
cmp eax, 1
jne 0x401d18
lea eax, [ebp - 0x1a4]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 2
mov dword [esp + 8], 0x442150
mov eax, dword [ebp - 0x1a0]
add eax, 0x3a2030
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x120]
mov dword [esp], eax
call sub.KERNEL32.dll_WriteProcessMemory
sub esp, 0x14
cmp dword [ebp - 0x1a4], 0
jne 0x401d7f
mov dword [esp + 4], str._reveal_runes_failed
mov dword [esp], 0x4453d0
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 dword [esp + 4], method.std::basic_ostream_char__std::char_traits_char____std::endl_char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char____
mov dword [esp], eax
call method.std::ostream.operator___std::ostream____std::ostream__
jmp 0x401d7f
lea eax, [ebp - 0x1a4]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 2
mov dword [esp + 8], 0x4421fd
mov eax, dword [ebp - 0x1a0]
add eax, 0x3a2030
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x120]
mov dword [esp], eax
call sub.KERNEL32.dll_WriteProcessMemory
sub esp, 0x14
cmp dword [ebp - 0x1a4], 0
jne 0x401d7f
mov dword [esp + 4], str._reveal_units_on_Mainmap_failed.
mov dword [esp], 0x4453d0
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 dword [esp + 4], method.std::basic_ostream_char__std::char_traits_char____std::endl_char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char____
mov dword [esp], eax
call method.std::ostream.operator___std::ostream____std::ostream__
movzx eax, byte [ebp - 0x10f]
cmp eax, 1
jne 0x401e39
lea eax, [ebp - 0x1a4]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0x4421e3
mov eax, dword [ebp - 0x1a0]
add eax, 0x3cc3b2
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x120]
mov dword [esp], eax
call sub.KERNEL32.dll_WriteProcessMemory
sub esp, 0x14
lea eax, [ebp - 0x1a4]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 6
mov dword [esp + 8], 0x442200
mov eax, dword [ebp - 0x1a0]
add eax, 0x3c6edc
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x120]
mov dword [esp], eax
call sub.KERNEL32.dll_WriteProcessMemory
sub esp, 0x14
cmp dword [ebp - 0x1a4], 0
jne 0x401eda
mov dword [esp + 4], str._bypass__ah_failed
mov dword [esp], 0x4453d0
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 dword [esp + 4], method.std::basic_ostream_char__std::char_traits_char____std::endl_char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char____
mov dword [esp], eax
call method.std::ostream.operator___std::ostream____std::ostream__
jmp 0x401eda
lea eax, [ebp - 0x1a4]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0x4421e5
mov eax, dword [ebp - 0x1a0]
add eax, 0x3cc3b2
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x120]
mov dword [esp], eax
call sub.KERNEL32.dll_WriteProcessMemory
sub esp, 0x14
lea eax, [ebp - 0x1a4]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 6
mov dword [esp + 8], 0x44221b
mov eax, dword [ebp - 0x1a0]
add eax, 0x3c6edc
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x120]
mov dword [esp], eax
call sub.KERNEL32.dll_WriteProcessMemory
sub esp, 0x14
cmp dword [ebp - 0x1a4], 0
jne 0x401eda
mov dword [esp + 4], str._reveal_units_on_Mainmap_failed.
mov dword [esp], 0x4453d0
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 dword [esp + 4], method.std::basic_ostream_char__std::char_traits_char____std::endl_char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char____
mov dword [esp], eax
call method.std::ostream.operator___std::ostream____std::ostream__
movzx eax, byte [ebp - 0x111]
cmp eax, 1
jne 0x401f4f
lea eax, [ebp - 0x1a4]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 6
mov dword [esp + 8], 0x442222
mov eax, dword [ebp - 0x1a0]
add eax, 0x74d1b9
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x120]
mov dword [esp], eax
call sub.KERNEL32.dll_WriteProcessMemory
sub esp, 0x14
cmp dword [ebp - 0x1a4], 0
jne 0x401f7c
mov dword [esp + 4], str._remove_fog_mainmap_failed
mov dword [esp], 0x4453d0
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 dword [esp + 4], method.std::basic_ostream_char__std::char_traits_char____std::endl_char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char____
mov dword [esp], eax
call method.std::ostream.operator___std::ostream____std::ostream__
jmp 0x401f7c
cmp dword [ebp - 0x1a4], 0
jne 0x401f7c
mov dword [esp + 4], str._reveal_units_on_Mainmap_failed.
mov dword [esp], 0x4453d0
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 dword [esp + 4], method.std::basic_ostream_char__std::char_traits_char____std::endl_char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char____
mov dword [esp], eax
call method.std::ostream.operator___std::ostream____std::ostream__
movzx eax, byte [ebp - 0x112]
cmp eax, 1
jne 0x401ff1
lea eax, [ebp - 0x1a4]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 2
mov dword [esp + 8], 0x442150
mov eax, dword [ebp - 0x1a0]
add eax, 0x357065
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x120]
mov dword [esp], eax
call sub.KERNEL32.dll_WriteProcessMemory
sub esp, 0x14
cmp dword [ebp - 0x1a4], 0
jne 0x40201e
mov dword [esp + 4], str._remove_fog_minimap_failed
mov dword [esp], 0x4453d0
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 dword [esp + 4], method.std::basic_ostream_char__std::char_traits_char____std::endl_char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char____
mov dword [esp], eax
call method.std::ostream.operator___std::ostream____std::ostream__
jmp 0x40201e
cmp dword [ebp - 0x1a4], 0
jne 0x40201e
mov dword [esp + 4], str._reveal_units_on_Mainmap_failed.
mov dword [esp], 0x4453d0
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 dword [esp + 4], method.std::basic_ostream_char__std::char_traits_char____std::endl_char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char____
mov dword [esp], eax
call method.std::ostream.operator___std::ostream____std::ostream__
movzx eax, byte [ebp - 0x110]
cmp eax, 1
jne 0x402179
lea eax, [ebp - 0x1a4]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 6
mov dword [esp + 8], 0x442261
mov eax, dword [ebp - 0x1a0]
add eax, 0x2031ec
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x120]
mov dword [esp], eax
call sub.KERNEL32.dll_WriteProcessMemory
sub esp, 0x14
lea eax, [ebp - 0x1a4]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 2
mov dword [esp + 8], 0x442150
mov eax, dword [ebp - 0x1a0]
add eax, 0x34fde8
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x120]
mov dword [esp], eax
call sub.KERNEL32.dll_WriteProcessMemory
sub esp, 0x14
cmp dword [ebp - 0x1a4], 0
jne 0x4020cf
mov dword [esp + 4], str._view_skills_failed
mov dword [esp], 0x4453d0
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 dword [esp + 4], method.std::basic_ostream_char__std::char_traits_char____std::endl_char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char____
mov dword [esp], eax
call method.std::ostream.operator___std::ostream____std::ostream__
lea eax, [ebp - 0x1a4]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0x4421e3
mov eax, dword [ebp - 0x1a0]
add eax, 0x28ecfe
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x120]
mov dword [esp], eax
call sub.KERNEL32.dll_WriteProcessMemory
sub esp, 0x14
lea eax, [ebp - 0x1a4]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0x44227d
mov eax, dword [ebp - 0x1a0]
add eax, 0x34fe26
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x120]
mov dword [esp], eax
call sub.KERNEL32.dll_WriteProcessMemory
sub esp, 0x14
cmp dword [ebp - 0x1a4], 0
jne 0x40228e
mov dword [esp + 4], str._view_cooldowns_failed
mov dword [esp], 0x4453d0
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 dword [esp + 4], method.std::basic_ostream_char__std::char_traits_char____std::endl_char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char____
mov dword [esp], eax
call method.std::ostream.operator___std::ostream____std::ostream__
jmp 0x40228e
lea eax, [ebp - 0x1a4]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 6
mov dword [esp + 8], 0x44229a
mov eax, dword [ebp - 0x1a0]
add eax, 0x2031ec
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x120]
mov dword [esp], eax
call sub.KERNEL32.dll_WriteProcessMemory
sub esp, 0x14
lea eax, [ebp - 0x1a4]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 2
mov dword [esp + 8], 0x4422a1
mov eax, dword [ebp - 0x1a0]
add eax, 0x34fde8
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x120]
mov dword [esp], eax
call sub.KERNEL32.dll_WriteProcessMemory
sub esp, 0x14
lea eax, [ebp - 0x1a4]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0x4422a4
mov eax, dword [ebp - 0x1a0]
add eax, 0x28ecfe
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x120]
mov dword [esp], eax
call sub.KERNEL32.dll_WriteProcessMemory
sub esp, 0x14
lea eax, [ebp - 0x1a4]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0x4422a6
mov eax, dword [ebp - 0x1a0]
add eax, 0x34fe26
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x120]
mov dword [esp], eax
call sub.KERNEL32.dll_WriteProcessMemory
sub esp, 0x14
cmp dword [ebp - 0x1a4], 0
jne 0x40228e
mov dword [esp + 4], str._reveal_units_on_Mainmap_failed.
mov dword [esp], 0x4453d0
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 dword [esp + 4], method.std::basic_ostream_char__std::char_traits_char____std::endl_char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char____
mov dword [esp], eax
call method.std::ostream.operator___std::ostream____std::ostream__
movzx eax, byte [ebp - 0x113]
cmp eax, 1
jne 0x402348
lea eax, [ebp - 0x1a4]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 6
mov dword [esp + 8], 0x4422ab
mov eax, dword [ebp - 0x1a0]
add eax, 0x34e8e2
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x120]
mov dword [esp], eax
call sub.KERNEL32.dll_WriteProcessMemory
sub esp, 0x14
lea eax, [ebp - 0x1a4]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 6
mov dword [esp + 8], 0x4422b2
mov eax, dword [ebp - 0x1a0]
add eax, 0x34e8ea
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x120]
mov dword [esp], eax
call sub.KERNEL32.dll_WriteProcessMemory
sub esp, 0x14
cmp dword [ebp - 0x1a4], 0
jne 0x4023e9
mov dword [esp + 4], str._tradehack_failed
mov dword [esp], 0x4453d0
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 dword [esp + 4], method.std::basic_ostream_char__std::char_traits_char____std::endl_char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char____
mov dword [esp], eax
call method.std::ostream.operator___std::ostream____std::ostream__
jmp 0x4023e9
lea eax, [ebp - 0x1a4]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 6
mov dword [esp + 8], 0x4422cc
mov eax, dword [ebp - 0x1a0]
add eax, 0x34e8e2
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x120]
mov dword [esp], eax
call sub.KERNEL32.dll_WriteProcessMemory
sub esp, 0x14
lea eax, [ebp - 0x1a4]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 6
mov dword [esp + 8], 0x4422d3
mov eax, dword [ebp - 0x1a0]
add eax, 0x34e8ea
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x120]
mov dword [esp], eax
call sub.KERNEL32.dll_WriteProcessMemory
sub esp, 0x14
cmp dword [ebp - 0x1a4], 0
jne 0x4023e9
mov dword [esp + 4], str._reveal_units_on_Mainmap_failed.
mov dword [esp], 0x4453d0
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 dword [esp + 4], method.std::basic_ostream_char__std::char_traits_char____std::endl_char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char____
mov dword [esp], eax
call method.std::ostream.operator___std::ostream____std::ostream__
movzx eax, byte [ebp - 0x116]
cmp eax, 1
jne 0x402540
mov eax, 0x44ce4000
mov dword [ebp - 0x1ac], eax
mov dword [ebp - 0x1b0], 0x9485bc
lea eax, [ebp - 0x124]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 4
mov dword [esp + 8], 4
mov eax, dword [ebp - 0x1b0]
add eax, dword [ebp - 0x1a0]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x120]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtectEx
sub esp, 0x14
lea eax, [ebp - 0x1a4]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 4
lea eax, [ebp - 0x1ac]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x1b0]
add eax, dword [ebp - 0x1a0]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x120]
mov dword [esp], eax
call sub.KERNEL32.dll_WriteProcessMemory
sub esp, 0x14
mov dword [esp + 0x10], 0
mov eax, dword [ebp - 0x124]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 4
mov eax, dword [ebp - 0x1b0]
add eax, dword [ebp - 0x1a0]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x120]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtectEx
sub esp, 0x14
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x21
mov dword [esp + 4], 0x104
mov eax, dword [ebp - 0x19c]
mov dword [esp], eax
call sub.USER32.dll_PostMessageA
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x22
mov dword [esp + 4], 0x104
mov eax, dword [ebp - 0x19c]
mov dword [esp], eax
call sub.USER32.dll_PostMessageA
sub esp, 0x10
cmp dword [ebp - 0x1a4], 0
jne 0x402540
mov dword [esp + 4], str._reveal_units_on_Mainmap_failed.
mov dword [esp], 0x4453d0
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 dword [esp + 4], method.std::basic_ostream_char__std::char_traits_char____std::endl_char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char____
mov dword [esp], eax
call method.std::ostream.operator___std::ostream____std::ostream__
movzx eax, byte [ebp - 0x114]
cmp eax, 1
jne 0x402697
mov eax, 0x43fa0000
mov dword [ebp - 0x1ac], eax
mov dword [ebp - 0x1b0], 0x9485bc
lea eax, [ebp - 0x124]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 4
mov dword [esp + 8], 4
mov eax, dword [ebp - 0x1b0]
add eax, dword [ebp - 0x1a0]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x120]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtectEx
sub esp, 0x14
lea eax, [ebp - 0x1a4]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 4
lea eax, [ebp - 0x1ac]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x1b0]
add eax, dword [ebp - 0x1a0]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x120]
mov dword [esp], eax
call sub.KERNEL32.dll_WriteProcessMemory
sub esp, 0x14
mov dword [esp + 0x10], 0
mov eax, dword [ebp - 0x124]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 4
mov eax, dword [ebp - 0x1b0]
add eax, dword [ebp - 0x1a0]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x120]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtectEx
sub esp, 0x14
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x21
mov dword [esp + 4], 0x104
mov eax, dword [ebp - 0x19c]
mov dword [esp], eax
call sub.USER32.dll_PostMessageA
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x22
mov dword [esp + 4], 0x104
mov eax, dword [ebp - 0x19c]
mov dword [esp], eax
call sub.USER32.dll_PostMessageA
sub esp, 0x10
cmp dword [ebp - 0x1a4], 0
jne 0x402697
mov dword [esp + 4], str._reveal_units_on_Mainmap_failed.
mov dword [esp], 0x4453d0
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 dword [esp + 4], method.std::basic_ostream_char__std::char_traits_char____std::endl_char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char____
mov dword [esp], eax
call method.std::ostream.operator___std::ostream____std::ostream__
movzx eax, byte [ebp - 0x115]
cmp eax, 1
jne 0x4027ee
mov eax, 0x447a0000
mov dword [ebp - 0x1ac], eax
mov dword [ebp - 0x1b0], 0x9485bc
lea eax, [ebp - 0x124]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 4
mov dword [esp + 8], 4
mov eax, dword [ebp - 0x1b0]
add eax, dword [ebp - 0x1a0]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x120]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtectEx
sub esp, 0x14
lea eax, [ebp - 0x1a4]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 4
lea eax, [ebp - 0x1ac]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x1b0]
add eax, dword [ebp - 0x1a0]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x120]
mov dword [esp], eax
call sub.KERNEL32.dll_WriteProcessMemory
sub esp, 0x14
mov dword [esp + 0x10], 0
mov eax, dword [ebp - 0x124]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 4
mov eax, dword [ebp - 0x1b0]
add eax, dword [ebp - 0x1a0]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x120]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtectEx
sub esp, 0x14
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x21
mov dword [esp + 4], 0x104
mov eax, dword [ebp - 0x19c]
mov dword [esp], eax
call sub.USER32.dll_PostMessageA
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x22
mov dword [esp + 4], 0x104
mov eax, dword [ebp - 0x19c]
mov dword [esp], eax
call sub.USER32.dll_PostMessageA
sub esp, 0x10
cmp dword [ebp - 0x1a4], 0
jne 0x4027ee
mov dword [esp + 4], str._reveal_units_on_Mainmap_failed.
mov dword [esp], 0x4453d0
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 dword [esp + 4], method.std::basic_ostream_char__std::char_traits_char____std::endl_char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char____
mov dword [esp], eax
call method.std::ostream.operator___std::ostream____std::ostream__
movzx eax, byte [ebp - 0x117]
cmp eax, 1
jne 0x402945
mov eax, 0x45066000
mov dword [ebp - 0x1ac], eax
mov dword [ebp - 0x1b0], 0x9485bc
lea eax, [ebp - 0x124]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 4
mov dword [esp + 8], 4
mov eax, dword [ebp - 0x1b0]
add eax, dword [ebp - 0x1a0]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x120]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtectEx
sub esp, 0x14
lea eax, [ebp - 0x1a4]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 4
lea eax, [ebp - 0x1ac]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x1b0]
add eax, dword [ebp - 0x1a0]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x120]
mov dword [esp], eax
call sub.KERNEL32.dll_WriteProcessMemory
sub esp, 0x14
mov dword [esp + 0x10], 0
mov eax, dword [ebp - 0x124]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 4
mov eax, dword [ebp - 0x1b0]
add eax, dword [ebp - 0x1a0]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x120]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtectEx
sub esp, 0x14
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x21
mov dword [esp + 4], 0x104
mov eax, dword [ebp - 0x19c]
mov dword [esp], eax
call sub.USER32.dll_PostMessageA
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x22
mov dword [esp + 4], 0x104
mov eax, dword [ebp - 0x19c]
mov dword [esp], eax
call sub.USER32.dll_PostMessageA
sub esp, 0x10
cmp dword [ebp - 0x1a4], 0
jne 0x402945
mov dword [esp + 4], str._reveal_units_on_Mainmap_failed.
mov dword [esp], 0x4453d0
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 dword [esp + 4], method.std::basic_ostream_char__std::char_traits_char____std::endl_char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char____
mov dword [esp], eax
call method.std::ostream.operator___std::ostream____std::ostream__
movzx eax, byte [ebp - 0x118]
cmp eax, 1
jne 0x402a9c
mov eax, 0x451c4000
mov dword [ebp - 0x1ac], eax
mov dword [ebp - 0x1b0], 0x9485bc
lea eax, [ebp - 0x124]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 4
mov dword [esp + 8], 4
mov eax, dword [ebp - 0x1b0]
add eax, dword [ebp - 0x1a0]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x120]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtectEx
sub esp, 0x14
lea eax, [ebp - 0x1a4]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 4
lea eax, [ebp - 0x1ac]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x1b0]
add eax, dword [ebp - 0x1a0]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x120]
mov dword [esp], eax
call sub.KERNEL32.dll_WriteProcessMemory
sub esp, 0x14
mov dword [esp + 0x10], 0
mov eax, dword [ebp - 0x124]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 4
mov eax, dword [ebp - 0x1b0]
add eax, dword [ebp - 0x1a0]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x120]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtectEx
sub esp, 0x14
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x21
mov dword [esp + 4], 0x104
mov eax, dword [ebp - 0x19c]
mov dword [esp], eax
call sub.USER32.dll_PostMessageA
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x22
mov dword [esp + 4], 0x104
mov eax, dword [ebp - 0x19c]
mov dword [esp], eax
call sub.USER32.dll_PostMessageA
sub esp, 0x10
cmp dword [ebp - 0x1a4], 0
jne 0x402a9c
mov dword [esp + 4], str._reveal_units_on_Mainmap_failed.
mov dword [esp], 0x4453d0
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 dword [esp + 4], method.std::basic_ostream_char__std::char_traits_char____std::endl_char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char____
mov dword [esp], eax
call method.std::ostream.operator___std::ostream____std::ostream__
movzx eax, byte [ebp - 0x119]
cmp eax, 1
jne 0x402bf3
mov eax, 0x453b8000
mov dword [ebp - 0x1ac], eax
mov dword [ebp - 0x1b0], 0x9485bc
lea eax, [ebp - 0x124]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 4
mov dword [esp + 8], 4
mov eax, dword [ebp - 0x1b0]
add eax, dword [ebp - 0x1a0]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x120]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtectEx
sub esp, 0x14
lea eax, [ebp - 0x1a4]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 4
lea eax, [ebp - 0x1ac]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x1b0]
add eax, dword [ebp - 0x1a0]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x120]
mov dword [esp], eax
call sub.KERNEL32.dll_WriteProcessMemory
sub esp, 0x14
mov dword [esp + 0x10], 0
mov eax, dword [ebp - 0x124]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 4
mov eax, dword [ebp - 0x1b0]
add eax, dword [ebp - 0x1a0]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x120]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtectEx
sub esp, 0x14
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x21
mov dword [esp + 4], 0x104
mov eax, dword [ebp - 0x19c]
mov dword [esp], eax
call sub.USER32.dll_PostMessageA
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x22
mov dword [esp + 4], 0x104
mov eax, dword [ebp - 0x19c]
mov dword [esp], eax
call sub.USER32.dll_PostMessageA
sub esp, 0x10
cmp dword [ebp - 0x1a4], 0
jne 0x402bf3
mov dword [esp + 4], str._reveal_units_on_Mainmap_failed.
mov dword [esp], 0x4453d0
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 dword [esp + 4], method.std::basic_ostream_char__std::char_traits_char____std::endl_char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char____
mov dword [esp], eax
call method.std::ostream.operator___std::ostream____std::ostream__
movzx eax, byte [ebp - 0x11a]
cmp eax, 1
jne 0x402d4a
mov eax, 0x455ac000
mov dword [ebp - 0x1ac], eax
mov dword [ebp - 0x1b0], 0x9485bc
lea eax, [ebp - 0x124]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 4
mov dword [esp + 8], 4
mov eax, dword [ebp - 0x1b0]
add eax, dword [ebp - 0x1a0]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x120]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtectEx
sub esp, 0x14
lea eax, [ebp - 0x1a4]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 4
lea eax, [ebp - 0x1ac]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x1b0]
add eax, dword [ebp - 0x1a0]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x120]
mov dword [esp], eax
call sub.KERNEL32.dll_WriteProcessMemory
sub esp, 0x14
mov dword [esp + 0x10], 0
mov eax, dword [ebp - 0x124]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 4
mov eax, dword [ebp - 0x1b0]
add eax, dword [ebp - 0x1a0]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x120]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtectEx
sub esp, 0x14
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x21
mov dword [esp + 4], 0x104
mov eax, dword [ebp - 0x19c]
mov dword [esp], eax
call sub.USER32.dll_PostMessageA
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x22
mov dword [esp + 4], 0x104
mov eax, dword [ebp - 0x19c]
mov dword [esp], eax
call sub.USER32.dll_PostMessageA
sub esp, 0x10
cmp dword [ebp - 0x1a4], 0
jne 0x402d4a
mov dword [esp + 4], str._reveal_units_on_Mainmap_failed.
mov dword [esp], 0x4453d0
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 dword [esp + 4], method.std::basic_ostream_char__std::char_traits_char____std::endl_char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char____
mov dword [esp], eax
call method.std::ostream.operator___std::ostream____std::ostream__
mov eax, dword [ebp - 0x120]
mov dword [esp], eax
call sub.KERNEL32.dll_CloseHandle
sub esp, 4
mov dword [esp], 1
call sym._exit
mov dword [esp + 0xc], 0
mov dword [esp + 8], str.FunsDotA_Hack___:_
mov dword [esp + 4], str.Hack_was_not_successful
mov dword [esp], 0
call sub.USER32.dll_MessageBoxA
sub esp, 0x10
mov dword [esp], str.Pause
call sym._system
mov dword [esp], 0
call sym._exit