Function at 0x5abe20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x1a0
mov ebx, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [0x603024]
xor ecx, ebp
mov dword [esp + 0x198], ecx
mov dword [ebx + 0x1c], eax
lea esi, [esp + 0x64]
xor eax, eax
push 0x118
push eax
push esi
call fcn.005072d0
add esp, 0xc
mov dword [esi - 4], 0x11c
mov byte [esi + 0x116], 1
sub esp, 0x10
movdqa xmm0, xmmword [0x5f99c0]
movdqu xmmword [esp], xmm0
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
lea edi, [esp + 0x60]
push edx
push eax
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
mov dword [esp + 0xc], ebx
sete byte [ebx + 0x2c]
xor ecx, ecx
mov dword [esp + 0x5c], ecx
lea eax, [esp + 0x58]
mov dword [eax], 0xffffffff
push eax
push 1
mov dword [esp + 0x10], 0
push ecx
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x5abf33
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x80], xmm0
movdqa xmmword [esp + 0x70], xmm0
movdqa xmmword [esp + 0x60], xmm0
mov dword [esp + 0x90], 0xffffffff
lea esi, [esp + 0x188]
mov ecx, esi
push 0xc
push str.kernel32.dll
call fcn.004dfa40
push edi
push esi
call fcn.005abb40
add esp, 8
mov ebx, eax
mov ecx, esi
call fcn.004dfb00
test bl, bl
jne 0x5abf72
mov ecx, dword [esp + 0x198]
xor ecx, ebp
call fcn.00504b53
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov ebx, dword [esp + 0x58]
mov eax, dword [esp + 0xc]
add eax, 0x20
mov ecx, ebx
mov edx, str.CurrentMajorVersionNumber
push eax
call fcn.005ac380
add esp, 4
test al, al
jne 0x5ac20c
mov dword [esp + 8], 0
test ebx, ebx
je 0x5abecb
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x5abecb
xor edi, edi
dec edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov ebx, dword [esp + 0x7c]
xor eax, eax
mov dword [esp + 0x18c], eax
mov dword [esp + 0x188], eax
mov dword [esp + 0x190], eax
test bl, 1
je 0x5abfb2
lea ecx, [esp + 0x188]
push str.Debug_
call fcn.004ddc60
test bl, 4
je 0x5abfc8
lea ecx, [esp + 0x188]
push str.Patched_
call fcn.004ddc60
test bl, 2
je 0x5abfde
lea ecx, [esp + 0x188]
push str.Prerelease_
call fcn.004ddc60
test bl, 8
je 0x5abff4
lea ecx, [esp + 0x188]
push str.Private_
call fcn.004ddc60
test bl, 0x20
je 0x5ac00a
lea ecx, [esp + 0x188]
push str.Special_
call fcn.004ddc60
movzx eax, byte [esp + 0x193]
test al, al
jns 0x5ac01d
mov eax, dword [esp + 0x18c]
test eax, eax
jne 0x5ac07d
mov eax, dword [esp + 0x190]
mov dword [esp + 0x50], eax
movq xmm0, qword [esp + 0x188]
movq qword [esp + 0x48], xmm0
lea ebx, [esp + 0x188]
mov dword [ebx], edi
mov dword [ebx + 4], edi
mov dword [ebx + 8], edi
xor edi, dword [esp + 0x80]
test edi, 0x40004
mov eax, str.Windows_NT
mov edx, str.Unknown
cmove edx, eax
mov ecx, ebx
push edx
call fcn.00536450
cmp byte [esp + 8], 0
je 0x5ac0aa
mov eax, dword [esp + 0x5c]
mov edi, dword [esp + 0xc]
jmp 0x5ac0d6
dec eax
lea ebx, [esp + 0x194]
lea ecx, [esp + 0x48]
push ebx
push eax
push 0
push esi
call fcn.0044a470
cmp byte [ebx - 1], 0
jns 0x5ac03b
push dword [esp + 0x188]
call fcn.005039aa
add esp, 4
jmp 0x5ac03b
mov eax, dword [esp + 0x68]
mov ecx, eax
shr ecx, 0x10
mov edi, dword [esp + 0xc]
mov dword [edi + 0x20], ecx
mov ecx, 0xffff
and eax, ecx
mov dword [edi + 0x24], eax
mov eax, dword [esp + 0x6c]
mov edx, eax
shr edx, 0x10
mov dword [edi + 0x28], edx
and eax, ecx
mov dword [esp + 0x5c], eax
lea ecx, [esp + 0x3c]
push eax
push 0x5e2eb5
push ecx
call fcn.004e62b0
add esp, 0xc
lea esi, [edi + 0x10]
cmp byte [edi + 0x1b], 0
jns 0x5ac0fc
push dword [esi]
call fcn.005039aa
add esp, 4
mov eax, dword [esp + 0x44]
mov dword [esi + 8], eax
movsd xmm0, qword [esp + 0x3c]
movsd qword [esi], xmm0
movzx ecx, byte [esp + 0x53]
test cl, cl
jns 0x5ac11a
mov ecx, dword [esp + 0x4c]
mov dword [esp + 8], ecx
mov eax, 0x5df8e3
test ecx, ecx
jne 0x5ac2cf
cmp byte [esi + 0xb], 0
jns 0x5ac133
mov esi, dword [esi]
mov edx, dword [edi + 0x28]
mov ecx, dword [edi + 0x20]
mov edi, dword [edi + 0x24]
cmp byte [esp + 0x193], 0
jns 0x5ac14d
mov ebx, dword [esp + 0x188]
push eax
push esi
push edx
push edi
push ecx
push ebx
push str._s__u._u._u._s_s
lea eax, [esp + 0x58]
push eax
call fcn.004e62b0
add esp, 0x20
mov eax, dword [esp + 0xc]
lea esi, [eax + 4]
cmp byte [eax + 0xf], 0
jns 0x5ac17c
push dword [esi]
call fcn.005039aa
add esp, 4
mov eax, dword [esp + 0x44]
mov dword [esi + 8], eax
xor eax, eax
movq xmm0, qword [esp + 0x3c]
movq qword [esi], xmm0
mov byte [esp + 0x47], al
mov byte [esp + 0x3c], al
cmp dword [esp + 8], 0
je 0x5ac1d7
cmp byte [esp + 0x3b], 0
jns 0x5ac1b1
push dword [esp + 0x30]
call fcn.005039aa
add esp, 4
cmp byte [esp + 0x2b], 0
jns 0x5ac1c4
push dword [esp + 0x20]
call fcn.005039aa
add esp, 4
cmp byte [esp + 0x1f], 0
jns 0x5ac1d7
push dword [esp + 0x14]
call fcn.005039aa
add esp, 4
cmp byte [esp + 0x193], 0
jns 0x5ac1f0
push dword [esp + 0x188]
call fcn.005039aa
add esp, 4
cmp byte [esp + 0x53], 0
jns 0x5abf1b
push dword [esp + 0x48]
call fcn.005039aa
add esp, 4
jmp 0x5abf1b
mov eax, dword [esp + 0xc]
add eax, 0x24
mov ecx, dword [esp + 0x58]
mov edx, str.CurrentMinorVersionNumber
push eax
call fcn.005ac380
add esp, 4
test al, al
je 0x5abf56
mov eax, dword [esp + 0x58]
xor ecx, ecx
dec ecx
lea esi, [esp + 0x188]
mov dword [esi + 7], ecx
mov dword [esi + 4], ecx
mov dword [esi], ecx
lea edx, [esp + 0x48]
mov dword [edx], ecx
lea ecx, [esp + 0x3c]
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 0x5abf56
cmp dword [esp + 0x48], 1
jne 0x5abf56
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x3c]
mov byte [esp + eax + 0x188], 0
lea eax, [esp + 0x30]
mov dword [eax], 0xffffffff
mov ebx, edi
mov ecx, edi
push esi
call fcn.00536450
lea eax, [esp + 0x30]
push eax
push edi
call fcn.004a8750
add esp, 8
mov ebx, eax
cmp byte [esp + 0x6b], 0
jns 0x5ac2be
push dword [esp + 0x60]
call fcn.005039aa
add esp, 4
test bl, bl
jne 0x5ac352
mov ebx, dword [esp + 0x10]
jmp 0x5abf56
lea edi, [esp + 0x14]
mov ecx, edi
push 0x5e0930
call fcn.00536450
lea edx, [esp + 0x48]
movzx eax, byte [edx + 0xb]
test al, al
cmovs eax, dword [edx + 4]
cmovs edx, dword [edx]
mov ecx, edi
push eax
push edx
call fcn.004dd660
mov edx, dword [eax + 8]
lea ecx, [esp + 0x20]
mov dword [ecx + 8], edx
movsd xmm0, qword [eax]
movsd qword [ecx], xmm0
xor edi, edi
mov dword [eax], edi
mov dword [eax + 8], edi
mov dword [eax + 4], edi
push 0x5e084c
call fcn.004ddc60
mov ecx, dword [eax + 8]
mov dword [esp + 0x38], ecx
movsd xmm0, qword [eax]
movsd qword [esp + 0x30], xmm0
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax], edi
cmp byte [esp + 0x3b], 0
jns 0x5ac345
mov eax, dword [esp + 0x30]
jmp 0x5ac349
lea eax, [esp + 0x30]
mov edi, dword [esp + 0xc]
jmp 0x5ac12b
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0xc]
mov dword [ecx + 0x28], eax
mov ecx, dword [esp + 0x58]
lea eax, [esp + 0x5c]
mov edx, 0x5eddea
push eax
call fcn.005ac380
add esp, 4
mov dword [esp + 8], eax
mov ebx, dword [esp + 0x10]
jmp 0x5abf5e