Function at 0x407130
Capabilities:
Delete registry value
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1064
call fcn.0042d300
mov eax, dword [0x43b004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1018], 0xea502723
push 2
push ebx
mov dword [ebp - 0x1054], ebx
mov dword [ebp - 0x1058], ebx
mov dword [ebp - 0x104c], ebx
mov dword [ebp - 0x1014], 0x11d1a23d
mov dword [ebp - 0x1010], 0xd3a7
mov dword [ebp - 0x100c], 0xe37175f8
mov dword [ebp - 0x1028], 0xea502722
mov dword [ebp - 0x1024], 0x11d1a23d
mov dword [ebp - 0x1020], 0xd3a7
mov dword [ebp - 0x101c], 0xe37175f8
mov dword [ebp - 0x1048], 0x35378eac
mov dword [ebp - 0x1044], 0x11d2683f
mov dword [ebp - 0x1040], 0xc0009aa8
mov dword [ebp - 0x103c], 0xa2cfbb4f
mov dword [ebp - 0x1038], 0x3d271cfc
mov dword [ebp - 0x1034], 0x4ac22bc6
mov dword [ebp - 0x1030], 0xdf3b33b6
mov dword [ebp - 0x102c], 0x2aabbdf5
mov dword [ebp - 0x1064], ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x407220
cmp eax, 1
jne 0x407527
lea eax, [ebp - 0x1054]
mov dword [ebp - 0x1064], 1
push eax
lea eax, [ebp - 0x1018]
push eax
push 1
push 0
lea eax, [ebp - 0x1028]
push eax
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x407527
mov edx, dword [ebp - 0x1054]
test edx, edx
je 0x40752d
mov eax, dword [edx]
push 1
push edx
call dword [eax + 0x14]
test eax, eax
jne 0x407527
mov eax, dword [ebp - 0x1054]
lea edx, [ebp - 0x1058]
push edx
push 2
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
test eax, eax
jne 0x407527
lea eax, [ebp - 0x104c]
push eax
push 0xf003f
push 0
push str.SoftwarePoliciesGoogleChromeExtensionInstallForcelist
push dword [ebp - 0x1058]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x4073a1
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x1050]
mov dword [ebp - 0x1050], 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0x104c]
call esi
xor esi, esi
cmp dword [ebp - 0x1050], esi
jbe 0x407385
xor eax, eax
mov dword [ebp - 0x1060], 0x400
mov word [ebp - 0x1008], ax
mov word [ebp - 0x808], ax
lea eax, [ebp - 0x105c]
push eax
lea eax, [ebp - 0x808]
mov dword [ebp - 0x105c], 0x800
push eax
push 0
push 0
lea eax, [ebp - 0x1060]
push eax
lea eax, [ebp - 0x1008]
push eax
push esi
push dword [ebp - 0x104c]
call ebx
test eax, eax
jne 0x407378
lea eax, [ebp - 0x808]
push str.k7chrome
push eax
call fcn.00416777
add esp, 8
test eax, eax
je 0x407378
lea eax, [ebp - 0x1008]
push eax
push dword [ebp - 0x104c]
call edi
inc esi
cmp esi, dword [ebp - 0x1050]
jb 0x407300
push dword [ebp - 0x104c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov dword [ebp - 0x104c], 0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x104c]
push eax
push 0xf003f
push 0
push str.SoftwarePoliciesGoogleChromeExtensionInstallWhitelist
push dword [ebp - 0x1058]
call ebx
test eax, eax
jne 0x4074b5
push eax
push eax
push eax
push eax
mov dword [ebp - 0x1050], eax
lea eax, [ebp - 0x1050]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0x104c]
call esi
xor esi, esi
cmp dword [ebp - 0x1050], esi
jbe 0x40749b
mov ebx, dword [sym.imp.USER32.dll_CharLowerW]
xor eax, eax
mov dword [ebp - 0x1060], 0x400
mov word [ebp - 0x1008], ax
mov word [ebp - 0x808], ax
lea eax, [ebp - 0x105c]
push eax
lea eax, [ebp - 0x808]
mov dword [ebp - 0x105c], 0x800
push eax
push 0
push 0
lea eax, [ebp - 0x1060]
push eax
lea eax, [ebp - 0x1008]
push eax
push esi
push dword [ebp - 0x104c]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x407488
lea eax, [ebp - 0x808]
push eax
call ebx
lea eax, [ebp - 0x808]
push 0x4366e8
push eax
call fcn.00416777
add esp, 8
test eax, eax
je 0x407488
lea eax, [ebp - 0x1008]
push eax
push dword [ebp - 0x104c]
call edi
inc esi
cmp esi, dword [ebp - 0x1050]
jb 0x407403
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push dword [ebp - 0x104c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
mov dword [ebp - 0x104c], 0
jmp 0x4074bb
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x104c]
push eax
push 0xf003f
push 0
push str.SoftwarePoliciesGoogleChrome
push dword [ebp - 0x1058]
call ebx
test eax, eax
jne 0x407525
push str.IncognitoModeAvailability
push dword [ebp - 0x104c]
call edi
push dword [ebp - 0x104c]
call esi
mov eax, dword [ebp - 0x1054]
lea edx, [ebp - 0x1038]
push edx
lea edx, [ebp - 0x1048]
mov dword [ebp - 0x104c], 0
push edx
mov ecx, dword [eax]
push 1
push 1
push eax
call dword [ecx + 0x1c]
xor ebx, ebx
mov ecx, 1
test eax, eax
cmove ebx, ecx
jmp 0x407527
xor ebx, ebx
mov edx, dword [ebp - 0x1054]
mov eax, dword [ebp - 0x1058]
test eax, eax
je 0x407540
push eax
call esi
mov edx, dword [ebp - 0x1054]
test edx, edx
je 0x40754a
mov ecx, dword [edx]
push edx
call dword [ecx + 8]
cmp dword [ebp - 0x1064], 0
je 0x407559
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041559f
mov esp, ebp
pop ebp
ret