Function at 0x416860
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x42f560
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.00416070
test eax, eax
jne 0x4168a8
push eax
push eax
push str.Load_Help_DLL_Failed
call sub.MFC42.DLL_AfxMessageBox_1
xor eax, eax
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
push 0x440a78
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x1c]
xor ebp, ebp
push eax
mov dword [esp + 0x38], ebp
call fcn.0042c810
add esp, 4
push str...QQGameAvatarShow.dll
lea ecx, [esp + 0x1c]
push eax
push ecx
mov byte [esp + 0x40], 1
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 2
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 0
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edx
call edi
cmp eax, ebp
mov dword [esi + 0xd94], eax
jne 0x41697a
lea eax, [esp + 0x24]
push eax
call fcn.0042c810
add esp, 4
push str.QQGameAvatarShow.dll
lea ecx, [esp + 0x24]
mov bl, 3
push eax
push ecx
mov byte [esp + 0x40], bl
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 4
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x20]
mov byte [esp + 0x34], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x34], 0
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x10]
push edx
call edi
mov dword [esi + 0xd94], eax
mov eax, dword [esi + 0xd94]
cmp eax, ebp
je 0x416ab6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CreateAvatarCtrl
push eax
call edi
mov dword [esi + 0xd78], eax
mov eax, dword [esi + 0xd94]
push str.CreateAvatarShowManager
push eax
call edi
mov ecx, dword [esi + 0xd94]
push str.AddAvatarInfo
push ecx
mov ebp, eax
call edi
mov edx, dword [esi + 0xd94]
push str.UpdateCtrl
push edx
mov dword [esi + 0xd7c], eax
call edi
mov dword [esi + 0xd80], eax
mov eax, dword [esi + 0xd94]
push str.ReleaseAvatarManager
push eax
call edi
mov ecx, dword [esi + 0xd94]
push str.SetRichInfoWndInfo
push ecx
mov dword [esi + 0xd90], eax
call edi
mov edx, dword [esi + 0xd94]
push str.SetRichInfoWndBKColor
push edx
mov dword [esi + 0xd84], eax
call edi
mov dword [esi + 0xd88], eax
mov eax, dword [esi + 0xd94]
push str.CreateAvatarRichInfoCtrl
push eax
call edi
mov ecx, dword [esi + 0xd78]
mov dword [esi + 0xd8c], eax
test ecx, ecx
je 0x416ab4
test ebp, ebp
je 0x416ab4
mov ecx, dword [esi + 0xd7c]
test ecx, ecx
je 0x416ab4
mov ecx, dword [esi + 0xd80]
test ecx, ecx
je 0x416ab4
mov ecx, dword [esi + 0xd90]
test ecx, ecx
je 0x416ab4
mov ecx, dword [esi + 0xd84]
test ecx, ecx
je 0x416ab4
mov ecx, dword [esi + 0xd88]
test ecx, ecx
je 0x416ab4
test eax, eax
je 0x416ab4
call ebp
test eax, eax
mov dword [esi + 0xd74], eax
je 0x416ab4
or ebp, 0xffffffff
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], ebp
call sub.MFC42.DLL_CString::CString
mov ecx, esi
call fcn.00416240
test eax, eax
jne 0x416b0d
push eax
push eax
push str.Load_Res_DLL_Failed
call sub.MFC42.DLL_AfxMessageBox_1
xor eax, eax
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
xor ebp, ebp
push ebp
push ebp
push 0x43c8f0
call sub.MFC42.DLL_AfxMessageBox_1
mov ecx, dword [esi + 0xd94]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 0x10]
mov dword [esi + 0xd74], ebp
mov dword [esi + 0xd94], ebp
mov dword [esp + 0x34], 0xffffffff
call sub.MFC42.DLL_CString::CString
push ebp
push ebp
push str.Load_QQShow_DLL_Failed
call sub.MFC42.DLL_AfxMessageBox_1
xor eax, eax
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
mov ecx, esi
call fcn.00416d60
test eax, eax
jne 0x416b39
push eax
push eax
push str.Load_Menu_Module_Failed
call sub.MFC42.DLL_AfxMessageBox_1
xor eax, eax
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_3
mov ebx, 5
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], ebx
call sub.MFC42.DLL_CString::Empty
push 0x104
push 0x104
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::GetBuffer
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push eax
push 0
call edi
push ebp
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::ReleaseBuffer
push 0x5c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::ReverseFind
inc eax
lea edx, [esp + 0x24]
push eax
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 6
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x24]
mov byte [esp + 0x34], bl
call sub.MFC42.DLL_CString::CString
push str.Dig.exe
lea ecx, [esp + 0x14]
call fcn.0042bae0
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x28]
push ecx
call fcn.0042cbdb
add esp, 8
push eax
lea ecx, [esi + 0x116c]
mov byte [esp + 0x38], 7
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x24]
mov byte [esp + 0x34], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], ebp
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_3
mov ebx, 8
lea ecx, [esp + 0x14]
mov dword [esp + 0x34], ebx
call sub.MFC42.DLL_CString::Empty
push 0x104
push 0x104
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0
call edi
push ebp
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::ReleaseBuffer
push 0x5c
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::ReverseFind
inc eax
push eax
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x18]
push edx
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 9
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x28]
mov byte [esp + 0x34], bl
call sub.MFC42.DLL_CString::CString
push str.Rank.ini
lea ecx, [esp + 0x18]
call fcn.0042bae0
lea edx, [esi + 0xde4]
mov ecx, 0xc0
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
push edx
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call sub.MFC42.DLL_CString::CString_2
call fcn.0042ce7b
add esp, 8
lea ecx, [esp + 0x14]
mov dword [esp + 0x34], ebp
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x28
ret