Function at 0x10002130
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1b4
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
test byte [0x10015018], 8
jne 0x100022d8
mov ecx, dword [sym.imp.ole32.dll_StringFromGUID2]
lea esi, [ebp - 0x184]
mov dword [esp], ebx
lea ebx, [ebp - 0xe8]
mov dword [esp + 8], 0x27
mov dword [ebp - 0x190], ecx
mov dword [esp + 4], esi
call ecx
sub esp, 0xc
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.SOFTWAREMicrosoftCTFTIP
mov dword [esp + 8], 0x10017198
mov dword [esp + 4], 0x6e
mov dword [esp], ebx
call sym._swprintf
lea eax, [ebp - 0x188]
mov dword [esp + 4], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x2001f
mov dword [esp + 8], 0
mov dword [esp], 0x80000002
call dword [sym.imp.advapi32.dll_RegOpenKeyExW]
sub esp, 0x14
test eax, eax
mov dword [ebp - 0x18c], eax
jne 0x10002540
mov dword [esp], edi
mov ecx, dword [ebp - 0x190]
lea edi, [ebp - 0x136]
mov dword [esp + 8], 0x27
mov dword [esp + 4], esi
call ecx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x190]
sub esp, 0xc
mov dword [esp + 8], 0x27
mov dword [esp + 4], edi
mov dword [esp], eax
call ecx
sub esp, 0xc
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], str.Category
mov dword [esp + 0xc], str.Category
mov dword [esp + 8], str._s_s_s_s
mov dword [esp + 4], 0x6e
mov dword [esp], ebx
call sym._swprintf
mov ecx, dword [sym.imp.advapi32.dll_RegDeleteTreeW]
mov eax, dword [ebp - 0x188]
mov dword [esp + 4], ebx
mov dword [ebp - 0x190], ecx
mov dword [esp], eax
call ecx
sub esp, 8
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], str.Item
mov dword [esp + 0xc], str.Category
mov dword [esp + 8], str._s_s_s_s
mov dword [esp + 4], 0x6e
mov dword [esp], ebx
call sym._swprintf
mov eax, dword [ebp - 0x188]
mov ecx, dword [ebp - 0x190]
mov dword [esp + 4], ebx
mov dword [esp], eax
call ecx
mov eax, dword [ebp - 0x188]
sub esp, 8
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov edx, dword [ebp - 0x18c]
sub esp, 4
lea esp, [ebp - 0xc]
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x10002530
mov eax, dword [ebp + 0x14]
shr eax, 0x10
je 0x100024b0
mov eax, dword [ebp + 0x14]
movzx eax, byte [eax + 0xf]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x14]
movzx eax, byte [eax + 0xe]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x14]
movzx eax, byte [eax + 0xd]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x14]
movzx eax, byte [eax + 0xc]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x14]
movzx eax, byte [eax + 0xb]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x14]
movzx eax, byte [eax + 0xa]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x14]
movzx eax, byte [eax + 9]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x14]
movzx eax, byte [eax + 8]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x14]
movzx eax, word [eax + 6]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x14]
movzx eax, word [eax + 4]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov dword [esp + 4], eax
mov dword [esp], 0x10017010
call sym._wine_dbg_sprintf
mov dword [ebp - 0x18c], eax
test edi, edi
je 0x10002520
mov eax, edi
shr eax, 0x10
je 0x100024f0
movzx eax, byte [edi + 0xf]
mov dword [esp + 0x2c], eax
movzx eax, byte [edi + 0xe]
mov dword [esp + 0x28], eax
movzx eax, byte [edi + 0xd]
mov dword [esp + 0x24], eax
movzx eax, byte [edi + 0xc]
mov dword [esp + 0x20], eax
movzx eax, byte [edi + 0xb]
mov dword [esp + 0x1c], eax
movzx eax, byte [edi + 0xa]
mov dword [esp + 0x18], eax
movzx eax, byte [edi + 9]
mov dword [esp + 0x14], eax
movzx eax, byte [edi + 8]
mov dword [esp + 0x10], eax
movzx eax, word [edi + 6]
mov dword [esp + 0xc], eax
movzx eax, word [edi + 4]
mov dword [esp + 8], eax
mov eax, dword [edi]
mov dword [esp], 0x10017010
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf
mov esi, eax
test ebx, ebx
je 0x10002510
mov eax, ebx
shr eax, 0x10
je 0x100024d0
movzx eax, byte [ebx + 0xf]
mov dword [esp + 0x2c], eax
movzx eax, byte [ebx + 0xe]
mov dword [esp + 0x28], eax
movzx eax, byte [ebx + 0xd]
mov dword [esp + 0x24], eax
movzx eax, byte [ebx + 0xc]
mov dword [esp + 0x20], eax
movzx eax, byte [ebx + 0xb]
mov dword [esp + 0x1c], eax
movzx eax, byte [ebx + 0xa]
mov dword [esp + 0x18], eax
movzx eax, byte [ebx + 9]
mov dword [esp + 0x14], eax
movzx eax, byte [ebx + 8]
mov dword [esp + 0x10], eax
movzx eax, word [ebx + 6]
mov dword [esp + 0xc], eax
movzx eax, word [ebx + 4]
mov dword [esp + 8], eax
mov eax, dword [ebx]
mov dword [esp], 0x10017010
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf
mov dword [esp + 0x14], eax
mov edx, dword [ebp - 0x18c]
mov eax, dword [ebp + 8]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.__p___s__s__s_n
mov dword [esp + 8], str.CategoryMgr_UnregisterCategory
mov dword [esp + 4], 0x10015018
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x1000214f
movzx eax, word [ebp + 0x14]
mov dword [esp], section..rdata
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf
mov dword [ebp - 0x18c], eax
jmp 0x10002378
movzx eax, bx
mov dword [esp], section..rdata
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf
jmp 0x10002464
movzx eax, di
mov dword [esp], section..rdata
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf
mov esi, eax
jmp 0x100023ef
mov eax, 0x10017088
jmp 0x10002464
mov esi, 0x10017088
jmp 0x100023ef
mov dword [ebp - 0x18c], 0x10017088
jmp 0x10002378
mov edx, 0x80004005
jmp 0x100022c6