Function at 0x49f030
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x569fb3
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x5d6b80]
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 eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x18]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
mov dword [ebp - 0xc0], ecx
mov ecx, eax
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xbc], edi
mov dword [ebp - 0xb4], 0
call fcn.0045abd0
mov ecx, edi
call fcn.0045abd0
mov ecx, dword [ebp - 0xc0]
call fcn.0045abd0
cmp dword [ebx + 4], 0
je 0x49f67c
lea ecx, [ebp - 0x8c]
call fcn.004cc970
mov eax, dword [esi]
mov dword [ebp - 4], 0
cmp dword [eax - 0xc], 0
je 0x49f66a
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x49f66a
push esi
lea ecx, [ebp - 0x8c]
call fcn.004ce1d0
mov eax, dword [ebp - 0x8c]
lea ecx, [ebp - 0x8c]
push dword [0x5893f8]
mov eax, dword [eax + 4]
call eax
test al, al
je 0x49f66a
xorps xmm0, xmm0
movlpd qword [ebp - 0xe0], xmm0
movlpd qword [ebp - 0xd4], xmm0
call fcn.0045adc0
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x49f139
push 0x80004005
call fcn.0045a8f0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0xe8], esi
mov byte [ebp - 4], 1
call fcn.0045adc0
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x49f167
push 0x80004005
call fcn.0045a8f0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0xa4], ebx
mov byte [ebp - 4], 2
call fcn.0045adc0
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x49f195
push 0x80004005
call fcn.0045a8f0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa0], eax
mov byte [ebp - 4], 3
call fcn.0045adc0
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x49f1c3
push 0x80004005
call fcn.0045a8f0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0xb0], edi
mov ecx, dword [ebp - 0x94]
xor eax, eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x98], eax
cmp dword [ecx + 4], eax
jle 0x49f5ef
mov eax, dword [ebp - 0xdc]
xor esi, esi
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xa8], eax
mov edi, edi
call fcn.0045adc0
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
je 0x49f12f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0x94]
mov byte [ebp - 4], 5
cmp esi, dword [eax + 4]
jae 0x49f6a0
mov eax, dword [eax]
lea ecx, [esi*4]
push dword [eax + ecx]
lea eax, [ebp - 0xcc]
push str._extensions_settings__s_state
push eax
call fcn.0045acb0
add esp, 0xc
mov dword [ebp - 0x90], 0
lea eax, [ebp - 0x90]
push eax
mov eax, dword [ebp - 0xcc]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
mov dword [ebp - 0xdc], eax
call fcn.0045a950
add eax, 0x10
add esp, 4
mov dword [esi], eax
lea eax, [ebp - 0x8c]
push eax
call fcn.004a0d60
add esp, 0xc
test eax, eax
je 0x49f5ac
cmp dword [ebp - 0x90], 1
jne 0x49f5ac
call fcn.0045adc0
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
je 0x49f12f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xb8], eax
mov ebx, dword [ebp - 0x94]
mov esi, dword [ebp - 0x98]
mov byte [ebp - 4], 6
cmp esi, dword [ebx + 4]
jae 0x49f6a0
mov eax, dword [ebx]
lea ecx, [esi*4]
push dword [eax + ecx]
lea eax, [ebp - 0xb8]
push str._extensions_settings__s_manifest_chrome_settings_overrides_search_provider_name
push eax
call fcn.0045acb0
add esp, 0xc
call fcn.0045adc0
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
je 0x49f12f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xc4], eax
mov byte [ebp - 4], 7
cmp esi, dword [ebx + 4]
jae 0x49f6a0
mov eax, dword [ebx]
lea ecx, [esi*4]
push dword [eax + ecx]
lea eax, [ebp - 0xc4]
push str._extensions_settings__s_manifest_chrome_settings_overrides_search_provider_search_url
push eax
call fcn.0045acb0
add esp, 0xc
call fcn.0045adc0
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
je 0x49f12f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x90], eax
mov byte [ebp - 4], 8
cmp esi, dword [ebx + 4]
jae 0x49f6a0
mov eax, dword [ebx]
lea ecx, [esi*4]
push dword [eax + ecx]
lea eax, [ebp - 0x90]
push str._extensions_settings__s_install_time
push eax
call fcn.0045acb0
add esp, 0xc
lea eax, [ebp - 0xa4]
push eax
mov eax, dword [ebp - 0xb8]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
mov dword [ebp - 0xd0], eax
call fcn.0045a950
add eax, 0x10
add esp, 4
mov dword [esi], eax
lea eax, [ebp - 0x8c]
push eax
call fcn.004a33e0
mov ebx, dword [ebp - 0xa4]
add esp, 0xc
mov esi, dword [ebp - 0xc4]
test eax, eax
je 0x49f549
cmp dword [ebx - 0xc], 0
je 0x49f549
lea eax, [ebp - 0xa0]
push eax
push ecx
lea eax, [esi - 0x10]
mov dword [ebp - 0xac], esp
push eax
call fcn.0045a950
mov ecx, dword [ebp - 0xac]
add eax, 0x10
add esp, 4
mov dword [ecx], eax
lea eax, [ebp - 0x8c]
push eax
call fcn.004a33e0
add esp, 0xc
test eax, eax
je 0x49f549
mov eax, dword [ebp - 0xa0]
cmp dword [eax - 0xc], 0
je 0x49f549
lea eax, [ebp - 0xb0]
push eax
push ecx
lea eax, [ebp - 0x90]
mov ecx, esp
push eax
call fcn.0045a370
lea eax, [ebp - 0x8c]
push eax
call fcn.004a33e0
mov edi, dword [ebp - 0xb0]
add esp, 0xc
test eax, eax
je 0x49f4b9
cmp dword [edi - 0xc], 0
je 0x49f4b9
push edi
call fcn.00527619
mov ecx, edx
mov dword [ebp - 0xa8], eax
add esp, 4
mov dword [ebp - 0x9c], ecx
jmp 0x49f4bf
mov ecx, dword [ebp - 0x9c]
mov eax, dword [ebp - 0xbc]
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
je 0x49f4e5
cmp ecx, dword [ebp - 0xd8]
jb 0x49f549
ja 0x49f4e5
mov eax, dword [ebp - 0xc8]
cmp dword [ebp - 0xa8], eax
jbe 0x49f549
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x94]
push eax
call fcn.0049d360
mov ecx, dword [ebp - 0xe4]
push eax
call fcn.0045a580
mov ecx, dword [ebp - 0xbc]
lea eax, [ebp - 0xa4]
push eax
call fcn.0045a580
mov ecx, dword [ebp - 0xc0]
lea eax, [ebp - 0xa0]
push eax
call fcn.0045a580
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xb4], 1
mov edx, dword [ebp - 0x90]
or ecx, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 7
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x49f56d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 6
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x49f58b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xd0]
or ecx, 0xffffffff
mov byte [ebp - 4], 5
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x49f5ac
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xdc]
or ecx, 0xffffffff
mov byte [ebp - 4], 4
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x49f5cd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x98]
mov eax, dword [ebp - 0x94]
inc esi
mov dword [ebp - 0x98], esi
cmp esi, dword [eax + 4]
jl 0x49f220
mov esi, dword [ebp - 0xe8]
lea edx, [edi - 0x10]
mov byte [ebp - 4], 3
or edi, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x49f60f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xa0]
mov ecx, edi
add edx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x49f632
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0xfffffff0
mov byte [ebp - 4], 1
mov ecx, edi
lea eax, [ebx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x49f64f
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x49f66a
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
lea ecx, [ebp - 0x8c]
mov dword [ebp - 4], 0xffffffff
call fcn.004ccab0
mov eax, dword [ebp - 0xb4]
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.00525878
mov esp, ebp
pop ebp
ret 0x14
push 0x80070057
call fcn.0045a8f0
int3