Function at 0x42252220
Capabilities:
Delete registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4226997b
mov eax, dword fs:[0]
push eax
sub esp, 0x328
mov eax, dword [0x42278bb0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x334]
mov ebx, dword [ebp + 8]
push 0
push edi
push 0x4226b62c
push 0x4226d0fc
push 2
push eax
call fcn.42252980
add esp, 0x18
test eax, eax
js 0x4225249f
push edi
push dword [ebp + 0x10]
lea eax, [ebp - 0x334]
push eax
push 2
push 0x4226d100
push 1
push ebx
call fcn.42252570
add esp, 0x1c
test eax, eax
js 0x4225249f
cmp byte [ebp + 0x10], 0
je 0x42252350
push 0xffffffffffffffff
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerBrowser_Helper_Objects_
lea ecx, [ebp - 0x318]
call fcn.42247610
mov dword [ebp - 4], 0
lea eax, [ebp - 0x60]
push eax
push 0x4226b62c
call fcn.422521e0
add esp, 8
test eax, eax
js 0x4225233e
push 0
push 0
push 0xffffffffffffffff
lea eax, [ebp - 0x60]
push eax
push 1
lea ecx, [ebp - 0x318]
call fcn.422478d0
lea eax, [ebp - 0x31c]
push eax
push 2
push 0
push dword [ebp - 0x318]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4225233e
push 4
lea eax, [ebp - 0x320]
mov dword [ebp - 0x320], 1
push eax
push 4
push 0
push str.NoExplorer
push dword [ebp - 0x31c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x31c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x318]
call fcn.42247740
mov ecx, 0x4229ed68
call fcn.4224a680
test al, al
je 0x4225249d
cmp byte [ebp + 0x10], 0
je 0x42252488
push edi
call fcn.4224d970
mov esi, eax
lea eax, [ebp - 0x268]
sub esi, edi
and esi, 0xfffffffe
push esi
push edi
push eax
call fcn.42254690
add esp, 0xc
cmp esi, 0x208
jae 0x42252483
xor eax, eax
mov word [ebp + esi - 0x268], ax
lea eax, [ebp - 0x324]
push eax
lea eax, [ebp - 0x31c]
push eax
push 0
push 0x102
push 0
push 0
push 0
push str.SOFTWAREMicrosoftInternet_ExplorerLow_RightsElevationPolicy7269E482_6B70_40ea_B07A_D6D5586EEA65
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4225247c
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x2e
push 0x4226d338
push 1
push eax
push str.AppName
push dword [ebp - 0x31c]
mov dword [ebp - 0x320], 3
call esi
test eax, eax
jne 0x42252463
lea ecx, [ebp - 0x268]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42252403
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x268]
push eax
push 1
push 0
push str.AppPath
push dword [ebp - 0x31c]
call esi
test eax, eax
jne 0x42252463
push 4
lea eax, [ebp - 0x320]
push eax
push 4
push 0
push str.Policy
push dword [ebp - 0x31c]
call esi
test eax, eax
jne 0x42252463
push dword [ebp - 0x31c]
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call eax
jmp 0x4225249d
push dword [ebp - 0x31c]
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call eax
push str.SOFTWAREMicrosoftInternet_ExplorerLow_RightsElevationPolicy7269E482_6B70_40ea_B07A_D6D5586EEA65
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov eax, 0x80040201
jmp 0x4225249f
call fcn.4225581d
push str.SOFTWAREMicrosoftInternet_ExplorerLow_RightsElevationPolicy7269E482_6B70_40ea_B07A_D6D5586EEA65
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x4225249d
cmp eax, 2
jne 0x4225247c
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.42252e9b
mov esp, ebp
pop ebp
ret