Function at 0x46ca3b
Capabilities:
Accept command line arguments
Check if file exists
Check mutex and terminate process on windows
Check mutex on windows
Delete file
Print debug messages
Terminate process

Disassembly:
push 0x1a8
mov eax, 0x47be7b
call fcn.0046e4e4
mov esi, dword [ebp + 8]
mov dword [ebp - 0x19c], esi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x194], edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x120]
call fcn.0040bcb0
xor ebx, ebx
mov dword [ebp - 4], ebx
push ebx
push str.__debug
lea ecx, [ebp - 0x120]
call fcn.0040eec0
cmp eax, 0xffffffff
jne 0x46cac7
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], 7
xor eax, eax
mov word [ebp - 0x44], ax
push 0x485d1c
lea ecx, [ebp - 0x44]
call fcn.0040bf40
mov byte [ebp - 4], 1
lea eax, [ebp - 0x44]
push eax
call fcn.0045d5ea
pop ecx
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x44]
call fcn.0040bbd0
jmp 0x46cad6
push ebx
mov eax, str.debug
push eax
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp esi, 1
jle 0x46caf3
push str.stamp_record
push dword [edi + 4]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x46caf3
call sub.common.dll_void___cdecl_stamp_init_void_
push str.main_start
call sub.common.dll_void___cdecl_stamp_point_char_const__
pop ecx
call sub.common.dll_class_base::ILogger____cdecl_base::get_log_instance_void_
mov esi, eax
test esi, esi
je 0x46cb59
mov ecx, dword [esi]
mov edx, dword [ecx + 0x18]
push 3
mov ecx, esi
call edx
test al, al
je 0x46cb59
push 0x48bbc7
push 0x82b
push str.e:dailybuild_devwegame_clientcodesmain_tgp_daemon_src_tgp_daemon_main.cpp
push 3
push esi
lea ecx, [ebp - 0xd8]
call fcn.0043df1b
mov byte [ebp - 4], 2
push 0x48231d
push str._wegame_launch__step1_Main_start.
mov ecx, dword [eax + 0xc]
call fcn.0043dcb8
mov byte [ebp - 4], bl
lea ecx, [ebp - 0xd8]
call fcn.0043e231
xor edi, edi
inc edi
mov esi, dword [ebp - 0x19c]
cmp esi, edi
jl 0x46cca0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], bl
mov byte [ebp - 4], 3
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x120]
push eax
call sub.common.dll_bool___cdecl_ierd_tgp::common::u16to8_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
cmovae eax, dword [ebp - 0x2c]
push 0x10
push str._multi_launcher
push ebx
push dword [ebp - 0x1c]
push eax
call fcn.00440ea2
add esp, 0x1c
mov esi, eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], bl
push 0xa
push str.wegame.exe
lea ecx, [ebp - 0x44]
call fcn.00420e50
mov byte [ebp - 4], 4
call sub.common.dll_int___cdecl_ierd_tgp::util_client_info::get_client_id_void_
cmp eax, edi
jle 0x46cbf0
push 0xb
push str.wegamex.exe
lea ecx, [ebp - 0x44]
call fcn.00420e50
cmp esi, 0xffffffff
je 0x46cc83
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x4c], ebx
push 0xf
pop eax
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x5c], bl
mov byte [ebp - 4], 5
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], eax
mov byte [ebp - 0x74], bl
push 0xe
push str.multi_launcher
lea ecx, [ebp - 0x74]
call fcn.00420e50
mov byte [ebp - 4], 6
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x74]
push eax
call sub.common.dll_public:_static_bool___cdecl_ierd_tgp::common::Sys_wrapper::extract_op_from_cmd_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____
pop ecx
pop ecx
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x74]
call fcn.00420c80
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 0x10
cmovae eax, dword [ebp - 0x44]
push eax
call sub.common.dll_int___cdecl_ierd_tgp::util_multi_instance::get_process_count_char_const__
pop ecx
cmp eax, 0x14
jg 0x46cc77
push edi
call sub.common.dll_void___cdecl_ierd_tgp::util_multi_instance::set_same_client_type_multi_instance_bool_
pop ecx
call sub.common.dll_class_ierd_tgp::adapt_for_imports::qos::Qos____cdecl_ierd_tgp::adapt_for_imports::qos::get_qos_instance_void_
push edi
mov ecx, eax
call sub.common.dll_public:_void___thiscall_ierd_tgp::adapt_for_imports::qos::Qos::SetIsMultiInstance_bool_
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x5c]
call fcn.00420c80
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
call fcn.00420c80
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2c]
call fcn.00420c80
mov esi, dword [ebp - 0x19c]
push str._TGP_EXISTS_MUTEX_NAME_
lea eax, [ebp - 0xf0]
push eax
call sub.common.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_ierd_tgp::util_multi_instance::get_coexist_name_char_const__
pop ecx
pop ecx
mov byte [ebp - 4], 7
lea eax, [ebp - 0xf0]
cmp dword [ebp - 0xdc], 0x10
cmovae eax, dword [ebp - 0xf0]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call fcn.00461f63
mov byte [ebp - 0x196], al
lea ecx, [ebp - 0xf0]
cmp dword [ebp - 0xdc], 0x10
cmovae ecx, dword [ebp - 0xf0]
push ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0x1a8], eax
cmp byte [ebp - 0x196], 0
jne 0x46cdf6
test eax, eax
je 0x46cdf6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x46cdf6
push str.31F73356_9B60_4B52_9FF0_F27E3A9BBEC2
lea eax, [ebp - 0x5c]
push eax
call sub.common.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_ierd_tgp::util_multi_instance::get_coexist_name_char_const__
pop ecx
pop ecx
mov byte [ebp - 4], 8
lea eax, [ebp - 0x5c]
cmp dword [ebp - 0x48], 0x10
cmovae eax, dword [ebp - 0x5c]
push eax
push ebx
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenEventA]
mov esi, eax
test esi, esi
je 0x46cd6a
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
jmp 0x46cd70
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1a8]
push eax
call esi
call fcn.00462884
call sub.common.dll_class_base::ILogger____cdecl_base::get_log_instance_void_
mov esi, eax
test esi, esi
je 0x46cdd7
mov ecx, dword [esi]
mov edx, dword [ecx + 0x18]
push 5
mov ecx, esi
call edx
test al, al
je 0x46cdd7
push 0x48bbc7
push 0x853
push str.e:dailybuild_devwegame_clientcodesmain_tgp_daemon_src_tgp_daemon_main.cpp
push 5
push esi
lea ecx, [ebp - 0xd8]
call fcn.0043df1b
mov byte [ebp - 4], 9
push str._main__wegame_already_exist.
push ebx
push eax
call fcn.0043f4bb
add esp, 0xc
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xd8]
call fcn.0043e231
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x5c]
call fcn.00420c80
jmp 0x46daaf
call sub.common.dll_void___cdecl_ierd_tgp::net::client_helper::sync_proxy_settings_void_
cmp esi, edi
mov esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
jle 0x46ce5c
push 0x482394
mov eax, dword [ebp - 0x194]
push dword [eax + 4]
call esi
pop ecx
pop ecx
test eax, eax
jne 0x46ce22
push edi
call sub.common.dll_void___cdecl_ierd_tgp::common::enable_static_detail_log_bool_
pop ecx
push 0x482398
mov eax, dword [ebp - 0x194]
push dword [eax + 4]
call esi
pop ecx
pop ecx
test eax, eax
jne 0x46ce3f
push edi
call sub.common.dll_void___cdecl_ierd_tgp::common::enable_profile_on_bool_
pop ecx
push 0x48239c
mov eax, dword [ebp - 0x194]
push dword [eax + 4]
call esi
pop ecx
pop ecx
test eax, eax
jne 0x46ce5c
push edi
call sub.common.dll_void___cdecl_ierd_tgp::common::enable_offline_mode_on_bool_
pop ecx
cmp dword [ebp - 0x19c], 0
jle 0x46ce81
push 0x4821c8
mov eax, dword [ebp - 0x194]
push dword [eax]
call esi
pop ecx
pop ecx
test eax, eax
jne 0x46ce81
push edi
call sub.common.dll_void___cdecl_ierd_tgp::common::set_restart_after_update_bool_
pop ecx
push 0xf
pop esi
cmp dword [ebp - 0x19c], edi
jle 0x46cf34
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], esi
mov byte [ebp - 0x2c], bl
mov eax, dword [ebp - 0x194]
mov ecx, dword [eax + 4]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46ceab
sub ecx, edx
push ecx
mov eax, dword [ebp - 0x194]
push dword [eax + 4]
lea ecx, [ebp - 0x2c]
call fcn.00420e50
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
cmovae eax, dword [ebp - 0x2c]
push 4
push str.uin
push ebx
push dword [ebp - 0x1c]
push eax
call fcn.00440ea2
add esp, 0x14
cmp eax, 0xffffffff
je 0x46cf28
add eax, 4
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004500aa
mov byte [ebp - 4], 0xb
push 0xa
push ebx
push eax
call fcn.0046bd6a
push eax
call sub.common.dll_void___cdecl_ierd_tgp::common::set_quick_login_uin_unsigned_long_int_
add esp, 0x10
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x8c]
call fcn.00420c80
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2c]
call fcn.00420c80
mov eax, dword [ebp - 0x19c]
test eax, eax
jle 0x46d008
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], esi
mov byte [ebp - 0x2c], bl
mov eax, dword [ebp - 0x194]
mov ecx, dword [eax]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46cf5c
sub ecx, edx
push ecx
mov eax, dword [ebp - 0x194]
push dword [eax]
lea ecx, [ebp - 0x2c]
call fcn.00420e50
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
cmovae eax, dword [ebp - 0x2c]
push esi
push str.start_from_host
push ebx
push dword [ebp - 0x1c]
push eax
call fcn.00440ea2
add esp, 0x14
cmp eax, 0xffffffff
jne 0x46cfef
cmp dword [ebp - 0x19c], edi
jle 0x46cff6
mov eax, dword [ebp - 0x194]
mov ecx, dword [eax + 4]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46cfb1
sub ecx, edx
push ecx
mov eax, dword [ebp - 0x194]
push dword [eax + 4]
lea ecx, [ebp - 0x2c]
call fcn.00420e50
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
cmovae eax, dword [ebp - 0x2c]
push esi
push str.start_from_host
push ebx
push dword [ebp - 0x1c]
push eax
call fcn.00440ea2
add esp, 0x14
cmp eax, 0xffffffff
je 0x46cff6
push edi
call sub.common.dll_void___cdecl_ierd_tgp::common::set_start_from_host_bool_
pop ecx
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2c]
call fcn.00420c80
mov eax, dword [ebp - 0x19c]
cmp eax, edi
jle 0x46d108
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], esi
mov byte [ebp - 0x44], bl
mov esi, dword [ebp - 0x194]
mov ecx, dword [esi + 4]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46d02b
sub ecx, edx
push ecx
push dword [esi + 4]
lea ecx, [ebp - 0x44]
call fcn.00420e50
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 0x10
cmovae eax, dword [ebp - 0x44]
push 8
push 0x4823b8
push ebx
push dword [ebp - 0x34]
push eax
call fcn.00440ea2
add esp, 0x14
mov esi, eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], bl
push ebx
push 0x48bbc7
lea ecx, [ebp - 0x2c]
call fcn.00420e50
mov byte [ebp - 4], 0xe
cmp esi, 0xffffffff
je 0x46d0f0
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], bl
push 7
push str.offline
lea ecx, [ebp - 0x74]
call fcn.00420e50
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x74]
push eax
call sub.common.dll_public:_static_bool___cdecl_ierd_tgp::common::Sys_wrapper::extract_op_from_cmd_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____
pop ecx
pop ecx
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x74]
call fcn.00420c80
cmp dword [ebp - 0x1c], 0
je 0x46d0f0
push edi
call sub.common.dll_void___cdecl_ierd_tgp::common::enable_offline_mode_on_bool_
push ebx
lea eax, [ebp - 0x2c]
push eax
call fcn.004545a0
push edx
push eax
call sub.common.dll_void___cdecl_ierd_tgp::common::set_offline_login_account_unsigned_long_long_unsigned___int64__
add esp, 0x14
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x2c]
call fcn.00420c80
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x44]
call fcn.00420c80
mov byte [ebp - 0x195], bl
cmp dword [ebp - 0x19c], edi
jle 0x46d56a
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x8c]
call fcn.0040bcb0
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], bl
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x8c]
push eax
call sub.common.dll_bool___cdecl_ierd_tgp::common::u16to8_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 0x10
cmovae eax, dword [ebp - 0x44]
push 0xa
push str._launcher
push ebx
push dword [ebp - 0x34]
push eax
call fcn.00440ea2
add esp, 0x1c
mov dword [ebp - 0x1a4], eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], bl
push ebx
mov esi, 0x48bbc7
push esi
lea ecx, [ebp - 0x2c]
call fcn.00420e50
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x1a4]
cmp eax, 0xffffffff
je 0x46d4df
push 0xffffffffffffffff
add eax, 0xa
push eax
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x44]
call fcn.004500aa
mov byte [ebp - 4], 0x13
push eax
lea ecx, [ebp - 0x2c]
call fcn.004460a1
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x5c]
call fcn.00420c80
cmp dword [ebp - 0x1c], 0
je 0x46d483
push edi
call sub.common.dll_void___cdecl_ierd_tgp::common::set_game_launcher_flag_bool_
lea eax, [ebp - 0x2c]
push eax
call sub.common.dll_void___cdecl_ierd_tgp::common::set_game_launcher_msg_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____
pop ecx
pop ecx
lea ecx, [ebp - 0x190]
call fcn.00437600
mov byte [ebp - 4], 0x14
push ebx
lea ecx, [ebp - 0x6c]
call fcn.00434b60
mov byte [ebp - 4], 0x15
mov dword [ebp - 0x1a4], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], bl
mov byte [ebp - 4], 0x16
push edi
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x190]
call fcn.004377b0
test al, al
je 0x46d373
push 0x480180
lea ecx, [ebp - 0x6c]
call fcn.004358a0
test al, al
je 0x46d279
push 0x480180
lea ecx, [ebp - 0x6c]
call fcn.00435590
mov ecx, eax
call fcn.00435080
mov dword [ebp - 0x1a4], eax
jmp 0x46d2d7
call sub.common.dll_class_base::ILogger____cdecl_base::get_log_instance_void_
mov dword [ebp - 0x1a0], eax
test eax, eax
je 0x46d2d7
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
push 5
mov ecx, eax
call edx
test al, al
je 0x46d2d7
push esi
push 0x8a0
push str.e:dailybuild_devwegame_clientcodesmain_tgp_daemon_src_tgp_daemon_main.cpp
push 5
push dword [ebp - 0x1a0]
lea ecx, [ebp - 0xd8]
call fcn.0043df1b
mov byte [ebp - 4], 0x17
push str._Launcher_Command_line_game_id_not_find.
push ebx
push eax
call fcn.0043f4bb
add esp, 0xc
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0xd8]
call fcn.0043e231
push str.launcher_ver
lea ecx, [ebp - 0x6c]
call fcn.004358a0
test al, al
je 0x46d324
push str.launcher_ver
lea ecx, [ebp - 0x6c]
call fcn.00435590
lea ecx, [ebp - 0xa4]
push ecx
mov ecx, eax
call fcn.00434f50
mov byte [ebp - 4], 0x18
push eax
lea ecx, [ebp - 0x5c]
call fcn.004460a1
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0xa4]
call fcn.00420c80
jmp 0x46d3d1
call sub.common.dll_class_base::ILogger____cdecl_base::get_log_instance_void_
mov dword [ebp - 0x1a0], eax
test eax, eax
je 0x46d3d1
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
push 5
mov ecx, eax
call edx
test al, al
je 0x46d3d1
push esi
push 0x8a6
push str.e:dailybuild_devwegame_clientcodesmain_tgp_daemon_src_tgp_daemon_main.cpp
push 5
push dword [ebp - 0x1a0]
lea ecx, [ebp - 0xd8]
call fcn.0043df1b
mov byte [ebp - 4], 0x19
push str._Launcher_Command_line_version_not_find.
jmp 0x46d3b8
call sub.common.dll_class_base::ILogger____cdecl_base::get_log_instance_void_
mov dword [ebp - 0x1a0], eax
test eax, eax
je 0x46d3d1
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
push 5
mov ecx, eax
call edx
test al, al
je 0x46d3d1
push esi
push 0x8a9
push str.e:dailybuild_devwegame_clientcodesmain_tgp_daemon_src_tgp_daemon_main.cpp
push 5
push dword [ebp - 0x1a0]
lea ecx, [ebp - 0xd8]
call fcn.0043df1b
mov byte [ebp - 4], 0x1a
push str._Launcher_Parser_launcher_command_json_fail.
push ebx
push eax
call fcn.0043f4bb
add esp, 0xc
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0xd8]
call fcn.0043e231
call sub.common.dll_class_base::ILogger____cdecl_base::get_log_instance_void_
mov dword [ebp - 0x1a0], eax
test eax, eax
je 0x46d439
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
push edi
mov ecx, eax
call edx
test al, al
je 0x46d439
push esi
push 0x8ac
push str.e:dailybuild_devwegame_clientcodesmain_tgp_daemon_src_tgp_daemon_main.cpp
push edi
push dword [ebp - 0x1a0]
lea ecx, [ebp - 0xd8]
call fcn.0043df1b
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
cmovae ecx, dword [ebp - 0x2c]
push ecx
push str._Launcher_Launcher_info:__s
push ebx
push eax
call fcn.0043f4bb
add esp, 0x10
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0xd8]
call fcn.0043e231
call sub.common.dll_class_ierd_tgp::adapt_for_imports::qos::Qos____cdecl_ierd_tgp::adapt_for_imports::qos::get_qos_instance_void_
push ebx
push dword [ebp - 0x1a4]
lea ecx, [ebp - 0x5c]
push ecx
mov ecx, eax
call sub.common.dll_public:_void___thiscall_ierd_tgp::adapt_for_imports::qos::Qos::set_launcher_info_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____unsigned_long_long_unsigned___int64__
mov byte [ebp - 0x195], 1
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x5c]
call fcn.00420c80
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x6c]
call fcn.00434e00
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x190]
call fcn.0043a160
jmp 0x46d534
call sub.common.dll_class_base::ILogger____cdecl_base::get_log_instance_void_
mov edi, eax
test edi, edi
je 0x46d534
mov ecx, dword [edi]
mov edx, dword [ecx + 0x18]
push 5
mov ecx, edi
call edx
test al, al
je 0x46d534
push esi
push 0x8b2
push str.e:dailybuild_devwegame_clientcodesmain_tgp_daemon_src_tgp_daemon_main.cpp
push 5
push edi
lea ecx, [ebp - 0xd8]
call fcn.0043df1b
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
cmovae ecx, dword [ebp - 0x2c]
push ecx
push str._Launcher_Launcher_parser_fail:__s
push ebx
push eax
call fcn.0043f4bb
add esp, 0x10
jmp 0x46d525
call sub.common.dll_class_base::ILogger____cdecl_base::get_log_instance_void_
mov edi, eax
test edi, edi
je 0x46d534
mov ecx, dword [edi]
mov edx, dword [ecx + 0x18]
push 1
mov ecx, edi
call edx
test al, al
je 0x46d534
push esi
push 0x8b5
push str.e:dailybuild_devwegame_clientcodesmain_tgp_daemon_src_tgp_daemon_main.cpp
push 1
push edi
lea ecx, [ebp - 0xd8]
call fcn.0043df1b
mov byte [ebp - 4], 0x1d
push str._Launcher_No_launcher_info.
push ebx
push eax
call fcn.0043f4bb
add esp, 0xc
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0xd8]
call fcn.0043e231
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x2c]
call fcn.00420c80
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x44]
call fcn.00420c80
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x8c]
call fcn.0040bbd0
cmp byte [ebp - 0x195], 0
jne 0x46d608
jmp 0x46d56f
mov esi, 0x48bbc7
call sub.common.dll_bool___cdecl_ierd_tgp::common::is_offline_mode_on_void_
test al, al
jne 0x46d608
lea eax, [ebp - 0x5c]
push eax
call fcn.0046324e
pop ecx
mov byte [ebp - 4], 0x1e
cmp dword [ebp - 0x4c], 0
je 0x46d5fc
push 1
call sub.common.dll_void___cdecl_ierd_tgp::common::set_game_launcher_flag_bool_
lea eax, [ebp - 0x5c]
push eax
call sub.common.dll_void___cdecl_ierd_tgp::common::set_game_launcher_msg_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____
pop ecx
pop ecx
call fcn.0045e497
call sub.common.dll_class_base::ILogger____cdecl_base::get_log_instance_void_
mov edi, eax
test edi, edi
je 0x46d5fc
mov ecx, dword [edi]
mov edx, dword [ecx + 0x18]
push 2
mov ecx, edi
call edx
test al, al
je 0x46d5fc
push esi
push 0x8c1
push str.e:dailybuild_devwegame_clientcodesmain_tgp_daemon_src_tgp_daemon_main.cpp
push 2
push edi
lea ecx, [ebp - 0xd8]
call fcn.0043df1b
mov byte [ebp - 4], 0x1f
push str._main_get_and_set_cmd_info_from_cmd_start_info_successfully
push ebx
push eax
call fcn.0043f4bb
add esp, 0xc
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0xd8]
call fcn.0043e231
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x5c]
call fcn.00420c80
call sub.common.dll_bool___cdecl_ierd_tgp::util_multi_instance::IsSubWegameProcess_void_
test al, al
jne 0x46d616
call fcn.004651fb
push str.delete_qb_cookies.txt
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call edi
test eax, eax
je 0x46d637
call fcn.0045fefb
push str.delete_qb_cookies.txt
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0xa4]
push eax
call fcn.00461579
mov byte [ebp - 4], 0x20
mov dword [esp], str.clean_cache_flag.dat
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.00421330
add esp, 0xc
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0xa4]
call fcn.0040bbd0
lea eax, [ebp - 0x108]
cmp dword [ebp - 0xf4], 8
cmovae eax, dword [ebp - 0x108]
push eax
call edi
test eax, eax
je 0x46d6fd
call sub.common.dll_class_base::ILogger____cdecl_base::get_log_instance_void_
mov edi, eax
test edi, edi
je 0x46d6dd
mov ecx, dword [edi]
mov edx, dword [ecx + 0x18]
push 5
mov ecx, edi
call edx
test al, al
je 0x46d6dd
push esi
push 0x8d1
push str.e:dailybuild_devwegame_clientcodesmain_tgp_daemon_src_tgp_daemon_main.cpp
push 5
push edi
lea ecx, [ebp - 0xd8]
call fcn.0043df1b
mov byte [ebp - 4], 0x23
push str._CleanCache__need_clean_page_cache.
push ebx
push eax
call fcn.0043f4bb
add esp, 0xc
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0xd8]
call fcn.0043e231
call fcn.0045e17a
lea eax, [ebp - 0x108]
cmp dword [ebp - 0xf4], 8
cmovae eax, dword [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [0x4a4010], 1
push dword [ebp - 0x194]
push dword [ebp - 0x19c]
call fcn.0046240d
pop ecx
pop ecx
test al, al
je 0x46d784
call sub.common.dll_class_ierd_tgp::adapt_for_imports::qos::Qos____cdecl_ierd_tgp::adapt_for_imports::qos::get_qos_instance_void_
push 5
mov ecx, eax
call sub.common.dll_public:_void___thiscall_ierd_tgp::adapt_for_imports::qos::Qos::SetCurrentStage_enum_ierd_tgp::adapt_for_imports::qos::ProcessStage_
call sub.common.dll_class_base::ILogger____cdecl_base::get_log_instance_void_
mov edi, eax
test edi, edi
je 0x46d784
mov ecx, dword [edi]
mov edx, dword [ecx + 0x18]
push 3
mov ecx, edi
call edx
test al, al
je 0x46d784
push esi
push 0x8d9
push str.e:dailybuild_devwegame_clientcodesmain_tgp_daemon_src_tgp_daemon_main.cpp
push 3
push edi
lea ecx, [ebp - 0xd8]
call fcn.0043df1b
mov byte [ebp - 4], 0x24
push 0x4825a1
push str._main_WeGame_is_in_tool_mode.
mov ecx, dword [eax + 0xc]
call fcn.0043dcb8
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0xd8]
call fcn.0043e231
mov byte [ebp - 4], 0x25
push 2
push ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [ebp - 0x1a0], eax
call sub.common.dll_class_base::ILogger____cdecl_base::get_log_instance_void_
mov edi, eax
test edi, edi
je 0x46d7f6
mov ecx, dword [edi]
mov edx, dword [ecx + 0x18]
push 5
mov ecx, edi
call edx
test al, al
je 0x46d7f6
push esi
push 0x8de
push str.e:dailybuild_devwegame_clientcodesmain_tgp_daemon_src_tgp_daemon_main.cpp
push 5
push edi
lea ecx, [ebp - 0x16c]
call fcn.0043df1b
mov byte [ebp - 4], 0x26
push dword [ebp - 0x1a0]
push str._Sys_wrapper_initialize_COM_library._Error_code___x
push ebx
push eax
call fcn.0043f4bb
add esp, 0x10
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0x16c]
call fcn.0043e231
mov edi, ebx
jmp 0x46d79e
mov byte [ebp - 4], 0x27
push str.ierd_tgp_daemon.exe
lea eax, [ebp - 0x5c]
push eax
call sub.common.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_ierd_tgp::util_multi_instance::get_coexist_name_char_const__
pop ecx
pop ecx
mov byte [ebp - 4], 0x28
lea eax, [ebp - 0x5c]
cmp dword [ebp - 0x48], 0x10
cmovae eax, dword [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x8c]
call fcn.00420cd0
mov byte [ebp - 4], 0x29
lea eax, [ebp - 0x8c]
push eax
push 0x12c
push 0x32
push 1
cmp byte [ebp - 0x196], 0
sete al
movzx eax, al
push eax
push dword [ebp - 0x194]
push dword [ebp - 0x19c]
lea ecx, [ebp - 0xbc]
call fcn.00459e8b
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0x8c]
call fcn.00420c80
call sub.common.dll_class_base::ILogger____cdecl_base::get_log_instance_void_
mov edi, eax
test edi, edi
je 0x46d8c3
mov ecx, dword [edi]
mov edx, dword [ecx + 0x18]
push 3
mov ecx, edi
call edx
test al, al
je 0x46d8c3
push esi
push 0x8e6
push str.e:dailybuild_devwegame_clientcodesmain_tgp_daemon_src_tgp_daemon_main.cpp
push 3
push edi
lea ecx, [ebp - 0x16c]
call fcn.0043df1b
mov byte [ebp - 4], 0x2c
push str._wegame_launch__step2_App_inited.
mov ecx, eax
call fcn.00469cf3
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0x16c]
call fcn.0043e231
mov edi, ebx
jmp 0x46d874
push str.app_inited
call sub.common.dll_void___cdecl_stamp_point_char_const__
pop ecx
call fcn.004631e1
call sub.common.dll_class_base::ILogger____cdecl_base::get_log_instance_void_
mov edi, eax
test edi, edi
je 0x46d92c
mov ecx, dword [edi]
mov edx, dword [ecx + 0x18]
push 3
mov ecx, edi
call edx
test al, al
je 0x46d92c
push esi
push 0x8ec
push str.e:dailybuild_devwegame_clientcodesmain_tgp_daemon_src_tgp_daemon_main.cpp
push 3
push edi
lea ecx, [ebp - 0x16c]
call fcn.0043df1b
mov byte [ebp - 4], 0x2d
push str.begin...
push ebx
push eax
call fcn.0043f4bb
add esp, 0xc
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0x16c]
call fcn.0043e231
mov edi, ebx
jmp 0x46d8da
lea ecx, [ebp - 0xbc]
call sub.common.dll_public:_void___thiscall_ierd_tgp::common::Application::process_void_
call sub.common.dll_class_base::ILogger____cdecl_base::get_log_instance_void_
mov edi, eax
test edi, edi
je 0x46d990
mov ecx, dword [edi]
mov edx, dword [ecx + 0x18]
push 3
mov ecx, edi
call edx
test al, al
je 0x46d990
push esi
push 0x8f2
push str.e:dailybuild_devwegame_clientcodesmain_tgp_daemon_src_tgp_daemon_main.cpp
push 3
push edi
lea ecx, [ebp - 0x16c]
call fcn.0043df1b
mov byte [ebp - 4], 0x2e
push str.normal_end.
push ebx
push eax
call fcn.0043f4bb
add esp, 0xc
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0x16c]
call fcn.0043e231
mov edi, ebx
jmp 0x46d93e
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0xbc]
call fcn.0045c36f
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x5c]
call fcn.00420c80
mov byte [ebp - 4], 0x25
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [ebp - 4], 0x22
jmp 0x46da69
call sub.common.dll_class_base::ILogger____cdecl_base::get_log_instance_void_
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x24]
call sub.common.dll_class_base::ILogger____cdecl_base::get_log_instance_void_
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 8]
mov eax, dword [ebp - 0x1a8]
test eax, eax
je 0x46da92
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x108]
call fcn.0040bbd0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0xf0]
call fcn.00420c80
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x120]
call fcn.0040bbd0
xor eax, eax
call fcn.0046e431
ret