Function at 0x5395d0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x587073
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x330
push ebx
push esi
push edi
xor ebx, ebx
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x235]
mov byte [esp + 0x234], bl
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x12d]
mov byte [esp + 0x12c], bl
mov byte [esp + 0x24], bl
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x25]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x24]
push eax
push ebx
push ebx
push 0x23
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov esi, dword [sym.imp.MSVCRT.dll__snprintf]
lea ecx, [esp + 0x24]
push str.storm_skinMat
push ecx
push 0x5cf4a4
lea edx, [esp + 0x138]
push 0x104
push edx
call esi
add esp, 0x14
lea eax, [esp + 0x12c]
lea ecx, [esp + 0x234]
push str.download_1.xml
push eax
push 0x5cf4a4
push 0x104
push ecx
call esi
add esp, 0x14
mov dword [esp + 0x14], ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x344], ebx
call sub.MFC42.DLL_CString::CString_3
mov edi, vtable.CMovieSkinMgrXml.0
push ebx
mov dword [esp + 0x14], edi
call dword [sym.imp.ole32.dll_CoInitialize]
push ecx
lea edx, [esp + 0x238]
mov ecx, esp
mov dword [esp + 0x10], esp
push edx
mov dword [esp + 0x34c], 1
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x14]
call fcn.00537a50
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_3
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x10]
push eax
push str._config_daily__bChecked
mov byte [esp + 0x34c], 2
call fcn.005375e0
mov ecx, dword [esp + 0x1c]
mov esi, dword [sym.imp.MSVCRT.dll__mbsicmp]
push 0x5cf990
push ecx
call esi
add esp, 8
test eax, eax
jne 0x5397fd
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_3
lea edx, [esp + 0xc]
lea ecx, [esp + 0x10]
push edx
push str._config_daily__time
mov byte [esp + 0x34c], 3
call fcn.005375e0
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_3
lea eax, [esp + 0x20]
mov byte [esp + 0x344], 4
push eax
call fcn.0053a0c0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
push ecx
push edx
call esi
add esp, 0xc
mov byte [esp + 0x344], 3
test eax, eax
lea ecx, [esp + 0x20]
jne 0x5397e7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x344], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x344], 1
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x14]
mov dword [esp + 0x344], 6
cmp eax, ebx
je 0x5397b9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x14], ebx
lea ecx, [esp + 0x18]
mov byte [esp + 0x344], 5
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x14]
mov dword [esp + 0x344], 0xffffffff
cmp eax, ebx
je 0x5397e3
mov edx, dword [eax]
push eax
call dword [edx + 8]
xor eax, eax
jmp 0x53985e
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x344], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x344], 1
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x14]
mov dword [esp + 0x344], 8
cmp eax, ebx
je 0x53982f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x14], ebx
lea ecx, [esp + 0x18]
mov byte [esp + 0x344], 7
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x14]
mov dword [esp + 0x344], 0xffffffff
cmp eax, ebx
je 0x539859
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, 1
mov ecx, dword [esp + 0x33c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x33c
ret