Function at 0x418940
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 0x614432
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
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 - 0x1c], ebx
mov dword [ebp - 4], edi
call fcn.0040d1d0
mov ecx, dword [ebx + 0x1c]
mov dword [ebx + 0x34], eax
cmp ecx, edi
je 0x418989
push 1
jmp 0x41898a
push edi
push eax
mov ecx, ebx
call fcn.00416c80
lea eax, [ebp - 0x38]
mov ecx, ebx
push eax
mov dword [ebp - 0x38], edi
call fcn.00410b80
cmp eax, edi
jne 0x418bd7
xor esi, esi
call fcn.00446240
cmp eax, edi
je 0x4189c3
mov ecx, ebx
call fcn.00411230
cmp eax, edi
je 0x4189c3
mov esi, 1
mov ecx, ebx
call fcn.004115b0
cmp eax, edi
jne 0x4189d6
cmp esi, edi
je 0x418bd7
cmp dword [ebp - 0x38], edi
je 0x418a15
push 0x6c72ec
call fcn.00419fe0
add esp, 4
cmp eax, edi
je 0x418bd7
mov ecx, dword [0x6f6da8]
mov edx, dword [0x6f6a88]
push 0x50040
push ecx
push edx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x418bd7
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x18]
xor esi, esi
push eax
push 0x20019
push esi
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallGoogle_Chrome
push reloc.WS2_32.dll_bind
call edi
test eax, eax
jne 0x418a97
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x1cc]
push ecx
push edx
push eax
push eax
mov eax, dword [ebp - 0x18]
push str.DisplayIcon
push eax
mov dword [ebp - 0x14], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x418a8d
lea ecx, [ebp - 0x1cc]
push 0x2c
push ecx
call fcn.005e51d0
add esp, 8
test eax, eax
je 0x418a8d
lea edx, [ebp - 0x1cc]
mov byte [eax], 0
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x418a8d
mov esi, 1
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.00446240
test eax, eax
je 0x418b1d
lea ecx, [ebp - 0x18]
push ecx
push 0x20119
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallGoogle_Chrome
push reloc.WS2_32.dll_bind
call edi
test eax, eax
jne 0x418b1d
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x1cc]
push edx
push eax
push 0
push 0
push str.DisplayIcon
push ecx
mov dword [ebp - 0x14], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x418b13
lea edx, [ebp - 0x1cc]
push 0x2c
push edx
call fcn.005e51d0
add esp, 8
test eax, eax
je 0x418b13
mov byte [eax], 0
lea eax, [ebp - 0x1cc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x418b13
mov esi, 1
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x418b36
push 0x6c72ec
call fcn.00419fe0
add esp, 4
test eax, eax
je 0x418bd7
mov eax, dword [0x6f634c]
test eax, eax
jne 0x418bd7
mov edx, dword [ebx + 0x48]
push 0
mov al, byte [edx + 0x3a]
test al, al
je 0x418b63
push 0
push 0
push 0
push 0
push 0x413410
call fcn.00601eca
jmp 0x418bd7
lea ecx, [ebp - 0x21c]
call fcn.004965a0
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 1
call fcn.005fd8c6
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 6
call fcn.00504440
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 5
call fcn.006093d5
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 4
call fcn.006093d5
lea ecx, [ebp - 0x184]
mov byte [ebp - 4], 3
call fcn.006093d5
lea ecx, [ebp - 0x1c0]
mov byte [ebp - 4], 2
call fcn.0060940d
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 0
call fcn.005fd507
mov edx, dword [0x6f6360]
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x24]
push eax
push ecx
push 0
push 0
push str.mzcc_vers
push edx
mov edi, 1
mov dword [ebp - 0x2c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x418c14
mov eax, dword [ebp - 0x24]
mov ecx, dword [0x6f6194]
cmp eax, ecx
jb 0x418c14
xor edi, edi
lea ecx, [ebp - 0x20]
lea edx, [ebp - 0x34]
push ecx
lea eax, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x3c]
push eax
push ecx
call fcn.0040f060
mov eax, dword [ebp - 0x20]
add esp, 0x10
test eax, eax
mov dword [ebp - 0x14], 0
jne 0x418cdf
xor esi, esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x40], esi
mov word [ebp - 0x44], si
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x48]
mov bl, 7
push edx
push eax
mov byte [ebp - 4], bl
call fcn.0041aaf0
cmp eax, esi
je 0x418cce
cmp dword [ebp - 0x28], 2
jne 0x418cce
mov ecx, dword [0x6f175c]
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x48]
mov byte [ebp - 4], 8
cmp eax, esi
jne 0x418c83
lea eax, [ebp - 0x44]
lea edx, [ebp - 0x18]
push 1
push edx
push eax
call fcn.0040ea80
add esp, 0xc
cmp eax, esi
je 0x418cc3
mov eax, dword [ebp - 0x18]
push 0x2e
push eax
call fcn.005e51d0
add esp, 8
cmp eax, esi
je 0x418cc3
mov byte [eax], 0
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.005e5453
add esp, 4
cmp eax, 0x34
jle 0x418cc3
mov dword [ebp - 0x20], 1
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.006018cc
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0
call fcn.00401070
cmp dword [ebp - 0x20], esi
je 0x418d4f
mov ecx, dword [0x6f6360]
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x24]
push edx
push eax
push 0
push 0
push str.bShNAdvIntMsg
push ecx
mov dword [ebp - 0x2c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x418d4f
mov eax, dword [0x6f6360]
lea edx, [ebp - 0x24]
push 4
push edx
push 4
push 0
push str.bShNAdvIntMsg
push eax
mov dword [ebp - 0x24], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x418d48
lea edx, [ebp - 0x28]
mov dword [ebp - 0x28], 0
push edx
call fcn.00415670
test eax, eax
jne 0x418d4f
mov dword [ebp - 0x14], 1
push 0
call fcn.0040f690
mov ebx, eax
mov eax, dword [ebp - 0x20]
add esp, 4
xor esi, esi
test eax, eax
je 0x418d71
mov ecx, dword [ebp - 0x1c]
push esi
push 0x35
call fcn.0041d2e0
mov esi, eax
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x418d8d
mov ecx, dword [ebp - 0x1c]
push 0
push 0x1b
call fcn.0041d2e0
test eax, eax
je 0x418d8d
mov esi, 1
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x418d9f
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x418d9f
push 1
jmp 0x418da1
push 0
mov ecx, dword [ebp - 0x1c]
push edi
call fcn.0041d8b0
test edi, edi
je 0x418dd2
mov edx, dword [0x6f6360]
mov eax, dword [0x6f6194]
lea ecx, [ebp - 0x24]
push 4
push ecx
push 4
push 0
push str.mzcc_vers
push edx
mov dword [ebp - 0x24], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0
call fcn.0040f690
add esp, 4
test eax, eax
je 0x418e35
test ebx, ebx
jne 0x418e2e
test esi, esi
je 0x418e2e
mov eax, dword [0x6f634c]
test eax, eax
jne 0x418e2e
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x48]
mov al, byte [ecx + 0x3a]
test al, al
je 0x418e0f
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x4188e0
call fcn.00601eca
jmp 0x418e2e
mov edx, dword [0x6f6da8]
mov eax, dword [0x6f6d74]
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 - 0x20]
test eax, eax
jne 0x418e4b
push 0
push 0
push 0
push 0
push 0
push 0x410620
call fcn.00601eca
jmp 0x418e9d
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x418e9d
mov eax, dword [0x6f634c]
test eax, eax
jne 0x418e9d
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x48]
mov al, byte [edx + 0x3a]
test al, al
je 0x418e7e
push 0
push 0
push 0
push 0
push 0
push 0x418910
call fcn.00601eca
jmp 0x418e9d
mov eax, dword [0x6f6da8]
mov ecx, dword [0x6f6998]
push 0x50040
push eax
push ecx
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 0x418f2c
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x418f2c
lea edx, [ebp - 0x14]
push edx
push 0xf003f
push 0
push str.SoftwareMozillaFirefoxExtensions
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x418f2c
lea eax, [ebp - 0xc8]
push 0x6c5dbc
push eax
call fcn.005e5369
lea ecx, [ebp - 0xc8]
push ecx
call fcn.005e519b
add esp, 0xc
xor ecx, ecx
cmp ecx, eax
jge 0x418f11
mov dx, word [ebp + ecx*2 - 0xc8]
xor dx, 0x4d
sub edx, 0xff
mov word [ebp + ecx*2 - 0xc8], dx
inc ecx
jmp 0x418ef0
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 0x418fbb
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x418fbb
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 0x418fbb
lea ecx, [ebp - 0xc8]
push 0x6c5e0c
push ecx
call fcn.005e5369
lea edx, [ebp - 0xc8]
push edx
call fcn.005e519b
add esp, 0xc
xor ecx, ecx
cmp ecx, eax
jge 0x418fa0
mov dx, word [ebp + ecx*2 - 0xc8]
xor dx, 0x4d
sub edx, 0xff
mov word [ebp + ecx*2 - 0xc8], dx
inc ecx
jmp 0x418f7f
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