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

Disassembly:
push 0xffffffffffffffff
push 0x5f56bd
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 [0x6d1108]
mov dword [esp + 0x4e8], edi
cmp esi, edi
jne 0x40f560
mov esi, 0x6d110c
mov eax, 0x6a2074
push ebp
test eax, eax
je 0x40f698
cmp esi, edi
je 0x40f698
mov ecx, str.IDMGCExt.crx
test ecx, ecx
je 0x40f698
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.00402980
push esi
lea ecx, [esp + 0x40]
mov byte [esp + 0x4f0], 1
call fcn.0040d7a0
push str.IDMGCExt.crx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x4f0], 2
call fcn.0040d7a0
lea ecx, [esp + 0x24]
mov byte [esp + 0x4ec], 3
call fcn.00401070
mov esi, dword [esp + 0x38]
lea ecx, [esp + 0x48]
call fcn.00402050
push eax
call fcn.005c7292
add esp, 4
lea ecx, [esp + 0x3c]
mov edi, eax
call fcn.00402050
push eax
call fcn.005c7292
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005dfcbc
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x24], edi
je 0x40f663
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.00402050
push eax
lea ecx, [esp + 0x40]
call fcn.00402050
push eax
lea ecx, [esp + 0x38]
call fcn.00402050
push eax
mov eax, dword [esp + 0x30]
push esi
push eax
call fcn.005c7222
mov ecx, dword [esp + 0x38]
push ecx
call fcn.005c7292
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 [0x6cc564]
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.005dc6eb
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 0x40f854
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x1c]
lea ecx, [esp + 0xd4]
push eax
push ecx
push 0
push 0
push 0x6a3004
push edx
mov dword [ebx], 1
mov dword [esp + 0x34], ebp
call edi
test eax, eax
jne 0x40f845
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x40f72a
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0xd8]
push eax
call fcn.005c996c
add esp, 8
test eax, eax
jne 0x40f845
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x54]
push ecx
push edx
push eax
push eax
mov eax, dword [esp + 0x20]
push 0x6a2ffc
push eax
mov dword [esp + 0x34], 0x80
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40f845
mov esi, dword [0x6d0f8c]
lea eax, [esp + 0x54]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x40f7a1
test cl, cl
je 0x40f79d
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x40f7a1
add eax, 2
add esi, 2
test cl, cl
jne 0x40f779
xor eax, eax
jmp 0x40f7a6
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40f7c4
mov eax, dword [esp + 0x10]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
mov dword [esp + 0x24], 1
call ebx
jmp 0x40f85a
mov eax, dword [0x6cc564]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
mov byte [esp + 0x4ec], 5
test eax, eax
jne 0x40f7e1
lea eax, [esp + 0x28]
lea ecx, [esp + 0x18]
push ecx
push eax
call fcn.0040f3a0
add esp, 8
test eax, eax
je 0x40f834
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x54]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x40f823
test cl, cl
je 0x40f81f
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x40f823
add eax, 2
add esi, 2
test cl, cl
jne 0x40f7fb
xor eax, eax
jmp 0x40f828
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40f834
mov dword [esp + 0x20], 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x4ec], 4
call fcn.005e38b9
mov eax, dword [esp + 0x10]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call ebx
jmp 0x40f85a
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.00441af0
test eax, eax
je 0x40f9d2
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 0x40f9d2
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x18]
lea ecx, [esp + 0xd4]
push eax
push ecx
push 0
push 0
push 0x6a3004
push edx
mov dword [esp + 0x30], ebp
call edi
test eax, eax
jne 0x40f9cb
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x40f8c8
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0xd8]
push eax
call fcn.005c996c
add esp, 8
test eax, eax
jne 0x40f9cb
lea ecx, [esp + 0x18]
lea edx, [esp + 0x54]
push ecx
push edx
push eax
push eax
mov eax, dword [esp + 0x20]
push 0x6a2ffc
push eax
mov dword [esp + 0x30], 0x80
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40f9cb
mov esi, dword [0x6d0f8c]
lea eax, [esp + 0x54]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40f93b
test cl, cl
je 0x40f937
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40f93b
add eax, 2
add esi, 2
test cl, cl
jne 0x40f917
xor eax, eax
jmp 0x40f940
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40f94e
mov dword [esp + 0x20], 1
jmp 0x40f9cb
mov eax, dword [0x6cc564]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x24]
mov byte [esp + 0x4ec], 6
test eax, eax
jne 0x40f96b
lea eax, [esp + 0x28]
lea ecx, [esp + 0x1c]
push ecx
push eax
call fcn.0040f3a0
add esp, 8
test eax, eax
je 0x40f9ba
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x54]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40f9a9
test cl, cl
je 0x40f9a5
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40f9a9
add eax, 2
add esi, 2
test cl, cl
jne 0x40f985
xor eax, eax
jmp 0x40f9ae
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40f9ba
mov dword [esp + 0x20], 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4ec], 4
call fcn.005e38b9
mov eax, dword [esp + 0x10]
push eax
call ebx
push str.jmolcgpienlcieaajfkkdamlngancncm
lea ecx, [esp + 0x18]
push str.SOFTWAREGoogleChromeExtensions_s
push ecx
call fcn.005dc6eb
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 0x40fa4e
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 0x40fa54
mov eax, dword [esp + 0xc]
push str.jmolcgpienlcieaajfkkdamlngancncm
push eax
call esi
mov ecx, dword [esp + 0xc]
push ecx
call ebx
jmp 0x40fa54
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push str.jeaohhlajejodfjadcponpnjgkiikocn
lea edx, [esp + 0x14]
push str.SOFTWAREGoogleChromeExtensions_s
push edx
call fcn.005dc6eb
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 0x40fabd
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 0x40fabd
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 0x40d7d0
call fcn.005e3eb7
lea ecx, [esp + 0x10]
mov byte [esp + 0x4e8], 0
call fcn.005e38b9
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