Function at 0x40e860
Capabilities:
Delete registry key
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x5f133d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4d4
push ebx
mov ebx, dword [esp + 0x4e8]
push esi
push edi
xor edi, edi
mov dword [esp + 0x1c], edi
mov dword [ebx], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x28], edi
mov word [esp + 0x24], di
mov esi, dword [0x6cce08]
mov dword [esp + 0x4e8], edi
cmp esi, edi
jne 0x40e8b0
mov esi, 0x6cce0c
mov eax, 0x69e048
push ebp
test eax, eax
je 0x40e9e8
cmp esi, edi
je 0x40e9e8
mov ecx, str.IDMGCExt.crx
test ecx, ecx
je 0x40e9e8
push edi
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], edi
mov dword [esp + 0x40], edi
mov word [esp + 0x3c], di
call fcn.00402880
push esi
lea ecx, [esp + 0x40]
mov byte [esp + 0x4f0], 1
call fcn.0040d680
push str.IDMGCExt.crx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x4f0], 2
call fcn.0040d680
lea ecx, [esp + 0x24]
mov byte [esp + 0x4ec], 3
call fcn.00401070
mov esi, dword [esp + 0x38]
lea ecx, [esp + 0x48]
call fcn.00401f40
push eax
call fcn.005c2f1a
add esp, 4
lea ecx, [esp + 0x3c]
mov edi, eax
call fcn.00401f40
push eax
call fcn.005c2f1a
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005db95d
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x24], edi
je 0x40e9b3
mov ecx, ebp
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [esp + 0x48]
call fcn.00401f40
push eax
lea ecx, [esp + 0x40]
call fcn.00401f40
push eax
lea ecx, [esp + 0x38]
call fcn.00401f40
push eax
mov eax, dword [esp + 0x30]
push esi
push eax
call fcn.005c2eaa
mov ecx, dword [esp + 0x38]
push ecx
call fcn.005c2f1a
add esp, 0x18
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x4ec], 2
call fcn.00401070
lea ecx, [esp + 0x3c]
mov byte [esp + 0x4ec], 1
call fcn.00401070
lea ecx, [esp + 0x30]
mov byte [esp + 0x4ec], 0
call fcn.00401070
xor edi, edi
mov edx, dword [0x6c826c]
mov dword [esp + 0x14], edx
push str.ngpampappnmepgilojfohadhhmbhlaek
lea eax, [esp + 0x18]
push str.SOFTWAREGoogleChromeExtensions_s
push eax
mov byte [esp + 0x4f8], 4
call fcn.005d838b
mov edx, dword [esp + 0x20]
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
push 0x20019
push edi
push edx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebp, 0x410
test eax, eax
jne 0x40eba4
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x1c]
lea ecx, [esp + 0xd4]
push eax
push ecx
push 0
push 0
push 0x69ef90
push edx
mov dword [ebx], 1
mov dword [esp + 0x34], ebp
call edi
test eax, eax
jne 0x40eb95
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x40ea7a
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0xd8]
push eax
call fcn.005c55fc
add esp, 8
test eax, eax
jne 0x40eb95
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x54]
push ecx
push edx
push eax
push eax
mov eax, dword [esp + 0x20]
push 0x69ef88
push eax
mov dword [esp + 0x34], 0x80
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40eb95
mov esi, dword [0x6ccc8c]
lea eax, [esp + 0x54]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x40eaf1
test cl, cl
je 0x40eaed
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x40eaf1
add eax, 2
add esi, 2
test cl, cl
jne 0x40eac9
xor eax, eax
jmp 0x40eaf6
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40eb14
mov eax, dword [esp + 0x10]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
mov dword [esp + 0x24], 1
call ebx
jmp 0x40ebaa
mov eax, dword [0x6c826c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
mov byte [esp + 0x4ec], 5
test eax, eax
jne 0x40eb31
lea eax, [esp + 0x28]
lea ecx, [esp + 0x18]
push ecx
push eax
call fcn.0040e6f0
add esp, 8
test eax, eax
je 0x40eb84
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x54]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x40eb73
test cl, cl
je 0x40eb6f
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x40eb73
add eax, 2
add esi, 2
test cl, cl
jne 0x40eb4b
xor eax, eax
jmp 0x40eb78
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40eb84
mov dword [esp + 0x20], 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x4ec], 4
call fcn.005df556
mov eax, dword [esp + 0x10]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call ebx
jmp 0x40ebaa
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.004406e0
test eax, eax
je 0x40ed22
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push ecx
push 0x20119
push 0
push edx
push reloc.WS2_32.dll_bind
mov dword [esp + 0x34], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40ed22
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x18]
lea ecx, [esp + 0xd4]
push eax
push ecx
push 0
push 0
push 0x69ef90
push edx
mov dword [esp + 0x30], ebp
call edi
test eax, eax
jne 0x40ed1b
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x40ec18
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0xd8]
push eax
call fcn.005c55fc
add esp, 8
test eax, eax
jne 0x40ed1b
lea ecx, [esp + 0x18]
lea edx, [esp + 0x54]
push ecx
push edx
push eax
push eax
mov eax, dword [esp + 0x20]
push 0x69ef88
push eax
mov dword [esp + 0x30], 0x80
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40ed1b
mov esi, dword [0x6ccc8c]
lea eax, [esp + 0x54]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40ec8b
test cl, cl
je 0x40ec87
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40ec8b
add eax, 2
add esi, 2
test cl, cl
jne 0x40ec67
xor eax, eax
jmp 0x40ec90
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40ec9e
mov dword [esp + 0x20], 1
jmp 0x40ed1b
mov eax, dword [0x6c826c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x24]
mov byte [esp + 0x4ec], 6
test eax, eax
jne 0x40ecbb
lea eax, [esp + 0x28]
lea ecx, [esp + 0x1c]
push ecx
push eax
call fcn.0040e6f0
add esp, 8
test eax, eax
je 0x40ed0a
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x54]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40ecf9
test cl, cl
je 0x40ecf5
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40ecf9
add eax, 2
add esi, 2
test cl, cl
jne 0x40ecd5
xor eax, eax
jmp 0x40ecfe
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40ed0a
mov dword [esp + 0x20], 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4ec], 4
call fcn.005df556
mov eax, dword [esp + 0x10]
push eax
call ebx
push str.jmolcgpienlcieaajfkkdamlngancncm
lea ecx, [esp + 0x18]
push str.SOFTWAREGoogleChromeExtensions_s
push ecx
call fcn.005d838b
mov eax, dword [esp + 0x20]
add esp, 0xc
lea edx, [esp + 0x10]
push edx
push 0x20019
push 0
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
pop ebp
test eax, eax
jne 0x40ed9e
mov ecx, dword [esp + 0xc]
push ecx
call ebx
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea edx, [esp + 0xc]
push edx
push 0xf003f
push 0
push str.SOFTWAREGoogleChromeExtensions
push reloc.WS2_32.dll_bind
call edi
test eax, eax
jne 0x40eda4
mov eax, dword [esp + 0xc]
push str.jmolcgpienlcieaajfkkdamlngancncm
push eax
call esi
mov ecx, dword [esp + 0xc]
push ecx
call ebx
jmp 0x40eda4
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push str.jeaohhlajejodfjadcponpnjgkiikocn
lea edx, [esp + 0x14]
push str.SOFTWAREGoogleChromeExtensions_s
push edx
call fcn.005d838b
mov ecx, dword [esp + 0x1c]
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push 0x20019
push 0
push ecx
push reloc.WS2_32.dll_bind
call edi
test eax, eax
jne 0x40ee0d
mov edx, dword [esp + 0xc]
push edx
call ebx
lea eax, [esp + 0xc]
push eax
push 0xf003f
push 0
push str.SOFTWAREGoogleChromeExtensions
push reloc.WS2_32.dll_bind
call edi
test eax, eax
jne 0x40ee0d
mov ecx, dword [esp + 0xc]
push str.jeaohhlajejodfjadcponpnjgkiikocn
push ecx
call esi
mov edx, dword [esp + 0xc]
push edx
call ebx
push 0
push 0
push 0
push 0
push 0
push 0x40d6b0
call fcn.005dfb54
lea ecx, [esp + 0x10]
mov byte [esp + 0x4e8], 0
call fcn.005df556
lea ecx, [esp + 0x20]
mov dword [esp + 0x4e8], 0xffffffff
call fcn.00401070
mov ecx, dword [esp + 0x4e0]
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x4e0
ret 4