Function at 0x41bcfc
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b8
mov eax, dword [0x471188]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x1a0], eax
mov dword [ebp - 0x19c], ebx
cmp esi, ebx
jne 0x41bd30
xor eax, eax
jmp 0x41bf5f
push 0x460dac
push eax
call fcn.0040a9ea
pop ecx
pop ecx
test eax, eax
jne 0x41bd29
lea eax, [ebp - 0x19c]
push eax
push 0x45924c
push 1
push ebx
push 0x46250c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x41bd71
mov eax, dword [ebp - 0x19c]
cmp eax, ebx
je 0x41bd29
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x41bd29
mov eax, esi
push edi
mov dword [ebp - 0x198], eax
cmp dword [esi], ebx
jne 0x41bf75
cmp dword [ebp + 0x10], ebx
jne 0x41bf4c
push 0x40
lea eax, [ebp - 0x184]
push eax
push dword [ebp - 0x1a0]
call dword [sym.imp.ole32.dll_StringFromGUID2]
push str.CLSID_
mov esi, 0x80
lea eax, [ebp - 0x104]
push esi
push eax
call fcn.0042f392
push eax
call fcn.00419fa2
lea eax, [ebp - 0x184]
push eax
lea eax, [ebp - 0x104]
push esi
push eax
call fcn.0042f4c2
push eax
call fcn.00419fa2
push str.Required_Categories
lea eax, [ebp - 0x104]
push esi
push eax
call fcn.0042f4c2
push eax
call fcn.00419fa2
add esp, 0x30
push 0x20019
lea eax, [ebp - 0x104]
mov edi, SysReAllocString
push eax
push edi
lea ecx, [ebp - 0x1ac]
mov dword [ebp - 0x1b8], edi
mov dword [ebp - 0x1b4], ebx
mov dword [ebp - 0x1b0], ebx
mov dword [ebp - 0x1ac], ebx
mov dword [ebp - 0x1a8], ebx
mov dword [ebp - 0x1a4], ebx
mov dword [ebp - 0x198], ebx
call fcn.0040113c
test eax, eax
jne 0x41be89
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x198]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x1ac]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
lea ecx, [ebp - 0x1ac]
mov dword [ebp - 0x1a0], eax
call fcn.00401121
cmp dword [ebp - 0x1a0], ebx
jne 0x41be89
cmp dword [ebp - 0x198], ebx
jne 0x41be89
lea eax, [ebp - 0x104]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push str.CLSID_
lea eax, [ebp - 0x104]
push esi
push eax
call fcn.0042f392
push eax
call fcn.00419fa2
lea eax, [ebp - 0x184]
push eax
lea eax, [ebp - 0x104]
push esi
push eax
call fcn.0042f4c2
push eax
call fcn.00419fa2
push str.Implemented_Categories
lea eax, [ebp - 0x104]
push esi
push eax
call fcn.0042f4c2
push eax
call fcn.00419fa2
add esp, 0x30
push 0x20019
lea eax, [ebp - 0x104]
push eax
push edi
lea ecx, [ebp - 0x1ac]
call fcn.0040113c
test eax, eax
jne 0x41bf36
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x198]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x1ac]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
lea ecx, [ebp - 0x1ac]
mov esi, eax
call fcn.00401121
cmp esi, ebx
jne 0x41bf36
cmp dword [ebp - 0x198], ebx
jne 0x41bf36
lea eax, [ebp - 0x104]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea ecx, [ebp - 0x1ac]
call fcn.00401121
lea ecx, [ebp - 0x1b8]
call fcn.00401121
mov eax, dword [ebp - 0x19c]
cmp eax, ebx
je 0x41bf5c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0042bc84
leave
ret 0xc
mov eax, dword [ebp - 0x198]
mov esi, dword [eax + 4]
lea edi, [ebp - 0x194]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edx, [ebp - 0x194]
movsd dword es:[edi], dword [esi]
push edx
push 1
push dword [ebp - 0x1a0]
movsd dword es:[edi], dword [esi]
cmp dword [ebp + 0x10], ebx
je 0x41bfc6
cmp dword [eax], 1
mov eax, dword [ebp - 0x19c]
mov ecx, dword [eax]
push eax
jne 0x41bfa9
call dword [ecx + 0x14]
jmp 0x41bfac
call dword [ecx + 0x1c]
mov esi, eax
cmp esi, ebx
jge 0x41bfdc
mov eax, dword [ebp - 0x19c]
cmp eax, ebx
je 0x41bfc2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
jmp 0x41bf5e
cmp dword [eax], 1
mov eax, dword [ebp - 0x19c]
mov ecx, dword [eax]
push eax
jne 0x41bfd9
call dword [ecx + 0x18]
jmp 0x41bfdc
call dword [ecx + 0x20]
add dword [ebp - 0x198], 8
mov eax, dword [ebp - 0x198]
cmp dword [eax], ebx
jne 0x41bf6f
jmp 0x41bd82