Function at 0x437440
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x574f68
mov eax, dword fs:[0]
push eax
mov eax, 0x1a01c
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
mov dword [ebp - 0x1a028], ebx
mov dword [ebp - 4], 0
mov ecx, dword [0x5e5028]
push str.SearchResultName
call dword [sym.imp.DuiLib_u.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
cmp dword [ebp + 0xc], 0
mov edi, dword [sym.imp.DuiLib_u.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindSubControlByName_class_DuiLib::CControlUI___wchar_t_const__const]
mov esi, eax
je 0x4374d9
xor eax, eax
mov dword [ebx + 0x14], 1
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], eax
cmp esi, eax
je 0x4374d9
mov ecx, dword [0x5e5028]
push str.searchresultlist
push esi
call edi
test eax, eax
je 0x4374d9
mov edx, dword [eax + 0x4a0]
lea ecx, [eax + 0x4a0]
mov eax, dword [edx + 0x20]
call eax
mov ecx, dword [0x5e5028]
push str.horizontalsearchresultLoading
push esi
mov dword [ebx + 0x20], 1
call edi
test eax, eax
je 0x437500
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xcc]
push 1
call eax
push 0x3ff
lea ecx, [ebp - 0x80f]
push 0
push ecx
mov byte [ebp - 0x810], 0
call fcn.00549e40
mov eax, dword [ebp + 8]
add esp, 0xc
mov dword [ebp - 0x1a024], eax
test eax, eax
je 0x43756d
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jg 0x43756d
lea edi, [eax + eax]
mov eax, edi
call fcn.0054bbf0
mov esi, esp
test esi, esi
je 0x43756d
mov edx, dword [ebp - 0x1a024]
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
push edx
push 0
push 3
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
jmp 0x43756f
xor eax, eax
push eax
lea edx, [ebp - 0x810]
call fcn.004034a0
add esp, 4
push 0x3ff
lea eax, [ebp - 0x40f]
push 0
push eax
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 - 0xd418]
call fcn.00403050
mov edx, dword [ebx + 0x14]
push 0x5a5024
push edx
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0xd018]
push str.http:__pc.mapps.m1905.cn_Tvb_search_title_sorderhitsweekpage_dpagesize20clientType4_0versioncode_s
push ecx
mov dword [ebp - 0xd418], 0x544547
call fcn.00546876
lea edx, [ebp - 0xa818]
add esp, 0x14
push edx
call fcn.00404b10
mov eax, dword [ebp + 8]
add esp, 4
mov ebx, eax
test eax, eax
jne 0x437607
mov dword [ebp - 0x1a024], eax
jmp 0x43764c
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jg 0x437644
lea edi, [eax + eax]
mov eax, edi
call fcn.0054bbf0
mov esi, esp
test esi, esi
je 0x437644
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
push ebx
push 0
push 3
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
jmp 0x437646
xor eax, eax
mov dword [ebp - 0x1a024], eax
push 0x5a52f8
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jg 0x437693
lea edi, [eax + eax]
mov eax, edi
call fcn.0054bbf0
mov esi, esp
test esi, esi
je 0x437693
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 0x437695
xor ebx, ebx
push str.1905Cache1
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jg 0x4376da
lea edi, [eax + eax]
mov eax, edi
call fcn.0054bbf0
mov esi, esp
test esi, esi
je 0x4376da
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 0x4376dc
xor eax, eax
mov ecx, dword [ebp - 0x1a028]
mov edx, dword [ecx + 0x14]
mov ecx, dword [ebp - 0x1a024]
push edx
push ecx
push ebx
push eax
lea edx, [ebp - 0x410]
push edx
push str._s_s_sSearchResult_s__d.xml
lea eax, [ebp - 0x8018]
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 dword [ebp - 0x3018], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3014], 0x402
mov ebx, eax
test eax, eax
je 0x437770
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jg 0x437770
lea edi, [eax + eax]
mov eax, edi
call fcn.0054bbf0
mov esi, esp
test esi, esi
je 0x437770
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
push ebx
push 0
push 3
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
jmp 0x437772
xor eax, eax
lea ecx, [ebp - 0x8018]
push ecx
push eax
push 0x11
lea edx, [ebp - 0x3010]
push str.type_dkeyname_s_saveFile_s
push edx
call fcn.00546876
add esp, 0x14
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.004028a0
lea esi, [ebp - 0x1a020]
call fcn.00403050
lea eax, [ebp - 0xd018]
push eax
push 0x5ea428
push 0x5a5024
push 0x5ea828
push 0x5eb028
push 0x5ea028
lea ecx, [ebp - 0x19c20]
push str.http:___s__mfilmasearchos_sdid_sappid1700verid_spid_scidstepposidurl_s
push ecx
mov dword [ebp - 0x1a020], 0x544547
call fcn.00546876
add esp, 0x20
push 0x5a52f8
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jg 0x43783e
lea edi, [eax + eax]
mov eax, edi
call fcn.0054bbf0
mov esi, esp
test esi, esi
je 0x43783e
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 0x437840
xor ebx, ebx
push str.1905Cache1
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jg 0x437885
lea edi, [eax + eax]
mov eax, edi
call fcn.0054bbf0
mov esi, esp
test esi, esi
je 0x437885
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 0x437887
xor eax, eax
push ebx
push eax
lea edx, [ebp - 0x410]
push edx
push str._s_s_sTongJiSearch.xml
lea eax, [ebp - 0x14c20]
push 0x2800
push eax
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
lea ecx, [ebp - 0xfc18]
push str.type_d
push ecx
mov dword [ebp - 0xfc20], eax
mov dword [ebp - 0xfc1c], 0x402
call fcn.00546876
add esp, 0xc
mov eax, 0xcc08
lea esi, [ebp - 0x1a020]
call fcn.0054a430
mov edi, esp
mov ecx, 0x3302
rep movsd dword es:[edi], dword [esi]
call fcn.00410290
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43791e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esp, [ebp - 0x1a038]
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 8