Function at 0x4c8b20
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3018
call fcn.00425790
mov eax, dword [0x5472f8]
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, 0x52ccdc
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.004f12e0
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 0x4c8e7e
lea eax, [ebp - 0x2004]
push ebx
push eax
call fcn.004f1eb0
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 0x4c8bc0
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 0x4c8e7e
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 0x4c8e7e
push dword [ebp - 0x3010]
lea eax, [ebp - 0x2004]
push eax
call fcn.004f1eb0
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 0x4c8c50
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 0x4c8e7e
push ebx
lea eax, [ebp - 0x3004]
push str._sDefaultIcon
push eax
call fcn.00401420
lea eax, [ebp - 0x3004]
push eax
lea eax, [ebp - 0x2004]
push eax
call fcn.004f1eb0
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 0x4c8e7e
push dword [ebp - 0x3014]
lea eax, [ebp - 0x2004]
push eax
call fcn.004f1eb0
lea ecx, [ebp - 0x2004]
add esp, 8
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c8d00
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 0x4c8e7e
push ebx
lea eax, [ebp - 0x3004]
push str._sShell
push eax
call fcn.00401420
lea eax, [ebp - 0x3004]
push eax
lea eax, [ebp - 0x2004]
push eax
call fcn.004f1eb0
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 0x4c8e7e
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 0x4c8e7e
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 0x4c8e7e
push dword [ebp - 0x3018]
lea eax, [ebp - 0x2004]
push eax
call fcn.004f1eb0
lea ecx, [ebp - 0x2004]
add esp, 8
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c8e14
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 0x4c8e7e
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.00424b17
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.00424b17
mov esp, ebp
pop ebp
ret