Function at 0x41a170
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x63bae0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x74f8a0]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x74f8a0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, dword [esp + 0x40]
lea eax, [esp + 0x14]
push eax
push 0xf003f
xor ebx, ebx
push ebx
push str.SoftwareGoogleChromeExtensions
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x41a23a
push ebx
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0xf003f
push ebx
push 0x670984
push ebx
push str.SoftwareGoogle
push esi
call edi
test eax, eax
jne 0x41a264
mov edx, dword [esp + 0x14]
push edx
call ebp
push ebx
lea eax, [esp + 0x18]
push eax
push ebx
push 0xf003f
push ebx
push 0x670984
push ebx
push str.SoftwareGoogleChrome
push esi
call edi
test eax, eax
jne 0x41a264
mov ecx, dword [esp + 0x14]
push ecx
call ebp
push ebx
lea edx, [esp + 0x18]
push edx
push ebx
push 0xf003f
push ebx
push 0x670984
push ebx
push str.SoftwareGoogleChromeExtensions
push esi
call edi
test eax, eax
jne 0x41a264
mov ecx, dword [esp + 0x14]
push ebx
lea eax, [esp + 0x1c]
push eax
push ebx
push 0xf003f
push ebx
push 0x670984
push ebx
push str.ngpampappnmepgilojfohadhhmbhlaek
push ecx
call edi
test eax, eax
je 0x41a26b
mov edx, dword [esp + 0x14]
push edx
call ebp
xor eax, eax
jmp 0x41a380
xor eax, eax
xor edi, edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
mov word [esp + 0x24], ax
mov dword [esp + 0x38], ebx
mov eax, dword [0x754c5c]
cmp eax, ebx
jne 0x41a28e
mov eax, 0x754c60
push ebx
push str.IDMGCExt.crx
push eax
push 0x66fde0
lea ecx, [esp + 0x30]
call fcn.00402320
mov edx, dword [esp + 0x20]
mov eax, edx
cmp edx, ebx
jne 0x41a2b1
lea eax, [esp + 0x24]
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41a2b4
sub eax, esi
sar eax, 1
mov ecx, edx
cmp edx, ebx
jne 0x41a2cd
lea ecx, [esp + 0x24]
lea edx, [eax + eax + 2]
mov eax, dword [esp + 0x18]
push edx
push ecx
push 1
push ebx
push 0x673da0
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x41a2ed
lea edi, [eax + 1]
lea ecx, [esp + 0x1c]
call fcn.00402500
mov byte [esp + 0x38], 1
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x41a307
lea eax, [esp + 0x24]
lea ecx, [esp + 0x1c]
push ecx
push eax
call fcn.00419590
add esp, 8
test eax, eax
je 0x41a328
lea edx, [esp + 0x1c]
push edx
mov ecx, 0x754db4
call fcn.00405930
mov edx, dword [0x754db4]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41a333
sub eax, esi
inc eax
push eax
mov eax, dword [esp + 0x1c]
push edx
push 1
push ebx
push 0x673d98
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0x18]
push ecx
call ebp
mov edx, dword [esp + 0x14]
push edx
call ebp
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, edi
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.0061807e
add esp, 0x28
ret 4