Function at 0x41a250
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
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 0x41a31a
push ebx
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0xf003f
push ebx
push 0x676974
push ebx
push str.SoftwareGoogle
push esi
call edi
test eax, eax
jne 0x41a344
mov edx, dword [esp + 0x14]
push edx
call ebp
push ebx
lea eax, [esp + 0x18]
push eax
push ebx
push 0xf003f
push ebx
push 0x676974
push ebx
push str.SoftwareGoogleChrome
push esi
call edi
test eax, eax
jne 0x41a344
mov ecx, dword [esp + 0x14]
push ecx
call ebp
push ebx
lea edx, [esp + 0x18]
push edx
push ebx
push 0xf003f
push ebx
push 0x676974
push ebx
push str.SoftwareGoogleChromeExtensions
push esi
call edi
test eax, eax
jne 0x41a344
mov ecx, dword [esp + 0x14]
push ebx
lea eax, [esp + 0x1c]
push eax
push ebx
push 0xf003f
push ebx
push 0x676974
push ebx
push str.ngpampappnmepgilojfohadhhmbhlaek
push ecx
call edi
test eax, eax
je 0x41a34b
mov edx, dword [esp + 0x14]
push edx
call ebp
xor eax, eax
jmp 0x41a460
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 [0x75ac4c]
cmp eax, ebx
jne 0x41a36e
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 0x41a391
lea eax, [esp + 0x24]
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41a394
sub eax, esi
sar eax, 1
mov ecx, edx
cmp edx, ebx
jne 0x41a3ad
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 0x41a3cd
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 0x41a3e7
lea eax, [esp + 0x24]
lea ecx, [esp + 0x1c]
push ecx
push eax
call fcn.00419670
add esp, 8
test eax, eax
je 0x41a408
lea edx, [esp + 0x1c]
push edx
mov ecx, 0x75ada4
call fcn.004058f0
mov edx, dword [0x75ada4]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41a413
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 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.0061d2ff
add esp, 0x28
ret 4