Function at 0x406864
Capabilities:
Delete registry key

Disassembly:
push ebp
sub esp, 0x190
lea ebp, [esp - 4]
mov eax, dword [0x4285fc]
xor eax, ebp
mov dword [ebp + 0x190], eax
push 0x20
mov eax, 0x41d509
call fcn.0040cf2f
mov eax, dword [ebp + 0x19c]
mov esi, dword [ebp + 0x1a0]
xor ebx, ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ebx
xor edi, edi
inc edi
mov dword [ebp - 4], edi
cmp esi, ebx
jne 0x4068d9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0040908e
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x190]
xor ecx, ebp
call fcn.0040c58f
add ebp, 0x194
leave
ret 0xc
push 0x4228e4
push eax
call fcn.00405351
pop ecx
pop ecx
test eax, eax
jne 0x4068a6
lea eax, [ebp - 0x14]
push eax
push 0x420e04
push edi
push ebx
push 0x4228d4
call dword [0x4202a0]
cmp eax, ebx
jge 0x406914
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0040908e
mov eax, ebx
jmp 0x4068b4
mov eax, esi
mov dword [ebp - 0x10], eax
cmp dword [esi], ebx
jne 0x406ac4
cmp dword [ebp + 0x1a4], ebx
jne 0x406904
push 0x40
lea eax, [ebp + 0x10]
push eax
push dword [ebp - 0x18]
call dword [0x42029c]
mov dword [ebp - 0x24], ebx
mov byte [ebp - 4], 2
push str.CLSID_
mov esi, 0x80
lea eax, [ebp + 0x90]
push esi
push eax
call fcn.0040f0bf
push eax
call fcn.0040110e
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp + 0x90]
push esi
push eax
call fcn.0040f201
push eax
call fcn.0040110e
push str.Required_Categories
lea eax, [ebp + 0x90]
push esi
push eax
call fcn.0040f201
push eax
call fcn.0040110e
mov edi, 0x80000000
add esp, 0x30
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], ebx
mov byte [ebp - 4], 3
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 4
push 0x20019
lea eax, [ebp + 0x90]
push eax
push edi
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x10], ebx
call fcn.0040577a
test eax, eax
jne 0x4069fd
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x20]
call dword [0x420008]
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
call fcn.00405711
cmp dword [ebp - 0x18], ebx
jne 0x4069fd
cmp dword [ebp - 0x10], ebx
jne 0x4069fd
lea eax, [ebp + 0x90]
push eax
push edi
call dword [0x42001c]
push str.CLSID_
lea eax, [ebp + 0x90]
push esi
push eax
call fcn.0040f0bf
push eax
call fcn.0040110e
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp + 0x90]
push esi
push eax
call fcn.0040f201
push eax
call fcn.0040110e
push str.Implemented_Categories
lea eax, [ebp + 0x90]
push esi
push eax
call fcn.0040f201
push eax
call fcn.0040110e
add esp, 0x30
push 0x20019
lea eax, [ebp + 0x90]
push eax
push edi
lea ecx, [ebp - 0x20]
call fcn.0040577a
cmp eax, ebx
jne 0x406a98
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x20]
call dword [0x420008]
lea ecx, [ebp - 0x20]
mov esi, eax
call fcn.00405711
cmp esi, ebx
jne 0x406a98
cmp dword [ebp - 0x10], ebx
jne 0x406a98
lea eax, [ebp + 0x90]
push eax
push edi
call dword [0x42001c]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
call fcn.00405711
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00405711
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00405de2
jmp 0x406904
mov eax, dword [ebp - 0x10]
mov esi, dword [eax + 4]
lea edi, [ebp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edx, [ebp]
movsd dword es:[edi], dword [esi]
push edx
push 1
push dword [ebp - 0x18]
movsd dword es:[edi], dword [esi]
cmp dword [ebp + 0x1a4], ebx
je 0x406afd
cmp dword [eax], 1
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
jne 0x406aef
call dword [ecx + 0x14]
jmp 0x406af2
call dword [ecx + 0x1c]
cmp eax, ebx
jge 0x406b10
mov ebx, eax
jmp 0x406904
cmp dword [eax], 1
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
jne 0x406b0d
call dword [ecx + 0x18]
jmp 0x406b10
call dword [ecx + 0x20]
add dword [ebp - 0x10], 8
mov eax, dword [ebp - 0x10]
cmp dword [eax], ebx
jne 0x406ac1
jmp 0x406921