Function at 0x476720
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ba3ef
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x4ff1a0]
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 esi, ecx
xor ebx, ebx
mov dword [ebp - 0xf8], ebx
push 0x18
xor eax, eax
mov edi, 7
push str.GoogleChromeUser_Data
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x100], esi
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], ax
call fcn.0040e680
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x2c]
push ecx
call fcn.00410830
mov ecx, eax
call fcn.00411970
mov byte [ebp - 4], 2
cmp dword [ebp - 0x1c], ebx
jbe 0x476835
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x80]
push edx
lea ecx, [ebp - 0x2c]
call fcn.00410cb0
cmp dword [ebp - 0x1c], ebx
je 0x476835
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x4767c2
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
cmp al, bl
je 0x476835
lea ecx, [ebp - 0x2c]
xor eax, eax
push ecx
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
mov ecx, esi
mov word [esi], ax
call fcn.00409ad0
mov dword [ebp - 0xf8], 1
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], 8
jb 0x476809
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00490458
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], bl
cmp dword [ebp - 0x6c], 8
jb 0x47682a
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.00490458
add esp, 4
xor edx, edx
mov word [ebp - 0x80], dx
jmp 0x477006
push 0x33
xor eax, eax
push 0x4c4aa0
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], ax
call fcn.0040e680
mov byte [ebp - 4], 3
xor ecx, ecx
push 0xb
mov word [ebp - 0x48], cx
push str.DisplayIcon
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
call fcn.0040e680
mov byte [ebp - 4], 4
push 0x14
push str._htI4KeOucCdaDskfQk
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xa4], 0xf
mov dword [ebp - 0xa8], ebx
mov byte [ebp - 0xb8], bl
call fcn.0040ebe0
mov byte [ebp - 4], 5
lea edx, [ebp - 0xb8]
push edx
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0xfc], SysReAllocStringLen
call fcn.0040f440
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x9c]
push ecx
lea edx, [ebp - 0xd4]
push edx
mov ecx, eax
call fcn.00427360
add esp, 0x10
mov esi, eax
mov byte [ebp - 4], 7
call fcn.00410830
push ebx
lea eax, [ebp - 0xfc]
mov edx, esi
push eax
lea ecx, [ebp - 0x48]
lea esi, [ebp - 0xf0]
call fcn.00412810
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x2c]
call fcn.00409ad0
mov byte [ebp - 4], 7
cmp dword [ebp - 0xdc], 8
jb 0x47692d
mov ecx, dword [ebp - 0xf0]
push ecx
call fcn.00490458
add esp, 4
xor edx, edx
mov dword [ebp - 0xdc], edi
mov dword [ebp - 0xe0], ebx
mov word [ebp - 0xf0], dx
mov byte [ebp - 4], 6
mov esi, 8
cmp dword [ebp - 0xc0], esi
jb 0x476962
mov eax, dword [ebp - 0xd4]
push eax
call fcn.00490458
add esp, 4
xor ecx, ecx
mov dword [ebp - 0xc0], edi
mov dword [ebp - 0xc4], ebx
mov word [ebp - 0xd4], cx
mov byte [ebp - 4], 5
cmp dword [ebp - 0x50], esi
jb 0x47698c
mov edx, dword [ebp - 0x64]
push edx
call fcn.00490458
add esp, 4
xor eax, eax
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], ax
mov byte [ebp - 4], 4
cmp dword [ebp - 0xa4], 0x10
jb 0x4769b4
mov ecx, dword [ebp - 0xb8]
push ecx
call fcn.00490458
add esp, 4
mov dword [ebp - 0xa4], 0xf
mov dword [ebp - 0xa8], ebx
mov byte [ebp - 0xb8], bl
mov byte [ebp - 4], 3
cmp dword [ebp - 0x34], esi
jb 0x4769df
mov edx, dword [ebp - 0x48]
push edx
call fcn.00490458
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
cmp dword [ebp - 0x1c], ebx
jbe 0x476bd4
xor ecx, ecx
push edi
mov word [ebp - 0x48], cx
push str.Google
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
call fcn.0040e680
mov byte [ebp - 4], 9
lea edx, [ebp - 0x48]
push edx
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x64]
call fcn.00419450
add esp, 4
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x10], ebx
seta byte [ebp - 0xf1]
mov byte [ebp - 4], 9
cmp dword [ebp - 0x50], esi
jb 0x476a47
mov eax, dword [ebp - 0x64]
push eax
call fcn.00490458
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], cx
mov byte [ebp - 4], 3
cmp dword [ebp - 0x34], esi
jb 0x476a68
mov edx, dword [ebp - 0x48]
push edx
call fcn.00490458
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
cmp byte [ebp - 0xf1], bl
je 0x476ad5
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x80]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00410cb0
cmp dword [ebp - 0x1c], ebx
je 0x476bd4
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x476a9f
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
cmp al, bl
je 0x476bd4
mov esi, dword [ebp - 0x100]
lea eax, [ebp - 0x2c]
xor edx, edx
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
push eax
mov ecx, esi
mov word [esi], dx
call fcn.00409ad0
jmp 0x476f8e
xor ecx, ecx
push 0xb
mov word [ebp - 0x48], cx
push str.chrome.exe
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
call fcn.0040e680
mov byte [ebp - 4], 0xb
lea edx, [ebp - 0x48]
push edx
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x64]
call fcn.00419450
add esp, 4
mov byte [ebp - 4], 0xc
cmp dword [eax + 0x10], ebx
seta byte [ebp - 0xf1]
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x50], esi
jb 0x476b29
mov eax, dword [ebp - 0x64]
push eax
call fcn.00490458
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], cx
mov byte [ebp - 4], 3
cmp dword [ebp - 0x34], esi
jb 0x476b4a
mov edx, dword [ebp - 0x48]
push edx
call fcn.00490458
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
cmp byte [ebp - 0xf1], bl
je 0x476bd4
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x80]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00410cb0
cmp dword [ebp - 0x1c], ebx
je 0x476bd4
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x476b7d
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
cmp al, bl
je 0x476bd4
mov esi, dword [ebp - 0x100]
lea edx, [ebp - 0x2c]
push edx
mov ecx, esi
call fcn.00408480
mov dword [ebp - 0xf8], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x9c]
call fcn.0040f320
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.0040f320
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x80]
call fcn.0040f320
jmp 0x47700c
push str.IsWow64Process
push str.kernel32
mov dword [ebp - 0xfc], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, ebx
je 0x476c0b
lea eax, [ebp - 0xfc]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
je 0x476c18
mov ecx, str.SOFTWAREWow6432NodeMicrosoftWindowsCurrentVersionUninstall
cmp dword [ebp - 0xfc], ebx
jne 0x476c1d
mov ecx, 0x4c4aa0
mov eax, ecx
lea edx, [eax + 2]
mov si, word [eax]
add eax, 2
cmp si, bx
jne 0x476c22
sub eax, edx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x9c]
call fcn.0040e680
xor ecx, ecx
push 0xb
mov word [ebp - 0xb8], cx
push str.DisplayIcon
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xa8], ebx
call fcn.0040e680
mov byte [ebp - 4], 0xd
push 0x14
push str._htI4KeOucCdaDskfQk
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
call fcn.0040ebe0
mov byte [ebp - 4], 0xe
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0xf0]
push eax
mov dword [ebp - 0xfc], reloc.OLEAUT32.dll_SysReAllocString
call fcn.0040f440
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x9c]
push ecx
lea edx, [ebp - 0xd4]
push edx
mov ecx, eax
call fcn.00427360
add esp, 0x10
mov esi, eax
mov byte [ebp - 4], 0x10
call fcn.00410830
push ebx
lea eax, [ebp - 0xfc]
mov edx, esi
push eax
lea ecx, [ebp - 0xb8]
lea esi, [ebp - 0x64]
call fcn.00412810
mov byte [ebp - 4], 0x11
push eax
lea ecx, [ebp - 0x2c]
call fcn.00409ad0
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x50], 8
jb 0x476d05
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.00490458
add esp, 4
xor edx, edx
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], dx
mov byte [ebp - 4], 0xf
mov esi, 8
cmp dword [ebp - 0xc0], esi
jb 0x476d31
mov eax, dword [ebp - 0xd4]
push eax
call fcn.00490458
add esp, 4
xor ecx, ecx
mov dword [ebp - 0xc0], edi
mov dword [ebp - 0xc4], ebx
mov word [ebp - 0xd4], cx
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0xdc], esi
jb 0x476d61
mov edx, dword [ebp - 0xf0]
push edx
call fcn.00490458
add esp, 4
xor eax, eax
mov dword [ebp - 0xdc], edi
mov dword [ebp - 0xe0], ebx
mov word [ebp - 0xf0], ax
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x34], 0x10
jb 0x476d8c
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00490458
add esp, 4
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
mov byte [ebp - 4], 3
cmp dword [ebp - 0xa4], esi
jb 0x476db4
mov edx, dword [ebp - 0xb8]
push edx
call fcn.00490458
add esp, 4
xor eax, eax
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xa8], ebx
mov word [ebp - 0xb8], ax
cmp dword [ebp - 0x1c], ebx
jbe 0x476f70
xor ecx, ecx
push edi
mov word [ebp - 0x48], cx
push str.Google
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
call fcn.0040e680
mov byte [ebp - 4], 0x12
lea edx, [ebp - 0x48]
push edx
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x64]
call fcn.00419450
add esp, 4
mov byte [ebp - 4], 0x13
cmp dword [eax + 0x10], ebx
seta byte [ebp - 0xf1]
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x50], esi
jb 0x476e25
mov eax, dword [ebp - 0x64]
push eax
call fcn.00490458
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], cx
mov byte [ebp - 4], 3
cmp dword [ebp - 0x34], esi
jb 0x476e46
mov edx, dword [ebp - 0x48]
push edx
call fcn.00490458
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
cmp byte [ebp - 0xf1], bl
je 0x476eb3
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x80]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00410cb0
cmp dword [ebp - 0x1c], ebx
je 0x476f70
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x476e7d
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
cmp al, bl
je 0x476f70
mov esi, dword [ebp - 0x100]
lea eax, [ebp - 0x2c]
xor edx, edx
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
push eax
mov ecx, esi
mov word [esi], dx
call fcn.00409ad0
jmp 0x476f8e
xor ecx, ecx
push 0xb
mov word [ebp - 0x48], cx
push str.chrome.exe
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
call fcn.0040e680
mov byte [ebp - 4], 0x14
lea edx, [ebp - 0x48]
push edx
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x64]
call fcn.00419450
add esp, 4
mov byte [ebp - 4], 0x15
cmp dword [eax + 0x10], ebx
seta byte [ebp - 0xf1]
mov byte [ebp - 4], 0x14
cmp dword [ebp - 0x50], esi
jb 0x476f07
mov eax, dword [ebp - 0x64]
push eax
call fcn.00490458
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], cx
mov byte [ebp - 4], 3
cmp dword [ebp - 0x34], esi
jb 0x476f28
mov edx, dword [ebp - 0x48]
push edx
call fcn.00490458
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
cmp byte [ebp - 0xf1], bl
je 0x476f70
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x80]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00410cb0
cmp dword [ebp - 0x1c], ebx
je 0x476f70
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x476f5b
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
cmp al, bl
jne 0x476b8e
mov esi, dword [ebp - 0x100]
push ebx
xor eax, eax
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
push 0x4c42e8
mov ecx, esi
mov word [esi], ax
call fcn.0040e680
mov dword [ebp - 0xf8], 1
mov byte [ebp - 4], 2
cmp dword [ebp - 0x88], 8
jb 0x476fb4
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.00490458
add esp, 4
xor edx, edx
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], dx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], 8
jb 0x476fdf
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00490458
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
mov byte [ebp - 4], bl
cmp dword [ebp - 0x6c], 8
jb 0x477000
mov edx, dword [ebp - 0x80]
push edx
call fcn.00490458
add esp, 4
xor eax, eax
mov word [ebp - 0x80], ax
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], edi
mov eax, esi
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.004911d1
mov esp, ebp
pop ebp
ret