Function at 0x418870
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 0x6165f1
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.0040d1a0
mov ecx, dword [ebx + 0x1c]
mov dword [ebx + 0x34], eax
cmp ecx, edi
je 0x4188b9
push 1
jmp 0x4188ba
push edi
push eax
mov ecx, ebx
call fcn.00416bb0
lea eax, [ebp - 0x38]
mov ecx, ebx
push eax
mov dword [ebp - 0x38], edi
call fcn.00410b50
cmp eax, edi
jne 0x418ae7
xor esi, esi
call fcn.004466f0
cmp eax, edi
je 0x4188f3
mov ecx, ebx
call fcn.00411200
cmp eax, edi
je 0x4188f3
mov esi, 1
mov ecx, ebx
call fcn.00411580
cmp eax, edi
jne 0x418906
cmp esi, edi
je 0x418ae7
cmp dword [ebp - 0x38], edi
je 0x418945
push 0x6a32f4
call fcn.00419ed0
add esp, 4
cmp eax, edi
je 0x418ae7
mov ecx, dword [0x6d2dc8]
mov edx, dword [0x6d2aa8]
push 0x50040
push ecx
push edx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x418ae7
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 0x4189c7
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 0x4189bd
lea ecx, [ebp - 0x1cc]
push 0x2c
push ecx
call fcn.005e71f0
add esp, 8
cmp eax, edi
je 0x4189bd
lea edx, [ebp - 0x1cc]
mov byte [eax], 0
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4189bd
mov esi, 1
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.004466f0
cmp eax, edi
je 0x418a4a
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 0x418a4a
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 0x418a40
lea edx, [ebp - 0x1cc]
push 0x2c
push edx
call fcn.005e71f0
add esp, 8
cmp eax, edi
je 0x418a40
mov byte [eax], 0
lea eax, [ebp - 0x1cc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x418a40
mov esi, 1
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, edi
jne 0x418a63
push 0x6a32f4
call fcn.00419ed0
add esp, 4
cmp eax, edi
je 0x418ae7
cmp dword [0x6d2340], edi
jne 0x418ae7
mov edx, dword [ebp - 0x18]
push edi
mov eax, dword [edx + 0x48]
mov cl, byte [eax + 0x3a]
test cl, cl
je 0x418a89
push edi
push edi
push edi
push edi
push 0x4133b0
call fcn.0060403a
jmp 0x418ae7
lea ecx, [ebp - 0x198]
call fcn.00496a70
lea ecx, [ebp - 0x198]
mov byte [ebp - 4], 1
call fcn.005ffa36
mov eax, 0x632e74
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.00505260
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 2
call fcn.0060b545
lea ecx, [ebp - 0x198]
mov byte [ebp - 4], 0
call fcn.005ff677
mov eax, dword [0x6d2354]
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 0x418b21
mov ecx, dword [ebp - 0x24]
mov eax, dword [0x6d217c]
cmp ecx, eax
jb 0x418b21
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.0040f030
mov eax, dword [ebp - 0x20]
add esp, 0x10
cmp eax, edi
mov dword [ebp - 0x14], edi
jne 0x418be6
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.0041a9e0
cmp eax, edi
je 0x418bd5
cmp dword [ebp - 0x28], 2
jne 0x418bd5
mov edx, dword [0x6cd768]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x48]
mov byte [ebp - 4], 5
cmp eax, edi
jne 0x418b89
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x1c]
push 1
push ecx
push eax
call fcn.0040ea50
add esp, 0xc
cmp eax, edi
je 0x418bc9
mov edx, dword [ebp - 0x1c]
push 0x2e
push edx
call fcn.005e71f0
add esp, 8
cmp eax, edi
je 0x418bc9
mov byte [eax], 0
mov eax, dword [ebp - 0x1c]
push eax
call fcn.005e7473
add esp, 4
cmp eax, 0x34
jle 0x418bc9
mov dword [ebp - 0x20], 1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.00603a3c
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0
call fcn.00401070
cmp dword [ebp - 0x20], edi
je 0x418c49
mov eax, dword [0x6d2354]
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 0x418c49
mov edx, dword [0x6d2354]
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 0x418c42
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], edi
push ecx
mov ecx, eax
call fcn.004155b0
cmp eax, edi
jne 0x418c49
mov dword [ebp - 0x14], 1
push 0
call fcn.0040f660
mov edi, eax
mov eax, dword [ebp - 0x20]
add esp, 4
xor esi, esi
test eax, eax
je 0x418c6b
mov ecx, dword [ebp - 0x18]
push esi
push 0x35
call fcn.0041d1d0
mov esi, eax
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x418c87
mov ecx, dword [ebp - 0x18]
push 0
push 0x1b
call fcn.0041d1d0
test eax, eax
je 0x418c87
mov esi, 1
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x418c99
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x418c99
push 1
jmp 0x418c9b
push 0
mov ecx, dword [ebp - 0x18]
push ebx
call fcn.0041d7a0
test ebx, ebx
je 0x418ccd
mov ecx, dword [0x6d2354]
mov edx, dword [0x6d217c]
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.0040f660
add esp, 4
test eax, eax
je 0x418d31
test edi, edi
jne 0x418d2a
test esi, esi
je 0x418d2a
mov eax, dword [0x6d2340]
test eax, eax
jne 0x418d2a
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x48]
mov cl, byte [eax + 0x3a]
test cl, cl
je 0x418d0a
push edi
push edi
push edi
push edi
push edi
push 0x418810
call fcn.0060403a
jmp 0x418d2a
mov ecx, dword [0x6d2dc8]
mov edx, dword [0x6d2d94]
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 0x418d47
push 0
push 0
push 0
push 0
push 0
push 0x4105f0
call fcn.0060403a
jmp 0x418d99
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x418d99
mov eax, dword [0x6d2340]
test eax, eax
jne 0x418d99
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x48]
mov al, byte [ecx + 0x3a]
test al, al
je 0x418d7a
push 0
push 0
push 0
push 0
push 0
push 0x418840
call fcn.0060403a
jmp 0x418d99
mov edx, dword [0x6d2dc8]
mov eax, dword [0x6d29b8]
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 0x418e28
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x418e28
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 0x418e28
lea edx, [ebp - 0xc8]
push 0x6a1dc4
push edx
call fcn.005e7389
lea eax, [ebp - 0xc8]
push eax
call fcn.005e71bf
add esp, 0xc
xor ecx, ecx
cmp ecx, eax
jge 0x418e0d
mov dx, word [ebp + ecx*2 - 0xc8]
xor dx, 0x4d
sub edx, 0xff
mov word [ebp + ecx*2 - 0xc8], dx
inc ecx
jmp 0x418dec
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 0x418eb7
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x418eb7
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 0x418eb7
lea ecx, [ebp - 0xc8]
push 0x6a1e14
push ecx
call fcn.005e7389
lea edx, [ebp - 0xc8]
push edx
call fcn.005e71bf
add esp, 0xc
xor ecx, ecx
cmp ecx, eax
jge 0x418e9c
mov dx, word [ebp + ecx*2 - 0xc8]
xor dx, 0x4d
sub edx, 0xff
mov word [ebp + ecx*2 - 0xc8], dx
inc ecx
jmp 0x418e7b
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