Function at 0x49fb70
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56a0ee
mov eax, dword fs:[0]
push eax
sub esp, 0xec
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 edi, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xf8], eax
mov eax, dword [edi]
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0xf0], edi
mov dword [ebp - 0xc4], 0
test eax, eax
je 0x49fbee
push dword [edi + 4]
push eax
call fcn.0045a910
push dword [edi]
call fcn.0052616f
add esp, 0xc
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
cmp dword [ebx + 4], 0
je 0x4a02c1
lea ecx, [ebp - 0x8c]
call fcn.004cc970
mov eax, dword [esi]
mov dword [ebp - 4], 0
cmp dword [eax - 0xc], 0
je 0x4a02af
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4a02af
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 0x4a02af
xorps xmm0, xmm0
movlpd qword [ebp - 0xbc], xmm0
call fcn.0045adc0
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x49fc85
push 0x80004005
call fcn.0045a8f0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0xd4], edi
mov byte [ebp - 4], 1
call fcn.0045adc0
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x49fcb3
push 0x80004005
call fcn.0045a8f0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0xa8], esi
mov byte [ebp - 4], 2
call fcn.0045adc0
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x49fce1
push 0x80004005
call fcn.0045a8f0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0xc0], ebx
mov ecx, dword [ebp - 0x98]
or edx, 0xffffffff
mov byte [ebp - 4], 3
mov dword [ebp - 0x94], 0
cmp dword [ecx + 4], 0
jle 0x4a0254
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xcc], eax
call fcn.0045adc0
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
je 0x49fc7b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x94]
mov byte [ebp - 4], 4
cmp ecx, dword [eax + 4]
jae 0x4a02e5
mov eax, dword [eax]
shl ecx, 2
mov dword [ebp - 0xa0], ecx
push dword [eax + ecx]
lea eax, [ebp - 0xc8]
push str._extensions_settings__s_state
push eax
call fcn.0045acb0
add esp, 0xc
mov dword [ebp - 0x9c], 0
lea eax, [ebp - 0x9c]
push eax
mov eax, dword [ebp - 0xc8]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x90], esp
push eax
mov dword [ebp - 0xb8], eax
call fcn.0045a950
mov ecx, dword [ebp - 0x90]
add eax, 0x10
add esp, 4
mov dword [ecx], eax
lea eax, [ebp - 0x8c]
push eax
call fcn.004a0d60
add esp, 0xc
test eax, eax
je 0x4a020c
cmp dword [ebp - 0x9c], 1
jne 0x4a020c
call fcn.0045adc0
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
je 0x49fc7b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x9c], eax
mov byte [ebp - 4], 5
call fcn.0045adc0
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
je 0x49fc7b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xac], eax
mov byte [ebp - 4], 6
call fcn.0045adc0
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
je 0x49fc7b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xb0], eax
mov edi, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x94]
mov byte [ebp - 4], 7
cmp ecx, dword [edi + 4]
jae 0x4a02e5
mov eax, dword [edi]
add eax, dword [ebp - 0xa0]
push dword [eax]
lea eax, [ebp - 0xb0]
push str._extensions_settings__s_manifest_chrome_settings_overrides_startup_pages
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 0x49fc7b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x94]
mov byte [ebp - 4], 8
cmp eax, dword [edi + 4]
jae 0x4a02e5
mov eax, dword [edi]
add eax, dword [ebp - 0xa0]
push dword [eax]
lea eax, [ebp - 0xa4]
push str._extensions_settings__s_install_time
push eax
call fcn.0045acb0
add esp, 0xc
xor ecx, ecx
mov dword [ebp - 0xb4], ecx
jmp 0x49fef6
mov edi, dword [ebp - 0x98]
mov eax, dword [ebp - 0x94]
cmp eax, dword [edi + 4]
jae 0x4a02e5
mov eax, dword [edi]
add eax, dword [ebp - 0xa0]
push ecx
push dword [eax]
lea eax, [ebp - 0x9c]
push str._extensions_settings__s_active_permissions_api__d__startupPages
push eax
call fcn.0045acb0
add esp, 0x10
lea eax, [ebp - 0xd4]
push eax
mov eax, dword [ebp - 0x9c]
push ecx
add eax, 0xfffffff0
mov edi, esp
push eax
call fcn.0045a950
add eax, 0x10
add esp, 4
mov dword [edi], eax
lea eax, [ebp - 0x8c]
push eax
call fcn.004a33e0
mov edi, dword [ebp - 0xd4]
add esp, 0xc
test eax, eax
je 0x4a0166
cmp dword [edi - 0xc], 0
je 0x4a0166
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0xc4], 1
cmp ecx, dword [eax + 4]
jae 0x4a02e5
mov eax, dword [eax]
add eax, dword [ebp - 0xa0]
push dword [ebp - 0xb4]
push dword [eax]
lea eax, [ebp - 0xac]
push str._extensions_settings__s_granted_permissions_api__d__startupPages
push eax
call fcn.0045acb0
add esp, 0x10
lea eax, [ebp - 0xa8]
push eax
mov eax, dword [ebp - 0xac]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
call fcn.0045a950
add eax, 0x10
add esp, 4
mov dword [esi], eax
lea eax, [ebp - 0x8c]
push eax
call fcn.004a33e0
mov esi, dword [ebp - 0xa8]
add esp, 0xc
test eax, eax
je 0x4a0166
cmp dword [esi - 0xc], 0
je 0x4a0166
push esi
push edi
call fcn.00526fc5
add esp, 8
test eax, eax
jne 0x4a0166
xorps xmm0, xmm0
mov dword [ebp - 0xec], eax
movlpd qword [ebp - 0xdc], xmm0
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xe0], eax
lea eax, [ebp - 0xec]
mov byte [ebp - 4], 9
push eax
mov eax, dword [ebp - 0xb0]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x90], esp
push eax
call fcn.0045a950
mov ecx, dword [ebp - 0x90]
add eax, 0x10
add esp, 4
mov dword [ecx], eax
lea eax, [ebp - 0x8c]
push eax
call fcn.0049d110
add esp, 0xc
cmp dword [ebp - 0xe8], 0
je 0x4a013e
lea eax, [ebp - 0xc0]
push eax
push ecx
lea eax, [ebp - 0xa4]
mov ecx, esp
push eax
call fcn.0045a370
lea eax, [ebp - 0x8c]
push eax
call fcn.004a33e0
mov ebx, dword [ebp - 0xc0]
add esp, 0xc
test eax, eax
je 0x4a00b9
cmp dword [ebx - 0xc], 0
je 0x4a00b9
push ebx
call fcn.00527619
add esp, 4
mov ecx, edx
jmp 0x4a00c5
mov ecx, dword [ebp - 0xd8]
mov eax, dword [ebp - 0xdc]
mov edx, dword [ebp - 0xf0]
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0x90], ecx
cmp dword [edx + 4], 0
je 0x4a00ef
cmp ecx, dword [ebp - 0xd0]
jb 0x4a013e
ja 0x4a00ef
cmp eax, dword [ebp - 0xcc]
jbe 0x4a013e
lea eax, [ebp - 0xec]
mov ecx, edx
push eax
call fcn.0049bdc0
mov eax, dword [ebp - 0xd8]
push dword [ebp - 0x94]
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0xd0], eax
call fcn.0049d360
mov ecx, dword [ebp - 0xf4]
push eax
call fcn.0045a580
mov eax, dword [ebp - 0xf8]
mov dword [eax], 1
mov eax, dword [ebp - 0xec]
mov byte [ebp - 4], 8
test eax, eax
je 0x4a0166
push dword [ebp - 0xe8]
push eax
call fcn.0045a910
push dword [ebp - 0xec]
call fcn.0052616f
add esp, 0xc
mov ecx, dword [ebp - 0xb4]
inc ecx
mov dword [ebp - 0xb4], ecx
cmp ecx, 5
jl 0x49fef0
mov edx, dword [ebp - 0xa4]
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 0x4a01a0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xb0]
or ecx, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 6
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4a01c4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xac]
or ecx, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 5
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4a01e8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x9c]
or ecx, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 4
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4a020c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0xb8]
or edx, 0xffffffff
mov byte [ebp - 4], 3
add eax, 0xc
mov ecx, edx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4a0238
mov edx, dword [ebp - 0xb8]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + 4]
or edx, 0xffffffff
mov ecx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x98]
inc ecx
mov dword [ebp - 0x94], ecx
cmp ecx, dword [eax + 4]
jl 0x49fd28
add ebx, 0xfffffff0
mov byte [ebp - 4], 2
mov ecx, edx
lea eax, [ebx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4a0274
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
or edx, 0xffffffff
add esi, 0xfffffff0
mov byte [ebp - 4], 1
mov ecx, edx
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4a0294
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
or edx, 0xffffffff
add edi, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edi + 0xc]
lock xadd dword [eax], edx
dec edx
test edx, edx
jg 0x4a02af
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
lea ecx, [ebp - 0x8c]
mov dword [ebp - 4], 0xffffffff
call fcn.004ccab0
mov eax, dword [ebp - 0xc4]
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