Function at 0x401368
Capabilities:
Accept command line arguments
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1bd4
call fcn.00408bb0
mov eax, dword [0x40d008]
xor eax, esp
mov dword [esp + 0x1bd0], eax
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
push str.Command_Line:__s
push str.QQExternal
push 2
mov ebx, 0x409534
push ebx
push 0xd7
push str.file
call fcn.00403480
add esp, 0x1c
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push str.Start_Process:__d
push str.QQExternal
push 2
push ebx
push 0xd9
push str.file
call fcn.00403480
add esp, 0x1c
call dword [sym.imp.Common.dll_void___cdecl_TXLog::FlushLog_void_]
push 0x401085
push 0xea60
push 0x7b
push edi
call dword [sym.imp.USER32.dll_SetTimer]
lea ecx, [esp + 0x70]
call dword [sym.imp.AsyncTask.dll_public:_void___thiscall_AsyncTask::AtExitManager::constructor_void_]
push str.LogicalMyWing
lea ecx, [esp + 0xa0]
call dword [sym.imp.AsyncTask.dll_public:_void___thiscall_AsyncTask::Thread::constructor_char_const__]
mov eax, dword fs:[0x2c]
mov eax, dword [eax]
inc dword [eax + 4]
cmp dword [0x40d440], edi
jne 0x401440
push 0x40214e
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov ecx, esi
call fcn.00401f7d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
mov ebx, dword [eax]
mov dword [esp + 0x30], ebx
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___wargv]
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x409838
push str.CrossProcess
push 2
push 0x409534
push 0xef
push str.file
call fcn.00403480
add esp, 0x1c
lea ecx, [esp + 0xd0]
call dword [sym.imp.AsyncTask.dll_public:_void___thiscall_AsyncTask::MessageLoopForUI::constructor_void_]
lea eax, [esp + 0x68]
mov dword [esp + 0x68], edi
push eax
lea ecx, [esp + 0xa0]
mov dword [esp + 0x70], edi
call dword [sym.imp.AsyncTask.dll_public:_bool___thiscall_AsyncTask::Thread::StartWithOptions_struct_AsyncTask::Thread::Options_const__]
cmp dword [0x40d50c], edi
jne 0x4014f6
mov esi, 0x40d544
mov ecx, esi
call dword [sym.imp.AsyncTask.dll_public:_void___thiscall_AsyncTask::Lock::Acquire_void_]
cmp dword [0x40d50c], edi
jne 0x4014ee
push 8
call fcn.0040809c
pop ecx
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [0x40d50c], eax
cmp dword [0x40d50c], edi
je 0x4014ee
push edi
push 0x4033a3
call dword [sym.imp.AsyncTask.dll_public:_static_void___cdecl_AsyncTask::AtExitManager::RegisterCallback_void____cdecl___void____void__]
pop ecx
pop ecx
mov ecx, esi
call dword [sym.imp.AsyncTask.dll_public:_void___thiscall_AsyncTask::Lock::Release_void_]
mov ecx, dword [0x40d50c]
lea edx, [esp + 0xd0]
mov eax, dword [esp + 0xac]
mov dword [ecx + 4], eax
mov eax, edx
mov dword [ecx], edx
push dword [esp + 0xac]
push eax
call dword [sym.imp.Common.dll_void___cdecl_Util::Misc::SetMainAndLogicMsgLoop_class_AsyncTask::MessageLoopForUI___class_AsyncTask::MessageLoop__]
mov esi, dword [esp + 0xbc]
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push esi
push eax
call dword [sym.imp.Common.dll_void___cdecl_Util::Misc::SetMainAndLogicThreadId_unsigned_long_int__unsigned_long_int_]
pop ecx
pop ecx
cmp ebx, 2
jl 0x401776
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
push dword [esi + 4]
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_wchar_t__]
mov ebx, dword [sym.imp.Common.dll_bool___cdecl_operator_wchar_t_const___class_CTXStringW_const__]
lea eax, [esp + 0x18]
push eax
push str._SetupRegister
call ebx
pop ecx
pop ecx
test al, al
je 0x40160f
push 0x4098ac
mov ebx, str.CrossProcess
mov edx, 0xfe
push ebx
push ecx
push ecx
call fcn.0040377f
mov eax, dword [esp + 0x40]
add esp, 0x10
cmp eax, 2
jne 0x401598
call fcn.00404ace
jmp 0x4015a8
cmp eax, 3
jne 0x4015a8
mov ecx, dword [esi + 8]
xor edx, edx
inc edx
call fcn.00404b2b
push 0x4098d4
push ebx
push ecx
push ecx
mov edx, 0x10b
call fcn.0040377f
call dword [sym.imp.Common.dll_void___cdecl_Util::Misc::OnExitWinMain_void_]
push edi
push edi
call dword [sym.imp.Common.dll_void___cdecl_Util::Misc::SetMainAndLogicMsgLoop_class_AsyncTask::MessageLoopForUI___class_AsyncTask::MessageLoop__]
add esp, 0x18
call dword [sym.imp.Common.dll_void___cdecl_Util::Misc::ClearDeadQueue_void_]
push 0x7b
push edi
call dword [sym.imp.USER32.dll_KillTimer]
lea ecx, [esp + 0x18]
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
lea ecx, [esp + 0xd0]
call dword [sym.imp.AsyncTask.dll_public_virtual:_void___thiscall_AsyncTask::MessageLoopForUI::destructor_void_]
lea ecx, [esp + 0x9c]
call dword [sym.imp.AsyncTask.dll_public_virtual:_void___thiscall_AsyncTask::Thread::destructor_void_]
lea ecx, [esp + 0x70]
call dword [sym.imp.AsyncTask.dll_public:_void___thiscall_AsyncTask::AtExitManager::destructor_void_]
xor eax, eax
jmp 0x4017bf
lea eax, [esp + 0x18]
push eax
push str._SetupUnregister
call ebx
pop ecx
pop ecx
test al, al
je 0x401634
cmp dword [esp + 0x30], 3
jne 0x401634
mov ecx, dword [esi + 8]
xor edx, edx
call fcn.00404b2b
jmp 0x4015da
lea eax, [esp + 0x18]
push eax
push str._Preload
call ebx
mov ebx, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
pop ecx
pop ecx
test al, al
je 0x40168c
cmp dword [esp + 0x30], 2
jne 0x40168c
push 0x40993c
mov esi, str.CrossProcess
mov edx, 0x11a
push esi
push ecx
push ecx
call fcn.0040377f
add esp, 0x10
call fcn.0040108e
push 0x409958
push esi
push ecx
push ecx
mov edx, 0x11c
call fcn.0040377f
add esp, 0x10
jmp 0x401f46
push 0x40997c
push 6
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x24]
call dword [sym.imp.Common.dll_public:_class_CTXStringW___thiscall_CTXStringW::Left_int_]
push eax
call dword [sym.imp.Common.dll_bool___cdecl_operator_class_CTXStringW_const___wchar_t_const__]
pop ecx
pop ecx
lea ecx, [esp + 0x40]
mov byte [esp + 0x17], al
call ebx
cmp byte [esp + 0x17], 0
jne 0x4018bf
lea eax, [esp + 0x18]
push str._load
push eax
call dword [sym.imp.Common.dll_bool___cdecl_operator_class_CTXStringW_const___wchar_t_const__]
pop ecx
pop ecx
test al, al
je 0x4016e8
mov eax, dword [esp + 0x30]
cmp eax, 3
jl 0x4016e8
cmp eax, 0xa
jle 0x4018c3
push dword [esi + 4]
call fcn.004038c1
push str._ProcessMutex
push dword [esi + 4]
lea ecx, [esp + 0x44]
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_wchar_t__]
push eax
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.Common.dll_class_CTXStringW___cdecl_operator_class_CTXStringW_const___wchar_t_const__]
add esp, 0xc
lea ecx, [esp + 0x3c]
call ebx
lea ecx, [esp + 0x34]
call dword [sym.imp.Common.dll_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const]
push eax
push edi
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [esp + 0x3c], eax
test eax, eax
je 0x4017d6
push dword [esi + 4]
push str.error__
push str.CrossProcess
push 2
push 0x409534
push 0x1ce
push str.file
call fcn.00403480
add esp, 0x1c
push dword [esp + 0x3c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x34]
call ebx
lea ecx, [esp + 0x18]
call ebx
push str.Parameters_Error_
push str.CrossProcess
push ecx
push ecx
mov edx, 0x1f1
call fcn.0040377f
add esp, 0x10
push 0x7b
push edi
call dword [sym.imp.USER32.dll_KillTimer]
lea ecx, [esp + 0xd0]
call dword [sym.imp.AsyncTask.dll_public_virtual:_void___thiscall_AsyncTask::MessageLoopForUI::destructor_void_]
lea ecx, [esp + 0x9c]
call dword [sym.imp.AsyncTask.dll_public_virtual:_void___thiscall_AsyncTask::Thread::destructor_void_]
lea ecx, [esp + 0x70]
call dword [sym.imp.AsyncTask.dll_public:_void___thiscall_AsyncTask::AtExitManager::destructor_void_]
or eax, 0xffffffff
mov ecx, dword [esp + 0x1bdc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00407c04
mov esp, ebp
pop ebp
ret 0x10
push 0x40d468
push 0x401080
push dword [sym.imp.WININET.dll_InternetErrorDlg]
call dword [sym.imp.Common.dll_DetourFunctionWrapper]
add esp, 0xc
mov edx, 0x1d5
push 0x409b64
push str.CrossProcess
push ecx
push ecx
call fcn.0040377f
add esp, 0x10
lea ecx, [esp + 0x34]
call dword [sym.imp.Common.dll_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const]
push eax
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
lea ecx, [esp + 0xd0]
mov esi, eax
call dword [sym.imp.AsyncTask.dll_public:_void___thiscall_AsyncTask::MessageLoopForUI::Run_void_]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
call esi
push eax
push str.channel_no_stop
push str.CrossProcess
push 2
push 0x409534
push 0x1e3
push str.file
call fcn.00403480
add esp, 0x1c
call esi
push eax
push 0x409bc0
push str.CrossProcess
push 2
push 0x409534
push 0x1e5
push str.file
call fcn.00403480
add esp, 0x1c
call dword [sym.imp.Common.dll_void___cdecl_Util::Misc::OnExitWinMain_void_]
push edi
push edi
call dword [sym.imp.Common.dll_void___cdecl_Util::Misc::SetMainAndLogicMsgLoop_class_AsyncTask::MessageLoopForUI___class_AsyncTask::MessageLoop__]
call dword [sym.imp.Common.dll_void___cdecl_Util::Misc::ClearDeadQueue_void_]
push 0x401080
push dword [0x40d468]
call dword [sym.imp.Common.dll_DetourRemoveWrapper]
add esp, 0x10
push 0x7b
push edi
call dword [sym.imp.USER32.dll_KillTimer]
lea ecx, [esp + 0x34]
call ebx
jmp 0x401f46
mov eax, dword [esp + 0x30]
push eax
push 0x409998
push str.CrossProcess
push 2
push 0x409534
push 0x123
push str.file
call fcn.00403480
add esp, 0x1c
push edi
call dword [sym.imp.ole32.dll_OleInitialize]
push 0x208
lea eax, [esp + 0x1c4]
push edi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x1c0]
push 0x104
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x1c0]
push eax
lea ecx, [esp + 0x14]
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_wchar_t__]
push 0x409ff8
push 0x5c
pop eax
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.Common.dll_public:_int___thiscall_CTXStringW::ReverseFind_wchar_t_const]
push eax
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.Common.dll_public:_class_CTXStringW___thiscall_CTXStringW::Left_int_]
push eax
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.Common.dll_class_CTXStringW___cdecl_operator_class_CTXStringW_const___wchar_t_const__]
add esp, 0xc
lea ecx, [esp + 0x10]
push eax
call dword [sym.imp.Common.dll_public:_class_CTXStringW____thiscall_CTXStringW::operator_class_CTXStringW_const__]
lea ecx, [esp + 0x44]
call ebx
lea ecx, [esp + 0x48]
call ebx
cmp byte [esp + 0x17], 0
je 0x40199e
push 6
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.Common.dll_public:_class_CTXStringW___thiscall_CTXStringW::Mid_int_]
push eax
lea ecx, [esp + 0x14]
call dword [sym.imp.Common.dll_public:_class_CTXStringW____thiscall_CTXStringW::operator_class_CTXStringW_const__]
lea ecx, [esp + 0x4c]
call ebx
jmp 0x4019ab
push dword [esi + 8]
lea ecx, [esp + 0x14]
call dword [sym.imp.Common.dll_public:_class_CTXStringW____thiscall_CTXStringW::operator_wchar_t_const__]
lea ecx, [esp + 0x2c]
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_void_]
lea ecx, [esp + 0x2c]
call fcn.0040124b
test eax, eax
je 0x401f18
lea ecx, [esp + 0x2c]
call dword [sym.imp.Common.dll_public:_bool___thiscall_CTXStringW::IsEmpty_void_const]
test al, al
jne 0x401f18
mov esi, dword [sym.imp.Common.dll_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const]
lea ecx, [esp + 0x2c]
call esi
push eax
call dword [sym.imp.Common.dll_int___cdecl_Util::Misc::IsTencentTrusted_wchar_t_const__]
pop ecx
test eax, eax
jne 0x401a1f
lea ecx, [esp + 0x2c]
call esi
push eax
push str.parent___s__is_not_be_trusted
push str.QQExternal
push 2
push 0x409534
push 0x137
push str.file
call fcn.00403480
add esp, 0x1c
jmp 0x401f31
push edi
push 0x5c
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], edi
call dword [sym.imp.Common.dll_public:_int___thiscall_CTXStringW::Find_wchar_t__int_const]
cmp eax, 0xffffffff
je 0x401a89
lea ecx, [esp + 0x10]
call esi
push eax
call dword [sym.imp.Common.dll_int___cdecl_Util::Misc::IsTencentTrusted_wchar_t_const__]
pop ecx
lea ecx, [esp + 0x10]
test eax, eax
je 0x401a5e
call esi
push eax
call dword [sym.imp.Common.dll_struct_HINSTANCE______cdecl_Util::Sys::SafeLoadLibrary_wchar_t_const__]
pop ecx
mov dword [esp + 0x1c], eax
jmp 0x401e8f
call esi
push eax
push str.File___s__is_not_be_trusted
push str.QQExternal
push 2
push 0x409534
push 0x149
push str.file
call fcn.00403480
add esp, 0x1c
jmp 0x401e8f
lea ecx, [esp + 0x28]
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_void_]
lea ecx, [esp + 0x24]
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_void_]
lea ecx, [esp + 0x20]
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_void_]
push 0x804
lea eax, [esp + 0x3cc]
push edi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x3c8]
push 0x400
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x401b42
push 0x5c
pop ecx
cmp word [esp + eax*2 + 0x3c6], cx
je 0x401b05
mov word [esp + eax*2 + 0x3c8], cx
lea eax, [eax*2 + 2]
cmp eax, 0x804
jae 0x401f77
xor ecx, ecx
mov word [esp + eax + 0x3c8], cx
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x3cc]
push eax
lea ecx, [esp + 0x5c]
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_wchar_t__]
push eax
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.Common.dll_class_CTXStringW___cdecl_operator_class_CTXStringW_const___class_CTXStringW_const__]
add esp, 0xc
lea ecx, [esp + 0x28]
push eax
call dword [sym.imp.Common.dll_public:_class_CTXStringW____thiscall_CTXStringW::operator_class_CTXStringW_const__]
lea ecx, [esp + 0x50]
call ebx
lea ecx, [esp + 0x54]
call ebx
push 0x804
lea eax, [esp + 0xbd4]
push edi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0xbd0]
push 0x400
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x401bdd
push 0x5c
pop ecx
cmp word [esp + eax*2 + 0xbce], cx
je 0x401ba0
mov word [esp + eax*2 + 0xbd0], cx
lea eax, [eax*2 + 2]
cmp eax, 0x804
jae 0x401f77
xor ecx, ecx
mov word [esp + eax + 0xbd0], cx
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0xbd4]
push eax
lea ecx, [esp + 0x64]
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_wchar_t__]
push eax
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.Common.dll_class_CTXStringW___cdecl_operator_class_CTXStringW_const___class_CTXStringW_const__]
add esp, 0xc
lea ecx, [esp + 0x24]
push eax
call dword [sym.imp.Common.dll_public:_class_CTXStringW____thiscall_CTXStringW::operator_class_CTXStringW_const__]
lea ecx, [esp + 0x58]
call ebx
lea ecx, [esp + 0x5c]
call ebx
push 0x800
lea eax, [esp + 0x13dc]
push edi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x13d8]
push 0x400
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jle 0x401c83
cmp word [esp + eax*2 + 0x13d8], di
jne 0x401c16
dec eax
test eax, eax
jle 0x401c83
push eax
lea eax, [esp + 0x13dc]
push eax
lea ecx, [esp + 0x40]
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_wchar_t_const___int_]
push 0x5c
pop eax
push eax
lea ecx, [esp + 0x3c]
call dword [sym.imp.Common.dll_public:_int___thiscall_CTXStringW::ReverseFind_wchar_t_const]
cmp eax, 0xffffffff
je 0x401c7d
lea ecx, [esp + 0x10]
inc eax
push ecx
push eax
push edi
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x48]
call dword [sym.imp.Common.dll_public:_class_CTXStringW___thiscall_CTXStringW::Mid_int__int_]
push eax
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.Common.dll_class_CTXStringW___cdecl_operator_class_CTXStringW_const___class_CTXStringW_const__]
add esp, 0xc
lea ecx, [esp + 0x20]
push eax
call dword [sym.imp.Common.dll_public:_class_CTXStringW____thiscall_CTXStringW::operator_class_CTXStringW_const__]
lea ecx, [esp + 0x60]
call ebx
lea ecx, [esp + 0x64]
call ebx
lea ecx, [esp + 0x38]
call ebx
lea ecx, [esp + 0x28]
call dword [sym.imp.Common.dll_public:_bool___thiscall_CTXStringW::IsEmpty_void_const]
test al, al
jne 0x401cf8
lea ecx, [esp + 0x28]
call esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x401cf8
lea ecx, [esp + 0x28]
call esi
push eax
call dword [sym.imp.Common.dll_int___cdecl_Util::Misc::IsTencentTrusted_wchar_t_const__]
pop ecx
lea ecx, [esp + 0x28]
test eax, eax
je 0x401cc8
call esi
push eax
call dword [sym.imp.Common.dll_struct_HINSTANCE______cdecl_Util::Sys::SafeLoadLibrary_wchar_t_const__]
pop ecx
mov dword [esp + 0x1c], eax
jmp 0x401cf0
call esi
push eax
push str.File___s__is_not_be_trusted
push str.QQExternal
push 2
push 0x409534
push 0x18a
push str.file
call fcn.00403480
add esp, 0x1c
mov eax, edi
test eax, eax
jne 0x401e7d
lea ecx, [esp + 0x24]
call dword [sym.imp.Common.dll_public:_bool___thiscall_CTXStringW::IsEmpty_void_const]
test al, al
jne 0x401d6f
lea ecx, [esp + 0x24]
call esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x401d6f
lea ecx, [esp + 0x24]
call esi
push eax
call dword [sym.imp.Common.dll_int___cdecl_Util::Misc::IsTencentTrusted_wchar_t_const__]
pop ecx
lea ecx, [esp + 0x24]
test eax, eax
je 0x401d3d
call esi
push eax
call dword [sym.imp.Common.dll_struct_HINSTANCE______cdecl_Util::Sys::SafeLoadLibrary_wchar_t_const__]
pop ecx
mov dword [esp + 0x1c], eax
jmp 0x401d67
call esi
push eax
push str.File___s__is_not_be_trusted
push str.QQExternal
push 2
push 0x409534
push 0x195
push str.file
call fcn.00403480
mov eax, dword [esp + 0x38]
add esp, 0x1c
test eax, eax
jne 0x401e7d
lea ecx, [esp + 0x20]
call dword [sym.imp.Common.dll_public:_bool___thiscall_CTXStringW::IsEmpty_void_const]
test al, al
jne 0x401de6
lea ecx, [esp + 0x20]
call esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x401de6
lea ecx, [esp + 0x20]
call esi
push eax
call dword [sym.imp.Common.dll_int___cdecl_Util::Misc::IsTencentTrusted_wchar_t_const__]
pop ecx
lea ecx, [esp + 0x20]
test eax, eax
je 0x401db4
call esi
push eax
call dword [sym.imp.Common.dll_struct_HINSTANCE______cdecl_Util::Sys::SafeLoadLibrary_wchar_t_const__]
pop ecx
mov dword [esp + 0x1c], eax
jmp 0x401dde
call esi
push eax
push str.File___s__is_not_be_trusted
push str.QQExternal
push 2
push 0x409534
push 0x1a0
push str.file
call fcn.00403480
mov eax, dword [esp + 0x38]
add esp, 0x1c
test eax, eax
jne 0x401e7d
push str.load_fail_path_info:
push str.QQExternal
push ecx
push ecx
mov edx, 0x1a5
call fcn.0040377f
add esp, 0x10
lea ecx, [esp + 0x28]
call esi
push eax
push str.sys___s_
push str.QQExternal
push 2
push 0x409534
push 0x1a6
push str.file
call fcn.00403480
add esp, 0x1c
lea ecx, [esp + 0x24]
call esi
push eax
push str.windows___s_
push str.QQExternal
push 2
push 0x409534
push 0x1a7
push str.file
call fcn.00403480
add esp, 0x1c
lea ecx, [esp + 0x20]
call esi
push eax
push str.exe___s_
push str.QQExternal
push 2
push 0x409534
push 0x1a8
push str.file
call fcn.00403480
add esp, 0x1c
lea ecx, [esp + 0x20]
call ebx
lea ecx, [esp + 0x24]
call ebx
lea ecx, [esp + 0x28]
call ebx
call dword [sym.imp.Common.dll_void___cdecl_TXLog::FlushLog_void_]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x401f0d
push str.IPCServiceMain
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x401f0d
call eax
push dword [esp + 0x30]
mov esi, eax
push 0x409aec
push str.CrossProcess
push 2
push 0x409534
push 0x1bc
push str.file
call fcn.00403480
add esp, 0x1c
call dword [sym.imp.Common.dll_void___cdecl_Util::Misc::OnExitWinMain_void_]
push edi
push edi
call dword [sym.imp.Common.dll_void___cdecl_Util::Misc::SetMainAndLogicMsgLoop_class_AsyncTask::MessageLoopForUI___class_AsyncTask::MessageLoop__]
pop ecx
pop ecx
call dword [sym.imp.Common.dll_void___cdecl_Util::Misc::ClearDeadQueue_void_]
call dword [sym.imp.ole32.dll_OleUninitialize]
push 0x7b
push edi
call dword [sym.imp.USER32.dll_KillTimer]
lea ecx, [esp + 0x2c]
call ebx
lea ecx, [esp + 0x10]
call ebx
mov edi, esi
jmp 0x401f46
push 0x7b
push edi
call dword [sym.imp.USER32.dll_KillTimer]
jmp 0x401f37
push str.GetParentProcessPath_error
push str.QQExternal
push ecx
push ecx
mov edx, 0x131
call fcn.0040377f
add esp, 0x10
call dword [sym.imp.Common.dll_void___cdecl_TXLog::FlushLog_void_]
lea ecx, [esp + 0x2c]
call ebx
lea ecx, [esp + 0x10]
call ebx
or edi, 0xffffffff
lea ecx, [esp + 0x18]
call ebx
lea ecx, [esp + 0xd0]
call dword [sym.imp.AsyncTask.dll_public_virtual:_void___thiscall_AsyncTask::MessageLoopForUI::destructor_void_]
lea ecx, [esp + 0x9c]
call dword [sym.imp.AsyncTask.dll_public_virtual:_void___thiscall_AsyncTask::Thread::destructor_void_]
lea ecx, [esp + 0x70]
call dword [sym.imp.AsyncTask.dll_public:_void___thiscall_AsyncTask::AtExitManager::destructor_void_]
mov eax, edi
jmp 0x4017bf
call fcn.00407fc1
int3