Function at 0x10006463
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b8
mov eax, dword [0x100a82b0]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
xor edi, edi
mov esi, edx
mov dword [ebp - 0x1a0], ecx
mov dword [ebp - 0x1a4], edi
cmp esi, edi
je 0x10006705
mov eax, 0x10087a08
call fcn.100047ff
test eax, eax
jne 0x10006705
lea eax, [ebp - 0x1a4]
push eax
push 0x100968d8
push 1
push edi
push 0x10087a28
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x100064ce
mov eax, dword [ebp - 0x1a4]
cmp eax, edi
jmp 0x100066fd
mov ebx, esi
cmp dword [esi], edi
je 0x1000653e
cmp dword [ebp + 8], 0
mov esi, dword [ebx + 4]
mov eax, dword [ebp - 0x1a4]
lea edi, [ebp - 0x19c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edx, [ebp - 0x19c]
push edx
movsd dword es:[edi], dword [esi]
push 1
push dword [ebp - 0x1a0]
movsd dword es:[edi], dword [esi]
mov ecx, dword [eax]
push eax
je 0x10006529
cmp dword [ebx], 1
jne 0x10006509
call dword [ecx + 0x14]
jmp 0x1000650c
call dword [ecx + 0x1c]
mov esi, eax
test esi, esi
jge 0x10006536
mov eax, dword [ebp - 0x1a4]
test eax, eax
je 0x10006522
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
jmp 0x10006707
cmp dword [ebx], 1
jne 0x10006533
call dword [ecx + 0x18]
jmp 0x10006536
call dword [ecx + 0x20]
add ebx, 8
cmp dword [ebx], 0
jne 0x100064d4
cmp dword [ebp + 8], 0
jne 0x100066f5
push 0x40
lea eax, [ebp - 0x18c]
push eax
push dword [ebp - 0x1a0]
call dword [sym.imp.ole32.dll_StringFromGUID2]
push str.CLSID_
mov edi, 0x80
lea eax, [ebp - 0x10c]
push edi
push eax
call fcn.1005ab9a
push eax
call fcn.10002638
lea eax, [ebp - 0x18c]
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.10004865
push str.Required_Categories
lea eax, [ebp - 0x10c]
push edi
push eax
call fcn.1005ab1d
push eax
call fcn.10002638
add esp, 0x28
push 0x20019
lea eax, [ebp - 0x10c]
xor esi, esi
push eax
mov ebx, closesocket
push ebx
lea eax, [ebp - 0x1ac]
mov dword [ebp - 0x1b8], ebx
mov dword [ebp - 0x1b4], esi
mov dword [ebp - 0x1ac], esi
mov dword [ebp - 0x1a8], esi
mov dword [ebp - 0x1a0], esi
call fcn.1000445a
test eax, eax
jne 0x10006639
push esi
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x1a0]
push eax
push esi
push esi
push esi
push dword [ebp - 0x1ac]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
lea esi, [ebp - 0x1ac]
mov dword [ebp - 0x1b0], eax
call fcn.1000448d
cmp dword [ebp - 0x1b0], 0
jne 0x10006637
cmp dword [ebp - 0x1a0], 0
jne 0x10006637
lea eax, [ebp - 0x10c]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
xor esi, esi
push str.CLSID_
lea eax, [ebp - 0x10c]
push edi
push eax
call fcn.1005ab9a
push eax
call fcn.10002638
lea eax, [ebp - 0x18c]
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.10004865
push str.Implemented_Categories
lea eax, [ebp - 0x10c]
push edi
push eax
call fcn.1005ab1d
push eax
call fcn.10002638
add esp, 0x28
push 0x20019
lea eax, [ebp - 0x10c]
push eax
push ebx
lea eax, [ebp - 0x1ac]
call fcn.1000445a
test eax, eax
jne 0x100066df
push esi
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x1a0]
push eax
push esi
push esi
push esi
push dword [ebp - 0x1ac]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
lea esi, [ebp - 0x1ac]
mov edi, eax
call fcn.1000448d
test edi, edi
jne 0x100066df
cmp dword [ebp - 0x1a0], edi
jne 0x100066df
lea eax, [ebp - 0x10c]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea esi, [ebp - 0x1ac]
call fcn.1000448d
lea esi, [ebp - 0x1b8]
call fcn.1000448d
mov eax, dword [ebp - 0x1a4]
test eax, eax
je 0x10006705
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10059ccb
leave
ret 4