Function at 0x10015920
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100319aa
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x10046270]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
push esi
push 0x80000002
push str.Start_:_hRoot0x_X__wKey_s
push str.CSetupRegW::GetRegDirectoryKeyNames
push 8
call fcn.1000db20
add esp, 0x14
lea eax, [ebp - 0x230]
push eax
push 8
push 0
push esi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x100159af
xor ecx, ecx
cmp eax, 5
setne cl
push eax
push str.End_:_return_FALSE__RegOpenKeyExW_returned_ox_X_
push str.CSetupRegW::GetRegDirectoryKeyNames
add ecx, 2
push ecx
call fcn.1000db20
add esp, 0x10
xor eax, eax
jmp 0x10015baa
xor esi, esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
mov dword [ebp - 0x234], esi
call fcn.10022720
add esp, 0xc
lea eax, [ebp - 0x238]
push 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x21c]
push eax
push esi
push dword [ebp - 0x230]
mov dword [ebp - 0x238], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x10015b85
mov dword [ebp - 4], eax
lea esi, [ebp - 0x21c]
mov dword [ebp - method.CStringBufferW.virtual_0], vtable.CStringBufferW.0
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x228], eax
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x10015a32
sub esi, ecx
sar esi, 1
je 0x10015a78
push esi
lea ecx, [ebp - 0x22c]
call fcn.1000a840
push esi
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x224]
push dword [ebp - 0x220]
call fcn.1001df56
add esp, 0x10
mov dword [ebp - 0x228], esi
inc esi
mov dword [ebp - 0x224], esi
push 0x10
mov dword [ebp - 4], 1
call fcn.1001d3e4
mov edi, eax
add esp, 4
mov dword [ebp - 0x23c], edi
test edi, edi
je 0x10015ac9
mov byte [ebp - 4], 3
push dword [ebp - 0x228]
mov ecx, edi
push dword [ebp - 0x220]
mov dword [edi], vtable.CStringBufferW.0
mov dword [edi + 0xc], 0
mov dword [edi + 8], 0
mov dword [edi + 4], 0
call fcn.1000a470
jmp 0x10015acb
xor edi, edi
mov byte [ebp - 4], 1
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
inc ecx
cmp ecx, edx
jb 0x10015b1a
mov eax, dword [ebx + 0x10]
add eax, edx
add eax, ecx
xor ecx, ecx
mov dword [ebx + 0xc], eax
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1001ccbf
mov ecx, dword [ebx + 8]
shl ecx, 2
push ecx
push dword [ebx + 0x14]
mov esi, eax
push esi
call fcn.10022830
push dword [ebx + 0x14]
call fcn.1001df51
add esp, 0x14
mov dword [ebx + 0x14], esi
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0x14]
mov dword [ebp - method.CStringBufferW.virtual_0], vtable.CStringBufferW.0
mov dword [eax + ecx*4], edi
inc dword [ebx + 8]
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x10015b4a
push eax
call fcn.1001df51
add esp, 4
mov esi, dword [ebp - 0x234]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x228], 0
mov dword [ebp - method.CSeed.virtual_0], vtable.CSeed.0
inc esi
jmp 0x100159b1
push dword [ebp - 0x230]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.End_:_return_TRUE
push str.CSetupRegW::GetRegDirectoryKeyNames
push 8
call fcn.1000db20
add esp, 0xc
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1001d3d5
mov esp, ebp
pop ebp
ret 0xc