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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x101000c]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push edi
xor edi, edi
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x214], edi
cmp ecx, edi
je 0x100adab
cmp ecx, 0xffffffff
je 0x100adab
cmp eax, edi
je 0x100adab
xor edx, edx
cmp dx, word [eax]
je 0x100adab
push esi
lea edx, [ebp - 0x214]
push edx
mov edx, dword [ebp + 0x10]
or edx, 0x2000000
push edx
push edi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_RegOpenKeyExW]
mov esi, eax
cmp esi, edi
jne 0x100ad9a
push ebx
push edi
push edi
push edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x21c]
push eax
push edi
push edi
push edi
push dword [ebp - 0x214]
mov dword [ebp - 0x21c], edi
call dword [sym.imp.KERNEL32.dll_RegQueryInfoKeyW]
mov esi, eax
cmp esi, edi
jne 0x100ad02
mov ebx, dword [ebp - 0x21c]
xor esi, esi
dec ebx
cmp ebx, edi
jl 0x100aca0
cmp esi, edi
jne 0x100ac92
push 0x105
lea eax, [ebp - 0x210]
push eax
push ebx
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov esi, eax
cmp esi, edi
jne 0x100ac8f
push dword [ebp + 0x10]
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x214]
call fcn.0100ab8a
test eax, eax
jne 0x100ac8f
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
je 0x100ac8c
call esi
mov esi, eax
jmp 0x100ac8f
push 0x1f
pop esi
dec ebx
jns 0x100ac3e
cmp esi, 0x103
jne 0x100ac9c
xor esi, esi
cmp esi, edi
jne 0x100ad02
mov ebx, dword [sym.imp.KERNEL32.dll_RegEnumValueW]
jmp 0x100accd
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_RegDeleteValueW]
test eax, eax
jne 0x100accd
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
je 0x100accd
call esi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x210]
push eax
push edi
push dword [ebp - 0x214]
mov dword [ebp - 0x218], 0x105
call ebx
mov esi, eax
cmp esi, edi
je 0x100aca8
cmp esi, 0x103
jne 0x100ad02
xor esi, esi
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, edi
jne 0x100ad99
cmp eax, edi
je 0x100ad1e
mov esi, eax
jmp 0x100ad99
mov esi, 0x1006210
push esi
mov dword [ebp - 0x218], edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, eax
cmp ebx, edi
jne 0x100ad4d
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
cmp ebx, edi
je 0x100ad71
mov dword [ebp - 0x218], 1
push 0x1006200
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x100ad71
push edi
push dword [ebp + 0x10]
push dword [ebp - 0x224]
push dword [ebp - 0x220]
call eax
jmp 0x100ad83
push dword [ebp - 0x224]
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp dword [ebp - 0x218], 1
mov esi, eax
jne 0x100ad99
cmp ebx, edi
je 0x100ad99
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
cmp esi, edi
sete al
pop esi
jmp 0x100adb5
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0100919d
leave
ret 0xc