Function at 0x48b180
Capabilities:
Delete registry key

Disassembly:
sub esp, 0x1b0
mov eax, dword [0x5b2920]
xor eax, esp
mov dword [esp + 0x1ac], eax
push ebx
push ebp
push esi
push edi
xor ebp, ebp
mov edi, edx
cmp edi, ebp
mov esi, ecx
mov dword [esp + 0x10], ebp
je 0x48b454
mov eax, dword [esi]
cmp eax, dword [0x564e30]
jne 0x48b1d9
mov ecx, dword [esi + 4]
cmp ecx, dword [0x564e34]
jne 0x48b1d9
mov edx, dword [esi + 8]
cmp edx, dword [0x564e38]
jne 0x48b1d9
mov eax, dword [esi + 0xc]
cmp eax, dword [0x564e3c]
je 0x48b454
lea ecx, [esp + 0x10]
push ecx
push 0x57a388
push 1
push ebp
push 0x564f80
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x48b444
cmp dword [edi], ebp
mov ebx, edi
je 0x48b278
nop
cmp dword [esp + 0x1c4], ebp
mov eax, dword [ebx + 4]
mov ecx, dword [eax]
mov dword [esp + 0x28], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x2c], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x30], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x34], edx
mov ecx, dword [eax]
lea edx, [esp + 0x28]
push edx
push 1
push esi
push eax
je 0x48b262
cmp dword [ebx], 1
jne 0x48b240
mov eax, dword [ecx + 0x14]
jmp 0x48b243
mov eax, dword [ecx + 0x1c]
call eax
mov edi, eax
cmp edi, ebp
jge 0x48b271
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x48b25b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, edi
jmp 0x48b456
cmp dword [ebx], 1
jne 0x48b26c
mov eax, dword [ecx + 0x18]
jmp 0x48b26f
mov eax, dword [ecx + 0x20]
call eax
add ebx, 8
cmp dword [ebx], ebp
jne 0x48b200
cmp dword [esp + 0x1c4], ebp
jne 0x48b444
push 0x40
lea eax, [esp + 0x13c]
push eax
push esi
call dword [sym.imp.ole32.dll_StringFromGUID2]
call dword [0x5b4800]
push str.CLSID_
lea ecx, [esp + 0x3c]
push 0x80
push ecx
mov dword [esp + 0x30], ebp
call fcn.0048b480
lea edx, [esp + 0x144]
push edx
lea eax, [esp + 0x48]
push 0x80
push eax
call fcn.00512a57
push eax
call fcn.00416440
push str.Required_Categories
lea ecx, [esp + 0x58]
push 0x80
push ecx
call fcn.00512a57
push eax
call fcn.00416440
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
add esp, 0x2c
lea edx, [esp + 0x18]
push edx
push 0x20019
push ebp
lea eax, [esp + 0x44]
push eax
push SysReAllocStringLen
mov dword [esp + 0x34], VariantInit
mov dword [esp + 0x28], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebp
call esi
cmp eax, ebp
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
jne 0x48b368
mov eax, dword [esp + 0x18]
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
lea ecx, [esp + 0x38]
push ecx
push ebp
push ebp
push ebp
push eax
mov dword [esp + 0x44], eax
call ebx
lea ecx, [esp + 0x14]
mov edi, eax
call fcn.00472a80
cmp edi, ebp
jne 0x48b368
cmp dword [esp + 0x1c], ebp
jne 0x48b368
lea edx, [esp + 0x38]
push edx
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push str.CLSID_
lea eax, [esp + 0x3c]
push 0x80
push eax
call fcn.0048b480
lea ecx, [esp + 0x144]
push ecx
lea edx, [esp + 0x48]
push 0x80
push edx
call fcn.00512a57
push eax
call fcn.00416440
push str.Implemented_Categories
lea eax, [esp + 0x58]
push 0x80
push eax
call fcn.00512a57
push eax
call fcn.00416440
add esp, 0x2c
lea ecx, [esp + 0x18]
push ecx
push 0x20019
push ebp
lea edx, [esp + 0x44]
push edx
push SysReAllocStringLen
mov dword [esp + 0x2c], ebp
call esi
cmp eax, ebp
jne 0x48b429
mov ecx, dword [esp + 0x14]
xor eax, eax
cmp ecx, ebp
je 0x48b3e6
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, ebp
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x14], ecx
jne 0x48b429
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
lea eax, [esp + 0x38]
push eax
push ebp
push ebp
push ebp
push ecx
call ebx
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.00472a80
cmp esi, ebp
jne 0x48b429
cmp dword [esp + 0x1c], ebp
jne 0x48b429
lea ecx, [esp + 0x38]
push ecx
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea ecx, [esp + 0x14]
call fcn.00472aa0
lea ecx, [esp + 0x20]
call fcn.00472aa0
lea ecx, [esp + 0x24]
call fcn.00424eb0
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x48b454
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
xor eax, eax
mov ecx, dword [esp + 0x1bc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0050fe87
add esp, 0x1b0
ret 4