Function at 0x5aa8f0
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 edi, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [0x674014]
xor ecx, ebp
mov dword [esp + 0x198], ecx
mov dword [edi + 0x1c], eax
lea esi, [esp + 0x64]
xor ebx, ebx
push 0x118
push ebx
push esi
call fcn.005dfe70
add esp, 0xc
mov dword [esi - 4], 0x11c
mov byte [esi + 0x116], 1
mov esi, edi
sub esp, 0x10
movdqa xmm0, xmmword [0x636730]
movdqu xmmword [esp], xmm0
call dword [sym.imp.ntdll.dll_VerSetConditionMask]
lea edi, [esp + 0x60]
push edx
push eax
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
sete byte [esi + 0x2c]
mov dword [esp + 0x5c], ebx
lea eax, [esp + 0x58]
mov dword [eax], 0xffffffff
push eax
push 1
push ebx
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x5aaa98
mov edi, dword [esp + 0x58]
lea eax, [esi + 0x20]
mov ecx, edi
mov edx, str.CurrentMajorVersionNumber
push eax
call fcn.005aae2a
add esp, 4
test al, al
je 0x5aaa7f
lea eax, [esi + 0x24]
mov ecx, dword [esp + 0x58]
mov edx, str.CurrentMinorVersionNumber
push eax
call fcn.005aae2a
add esp, 4
test al, al
je 0x5aaa7f
mov dword [esp + 8], esi
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 0x5aaa83
cmp dword [esp + 0x48], 1
jne 0x5aaa83
mov eax, dword [esp + 0x3c]
mov byte [esp + eax + 0x188], 0
lea ebx, [esp + 0x30]
mov dword [ebx], 0xffffffff
lea ecx, [esp + 0x60]
push esi
mov esi, ecx
call fcn.0041452c
push ebx
push esi
call fcn.00584ca0
add esp, 8
mov ebx, eax
cmp byte [esp + 0x6b], 0
jns 0x5aaa56
push dword [esp + 0x60]
call fcn.005dc756
add esp, 4
test bl, bl
je 0x5aaa83
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 8]
mov dword [esi + 0x28], eax
mov ecx, dword [esp + 0x58]
lea eax, [esp + 0x5c]
mov edx, 0x6258fa
push eax
call fcn.005aae2a
add esp, 4
mov ebx, eax
jmp 0x5aaa89
xor ebx, ebx
jmp 0x5aaa89
xor ebx, ebx
mov esi, dword [esp + 8]
test edi, edi
je 0x5aaa94
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edi, [esp + 0x60]
mov dword [esp + 0xc], ebx
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x80], xmm0
movdqa xmmword [esp + 0x70], xmm0
movdqa xmmword [esp + 0x60], xmm0
mov dword [esp + 0x90], 0xffffffff
lea ebx, [esp + 0x188]
mov ecx, ebx
push 0xc
push 0x636816
call fcn.004b3860
push edi
mov edi, ebx
push ebx
call fcn.005aa614
add esp, 8
mov ebx, eax
mov ecx, edi
call fcn.004b3910
test bl, bl
je 0x5aae12
mov dword [esp + 8], esi
xor esi, esi
dec esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
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 0x5aab36
lea ecx, [esp + 0x188]
push str.Debug_
call fcn.004aae48
test bl, 4
je 0x5aab4c
lea ecx, [esp + 0x188]
push str.Patched_
call fcn.004aae48
test bl, 2
je 0x5aab62
lea ecx, [esp + 0x188]
push str.Prerelease_
call fcn.004aae48
test bl, 8
je 0x5aab78
lea ecx, [esp + 0x188]
push str.Private_
call fcn.004aae48
test bl, 0x20
je 0x5aab8e
lea ecx, [esp + 0x188]
push str.Special_
call fcn.004aae48
movzx eax, byte [esp + 0x193]
test al, al
jns 0x5aaba1
mov eax, dword [esp + 0x18c]
test eax, eax
je 0x5aabd2
dec eax
lea ebx, [esp + 0x194]
lea ecx, [esp + 0x48]
push ebx
push eax
push 0
push edi
call fcn.004aaad0
cmp byte [ebx - 1], 0
jns 0x5aabec
push dword [esp + 0x188]
call fcn.005dc756
add esp, 4
jmp 0x5aabec
mov eax, dword [esp + 0x190]
mov dword [esp + 0x50], eax
movq xmm0, qword [esp + 0x188]
movq qword [esp + 0x48], xmm0
lea edi, [esp + 0x188]
mov dword [edi], esi
mov dword [edi + 4], esi
mov dword [edi + 8], esi
xor esi, dword [esp + 0x80]
test esi, 0x40004
mov eax, str.Windows_NT
mov edx, str.Unknown
cmove edx, eax
mov ecx, edi
push edx
call fcn.0041452c
cmp byte [esp + 0xc], 0
mov dword [esp + 0x10], edi
je 0x5aac32
mov eax, dword [esp + 0x5c]
mov esi, dword [esp + 8]
jmp 0x5aac5e
mov eax, dword [esp + 0x68]
mov ecx, eax
shr ecx, 0x10
mov esi, dword [esp + 8]
mov dword [esi + 0x20], ecx
mov ecx, 0xffff
and eax, ecx
mov dword [esi + 0x24], eax
mov eax, dword [esp + 0x6c]
mov edx, eax
shr edx, 0x10
mov dword [esi + 0x28], edx
and eax, ecx
mov dword [esp + 0x5c], eax
lea ecx, [esp + 0x3c]
push eax
push 0x61b994
push ecx
call fcn.004c0cb0
add esp, 0xc
lea ebx, [esi + 0x10]
cmp byte [esi + 0x1b], 0
jns 0x5aac84
push dword [ebx]
call fcn.005dc756
add esp, 4
mov eax, dword [esp + 0x44]
mov dword [ebx + 8], eax
movsd xmm0, qword [esp + 0x3c]
movsd qword [ebx], xmm0
movzx eax, byte [esp + 0x53]
test al, al
jns 0x5aaca2
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xc], eax
test eax, eax
je 0x5aad20
lea esi, [esp + 0x14]
mov ecx, esi
push 0x61fa08
call fcn.0041452c
lea edx, [esp + 0x48]
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.004aa9b2
mov edx, dword [eax + 8]
lea ecx, [esp + 0x20]
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 0x61d8e6
call fcn.004aae48
mov ecx, dword [eax + 8]
mov dword [esp + 0x38], ecx
movsd xmm0, qword [eax]
movsd qword [esp + 0x30], xmm0
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov dword [eax], esi
cmp byte [esp + 0x3b], 0
js 0x5aad27
lea eax, [esp + 0x30]
jmp 0x5aad2b
mov eax, 0x61b8e2
jmp 0x5aad2f
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 8]
cmp byte [ebx + 0xb], 0
jns 0x5aad37
mov ebx, dword [ebx]
mov edx, dword [esi + 0x28]
mov ecx, dword [esi + 0x20]
mov edi, dword [esi + 0x24]
cmp byte [esp + 0x193], 0
jns 0x5aad5d
mov dword [esp + 8], eax
mov eax, dword [esp + 0x188]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 8]
push eax
push ebx
push edx
push edi
push ecx
push dword [esp + 0x24]
push str._s__u._u._u._s_s
lea eax, [esp + 0x58]
push eax
call fcn.004c0cb0
add esp, 0x20
lea edi, [esi + 4]
cmp byte [esi + 0xf], 0
jns 0x5aad8b
push dword [edi]
call fcn.005dc756
add esp, 4
mov eax, dword [esp + 0x44]
mov dword [edi + 8], eax
xor eax, eax
movq xmm0, qword [esp + 0x3c]
movq qword [edi], xmm0
mov byte [esp + 0x47], al
mov byte [esp + 0x3c], al
cmp dword [esp + 0xc], 0
je 0x5aade6
cmp byte [esp + 0x3b], 0
jns 0x5aadc0
push dword [esp + 0x30]
call fcn.005dc756
add esp, 4
cmp byte [esp + 0x2b], 0
jns 0x5aadd3
push dword [esp + 0x20]
call fcn.005dc756
add esp, 4
cmp byte [esp + 0x1f], 0
jns 0x5aade6
push dword [esp + 0x14]
call fcn.005dc756
add esp, 4
cmp byte [esp + 0x193], 0
jns 0x5aadff
push dword [esp + 0x188]
call fcn.005dc756
add esp, 4
cmp byte [esp + 0x53], 0
jns 0x5aae12
push dword [esp + 0x48]
call fcn.005dc756
add esp, 4
mov ecx, dword [esp + 0x198]
xor ecx, ebp
call fcn.005dd6f3
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4