Function at 0x100095b0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003b98f
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x1004f430]
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.1000d610
add esp, 0x14
lea eax, [ebp - 0x230]
push eax
push 8
push ecx
mov edx, esi
mov ecx, 0x80000002
call fcn.10009850
test eax, eax
je 0x1000963e
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.1000d610
add esp, 0x10
xor eax, eax
jmp 0x10009828
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.10027fa0
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 0x10009803
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 0x100096c1
sub esi, ecx
sar esi, 1
je 0x10009707
push esi
lea ecx, [ebp - 0x22c]
call fcn.10007b10
push esi
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x224]
push dword [ebp - 0x220]
call fcn.10023dc5
add esp, 0x10
mov dword [ebp - 0x228], esi
inc esi
mov dword [ebp - 0x224], esi
push 0x10
mov dword [ebp - 4], 1
call fcn.10023233
mov edi, eax
add esp, 4
mov dword [ebp - 0x23c], edi
test edi, edi
je 0x10009758
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.100077c0
jmp 0x1000975a
xor edi, edi
mov byte [ebp - 4], 1
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
inc ecx
cmp ecx, edx
jb 0x100097a9
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.1001edc0
mov ecx, dword [ebx + 8]
shl ecx, 2
push ecx
push dword [ebx + 0x14]
mov esi, eax
push esi
call fcn.100280b0
push dword [ebx + 0x14]
call fcn.1002354a
add esp, 0x14
mov dword [ebx + 0x14], esi
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0x14]
mov dword [eax + ecx*4], edi
inc dword [ebx + 8]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x100097cf
push eax
call fcn.1002354a
add esp, 4
mov esi, dword [ebp - 0x234]
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 0x10009640
push dword [ebp - 0x230]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.End_:_return_TRUE
push str.CSetupRegW::GetRegDirectoryKeyNames
push 8
call fcn.1000d610
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.10022a24
mov esp, ebp
pop ebp
ret 0xc