Function at 0x100c443
Capabilities:
Delete registry value
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x1017048]
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push 0x1004ee8
mov dword [ebp - 0x7e4], eax
mov dword [ebp - 0x7f8], edi
mov dword [ebp - 0x800], esi
call fcn.0100f591
xor ebx, ebx
add esp, 0xc
cmp esi, ebx
je 0x100c4a0
cmp word [esi], bx
je 0x100c4a0
push esi
call fcn.0100acb0
test al, al
pop ecx
je 0x100c4a0
mov al, 1
jmp 0x100c76d
lea ecx, [ebp - 0x7dc]
mov dword [ebp - 0x7dc], ebx
call fcn.01008658
push eax
push 0x20019
push ebx
push edi
push dword [ebp - 0x7e4]
call fcn.01008692
add esp, 0x14
cmp eax, ebx
je 0x100c4fe
cmp eax, 2
je 0x100c75e
cmp dword [ebp - 0x7e4], 0x80000002
mov eax, 0x1001df4
je 0x100c4ea
mov eax, 0x1001de8
push edi
push eax
push 0x1004eb8
call fcn.0100f591
add esp, 0xc
jmp 0x100c760
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x7ec]
push eax
lea eax, [ebp - 0x7d4]
mov esi, 0x1f4
push eax
mov dword [ebp - 0x7ec], esi
mov dword [ebp - 0x7e8], ebx
mov dword [ebp - 0x7fc], ebx
push ebx
jmp 0x100c6cd
mov edi, dword [ebp - 0x7dc]
lea ecx, [ebp - 0x7d8]
mov dword [ebp - 0x7d8], ebx
call fcn.01008658
push eax
push 0x2001b
push ebx
lea eax, [ebp - 0x7d4]
push eax
push edi
call fcn.01008692
add esp, 0x14
cmp eax, ebx
mov dword [ebp - 0x7e0], eax
jne 0x100c6e9
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x7f4]
push eax
lea eax, [ebp - 0x3ec]
push eax
mov dword [ebp - 0x7f0], ebx
push ebx
jmp 0x100c5b9
push dword [ebp - 0x800]
lea eax, [ebp - 0x3ec]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x100c5d3
inc dword [ebp - 0x7f0]
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x7f4]
push eax
lea eax, [ebp - 0x3ec]
push eax
push dword [ebp - 0x7f0]
push dword [ebp - 0x7d8]
mov dword [ebp - 0x7f4], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov edi, eax
cmp edi, ebx
je 0x100c584
jmp 0x100c632
lea eax, [ebp - 0x3ec]
push eax
push dword [ebp - 0x7d8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edi, eax
cmp edi, ebx
jne 0x100c6e9
cmp dword [ebp - 0x7e4], 0x80000002
mov eax, 0x1001df4
je 0x100c606
mov eax, 0x1001de8
push dword [ebp - 0x7f8]
push eax
lea eax, [ebp - 0x3ec]
push eax
push 0x1004e68
call fcn.0100f591
add esp, 0x10
mov dword [ebp - 0x7fc], 1
mov byte [0x101881c], 1
cmp edi, 0x103
je 0x100c642
cmp edi, ebx
jne 0x100c6e9
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x804]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x7d8]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x100c6e9
cmp dword [ebp - 0x804], ebx
jne 0x100c696
push ebx
lea ecx, [ebp - 0x7d8]
call fcn.01008634
lea eax, [ebp - 0x7d4]
push eax
push dword [ebp - 0x7dc]
call fcn.010086c9
pop ecx
pop ecx
mov byte [0x101881c], 1
cmp dword [ebp - 0x7fc], ebx
lea ecx, [ebp - 0x7d8]
jne 0x100c6f6
inc dword [ebp - 0x7e8]
mov dword [ebp - 0x7ec], esi
call fcn.01008676
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x7ec]
push eax
lea eax, [ebp - 0x7d4]
push eax
push dword [ebp - 0x7e8]
push dword [ebp - 0x7dc]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, ebx
mov dword [ebp - 0x7e0], eax
je 0x100c52d
jmp 0x100c6fb
lea ecx, [ebp - 0x7d8]
call fcn.01008676
jmp 0x100c760
call fcn.01008676
cmp dword [ebp - 0x7e0], 0x103
je 0x100c70f
cmp dword [ebp - 0x7e0], ebx
jne 0x100c760
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x808]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x7dc]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x100c760
cmp dword [ebp - 0x808], ebx
jne 0x100c75e
push ebx
lea ecx, [ebp - 0x7dc]
call fcn.01008634
push dword [ebp - 0x7f8]
push dword [ebp - 0x7e4]
call fcn.010086c9
pop ecx
pop ecx
mov byte [0x101881c], 1
mov bl, 1
lea ecx, [ebp - 0x7dc]
call fcn.01008676
mov al, bl
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0100f0dc
leave
ret