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

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x120
mov eax, dword [0x100192e0]
push ebx
push esi
push edi
lea ecx, [ebp - 0xac]
mov dword [ebp + 0x68], eax
call fcn.100016e0
mov ebx, dword [ebp + 0x78]
test ebx, ebx
je 0x10001f9d
mov edi, dword [ebp + 0x74]
mov eax, dword [edi]
cmp eax, dword [0x10015a84]
jne 0x10001d4e
mov ecx, dword [edi + 4]
cmp ecx, dword [0x10015a88]
jne 0x10001d4e
mov edx, dword [edi + 8]
cmp edx, dword [0x10015a8c]
jne 0x10001d4e
mov eax, dword [edi + 0xc]
cmp eax, dword [0x10015a90]
je 0x10001f9d
lea ecx, [ebp - 0xac]
push ecx
push 0x10015334
push 1
push 0
push 0x10015a74
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x10001f9d
cmp dword [ebx], 0
je 0x10001dee
mov edx, dword [ebx + 4]
mov eax, dword [edx]
mov dword [ebp + 0x58], eax
mov ecx, dword [edx + 4]
mov dword [ebp + 0x5c], ecx
mov eax, dword [edx + 8]
mov dword [ebp + 0x60], eax
mov ecx, dword [edx + 0xc]
mov eax, dword [ebp + 0x7c]
mov dword [ebp + 0x64], ecx
lea ecx, [ebp + 0x58]
push ecx
push 1
test eax, eax
mov eax, dword [ebx]
push edi
je 0x10001dce
cmp eax, 1
mov eax, dword [ebp - 0xac]
mov edx, dword [eax]
push eax
jne 0x10001db3
call dword [edx + 0x14]
jmp 0x10001db6
call dword [edx + 0x1c]
mov esi, eax
test esi, esi
jge 0x10001de4
lea ecx, [ebp - 0xac]
call fcn.10001610
mov eax, esi
jmp 0x10001faa
cmp eax, 1
mov eax, dword [ebp - 0xac]
mov edx, dword [eax]
push eax
jne 0x10001de1
call dword [edx + 0x18]
jmp 0x10001de4
call dword [edx + 0x20]
mov eax, dword [ebx + 8]
add ebx, 8
test eax, eax
jne 0x10001d76
mov eax, dword [ebp + 0x7c]
test eax, eax
jne 0x10001f9d
push 0x40
lea edx, [ebp - 0xa8]
push edx
push edi
call dword [sym.imp.ole32.dll_StringFromGUID2]
call dword [fcn.10019050]
mov edi, eax
lea eax, [ebp - 0xa8]
push eax
mov dword [ebp + 0x74], 0
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [eax + eax + 2]
cmp esi, 0x400
jg 0x10001e4f
push esi
call fcn.10001030
add esp, 4
test al, al
je 0x10001e4f
mov eax, esi
add eax, 3
and eax, 0xfffffffc
call fcn.1000c9d0
mov eax, esp
jmp 0x10001e58
push esi
lea ecx, [ebp + 0x74]
call fcn.10001640
push edi
push esi
lea ecx, [ebp - 0xa8]
push ecx
push eax
call fcn.10001200
mov edi, eax
test edi, edi
je 0x10001f95
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x1001532c
lea edx, [ebp - 0x28]
push edx
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push edi
lea eax, [ebp - 0x28]
push eax
call esi
push 0x10015314
lea ecx, [ebp - 0x28]
push ecx
call esi
push 0x20019
lea edx, [ebp - 0x28]
xor eax, eax
push edx
push SysReAllocString
lea ecx, [ebp + 0x7c]
mov dword [ebp - 0xb0], SysStringLen
mov dword [ebp + 0x7c], eax
mov dword [ebp + 0x78], eax
call fcn.10001440
test eax, eax
jne 0x10001f0f
push eax
mov ecx, dword [ebp + 0x7c]
push eax
push eax
push eax
push eax
push eax
push eax
lea eax, [ebp + 0x78]
push eax
push 0
push 0
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
lea ecx, [ebp + 0x7c]
mov dword [ebp - 0xb4], eax
call fcn.10001420
mov eax, dword [ebp - 0xb4]
test eax, eax
jne 0x10001f0f
mov eax, dword [ebp + 0x78]
test eax, eax
jne 0x10001f0f
lea edx, [ebp - 0x28]
push edx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push 0x1001532c
lea eax, [ebp - 0x28]
push eax
call ebx
push edi
lea ecx, [ebp - 0x28]
push ecx
call esi
push 0x100152fc
lea edx, [ebp - 0x28]
push edx
call esi
push 0x20019
lea eax, [ebp - 0x28]
push eax
push SysReAllocString
lea ecx, [ebp + 0x7c]
call fcn.10001440
test eax, eax
jne 0x10001f82
mov edx, dword [ebp + 0x7c]
push eax
push eax
push eax
push eax
push eax
push eax
push eax
lea ecx, [ebp + 0x78]
push ecx
push eax
push eax
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
lea ecx, [ebp + 0x7c]
mov esi, eax
call fcn.10001420
test esi, esi
jne 0x10001f82
mov eax, dword [ebp + 0x78]
test eax, eax
jne 0x10001f82
lea eax, [ebp - 0x28]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea ecx, [ebp + 0x7c]
call fcn.100015f0
lea ecx, [ebp - 0xb0]
call fcn.100015f0
lea ecx, [ebp + 0x74]
call fcn.10001530
lea ecx, [ebp - 0xac]
call fcn.10001610
xor eax, eax
lea esp, [ebp - 0xc0]
mov ecx, dword [ebp + 0x68]
call fcn.1000ca3e
pop edi
pop esi
pop ebx
add ebp, 0x6c
mov esp, ebp
pop ebp
ret 0xc