Function at 0x539880
Capabilities:
Check if file exists
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5870b7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x750
push ebx
push ebp
push esi
mov dword [esp + 0x1c], ecx
push edi
xor ebx, ebx
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x239]
mov byte [esp + 0x238], bl
rep stosd dword es:[edi], eax
push 0x104
lea eax, [esp + 0x23c]
push str.http:__moviebox.baofeng.net_movieskin_download_1.xml
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x55d]
mov byte [esp + 0x55c], bl
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x35]
mov byte [esp + 0x34], bl
mov ebp, dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
rep stosd dword es:[edi], eax
add esp, 0xc
lea ecx, [esp + 0x28]
push ecx
push ebx
push ebx
push 0x23
push ebx
call ebp
mov esi, dword [sym.imp.MSVCRT.dll__snprintf]
lea edx, [esp + 0x28]
push str.storm_temp
push edx
push str._s_s_
lea eax, [esp + 0x55c]
push 0x104
push eax
call esi
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x45d]
mov byte [esp + 0x45c], bl
add esp, 0x14
lea edx, [esp + 0x448]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x550]
push str.download_1.xml
push ecx
push str._s_s.tp
push 0x104
push edx
call esi
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x355]
mov byte [esp + 0x354], bl
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x3d]
mov byte [esp + 0x3c], bl
add esp, 0x14
rep stosd dword es:[edi], eax
lea eax, [esp + 0x28]
push eax
push ebx
push ebx
push 0x23
push ebx
call ebp
lea ecx, [esp + 0x28]
push str.storm_skinMat
push ecx
push 0x5cf4a4
lea edx, [esp + 0x34c]
push 0x104
push edx
call esi
add esp, 0x14
lea eax, [esp + 0x340]
lea ecx, [esp + 0x658]
push str.download_1.xml
push eax
push 0x5cf4a4
push 0x104
push ecx
call esi
add esp, 0x14
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x131]
lea edx, [esp + 0x658]
mov byte [esp + 0x130], bl
rep stosd dword es:[edi], eax
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x539a3a
lea eax, [esp + 0x238]
push str._time
push eax
push 0x5d4440
lea ecx, [esp + 0x13c]
push 0x104
push ecx
call esi
add esp, 0x14
jmp 0x539b2f
mov dword [esp + 0x18], ebx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x768], ebx
call sub.MFC42.DLL_CString::CString_3
mov edi, vtable.CMovieSkinMgrXml.0
push ebx
mov dword [esp + 0x18], edi
call dword [sym.imp.ole32.dll_CoInitialize]
lea ecx, [esp + 0x10]
mov dword [esp + 0x768], 1
call sub.MFC42.DLL_CString::CString_3
push ecx
lea edx, [esp + 0x65c]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x770], 2
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x18]
call fcn.00537a50
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push str._config_update__time
call fcn.005375e0
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x238]
push ecx
push str._time
push edx
push str._s_s_s
lea eax, [esp + 0x140]
push 0x104
push eax
call esi
add esp, 0x18
lea ecx, [esp + 0x10]
mov byte [esp + 0x768], 1
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x18]
mov dword [esp + 0x768], 4
cmp eax, ebx
je 0x539b05
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x18], ebx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x768], 3
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x18]
mov dword [esp + 0x768], 0xffffffff
cmp eax, ebx
je 0x539b2f
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov edi, dword [esp + 0x20]
mov esi, dword [edi + 4]
cmp esi, ebx
je 0x539b73
lea eax, [esp + 0x130]
lea ecx, [esi + 0x14]
push eax
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x448]
push ecx
lea ecx, [esi + 0x18]
call sub.MFC42.DLL_CString::operator_2
lea edx, [esp + 0x658]
lea ecx, [esi + 0x1c]
push edx
call sub.MFC42.DLL_CString::operator_2
mov eax, dword [edi + 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov ecx, dword [esp + 0x760]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x75c
ret