Function at 0x10002b20
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10013dc7
mov eax, dword fs:[0]
push eax
sub esp, 0x1b8
mov eax, dword [0x1001e02c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x1a8], edx
mov edi, ecx
mov dword [ebp - 0x198], 0
mov dword [ebp - 0x198], 0
mov dword [ebp - 4], 1
test esi, esi
je 0x10002ffe
mov eax, dword [edi]
cmp eax, dword [0x100177e0]
jne 0x10002ba9
mov eax, dword [edi + 4]
cmp eax, dword [0x100177e4]
jne 0x10002ba9
mov eax, dword [edi + 8]
cmp eax, dword [0x100177e8]
jne 0x10002ba9
mov eax, dword [edi + 0xc]
cmp eax, dword [0x100177ec]
je 0x10002ffe
lea eax, [ebp - 0x198]
push eax
push 0x10018e78
push 1
push 0
push 0x100177d0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x10002ffe
mov ecx, dword [esi]
mov edx, dword [ebp + 8]
test ecx, ecx
je 0x10002c69
nop dword [eax]
mov eax, dword [esi + 4]
movups xmm0, xmmword [eax]
mov eax, dword [ebp - 0x198]
movups xmmword [ebp - 0x1c4], xmm0
mov esi, dword [eax]
test edx, edx
je 0x10002c2b
cmp ecx, 1
lea ecx, [ebp - 0x1c4]
push ecx
push 1
push edi
push eax
jne 0x10002c0e
mov esi, dword [esi + 0x14]
jmp 0x10002c11
mov esi, dword [esi + 0x1c]
mov ecx, esi
call dword [0x1001729c]
call esi
mov dword [ebp - 0x194], eax
test eax, eax
js 0x10003006
jmp 0x10002c4d
cmp ecx, 1
lea ecx, [ebp - 0x1c4]
push ecx
push 1
push edi
push eax
jne 0x10002c40
mov esi, dword [esi + 0x18]
jmp 0x10002c43
mov esi, dword [esi + 0x20]
mov ecx, esi
call dword [0x1001729c]
call esi
mov esi, dword [ebp - 0x1a8]
mov edx, dword [ebp + 8]
add esi, 8
mov dword [ebp - 0x1a8], esi
mov ecx, dword [esi]
test ecx, ecx
jne 0x10002be0
test edx, edx
jne 0x10002ffe
push 0x40
lea eax, [ebp - 0x190]
push eax
push edi
call dword [sym.imp.ole32.dll_StringFromGUID2]
test eax, eax
jne 0x10002c8f
mov eax, 0xd
jmp 0x10003000
mov dword [ebp - 0x1a8], 0
mov dword [ebp - 0x1a8], 0
mov byte [ebp - 4], 7
lea eax, [ebp - 0x110]
push str.CLSID_
push 0x80
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
add esp, 0xc
mov ecx, eax
call fcn.10004970
lea eax, [ebp - 0x190]
push eax
lea eax, [ebp - 0x110]
push 0x80
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
add esp, 0xc
mov ecx, eax
call fcn.10004970
push str.Required_Categories
lea eax, [ebp - 0x110]
push 0x80
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
add esp, 0xc
mov ecx, eax
call fcn.10004970
xorps xmm0, xmm0
mov dword [ebp - 0x1ac], 0
movq qword [ebp - 0x1b4], xmm0
mov dword [ebp - 0x1b4], VariantInit
mov dword [ebp - 0x1b0], 0
mov dword [ebp - 0x1ac], 0
mov byte [ebp - 4], 8
movq qword [ebp - 0x1a4], xmm0
mov dword [ebp - 0x19c], 0
mov dword [ebp - 0x1a4], 0
mov dword [ebp - 0x1a0], 0
mov dword [ebp - 0x19c], 0
mov byte [ebp - 4], 9
lea eax, [ebp - 0x110]
push 0x20019
push eax
push SysReAllocString
lea ecx, [ebp - 0x1a4]
mov dword [ebp - 0x194], 0
call fcn.10004a90
test eax, eax
jne 0x10002e69
push eax
mov esi, dword [ebp - 0x1a4]
push eax
push eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x194]
push eax
push 0
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov edi, eax
test esi, esi
je 0x10002ddd
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x1a4], 0
mov dword [ebp - 0x1a0], 0
test edi, edi
jne 0x10002e69
cmp dword [ebp - 0x194], edi
jne 0x10002e69
cmp byte [0x1001edc0], 0
jne 0x10002e37
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10002e28
push str.RegDeleteKeyExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov byte [0x1001edc0], 1
mov dword [0x1001edbc], esi
jmp 0x10002e3d
mov esi, dword [0x1001edbc]
mov byte [0x1001edc0], 1
jmp 0x10002e3d
mov esi, dword [0x1001edbc]
lea eax, [ebp - 0x110]
test esi, esi
je 0x10002e5d
push 0
push 0
push eax
push SysReAllocString
mov ecx, esi
call dword [0x1001729c]
call esi
jmp 0x10002e69
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push str.CLSID_
lea eax, [ebp - 0x110]
push 0x80
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
add esp, 0xc
mov ecx, eax
call fcn.10004970
lea eax, [ebp - 0x190]
push eax
lea eax, [ebp - 0x110]
push 0x80
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
add esp, 0xc
mov ecx, eax
call fcn.10004970
push str.Implemented_Categories
lea eax, [ebp - 0x110]
push 0x80
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
add esp, 0xc
mov ecx, eax
call fcn.10004970
push 0x20019
lea eax, [ebp - 0x110]
push eax
push SysReAllocString
lea ecx, [ebp - 0x1a4]
call fcn.10004a90
mov esi, dword [ebp - 0x1a4]
test eax, eax
jne 0x10002fb4
push eax
push eax
push eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x194]
push eax
push 0
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov edi, eax
test esi, esi
je 0x10002f28
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov dword [ebp - 0x1a4], esi
mov dword [ebp - 0x1a0], 0
test edi, edi
jne 0x10002fb4
cmp dword [ebp - 0x194], edi
jne 0x10002fb4
cmp byte [0x1001edc0], 0
jne 0x10002f82
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10002f73
push str.RegDeleteKeyExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
mov byte [0x1001edc0], 1
mov dword [0x1001edbc], edi
jmp 0x10002f88
mov edi, dword [0x1001edbc]
mov byte [0x1001edc0], 1
jmp 0x10002f88
mov edi, dword [0x1001edbc]
lea eax, [ebp - 0x110]
test edi, edi
je 0x10002fa8
push 0
push 0
push eax
push SysReAllocString
mov ecx, edi
call dword [0x1001729c]
call edi
jmp 0x10002fb4
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov byte [ebp - 4], 8
test esi, esi
je 0x10002fcd
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x1a4], 0
mov dword [ebp - 0x1a0], 0
mov byte [ebp - 4], 7
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x1b4], 0
mov dword [ebp - 0x1b0], 0
mov byte [ebp - 4], 1
xor eax, eax
mov dword [ebp - 0x194], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x198]
test ecx, ecx
je 0x1000302d
mov edx, dword [ecx]
push ecx
mov esi, dword [edx + 8]
mov ecx, esi
call dword [0x1001729c]
call esi
mov eax, dword [ebp - 0x194]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10010b00
mov esp, ebp
pop ebp
ret 4