Function at 0x416450
Capabilities:
Check if file exists
Get file attributes
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f1b6f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x170
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], esp
xor ebx, ebx
push str.IEXPLORE
lea ecx, [edi + 4]
mov dword [ebp - 0x28], edi
mov dword [ebp - 4], ebx
call fcn.0040c2a0
mov ecx, dword [edi + 0x1c]
mov dword [edi + 0x34], eax
cmp ecx, ebx
je 0x416499
push 1
jmp 0x41649a
push ebx
push eax
mov ecx, edi
call fcn.004147b0
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
mov dword [ebp - 0x20], ebx
call fcn.0040e860
cmp eax, ebx
jne 0x4166d3
xor esi, esi
call fcn.004406e0
cmp eax, ebx
je 0x4164d3
mov ecx, edi
call fcn.0040ee70
cmp eax, ebx
je 0x4164d3
mov esi, 1
mov ecx, edi
call fcn.0040f1f0
cmp eax, ebx
jne 0x4164e6
cmp esi, ebx
je 0x4166d3
cmp dword [ebp - 0x20], ebx
je 0x416525
push 0x69fe80
call fcn.004177d0
add esp, 4
cmp eax, ebx
je 0x4166d3
mov ecx, dword [0x6cd770]
mov edx, dword [0x6cd45c]
push 0x50040
push ecx
push edx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x4166d3
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallGoogle_Chrome
push reloc.WS2_32.dll_bind
call esi
test eax, eax
jne 0x4165a6
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x12c]
push ecx
push edx
push eax
push eax
mov eax, dword [ebp - 0x14]
push str.DisplayIcon
push eax
mov dword [ebp - 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41659c
lea ecx, [ebp - 0x12c]
push 0x2c
push ecx
call fcn.005c2f50
add esp, 8
test eax, eax
je 0x41659c
lea edx, [ebp - 0x12c]
mov byte [eax], 0
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x41659c
mov ebx, 1
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.004406e0
test eax, eax
je 0x41662c
lea ecx, [ebp - 0x14]
push ecx
push 0x20119
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallGoogle_Chrome
push reloc.WS2_32.dll_bind
call esi
test eax, eax
jne 0x41662c
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x12c]
push edx
push eax
push 0
push 0
push str.DisplayIcon
push ecx
mov dword [ebp - 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x416622
lea edx, [ebp - 0x12c]
push 0x2c
push edx
call fcn.005c2f50
add esp, 8
test eax, eax
je 0x416622
mov byte [eax], 0
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x416622
mov ebx, 1
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x416645
push 0x69fe80
call fcn.004177d0
add esp, 4
test eax, eax
je 0x4166d3
mov edx, dword [edi + 0x48]
push 0
mov al, byte [edx + 0x3a]
test al, al
je 0x416665
push 0
push 0
push 0
push 0
push 0x4162c0
call fcn.005dfb54
jmp 0x4166d3
lea ecx, [ebp - 0x17c]
call fcn.00487880
lea ecx, [ebp - 0x17c]
mov byte [ebp - 4], 1
call fcn.005db556
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 6
call fcn.004f1dc0
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 5
call fcn.005e7065
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 4
call fcn.005e7065
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 3
call fcn.005e7065
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 2
call fcn.005e709d
lea ecx, [ebp - 0x17c]
mov byte [ebp - 4], 0
call fcn.005db197
mov edx, dword [0x6cce6c]
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x1c]
push eax
push ecx
push 0
push 0
push str.mzcc_vers
push edx
mov esi, 1
mov dword [ebp - 0x24], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x416710
mov eax, dword [ebp - 0x1c]
mov ecx, dword [0x6ccc94]
cmp eax, ecx
jb 0x416710
xor esi, esi
call fcn.0040db50
push esi
mov ecx, edi
mov ebx, eax
call fcn.0041af70
test esi, esi
mov edi, eax
je 0x416749
mov eax, dword [0x6cce6c]
mov ecx, dword [0x6ccc94]
lea edx, [ebp - 0x1c]
push 4
push edx
push 4
push 0
push str.mzcc_vers
push eax
mov dword [ebp - 0x1c], ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
call fcn.0040db50
test eax, eax
jne 0x416772
push eax
push eax
push eax
push eax
push eax
push 0x40e4f0
call fcn.005dfb54
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ebx, ebx
jne 0x416761
test edi, edi
je 0x416761
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 0x48]
mov al, byte [edx + 0x3a]
test al, al
je 0x416793
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x416420
jmp 0x41675c
mov eax, dword [0x6cd770]
mov ecx, dword [0x6cd73c]
push 0x50040
push eax
push ecx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret