Function at 0x417770
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x42f6f3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_3
xor ebp, ebp
lea ecx, [esp + 0x18]
mov dword [esp + 0x134], ebp
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x24]
mov byte [esp + 0x134], 1
call sub.MFC42.DLL_CString::CString_3
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x29]
mov byte [esp + 0x28], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 1
lea eax, [esp + 0x2c]
push 0x1a
mov ebx, 2
push eax
push ebp
mov byte [esp + 0x144], bl
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov edx, dword [esi + 0xc4]
lea edi, [esi + 0xc4]
push str._setting.ini
mov ecx, edi
call dword [edx + 4]
push eax
lea eax, [esp + 0x30]
push str.TencentQQGameDig_
push eax
lea ecx, [esp + 0x28]
push str._s_s_u_s
push ecx
call sub.MFC42.DLL_CString::Format_1
mov edx, dword [edi]
add esp, 0x18
mov ecx, edi
push str.gamecomm.ini
call dword [edx + 4]
push eax
lea eax, [esp + 0x30]
push str.TencentQQGameUsers_
push eax
lea ecx, [esp + 0x34]
push str._s_s_u_s
push ecx
call sub.MFC42.DLL_CString::Format_1
add esp, 0x18
lea ecx, [esp + 0x10]
push str.bAllowWatch
call sub.MFC42.DLL_CString::operator_1
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x18]
lea edx, [esp + 0x14]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x144], 3
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
mov byte [esp + 0x140], bl
call fcn.00417590
cmp eax, ebp
je 0x4178a8
cmp dword [esp + 0x14], ebp
jne 0x4178a8
mov byte [esi + 0x1179], 0
jmp 0x4178af
mov byte [esi + 0x1179], 1
push str.bSoundOn
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_1
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x18]
lea edx, [esp + 0x14]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
mov byte [esp + 0x144], 4
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
mov byte [esp + 0x140], bl
call fcn.00417590
cmp eax, ebp
je 0x41790d
cmp dword [esp + 0x14], ebp
jne 0x41790d
mov byte [esi + 0x1178], 0
jmp 0x417914
mov byte [esi + 0x1178], 1
push str.SortType
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_1
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x18]
lea edx, [esp + 0x14]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
mov byte [esp + 0x144], 5
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
mov byte [esp + 0x140], bl
call fcn.00417590
cmp eax, ebp
je 0x41798d
mov eax, dword [esp + 0x14]
mov edi, 1
cmp eax, edi
jne 0x417978
mov dword [esi + 0x290], edi
jmp 0x417998
cmp eax, 3
jne 0x417985
mov dword [esi + 0x290], eax
jmp 0x417998
mov dword [esi + 0x290], ebx
jmp 0x417998
mov dword [esi + 0x290], ebx
mov edi, 1
push str.bSpritAni
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_1
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x18]
lea edx, [esp + 0x14]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
mov byte [esp + 0x144], 6
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
mov byte [esp + 0x140], bl
call fcn.00417590
cmp eax, ebp
je 0x4179f5
cmp dword [esp + 0x14], ebp
jne 0x4179f5
mov dword [esi + 0x117c], ebp
jmp 0x4179fb
mov dword [esi + 0x117c], edi
push str.bSpritSound
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_1
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x18]
lea edx, [esp + 0x14]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
mov byte [esp + 0x144], 7
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
mov byte [esp + 0x140], bl
call fcn.00417590
cmp eax, ebp
je 0x417a58
cmp dword [esp + 0x14], ebp
jne 0x417a58
mov dword [esi + 0x1180], ebp
jmp 0x417a5e
mov dword [esi + 0x1180], edi
push str.showtip
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_1
push ecx
lea eax, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x18]
lea edx, [esp + 0x14]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
mov byte [esp + 0x144], 8
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
mov byte [esp + 0x140], bl
call fcn.004176d0
cmp eax, ebp
je 0x417abb
cmp dword [esp + 0x14], ebp
jne 0x417abb
mov dword [esi + 0x1184], ebp
jmp 0x417ac1
mov dword [esi + 0x1184], edi
mov ecx, dword [0x440e6c]
cmp ecx, ebp
je 0x417ade
mov edx, dword [esi + 0x1180]
mov eax, dword [ecx]
push edx
mov edx, dword [esi + 0x117c]
push edx
call dword [eax + 0x24]
lea ecx, [esp + 0x24]
mov byte [esp + 0x134], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x134], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x134], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x128
ret