Function at 0x4150e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x485bd8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4b3630]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x18]
push eax
call fcn.00418ff0
add esp, 4
push str.UtilsInstall.ico
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
call fcn.00414c80
call fcn.00406280
mov ecx, eax
test ecx, ecx
je 0x415342
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov eax, 0x48f138
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
test eax, 0xffff0000
jne 0x415160
movzx eax, ax
push eax
call fcn.00406740
jmp 0x41516c
push 3
push 0x48f138
call fcn.0040ab00
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 2
push eax
call fcn.00418ff0
add esp, 4
push 0x48d69c
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.00414c80
push 0x48d5e0
lea ecx, [ebp - 0x10]
call fcn.00414c80
push str.___fromrmenu
lea ecx, [ebp - 0x10]
call fcn.00414c80
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
push 0
push 0
push 0x2001f
push 0
push 0
push 0x48f098
push SysReAllocString
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.00414d60
mov esi, dword [ebp - 0x14]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x415257
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
test eax, eax
je 0x41522a
mov edx, eax
lea ebx, [edx + 2]
nop dword [eax + eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x415200
sub edx, ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
sar edx, 1
lea ecx, [edx*2 + 2]
push ecx
push eax
push 1
push 0
push str.Icon
push edi
call ebx
test esi, esi
je 0x415257
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x415233
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push esi
push 1
push 0
push str.Position
push edi
call ebx
push 0
push 0
push 0x2001f
push 0
push 0
push str.DesktopBackground_shell_
push SysReAllocString
lea ecx, [ebp - 0x24]
call fcn.00414d60
mov edi, dword [ebp - 0x24]
test eax, eax
jne 0x4152b5
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4152b5
mov edx, eax
lea ebx, [edx + 2]
nop dword [eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x415290
sub edx, ebx
sar edx, 1
lea ecx, [edx*2 + 2]
push ecx
push eax
push 1
push 0
push 0
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push edi
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
push 1
call fcn.004105a0
mov ecx, eax
call fcn.0040e730
test edi, edi
je 0x4152d5
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x10]
or edi, 0xffffffff
mov byte [ebp - 4], 2
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4152f6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x415311
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x415330
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00405f60
int3