Function at 0x40ee70
Capabilities:
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5f2fa8
push eax
mov dword fs:[0], esp
sub esp, 0x40
lea eax, [esp]
push ebx
push ebp
push esi
push eax
xor ebx, ebx
push 0xf013f
push ebx
push str.SoftwareGoogleChromeExtensions
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x40ef6f
lea ecx, [esp + 0xc]
push ebx
push ecx
push ebx
push 0xf013f
push ebx
push 0x6ce7c8
push ebx
push str.SoftwareGoogle
push reloc.WS2_32.dll_bind
call esi
test eax, eax
je 0x40eeed
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
add esp, 0x4c
ret
mov edx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call ebp
lea eax, [esp + 0xc]
push ebx
push eax
push ebx
push 0xf013f
push ebx
push 0x6ce7c8
push ebx
push str.SoftwareGoogleChrome
push reloc.WS2_32.dll_bind
call esi
test eax, eax
je 0x40ef31
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
add esp, 0x4c
ret
mov ecx, dword [esp + 0xc]
push ecx
call ebp
lea edx, [esp + 0xc]
push ebx
push edx
push ebx
push 0xf013f
push ebx
push 0x6ce7c8
push ebx
push str.SoftwareGoogleChromeExtensions
push reloc.WS2_32.dll_bind
call esi
test eax, eax
je 0x40ef75
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
add esp, 0x4c
ret
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push ebx
push eax
push ebx
push 0xf013f
push ebx
push 0x6ce7c8
push ebx
push str.ngpampappnmepgilojfohadhhmbhlaek
push ecx
call esi
test eax, eax
je 0x40efb3
mov edx, dword [esp + 0xc]
push edx
call ebp
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
add esp, 0x4c
ret
xor eax, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], ebx
mov word [esp + 0x20], bx
mov esi, dword [0x6cee18]
mov dword [esp + 0x54], ebx
cmp esi, ebx
jne 0x40efd9
mov esi, 0x6cee1c
mov ecx, 0x6a0048
push edi
test ecx, ecx
je 0x40f106
cmp esi, ebx
je 0x40f106
mov edx, str.IDMGCExt.crx
test edx, edx
je 0x40f106
push ebx
push ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3c], ebx
mov word [esp + 0x38], bx
call fcn.00402890
push esi
lea ecx, [esp + 0x48]
mov byte [esp + 0x5c], 1
call fcn.0040d680
push str.IDMGCExt.crx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x5c], 2
call fcn.0040d680
lea ecx, [esp + 0x20]
mov byte [esp + 0x58], 3
call fcn.00401070
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x38]
call fcn.00401f50
push eax
call fcn.005c4b4a
add esp, 4
lea ecx, [esp + 0x44]
mov edi, eax
call fcn.00401f50
push eax
call fcn.005c4b4a
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005dd58d
mov edi, eax
add esp, 8
cmp edi, ebx
mov dword [esp + 0x20], edi
je 0x40f0d3
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 + 0x38]
call fcn.00401f50
push eax
lea ecx, [esp + 0x48]
call fcn.00401f50
push eax
lea ecx, [esp + 0x34]
call fcn.00401f50
push eax
mov eax, dword [esp + 0x2c]
push esi
push eax
call fcn.005c4ada
mov ecx, dword [esp + 0x34]
push ecx
call fcn.005c4b4a
add esp, 0x18
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x58], 2
call fcn.00401070
lea ecx, [esp + 0x44]
mov byte [esp + 0x58], 1
call fcn.00401070
lea ecx, [esp + 0x2c]
mov byte [esp + 0x58], bl
call fcn.00401070
mov eax, dword [esp + 0x20]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, ebx
jne 0x40f1e9
lea eax, [esp + 0x24]
lea esi, [esp + 0x24]
push eax
call fcn.005c4b4a
add esp, 4
lea edx, [eax + eax + 2]
mov eax, dword [esp + 0x14]
push edx
push esi
push 1
push ebx
push 0x6a0f90
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x40f144
mov dword [esp + 0x1c], 1
mov ecx, dword [0x6ca27c]
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x20]
mov byte [esp + 0x58], 4
cmp eax, ebx
jne 0x40f15f
lea eax, [esp + 0x24]
lea edx, [esp + 0x18]
push edx
push eax
call fcn.0040e6f0
add esp, 8
test eax, eax
je 0x40f180
lea eax, [esp + 0x18]
mov ecx, 0x6cec9c
push eax
call fcn.005e12c5
mov edx, dword [0x6cec9c]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esp + 0x18]
push edx
push 1
push ebx
push 0x6a0f88
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0x14]
push edx
call ebp
mov eax, dword [esp + 0x10]
push eax
call ebp
lea ecx, [esp + 0x18]
mov byte [esp + 0x58], bl
call fcn.005e118c
lea ecx, [esp + 0x20]
mov dword [esp + 0x58], 0xffffffff
call fcn.00401070
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x4c
ret
mov esi, eax
jmp 0x40f116