Function at 0x10003180
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x230
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
test byte [0x1000b018], 8
jne 0x10003360
test esi, esi
je 0x10003353
mov edi, dword [section..bss]
test edi, edi
je 0x10003428
mov ecx, dword [esi]
lea edi, [ebp - 0x20c]
test ecx, ecx
jne 0x10003202
jmp 0x10003280
mov edx, dword [ebp + 0x10]
mov dword [esp + 0xc], edi
mov dword [esp + 8], 1
test edx, edx
mov dword [esp + 4], ebx
mov dword [esp], eax
je 0x10003268
call dword [ecx + 0x1c]
sub esp, 0x10
test eax, eax
js 0x10003258
mov ecx, dword [esi + 8]
add esi, 8
test ecx, ecx
je 0x10003280
mov eax, dword [esi + 4]
cmp ecx, 1
mov edx, dword [eax]
mov dword [ebp - 0x20c], edx
mov edx, dword [eax + 4]
mov dword [ebp - 0x208], edx
mov edx, dword [eax + 8]
mov dword [ebp - 0x204], edx
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x200], eax
mov eax, dword [section..bss]
mov ecx, dword [eax]
jne 0x100031d0
mov edx, dword [ebp + 0x10]
mov dword [esp + 0xc], edi
mov dword [esp + 8], 1
test edx, edx
mov dword [esp + 4], ebx
mov dword [esp], eax
je 0x10003270
call dword [ecx + 0x14]
sub esp, 0x10
test eax, eax
jns 0x100031f4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
call dword [ecx + 0x20]
sub esp, 0x10
jmp 0x100031f0
call dword [ecx + 0x18]
sub esp, 0x10
jmp 0x100031f0
mov ecx, dword [ebp + 0x10]
test ecx, ecx
jne 0x10003353
mov eax, dword [ebp + 0x10]
lea edi, [ebp - 0x1fc]
mov ecx, 0x7c
lea esi, [ebp - 0x200]
mov dword [ebp - 0x20c], 0x4c0043
rep stosd dword es:[edi], eax
mov dword [esp], ebx
mov dword [ebp - 0x208], 0x490053
mov dword [ebp - 0x204], 0x5c0044
mov dword [ebp - 0x200], 0
mov dword [esp + 8], 0x40
mov dword [esp + 4], esi
call dword [sym.imp.ole32.dll_StringFromGUID2]
mov edx, 0x5c
mov word [ebp + eax*2 - 0x202], dx
lea ebx, [esi + eax*2]
sub esp, 0xc
xor eax, eax
nop
lea esi, [esi]
movzx edx, word [eax + str.Implemented_Categories]
mov word [ebx + eax], dx
add eax, 2
test dx, dx
jne 0x100032f8
lea edi, [ebp - 0x20c]
mov dword [esp], 0x80000000
mov esi, dword [sym.imp.advapi32.dll_RegDeleteKeyW]
mov dword [esp + 4], edi
call esi
xor eax, eax
sub esp, 8
lea esi, [esi]
movzx edx, word [eax + str.Required_Categories]
mov word [ebx + eax], dx
add eax, 2
test dx, dx
jne 0x10003330
mov dword [esp + 4], edi
mov dword [esp], 0x80000000
call esi
sub esp, 8
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
test ebx, ebx
je 0x10003490
mov eax, ebx
shr eax, 0x10
je 0x10003410
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], 0x1000d070
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], edi
mov dword [esp + 0xc], str.__s__p__x__n
mov dword [esp + 8], str.AtlRegisterClassCategoriesHelper
mov dword [esp + 4], 0x1000b018
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x1000319f
movzx eax, bx
mov dword [esp], 0x1000d061
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf
jmp 0x100033d5
lea edi, [ebp - 0x20c]
mov dword [esp + 0xc], 0x10014388
mov dword [esp + 0x10], edi
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], 0x10014268
call dword [sym.imp.ole32.dll_CoCreateInstance]
sub esp, 0x14
test eax, eax
js 0x10003258
mov ecx, dword [ebp - 0x20c]
xor eax, eax
lock cmpxchg dword [section..bss], ecx
test eax, eax
je 0x100031b5
mov eax, dword [ebp - 0x20c]
mov ecx, dword [eax]
mov dword [esp], eax
call dword [ecx + 8]
sub esp, 4
jmp 0x100031b5
mov eax, section..rdata
jmp 0x100033d5