Function at 0x100267fb
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x24
mov eax, 0x1002c255
call fcn.1002acc8
mov dword [ebp - 0x28], edx
mov ebx, ecx
mov dword [ebp - 0x24], ebx
mov eax, dword [0x1002f024]
cmp eax, 0x1002f024
je 0x1002683a
test byte [eax + 0x1c], 1
je 0x1002683a
cmp byte [eax + 0x19], 5
jb 0x1002683a
push dword [eax + 0x14]
mov edx, 0x100032fc
push dword [eax + 0x10]
push 0x3f
pop ecx
call fcn.10003c19
xor esi, esi
lea eax, [ebp - 0x18]
push esi
push esi
push esi
push esi
push esi
push esi
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], esi
push eax
push esi
push esi
push esi
push dword [ebx]
mov dword [ebp - 0x18], esi
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryInfoKeyW]
mov edi, eax
mov edx, dword [0x1002f024]
mov ebx, 0x1002f024
cmp edx, ebx
je 0x10026892
test byte [edx + 0x1c], 2
je 0x10026892
cmp byte [edx + 0x19], 4
jb 0x10026892
push edi
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, 0x100032fc
push 0x40
pop ecx
call fcn.10003c37
mov edx, dword [0x1002f024]
inc dword [ebp - 0x18]
test edi, edi
jne 0x100269cc
push 0x1002f508
lea ecx, [ebp - 0x14]
call fcn.10009292
mov dword [ebp - 4], esi
mov eax, dword [0x1002f024]
cmp eax, ebx
je 0x100268d8
test byte [eax + 0x1c], 2
je 0x100268d8
cmp byte [eax + 0x19], 4
jb 0x100268d8
push dword [ebp - 0x1c]
mov edx, 0x100032fc
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x41
pop ecx
call fcn.10003c37
mov ebx, esi
mov esi, dword [ebp - 0x14]
cmp dword [ebp - 0x1c], ebx
jbe 0x100269b9
test edi, edi
jne 0x100269b9
mov esi, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
push esi
mov dword [ebp - 0x20], esi
call fcn.1000912b
push esi
lea ecx, [ebp - 0x14]
mov edi, eax
call fcn.10009158
lea eax, [ebp - 0x30]
push eax
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x24]
push edi
push ebx
push dword [eax]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
mov edi, eax
mov eax, dword [0x1002f024]
cmp eax, 0x1002f024
je 0x10026950
test byte [eax + 0x1c], 2
je 0x10026950
cmp byte [eax + 0x19], 4
jb 0x10026950
push edi
push dword [eax + 0x14]
mov edx, 0x100032fc
push dword [eax + 0x10]
push 0x42
pop ecx
call fcn.10003c37
mov esi, dword [ebp - 0x14]
mov eax, edi
neg eax
sbb eax, eax
not eax
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
jne 0x1002696a
mov ecx, esi
call fcn.100091fe
push eax
lea ecx, [ebp - 0x14]
call fcn.10009158
test edi, edi
jne 0x100269af
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x14]
push eax
call fcn.10022b7f
mov eax, dword [0x1002f024]
cmp eax, 0x1002f024
je 0x100269af
test byte [eax + 0x1c], 2
je 0x100269af
cmp byte [eax + 0x19], 4
jb 0x100269af
push esi
push dword [eax + 0x14]
mov edx, 0x100032fc
push dword [eax + 0x10]
push 0x43
pop ecx
call fcn.10006c7a
inc ebx
cmp ebx, dword [ebp - 0x1c]
jb 0x100268e6
lea ecx, [esi - 0x10]
call fcn.1000947c
mov edx, dword [0x1002f024]
mov ebx, 0x1002f024
cmp edx, ebx
je 0x100269fe
test byte [edx + 0x1c], 1
je 0x100269fe
movzx ecx, byte [edx + 0x19]
mov eax, edi
neg eax
sbb eax, eax
and eax, 0xfffffffd
add eax, 5
cmp ecx, eax
jb 0x100269fe
push edi
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, 0x100032fc
push 0x44
pop ecx
call fcn.10003c37
mov eax, edi
call fcn.1002ac96
ret