Function at 0x42e5e5
Capabilities:
Delete registry key
Query or enumerate registry key
Set registry value

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x4d5784]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x30
mov eax, 0x4acf32
call fcn.004303ac
push 0x4da5ec
lea ecx, [ebp - 0x20]
call fcn.004223ce
push str.Profiles
mov eax, 0x4b25e4
push eax
push eax
lea eax, [ebp - 0x20]
push 0x4b25c0
xor esi, esi
push eax
mov dword [ebp - 4], esi
call fcn.0042728c
add esp, 0x14
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
push 0xf003f
push dword [ebp - 0x20]
xor ebx, ebx
mov edi, SysReAllocString
inc ebx
push edi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], bl
call fcn.004294bb
cmp eax, esi
jne 0x42e9c0
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x34], 0x104
lea eax, [ebp - 0x3c]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp]
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
inc dword [ebp - 0x14]
lea ecx, [ebp - 0x24]
test eax, eax
jne 0x42e8a0
lea eax, [ebp - 0x20]
push eax
call fcn.00422764
push 0x4b25bc
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.0042466b
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x24]
call fcn.0042466b
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
push 3
push dword [ebp - 0x24]
lea ecx, [ebp - 0x1c]
push edi
mov byte [ebp - 4], 3
call fcn.004294bb
cmp eax, esi
jne 0x42e765
lea eax, [ebp - 0x10]
push eax
push esi
push str.Name
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], esi
call fcn.0042e48d
cmp eax, esi
jne 0x42e765
mov eax, dword [ebp - 0x10]
cmp eax, esi
je 0x42e765
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042f8d1
pop ecx
lea ecx, [ebp - 0x10]
push ecx
push eax
push str.Name
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x28], eax
call fcn.0042e48d
cmp eax, esi
jne 0x42e79b
push 0x22
mov ecx, 0x4da128
call fcn.0042d5c5
push eax
push dword [ebp - 0x28]
call fcn.0042fb70
pop ecx
pop ecx
test eax, eax
jne 0x42e780
push dword [ebp - 0x28]
call fcn.00430546
pop ecx
lea ecx, [ebp - 0x1c]
call fcn.00429452
lea eax, [ebp]
push eax
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
dec dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
call fcn.00429452
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.004222af
jmp 0x42e66c
push 0x21
mov ecx, 0x4da128
call fcn.0042d5c5
push eax
push dword [ebp - 0x28]
call fcn.0042fb70
pop ecx
pop ecx
test eax, eax
je 0x42e7a6
push dword [ebp - 0x28]
call fcn.00430546
pop ecx
jmp 0x42e765
lea eax, [ebp - 0x14]
push eax
push str.AppendMenu
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x14], esi
call fcn.0042e455
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x42e7c9
cmp dword [ebp - 0x14], ebx
je 0x42e7df
push 4
lea eax, [ebp - 0x10]
push eax
push 4
push esi
push str.AppendMenu
push dword [ebp - 0x1c]
mov dword [ebp - 0x10], ebx
call edi
lea eax, [ebp - 0x14]
push eax
push str.Default
lea ecx, [ebp - 0x1c]
call fcn.0042e455
test eax, eax
jne 0x42e7f9
cmp dword [ebp - 0x14], esi
je 0x42e80f
push 4
lea eax, [ebp - 0x10]
push eax
push 4
push esi
push str.Default
push dword [ebp - 0x1c]
mov dword [ebp - 0x10], esi
call edi
lea eax, [ebp - 0x14]
push eax
push str.SendEverBox
lea ecx, [ebp - 0x1c]
call fcn.0042e455
test eax, eax
jne 0x42e829
cmp dword [ebp - 0x14], ebx
je 0x42e83f
push 4
lea eax, [ebp - 0x10]
push eax
push 4
push esi
push str.SendEverBox
push dword [ebp - 0x1c]
mov dword [ebp - 0x10], ebx
call edi
lea eax, [ebp - 0x14]
push eax
push str.ExeImmi
lea ecx, [ebp - 0x1c]
call fcn.0042e455
test eax, eax
jne 0x42e859
cmp dword [ebp - 0x14], ebx
je 0x42e86f
push 4
lea eax, [ebp - 0x10]
push eax
push 4
push esi
push str.ExeImmi
push dword [ebp - 0x1c]
mov dword [ebp - 0x10], ebx
call edi
push dword [ebp - 0x28]
call fcn.00430546
pop ecx
lea ecx, [ebp - 0x30]
call fcn.00429452
lea ecx, [ebp - 0x1c]
call fcn.00429452
lea ecx, [ebp - 0x1c]
call fcn.00429452
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.004222af
jmp 0x42ea7e
push 0x4da5ec
call fcn.004223ce
dec dword [ebp - 0x14]
push dword [ebp - 0x14]
lea eax, [ebp - 0x24]
push 0x4b2558
push eax
mov byte [ebp - 4], 4
call fcn.0042728c
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x28]
call fcn.00422764
mov eax, dword [ebp - 0x24]
push dword [eax - 0xc]
lea ecx, [ebp - 0x28]
push eax
mov byte [ebp - 4], 5
call fcn.004245eb
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
push esi
push esi
push 0x20006
push esi
push esi
push dword [ebp - 0x28]
lea ecx, [ebp - 0x1c]
push edi
mov byte [ebp - 4], 6
call fcn.0042946d
test eax, eax
je 0x42e92f
lea ecx, [ebp - 0x30]
call fcn.00429452
lea ecx, [ebp - 0x1c]
call fcn.00429452
lea ecx, [ebp - 0x1c]
call fcn.00429452
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.004222af
jmp 0x42e890
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
lea eax, [ebp - 0x10]
push eax
push 4
push esi
push str.Default
push dword [ebp - 0x1c]
mov dword [ebp - 0x10], esi
call edi
push 4
lea eax, [ebp - 0x10]
push eax
push 4
push esi
push str.AppendMenu
push dword [ebp - 0x1c]
mov dword [ebp - 0x10], ebx
call edi
push ebx
push str..MPEG_.MPG_.DAT_.avi_.mov_.asf_.3gp_.mkv_.flv_.ra_.rm_.ram_.aiff_.au_.midi_.vqf_.ogg_.mid_.aac_.ape
push str.StoreOnly
lea ecx, [ebp - 0x1c]
call fcn.0042950a
push ebx
push 0x21
mov ecx, 0x4da128
call fcn.0042d5c5
push eax
push str.Name
lea ecx, [ebp - 0x1c]
call fcn.0042950a
push 4
lea eax, [ebp - 0x10]
push eax
push 4
push esi
push str.SendEverBox
push dword [ebp - 0x1c]
mov dword [ebp - 0x10], ebx
call edi
push 4
lea eax, [ebp - 0x10]
push eax
push 4
push esi
push str.ExeImmi
push dword [ebp - 0x1c]
mov dword [ebp - 0x10], ebx
call edi
jmp 0x42e907
push 0x4b2448
lea ecx, [ebp - 0x20]
call fcn.0042466b
push esi
push esi
push 0x20006
push esi
push esi
push dword [ebp - 0x20]
lea ecx, [ebp - 0x30]
push edi
call fcn.0042946d
test eax, eax
jne 0x42ea7e
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
lea eax, [ebp - 0x34]
push eax
push 4
push esi
push str.Default
push dword [ebp - 0x30]
mov dword [ebp - 0x34], esi
call edi
push 4
lea eax, [ebp - 0x34]
push eax
push 4
push esi
push str.AppendMenu
push dword [ebp - 0x30]
mov dword [ebp - 0x34], ebx
call edi
push ebx
push str..MPEG_.MPG_.DAT_.avi_.mov_.asf_.3gp_.mkv_.flv_.ra_.rm_.ram_.aiff_.au_.midi_.vqf_.ogg_.mid_.aac_.ape
push str.StoreOnly
lea ecx, [ebp - 0x30]
call fcn.0042950a
push ebx
push 0x21
mov ecx, 0x4da128
call fcn.0042d5c5
push eax
push str.Name
lea ecx, [ebp - 0x30]
call fcn.0042950a
push 4
lea eax, [ebp - 0x34]
push eax
push 4
push esi
push str.SendEverBox
push dword [ebp - 0x30]
mov dword [ebp - 0x34], ebx
call edi
push 4
lea eax, [ebp - 0x34]
push eax
push 4
push esi
push str.ExeImmi
push dword [ebp - 0x30]
mov dword [ebp - 0x34], ebx
call edi
lea ecx, [ebp - 0x30]
call fcn.00429452
lea ecx, [ebp - 0x30]
call fcn.00429452
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.004222af
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.0043039d
add ebp, 0x20c
leave
ret