Function at 0x10023b4e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x454
lea ebp, [esp - 4]
mov eax, dword [0x10207390]
xor eax, ebp
mov dword [ebp + 0x454], eax
push 0x58
mov eax, 0x1017d0a4
call fcn.1008546d
mov eax, dword [ebp + 0x460]
mov ebx, dword [ebp + 0x46c]
mov edi, dword [ebp + 0x464]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x468]
push eax
lea eax, [ebp - 0x48]
xor esi, esi
push eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x14], esi
call fcn.1001e780
cmp dword [eax + 0x18], 8
pop ecx
pop ecx
jb 0x10023bac
mov eax, dword [eax + 4]
jmp 0x10023baf
add eax, 4
lea ecx, [ebp - 0x14]
push ecx
push 0x109
push esi
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push esi
push 1
lea ecx, [ebp - 0x48]
mov edi, eax
call fcn.100017c0
cmp edi, esi
je 0x10023bd9
xor eax, eax
jmp 0x10023f55
mov ecx, ebx
mov dword [ebp - 0x1c], esi
call fcn.1002f2ba
test eax, eax
jbe 0x10023f49
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
call fcn.1002f448
mov edi, eax
mov ecx, edi
call fcn.1002ef71
test al, al
jne 0x10023f49
mov ecx, edi
call fcn.1002efa0
test al, al
je 0x10023f49
push 0x1018b670
mov ecx, edi
call fcn.1002fb07
push str.type
mov ecx, edi
mov ebx, eax
call fcn.1002fb07
push 0x1018b668
mov ecx, edi
mov dword [ebp - 0x2c], eax
call fcn.1002fb07
mov ecx, ebx
mov dword [ebp - 0x18], eax
call fcn.1002ef71
test al, al
jne 0x10023f49
mov ecx, ebx
call fcn.1002ef84
test al, al
je 0x10023f49
mov edi, dword [ebp - 0x2c]
mov ecx, edi
call fcn.1002ef71
test al, al
jne 0x10023c79
mov ecx, edi
call fcn.1002ef84
test al, al
jne 0x10023c95
mov ecx, dword [ebp - 0x18]
call fcn.1002ef71
test al, al
jne 0x10023c95
mov ecx, dword [ebp - 0x18]
call fcn.1002ef84
test al, al
jne 0x10023f49
lea eax, [ebp - 0x48]
push eax
mov ecx, ebx
call fcn.1002f5c9
push eax
lea eax, [ebp + 0x1c]
push eax
mov dword [ebp - 4], esi
call fcn.1001e780
pop ecx
pop ecx
xor ebx, ebx
push esi
inc ebx
push ebx
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.10001770
mov ecx, edi
call fcn.1002ef71
test al, al
jne 0x10023cee
mov ecx, edi
call fcn.1002ef84
test al, al
je 0x10023cee
mov ecx, dword [ebp - 0x18]
call fcn.1002ef71
test al, al
jne 0x10023cee
mov ecx, dword [ebp - 0x18]
call fcn.1002ef84
test al, al
jne 0x10023d15
cmp dword [ebp + 0x34], 8
mov eax, dword [ebp + 0x20]
jae 0x10023cfa
lea eax, [ebp + 0x20]
push esi
push esi
push esi
push esi
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10023f3f
mov eax, dword [ebp - 0x20]
inc dword [eax]
lea eax, [ebp + 0x38]
push eax
mov ecx, edi
mov dword [ebp - 0x10], esi
call fcn.1002f5c9
push str.REG_SZ
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 3
call fcn.10019b5d
test eax, eax
jne 0x10023d40
mov dword [ebp - 0x10], ebx
jmp 0x10023e73
push str.REG_EXPAND_SZ
lea ecx, [ebp + 0x38]
call fcn.10019b5d
test eax, eax
jne 0x10023d5d
mov dword [ebp - 0x10], 2
jmp 0x10023e73
push str.REG_BINARY
lea ecx, [ebp + 0x38]
call fcn.10019b5d
test eax, eax
jne 0x10023d7a
mov dword [ebp - 0x10], 3
jmp 0x10023e73
push str.REG_DWORD
lea ecx, [ebp + 0x38]
call fcn.10019b5d
test eax, eax
je 0x10023d9c
push str.REG_DWORD_LITTLE_ENDIAN
lea ecx, [ebp + 0x38]
call fcn.10019b5d
test eax, eax
jne 0x10023da8
mov dword [ebp - 0x10], 4
jmp 0x10023e73
push str.REG_DWORD_BIG_ENDIAN
lea ecx, [ebp + 0x38]
call fcn.10019b5d
test eax, eax
jne 0x10023dc5
mov dword [ebp - 0x10], 5
jmp 0x10023e73
push str.REG_LINK
lea ecx, [ebp + 0x38]
call fcn.10019b5d
test eax, eax
jne 0x10023de2
mov dword [ebp - 0x10], 6
jmp 0x10023e73
push str.REG_MULTI_SZ
lea ecx, [ebp + 0x38]
call fcn.10019b5d
test eax, eax
jne 0x10023dfc
mov dword [ebp - 0x10], 7
jmp 0x10023e73
push str.REG_RESOURCE_LIST
lea ecx, [ebp + 0x38]
call fcn.10019b5d
test eax, eax
jne 0x10023e16
mov dword [ebp - 0x10], 8
jmp 0x10023e73
push str.REG_FULL_RESOURCE_DESCRIPTOR
lea ecx, [ebp + 0x38]
call fcn.10019b5d
test eax, eax
jne 0x10023e30
mov dword [ebp - 0x10], 9
jmp 0x10023e73
push str.REG_RESOURCE_REQUIREMENTS_LIST
lea ecx, [ebp + 0x38]
call fcn.10019b5d
test eax, eax
jne 0x10023e4a
mov dword [ebp - 0x10], 0xa
jmp 0x10023e73
push str.REG_QWORD
lea ecx, [ebp + 0x38]
call fcn.10019b5d
test eax, eax
je 0x10023e6c
push str.REG_QWORD_LITTLE_ENDIAN
lea ecx, [ebp + 0x38]
call fcn.10019b5d
test eax, eax
jne 0x10023e73
mov dword [ebp - 0x10], 0xb
push 0x3fe
lea eax, [ebp + 0x56]
push esi
push eax
mov word [ebp + 0x54], si
call fcn.10085bc0
mov ecx, dword [ebp - 0x18]
add esp, 0xc
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x28], 0x200
call fcn.1002f5c9
push eax
lea eax, [ebp]
push eax
mov byte [ebp - 4], 4
call fcn.1001e780
pop ecx
pop ecx
push esi
push ebx
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 3
call fcn.10001770
mov eax, dword [ebp - 0x10]
cmp eax, 2
je 0x10023f7a
cmp eax, ebx
je 0x10023f7a
cmp eax, 7
je 0x10023f7a
cmp eax, 4
je 0x10023ee1
cmp eax, 3
jne 0x10023f2b
cmp dword [ebp + 0x34], 8
mov eax, dword [ebp + 0x20]
jae 0x10023eed
lea eax, [ebp + 0x20]
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp + 0x54]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push esi
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10023fc6
cmp dword [ebp + 0x18], 8
movsx edi, word [ebp + 0x54]
mov eax, dword [ebp + 4]
jae 0x10023f1c
lea eax, [ebp + 4]
push eax
call fcn.100865c9
cmp eax, edi
pop ecx
je 0x10023fc1
push esi
push ebx
lea ecx, [ebp]
call fcn.100017c0
push esi
push ebx
lea ecx, [ebp + 0x38]
call fcn.10001770
push esi
push ebx
lea ecx, [ebp + 0x1c]
call fcn.100017c0
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x454]
xor ecx, ebp
call fcn.1008545e
add ebp, 0x458
leave
ret 0x10
cmp dword [ebp + 0x34], 8
mov eax, dword [ebp + 0x20]
jae 0x10023f86
lea eax, [ebp + 0x20]
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp + 0x54]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push esi
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10023fc6
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x10023fad
lea eax, [ebp + 4]
push eax
lea eax, [ebp + 0x54]
push eax
call fcn.100885cc
test eax, eax
pop ecx
pop ecx
je 0x10023f2b
mov eax, dword [ebp - 0x20]
inc dword [eax]
push esi
push ebx
lea ecx, [ebp]
call fcn.100017c0
push esi
push ebx
lea ecx, [ebp + 0x38]
call fcn.10001770
or dword [ebp - 4], 0xffffffff
push esi
push ebx
lea ecx, [ebp + 0x1c]
call fcn.100017c0
mov ecx, dword [ebp - 0x24]
inc dword [ebp - 0x1c]
call fcn.1002f2ba
cmp dword [ebp - 0x1c], eax
jb 0x10023beb
jmp 0x10023f49