Function at 0x41a040
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x6446e0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x758898]
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 0x41a116
push ebx
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0xf013f
push ebx
push 0x67997c
push ebx
push str.SoftwareGoogle
push 0x80000002
call esi
test eax, eax
jne 0x41a140
mov edx, dword [esp + 0x14]
push edx
call edi
push ebx
lea eax, [esp + 0x18]
push eax
push ebx
push 0xf013f
push ebx
push 0x67997c
push ebx
push str.SoftwareGoogleChrome
push 0x80000002
call esi
test eax, eax
jne 0x41a140
mov ecx, dword [esp + 0x14]
push ecx
call edi
push ebx
lea edx, [esp + 0x18]
push edx
push ebx
push 0xf013f
push ebx
push 0x67997c
push ebx
push str.SoftwareGoogleChromeExtensions
push 0x80000002
call esi
test eax, eax
jne 0x41a140
mov ecx, dword [esp + 0x14]
push ebx
lea eax, [esp + 0x1c]
push eax
push ebx
push 0xf013f
push ebx
push 0x67997c
push ebx
push str.ngpampappnmepgilojfohadhhmbhlaek
push ecx
call esi
test eax, eax
je 0x41a147
mov edx, dword [esp + 0x14]
push edx
call edi
xor eax, eax
jmp 0x41a25d
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 [0x75dc58]
cmp eax, ebx
jne 0x41a16a
mov eax, 0x75dc5c
push ebx
push str.IDMGCExt.crx
push eax
push 0x678de0
lea ecx, [esp + 0x30]
call fcn.00402310
mov edx, dword [esp + 0x20]
mov eax, edx
cmp edx, ebx
jne 0x41a18d
lea eax, [esp + 0x24]
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41a190
sub eax, esi
sar eax, 1
mov ecx, edx
cmp edx, ebx
jne 0x41a1a9
lea ecx, [esp + 0x24]
lea edx, [eax + eax + 2]
mov eax, dword [esp + 0x18]
push edx
push ecx
push 1
push ebx
push 0x67cf80
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x41a1c9
lea ebp, [eax + 1]
lea ecx, [esp + 0x1c]
call fcn.004024f0
mov byte [esp + 0x38], 1
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x41a1e3
lea eax, [esp + 0x24]
lea ecx, [esp + 0x1c]
push ecx
push eax
call fcn.004196a0
add esp, 8
test eax, eax
je 0x41a204
lea edx, [esp + 0x1c]
push edx
mov ecx, 0x75ddb0
call fcn.00405900
mov edx, dword [0x75ddb0]
mov eax, edx
lea esi, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41a210
sub eax, esi
inc eax
push eax
mov eax, dword [esp + 0x1c]
push edx
push 1
push ebx
push 0x67cf78
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.00402560
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.00620b8d
add esp, 0x28
ret