Function at 0x41a010
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x640eb0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x755898]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x755898]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
push eax
push 0xf013f
xor ebx, ebx
push ebx
push str.SoftwareGoogleChromeExtensions
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x41a0e6
push ebx
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0xf013f
push ebx
push 0x676974
push ebx
push str.SoftwareGoogle
push 0x80000002
call esi
test eax, eax
jne 0x41a110
mov edx, dword [esp + 0x14]
push edx
call edi
push ebx
lea eax, [esp + 0x18]
push eax
push ebx
push 0xf013f
push ebx
push 0x676974
push ebx
push str.SoftwareGoogleChrome
push 0x80000002
call esi
test eax, eax
jne 0x41a110
mov ecx, dword [esp + 0x14]
push ecx
call edi
push ebx
lea edx, [esp + 0x18]
push edx
push ebx
push 0xf013f
push ebx
push 0x676974
push ebx
push str.SoftwareGoogleChromeExtensions
push 0x80000002
call esi
test eax, eax
jne 0x41a110
mov ecx, dword [esp + 0x14]
push ebx
lea eax, [esp + 0x1c]
push eax
push ebx
push 0xf013f
push ebx
push 0x676974
push ebx
push str.ngpampappnmepgilojfohadhhmbhlaek
push ecx
call esi
test eax, eax
je 0x41a117
mov edx, dword [esp + 0x14]
push edx
call edi
xor eax, eax
jmp 0x41a22d
xor eax, eax
xor ebp, ebp
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
mov word [esp + 0x24], ax
mov dword [esp + 0x38], ebx
mov eax, dword [0x75ac4c]
cmp eax, ebx
jne 0x41a13a
mov eax, 0x75ac50
push ebx
push str.IDMGCExt.crx
push eax
push 0x675de0
lea ecx, [esp + 0x30]
call fcn.00402320
mov edx, dword [esp + 0x20]
mov eax, edx
cmp edx, ebx
jne 0x41a15d
lea eax, [esp + 0x24]
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41a160
sub eax, esi
sar eax, 1
mov ecx, edx
cmp edx, ebx
jne 0x41a179
lea ecx, [esp + 0x24]
lea edx, [eax + eax + 2]
mov eax, dword [esp + 0x18]
push edx
push ecx
push 1
push ebx
push 0x679e20
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x41a199
lea ebp, [eax + 1]
lea ecx, [esp + 0x1c]
call fcn.00402500
mov byte [esp + 0x38], 1
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x41a1b3
lea eax, [esp + 0x24]
lea ecx, [esp + 0x1c]
push ecx
push eax
call fcn.00419670
add esp, 8
test eax, eax
je 0x41a1d4
lea edx, [esp + 0x1c]
push edx
mov ecx, 0x75ada4
call fcn.004058f0
mov edx, dword [0x75ada4]
mov eax, edx
lea esi, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41a1e0
sub eax, esi
inc eax
push eax
mov eax, dword [esp + 0x1c]
push edx
push 1
push ebx
push 0x679e18
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0x18]
push ecx
call edi
mov edx, dword [esp + 0x14]
push edx
call edi
mov byte [esp + 0x38], bl
lea ecx, [esp + 0x1c]
call fcn.00402570
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.00401210
mov eax, ebp
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.0061d2ff
add esp, 0x28
ret