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

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x194
push 0xffffffffffffffff
push 0x643fd0
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x758898]
xor eax, ebp
mov dword [ebp + 0x190], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x18], ebx
xor edi, edi
mov dword [ebp - 4], edi
push str.IEXPLORE
lea ecx, [ebx + 4]
call fcn.0040df90
mov dword [ebx + 0x34], eax
mov ecx, ebx
cmp dword [ebx + 0x1c], edi
je 0x41bfa1
push 1
jmp 0x41bfa2
push edi
push eax
call fcn.00419340
call fcn.00413b80
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x28], edi
lea eax, [ebp - 0x30]
push eax
mov ecx, ebx
call fcn.00419b20
mov esi, eax
lea ecx, [ebp - 0x28]
push ecx
mov ecx, ebx
call fcn.004198c0
mov ebx, eax
mov dword [ebp - 0x64], ebx
cmp ebx, edi
jne 0x41bfee
cmp dword [ebp - 0x28], edi
jne 0x41bfee
call fcn.00416960
test eax, eax
je 0x41bfee
cmp esi, edi
je 0x41bffa
mov ebx, 1
mov dword [ebp - 0x64], ebx
cmp esi, edi
je 0x41bffa
cmp ebx, edi
jne 0x41c192
xor edi, edi
mov dword [ebp - 0x48], edi
test esi, esi
jne 0x41c020
call fcn.00448070
test eax, eax
je 0x41c020
mov ecx, dword [ebp - 0x18]
call fcn.0041a0d0
test eax, eax
je 0x41c020
mov edi, 1
mov dword [ebp - 0x48], edi
mov ecx, dword [ebp - 0x18]
call fcn.0041b640
test eax, eax
je 0x41c035
mov dword [ebp - 0x48], 1
jmp 0x41c03d
test edi, edi
je 0x41c192
cmp dword [ebp - 0x30], 0
jne 0x41c192
test esi, esi
jne 0x41c192
test ebx, ebx
jne 0x41c192
mov dword [ebp - 0x44], esi
lea edx, [ebp - 0x14]
push edx
push 0x20019
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallGoogle_Chrome
push 0x80000002
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
call edi
test eax, eax
jne 0x41c0d3
mov dword [ebp - 0x20], 0x104
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp + 0xc]
push ecx
push ebx
push ebx
push str.DisplayIcon
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41c0c9
push 0x2c
lea eax, [ebp + 0xc]
push eax
call fcn.00621750
add esp, 8
test eax, eax
je 0x41c0c9
mov byte [eax], bl
lea ecx, [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x41c0c9
mov esi, 1
mov dword [ebp - 0x44], esi
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.00448070
test eax, eax
je 0x41c151
lea eax, [ebp - 0x14]
push eax
push 0x20119
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallGoogle_Chrome
push 0x80000002
call edi
test eax, eax
jne 0x41c151
mov dword [ebp - 0x58], 0x104
lea ecx, [ebp - 0x58]
push ecx
lea edx, [ebp + 0xc]
push edx
push eax
push eax
push str.DisplayIcon
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41c147
push 0x2c
lea ecx, [ebp + 0xc]
push ecx
call fcn.00621750
add esp, 8
test eax, eax
je 0x41c147
mov byte [eax], 0
lea edx, [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x41c147
mov esi, 1
mov dword [ebp - 0x44], esi
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x41c166
push 0x67bab4
call fcn.00410ae0
add esp, 4
test eax, eax
je 0x41c192
cmp dword [0x75dbcc], 0
jne 0x41c192
mov dword [ebp - 0x60], 1
push 4
lea ecx, [ebp - 0x60]
push ecx
push 4
push 0
push str.bShInstChromeExtTip
mov edx, dword [0x75dbe4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x3c], 4
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x24]
push ecx
xor edi, edi
push edi
push edi
push str.mzcc_vers
mov edx, dword [0x75dbe4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41c1d0
mov eax, dword [ebp - 0x24]
cmp eax, dword [0x75db9c]
jb 0x41c1d0
mov dword [ebp - 0x38], edi
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x30]
push edx
call fcn.00418380
add esp, 0x14
mov dword [ebp - 0x4c], edi
mov ebx, dword [ebp - 0x2c]
cmp ebx, edi
jne 0x41c2ef
cmp dword [ebp - 0x14], edi
jne 0x41c2ef
mov dword [ebp - 0x34], edi
mov dword [ebp], edi
mov dword [ebp + 8], edi
xor eax, eax
mov word [ebp + 4], ax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp]
push edx
mov esi, dword [ebp - 0x18]
mov ecx, esi
call fcn.00417860
test eax, eax
je 0x41c2d8
mov eax, dword [ebp - 0x34]
cmp eax, 2
jne 0x41c2a9
lea ecx, [ebp - 0x1c]
call fcn.00402500
mov byte [ebp - 4], 2
mov eax, dword [ebp]
cmp eax, edi
jne 0x41c24e
lea eax, [ebp + 4]
push 1
lea ecx, [ebp - 0x1c]
push ecx
push eax
call fcn.00415fe0
add esp, 0xc
test eax, eax
je 0x41c29b
push 0x2e
mov edx, dword [ebp - 0x1c]
push edx
call fcn.00621750
add esp, 8
cmp eax, edi
je 0x41c29b
mov byte [eax], 0
mov eax, dword [ebp - 0x1c]
push eax
call fcn.006219a1
add esp, 4
cmp eax, 0x34
jle 0x41c28f
mov ebx, 1
mov dword [ebp - 0x2c], ebx
cmp eax, 0x49
jle 0x41c29b
mov dword [ebp - 0x14], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00402570
jmp 0x41c2d8
cmp eax, 0x11
jne 0x41c2d8
mov eax, dword [esi + 0x48]
cmp byte [eax + 0x4f], 0
jne 0x41c2d8
cmp byte [eax + 0x51], 0
jne 0x41c2d8
cmp dword [0x75dbd4], edi
jne 0x41c2d8
mov eax, dword [ebp]
cmp eax, edi
jne 0x41c2cf
lea eax, [ebp + 4]
push eax
call fcn.0041af70
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp]
call fcn.00401210
cmp ebx, edi
jne 0x41c2f2
cmp dword [ebp - 0x14], edi
je 0x41c35d
jmp 0x41c2f2
mov esi, dword [ebp - 0x18]
cmp dword [ebp + 0x19c], edi
je 0x41c35d
mov dword [ebp - 0x3c], 4
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x24]
push edx
push edi
push edi
push str.bShNAdvIntMsg
mov eax, dword [0x75dbe4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x41c35d
mov ebx, 1
mov dword [ebp - 0x24], ebx
push 4
lea ecx, [ebp - 0x24]
push ecx
push 4
push edi
push str.bShNAdvIntMsg
mov edx, dword [0x75dbe4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp dword [esi + 0x1c], edi
je 0x41c35a
mov dword [ebp - 0x68], edi
lea eax, [ebp - 0x68]
push eax
mov ecx, esi
call fcn.00410500
test eax, eax
jne 0x41c35d
mov dword [ebp - 0x4c], ebx
push 0
call fcn.004185e0
add esp, 4
mov edi, eax
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov esi, 1
mov dword [ebp - 0x40], esi
cmp dword [ebp - 0x2c], ebx
jne 0x41c384
cmp dword [ebp - 0x14], ebx
je 0x41c442
test edi, edi
jne 0x41c442
xor esi, esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x5c], 1
mov dword [ebp - 0x50], 4
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 0x1c]
push edx
push esi
push esi
push str.bFF73Checked
mov eax, dword [0x75dbe4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41c3c9
cmp dword [ebp - 0x1c], 1
jne 0x41c3c9
mov dword [ebp - 0x5c], esi
jmp 0x41c442
mov dword [ebp - 0x1c], 1
push 4
lea ecx, [ebp - 0x1c]
push ecx
push 4
push 0
push str.bFF73Checked
mov edx, dword [0x75dbe4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp dword [0x75dbcc], esi
jne 0x41c420
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x48]
push 0
cmp byte [ecx + 0x4e], 0
je 0x41c416
push 0
push 0
push 0
push 0
push fcn.00416590
call fcn.005ffb6b
jmp 0x41c442
call fcn.00416590
add esp, 4
jmp 0x41c442
mov dword [ebp - 0x1c], 1
push 4
lea edx, [ebp - 0x1c]
push edx
push 4
push 0
push str.bShMsgInstFFExt2
mov eax, dword [0x75dbe4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp dword [ebp - 0x20], 0
je 0x41c460
push 0
push 0x1b
mov ecx, dword [ebp - 0x18]
call fcn.004194a0
test eax, eax
je 0x41c460
mov ebx, 1
mov dword [ebp - 0x54], ebx
cmp dword [ebp - 0x30], 0
jne 0x41c474
cmp dword [ebp - 0x28], 0
jne 0x41c474
push 1
mov ecx, dword [ebp - 0x38]
push ecx
jmp 0x41c47a
push 0
mov edx, dword [ebp - 0x38]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.004149a0
cmp dword [ebp - 0x38], 0
je 0x41c4ac
mov eax, dword [0x75db9c]
mov dword [ebp - 0x24], eax
push 4
lea ecx, [ebp - 0x24]
push ecx
push 4
push 0
push str.mzcc_vers
mov edx, dword [0x75dbe4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test esi, esi
je 0x41c523
push 0
call fcn.004185e0
add esp, 4
test eax, eax
je 0x41c554
test edi, edi
jne 0x41c510
test ebx, ebx
je 0x41c510
cmp dword [0x75dbcc], edi
jne 0x41c510
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x48]
cmp byte [ecx + 0x4e], 0
je 0x41c4ef
push edi
push edi
push edi
push edi
push edi
push 0x411a20
call fcn.005ffb6b
jmp 0x41c510
push 0x50040
mov edx, dword [0x75f308]
push edx
mov eax, dword [0x75f33c]
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.004734a0
add esp, 0x10
cmp dword [ebp - 0x2c], 0
jne 0x41c51c
cmp dword [ebp - 0x14], 0
je 0x41c554
mov dword [ebp - 0x40], 0
cmp dword [ebp - 0x4c], 0
je 0x41c58b
cmp dword [0x75dbcc], 0
jne 0x41c58b
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x48]
cmp byte [edx + 0x4e], 0
je 0x41c56a
push 0
push 0
push 0
push 0
push 0
push 0x411a50
call fcn.005ffb6b
jmp 0x41c58b
push 0
push 0
push 0
push 0
push 0
push 0x418a40
call fcn.005ffb6b
jmp 0x41c58b
push 0x50040
mov eax, dword [0x75f308]
push eax
mov ecx, dword [0x75f71c]
push ecx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.004734a0
add esp, 0x10
cmp dword [ebp - 0x30], 0
jne 0x41c5fc
cmp dword [ebp - 0x28], 0
jne 0x41c5fc
lea edx, [ebp - 0x34]
push edx
push 0xf003f
push 0
push str.SoftwareMozillaFirefoxExtensions
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41c5fc
mov ecx, 0x752370
lea edx, [ebp + 0x110]
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x41c5c1
lea eax, [ebp + 0x110]
push eax
call fcn.0040fc50
add esp, 4
lea ecx, [ebp + 0x110]
push ecx
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x2c], 0
jne 0x41c608
cmp dword [ebp - 0x14], 0
je 0x41c67b
cmp dword [ebp - 0x20], 0
jne 0x41c67b
lea ecx, [ebp - 0x20]
push ecx
push 0xf003f
push 0
push str.SoftwareMozillaFirefoxExtensions
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41c67b
mov ecx, 0x7523c0
lea edx, [ebp + 0x110]
jmp 0x41c640
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x41c640
lea edx, [ebp + 0x110]
push edx
call fcn.0040fc50
add esp, 4
lea eax, [ebp + 0x110]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x190]
xor ecx, ebp
call fcn.0062016f
add ebp, 0x194
mov esp, ebp
pop ebp
ret 4