Function at 0x401c45
Capabilities:
Execute command
Set registry value

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x88
mov dword [ebp - 0x64], sym.___gxx_personality_sj0
mov dword [ebp - 0x60], 0x48048a
lea eax, [ebp - 0x5c]
lea ebx, [ebp - 0x18]
mov dword [eax], ebx
mov edx, 0x4020b3
mov dword [eax + 4], edx
mov dword [eax + 8], esp
lea eax, [ebp - 0x7c]
mov dword [esp], eax
call dbg._Unwind_SjLj_Register
call dbg.__main
mov dword [ebp - 0x78], 0xffffffff
call sym.get_androidemulatorex__
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jg 0x401edf
mov dword [esp + 4], str.___Starting_Emulator.
mov dword [esp], 0x488140
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
lea eax, [ebp - 0x27]
mov ecx, eax
call fcn.00448580
lea eax, [ebp - 0x2c]
lea edx, [ebp - 0x27]
mov dword [esp + 4], edx
mov dword [esp], str.SoftwareWOW6432NodeTencentMobileGamePCUI
mov dword [ebp - 0x78], 1
mov ecx, eax
call sym.std::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_char_const__std::allocator_char__const_
sub esp, 8
lea eax, [ebp - 0x27]
mov ecx, eax
call sym.std::allocator_char_::allocator__
lea eax, [ebp - 0x26]
mov ecx, eax
call fcn.00448580
lea eax, [ebp - 0x30]
lea edx, [ebp - 0x26]
mov dword [esp + 4], edx
mov dword [esp], str.InstallPath
mov dword [ebp - 0x78], 2
mov ecx, eax
call sym.std::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_char_const__std::allocator_char__const_
sub esp, 8
lea eax, [ebp - 0x26]
mov ecx, eax
call sym.std::allocator_char_::allocator__
lea eax, [ebp - 0x34]
lea edx, [ebp - 0x30]
mov dword [esp + 0xc], edx
lea edx, [ebp - 0x2c]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x80000002
mov dword [esp], eax
mov dword [ebp - 0x78], 3
call sym.getRegistryValue_HKEY____std::string_const__std::string_const_
lea eax, [ebp - 0x34]
mov ecx, eax
call method.std::string.empty___const
test al, al
je 0x401daf
mov dword [esp + 4], str.Install_path_not_found_in_registry.
mov dword [esp], 0x487fc0
mov dword [ebp - 0x78], 4
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 dword [ebp - 0x80], 1
mov dword [ebp - 0x84], 0
jmp 0x401e73
lea eax, [ebp - 0x38]
mov dword [esp + 8], str.AndroidEmulatorEn.exe
lea edx, [ebp - 0x34]
mov dword [esp + 4], edx
mov dword [esp], eax
mov dword [ebp - 0x78], 4
call method.std::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std.allocator_char____std::basic_string_char__std::char_traits_char___std::allocator_char____const__char_const_
lea eax, [ebp - 0x25]
mov ecx, eax
call fcn.00448580
lea eax, [ebp - 0x3c]
lea edx, [ebp - 0x25]
mov dword [esp + 4], edx
mov dword [esp], str._vm_100
mov dword [ebp - 0x78], 5
mov ecx, eax
call sym.std::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_char_const__std::allocator_char__const_
sub esp, 8
lea eax, [ebp - 0x25]
mov ecx, eax
call sym.std::allocator_char_::allocator__
lea eax, [ebp - 0x3c]
mov dword [esp + 4], eax
lea eax, [ebp - 0x38]
mov dword [esp], eax
mov dword [ebp - 0x78], 6
call sym.launchExecutableWithParams_std::string_const__std::string_const_
mov dword [esp + 4], str.___Waiting_For_Emulator_Loadded_Fully.
mov dword [esp], 0x488140
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 dword [esp], 0x59d8
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
lea eax, [ebp - 0x3c]
mov ecx, eax
call fcn.004547b0
lea eax, [ebp - 0x38]
mov ecx, eax
call fcn.004547b0
mov dword [ebp - 0x84], 1
lea eax, [ebp - 0x34]
mov ecx, eax
call fcn.004547b0
cmp dword [ebp - 0x84], 1
je 0x401e92
mov dword [ebp - 0x84], 0
jmp 0x401e9d
nop
mov dword [ebp - 0x84], 1
lea eax, [ebp - 0x30]
mov ecx, eax
call fcn.004547b0
cmp dword [ebp - 0x84], 1
je 0x401ebc
mov dword [ebp - 0x84], 0
jmp 0x401ec7
nop
mov dword [ebp - 0x84], 1
lea eax, [ebp - 0x2c]
mov ecx, eax
call fcn.004547b0
cmp dword [ebp - 0x84], 1
jne 0x4020a8
nop
mov dword [esp + 4], str.____Crash_Game...
mov dword [esp], 0x488140
mov dword [ebp - 0x78], 0xffffffff
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 dword [esp], str.adb_shell_am_force_stop_com.pubg.krmobile
call sym._system
mov dword [esp], 0x7d0
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
mov dword [esp + 4], str.___Starting_Game...
mov dword [esp], 0x488140
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 dword [esp], str.adb_shell_monkey__p_com.pubg.krmobile__c_android.intent.category.LAUNCHER_1
call sym._system
mov dword [esp], 0xbb8
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
call sym.get_aow__
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x40205d
mov dword [esp + 4], str.___Found_Game:
mov dword [esp], 0x488140
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
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
mov ecx, edx
call method.std::ostream.operator___int_
sub esp, 4
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 eax, dword [ebp - 0x20]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0x1f0fff
mov eax, dword [sym.imp.KERNEL32.dll_OpenProcess]
call eax
sub esp, 0xc
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x40202f
mov dword [esp], 0x3e8
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
mov dword [esp + 4], str.___Patching_Memory
mov dword [esp], 0x488140
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 eax, dword [ebp - 0x24]
mov dword [esp], eax
call sym.PatchMemory_void_
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
jmp 0x402089
mov dword [esp + 4], str.Failed_to_open_process.
mov dword [esp], 0x487fc0
mov dword [ebp - 0x78], 0xffffffff
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
jmp 0x402089
mov dword [esp + 4], str.Process_not_found.
mov dword [esp], 0x487fc0
mov dword [ebp - 0x78], 0xffffffff
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 dword [esp], 0x1388
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x78], 0xffffffff
call eax
sub esp, 4
mov dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x80], eax
jmp 0x402183
lea eax, [ebp - 0x7c]
mov dword [esp], eax
call sym.__Unwind_SjLj_Unregister
mov eax, dword [ebp - 0x80]
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret