Function at 0x5587a0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x584c57
mov eax, dword fs:[0]
push eax
sub esp, 0x1bc
mov eax, dword [0x640040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x198], 0
mov dword [ebp - 0x198], 0
mov dword [ebp - 4], 1
test edi, edi
je 0x558c33
mov eax, dword [esi]
cmp eax, dword [0x5870c0]
jne 0x558823
mov eax, dword [esi + 4]
cmp eax, dword [0x5870c4]
jne 0x558823
mov eax, dword [esi + 8]
cmp eax, dword [0x5870c8]
jne 0x558823
mov eax, dword [esi + 0xc]
cmp eax, dword [0x5870cc]
je 0x558c33
lea eax, [ebp - 0x198]
push eax
push 0x605d00
push 1
push 0
push 0x5870b0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x558c33
mov ecx, dword [edi]
mov edx, dword [ebp + 8]
test ecx, ecx
je 0x5588ad
nop
mov eax, dword [edi + 4]
test edx, edx
lea edx, [ebp - 0x1c4]
push edx
push 1
movups xmm0, xmmword [eax]
mov eax, dword [ebp - 0x198]
push esi
movups xmmword [ebp - 0x1c4], xmm0
push eax
je 0x558891
cmp ecx, 1
mov ecx, dword [eax]
jne 0x55887e
call dword [ecx + 0x14]
jmp 0x558881
call dword [ecx + 0x1c]
mov dword [ebp - 0x194], eax
test eax, eax
js 0x558c3b
jmp 0x5588a0
cmp ecx, 1
mov ecx, dword [eax]
jne 0x55889d
call dword [ecx + 0x18]
jmp 0x5588a0
call dword [ecx + 0x20]
mov ecx, dword [edi + 8]
add edi, 8
mov edx, dword [ebp + 8]
test ecx, ecx
jne 0x558850
test edx, edx
jne 0x558c33
push 0x40
lea eax, [ebp - 0x190]
push eax
push esi
call dword [sym.imp.ole32.dll_StringFromGUID2]
test eax, eax
jne 0x5588d3
mov eax, 0xd
jmp 0x558c35
mov dword [ebp - 0x1b4], 0
mov dword [ebp - 0x1b4], 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]
mov ecx, eax
call fcn.0055a5d0
mov edi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea eax, [ebp - 0x190]
push eax
lea eax, [ebp - 0x110]
push 0x80
push eax
call edi
mov ecx, eax
call fcn.0055a5d0
push str.Required_Categories
lea eax, [ebp - 0x110]
push 0x80
push eax
call edi
add esp, 0x24
mov ecx, eax
call fcn.0055a5d0
xorps xmm0, xmm0
mov dword [ebp - 0x1a8], 0
movq qword [ebp - 0x1b0], xmm0
mov dword [ebp - 0x1b0], VariantInit
mov dword [ebp - 0x1ac], 0
mov dword [ebp - 0x1a8], 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.0055a6e0
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x558ab0
push 0
mov esi, dword [ebp - 0x1a4]
lea eax, [ebp - 0x194]
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov dword [ebp - 0x1c8], eax
test esi, esi
je 0x558a2c
push esi
call edi
mov eax, dword [ebp - 0x1c8]
mov dword [ebp - 0x1a4], 0
mov dword [ebp - 0x1a0], 0
test eax, eax
jne 0x558ab0
cmp dword [ebp - 0x194], eax
jne 0x558ab0
cmp byte [0x6421b0], al
jne 0x558a81
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x558a73
push str.RegDeleteKeyExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x6421ac], eax
mov byte [0x6421b0], 1
jmp 0x558a86
mov eax, dword [0x6421ac]
mov byte [0x6421b0], 1
jmp 0x558a86
mov eax, dword [0x6421ac]
test eax, eax
je 0x558a9e
push 0
push 0
lea ecx, [ebp - 0x110]
push ecx
push SysReAllocString
call eax
jmp 0x558ab0
lea eax, [ebp - 0x110]
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]
mov ecx, eax
call fcn.0055a5d0
mov esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea eax, [ebp - 0x190]
push eax
lea eax, [ebp - 0x110]
push 0x80
push eax
call esi
mov ecx, eax
call fcn.0055a5d0
push str.Implemented_Categories
lea eax, [ebp - 0x110]
push 0x80
push eax
call esi
add esp, 0x24
mov ecx, eax
call fcn.0055a5d0
push 0x20019
lea eax, [ebp - 0x110]
push eax
push SysReAllocString
lea ecx, [ebp - 0x1a4]
call fcn.0055a6e0
mov esi, dword [ebp - 0x1a4]
test eax, eax
jne 0x558bf1
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 dword [ebp - 0x1c8], eax
test esi, esi
je 0x558b6d
push esi
call edi
mov eax, dword [ebp - 0x1c8]
xor esi, esi
mov dword [ebp - 0x1a4], esi
mov dword [ebp - 0x1a0], 0
test eax, eax
jne 0x558bf1
cmp dword [ebp - 0x194], eax
jne 0x558bf1
cmp byte [0x6421b0], al
jne 0x558bc2
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x558bb4
push str.RegDeleteKeyExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x6421ac], eax
mov byte [0x6421b0], 1
jmp 0x558bc7
mov eax, dword [0x6421ac]
mov byte [0x6421b0], 1
jmp 0x558bc7
mov eax, dword [0x6421ac]
test eax, eax
je 0x558bdf
push 0
push 0
lea ecx, [ebp - 0x110]
push ecx
push SysReAllocString
call eax
jmp 0x558bf1
lea eax, [ebp - 0x110]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov byte [ebp - 4], 8
test esi, esi
je 0x558c06
push esi
call edi
mov dword [ebp - 0x1a4], 0
mov dword [ebp - 0x1a0], 0
mov byte [ebp - 4], 7
push SysReAllocString
call edi
mov dword [ebp - 0x1b0], 0
mov dword [ebp - 0x1ac], 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 0x558c58
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
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.0055c86d
mov esp, ebp
pop ebp
ret 4