Function at 0x450b9a
Capabilities:
Delete registry key

Disassembly:
push ebp
lea ebp, [esp - 0x134]
sub esp, 0x1b4
mov eax, dword [0x4c3a60]
xor eax, ebp
mov dword [ebp + 0x130], eax
mov eax, dword [ebp + 0x13c]
push ebx
push esi
mov esi, dword [ebp + 0x140]
xor ebx, ebx
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], ebx
cmp esi, ebx
jne 0x450bd6
xor eax, eax
jmp 0x450d98
push 0x4ae2f4
push eax
call fcn.0043360f
pop ecx
pop ecx
test eax, eax
jne 0x450bcf
lea eax, [ebp - 0x68]
push eax
push 0x4acd74
push 1
push ebx
push 0x4ae314
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x450c11
mov eax, dword [ebp - 0x68]
cmp eax, ebx
je 0x450bcf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x450bcf
mov eax, esi
push edi
mov dword [ebp - 0x64], eax
cmp dword [esi], ebx
jne 0x450db4
cmp dword [ebp + 0x144], ebx
jne 0x450d88
push 0x40
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x6c]
call dword [sym.imp.ole32.dll_StringFromGUID2]
push str.CLSID_
mov esi, 0x80
lea eax, [ebp + 0x30]
push esi
push eax
mov dword [ebp - 0x78], ebx
call fcn.0047a9fd
push eax
call fcn.0041bf7f
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp + 0x30]
push esi
push eax
call fcn.0047ab3f
push eax
call fcn.0041bf7f
push str.Required_Categories
lea eax, [ebp + 0x30]
push esi
push eax
call fcn.0047ab3f
push eax
call fcn.0041bf7f
add esp, 0x30
push 0x20019
lea eax, [ebp + 0x30]
mov edi, connect
push eax
push edi
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x64], ebx
call fcn.00450778
test eax, eax
jne 0x450ce4
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x64]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x6c], eax
call fcn.0045075d
cmp dword [ebp - 0x6c], ebx
jne 0x450ce4
cmp dword [ebp - 0x64], ebx
jne 0x450ce4
lea eax, [ebp + 0x30]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push str.CLSID_
lea eax, [ebp + 0x30]
push esi
push eax
call fcn.0047a9fd
push eax
call fcn.0041bf7f
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp + 0x30]
push esi
push eax
call fcn.0047ab3f
push eax
call fcn.0041bf7f
push str.Implemented_Categories
lea eax, [ebp + 0x30]
push esi
push eax
call fcn.0047ab3f
push eax
call fcn.0041bf7f
add esp, 0x30
push 0x20019
lea eax, [ebp + 0x30]
push eax
push edi
lea ecx, [ebp - 0x74]
call fcn.00450778
test eax, eax
jne 0x450d70
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x64]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
lea ecx, [ebp - 0x74]
mov esi, eax
call fcn.0045075d
cmp esi, ebx
jne 0x450d70
cmp dword [ebp - 0x64], ebx
jne 0x450d70
lea eax, [ebp + 0x30]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea ecx, [ebp - 0x74]
call fcn.0045075d
lea ecx, [ebp - 0x80]
call fcn.0045075d
lea ecx, [ebp - 0x78]
call fcn.0043275f
mov eax, dword [ebp - 0x68]
cmp eax, ebx
je 0x450d95
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
pop edi
mov ecx, dword [ebp + 0x130]
pop esi
xor ecx, ebp
pop ebx
call fcn.00476d3a
add ebp, 0x134
leave
ret 0xc
mov eax, dword [ebp - 0x64]
mov esi, dword [eax + 4]
lea edi, [ebp - 0x60]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edx, [ebp - 0x60]
movsd dword es:[edi], dword [esi]
push edx
push 1
push dword [ebp - 0x6c]
movsd dword es:[edi], dword [esi]
cmp dword [ebp + 0x144], ebx
je 0x450df9
cmp dword [eax], 1
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax]
push eax
jne 0x450ddf
call dword [ecx + 0x14]
jmp 0x450de2
call dword [ecx + 0x1c]
mov esi, eax
cmp esi, ebx
jge 0x450e0c
mov eax, dword [ebp - 0x68]
cmp eax, ebx
je 0x450df5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
jmp 0x450d97
cmp dword [eax], 1
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax]
push eax
jne 0x450e09
call dword [ecx + 0x18]
jmp 0x450e0c
call dword [ecx + 0x20]
add dword [ebp - 0x64], 8
mov eax, dword [ebp - 0x64]
cmp dword [eax], ebx
jne 0x450db1
jmp 0x450c1f