Function at 0x10087e10
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1025bbbe
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x24c
mov eax, dword [0x102f6d90]
xor eax, ebp
mov dword [ebp - 0x20], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x14]
call fcn.10001ddf
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x10087ced
call fcn.10052350
cmp eax, 1
jne 0x10087ced
lea ecx, [ebp - 0x14]
push ecx
push 0x10280b0c
lea edx, [ebp - 0x238]
push edx
call fcn.10072af0
add esp, 0xc
mov dword [ebp - 0x248], eax
mov eax, dword [ebp - 0x248]
mov dword [ebp - 0x24c], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x24c]
push ecx
lea ecx, [ebp - 0x14]
call fcn.100033dd
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x238]
call fcn.10001f35
mov dword [ebp + 8], VariantInit
cmp dword [ebp + 0x10], 0
je 0x10087d1b
lea edx, [ebp - 0x18]
push edx
push 0x2001f
push 0
lea ecx, [ebp - 0x14]
call fcn.10003adb
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0x10]
call fcn.10072bc0
mov dword [ebp - 0x250], eax
jmp 0x10087d3f
lea ecx, [ebp - 0x18]
push ecx
push 0x2001f
push 0
lea ecx, [ebp - 0x14]
call fcn.10003adb
push eax
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x250], eax
mov eax, dword [ebp - 0x250]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x10087e81
push 0x104
lea ecx, [ebp - 0x230]
push ecx
push 0
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x10087e20
mov byte [ebp - 4], 2
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x240]
call fcn.10001df4
mov dword [ebp - 0x254], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x240]
push edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.10087c40
mov dword [ebp - 0x258], eax
mov ecx, dword [ebp - 0x258]
mov dword [ebp - 0x1c], ecx
xor edx, edx
cmp dword [ebp - 0x1c], 0
setne dl
mov byte [ebp - 0x239], dl
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x240]
call fcn.10001f35
movzx eax, byte [ebp - 0x239]
test eax, eax
je 0x10087de9
mov byte [ebp - 4], 0
jmp 0x10087e20
jmp 0x10087e10
mov dword [ebp - 4], 0
jmp 0x10087e1b
jmp 0x10087d52
cmp dword [ebp - 0x1c], 0x103
je 0x10087e32
cmp dword [ebp - 0x1c], 0x3f2
jne 0x10087e77
cmp dword [ebp + 0x10], 0
je 0x10087e55
lea ecx, [ebp - 0x14]
call fcn.10003adb
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.10072d70
mov dword [ebp - 0x25c], eax
jmp 0x10087e6e
lea ecx, [ebp - 0x14]
call fcn.10003adb
push eax
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp - 0x25c]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x244], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10001f35
mov eax, dword [ebp - 0x244]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.102188c0
mov esp, ebp
pop ebp
ret 0xc