Function at 0x422d60
Capabilities:
Delete registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d9d31
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x5021c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
test cl, cl
je 0x42311e
lea ecx, [ebp - 0x70]
call fcn.00415980
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00414ff0
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 7
jbe 0x422dba
mov eax, dword [eax]
push 0x6b
push eax
lea eax, [ebp - 0x40]
push 0x4ec564
push eax
call fcn.00419200
add esp, 0x10
lea ecx, [ebp - 0x58]
call fcn.004027a0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 4
call fcn.004027a0
lea ecx, [ebp - 0xa0]
call fcn.00415980
mov edx, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x88]
call fcn.00414ff0
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 7
jbe 0x422e0a
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x28]
push str._s__searchpath:___1_
push eax
call fcn.00419200
add esp, 0xc
lea ecx, [ebp - 0x88]
call fcn.004027a0
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 9
call fcn.004027a0
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 0x30
push 0x4ec5a0
push 1
push 0
push str.SoftwareClassesDirectory_shellgrepWinNP3
push 0x80000001
call esi
cmp dword [ebp - 0x2c], 7
mov eax, dword [ebp - 0x30]
lea ecx, [eax*2 + 2]
lea eax, [ebp - 0x40]
jbe 0x422e69
mov eax, dword [ebp - 0x40]
push ecx
push eax
push 1
push str.Icon
push str.SoftwareClassesDirectory_shellgrepWinNP3
push 0x80000001
call esi
cmp dword [ebp - 0x14], 7
mov eax, dword [ebp - 0x18]
lea ecx, [eax*2 + 2]
lea eax, [ebp - 0x28]
jbe 0x422e94
mov eax, dword [ebp - 0x28]
push ecx
push eax
push 1
push 0
push str.SoftwareClassesDirectory_shellgrepWinNP3Command
push 0x80000001
call esi
push 0x30
push str.Search_with_grepWinNP3
push 1
push 0
push str.SoftwareClassesDirectoryBackground_shellgrepWinNP3
push 0x80000001
call esi
cmp dword [ebp - 0x2c], 7
mov eax, dword [ebp - 0x30]
lea ecx, [eax*2 + 2]
lea eax, [ebp - 0x40]
jbe 0x422ed3
mov eax, dword [ebp - 0x40]
push ecx
push eax
push 1
push str.Icon
push str.SoftwareClassesDirectoryBackground_shellgrepWinNP3
push 0x80000001
call esi
push 0x30
push str.Search_with_grepWinNP3
push 1
push 0
push str.SoftwareClassesFolder_shellgrepWinNP3
push 0x80000001
call esi
cmp dword [ebp - 0x2c], 7
mov eax, dword [ebp - 0x30]
lea ecx, [eax*2 + 2]
lea eax, [ebp - 0x40]
jbe 0x422f15
mov eax, dword [ebp - 0x40]
push ecx
push eax
push 1
push str.Icon
push str.SoftwareClassesFolder_shellgrepWinNP3
push 0x80000001
call esi
cmp dword [ebp - 0x14], 7
mov eax, dword [ebp - 0x18]
lea ecx, [eax*2 + 2]
lea eax, [ebp - 0x28]
jbe 0x422f40
mov eax, dword [ebp - 0x28]
push ecx
push eax
push 1
push 0
push str.SoftwareClassesFolder_shellgrepWinNP3Command
push 0x80000001
call esi
push 0x30
push str.Search_with_grepWinNP3
push 1
push 0
push str.SoftwareClassesDrive_shellgrepWinNP3
push 0x80000001
call esi
cmp dword [ebp - 0x2c], 7
mov eax, dword [ebp - 0x30]
lea ecx, [eax*2 + 2]
lea eax, [ebp - 0x40]
jbe 0x422f7f
mov eax, dword [ebp - 0x40]
push ecx
push eax
push 1
push str.Icon
push str.SoftwareClassesDrive_shellgrepWinNP3
push 0x80000001
call esi
cmp dword [ebp - 0x14], 7
mov eax, dword [ebp - 0x18]
lea ecx, [eax*2 + 2]
lea eax, [ebp - 0x28]
jbe 0x422faa
mov eax, dword [ebp - 0x28]
push ecx
push eax
push 1
push 0
push str.SoftwareClassesDrive_shellgrepWinNP3Command
push 0x80000001
call esi
push 0x30
push str.Search_with_grepWinNP3
push 1
push 0
push str.SoftwareClasses_shellgrepWinNP3
push 0x80000001
call esi
cmp dword [ebp - 0x2c], 7
mov eax, dword [ebp - 0x30]
lea ecx, [eax*2 + 2]
lea eax, [ebp - 0x40]
jbe 0x422fe9
mov eax, dword [ebp - 0x40]
push ecx
push eax
push 1
push str.Icon
push str.SoftwareClasses_shellgrepWinNP3
push 0x80000001
call esi
cmp dword [ebp - 0x14], 7
mov eax, dword [ebp - 0x18]
lea ecx, [eax*2 + 2]
lea eax, [ebp - 0x28]
jbe 0x423014
mov eax, dword [ebp - 0x28]
push ecx
push eax
push 1
push 0
push str.SoftwareClasses_shellgrepWinNP3Command
push 0x80000001
call esi
push 0x10
push str.Player
push 1
push str.MultiSelectModel
push str.SoftwareClasses_shellgrepWinNP3
push 0x80000001
call esi
lea ecx, [ebp - 0xe8]
call fcn.00415980
mov edx, eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xd0]
call fcn.00414ff0
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x14], 7
jbe 0x423068
mov eax, dword [eax]
push eax
lea eax, [ebp - 0xb8]
push str._s__searchpath:___V_
push eax
call fcn.00419200
mov edi, eax
add esp, 0xc
lea eax, [ebp - 0x28]
cmp eax, edi
je 0x4230c3
mov ecx, eax
call fcn.004027a0
mov ecx, dword [edi]
mov dword [ebp - 0x28], ecx
mov ecx, dword [edi + 4]
mov dword [ebp - 0x24], ecx
mov eax, dword [edi + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
lea ecx, [ebp - 0xb8]
call fcn.004027a0
lea ecx, [ebp - 0xd0]
call fcn.004027a0
lea ecx, [ebp - 0xe8]
call fcn.004027a0
cmp dword [ebp - 0x14], 7
mov eax, dword [ebp - 0x18]
lea ecx, [eax*2 + 2]
lea eax, [ebp - 0x28]
jbe 0x4230fa
mov eax, dword [ebp - 0x28]
push ecx
push eax
push 1
push 0
push str.SoftwareClassesDirectoryBackground_shellgrepWinNP3Command
push 0x80000001
call esi
lea ecx, [ebp - 0x28]
call fcn.004027a0
lea ecx, [ebp - 0x40]
call fcn.004027a0
jmp 0x423160
mov esi, dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push str.SoftwareClassesDirectory_shellgrepWinNP3
push 0x80000001
call esi
push str.SoftwareClassesDirectoryBackground_shellgrepWinNP3
push 0x80000001
call esi
push str.SoftwareClassesFolder_shellgrepWinNP3
push 0x80000001
call esi
push str.SoftwareClassesDrive_shellgrepWinNP3
push 0x80000001
call esi
push str.SoftwareClasses_shellgrepWinNP3
push 0x80000001
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004accbf
mov esp, ebp
pop ebp
ret