Function at 0x425ca0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bf780
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x4eb6b8]
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.00419690
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
push ecx
mov ecx, esi
call fcn.004237a0
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 0x425d17
sub eax, edx
sar eax, 1
push eax
mov eax, edi
call fcn.00416700
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.00416830
mov byte [ebp - 4], 4
mov edi, 8
cmp dword [ebp - 0x50], edi
jb 0x425d66
mov eax, dword [ebp - 0x64]
push eax
call fcn.0049ca60
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 0x425d87
mov edx, dword [ebp - 0x48]
push edx
call fcn.0049ca60
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 0x425d9e
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 0x425e63
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 0x425df6
mov esi, eax
jmp 0x425e03
mov esi, dword [ebp - 0x7c]
sub esi, 4
neg esi
sbb esi, esi
and esi, 0xd
cmp edi, ebx
je 0x425e13
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 0x425e68
mov edx, dword [ebp - 0x68]
and edx, 1
cmp dl, 1
jne 0x425e68
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], 8
jb 0x425e3a
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0049ca60
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 0x425e5f
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x74], ebx
xor al, al
jmp 0x425ea5
mov edi, dword [ebp - 0x74]
jmp 0x425e6d
mov esi, 7
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], 8
jb 0x425e82
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0049ca60
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 0x425ea3
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.0049ca6b
mov esp, ebp
pop ebp
ret