Function at 0x42cae0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x573f6d
mov eax, dword fs:[0]
push eax
mov eax, 0x5414
call fcn.0054a430
mov eax, dword [0x5dbcc8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x27ff
lea eax, [ebp - 0x5413]
push 0
push eax
mov byte [ebp - 0x5414], 0
call fcn.00549e40
add esp, 0xc
push 0x27ff
lea ecx, [ebp - 0x2c13]
push 0
push ecx
mov byte [ebp - 0x2c14], 0
call fcn.00549e40
add esp, 0xc
push 0x3ff
lea edx, [ebp - 0x413]
push 0
push edx
mov byte [ebp - 0x414], 0
call fcn.00549e40
add esp, 0xc
push 1
push 0x23
lea eax, [ebp - 0x414]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x42cc57
mov ecx, dword [esi + 0x38]
mov eax, dword [esi + 0x48]
push ecx
push ecx
sub eax, 0x10
mov dword [ebp - 0x5418], esp
mov edi, esp
push eax
call fcn.0040d710
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.004047d0
add esp, 4
push eax
mov eax, dword [esi + 0x68]
push ecx
sub eax, 0x10
mov dword [ebp - 0x5418], esp
mov edi, esp
push eax
call fcn.0040d710
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.004047d0
add esp, 4
push eax
mov eax, dword [esi + 0x5c]
push ecx
sub eax, 0x10
mov dword [ebp - 0x5418], esp
mov edi, esp
push eax
call fcn.0040d710
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.004047d0
add esp, 4
push eax
mov eax, dword [esi + 0x3c]
push ecx
sub eax, 0x10
mov dword [ebp - 0x5418], esp
mov edi, esp
push eax
call fcn.0040d710
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.004047d0
add esp, 4
push eax
mov eax, dword [esi + 0x50]
push ecx
sub eax, 0x10
mov dword [ebp - 0x5418], esp
mov edi, esp
push eax
call fcn.0040d710
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.004047d0
add esp, 4
push eax
push str.film
push str.Insert_into_LookedTableNew_Type__LookedTime__FilmID__Title__AddTime__ImgAddr__TotalTimes__FilmType__values__s___s___s___s__datetime_now_localtime____s___s___d__
jmp 0x42cd84
cmp eax, 1
jne 0x42cd92
mov eax, dword [esi + 0x130]
push ecx
sub eax, 0x10
mov dword [ebp - 0x5418], esp
mov edi, esp
push eax
call fcn.0040d710
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.004047d0
add esp, 4
push eax
mov eax, dword [esi + 0x124]
push ecx
sub eax, 0x10
mov dword [ebp - 0x5418], esp
mov edi, esp
push eax
call fcn.0040d710
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.004047d0
add esp, 4
push eax
mov eax, dword [esi + 0xf0]
push ecx
sub eax, 0x10
mov dword [ebp - 0x5418], esp
mov edi, esp
push eax
call fcn.0040d710
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.004047d0
add esp, 4
push eax
mov eax, dword [esi + 0xec]
push ecx
sub eax, 0x10
mov dword [ebp - 0x5418], esp
mov edi, esp
push eax
call fcn.0040d710
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.004047d0
add esp, 4
push eax
mov eax, dword [esi + 0xe4]
push ecx
sub eax, 0x10
mov dword [ebp - 0x5418], esp
mov edi, esp
push eax
call fcn.0040d710
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.004047d0
add esp, 4
push eax
mov eax, dword [esi + 0x128]
push ecx
sub eax, 0x10
mov dword [ebp - 0x5418], esp
mov edi, esp
push eax
call fcn.0040d710
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.004047d0
add esp, 4
push eax
push ecx
mov dword [ebp - 0x5418], esp
mov edi, esp
mov eax, dword [esi + 0xe0]
sub eax, 0x10
push eax
call fcn.0040d710
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.004047d0
add esp, 4
push eax
push str.Insert_into_LookedTableNew_Type__EposideID__FilmID__Title__AddTime__ImgAddr__ThirdID__EposideNum__values__s___s___s___s__datetime_now_localtime____s___s___s__
lea edx, [ebp - 0x5414]
call fcn.0042ec50
add esp, 0x20
push str.1905Cache2
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jg 0x42cdd7
lea ebx, [eax + eax]
mov eax, ebx
call fcn.0054bbf0
mov edi, esp
test edi, edi
je 0x42cdd7
push 0
push 0
push ebx
push edi
push 0xffffffffffffffff
push str.1905Cache2
push 0
push 3
mov byte [edi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, edi
jmp 0x42cdd9
xor eax, eax
push str.LocalData.db
push eax
lea edx, [ebp - 0x414]
push edx
lea eax, [ebp - 0x2c14]
push str._s_s_s
push eax
call fcn.00546876
add esp, 0x14
lea ecx, [ebp - 0x5418]
push ecx
lea edx, [ebp - 0x2c14]
xor edi, edi
push edx
mov dword [ebp - 0x5418], edi
call dword [sym.imp.sqlite3.dll_sqlite3_open]
add esp, 8
test eax, eax
jne 0x42ce60
mov edx, dword [ebp - 0x5418]
lea eax, [ebp - 0x541c]
push eax
push esi
push edi
lea ecx, [ebp - 0x5414]
push ecx
push edx
mov dword [ebp - 0x541c], edi
call dword [sym.imp.sqlite3.dll_sqlite3_exec]
add esp, 0x14
test eax, eax
je 0x42ce50
mov eax, dword [ebp - 0x5418]
push eax
jmp 0x42ce57
mov ecx, dword [ebp - 0x5418]
push ecx
call dword [sym.imp.sqlite3.dll_sqlite3_close]
add esp, 4
call fcn.004457a5
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x42ce7a
push 0x80004005
call fcn.0040d6e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x5418], eax
mov dword [ebp - 4], edi
mov ebx, dword [sym.imp.DuiLib_u.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
cmp dword [ebp + 8], edi
je 0x42cf5b
cmp dword [ebp + 0xc], 0
jne 0x42d047
mov eax, 1
add dword [esi + 0x2c], eax
add dword [esi + 0x28], eax
mov eax, dword [esi + 0x28]
push eax
lea ecx, [ebp - 0x5418]
push 0x5a55b0
push ecx
call fcn.0040cb10
mov ecx, dword [0x5e5028]
add esp, 0xc
push str.LookedText
call ebx
mov edi, eax
test edi, edi
je 0x42d047
lea edx, [ebp - 0x5418]
push edx
lea eax, [ebp - 0x5420]
push str._vw_
push eax
call fcn.0041bb90
add esp, 0xc
push 0x5aba14
push eax
lea ecx, [ebp - 0x541c]
push ecx
mov byte [ebp - 4], 1
call fcn.0040d090
add esp, 0xc
push eax
lea ecx, [ebp - 0x5418]
mov byte [ebp - 4], 2
call fcn.0040d610
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x541c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42cf4c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x5420]
jmp 0x42d01b
cmp dword [ebp + 0xc], 0
je 0x42d047
inc dword [esi + 0x2c]
cmp dword [esi + 0x2c], 0x3c
jle 0x42cf75
mov dword [esi + 0x2c], 0x3c
dec dword [esi + 0x30]
mov eax, dword [esi + 0x30]
push eax
lea eax, [ebp - 0x5418]
push 0x5a55b0
push eax
call fcn.0040cb10
mov ecx, dword [0x5e5028]
add esp, 0xc
push str.LookedEalier
call ebx
mov edi, eax
test edi, edi
je 0x42d047
lea ecx, [ebp - 0x5418]
push ecx
lea edx, [ebp - 0x541c]
push 0x5ab720
push edx
call fcn.0041bb90
add esp, 0xc
push 0x5aba14
push eax
lea eax, [ebp - 0x5420]
push eax
mov byte [ebp - 4], 3
call fcn.0040d090
add esp, 0xc
push eax
lea ecx, [ebp - 0x5418]
mov byte [ebp - 4], 4
call fcn.0040d610
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x5420]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d011
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x541c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d037
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x5418]
mov edx, dword [edi]
mov edx, dword [edx + 0x2c]
push eax
mov ecx, edi
call edx
mov eax, dword [esi + 0x2c]
push eax
lea ecx, [ebp - 0x5418]
push 0x5a55b0
push ecx
call fcn.0040cb10
mov ecx, dword [0x5e5028]
add esp, 0xc
push 0x5ab728
call ebx
mov edi, eax
test edi, edi
je 0x42d116
lea edx, [ebp - 0x5418]
push edx
lea eax, [ebp - 0x541c]
push 0x5ab740
push eax
call fcn.0041bb90
add esp, 0xc
push 0x5aba14
push eax
lea ecx, [ebp - 0x5420]
mov bl, 5
push ecx
mov byte [ebp - 4], bl
call fcn.0040d090
add esp, 0xc
push eax
lea ecx, [ebp - 0x5418]
mov byte [ebp - 4], 6
call fcn.0040d610
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x5420]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42d0e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x541c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d106
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [edi]
mov eax, dword [ebp - 0x5418]
mov edx, dword [edx + 0x2c]
push eax
mov ecx, edi
call edx
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [esi + 0x38]
push ecx
push 1
mov ecx, esi
call fcn.0042d840
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x5418]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42d150
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esp, [ebp - 0x542c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00545eb2
mov esp, ebp
pop ebp
ret 0xc