Function at 0x4410e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57390b
mov eax, dword fs:[0]
push eax
mov eax, 0xd028
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
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
push 0x3ff
mov dword [ebp - 0xd020], ecx
mov dword [ebp - 0xd028], eax
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 0x40f]
push 0
push ecx
mov dword [ebp - 0xd030], edi
mov dword [ebp - 0xd034], edx
mov dword [ebp - 0xd02c], eax
mov byte [ebp - 0x410], 0
call fcn.00549e40
add esp, 0xc
push 1
push 0x1c
lea edx, [ebp - 0x410]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea esi, [ebp - 0xd018]
call fcn.00403050
mov eax, dword [ebp - 0xd020]
mov ecx, dword [ebp - 0xd02c]
mov edx, dword [ebp - 0xd028]
push eax
push edi
push ecx
push edx
lea eax, [ebp - 0xcc18]
push str.http:__pc.mapps.m1905.cn_Tvb_getEpisodedetail_id_sdataType_sthirdid_sepisodeid_s
push eax
mov dword [ebp - 0xd018], 0x544547
call fcn.00546876
lea ecx, [ebp - 0xa418]
push ecx
call fcn.00404b10
add esp, 0x1c
push 0x5a52f8
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jg 0x441202
lea edi, [eax + eax]
mov eax, edi
call fcn.0054bbf0
mov esi, esp
test esi, esi
je 0x441202
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 dword [ebp - 0xd024], eax
jmp 0x44120c
mov dword [ebp - 0xd024], 0
push str.1905Cache1
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jg 0x441251
lea edi, [eax + eax]
mov eax, edi
call fcn.0054bbf0
mov esi, esp
test esi, esi
je 0x441251
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 0x441253
xor eax, eax
mov edx, dword [ebp - 0xd020]
mov ecx, dword [ebp - 0xd028]
push edx
mov edx, dword [ebp - 0xd024]
push ecx
push edx
push eax
lea eax, [ebp - 0x410]
push eax
push str._s_s_s_s_episode__s.xml
lea ecx, [ebp - 0x7c18]
push 0x2800
push ecx
call fcn.005468fa
add esp, 0x20
mov ecx, 0x5e5968
call dword [sym.imp.DuiLib_u.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::GetHWND_void_const]
mov dword [ebp - 0x2c18], eax
mov dword [ebp - 0x2c14], 0x402
test ebx, ebx
je 0x4412e3
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edi, [eax + 1]
cmp edi, 0x3fffffff
jg 0x4412e3
lea eax, [edi + edi]
call fcn.0054bbf0
mov esi, esp
test esi, esi
je 0x4412e3
push edi
push esi
push 0xffffffffffffffff
xor edx, edx
push ebx
push edx
push 3
mov word [esi], dx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
neg eax
sbb eax, eax
and eax, esi
jmp 0x4412e5
xor eax, eax
push eax
lea ecx, [ebp - 0xd01c]
call fcn.0040cf20
lea ecx, [ebp - 0xd01c]
mov dword [ebp - 4], 0
call fcn.004428b0
mov ecx, eax
call fcn.00442930
push 0x5af884
push 0x5a537c
lea ecx, [ebp - 0xd01c]
call fcn.00409f60
mov eax, dword [ebp - 0xd01c]
mov edi, eax
test eax, eax
je 0x441368
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jg 0x441368
lea ebx, [eax + eax]
mov eax, ebx
call fcn.0054bbf0
mov esi, esp
test esi, esi
je 0x441368
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 0x44136a
xor eax, eax
mov edx, dword [ebp - 0xd030]
lea ecx, [ebp - 0x7c18]
push ecx
mov ecx, dword [ebp - 0xd020]
push edx
mov edx, dword [ebp - 0xd02c]
push eax
mov eax, dword [ebp - 0xd034]
push eax
mov eax, dword [ebp - 0xd028]
push ecx
push edx
push eax
push 0x29
lea ecx, [ebp - 0x2c10]
push str.type_dtvID_s_tvType_s_eposideID_s_sCrossPicUrl_s_title_s_thirdID_s_saveFile_s
push ecx
call fcn.00546876
add esp, 0x28
mov eax, 0xcc08
lea esi, [ebp - 0xd018]
call fcn.0054a430
mov edi, esp
mov ecx, 0x3302
rep movsd dword es:[edi], dword [esi]
call fcn.004028a0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xd01c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4413f2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esp, [ebp - 0xd044]
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 0x10