Function at 0x439a09
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55edb6
mov eax, dword fs:[0]
push eax
sub esp, 0x344
mov eax, dword [0x5a0440]
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 - 0x1e4], ebx
lea ecx, [ebp - 0x188]
mov dword [ebp - 0x1e0], 0
call fcn.0040b8d9
mov dword [ebp - 4], 0
lea eax, [ebp - 0x188]
cmp dword [ebp - 0x174], 8
mov dword [ebp - 0x178], 0
cmovae eax, dword [ebp - 0x188]
xor ecx, ecx
push ecx
push 0x587d5f
mov word [eax], cx
mov dword [ebp - 0x120], ecx
mov byte [ebp - 0x130], cl
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x11c], 0xf
call fcn.00409a49
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x148]
push 0
push 0x587d5f
mov dword [ebp - 0x134], 0xf
mov dword [ebp - 0x138], 0
mov byte [ebp - 0x148], 0
call fcn.00409a49
push 0x104
lea eax, [ebp - 0x118]
mov byte [ebp - 4], 2
push 0
push eax
call fcn.004c2179
add esp, 0xc
lea eax, [ebp - 0x118]
push 1
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
js 0x439b29
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x130]
call fcn.0040b549
push str.SogouExplorerHistoryUrl3.db
lea ecx, [ebp - 0x130]
call fcn.0040c559
cmp dword [ebp - 0x11c], 0x10
lea eax, [ebp - 0x130]
cmovae eax, dword [ebp - 0x130]
mov dword [ebp - 0x1dc], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x1d8], eax
lea eax, [ebp - 0x1dc]
push eax
lea eax, [ebp - 0x160]
push eax
call fcn.004b0929
add esp, 8
push eax
lea ecx, [ebp - 0x1b8]
mov byte [ebp - 4], 9
call fcn.004b0bb9
push eax
lea ecx, [ebp - 0x188]
mov byte [ebp - 4], 0xa
call fcn.004b0be9
lea ecx, [ebp - 0x1b8]
mov byte [ebp - 4], 9
call fcn.0040ab79
mov byte [ebp - 4], 2
cmp dword [ebp - 0x14c], 8
jb 0x439baf
push dword [ebp - 0x160]
call fcn.004befe9
add esp, 4
xor eax, eax
mov dword [ebp - 0x14c], 7
mov word [ebp - 0x160], ax
lea eax, [ebp - 0x188]
push eax
mov dword [ebp - 0x150], 0
call fcn.004b1af9
add esp, 4
mov byte [ebp - 0x1d1], al
cmp dword [ebp - 0x134], 0x10
jb 0x439bf8
push dword [ebp - 0x148]
call fcn.004befe9
add esp, 4
cmp dword [ebp - 0x11c], 0x10
mov dword [ebp - 0x134], 0xf
mov dword [ebp - 0x138], 0
mov byte [ebp - 0x148], 0
jb 0x439c2a
push dword [ebp - 0x130]
call fcn.004befe9
add esp, 4
cmp byte [ebp - 0x1d1], 0
je 0x43a4c4
mov eax, dword [ebx + 0x34]
cmp eax, dword [ebx + 0x38]
je 0x43a4c4
mov edi, dword [ebx + 0x38]
mov esi, eax
mov dword [ebp - 0x348], 0x589fa0
mov dword [ebp - 0x338], 0x589f98
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
push 0
lea eax, [ebp - 0x330]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x348]
mov dword [ebp - 0x1e0], 1
call fcn.00419479
mov dword [ebp - 4], 0xc
mov eax, dword [ebp - 0x348]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x348]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x34c], eax
lea ecx, [ebp - 0x330]
call fcn.00419e99
mov dword [ebp - method.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0x2f8], 0
mov dword [ebp - 0x2f4], 0
lea eax, [ebp - 0x338]
mov byte [ebp - 4], 0xe
push str.SELECT_last_title_FROM_UserRankUrl_where
push eax
call fcn.0041aa39
add esp, 8
lea eax, [ebp - 0x338]
push 0x58b388
push ecx
push esi
push ecx
push str._id_like___
push eax
call fcn.0041aa39
add esp, 0xc
push eax
call fcn.0041ace9
add esp, 0xc
push eax
call fcn.0041aa39
add esi, 0x18
add esp, 8
cmp esi, edi
je 0x439d75
lea eax, [ebp - 0x338]
push str._or
push eax
call fcn.0041aa39
add esp, 8
lea eax, [ebp - 0x338]
push 0x58b388
push ecx
push esi
push ecx
push str.id_like___
push eax
call fcn.0041aa39
add esp, 0xc
push eax
call fcn.0041ace9
add esp, 0xc
push eax
call fcn.0041aa39
add esi, 0x18
add esp, 8
cmp esi, edi
jne 0x439d2c
mov eax, dword [ebx + 0x34]
cmp eax, dword [ebx + 0x38]
je 0x439d91
lea eax, [ebp - 0x338]
push str.__and
push eax
call fcn.0041aa39
add esp, 8
lea eax, [ebp - 0x1b8]
push eax
lea ecx, [ebp - 0x348]
call fcn.004190c9
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x1dc]
mov dword [ebp - 0x1dc], 0
mov dword [ebp - 0x1d8], 0
call fcn.0042a559
mov dword [ebp - 0x1dc], eax
mov esi, dword [ebx + 0x14]
mov edi, dword [ebx + 0x18]
mov dword [ebp - 0x298], 0x589fa0
mov dword [ebp - 0x288], 0x589f98
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
push 0
lea eax, [ebp - 0x280]
mov byte [ebp - 4], 0x11
push eax
lea ecx, [ebp - 0x298]
mov dword [ebp - 0x1e0], 3
call fcn.00419479
mov dword [ebp - 4], 0x12
mov eax, dword [ebp - 0x298]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x298]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x29c], eax
lea ecx, [ebp - 0x280]
call fcn.00419e99
mov dword [ebp - method.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 0
mov byte [ebp - 4], 0x14
cmp esi, edi
je 0x43a0f6
lea esp, [esp]
push 0x58b590
push ecx
push esi
push ecx
lea eax, [ebp - 0x288]
push str._title_like___
push eax
call fcn.0041aa39
add esp, 0xc
push eax
call fcn.0041ace9
add esp, 0xc
push eax
call fcn.0041aa39
add esp, 8
lea eax, [ebp - 0x1a0]
lea ecx, [ebp - 0x298]
push eax
call fcn.004190c9
mov ebx, eax
lea eax, [ebp - 0x148]
mov byte [ebp - 4], 0x15
push eax
lea ecx, [ebp - 0x348]
call fcn.004190c9
push ebx
push eax
lea eax, [ebp - 0x160]
mov byte [ebp - 4], 0x16
push eax
call fcn.0043b3b9
add esp, 0xc
push str._order_by_last_desc
push eax
lea eax, [ebp - 0x1d0]
mov byte [ebp - 4], 0x17
push eax
call fcn.0040c349
add esp, 0xc
cmp dword [ebp - 0x14c], 0x10
jb 0x439f16
push dword [ebp - 0x160]
call fcn.004befe9
add esp, 4
mov dword [ebp - 0x14c], 0xf
mov dword [ebp - 0x150], 0
mov byte [ebp - 0x160], 0
cmp dword [ebp - 0x134], 0x10
jb 0x439f48
push dword [ebp - 0x148]
call fcn.004befe9
add esp, 4
mov dword [ebp - 0x134], 0xf
mov dword [ebp - 0x138], 0
mov byte [ebp - 0x148], 0
mov byte [ebp - 4], 0x1b
cmp dword [ebp - 0x18c], 0x10
jb 0x439f7e
push dword [ebp - 0x1a0]
call fcn.004befe9
add esp, 4
push esi
lea ecx, [ebp - 0x1dc]
mov dword [ebp - 0x18c], 0xf
mov dword [ebp - 0x190], 0
mov byte [ebp - 0x1a0], 0
call fcn.00435a09
lea ecx, [ebp - 0x1d0]
cmp eax, ecx
je 0x439fbb
push 0xffffffffffffffff
push 0
push ecx
mov ecx, eax
call fcn.00409ec9
mov eax, dword [ebp - 0x298]
lea ecx, [ebp - 0x298]
mov edx, 4
push 0
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
cmove eax, edx
push eax
call fcn.0041c749
push 0
push 0x587d5f
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x11c], 0xf
mov dword [ebp - 0x120], 0
mov byte [ebp - 0x130], 0
call fcn.00409a49
mov byte [ebp - 4], 0x1c
test byte [ebp - 0x244], 1
je 0x43a02b
mov eax, dword [ebp - 0x274]
push dword [eax]
call fcn.004befe9
add esp, 4
mov eax, dword [ebp - 0x274]
lea ecx, [ebp - 0x130]
mov dword [eax], 0
mov eax, dword [ebp - 0x264]
mov dword [eax], 0
mov eax, dword [ebp - 0x254]
mov dword [eax], 0
mov eax, dword [ebp - 0x270]
mov dword [eax], 0
mov eax, dword [ebp - 0x260]
mov dword [eax], 0
mov eax, dword [ebp - 0x250]
mov dword [eax], 0
mov eax, dword [ebp - 0x244]
and eax, 0xfffffffe
mov dword [ebp - 0x248], 0
cmp dword [ebp - 0x11c], 0x10
push eax
cmovae ecx, dword [ebp - 0x130]
push dword [ebp - 0x120]
mov dword [ebp - 0x244], eax
push ecx
lea ecx, [ebp - 0x280]
call fcn.00419f29
cmp dword [ebp - 0x11c], 0x10
jb 0x43a0ca
push dword [ebp - 0x130]
call fcn.004befe9
add esp, 4
mov byte [ebp - 4], 0x14
cmp dword [ebp - 0x1bc], 0x10
jb 0x43a0e5
push dword [ebp - 0x1d0]
call fcn.004befe9
add esp, 4
add esi, 0x18
cmp esi, edi
jne 0x439e79
mov ebx, dword [ebp - 0x1e4]
cmp dword [ebp - 0x1d8], 0
je 0x43a2e1
xor eax, eax
mov dword [ebp - 0x11c], 7
mov dword [ebp - 0x120], 0
mov word [ebp - 0x130], ax
mov byte [ebp - 4], 0x1d
lea edx, [ebp - 0x188]
cmp dword [ebp - 0x174], 8
mov dword [ebp - 0x134], 7
cmovae edx, dword [ebp - 0x188]
mov dword [ebp - 0x138], eax
mov word [ebp - 0x148], ax
cmp word [edx], ax
jne 0x43a158
xor ecx, ecx
jmp 0x43a16c
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43a15d
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x148]
call fcn.0040b779
lea eax, [ebp - 0x130]
mov byte [ebp - 4], 0x1e
push eax
lea eax, [ebp - 0x148]
push eax
call fcn.00445279
add esp, 8
mov byte [ebp - 4], 0x1d
cmp dword [ebp - 0x134], 8
mov byte [ebp - 0x1d1], al
jb 0x43a1ba
push dword [ebp - 0x148]
call fcn.004befe9
mov al, byte [ebp - 0x1d1]
add esp, 4
test al, al
je 0x43a2ca
lea ecx, [ebp - 0x170]
call fcn.004a8069
mov dword [ebp - method.CKwDBOperation.virtual_0], vtable.CKwDBOperation.0
lea eax, [ebp - 0x130]
mov byte [ebp - 4], 0x1f
push eax
lea ecx, [ebp - 0x1a0]
call fcn.004b0bb9
push 0
lea eax, [ebp - 0x1a0]
mov byte [ebp - 4], 0x20
push eax
lea ecx, [ebp - 0x170]
call fcn.004a8d19
lea ecx, [ebp - 0x170]
call fcn.004a9019
test al, al
je 0x43a286
mov edi, dword [ebp - 0x1dc]
mov esi, dword [edi]
cmp esi, edi
je 0x43a286
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebx + 0x70]
lea eax, [ebx + 4]
push eax
lea eax, [esi + 0x10]
push eax
lea eax, [esi + 0x28]
push eax
lea ecx, [ebp - 0x170]
call fcn.0042ce99
cmp byte [esi + 0xd], 0
jne 0x43a282
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x43a267
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x43a282
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x43a25b
jmp 0x43a282
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x43a280
cmp esi, dword [eax + 8]
jne 0x43a280
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x43a270
mov esi, eax
cmp esi, edi
jne 0x43a220
lea ecx, [ebp - 0x170]
call fcn.004a8bc9
lea eax, [ebp - 0x1a0]
push 0
push eax
call fcn.004b1899
add esp, 8
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x1a0]
call fcn.0040ab79
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x170]
mov dword [ebp - method.CKwDBOperation.virtual_0], vtable.CKwDBOperation.0
call fcn.004a82a9
cmp dword [ebp - 0x11c], 8
jb 0x43a2e1
push dword [ebp - 0x130]
call fcn.004befe9
add esp, 4
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x298]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x298]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x29c], eax
lea ecx, [ebp - 0x280]
call fcn.00418849
mov eax, dword [ebp - 0x298]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_iostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x298]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ebp + ecx - 0x29c], eax
mov eax, dword [ebp - 0x288]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x288]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x28c], eax
mov eax, dword [ebp - 0x298]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x298]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x29c], eax
lea eax, [ebp - 0x230]
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004be525
mov eax, dword [ebp - 0x1dc]
lea ecx, [ebp - 0x1dc]
add esp, 4
push eax
push dword [eax]
lea eax, [ebp - 0x1e4]
push eax
call fcn.004294e9
push dword [ebp - 0x1dc]
call fcn.004befe9
add esp, 4
cmp dword [ebp - 0x1a4], 0x10
jb 0x43a3e5
push dword [ebp - 0x1b8]
call fcn.004befe9
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x348]
mov dword [ebp - 0x1a4], 0xf
mov dword [ebp - 0x1a8], 0
mov byte [ebp - 0x1b8], 0
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x348]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x34c], eax
lea ecx, [ebp - 0x330]
call fcn.00418849
mov eax, dword [ebp - 0x348]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_iostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x348]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ebp + ecx - 0x34c], eax
mov eax, dword [ebp - 0x338]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x338]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x33c], eax
mov eax, dword [ebp - 0x348]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x348]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x34c], eax
lea eax, [ebp - 0x2e0]
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004be525
add esp, 4
lea ecx, [ebp - 0x188]
mov dword [ebp - 4], 0xffffffff
call fcn.0040ab79
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.004befee
mov esp, ebp
pop ebp
ret