Function at 0x411104
Capabilities:
Delete registry key

Disassembly:
push ebp
lea ebp, [esp - 0x134]
sub esp, 0x1b4
mov eax, dword [0x45c270]
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 0x411140
xor eax, eax
jmp 0x411302
push 0x44a208
push eax
call fcn.00404452
pop ecx
pop ecx
test eax, eax
jne 0x411139
lea eax, [ebp - 0x68]
push eax
push 0x448b5c
push 1
push ebx
push 0x44b948
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x41117b
mov eax, dword [ebp - 0x68]
cmp eax, ebx
je 0x411139
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x411139
mov eax, esi
push edi
mov dword [ebp - 0x64], eax
cmp dword [esi], ebx
jne 0x41131e
cmp dword [ebp + 0x144], ebx
jne 0x4112f2
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.0042104f
push eax
call fcn.0040eb08
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp + 0x30]
push esi
push eax
call fcn.00421191
push eax
call fcn.0040eb08
push str.Required_Categories
lea eax, [ebp + 0x30]
push esi
push eax
call fcn.00421191
push eax
call fcn.0040eb08
add esp, 0x30
push 0x20019
lea eax, [ebp + 0x30]
mov edi, SysReAllocString
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.004011e7
test eax, eax
jne 0x41124e
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.0040117e
cmp dword [ebp - 0x6c], ebx
jne 0x41124e
cmp dword [ebp - 0x64], ebx
jne 0x41124e
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.0042104f
push eax
call fcn.0040eb08
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp + 0x30]
push esi
push eax
call fcn.00421191
push eax
call fcn.0040eb08
push str.Implemented_Categories
lea eax, [ebp + 0x30]
push esi
push eax
call fcn.00421191
push eax
call fcn.0040eb08
add esp, 0x30
push 0x20019
lea eax, [ebp + 0x30]
push eax
push edi
lea ecx, [ebp - 0x74]
call fcn.004011e7
test eax, eax
jne 0x4112da
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.0040117e
cmp esi, ebx
jne 0x4112da
cmp dword [ebp - 0x64], ebx
jne 0x4112da
lea eax, [ebp + 0x30]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea ecx, [ebp - 0x74]
call fcn.0040117e
lea ecx, [ebp - 0x80]
call fcn.0040117e
lea ecx, [ebp - 0x78]
call fcn.00404610
mov eax, dword [ebp - 0x68]
cmp eax, ebx
je 0x4112ff
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.0041d759
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 0x411363
cmp dword [eax], 1
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax]
push eax
jne 0x411349
call dword [ecx + 0x14]
jmp 0x41134c
call dword [ecx + 0x1c]
mov esi, eax
cmp esi, ebx
jge 0x411376
mov eax, dword [ebp - 0x68]
cmp eax, ebx
je 0x41135f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
jmp 0x411301
cmp dword [eax], 1
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax]
push eax
jne 0x411373
call dword [ecx + 0x18]
jmp 0x411376
call dword [ecx + 0x20]
add dword [ebp - 0x64], 8
mov eax, dword [ebp - 0x64]
cmp dword [eax], ebx
jne 0x41131b
jmp 0x411189