Function at 0x442340
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5738d6
mov eax, dword fs:[0]
push eax
mov eax, 0xd41c
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 ebx, ecx
push 0x5a55b8
lea ecx, [ebp - 0xd424]
mov dword [ebp - 0xd41c], ebx
call fcn.0040cf20
xor edi, edi
push 0x5a55b8
lea ecx, [ebp - 0xd428]
mov dword [ebp - 4], edi
call fcn.0040cf20
mov byte [ebp - 4], 1
mov eax, dword [ebx + 0x14]
add eax, 0xfffffffe
cmp eax, 3
ja case.default.0x4423b2
jmp dword [eax*4 + 0x4427b8]
push 0x5a54ec
lea ecx, [ebp - 0xd424]
call fcn.0040ced0
push str.teleplaydetail
jmp 0x4423fc
push 0x5a5500
lea ecx, [ebp - 0xd424]
call fcn.0040ced0
push str.varietydetail
jmp 0x4423fc
push 0x5a5510
lea ecx, [ebp - 0xd424]
call fcn.0040ced0
push str.cartoondetail
lea ecx, [ebp - 0xd428]
call fcn.0040ced0
push 0x3ff
lea eax, [ebp - 0x40f]
push edi
push eax
mov byte [ebp - 0x410], 0
call fcn.00549e40
mov esi, dword [ebx + 0x6c]
add esp, 0xc
cmp esi, edi
jne 0x442432
mov dword [ebp - 0xd420], edi
jmp 0x442465
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x442449
mov dword [ebp - 0xd420], edi
jmp 0x442465
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 - 0xd420], eax
mov edi, dword [ebx + 0x64]
test edi, edi
jne 0x442470
xor ebx, ebx
jmp 0x44249b
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x442483
xor ebx, ebx
jmp 0x44249b
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 - 0xd41c]
mov edi, dword [ecx + 0x1c]
test edi, edi
jne 0x4424ac
xor eax, eax
jmp 0x4424d5
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x4424bf
xor eax, eax
jmp 0x4424d5
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 - 0xd420]
push edx
push ebx
push eax
lea eax, [ebp - 0x410]
push str.http:__pc.mapps.m1905.cn_Tvb_detail_id__s_ref__s_id__s
push eax
call fcn.00546876
push 0x3ff
lea ecx, [ebp - 0x80f]
push 0
push ecx
mov byte [ebp - 0x810], 0
call fcn.00549e40
add esp, 0x20
push 1
push 0x1c
lea edx, [ebp - 0x810]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea esi, [ebp - 0xd418]
call fcn.00403050
mov eax, dword [ebp - 0xd41c]
mov esi, dword [eax + 0x6c]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
xor edi, edi
mov dword [ebp - 0xd418], 0x544547
cmp esi, edi
jne 0x442551
mov dword [ebp - 0xd420], edi
jmp 0x442580
push esi
call ebx
inc eax
cmp eax, 0x3fffffff
jle 0x442564
mov dword [ebp - 0xd420], edi
jmp 0x442580
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 - 0xd420], eax
mov ecx, dword [ebp - 0xd41c]
mov edi, dword [ecx + 0x1c]
xor esi, esi
cmp edi, esi
jne 0x442597
mov dword [ebp - 0xd41c], esi
jmp 0x4425c6
push edi
call ebx
inc eax
cmp eax, 0x3fffffff
jle 0x4425aa
mov dword [ebp - 0xd41c], esi
jmp 0x4425c6
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 dword [ebp - 0xd41c], eax
mov eax, dword [ebp - 0xd428]
mov edi, eax
test eax, eax
je 0x4425f9
push eax
call ebx
inc eax
cmp eax, 0x3fffffff
jle 0x4425e1
xor edi, edi
jmp 0x4425f9
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 edi, eax
mov eax, dword [ebp - 0xd424]
mov ebx, eax
test eax, eax
je 0x44262e
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x442618
xor eax, eax
jmp 0x44262e
lea esi, [eax + eax]
mov eax, esi
call fcn.0054bbf0
mov eax, esp
push 3
push esi
push ebx
push eax
call fcn.0040c9b0
mov ecx, dword [ebp - 0xd420]
lea edx, [ebp - 0x410]
push edx
mov edx, dword [ebp - 0xd41c]
push ecx
push edx
push 0x5ea428
push 0x5a5024
push 0x5ea828
push 0x5eb028
push edi
push eax
push 0x5ea028
lea eax, [ebp - 0xd018]
push str.http:___s__m_sa_sos_sdid_sappid1700verid_spid_scid_sstepposid_surl_s
push eax
call fcn.00546876
add esp, 0x30
push 0x5a52f8
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x442689
xor edi, edi
jmp 0x4426a5
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 dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x4426bc
xor eax, eax
jmp 0x4426d6
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
push edi
push eax
lea ecx, [ebp - 0x810]
push ecx
push str._s_s_sTongJiTvbDetail.xml
lea edx, [ebp - 0x8018]
push 0x2800
push edx
call fcn.005468fa
add esp, 0x18
mov ecx, 0x5e5968
call dword [sym.imp.DuiLib_u.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::GetHWND_void_const]
push 0x16
mov dword [ebp - 0x3018], eax
lea eax, [ebp - 0x3010]
push str.type_d
push eax
mov dword [ebp - 0x3014], 0x402
call fcn.00546876
add esp, 0xc
mov eax, 0xcc08
lea esi, [ebp - 0xd418]
call fcn.0054a430
mov edi, esp
mov ecx, 0x3302
rep movsd dword es:[edi], dword [esi]
call fcn.00410290
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0xd428]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44276d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xd424]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x442796
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esp, [ebp - 0xd438]
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