Function at 0x4252e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x572c9c
mov eax, dword fs:[0]
push eax
mov eax, 0xd09c
call fcn.0054a430
mov eax, dword [0x5dbcc8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x3ff
lea eax, [ebp - 0x40f]
mov ebx, ecx
push 0
push eax
mov dword [ebp - 0xd0a4], ebx
mov byte [ebp - 0x410], 0
call fcn.00549e40
add esp, 0xc
push 1
push 0x1c
lea ecx, [ebp - 0x410]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea esi, [ebp - 0xd0a0]
call fcn.00403050
mov edi, dword [ebx + 0xd44]
mov dword [ebp - 0xd0a0], 0x544547
test edi, edi
jne 0x42536d
xor eax, eax
jmp 0x4253b2
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jg 0x4253aa
lea ebx, [eax + eax]
mov eax, ebx
call fcn.0054bbf0
mov esi, esp
test esi, esi
je 0x4253aa
push 0
push 0
push ebx
push esi
push 0xffffffffffffffff
push edi
push 0
push 3
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
jmp 0x4253ac
xor eax, eax
mov ebx, dword [ebp - 0xd0a4]
push eax
lea edx, [ebp - 0xcca0]
push str.http:__pc.mapps.m1905.cn_Film_download_type2id_s
push edx
call fcn.00546876
lea eax, [ebp - 0xa4a0]
add esp, 0xc
push eax
call fcn.00404b10
mov edi, dword [ebx + 0xd44]
add esp, 4
test edi, edi
jne 0x4253e8
mov dword [ebp - 0xd0a8], edi
jmp 0x42542d
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jg 0x425425
lea ebx, [eax + eax]
mov eax, ebx
call fcn.0054bbf0
mov esi, esp
test esi, esi
je 0x425425
push 0
push 0
push ebx
push esi
push 0xffffffffffffffff
push edi
push 0
push 3
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
jmp 0x425427
xor eax, eax
mov dword [ebp - 0xd0a8], eax
push 0x5a52f8
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jg 0x425474
lea edi, [eax + eax]
mov eax, edi
call fcn.0054bbf0
mov esi, esp
test esi, esi
je 0x425474
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
push 0x5a52f8
push 0
push 3
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
mov ebx, eax
jmp 0x425476
xor ebx, ebx
push str.1905Cache1
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jg 0x4254bb
lea edi, [eax + eax]
mov eax, edi
call fcn.0054bbf0
mov esi, esp
test esi, esi
je 0x4254bb
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
push str.1905Cache1
push 0
push 3
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
jmp 0x4254bd
xor eax, eax
mov ecx, dword [ebp - 0xd0a8]
push ecx
push ebx
push eax
lea edx, [ebp - 0x410]
push edx
push str._s_s_sload__s.xml
lea eax, [ebp - 0x7ca0]
push 0x2800
push eax
call fcn.005468fa
add esp, 0x1c
mov ecx, 0x5e5968
call dword [sym.imp.DuiLib_u.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::GetHWND_void_const]
mov ecx, dword [ebp - 0xd0a4]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
mov dword [ebp - 0x2ca0], eax
lea eax, [ebp - 0x498]
push eax
mov dword [ebp - 0x2c9c], 0x402
call edx
mov ecx, eax
mov dword [ebp - 4], 0
call dword [sym.imp.DuiLib_u.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const]
mov edi, eax
test edi, edi
je 0x425567
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jg 0x425567
lea ebx, [eax + eax]
mov eax, ebx
call fcn.0054bbf0
mov esi, esp
test esi, esi
je 0x425567
push 0
push 0
push ebx
push esi
push 0xffffffffffffffff
push edi
push 0
push 3
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
jmp 0x425569
xor eax, eax
lea ecx, [ebp - 0x7ca0]
push ecx
push eax
push 0x28
lea edx, [ebp - 0x2c98]
push str.type_dwndName_s_saveFile_s
push edx
call fcn.00546876
add esp, 0x14
lea ecx, [ebp - 0x498]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.DuiLib_u.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
mov eax, 0xcc08
lea esi, [ebp - 0xd0a0]
call fcn.0054a430
mov edi, esp
mov ecx, 0x3302
rep movsd dword es:[edi], dword [esi]
call fcn.004028a0
lea esp, [ebp - 0xd0b8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00545eb2
mov esp, ebp
pop ebp
ret