Function at 0x42e9a0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a044c
mov eax, dword fs:[0]
push eax
sub esp, 0x474
mov eax, dword [0x4c9890]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x424], ax
lea eax, [ebp - 0x422]
push eax
mov dword [ebp - 0x458], ebx
xor esi, esi
call fcn.004866f0
add esp, 0xc
lea eax, [ebp - 0x424]
push eax
push esi
push esi
push 0x1c
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x42ec61
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
call fcn.004866f0
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x21c]
push str._sGoogleChromeUser_DataDefaultCookies
push eax
call fcn.00424c20
add esp, 0x18
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42ec61
lea ecx, [ebp - 0x464]
mov dword [ebp - 4], esi
call fcn.004305a0
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x454]
mov byte [ebp - 4], 1
call fcn.004146f0
lea eax, [ebp - 0x454]
push eax
lea eax, [ebp - 0x43c]
push eax
mov byte [ebp - 4], 2
call fcn.0042fa80
add esp, 8
cmp dword [ebp - 0x428], 0x10
lea eax, [ebp - 0x43c]
cmovae eax, dword [ebp - 0x43c]
push eax
lea ecx, [ebp - 0x464]
mov byte [ebp - 4], 3
call fcn.00430d10
push str.select_value_from_cookies_where_host_key_.uu.cyberlink.com__and_name_session_id_
lea eax, [ebp - 0x480]
push eax
lea ecx, [ebp - 0x464]
call fcn.00430b50
mov byte [ebp - 4], 4
lea esp, [esp]
lea ecx, [ebp - 0x480]
call fcn.00430960
lea ecx, [ebp - 0x480]
test al, al
jne 0x42eb9d
push 0
call fcn.00430be0
mov edi, eax
test edi, edi
jne 0x42eb0a
xor esi, esi
jmp 0x42eb59
mov ecx, edi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42eb10
sub ecx, edx
lea ebx, [ecx + 1]
cmp ebx, 0x3fffffff
jg 0x42eb51
lea eax, [ebx + ebx]
call fcn.0048aea0
mov esi, esp
mov dword [ebp - 0x10], esp
test esi, esi
je 0x42eb51
push ebx
push esi
push 0xffffffffffffffff
xor eax, eax
push edi
push eax
push 3
mov word [esi], ax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
test eax, eax
cmove esi, ecx
jmp 0x42eb53
xor esi, esi
mov ebx, dword [ebp - 0x458]
cmp word [esi], 0
jne 0x42eb63
xor ecx, ecx
jmp 0x42eb7f
mov ecx, esi
lea edx, [ecx + 2]
jmp 0x42eb70
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42eb70
sub ecx, edx
sar ecx, 1
push ecx
push esi
mov ecx, ebx
call fcn.00422060
lea ecx, [ebp - 0x480]
call fcn.00430ca0
mov esi, 1
jmp 0x42eae0
mov byte [ebp - 4], 3
call fcn.00430730
cmp dword [ebp - 0x428], 0x10
jb 0x42ebbd
push dword [ebp - 0x43c]
call fcn.00486409
add esp, 4
cmp dword [ebp - 0x440], 8
mov dword [ebp - 0x428], 0xf
mov dword [ebp - 0x42c], 0
mov byte [ebp - 0x43c], 0
jb 0x42ebef
push dword [ebp - 0x454]
call fcn.00486409
add esp, 4
xor eax, eax
lea ecx, [ebp - 0x464]
mov dword [ebp - 0x440], 7
mov dword [ebp - 0x444], 0
mov word [ebp - 0x454], ax
mov byte [ebp - 4], al
call fcn.004306a0
cmp dword [ebx + 0x14], 8
mov dword [ebp - 4], 0xffffffff
jb 0x42ec29
mov ebx, dword [ebx]
push ebx
push str.CInternal::readChromeCookie
push str._UNO___s___s
call fcn.00422df0
add esp, 0xc
mov eax, esi
jmp 0x42ec63
xor eax, eax
lea esp, [ebp - 0x490]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00487c50
mov esp, ebp
pop ebp
ret 4