Function at 0x10014bab
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.1003c230
push 0xffffffffffffffff
push 0x1006ee4a
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10095dec]
xor eax, ebp
mov dword [ebp + 0x1000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x100c]
xor esi, esi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x14], esi
push 0x10074302
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], esi
call fcn.1000b23a
push 0x1007440c
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], esi
call fcn.1003dcfa
add esp, 0xc
test eax, eax
je 0x10014c51
cmp dword [ebp - 0x18], esi
je 0x10014c51
push dword [ebp - 0x18]
call fcn.1005e425
mov ecx, edi
mov dword [esp], str.2.0
call fcn.100010b1
mov ecx, dword [ebp - 0x10]
cmp ecx, esi
je 0x10014d95
jmp 0x10014d90
lea eax, [ebp - 0x14]
push eax
push 0x20019
push esi
push 0x10074438
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10014d6f
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp]
push eax
push esi
push dword [ebp - 0x14]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], 0x800
call edi
cmp eax, esi
jne 0x10014d6f
mov ebx, dword [ebp - 0x10]
lea eax, [ebp]
push str.1.9.0
push eax
call fcn.1005e425
pop ecx
pop ecx
test eax, eax
js 0x10014d47
push ecx
mov ecx, dword [ebp + 0x1010]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [ebp + 0x1010]
mov dword [ebp - 0x30], esp
cmp eax, esi
je 0x10014cda
add eax, 8
push eax
call dword [sym.imp.kernel32.dll_InterlockedIncrement]
push ecx
lea eax, [ebp]
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
mov byte [ebp - 4], 2
call fcn.100010b1
mov byte [ebp - 4], 1
call fcn.1005e425
pop ecx
pop ecx
cmp eax, esi
je 0x10014d47
cmp ebx, esi
je 0x10014d04
mov ecx, dword [ebx]
jmp 0x10014d06
xor ecx, ecx
lea eax, [ebp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10014d2f
cmp dx, si
je 0x10014d2b
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10014d2f
add eax, 4
add ecx, 4
cmp dx, si
jne 0x10014d09
xor eax, eax
jmp 0x10014d34
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
jle 0x10014d47
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.100012bc
mov ebx, dword [ebp - 0x10]
inc dword [ebp - 0x1c]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp]
push eax
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x800
push dword [ebp - 0x14]
call edi
test eax, eax
je 0x10014ca0
jmp 0x10014d72
mov ebx, dword [ebp - 0x10]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp - 0x24]
mov dword [edi], ebx
cmp ebx, esi
je 0x10014d95
lea eax, [ebx + 8]
push eax
call dword [sym.imp.kernel32.dll_InterlockedIncrement]
mov ecx, ebx
call fcn.10001238
mov ecx, dword [ebp + 0x1010]
cmp ecx, esi
je 0x10014da4
call fcn.10001238
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1000]
xor ecx, ebp
call fcn.1003c09c
add ebp, 0x1004
leave
ret