Function at 0x41c910
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x43cc86
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x118
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 + 0x130], ebp
call sub.MFC42.DLL_CString::CString_3
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x25]
mov byte [esp + 0x24], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ebx, 1
stosb byte es:[edi], al
push ebx
lea eax, [esp + 0x28]
push 0x1a
push eax
push ebp
mov byte [esp + 0x140], bl
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov ecx, dword [esi + 0x1ec]
push str..ini
push ecx
lea edx, [esp + 0x2c]
push str.TencentQQGamewk_
push edx
lea eax, [esp + 0x28]
push str._s_s_d_s
push eax
call sub.MFC42.DLL_CString::Format
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 fcn.00436aa0
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 + 0x140], 2
call fcn.00436aa0
mov ecx, esi
mov byte [esp + 0x13c], bl
call fcn.0041d990
cmp eax, ebp
je 0x41ca01
cmp dword [esp + 0x14], ebp
jne 0x41ca01
mov dword [esi + 0x16c], ebp
jmp 0x41ca07
mov dword [esi + 0x16c], ebx
push str.bShowAni
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 fcn.00436aa0
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 + 0x140], 3
call fcn.00436aa0
mov ecx, esi
mov byte [esp + 0x13c], bl
call fcn.0041d990
cmp eax, ebp
je 0x41ca64
cmp dword [esp + 0x14], ebp
jne 0x41ca64
mov dword [esi + 0x188], ebp
jmp 0x41ca6a
mov dword [esi + 0x188], ebx
push str.bShowOtherPetAni
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 fcn.00436aa0
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 + 0x140], 4
call fcn.00436aa0
mov ecx, esi
mov byte [esp + 0x13c], bl
call fcn.0041d990
cmp eax, ebp
je 0x41cac7
cmp dword [esp + 0x14], ebp
jne 0x41cac7
mov dword [esi + 0x18c], ebp
jmp 0x41cacd
mov dword [esi + 0x18c], ebx
push str.bShowHintOn
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 fcn.00436aa0
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 + 0x140], 5
call fcn.00436aa0
mov ecx, esi
mov byte [esp + 0x13c], bl
call fcn.0041d990
cmp eax, ebp
je 0x41cb2a
cmp dword [esp + 0x14], ebp
jne 0x41cb2a
mov dword [esi + 0x168], ebp
jmp 0x41cb30
mov dword [esi + 0x168], ebx
push str.bShowMark
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 fcn.00436aa0
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 + 0x140], 6
call fcn.00436aa0
mov ecx, esi
mov byte [esp + 0x13c], bl
call fcn.0041d990
cmp eax, ebp
je 0x41cb8d
cmp dword [esp + 0x14], ebp
jne 0x41cb8d
mov dword [esi + 0x170], ebp
jmp 0x41cb93
mov dword [esi + 0x170], ebx
push str.bVoiceOn
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 fcn.00436aa0
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 + 0x140], 7
call fcn.00436aa0
mov ecx, esi
mov byte [esp + 0x13c], bl
call fcn.0041d990
cmp eax, ebp
je 0x41cbf0
cmp dword [esp + 0x14], ebp
jne 0x41cbf0
mov dword [esi + 0x164], ebp
jmp 0x41cbf6
mov dword [esi + 0x164], ebx
push str.bAntiClockWise
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 fcn.00436aa0
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 + 0x140], 8
call fcn.00436aa0
mov ecx, esi
mov byte [esp + 0x13c], bl
call fcn.0041d990
cmp eax, ebp
je 0x41cc53
cmp dword [esp + 0x14], ebp
jne 0x41cc53
mov dword [esi + 0x178], ebp
jmp 0x41cc59
mov dword [esi + 0x178], ebx
push str.bSortByLevel
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 fcn.00436aa0
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 + 0x140], 9
call fcn.00436aa0
mov ecx, esi
mov byte [esp + 0x13c], bl
call fcn.0041d990
cmp eax, ebp
je 0x41ccb6
cmp dword [esp + 0x14], ebp
jne 0x41ccb6
mov dword [esi + 0x174], ebp
jmp 0x41ccbc
mov dword [esi + 0x174], ebx
push str.bShowWelcome
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 fcn.00436aa0
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 + 0x140], 0xa
call fcn.00436aa0
mov ecx, esi
mov byte [esp + 0x13c], bl
call fcn.0041d990
cmp eax, ebp
je 0x41cd19
cmp dword [esp + 0x14], ebp
jne 0x41cd19
mov dword [esi + 0x17c], ebp
jmp 0x41cd1f
mov dword [esi + 0x17c], ebx
push str.bShowScore
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 fcn.00436aa0
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 + 0x140], 0xb
call fcn.00436aa0
mov ecx, esi
mov byte [esp + 0x13c], bl
call fcn.0041d990
cmp eax, ebp
je 0x41cd7c
cmp dword [esp + 0x14], ebp
jne 0x41cd7c
mov dword [esi + 0x180], ebp
jmp 0x41cd82
mov dword [esi + 0x180], ebx
push str.bUpDown
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 fcn.00436aa0
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 + 0x140], 0xc
call fcn.00436aa0
mov ecx, esi
mov byte [esp + 0x13c], bl
call fcn.0041d990
cmp eax, ebp
je 0x41cddf
cmp dword [esp + 0x14], ebp
jne 0x41cddf
mov dword [esi + 0x184], ebp
jmp 0x41cde5
mov dword [esi + 0x184], ebx
push str.bShowPet
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 fcn.00436aa0
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 + 0x140], 0xd
call fcn.00436aa0
mov ecx, esi
mov byte [esp + 0x13c], bl
call fcn.0041d990
cmp eax, ebp
je 0x41ce43
cmp dword [esp + 0x14], ebp
jne 0x41ce43
mov byte [esi + 0x1a4], 0
jmp 0x41ce49
mov byte [esi + 0x1a4], bl
xor edi, edi
lea ebp, [esi + 0x190]
push edi
lea eax, [esp + 0x14]
push str.bPetAction_d
push eax
call sub.MFC42.DLL_CString::Format
add esp, 8
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.00436aa0
lea eax, [esp + 0x18]
lea edx, [esp + 0x14]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
mov byte [esp + 0x140], 0xe
call fcn.00436aa0
mov ecx, esi
mov byte [esp + 0x13c], bl
call fcn.0041d990
test eax, eax
je 0x41ceb5
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x41ceb5
mov dword [ebp], 0
jmp 0x41ceb8
mov dword [ebp], ebx
inc edi
add ebp, 4
cmp edi, 5
jl 0x41ce51
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 fcn.00436aa0
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 + 0x140], 0xf
call fcn.00436aa0
mov ecx, esi
mov byte [esp + 0x13c], bl
call fcn.0041d990
xor edi, edi
cmp eax, edi
je 0x41cf20
cmp dword [esp + 0x14], edi
jne 0x41cf20
mov dword [esi + 0x1a8], edi
jmp 0x41cf26
mov dword [esi + 0x1a8], ebx
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 fcn.00436aa0
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 + 0x140], 0x10
call fcn.00436aa0
mov ecx, esi
mov byte [esp + 0x13c], bl
call fcn.0041d990
cmp eax, edi
je 0x41cf83
cmp dword [esp + 0x14], edi
jne 0x41cf83
mov dword [esi + 0x1ac], edi
jmp 0x41cf89
mov dword [esi + 0x1ac], ebx
push str.bShowHintInfo
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 fcn.00436aa0
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 + 0x140], 0x11
call fcn.00436aa0
mov ecx, esi
mov byte [esp + 0x13c], bl
call fcn.0041d990
cmp eax, edi
je 0x41cfe6
cmp dword [esp + 0x14], edi
jne 0x41cfe6
mov dword [esi + 0x1b0], edi
jmp 0x41cfec
mov dword [esi + 0x1b0], ebx
mov ecx, dword [esi + 0xab14]
cmp ecx, edi
je 0x41d013
mov ebp, dword [esi + 0x1ac]
mov edx, dword [esi + 0x1a8]
cmp ebp, edi
setne al
cmp edx, edi
push eax
setne dl
push edx
call fcn.004276a0
lea ecx, [esp + 0x18]
mov byte [esp + 0x130], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x130], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x128]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x124
ret