Function at 0x440da0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xd014
call fcn.0054a430
mov eax, dword [0x5dbcc8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
mov dword [ebp - 0xd010], ebx
cmp dword [ebx + 0x354], edi
je 0x4410c7
cmp dword [ebx + 0x374], edi
je 0x4410c7
push 0x3ff
lea eax, [ebp - 0x403]
push edi
push eax
mov byte [ebp - 0x404], 0
call fcn.00549e40
add esp, 0xc
push 1
push 0x1c
lea ecx, [ebp - 0x404]
push ecx
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea esi, [ebp - 0xd00c]
call fcn.00403050
mov edx, dword [ebx + 0x374]
mov eax, dword [ebx + 0x70]
add edx, edx
mov dword [ebp - 0xd00c], 0x544547
mov esi, dword [eax + edx*8 - 0x10]
cmp esi, edi
jne 0x440e3a
mov dword [ebp - 0xd014], edi
jmp 0x440e6d
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x440e51
mov dword [ebp - 0xd014], edi
jmp 0x440e6d
lea edi, [eax + eax]
mov eax, edi
call fcn.0054bbf0
mov eax, esp
push 3
push edi
push esi
push eax
call fcn.0040c9b0
mov dword [ebp - 0xd014], eax
mov edi, dword [ebx + 0x18]
test edi, edi
jne 0x440e78
xor ebx, ebx
jmp 0x440ea3
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x440e8b
xor ebx, ebx
jmp 0x440ea3
lea esi, [eax + eax]
mov eax, esi
call fcn.0054bbf0
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.0040c9b0
mov ebx, eax
mov ecx, dword [ebp - 0xd010]
mov edi, dword [ecx + 0x1c]
test edi, edi
jne 0x440eb4
xor eax, eax
jmp 0x440edd
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x440ec7
xor eax, eax
jmp 0x440edd
lea esi, [eax + eax]
mov eax, esi
call fcn.0054bbf0
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.0040c9b0
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0xd014]
push edx
push ecx
push ebx
push eax
lea edx, [ebp - 0xcc0c]
push str.http:__pc.mapps.m1905.cn_Tvb_detail_id_sdataType_sthirdid_spage_d
push edx
call fcn.00546876
lea eax, [ebp - 0xa40c]
push eax
call fcn.00404b10
mov ecx, dword [ebp - 0xd010]
mov esi, dword [ecx + 0x1c]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
xor edi, edi
add esp, 0x1c
cmp esi, edi
jne 0x440f27
mov dword [ebp - 0xd014], edi
jmp 0x440f56
push esi
call ebx
inc eax
cmp eax, 0x3fffffff
jle 0x440f3a
mov dword [ebp - 0xd014], edi
jmp 0x440f56
lea edi, [eax + eax]
mov eax, edi
call fcn.0054bbf0
mov eax, esp
push 3
push edi
push esi
push eax
call fcn.0040c9b0
mov dword [ebp - 0xd014], eax
push 0x5a52f8
call ebx
inc eax
cmp eax, 0x3fffffff
jle 0x440f69
xor edi, edi
jmp 0x440f85
lea esi, [eax + eax]
mov eax, esi
call fcn.0054bbf0
mov eax, esp
push 3
push esi
push 0x5a52f8
push eax
call fcn.0040c9b0
mov edi, eax
push str.1905Cache1
call ebx
inc eax
cmp eax, 0x3fffffff
jle 0x440f98
xor eax, eax
jmp 0x440fb2
lea esi, [eax + eax]
mov eax, esi
call fcn.0054bbf0
mov eax, esp
push 3
push esi
push str.1905Cache1
push eax
call fcn.0040c9b0
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0xd014]
push edx
push ecx
push edi
push eax
lea edx, [ebp - 0x404]
push edx
push str._s_s_s_s_episode_page_d.xml
lea eax, [ebp - 0x7c0c]
push 0x2800
push eax
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 ebx, dword [ebp - 0xd010]
mov ecx, dword [ebx + 0x374]
mov edx, dword [ebx + 0x70]
add ecx, ecx
mov dword [ebp - 0x2c0c], eax
mov dword [ebp - 0x2c08], 0x402
mov esi, dword [edx + ecx*8 - 0x10]
xor edi, edi
cmp esi, edi
jne 0x44101d
mov dword [ebp - 0xd010], edi
jmp 0x441050
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x441034
mov dword [ebp - 0xd010], edi
jmp 0x441050
lea edi, [eax + eax]
mov eax, edi
call fcn.0054bbf0
mov eax, esp
push 3
push edi
push esi
push eax
call fcn.0040c9b0
mov dword [ebp - 0xd010], eax
mov edi, dword [ebx + 0x1c]
test edi, edi
je 0x441066
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x44106a
xor eax, eax
jmp 0x441080
lea esi, [eax + eax]
mov eax, esi
call fcn.0054bbf0
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.0040c9b0
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x7c0c]
push ecx
mov ecx, dword [ebp - 0xd010]
push edx
push ecx
push eax
push 0x2a
lea edx, [ebp - 0x2c04]
push str.type_dtvID_s_thirdID_s_page_d_saveFile_s
push edx
call fcn.00546876
add esp, 0x1c
mov eax, 0xcc08
lea esi, [ebp - 0xd00c]
call fcn.0054a430
mov edi, esp
mov ecx, 0x3302
rep movsd dword es:[edi], dword [esi]
call fcn.004028a0
lea esp, [ebp - 0xd020]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00545eb2
mov esp, ebp
pop ebp
ret 4