Function at 0x418890
Capabilities:
Check if file exists
Delete registry value
Get file attributes
Get installed programs
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x615691
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c0
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x10], esp
xor edi, edi
push str.IEXPLORE
lea ecx, [ebx + 4]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], edi
call fcn.0040d1c0
mov ecx, dword [ebx + 0x1c]
mov dword [ebx + 0x34], eax
cmp ecx, edi
je 0x4188d9
push 1
jmp 0x4188da
push edi
push eax
mov ecx, ebx
call fcn.00416bd0
lea eax, [ebp - 0x38]
mov ecx, ebx
push eax
mov dword [ebp - 0x38], edi
call fcn.00410b70
cmp eax, edi
jne 0x418b07
xor esi, esi
call fcn.00446350
cmp eax, edi
je 0x418913
mov ecx, ebx
call fcn.00411220
cmp eax, edi
je 0x418913
mov esi, 1
mov ecx, ebx
call fcn.004115a0
cmp eax, edi
jne 0x418926
cmp esi, edi
je 0x418b07
cmp dword [ebp - 0x38], edi
je 0x418965
push 0x6a22f4
call fcn.00419ef0
add esp, 4
cmp eax, edi
je 0x418b07
mov ecx, dword [0x6d1d60]
mov edx, dword [0x6d1a40]
push 0x50040
push ecx
push edx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x418b07
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x1c]
push eax
push 0x20019
push edi
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallGoogle_Chrome
push reloc.WS2_32.dll_bind
xor esi, esi
call ebx
test eax, eax
jne 0x4189e7
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x1cc]
push ecx
push edx
push edi
push edi
push str.DisplayIcon
push eax
mov dword [ebp - 0x14], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4189dd
lea ecx, [ebp - 0x1cc]
push 0x2c
push ecx
call fcn.005e63d0
add esp, 8
cmp eax, edi
je 0x4189dd
lea edx, [ebp - 0x1cc]
mov byte [eax], 0
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4189dd
mov esi, 1
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.00446350
cmp eax, edi
je 0x418a6a
lea ecx, [ebp - 0x1c]
push ecx
push 0x20119
push edi
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallGoogle_Chrome
push reloc.WS2_32.dll_bind
call ebx
test eax, eax
jne 0x418a6a
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x1cc]
push edx
push eax
push edi
push edi
push str.DisplayIcon
push ecx
mov dword [ebp - 0x14], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x418a60
lea edx, [ebp - 0x1cc]
push 0x2c
push edx
call fcn.005e63d0
add esp, 8
cmp eax, edi
je 0x418a60
mov byte [eax], 0
lea eax, [ebp - 0x1cc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x418a60
mov esi, 1
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, edi
jne 0x418a83
push 0x6a22f4
call fcn.00419ef0
add esp, 4
cmp eax, edi
je 0x418b07
cmp dword [0x6d12e0], edi
jne 0x418b07
mov edx, dword [ebp - 0x18]
push edi
mov eax, dword [edx + 0x48]
mov cl, byte [eax + 0x3a]
test cl, cl
je 0x418aa9
push edi
push edi
push edi
push edi
push 0x4133d0
call fcn.006030d4
jmp 0x418b07
lea ecx, [ebp - 0x198]
call fcn.00496130
lea ecx, [ebp - 0x198]
mov byte [ebp - 4], 1
call fcn.005fead6
mov eax, 0x631e74
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 3
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xf8], eax
call fcn.005044b0
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 2
call fcn.0060a5e5
lea ecx, [ebp - 0x198]
mov byte [ebp - 4], 0
call fcn.005fe717
mov eax, dword [0x6d12f4]
lea ecx, [ebp - 0x2c]
lea edx, [ebp - 0x24]
push ecx
push edx
push edi
push edi
mov esi, 4
push str.mzcc_vers
push eax
mov ebx, 1
mov dword [ebp - 0x2c], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x418b41
mov ecx, dword [ebp - 0x24]
mov eax, dword [0x6d111c]
cmp ecx, eax
jb 0x418b41
xor ebx, ebx
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x34]
push edx
lea ecx, [ebp - 0x30]
push eax
lea edx, [ebp - 0x3c]
push ecx
push edx
call fcn.0040f050
mov eax, dword [ebp - 0x20]
add esp, 0x10
cmp eax, edi
mov dword [ebp - 0x14], edi
jne 0x418c06
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x40], edi
mov word [ebp - 0x44], di
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x48]
push eax
push ecx
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.0041aa00
cmp eax, edi
je 0x418bf5
cmp dword [ebp - 0x28], 2
jne 0x418bf5
mov edx, dword [0x6cc708]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x48]
mov byte [ebp - 4], 5
cmp eax, edi
jne 0x418ba9
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x1c]
push 1
push ecx
push eax
call fcn.0040ea70
add esp, 0xc
cmp eax, edi
je 0x418be9
mov edx, dword [ebp - 0x1c]
push 0x2e
push edx
call fcn.005e63d0
add esp, 8
cmp eax, edi
je 0x418be9
mov byte [eax], 0
mov eax, dword [ebp - 0x1c]
push eax
call fcn.005e6653
add esp, 4
cmp eax, 0x34
jle 0x418be9
mov dword [ebp - 0x20], 1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.00602ad6
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0
call fcn.00401070
cmp dword [ebp - 0x20], edi
je 0x418c69
mov eax, dword [0x6d12f4]
lea ecx, [ebp - 0x2c]
lea edx, [ebp - 0x24]
push ecx
push edx
push edi
push edi
push str.bShNAdvIntMsg
push eax
mov dword [ebp - 0x2c], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x418c69
mov edx, dword [0x6d12f4]
lea ecx, [ebp - 0x24]
push esi
push ecx
push esi
push edi
push str.bShNAdvIntMsg
push edx
mov dword [ebp - 0x24], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x1c], edi
je 0x418c62
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], edi
push ecx
mov ecx, eax
call fcn.004155d0
cmp eax, edi
jne 0x418c69
mov dword [ebp - 0x14], 1
push 0
call fcn.0040f680
mov edi, eax
mov eax, dword [ebp - 0x20]
add esp, 4
xor esi, esi
test eax, eax
je 0x418c8b
mov ecx, dword [ebp - 0x18]
push esi
push 0x35
call fcn.0041d1f0
mov esi, eax
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x418ca7
mov ecx, dword [ebp - 0x18]
push 0
push 0x1b
call fcn.0041d1f0
test eax, eax
je 0x418ca7
mov esi, 1
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x418cb9
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x418cb9
push 1
jmp 0x418cbb
push 0
mov ecx, dword [ebp - 0x18]
push ebx
call fcn.0041d7c0
test ebx, ebx
je 0x418ced
mov ecx, dword [0x6d12f4]
mov edx, dword [0x6d111c]
lea eax, [ebp - 0x24]
push 4
push eax
push 4
push 0
push str.mzcc_vers
push ecx
mov dword [ebp - 0x24], edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0
call fcn.0040f680
add esp, 4
test eax, eax
je 0x418d51
test edi, edi
jne 0x418d4a
test esi, esi
je 0x418d4a
mov eax, dword [0x6d12e0]
test eax, eax
jne 0x418d4a
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x48]
mov cl, byte [eax + 0x3a]
test cl, cl
je 0x418d2a
push edi
push edi
push edi
push edi
push edi
push 0x418830
call fcn.006030d4
jmp 0x418d4a
mov ecx, dword [0x6d1d60]
mov edx, dword [0x6d1d2c]
push 0x50040
push ecx
push edx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x418d67
push 0
push 0
push 0
push 0
push 0
push 0x410610
call fcn.006030d4
jmp 0x418db9
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x418db9
mov eax, dword [0x6d12e0]
test eax, eax
jne 0x418db9
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x48]
mov al, byte [ecx + 0x3a]
test al, al
je 0x418d9a
push 0
push 0
push 0
push 0
push 0
push 0x418860
call fcn.006030d4
jmp 0x418db9
mov edx, dword [0x6d1d60]
mov eax, dword [0x6d1950]
push 0x50040
push edx
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x418e48
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x418e48
lea ecx, [ebp - 0x14]
push ecx
push 0xf003f
push 0
push str.SoftwareMozillaFirefoxExtensions
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x418e48
lea edx, [ebp - 0xc8]
push 0x6a0dc4
push edx
call fcn.005e6569
lea eax, [ebp - 0xc8]
push eax
call fcn.005e639f
add esp, 0xc
xor ecx, ecx
cmp ecx, eax
jge 0x418e2d
mov dx, word [ebp + ecx*2 - 0xc8]
xor dx, 0x4d
sub edx, 0xff
mov word [ebp + ecx*2 - 0xc8], dx
inc ecx
jmp 0x418e0c
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0xc8]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x418ed7
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x418ed7
lea eax, [ebp - 0x14]
push eax
push 0xf003f
push 0
push str.SoftwareMozillaFirefoxExtensions
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x418ed7
lea ecx, [ebp - 0xc8]
push 0x6a0e14
push ecx
call fcn.005e6569
lea edx, [ebp - 0xc8]
push edx
call fcn.005e639f
add esp, 0xc
xor ecx, ecx
cmp ecx, eax
jge 0x418ebc
mov dx, word [ebp + ecx*2 - 0xc8]
xor dx, 0x4d
sub edx, 0xff
mov word [ebp + ecx*2 - 0xc8], dx
inc ecx
jmp 0x418e9b
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0xc8]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret