Function at 0x10003920
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
lea ecx, [ebp + 8]
sub esp, 0x234
mov ebx, dword [ecx]
mov edi, dword [ecx + 4]
mov edx, dword [ecx + 8]
test byte [0x1000c018], 8
jne 0x10003a30
test edi, edi
je 0x10003af5
mov ecx, dword [section..bss]
test ecx, ecx
je 0x10003b20
mov eax, dword [edi]
test eax, eax
je 0x10003b9a
lea esi, [ebp - 0x210]
test edx, edx
je 0x10003990
jmp 0x100039f0
call dword [eax + 0x20]
sub esp, 0x10
test eax, eax
js 0x100039c8
mov eax, dword [edi + 8]
add edi, 8
test eax, eax
je 0x10003bb0
mov edx, dword [edi + 4]
cmp eax, 1
movdqu xmm0, xmmword [edx]
mov edx, dword [section..bss]
movups xmmword [ebp - 0x210], xmm0
mov eax, dword [edx]
mov dword [esp + 0xc], esi
mov dword [esp + 8], 1
mov dword [esp + 4], ebx
mov dword [esp], edx
jne 0x10003978
call dword [eax + 0x18]
sub esp, 0x10
test eax, eax
jns 0x10003982
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
call dword [eax + 0x1c]
sub esp, 0x10
test eax, eax
js 0x100039c8
mov eax, dword [edi + 8]
add edi, 8
test eax, eax
je 0x10003af5
mov edx, dword [edi + 4]
cmp eax, 1
movdqu xmm1, xmmword [edx]
mov edx, dword [section..bss]
movups xmmword [ebp - 0x210], xmm1
mov eax, dword [edx]
mov dword [esp + 0xc], esi
mov dword [esp + 8], 1
mov dword [esp + 4], ebx
mov dword [esp], edx
jne 0x100039d8
call dword [eax + 0x14]
sub esp, 0x10
jmp 0x100039de
test ebx, ebx
je 0x10003c5b
mov eax, ebx
mov dword [ebp - 0x214], edx
shr eax, 0x10
je 0x10003b08
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], 0x1000e028
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf
mov edx, dword [ebp - 0x214]
mov dword [esp + 0x18], edx
mov dword [ebp - 0x214], edx
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.__s__p__x__n
mov dword [esp + 8], str.AtlRegisterClassCategoriesHelper
mov dword [esp + 4], 0x1000c018
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
mov edx, dword [ebp - 0x214]
test edi, edi
jne 0x1000394d
xor eax, eax
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
mov dword [esp + 4], ebx
mov dword [esp], 0x1000e017
call sym._wine_dbg_sprintf
mov edx, dword [ebp - 0x214]
jmp 0x10003ab1
lea esi, [ebp - 0x210]
mov dword [ebp - 0x214], edx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0x100153e8
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], 0x100152c8
call dword [sym.imp.ole32.dll_CoCreateInstance]
sub esp, 0x14
test eax, eax
js 0x100039c8
mov ecx, dword [ebp - 0x210]
xor eax, eax
lock cmpxchg dword [section..bss], ecx
mov edx, dword [ebp - 0x214]
test eax, eax
je 0x1000395b
mov eax, dword [ebp - 0x210]
mov ecx, dword [eax]
mov dword [esp], eax
call dword [ecx + 8]
mov edx, dword [ebp - 0x214]
sub esp, 4
jmp 0x1000395b
test edx, edx
jne 0x10003af5
lea esi, [ebp - 0x210]
lea esi, cs:[esi]
movdqu xmm2, xmmword [str.CLSID_]
xor eax, eax
lea edi, [ebp - 0x200]
mov ecx, 0x7c
movups xmmword [ebp - 0x210], xmm2
rep stosd dword es:[edi], eax
lea edi, [ebp - 0x204]
mov dword [esp], ebx
mov dword [esp + 8], 0x40
mov dword [esp + 4], edi
call dword [sym.imp.ole32.dll_StringFromGUID2]
lea ebx, [edi + eax*2 - 2]
mov eax, 0x5c
sub esp, 0xc
mov word [ebx], ax
xor eax, eax
lea esi, [esi]
movzx edx, word [eax + str.Implemented_Categories]
mov word [ebx + eax + 2], dx
add eax, 2
test dx, dx
jne 0x10003c00
mov dword [esp + 4], esi
mov edi, dword [sym.imp.advapi32.dll_RegDeleteKeyW]
mov dword [esp], 0x80000000
call edi
xor eax, eax
sub esp, 8
lea esi, [esi]
movzx edx, word [eax + str.Required_Categories]
mov word [ebx + eax + 2], dx
add eax, 2
test dx, dx
jne 0x10003c30
mov dword [esp + 4], esi
mov dword [esp], 0x80000000
call edi
xor eax, eax
sub esp, 8
jmp 0x10003af7
mov eax, section..rdata
jmp 0x10003ab1