Function at 0x10011490
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10021e2b
mov eax, dword fs:[0]
push eax
sub esp, 0x488
mov eax, dword [0x1002b024]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x458], eax
xor eax, eax
mov ebx, edx
push 0x3fe
mov edi, ecx
push eax
lea edx, [ebp - 0x41a]
xor ecx, ecx
push edx
mov dword [ebp - 0x484], ebx
mov dword [ebp - 0x460], eax
mov dword [ebp - 0x480], eax
mov dword [ebp - 0x464], eax
mov dword [ebp - 0x45c], eax
mov dword [ebp - 0x46c], eax
mov dword [ebp - 0x47c], eax
mov dword [ebp - 0x474], eax
mov dword [ebp - 0x478], eax
mov dword [ebp - 0x470], eax
mov word [ebp - 0x41c], cx
call fcn.100144d0
mov esi, dword [ebx + 0x10]
add esp, 0xc
cmp dword [ebx + 0xc], esi
jbe 0x10011537
call fcn.1001346d
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx]
mov dword [ebp - 0x494], eax
mov dword [ebp - 0x468], ecx
cmp ecx, dword [ebx + 0x10]
jbe 0x10011558
call fcn.1001346d
mov ecx, dword [ebp - 0x468]
mov edx, dword [ebp - 0x494]
mov eax, dword [ebx]
push esi
push edx
push ecx
push eax
lea eax, [ebp - 0x494]
push eax
call fcn.10011ea0
xor ebx, ebx
cmp dword [edi + 0x14], ebx
jne 0x1001157e
xor al, al
jmp 0x1001181b
mov eax, dword [ebp - 0x458]
cmp dword [eax + 0x20], ebx
je 0x10011577
mov esi, 8
mov dword [ebp - 4], ebx
cmp dword [eax + 0x24], esi
jb 0x1001159b
mov eax, dword [eax + 0x10]
jmp 0x1001159e
add eax, 0x10
push eax
lea ecx, [ebp - 0x41c]
push 0x200
push ecx
call fcn.1001302e
add esp, 0xc
cmp dword [edi + 0x18], esi
jb 0x100115bd
mov edi, dword [edi + 4]
jmp 0x100115c0
add edi, 4
push edi
lea edx, [ebp - 0x41c]
push 0x200
push edx
call fcn.10013205
add esp, 0xc
lea eax, [ebp - 0x460]
push eax
push 0x20019
push ebx
lea ecx, [ebp - 0x41c]
push ecx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x458], eax
cmp eax, ebx
je 0x10011619
push 0x10026b2c
lea edx, [ebp - 0x48c]
push edx
mov dword [ebp - 0x48c], 0xffffffff
call fcn.10014cdc
push ebx
push ebx
lea eax, [ebp - 0x45c]
push eax
mov eax, dword [ebp - 0x460]
lea ecx, [ebp - 0x464]
push ecx
lea edx, [ebp - 0x480]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov dword [ebp - 0x458], eax
cmp eax, ebx
je 0x10011668
push 0x10026b2c
lea ecx, [ebp - 0x488]
push ecx
mov dword [ebp - 0x488], 0xffffffff
call fcn.10014cdc
mov eax, dword [ebp - 0x464]
mov esi, dword [sym.imp.KERNEL32.dll_LocalAlloc]
add dword [ebp - 0x45c], 2
inc eax
lea edx, [eax + eax]
push edx
push 0x40
mov dword [ebp - 0x464], eax
call esi
mov edi, eax
mov eax, dword [ebp - 0x45c]
push eax
push 0x40
mov dword [ebp - 0x478], edi
call esi
mov esi, eax
mov dword [ebp - 0x470], esi
mov dword [ebp - 0x468], ebx
cmp ebx, dword [ebp - 0x480]
jae 0x100117eb
mov eax, dword [ebp - 0x464]
mov ecx, dword [ebp - 0x45c]
lea edx, [eax + eax]
push edx
push 0
push edi
mov dword [ebp - 0x46c], eax
mov dword [ebp - 0x47c], ecx
call fcn.100144d0
mov eax, dword [ebp - 0x45c]
add esp, 0xc
push eax
push 0
push esi
call fcn.100144d0
add esp, 0xc
lea ecx, [ebp - 0x47c]
push ecx
mov ecx, dword [ebp - 0x460]
push esi
lea edx, [ebp - 0x474]
push edx
push 0
lea eax, [ebp - 0x46c]
push eax
push edi
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
xor ecx, ecx
mov dword [ebp - 0x458], eax
cmp eax, ecx
jne 0x100117b8
cmp dword [ebp - 0x474], 1
jne 0x100117b8
cmp dword [ebp - 0x46c], ecx
je 0x100117b8
mov eax, 7
mov dword [ebp - 0x43c], eax
mov dword [ebp - 0x420], eax
xor edx, edx
xor eax, eax
mov dword [ebp - 0x440], ecx
mov word [ebp - 0x450], dx
mov dword [ebp - 0x424], ecx
mov word [ebp - 0x434], ax
lea ecx, [ebp - 0x454]
push ecx
mov eax, edi
mov byte [ebp - 4], 1
call fcn.10005800
lea edx, [ebp - 0x438]
push edx
mov eax, esi
call fcn.10005800
mov ebx, dword [ebp - 0x484]
lea eax, [ebp - 0x454]
push eax
call fcn.10011cc0
lea esi, [ebp - 0x454]
mov byte [ebp - 4], 0
call fcn.100126e0
mov ebx, dword [ebp - 0x468]
mov esi, dword [ebp - 0x470]
inc ebx
jmp 0x100116a5
xor ebx, ebx
test edi, edi
je 0x100117f8
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
test esi, esi
je 0x10011803
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x460]
test eax, eax
je 0x10011814
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test ebx, ebx
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.10012c7f
mov esp, ebp
pop ebp
ret 4