Function at 0x417060
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x118
push ebx
push esi
push edi
lea ecx, [ebp + 0x68]
call fcn.00416d10
mov ebx, dword [ebp + 0x78]
test ebx, ebx
je 0x4172c9
mov edi, dword [ebp + 0x74]
mov eax, dword [edi]
cmp eax, dword [0x424360]
jne 0x4170b3
mov ecx, dword [edi + 4]
cmp ecx, dword [0x424364]
jne 0x4170b3
mov edx, dword [edi + 8]
cmp edx, dword [0x424368]
jne 0x4170b3
mov eax, dword [edi + 0xc]
cmp eax, dword [0x42436c]
je 0x4172c9
lea ecx, [ebp + 0x68]
push ecx
push 0x42416c
push 1
push 0
push 0x424370
call dword [0x422254]
test eax, eax
jl 0x4172c9
cmp dword [ebx], 0
je 0x41715c
lea esp, [esp]
mov edx, dword [ebx + 4]
mov eax, dword [edx]
mov dword [ebp + 0x58], eax
mov ecx, dword [edx + 4]
mov dword [ebp + 0x5c], ecx
mov eax, dword [edx + 8]
mov dword [ebp + 0x60], eax
mov ecx, dword [edx + 0xc]
mov eax, dword [ebp + 0x7c]
mov dword [ebp + 0x64], ecx
lea ecx, [ebp + 0x58]
push ecx
push 1
test eax, eax
mov eax, dword [ebx]
push edi
je 0x41713f
cmp eax, 1
mov eax, dword [ebp + 0x68]
mov edx, dword [eax]
push eax
jne 0x41711a
call dword [edx + 0x14]
jmp 0x41711d
call dword [edx + 0x1c]
mov esi, eax
test esi, esi
jge 0x417152
lea ecx, [ebp + 0x68]
call fcn.00401280
mov eax, esi
lea esp, [ebp - 0xb8]
pop edi
pop esi
pop ebx
add ebp, 0x6c
mov esp, ebp
pop ebp
ret 0xc
cmp eax, 1
mov eax, dword [ebp + 0x68]
mov edx, dword [eax]
push eax
jne 0x41714f
call dword [edx + 0x18]
jmp 0x417152
call dword [edx + 0x20]
mov eax, dword [ebx + 8]
add ebx, 8
test eax, eax
jne 0x4170e0
mov eax, dword [ebp + 0x7c]
test eax, eax
jne 0x4172c9
push 0x40
lea edx, [ebp - 0xac]
push edx
push edi
call dword [0x42224c]
lea eax, [ebp - 0xac]
push eax
call dword [0x42202c]
lea esi, [eax + eax + 2]
mov eax, esi
add eax, 3
and eax, 0xfffffffc
call fcn.00417fe0
mov eax, esp
push 0
push esi
lea ecx, [ebp - 0xac]
push ecx
push eax
call fcn.00402510
mov edi, eax
test edi, edi
je 0x4172c9
mov ebx, dword [0x422080]
push str.CLSID_
lea edx, [ebp - 0x2c]
push edx
call ebx
mov esi, dword [0x422084]
push edi
lea eax, [ebp - 0x2c]
push eax
call esi
push str.Required_Categories
lea ecx, [ebp - 0x2c]
push ecx
call esi
push 0x20019
lea edx, [ebp - 0x2c]
xor eax, eax
push edx
push 0x80000000
lea ecx, [ebp + 0x7c]
mov dword [ebp + 0x54], 0x80000000
mov dword [ebp + 0x7c], eax
mov dword [ebp + 0x78], eax
call fcn.004099d0
test eax, eax
jne 0x417246
push eax
mov ecx, dword [ebp + 0x7c]
push eax
push eax
push eax
push eax
push eax
push eax
lea eax, [ebp + 0x78]
push eax
push 0
push 0
push 0
push ecx
call dword [0x422014]
lea ecx, [ebp + 0x7c]
mov dword [ebp + 0x74], eax
call fcn.004099b0
mov eax, dword [ebp + 0x74]
test eax, eax
jne 0x417246
mov eax, dword [ebp + 0x78]
test eax, eax
jne 0x417246
lea edx, [ebp - 0x2c]
push edx
push 0x80000000
call dword [section..rdata]
push str.CLSID_
lea eax, [ebp - 0x2c]
push eax
call ebx
push edi
lea ecx, [ebp - 0x2c]
push ecx
call esi
push str.Implemented_Categories
lea edx, [ebp - 0x2c]
push edx
call esi
push 0x20019
lea eax, [ebp - 0x2c]
push eax
push 0x80000000
lea ecx, [ebp + 0x7c]
call fcn.004099d0
test eax, eax
jne 0x4172b9
mov edx, dword [ebp + 0x7c]
push eax
push eax
push eax
push eax
push eax
push eax
push eax
lea ecx, [ebp + 0x78]
push ecx
push eax
push eax
push eax
push edx
call dword [0x422014]
lea ecx, [ebp + 0x7c]
mov esi, eax
call fcn.004099b0
test esi, esi
jne 0x4172b9
mov eax, dword [ebp + 0x78]
test eax, eax
jne 0x4172b9
lea eax, [ebp - 0x2c]
push eax
push 0x80000000
call dword [section..rdata]
lea ecx, [ebp + 0x7c]
call fcn.00409c60
lea ecx, [ebp + 0x54]
call fcn.00409c60
lea ecx, [ebp + 0x68]
call fcn.00401280
xor eax, eax
lea esp, [ebp - 0xb8]
pop edi
pop esi
pop ebx
add ebp, 0x6c
mov esp, ebp
pop ebp
ret 0xc