Function at 0x4e315e
Capabilities:
Terminate thread

Disassembly:
mov eax, 0x516859
call fcn.00484660
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x14], esi
mov dword [esi], 0x534240
mov eax, dword [esi + 0x114]
lea edi, [esi + 0x114]
test eax, eax
mov dword [ebp - 4], 0x11
je 0x4e31a5
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0x7d0
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
and dword [ebp - 0x10], 0
mov byte [ebp - 4], 0x12
call sub.MFC42.DLL_AfxGetAppModuleState
mov eax, dword [eax + 4]
lea edx, [ebp - 0x10]
push edx
push 0x51ab68
mov eax, dword [eax + 0xd4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test eax, eax
jne 0x4e31e8
mov edi, dword [ebp - 0x10]
test edi, edi
je 0x4e31e8
mov ebx, dword [edi]
push 0x51ab48
mov ecx, esi
call sub.MFC42.DLL_CCmdTarget::GetInterface
push eax
push edi
call dword [ebx + 0x2c]
mov eax, dword [esi + 0xd4]
mov edi, dword [sym.imp.USER32.dll_DestroyIcon]
test eax, eax
je 0x4e31fb
push eax
call edi
mov eax, dword [esi + 0xd8]
test eax, eax
je 0x4e3208
push eax
call edi
mov eax, dword [esi + 0xdc]
test eax, eax
je 0x4e3215
push eax
call edi
mov eax, dword [esi + 0xe0]
test eax, eax
je 0x4e3222
push eax
call edi
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 0x11
test eax, eax
je 0x4e3233
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esi + 0x5bc]
mov byte [ebp - 4], 0x10
call sub.MFC42.DLL_CToolTipCtrl::CToolTipCtrl
lea ecx, [esi + 0x5a4]
mov byte [ebp - 4], 0xf
call fcn.004e5f93
mov eax, dword [esi + 0x5a0]
mov byte [ebp - 4], 0xe
test eax, eax
je 0x4e3265
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esi + 0x598]
mov byte [ebp - 4], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x590]
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x58c]
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x588]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x11c]
mov byte [ebp - 4], 9
call dword [sym.imp.QQBaseClassInDll.dll_public_virtual:_void___thiscall_CQQShowWnd::destructor_void_]
lea ecx, [esi + 0x110]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::CString
lea edi, [esi + 0x108]
mov byte [ebp - 4], 7
mov dword [ebp - 0x10], edi
mov dword [edi], 0x534314
mov byte [ebp - 4], 7
mov dword [edi], 0x53111c
mov ecx, edi
mov byte [ebp - 4], 0x14
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ebx, 0x51c8ec
mov byte [ebp - 4], 7
mov dword [edi], ebx
lea ecx, [esi + 0xf4]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0xf0]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0xec]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x94]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CWnd::CWnd
lea edi, [esi + 0x88]
mov byte [ebp - 4], 2
mov dword [ebp - 0x10], edi
mov dword [edi], 0x531108
mov byte [ebp - 4], 2
mov dword [edi], 0x53111c
mov ecx, edi
mov byte [ebp - 4], 0x16
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov byte [ebp - 4], 2
mov dword [edi], ebx
lea ecx, [esi + 0x5c]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
and byte [ebp - 4], 0
push 0x10
lea eax, [esi + 0x40]
push 0
push eax
call sub.MSVCRT.dll_memset
or dword [ebp - 4], 0xffffffff
add esp, 0xc
mov ecx, esi
call sub.MFC42.DLL_CWnd::CWnd
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret