Function at 0x4cc3e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3018
call fcn.004282c0
mov eax, dword [0x5522f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x3010], eax
mov ebx, edx
mov eax, dword [ebp + 0xc]
mov edx, 0x535efc
push edi
mov dword [ebp - 0x3014], eax
mov eax, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x2004]
mov dword [ebp - 0x3018], eax
call fcn.004f5150
add esp, 4
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [ebp - 0x300c]
push eax
lea eax, [ebp - 0x3008]
push eax
push 0
push 0x20006
push 0
lea eax, [ebp - 0x2004]
push eax
push 0
push eax
push 0x80000000
call esi
test eax, eax
jne 0x4cc73e
lea eax, [ebp - 0x2004]
push ebx
push eax
call fcn.004f5d20
lea ecx, [ebp - 0x2004]
add esp, 8
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4cc480
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x2004]
push eax
push 1
push 0
push 0
push dword [ebp - 0x3008]
call edi
test eax, eax
jne 0x4cc73e
lea eax, [ebp - 0x300c]
push eax
lea eax, [ebp - 0x3008]
push eax
push 0
push 0x20006
push 0
lea eax, [ebp - 0x2004]
push eax
push 0
push eax
push 0x80000000
call esi
test eax, eax
jne 0x4cc73e
push dword [ebp - 0x3010]
lea eax, [ebp - 0x2004]
push eax
call fcn.004f5d20
lea ecx, [ebp - 0x2004]
add esp, 8
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4cc510
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x2004]
push eax
push 1
push 0
push 0
push dword [ebp - 0x3008]
call edi
test eax, eax
jne 0x4cc73e
push ebx
lea eax, [ebp - 0x3004]
push str._sDefaultIcon
push eax
call fcn.00401500
lea eax, [ebp - 0x3004]
push eax
lea eax, [ebp - 0x2004]
push eax
call fcn.004f5d20
add esp, 0x14
lea eax, [ebp - 0x300c]
push eax
lea eax, [ebp - 0x3008]
push eax
push 0
push 0x20006
push 0
push str.DefaultIcon
push 0
lea eax, [ebp - 0x2004]
push eax
push 0x80000000
call esi
test eax, eax
jne 0x4cc73e
push dword [ebp - 0x3014]
lea eax, [ebp - 0x2004]
push eax
call fcn.004f5d20
lea ecx, [ebp - 0x2004]
add esp, 8
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4cc5c0
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x2004]
push eax
push 1
push 0
push 0
push dword [ebp - 0x3008]
call edi
test eax, eax
jne 0x4cc73e
push ebx
lea eax, [ebp - 0x3004]
push str._sShell
push eax
call fcn.00401500
lea eax, [ebp - 0x3004]
push eax
lea eax, [ebp - 0x2004]
push eax
call fcn.004f5d20
add esp, 0x14
lea eax, [ebp - 0x300c]
push eax
lea eax, [ebp - 0x3008]
push eax
push 0
push 0x20006
push 0
push str.Shell
push 0
lea eax, [ebp - 0x2004]
push eax
push 0x80000000
call esi
test eax, eax
jne 0x4cc73e
lea eax, [ebp - 0x300c]
push eax
lea eax, [ebp - 0x3008]
push eax
push 0
push 0x20006
push 0
push str.Open
push 0
push str.Open
push dword [ebp - 0x3008]
call esi
test eax, eax
jne 0x4cc73e
lea eax, [ebp - 0x300c]
push eax
lea eax, [ebp - 0x3008]
push eax
push 0
push 0x20006
push 0
push str.Command
push 0
push str.Command
push dword [ebp - 0x3008]
call esi
test eax, eax
jne 0x4cc73e
push dword [ebp - 0x3018]
lea eax, [ebp - 0x2004]
push eax
call fcn.004f5d20
lea ecx, [ebp - 0x2004]
add esp, 8
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4cc6d4
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x2004]
push eax
push 1
push 0
push 0
push dword [ebp - 0x3008]
call edi
test eax, eax
jne 0x4cc73e
push eax
push 0x2e
push 0x1a
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageA]
push 0
push 0
push 0x3000
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00427655
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00427655
mov esp, ebp
pop ebp
ret