Function at 0x1000391a
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b8
mov eax, dword [0x10024008]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 0x1a8], edx
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 0x1a0], esi
mov dword [ebp - 0x1a4], ebx
test edi, edi
je 0x1000397c
mov edx, 0x10019280
call fcn.10004503
test eax, eax
jne 0x1000397c
lea eax, [ebp - 0x1a4]
push eax
push 0x10020ce4
push 1
push ebx
push 0x100192a0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x10003a12
mov eax, ebx
mov ebx, eax
mov ecx, dword [ebp - 0x1a4]
test ecx, ecx
je 0x10003990
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov ecx, dword [ebp - 8]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000679e
leave
ret 4
lea edx, [ebp - 0x19c]
mov esi, dword [edi + 4]
lea edi, [ebp - 0x19c]
push edx
push 1
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp dword [ebp + 8], ebx
je 0x100039e6
push dword [ebp - 0x1a0]
cmp eax, 1
mov eax, dword [ebp - 0x1a4]
push eax
mov ecx, dword [eax]
jne 0x100039d7
call dword [ecx + 0x14]
jmp 0x100039da
call dword [ecx + 0x1c]
test eax, eax
js 0x1000397e
mov esi, dword [ebp - 0x1a0]
jmp 0x10003a03
mov esi, dword [ebp - 0x1a0]
cmp eax, 1
mov eax, dword [ebp - 0x1a4]
push esi
push eax
mov ecx, dword [eax]
jne 0x10003a00
call dword [ecx + 0x18]
jmp 0x10003a03
call dword [ecx + 0x20]
mov edi, dword [ebp - 0x1a8]
add edi, 8
mov dword [ebp - 0x1a8], edi
mov eax, dword [edi]
test eax, eax
jne 0x100039a3
cmp dword [ebp + 8], ebx
jne 0x10003980
push 0x40
lea eax, [ebp - 0x18c]
push eax
push esi
call dword [sym.imp.ole32.dll_StringFromGUID2]
test eax, eax
jne 0x10003a3d
push 0xd
pop eax
jmp 0x1000397e
push str.CLSID_
mov esi, 0x80
lea eax, [ebp - 0x10c]
push esi
push eax
call fcn.1000bca4
push eax
call fcn.100053ca
lea eax, [ebp - 0x18c]
push eax
lea eax, [ebp - 0x10c]
push esi
push eax
call fcn.1000bd08
push eax
call fcn.100053ca
push str.Required_Categories
lea eax, [ebp - 0x10c]
push esi
push eax
call fcn.1000bd08
push eax
call fcn.100053ca
add esp, 0x30
mov dword [ebp - 0x1b4], ebx
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x1b0], ebx
lea ecx, [ebp - 0x1b4]
mov dword [ebp - 0x1ac], ebx
mov dword [ebp - 0x1a0], ebx
push 0x20019
push eax
push SysReAllocString
call fcn.100054fc
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x10003b2d
push ebx
mov esi, dword [ebp - 0x1b4]
lea eax, [ebp - 0x1a0]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov dword [ebp - 0x1a8], eax
test esi, esi
je 0x10003b04
push esi
call edi
mov eax, dword [ebp - 0x1a8]
mov dword [ebp - 0x1b4], ebx
mov dword [ebp - 0x1b0], ebx
test eax, eax
jne 0x10003b28
cmp dword [ebp - 0x1a0], ebx
jne 0x10003b28
lea eax, [ebp - 0x10c]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, 0x80
push str.CLSID_
lea eax, [ebp - 0x10c]
push esi
push eax
call fcn.1000bca4
push eax
call fcn.100053ca
lea eax, [ebp - 0x18c]
push eax
lea eax, [ebp - 0x10c]
push esi
push eax
call fcn.1000bd08
push eax
call fcn.100053ca
push str.Implemented_Categories
lea eax, [ebp - 0x10c]
push esi
push eax
call fcn.1000bd08
push eax
call fcn.100053ca
add esp, 0x30
lea eax, [ebp - 0x10c]
lea ecx, [ebp - 0x1b4]
push 0x20019
push eax
push SysReAllocString
call fcn.100054fc
mov esi, dword [ebp - 0x1b4]
test eax, eax
jne 0x10003beb
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x1a0]
push eax
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov dword [ebp - 0x1a8], eax
test esi, esi
je 0x10003bcd
push esi
call edi
mov eax, dword [ebp - 0x1a8]
mov esi, ebx
test eax, eax
jne 0x10003beb
cmp dword [ebp - 0x1a0], ebx
jne 0x10003beb
lea eax, [ebp - 0x10c]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test esi, esi
je 0x10003bf2
push esi
call edi
push SysReAllocString
call edi
jmp 0x10003980