Function at 0x1000dd26
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x24
mov eax, 0x100125e1
call fcn.10011e79
mov dword [ebp - 0x28], edx
mov ebx, ecx
mov dword [ebp - 0x24], ebx
mov eax, dword [0x10014024]
cmp eax, 0x10014024
je 0x1000dd65
test byte [eax + 0x1c], 1
je 0x1000dd65
cmp byte [eax + 0x19], 5
jb 0x1000dd65
push dword [eax + 0x14]
mov edx, 0x10002270
push dword [eax + 0x10]
push 0x3f
pop ecx
call fcn.10002ea3
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.ADVAPI32.dll_RegQueryInfoKeyW]
mov edi, eax
mov edx, dword [0x10014024]
mov ebx, 0x10014024
cmp edx, ebx
je 0x1000ddbd
test byte [edx + 0x1c], 2
je 0x1000ddbd
cmp byte [edx + 0x19], 4
jb 0x1000ddbd
push edi
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, 0x10002270
push 0x40
pop ecx
call fcn.10002ec1
mov edx, dword [0x10014024]
inc dword [ebp - 0x18]
test edi, edi
jne 0x1000def7
push 0x10014158
lea ecx, [ebp - 0x14]
call fcn.1000b324
mov dword [ebp - 4], esi
mov eax, dword [0x10014024]
cmp eax, ebx
je 0x1000de03
test byte [eax + 0x1c], 2
je 0x1000de03
cmp byte [eax + 0x19], 4
jb 0x1000de03
push dword [ebp - 0x1c]
mov edx, 0x10002270
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x41
pop ecx
call fcn.10002ec1
mov ebx, esi
mov esi, dword [ebp - 0x14]
cmp dword [ebp - 0x1c], ebx
jbe 0x1000dee4
test edi, edi
jne 0x1000dee4
mov esi, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
push esi
mov dword [ebp - 0x20], esi
call fcn.1000b21b
push esi
lea ecx, [ebp - 0x14]
mov edi, eax
call fcn.1000b248
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.ADVAPI32.dll_RegEnumKeyExW]
mov edi, eax
mov eax, dword [0x10014024]
cmp eax, 0x10014024
je 0x1000de7b
test byte [eax + 0x1c], 2
je 0x1000de7b
cmp byte [eax + 0x19], 4
jb 0x1000de7b
push edi
push dword [eax + 0x14]
mov edx, 0x10002270
push dword [eax + 0x10]
push 0x42
pop ecx
call fcn.10002ec1
mov esi, dword [ebp - 0x14]
mov eax, edi
neg eax
sbb eax, eax
not eax
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
jne 0x1000de95
mov ecx, esi
call fcn.1000b2ee
push eax
lea ecx, [ebp - 0x14]
call fcn.1000b248
test edi, edi
jne 0x1000deda
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x14]
push eax
call fcn.1000d404
mov eax, dword [0x10014024]
cmp eax, 0x10014024
je 0x1000deda
test byte [eax + 0x1c], 2
je 0x1000deda
cmp byte [eax + 0x19], 4
jb 0x1000deda
push esi
push dword [eax + 0x14]
mov edx, 0x10002270
push dword [eax + 0x10]
push 0x43
pop ecx
call fcn.10003c21
inc ebx
cmp ebx, dword [ebp - 0x1c]
jb 0x1000de11
lea ecx, [esi - 0x10]
call fcn.1000b376
mov edx, dword [0x10014024]
mov ebx, 0x10014024
cmp edx, ebx
je 0x1000df29
test byte [edx + 0x1c], 1
je 0x1000df29
movzx ecx, byte [edx + 0x19]
mov eax, edi
neg eax
sbb eax, eax
and eax, 0xfffffffd
add eax, 5
cmp ecx, eax
jb 0x1000df29
push edi
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, 0x10002270
push 0x44
pop ecx
call fcn.10002ec1
mov eax, edi
call fcn.10011e47
ret