Function at 0x1000abf0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100dc2d0
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x1010e07c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 4], ebx
push 0x37
xor eax, eax
push str.SoftwareMicrosoftWindowsCurrentVersionExtSettings_
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
call fcn.10006a20
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x64]
push edx
call fcn.10008280
add esp, 8
mov ecx, eax
mov byte [ebp - 4], 2
mov edx, esi
lea edi, [edx + 2]
lea esp, [esp]
mov ax, word [edx]
add edx, 2
cmp ax, bx
jne 0x1000ac70
sub edx, edi
sar edx, 1
push edx
push esi
call fcn.1000cbb0
push 0xffffffffffffffff
xor ecx, ecx
push ebx
mov word [ebp - 0x2c], cx
mov esi, 7
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
call fcn.10005f30
mov byte [ebp - 4], 4
mov edi, 8
cmp dword [ebp - 0x50], edi
jb 0x1000acbd
mov edx, dword [ebp - 0x64]
push edx
call fcn.100b2678
add esp, 4
xor eax, eax
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], ax
mov byte [ebp - 4], 5
cmp dword [ebp - 0x34], edi
jb 0x1000acde
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.100b2678
add esp, 4
mov eax, dword [ebp - 0x2c]
xor edx, edx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], dx
cmp dword [ebp - 0x18], edi
jae 0x1000acf5
lea eax, [ebp - 0x2c]
push 0x20019
push eax
push SysReAllocString
lea ecx, [ebp - 0x70]
call fcn.10008480
mov esi, dword [ebp - 0x70]
test eax, eax
jne 0x1000adaf
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x74]
push ecx
lea edx, [ebp - 0x78]
push edx
push ebx
push str.Flags
push esi
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x7c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
je 0x1000ad3e
mov edi, eax
jmp 0x1000ad4b
mov edi, dword [ebp - 0x78]
sub edi, 4
neg edi
sbb edi, edi
and edi, 0xd
cmp esi, ebx
je 0x1000ad5b
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], ebx
cmp edi, ebx
jne 0x1000adaa
mov eax, dword [ebp - 0x74]
and eax, 1
cmp al, 1
jne 0x1000adaa
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], 8
jb 0x1000ad81
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.100b2678
add esp, 4
xor edx, edx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
mov dword [ebp - 4], 0xffffffff
cmp esi, ebx
je 0x1000ada6
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x70], ebx
xor al, al
jmp 0x1000adea
mov edi, 8
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], edi
jb 0x1000adc3
mov eax, dword [ebp - 0x2c]
push eax
call fcn.100b2678
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
mov dword [ebp - 4], 0xffffffff
cmp esi, ebx
je 0x1000ade8
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x70], ebx
mov al, 1
mov dword [ebp - 0x6c], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100b2b2c
mov esp, ebp
pop ebp
ret