Function at 0x4224c6
Capabilities:
Set registry value

Disassembly:
push 0x280
mov eax, 0x43c271
call fcn.00437f7e
mov esi, ecx
mov eax, dword [ebp + 0xc]
lea edi, [ebp - 0x238]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x288], eax
xor eax, eax
stosd dword es:[edi], eax
push 0xf
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
pop edi
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], edi
mov byte [ebp - 0x238], al
mov dword [ebp - 4], eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
push 0x100
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.ole32.dll_StringFromGUID2]
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x284]
call fcn.00416070
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x280]
push dword [eax]
call fcn.0040bb9e
lea edx, [ebp - 0x280]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x250]
call fcn.0040ee42
push eax
lea ecx, [ebp - 0x238]
call fcn.004027c9
lea ecx, [ebp - 0x250]
call fcn.004027a6
lea ecx, [ebp - 0x280]
call fcn.00402ab8
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 0
call fcn.00402b3c
cmp dword [ebp - 0x224], edi
lea eax, [ebp - 0x238]
cmova eax, dword [ebp - 0x238]
push eax
lea eax, [ebp - 0x268]
push str.SoftwareMicrosoftInternet_ExplorerLow_RightsElevationPolicy_S
push eax
call fcn.0040f235
mov byte [ebp - 4], 3
lea eax, [ebp - 0x268]
cmp dword [ebp - 0x254], 7
lea ecx, [esi + 0x150]
mov dword [ebp - 0x28c], ecx
cmova eax, dword [ebp - 0x268]
push eax
push str.RegisterElevationPolicy:__S
push ecx
call fcn.004026dd
xor eax, eax
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], eax
push ebx
lea eax, [ebp - 0x250]
mov byte [ebp - 4], 4
push str.Failed_to_create_key_for__s_elevation_policy
push eax
call fcn.0040f0b3
mov edi, eax
mov byte [ebp - 4], 5
lea eax, [ebp - 0x268]
cmp dword [ebp - 0x254], 7
cmova eax, dword [ebp - 0x268]
add esp, 0x1c
push 0x2001f
push ecx
push ecx
push eax
xor eax, eax
lea ecx, [ebp - 0x21c]
cmp byte [esi + 0x4d], al
sete al
add eax, 0x80000001
push eax
call fcn.004058c8
cmp dword [edi + 0x14], 0xf
jbe 0x42265d
mov edi, dword [edi]
mov edx, edi
mov ecx, eax
call fcn.0041c241
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 4
call fcn.004027a6
push ebx
lea eax, [ebp - 0x250]
push str.Failed_to_create_AppName_for__s_elevation_policy
push eax
call fcn.0040f0b3
add esp, 0xc
mov esi, eax
push 1
push ebx
push str.AppName
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 6
call fcn.00405a63
cmp dword [esi + 0x14], 0xf
jbe 0x4226ab
mov esi, dword [esi]
mov edx, esi
mov ecx, eax
call fcn.0041c241
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 4
call fcn.004027a6
push ebx
lea eax, [ebp - 0x250]
push str.Failed_to_create_Policy_for__s_elevation_policy
push eax
call fcn.0040f0b3
add esp, 0xc
mov esi, eax
push 4
lea eax, [ebp - 0x284]
mov byte [ebp - 4], 7
mov edi, dword [ebp - 0x21c]
push eax
push 4
push 0
push str.Policy
push edi
mov dword [ebp - 0x284], 3
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [esi + 0x14], 0xf
jbe 0x42270f
mov esi, dword [esi]
mov edx, esi
mov ecx, eax
call fcn.0041c241
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 4
call fcn.004027a6
push ebx
lea eax, [ebp - 0x250]
push str.Failed_to_create_AppPath_for__s_elevation_policy
push eax
call fcn.0040f0b3
add esp, 0xc
mov esi, eax
push 1
push dword [ebp - 0x288]
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 8
push str.AppPath
call fcn.00405a63
cmp dword [esi + 0x14], 0xf
jbe 0x422762
mov esi, dword [esi]
mov edx, esi
mov ecx, eax
call fcn.0041c241
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 4
call fcn.004027a6
test edi, edi
je 0x42278d
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
mov dword [ebp - 0x21c], edi
and dword [ebp - 0x218], 0
push str.ieframe.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4227d8
push str.IERefreshElevationPolicy
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4227bb
call eax
mov esi, eax
jmp 0x4227cf
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x4227ec
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
jns 0x422804
push esi
push str.WARNING:_RefreshPolicies_failed___HR0x_X
push dword [ebp - 0x28c]
call fcn.004026dd
add esp, 0xc
test edi, edi
je 0x42280f
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x268]
call fcn.00402ab8
mov edx, dword [ebp - 0x224]
cmp edx, 0xf
jbe 0x422831
mov ecx, dword [ebp - 0x238]
inc edx
call fcn.00403293
call fcn.00437f2d
ret 8