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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016ce1e
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x101e8118]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x54], ecx
lea ecx, [ebp - 0x1c]
call fcn.10013cc0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.10013cc0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.10005760
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.10005760
mov byte [ebp - 4], 3
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x3c]
call fcn.10015410
mov byte [ebp - 4], 4
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x29], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x14]
push eax
push 1
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x54]
call fcn.1000d920
test eax, eax
je 0x1000ddb5
push 0x2001f
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.10013d50
test eax, eax
jne 0x1000dcc3
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x29], 1
cmp dword [ebp - 0x20], 0
jne 0x1000dcbb
mov byte [ebp - 0x45], 1
mov dword [ebp - 0x44], 0x820
mov edx, dword [ebp - 0x44]
push edx
push 0x828
lea ecx, [ebp - 0x28]
call fcn.10005f10
push eax
mov eax, dword [ebp - 0x40]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10013d00
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov dword [ebp - 0x20], eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x28]
call fcn.10005fe0
cmp dword [ebp - 0x20], 0
je 0x1000dc65
cmp dword [ebp - 0x20], 0x103
je 0x1000dc65
jmp 0x1000dcbb
mov ecx, dword [ebp - 0x40]
add ecx, 1
mov dword [ebp - 0x40], ecx
cmp dword [ebp + 0x10], 0
je 0x1000dc88
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [ebp - 0x28]
call fcn.10005d90
test eax, eax
jne 0x1000dc88
mov byte [ebp - 0x45], 0
cmp dword [ebp + 0x14], 0
je 0x1000dca2
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x28]
call fcn.10005d90
test eax, eax
je 0x1000dca2
mov byte [ebp - 0x45], 0
movzx ecx, byte [ebp - 0x45]
test ecx, ecx
je 0x1000dcb6
lea edx, [ebp - 0x28]
push edx
lea ecx, [ebp - 0x3c]
call fcn.100154d0
jmp 0x1000dc0d
lea ecx, [ebp - 0x1c]
call fcn.10013d10
mov dword [ebp - 0x4c], 0
jmp 0x1000dcd5
mov eax, dword [ebp - 0x4c]
add eax, 1
mov dword [ebp - 0x4c], eax
lea ecx, [ebp - 0x3c]
call fcn.10015460
cmp dword [ebp - 0x4c], eax
jae 0x1000dd9f
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x10]
call fcn.10005aa0
push 0x10187d3c
lea ecx, [ebp - 0x10]
call fcn.10018de0
push 0
mov edx, dword [ebp - 0x4c]
push edx
lea ecx, [ebp - 0x3c]
call fcn.100154a0
mov ecx, eax
call fcn.10005f10
push eax
lea ecx, [ebp - 0x10]
call fcn.10018de0
lea eax, [ebp - 0x18]
push eax
push 1
lea ecx, [ebp - 0x10]
call fcn.10005a00
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x54]
call fcn.1000d920
test eax, eax
je 0x1000dd96
lea ecx, [ebp - 0x10]
call fcn.10005a00
push eax
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x1000dd74
lea eax, [ebp - 0x18]
push eax
push 0
lea ecx, [ebp - 0x10]
call fcn.10005a00
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x54]
call fcn.1000d920
mov byte [ebp - 0x29], 0
jmp 0x1000dd94
cmp dword [ebp - 0x18], 0
je 0x1000dd94
mov edx, dword [ebp - 0x18]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [ebp - 0x18], 0
jmp 0x1000dd9a
mov byte [ebp - 0x29], 0
jmp 0x1000dccc
lea eax, [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x54]
call fcn.1000d920
movzx eax, byte [ebp - 0x29]
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3c]
call fcn.10015440
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.10006030
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.10006030
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.10013ce0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.10013ce0
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x10