Function at 0x46f026
Capabilities:
Delete registry key

Disassembly:
push 0x28
mov eax, 0x5cdd91
call fcn.00506dc7
mov edi, ecx
and dword [ebp - 4], 0
lea eax, [edi + 0x10]
mov esi, 0x5f1b04
push esi
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0042dfbd
lea ecx, [ebp + 8]
xor ebx, ebx
push ecx
push eax
lea eax, [ebp - 0x10]
inc ebx
push eax
mov byte [ebp - 4], bl
call fcn.0043910d
add esp, 0x18
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 3
lea ecx, [ecx - 0x10]
call fcn.00412ac4
push esi
lea ecx, [ebp - 0x10]
call fcn.00435bf5
push esi
lea ecx, [ebp - 0x10]
call fcn.00435cda
cmp dword [edi + 0x14], 0
jne 0x46f0d3
push dword [ebp - 0x10]
push dword [edi + 8]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
test eax, eax
je 0x46f29f
mov eax, dword [ebp - 0x10]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
mov dword [ebp - 0x18], esi
call fcn.00412393
pop ecx
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
push dword [edi + 8]
call fcn.004e5bb9
push dword [ebp - 0x10]
push dword [edi + 8]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
test eax, eax
je 0x46f29f
mov eax, dword [edi + 0x10]
sub eax, 0x10
push eax
call fcn.00412393
pop ecx
mov dword [ebp - 0x14], eax
lea ecx, [eax + 0x10]
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x10]
push ebx
push ecx
add eax, 0xfffffff0
mov byte [ebp - 4], 4
mov esi, esp
push eax
mov dword [ebp - 0x18], esi
call fcn.00412393
pop ecx
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.00435199
test eax, eax
jne 0x46f13c
push eax
mov eax, dword [ebp - 0x10]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
mov dword [ebp - 0x18], esi
call fcn.00412393
pop ecx
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.00435199
test eax, eax
jne 0x46f13c
xor ebx, ebx
jmp 0x46f297
xor esi, esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 5
push eax
mov ecx, edi
call fcn.0048f12d
mov dword [ebp - 0x18], esi
cmp dword [ebp - 0x30], esi
jle 0x46f192
mov ebx, esi
push ebx
lea ecx, [ebp - 0x34]
call fcn.0042def1
push ecx
mov esi, esp
mov dword [ebp - 0x18], esi
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00412393
pop ecx
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.0046f026
inc ebx
cmp ebx, dword [ebp - 0x30]
jl 0x46f160
xor ebx, ebx
inc ebx
xor esi, esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 6
push eax
mov ecx, edi
call fcn.0049336c
cmp dword [ebp - 0x24], 0
mov dword [ebp - 0x18], esi
jle 0x46f1e5
mov ebx, esi
push ebx
lea ecx, [ebp - 0x28]
call fcn.0042def1
push ecx
mov esi, esp
mov dword [ebp - 0x18], esi
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00412393
pop ecx
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.0046f2bf
inc ebx
cmp ebx, dword [ebp - 0x24]
jl 0x46f1b5
xor ebx, ebx
inc ebx
push ebx
push ecx
mov esi, esp
push dword [ebp - 0x14]
mov dword [ebp - 0x18], esi
call fcn.00412393
pop ecx
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.00435199
test eax, eax
jne 0x46f221
push eax
push ecx
mov esi, esp
push dword [ebp - 0x14]
mov dword [ebp - 0x18], esi
call fcn.00412393
pop ecx
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.00435199
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
mov dword [ebp - 0x18], esi
call fcn.00412393
pop ecx
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.0046ed44
test eax, eax
jne 0x46f287
mov eax, dword [ebp - 0x10]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
mov dword [ebp - 0x18], esi
call fcn.00412393
pop ecx
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
push dword [edi + 8]
call fcn.004e5bb9
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
mov dword [ebp - 0x18], esi
call fcn.00412393
pop ecx
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.0046ed44
mov ebx, eax
lea ecx, [ebp - 0x28]
call fcn.00434a10
lea ecx, [ebp - 0x34]
call fcn.00434a10
mov ecx, dword [ebp - 0x14]
call fcn.00412ac4
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00412ac4
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00412ac4
mov eax, ebx
call fcn.00506d90
ret 4