Function at 0x4141a0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4ecb53
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x52a6ec]
xor eax, esp
mov dword [esp + 0x7c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x52a6ec]
xor eax, esp
push eax
lea eax, [esp + 0x94]
mov dword fs:[0], eax
mov eax, dword [esp + 0xa4]
mov edi, edx
push 0x52
xor ebp, ebp
mov esi, ecx
lea edx, [esp + 0x42]
xor ecx, ecx
push ebp
push edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x38], edi
mov word [esp + 0x48], cx
call fcn.004cf830
add esp, 0xc
push 0x2a
lea eax, [esp + 0x40]
push eax
push esi
call dword [sym.imp.ole32.dll_StringFromGUID2]
lea ecx, [esp + 0x14]
push ecx
mov ecx, str.SoftwareMicrosoftInternet_ExplorerLow_RightsElevationPolicy_
call fcn.00405cc0
lea eax, [esp + 0x3c]
mov dword [esp + 0x9c], ebp
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x414230
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x40]
push edx
lea ebx, [esp + 0x1c]
call fcn.004057e0
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
push 0x2011f
lea eax, [esp + 0x24]
mov byte [esp + 0xa0], 1
push eax
mov eax, dword [esp + 0x1c]
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.00405df0
test eax, eax
je 0x4142bf
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x41428d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x9c], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4142b8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
jmp 0x41446f
mov edi, dword [edi]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor eax, eax
cmp edi, ebp
setne al
cmp eax, ebp
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenW]
je 0x4142f3
push edi
call ebp
mov ebx, dword [esp + 0x20]
lea ecx, [eax + eax + 2]
push ecx
push edi
push 1
push 0
push str.AppName
push ebx
call esi
jmp 0x4142f7
mov ebx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov edi, dword [edx]
xor eax, eax
test edi, edi
setne al
test eax, eax
je 0x41431d
push edi
call ebp
lea eax, [eax + eax + 2]
push eax
push edi
push 1
push 0
push str.AppPath
push ebx
call esi
push 4
lea ecx, [esp + 0x1c]
push ecx
push 4
push 0
push str.Policy
push ebx
mov dword [esp + 0x30], 3
call esi
call fcn.00419c20
test al, al
je 0x414437
mov eax, dword [esp + 0x14]
xor edi, edi
push 0x2021f
lea edx, [esp + 0x34]
push edx
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
call fcn.00405df0
test eax, eax
je 0x4143bd
mov eax, dword [esp + 0x30]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, edi
je 0x414380
push eax
call esi
cmp ebx, edi
je 0x414387
push ebx
call esi
mov dword [esp + 0x9c], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4142b8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
jmp 0x41446f
mov ecx, dword [esp + 0x2c]
mov ebx, dword [ecx]
mov edi, dword [esp + 0x30]
xor eax, eax
test ebx, ebx
setne al
test eax, eax
je 0x4143e7
push ebx
call ebp
lea edx, [eax + eax + 2]
push edx
push ebx
push 1
push 0
push str.AppName
push edi
call esi
mov eax, dword [esp + 0x1c]
mov ebx, dword [eax]
xor eax, eax
test ebx, ebx
setne al
test eax, eax
je 0x41440d
push ebx
call ebp
lea ecx, [eax + eax + 2]
push ecx
push ebx
push 1
push 0
push str.AppPath
push edi
call esi
push 4
lea edx, [esp + 0x1c]
push edx
push 4
push 0
push str.Policy
push edi
mov dword [esp + 0x30], 3
call esi
test edi, edi
je 0x414433
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x414442
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x9c], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41446d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [esp + 0x94]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x7c]
xor ecx, esp
call fcn.004c9392
add esp, 0x8c
ret