Function at 0x10025d60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bfb00
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x100eb6ac]
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 edi, ecx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 4], ebx
xor eax, eax
mov word [ebp - 0x48], ax
push 0x37
mov eax, str.SoftwareMicrosoftWindowsCurrentVersionExtSettings_
lea esi, [ebp - 0x48]
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
call fcn.10019760
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
push ecx
mov ecx, esi
call fcn.10023870
add esp, 4
mov ecx, eax
mov byte [ebp - 4], 2
mov eax, edi
lea edx, [eax + 2]
mov si, word [eax]
add eax, 2
cmp si, bx
jne 0x10025dd7
sub eax, edx
sar eax, 1
push eax
mov eax, edi
call fcn.10016590
push ebx
xor edx, edx
push eax
mov esi, 7
or eax, 0xffffffff
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
call fcn.100166c0
mov byte [ebp - 4], 4
mov edi, 8
cmp dword [ebp - 0x50], edi
jb 0x10025e26
mov eax, dword [ebp - 0x64]
push eax
call fcn.1009c0c0
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], cx
mov byte [ebp - 4], 5
cmp dword [ebp - 0x34], edi
jb 0x10025e47
mov edx, dword [ebp - 0x48]
push edx
call fcn.1009c0c0
add esp, 4
xor eax, eax
mov word [ebp - 0x48], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
cmp dword [ebp - 0x18], edi
jae 0x10025e5e
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x68]
push ecx
push 0x20019
push ebx
push eax
push SysReAllocString
mov dword [ebp - 0x68], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x10025f23
mov edi, dword [ebp - 0x68]
lea edx, [ebp - 0x78]
push edx
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x7c]
push ecx
push ebx
mov dword [ebp - 0x74], edi
push str.Flags
mov dword [ebp - 0x70], ebx
push edi
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x78], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
je 0x10025eb6
mov esi, eax
jmp 0x10025ec3
mov esi, dword [ebp - 0x7c]
sub esi, 4
neg esi
sbb esi, esi
and esi, 0xd
cmp edi, ebx
je 0x10025ed3
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x74], ebx
mov edi, ebx
mov dword [ebp - 0x70], ebx
cmp esi, ebx
jne 0x10025f28
mov edx, dword [ebp - 0x68]
and edx, 1
cmp dl, 1
jne 0x10025f28
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], 8
jb 0x10025efa
mov eax, dword [ebp - 0x2c]
push eax
call fcn.1009c0c0
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 edi, ebx
je 0x10025f1f
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x74], ebx
xor al, al
jmp 0x10025f65
mov edi, dword [ebp - 0x74]
jmp 0x10025f2d
mov esi, 7
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], 8
jb 0x10025f42
mov edx, dword [ebp - 0x2c]
push edx
call fcn.1009c0c0
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], 0xffffffff
cmp edi, ebx
je 0x10025f63
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x74], ebx
mov al, 1
mov dword [ebp - 0x70], 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.1009c0cb
mov esp, ebp
pop ebp
ret