Function at 0x1001fbe5
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x500
mov eax, 0x10108c47
call fcn.100c7e75
mov dword [ebp - 0x44c], edx
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [ebp - 0x458], eax
mov bl, dl
mov dword [ebp - 0x440], edx
mov dword [ebp - 0x43c], edx
mov dword [eax], edx
mov dword [ebp - 0x42c], edx
mov dword [ebp - 0x428], 0xf
mov byte [ebp - 0x43c], dl
lea edx, [ebp - 0x43c]
mov dword [ebp - 4], 1
call fcn.10015bb3
cmp dword [ebp - 0x42c], 0
mov edi, eax
mov dword [ebp - 0x454], edi
je 0x1001ff96
test edi, edi
je 0x1001ff96
push ecx
push ecx
lea ecx, [ebp - 0x460]
call fcn.10014342
push ecx
lea edx, [ebp - 0x43c]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x480]
call fcn.10016675
pop ecx
cmp dword [eax + 0x14], 8
jb 0x1001fc86
mov eax, dword [eax]
lea ecx, [ebp - 0x440]
push ecx
push 0xf003f
push 0
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea ecx, [ebp - 0x480]
mov esi, eax
call fcn.100145b0
lea ecx, [ebp - 0x460]
mov byte [ebp - 4], 1
call fcn.100143bd
test esi, esi
jne 0x1001ff96
cmp dword [ebp - 0x440], esi
je 0x1001ff96
push 0x208
lea eax, [ebp - 0x218]
mov ebx, esi
push esi
push eax
call fcn.100c95b0
push 0x208
lea eax, [ebp - 0x420]
push esi
push eax
call fcn.100c95b0
add esp, 0x18
mov dword [ebp - 0x424], esi
mov eax, 0x104
mov dword [ebp - 0x444], eax
mov dword [ebp - 0x448], eax
lea eax, [ebp - 0x448]
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x424]
push eax
push esi
lea eax, [ebp - 0x444]
push eax
lea eax, [ebp - 0x218]
push eax
push esi
push dword [ebp - 0x440]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x1001ff8c
mov edi, dword [ebp - 0x44c]
mov eax, dword [ebp - 0x424]
sub eax, 1
je 0x1001fe03
sub eax, 1
je 0x1001fe03
push ecx
push ecx
lea ecx, [ebp - 0x460]
call fcn.10014342
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x218]
push dword [ebp - 0x444]
lea ecx, [ebp - 0x4b4]
push eax
call fcn.1001fbab
push ecx
mov edx, eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x480]
call fcn.1001404f
pop ecx
push eax
lea ecx, [ebp - 0x49c]
call fcn.10001c7a
mov dword [ebp - 0x484], 0x10145908
lea eax, [ebp - 0x49c]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x4bc]
mov ecx, edi
push eax
call fcn.10020044
lea ecx, [ebp - 0x49c]
call fcn.10002013
lea ecx, [ebp - 0x480]
call fcn.10002013
lea ecx, [ebp - 0x4b4]
call fcn.100145b0
lea ecx, [ebp - 0x460]
mov byte [ebp - 4], 1
call fcn.100143bd
jmp 0x1001ff0e
push ecx
push ecx
lea ecx, [ebp - 0x468]
call fcn.10014342
mov byte [ebp - 4], 3
lea eax, [ebp - 0x420]
push dword [ebp - 0x448]
lea ecx, [ebp - 0x498]
push eax
call fcn.1001fbab
push ecx
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x50c]
call fcn.1001404f
mov esi, eax
push ecx
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 5
call fcn.10014342
mov byte [ebp - 4], 6
lea eax, [ebp - 0x218]
push dword [ebp - 0x444]
lea ecx, [ebp - 0x480]
push eax
call fcn.1001fbab
push ecx
mov edx, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x4b4]
call fcn.1001404f
pop ecx
push eax
lea ecx, [ebp - 0x4f4]
call fcn.10001c7a
push esi
lea ecx, [ebp - 0x4dc]
call fcn.10001c7a
lea eax, [ebp - 0x4f4]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x4c4]
mov ecx, edi
push eax
call fcn.1001fb12
lea ecx, [ebp - 0x4dc]
call fcn.10002013
lea ecx, [ebp - 0x4f4]
call fcn.10002013
lea ecx, [ebp - 0x4b4]
call fcn.10002013
lea ecx, [ebp - 0x480]
call fcn.100145b0
lea ecx, [ebp - 0x450]
call fcn.100143bd
lea ecx, [ebp - 0x50c]
call fcn.10002013
lea ecx, [ebp - 0x498]
call fcn.100145b0
lea ecx, [ebp - 0x468]
mov byte [ebp - 4], 1
call fcn.100143bd
xor esi, esi
push 0x208
lea eax, [ebp - 0x218]
inc ebx
push esi
push eax
call fcn.100c95b0
push 0x208
lea eax, [ebp - 0x420]
push esi
push eax
call fcn.100c95b0
add esp, 0x18
mov dword [ebp - 0x424], esi
mov eax, 0x104
mov dword [ebp - 0x444], eax
mov dword [ebp - 0x448], eax
lea eax, [ebp - 0x448]
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x424]
push eax
push esi
lea eax, [ebp - 0x444]
push eax
lea eax, [ebp - 0x218]
push eax
push ebx
push dword [ebp - 0x440]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x1001fd4b
mov edi, dword [ebp - 0x454]
mov eax, dword [ebp - 0x458]
mov dword [eax], ebx
mov bl, 1
lea ecx, [ebp - 0x43c]
call fcn.10002013
cmp dword [ebp - 0x440], 0
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x1001ffbf
push dword [ebp - 0x440]
call esi
and dword [ebp - 0x440], 0
test edi, edi
je 0x1001ffc6
push edi
call esi
mov al, bl
call fcn.100c7e24
ret