Function at 0x4223bc
Capabilities:
Set registry value

Disassembly:
push 0x280
mov eax, 0x43c351
call fcn.0043805e
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.00415fd8
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.0040edac
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.0040f19d
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.0040f01b
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 0x422553
mov edi, dword [edi]
mov edx, edi
mov ecx, eax
call fcn.0041c1a9
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.0040f01b
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 0x4225a1
mov esi, dword [esi]
mov edx, esi
mov ecx, eax
call fcn.0041c1a9
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.0040f01b
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 0x422605
mov esi, dword [esi]
mov edx, esi
mov ecx, eax
call fcn.0041c1a9
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.0040f01b
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 0x422658
mov esi, dword [esi]
mov edx, esi
mov ecx, eax
call fcn.0041c1a9
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 4
call fcn.004027a6
test edi, edi
je 0x422683
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 0x4226ce
push str.IERefreshElevationPolicy
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4226b1
call eax
mov esi, eax
jmp 0x4226c5
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 0x4226e2
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
jns 0x4226fa
push esi
push str.WARNING:_RefreshPolicies_failed___HR0x_X
push dword [ebp - 0x28c]
call fcn.004026dd
add esp, 0xc
test edi, edi
je 0x422705
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 0x422727
mov ecx, dword [ebp - 0x238]
inc edx
call fcn.00403293
call fcn.0043800d
ret 8