Function at 0x4fbe2c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x17c
mov edi, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [0x5a8564]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
mov dword [edi + 0x1c], eax
lea esi, [ebp - 0x128]
xor ebx, ebx
push 0x118
push ebx
push esi
call fcn.00536680
add esp, 0xc
mov dword [esi - 4], 0x11c
mov byte [esi + 0x116], 1
mov esi, edi
sub esp, 0x10
movdqa xmm0, xmmword [0x579290]
movdqu xmmword [esp], xmm0
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
lea edi, [ebp - 0x12c]
push edx
push eax
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
sete byte [esi + 0x2c]
mov dword [ebp - 0x148], ebx
lea eax, [ebp - 0x14c]
mov dword [eax], 0xffffffff
push eax
push 1
push ebx
push 0x5792fc
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4fc011
mov dword [ebp - 0x13c], 0xffffffff
mov dword [ebp - 0x144], 0x5794d4
mov ecx, dword [ebp - 0x14c]
mov dword [ebp - 0x140], ecx
mov byte [ebp - 0x13c], 0
lea eax, [esi + 0x20]
mov edx, str.CurrentMajorVersionNumber
push eax
call fcn.004fc3f4
add esp, 4
test al, al
je 0x4fbffa
lea eax, [esi + 0x24]
mov ecx, dword [ebp - 0x14c]
mov edx, str.CurrentMinorVersionNumber
push eax
call fcn.004fc3f4
add esp, 4
test al, al
je 0x4fbffa
mov dword [ebp - 0x180], esi
mov eax, dword [ebp - 0x14c]
xor ecx, ecx
dec ecx
lea esi, [ebp - 0x138]
mov dword [esi + 7], ecx
mov dword [esi + 4], ecx
mov dword [esi], ecx
lea edx, [ebp - 0x158]
mov dword [edx], ecx
lea ecx, [ebp - 0x164]
mov dword [ecx], 0xa
push ecx
push esi
push edx
push 0
push str.CurrentBuildNumber
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4fbffe
cmp dword [ebp - 0x158], 1
jne 0x4fbffe
mov eax, dword [ebp - 0x164]
mov byte [ebp + eax - 0x138], 0
lea ebx, [ebp - 0x170]
mov dword [ebx], 0xffffffff
mov ecx, edi
push esi
mov esi, edi
call fcn.004029c0
push ebx
push edi
call fcn.004925c0
add esp, 8
mov ebx, eax
cmp byte [ebp - 0x121], 0
jns 0x4fbfc9
push dword [ebp - 0x12c]
call fcn.005327b0
add esp, 4
test bl, bl
je 0x4fbffe
mov eax, dword [ebp - 0x170]
mov esi, dword [ebp - 0x180]
mov dword [esi + 0x28], eax
mov ecx, dword [ebp - 0x14c]
lea eax, [ebp - 0x148]
mov edx, 0x5673b8
push eax
call fcn.004fc3f4
add esp, 4
mov ebx, eax
jmp 0x4fc006
xor ebx, ebx
jmp 0x4fc006
xor ebx, ebx
mov esi, dword [ebp - 0x180]
lea ecx, [ebp - 0x144]
call fcn.004fc452
mov dword [ebp - 0x188], ebx
pcmpeqd xmm0, xmm0
movdqu xmmword [ebp - 0x10c], xmm0
movdqu xmmword [ebp - 0x11c], xmm0
movdqu xmmword [ebp - 0x12c], xmm0
mov dword [ebp - 0xfc], 0xffffffff
lea ebx, [ebp - 0x144]
mov ecx, ebx
push 0xc
push 0x5793d2
call fcn.00452ad0
push edi
mov edi, ebx
push ebx
call fcn.004fbb54
add esp, 8
mov ebx, eax
mov ecx, edi
call fcn.00452ba0
test bl, bl
je 0x4fc3dd
mov dword [ebp - 0x180], esi
xor esi, esi
dec esi
mov dword [ebp - 0x138], esi
mov dword [ebp - 0x134], esi
mov dword [ebp - 0x130], esi
mov ebx, dword [ebp - 0x110]
xor eax, eax
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x13c], eax
test bl, 1
je 0x4fc0ba
lea ecx, [ebp - 0x144]
push 6
push str.Debug_
call fcn.00428770
test bl, 4
je 0x4fc0d1
lea ecx, [ebp - 0x144]
push 8
push str.Patched_
call fcn.00428770
test bl, 2
je 0x4fc0e8
lea ecx, [ebp - 0x144]
push 0xb
push str.Prerelease_
call fcn.00428770
test bl, 8
je 0x4fc0ff
lea ecx, [ebp - 0x144]
push 8
push str.Private_
call fcn.00428770
test bl, 0x20
je 0x4fc116
lea ecx, [ebp - 0x144]
push 8
push str.Special_
call fcn.00428770
movzx eax, byte [ebp - 0x139]
test al, al
mov ebx, dword [ebp - 0x188]
jns 0x4fc12d
mov eax, dword [ebp - 0x140]
test eax, eax
je 0x4fc161
dec eax
lea edx, [ebp - 0x158]
lea ecx, [ebp - 0x138]
push edx
push eax
push 0
push edi
call fcn.004289c0
cmp byte [ebp - 0x139], 0
jns 0x4fc17d
push dword [ebp - 0x144]
call fcn.005327b0
add esp, 4
jmp 0x4fc17d
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x130], eax
movq xmm0, qword [ebp - 0x144]
movq qword [ebp - 0x138], xmm0
lea edi, [ebp - 0x144]
mov dword [edi], esi
mov dword [edi + 4], esi
mov dword [edi + 8], esi
xor esi, dword [ebp - 0x10c]
test esi, 0x40004
mov eax, str.Windows_NT
mov edx, str.Unknown
cmove edx, eax
mov ecx, edi
push edx
call fcn.004029c0
test bl, bl
je 0x4fc1be
mov eax, dword [ebp - 0x148]
mov esi, dword [ebp - 0x180]
jmp 0x4fc1ec
mov eax, dword [ebp - 0x124]
mov ecx, eax
shr ecx, 0x10
mov esi, dword [ebp - 0x180]
mov dword [esi + 0x20], ecx
mov ecx, 0xffff
and eax, ecx
mov dword [esi + 0x24], eax
mov eax, dword [ebp - 0x120]
mov edx, eax
shr edx, 0x10
mov dword [esi + 0x28], edx
and eax, ecx
lea ecx, [ebp - 0x158]
push eax
push 0x56298d
push ecx
call fcn.00443150
add esp, 0xc
lea ebx, [esi + 0x10]
cmp byte [esi + 0x1b], 0
jns 0x4fc214
push dword [ebx]
call fcn.005327b0
add esp, 4
mov eax, dword [ebp - 0x150]
mov dword [ebx + 8], eax
movsd xmm0, qword [ebp - 0x158]
movsd qword [ebx], xmm0
movzx eax, byte [ebp - 0x12d]
test al, al
jns 0x4fc23a
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x188], eax
test eax, eax
je 0x4fc2ce
lea esi, [ebp - 0x17c]
mov ecx, esi
push 0x560df0
call fcn.004029c0
lea edx, [ebp - 0x138]
movzx eax, byte [edx + 0xb]
test al, al
cmovs eax, dword [edx + 4]
cmovs edx, dword [edx]
mov ecx, esi
push eax
push edx
call fcn.00428770
mov edx, dword [eax + 8]
lea ecx, [ebp - 0x170]
mov dword [ecx + 8], edx
movsd xmm0, qword [eax]
movsd qword [ecx], xmm0
xor esi, esi
mov dword [eax], esi
mov dword [eax + 8], esi
mov dword [eax + 4], esi
push 1
push 0x560b0c
call fcn.00428770
mov ecx, dword [eax + 8]
mov dword [ebp - 0x15c], ecx
movsd xmm0, qword [eax]
movsd qword [ebp - 0x164], xmm0
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov dword [eax], esi
cmp byte [ebp - 0x159], 0
jns 0x4fc2da
mov eax, dword [ebp - 0x164]
jmp 0x4fc2e0
mov dword [ebp - 0x184], 0x560a62
jmp 0x4fc2ec
lea eax, [ebp - 0x164]
mov dword [ebp - 0x184], eax
mov esi, dword [ebp - 0x180]
cmp byte [esi + 0x1b], 0
jns 0x4fc2f4
mov ebx, dword [ebx]
mov edx, dword [esi + 0x28]
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
cmp byte [ebp - 0x139], 0
jns 0x4fc30c
mov edi, dword [ebp - 0x144]
push dword [ebp - 0x184]
push ebx
push edx
push eax
push ecx
push edi
push str._s__u._u._u._s_s
lea eax, [ebp - 0x158]
push eax
call fcn.00443150
add esp, 0x20
lea edi, [esi + 4]
cmp byte [esi + 0xf], 0
jns 0x4fc33e
push dword [edi]
call fcn.005327b0
add esp, 4
mov eax, dword [ebp - 0x150]
mov dword [edi + 8], eax
xor eax, eax
movq xmm0, qword [ebp - 0x158]
movq qword [edi], xmm0
mov byte [ebp - 0x14d], al
mov byte [ebp - 0x158], al
cmp dword [ebp - 0x188], 0
je 0x4fc3af
cmp byte [ebp - 0x159], 0
jns 0x4fc381
push dword [ebp - 0x164]
call fcn.005327b0
add esp, 4
cmp byte [ebp - 0x165], 0
jns 0x4fc398
push dword [ebp - 0x170]
call fcn.005327b0
add esp, 4
cmp byte [ebp - 0x171], 0
jns 0x4fc3af
push dword [ebp - 0x17c]
call fcn.005327b0
add esp, 4
cmp byte [ebp - 0x139], 0
jns 0x4fc3c6
push dword [ebp - 0x144]
call fcn.005327b0
add esp, 4
cmp byte [ebp - 0x12d], 0
jns 0x4fc3dd
push dword [ebp - 0x138]
call fcn.005327b0
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005327f1
add esp, 0x17c
pop esi
pop edi
pop ebx
pop ebp
ret 4