Function at 0x41a310
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x643cb0
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
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 0x41a3da
push ebx
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0xf003f
push ebx
push 0x67997c
push ebx
push str.SoftwareGoogle
push esi
call edi
test eax, eax
jne 0x41a404
mov edx, dword [esp + 0x14]
push edx
call ebp
push ebx
lea eax, [esp + 0x18]
push eax
push ebx
push 0xf003f
push ebx
push 0x67997c
push ebx
push str.SoftwareGoogleChrome
push esi
call edi
test eax, eax
jne 0x41a404
mov ecx, dword [esp + 0x14]
push ecx
call ebp
push ebx
lea edx, [esp + 0x18]
push edx
push ebx
push 0xf003f
push ebx
push 0x67997c
push ebx
push str.SoftwareGoogleChromeExtensions
push esi
call edi
test eax, eax
jne 0x41a404
mov ecx, dword [esp + 0x14]
push ebx
lea eax, [esp + 0x1c]
push eax
push ebx
push 0xf003f
push ebx
push 0x67997c
push ebx
push str.ngpampappnmepgilojfohadhhmbhlaek
push ecx
call edi
test eax, eax
je 0x41a40b
mov edx, dword [esp + 0x14]
push edx
call ebp
xor eax, eax
jmp 0x41a520
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 [0x75dc58]
cmp eax, ebx
jne 0x41a42e
mov eax, 0x75dc5c
push ebx
push str.IDMGCExt.crx
push eax
push 0x678de0
lea ecx, [esp + 0x30]
call fcn.00402320
mov edx, dword [esp + 0x20]
mov eax, edx
cmp edx, ebx
jne 0x41a451
lea eax, [esp + 0x24]
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41a454
sub eax, esi
sar eax, 1
mov ecx, edx
cmp edx, ebx
jne 0x41a46d
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 0x41a48d
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 0x41a4a7
lea eax, [esp + 0x24]
lea ecx, [esp + 0x1c]
push ecx
push eax
call fcn.00419730
add esp, 8
test eax, eax
je 0x41a4c8
lea edx, [esp + 0x1c]
push edx
mov ecx, 0x75ddb0
call fcn.00405930
mov edx, dword [0x75ddb0]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41a4d3
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 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.0062016f
add esp, 0x28
ret 4