Function at 0x10010eb0
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x42c
mov eax, dword [0x10063790]
xor eax, esp
mov dword [esp + 0x424], eax
push ebx
push ebp
push esi
push edi
xor esi, esi
push 0x206
lea eax, [esp + 0x26]
mov edi, ecx
push esi
push eax
mov dword [esp + 0x28], edi
xor ebx, ebx
mov word [esp + 0x2c], si
call fcn.1003d360
add esp, 0xc
push 0x206
lea ecx, [esp + 0x22e]
push esi
push ecx
mov word [esp + 0x234], si
call fcn.1003d360
lea eax, [esp + 0x2c]
mov ebp, str.TEST
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], reloc.OLEAUT32.dll_SysReAllocString
mov edx, 0x104
sub ebp, ecx
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x10010f46
movzx ecx, word [eax + ebp]
cmp cx, si
je 0x10010f46
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x10010f26
jmp 0x10010f4a
cmp edx, esi
jne 0x10010f4d
sub eax, 2
push 1
push str.SeBackupPrivilege
mov word [eax], si
call fcn.10032020
push 1
push str.SeRestorePrivilege
call fcn.10032020
add esp, 0x10
push edi
lea edx, [esp + 0x24]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegLoadKeyW]
cmp eax, esi
jne 0x100110d2
lea eax, [esp + 0x14]
push eax
push 0xf003f
push esi
lea ecx, [esp + 0x2c]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x10010ffb
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea esp, [esp]
mov ecx, dword [esp + 0x14]
push 0
push 0
push 0
push 0
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x23c]
push eax
push esi
push ecx
mov dword [esp + 0x38], 0x104
call edi
add esi, 1
test eax, eax
je 0x10010fb0
cmp eax, 0x103
je 0x10010fe8
mov ebx, 0x801e0013
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [esp + 0x1c]
xor esi, esi
jmp 0x1001103b
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
test byte [0x10065ac4], 1
jne 0x10011024
or dword [0x10065ac4], 1
call fcn.1001db00
push 0x10051230
call fcn.1003c413
add esp, 4
push str.Cannot_open_HKEY_LOCAL_MACHINETEST.
mov ebx, 0x10065ac8
call fcn.1001e430
add esp, 4
mov ebx, 0x801e0013
mov edx, 0x104
lea eax, [esp + 0x20]
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x10011064
movzx ecx, word [eax + ebp]
cmp cx, si
je 0x10011064
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x10011044
jmp 0x10011068
cmp edx, esi
jne 0x1001106b
sub eax, 2
lea edx, [esp + 0x20]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
mov word [eax], si
call dword [sym.imp.ADVAPI32.dll_RegUnLoadKeyW]
cmp ebx, esi
jne 0x100110b7
test byte [0x10065ac4], 1
jne 0x100110a4
or dword [0x10065ac4], 1
call fcn.1001db00
push 0x10051230
call fcn.1003c413
add esp, 4
push edi
push str.Checked__s.
mov eax, 0x10065ac8
call fcn.1001e660
add esp, 8
mov eax, ebx
mov ecx, dword [esp + 0x434]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1003c13d
add esp, 0x42c
ret
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
test byte [0x10065ac4], 1
jne 0x100110fb
or dword [0x10065ac4], 1
call fcn.1001db00
push 0x10051230
call fcn.1003c413
add esp, 4
push edi
push str.Cannot_load_hive__s.
mov ebx, 0x10065ac8
call fcn.1001e430
add esp, 8
mov eax, 0x801e0013
jmp 0x100110b9