Function at 0x452a60
Capabilities:
Check os version
Get memory capacity
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x1d0
mov ebx, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [0x542040]
xor ecx, ebp
mov dword [esp + 0x1c8], ecx
mov dword [ebx + 0x1c], eax
lea edi, [esp + 0xa4]
xor esi, esi
push 0x118
push esi
push edi
call fcn.004918a0
add esp, 0xc
mov dword [edi - 4], 0x11c
mov byte [edi + 0x116], 1
sub esp, 0x10
movdqa xmm0, xmmword [0x539bc0]
movdqu xmmword [esp], xmm0
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
lea edi, [esp + 0xa0]
push edx
push eax
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
sete byte [ebx + 0x2c]
mov dword [esp + 0x5c], esi
lea eax, [esp + 0x58]
mov dword [eax], 0xffffffff
push eax
push 1
mov dword [esp + 0x14], 0
push esi
mov esi, ebx
mov ebx, edi
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x45302e
pcmpeqd xmm0, xmm0
lea edi, [esp + 0x60]
movdqa xmmword [edi + 0x20], xmm0
movdqa xmmword [edi + 0x10], xmm0
movdqa xmmword [edi], xmm0
mov dword [edi + 0x30], 0xffffffff
mov ecx, ebx
push 0xc
push str.kernel32.dll
call fcn.0046eb70
push edi
push ebx
call fcn.004fff30
add esp, 8
mov ecx, ebx
mov ebx, eax
call fcn.0046ec60
test bl, bl
je 0x452ed6
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]
pxor xmm0, xmm0
movq qword [esp + 0xa0], xmm0
mov dword [esp + 0xa8], 0
test bl, 1
jne 0x452ccf
test bl, 4
jne 0x452ce7
test bl, 2
jne 0x452c9f
test bl, 8
jne 0x452c87
test bl, 0x20
jne 0x452cb7
movsx eax, byte [esp + 0xab]
test eax, eax
lea ebx, [esp + 0xa0]
jns 0x452bcb
mov eax, dword [esp + 0xa4]
test eax, eax
jne 0x452cff
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x50], eax
movq xmm0, qword [esp + 0xa0]
movq qword [esp + 0x48], xmm0
pxor xmm0, xmm0
movq qword [esp + 0xa0], xmm0
mov dword [esp + 0xa8], 0
cmp byte [esp + 0xab], 0
jns 0x452c1e
push dword [esp + 0xa0]
call fcn.0048d98d
add esp, 4
mov dword [esp + 0xa0], edi
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa8], edi
xor edi, dword [esp + 0x80]
test edi, 0x40004
je 0x452d17
lea eax, [esp + 0xa7]
mov byte [eax + 4], 7
mov ecx, str.Unknown
cmp ebx, ecx
seta dl
cmp eax, ecx
setbe cl
or cl, dl
je 0x4531ce
mov ecx, dword [0x527d94]
mov dword [esp + 0xa3], ecx
mov ecx, dword [str.Unknown]
mov dword [esp + 0xa0], ecx
jmp 0x452d60
lea ecx, [esp + 0xa0]
push 8
push str.Private_
call fcn.00461740
jmp 0x452ba8
lea ecx, [esp + 0xa0]
push 0xb
push str.Prerelease_
call fcn.00461740
jmp 0x452b9f
lea ecx, [esp + 0xa0]
push 8
push str.Special_
call fcn.00461740
jmp 0x452bb1
lea ecx, [esp + 0xa0]
push 6
push str.Debug_
call fcn.00461740
jmp 0x452b8d
lea ecx, [esp + 0xa0]
push 8
push str.Patched_
call fcn.00461740
jmp 0x452b96
dec eax
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x48]
push edx
push eax
push 0
push ebx
call fcn.004619c0
jmp 0x452c05
lea eax, [esp + 0xaa]
mov byte [eax + 1], 0xa
mov ecx, str.Windows_NT
lea edx, [esp + 0xa0]
cmp edx, ecx
seta dl
cmp eax, ecx
setbe cl
or cl, dl
je 0x4531ce
movzx ecx, word [0x530408]
mov word [esp + 0xa8], cx
movq xmm0, qword [str.Windows_NT]
movq qword [esp + 0xa0], xmm0
mov byte [eax], 0
cmp byte [esp + 0xc], 0
je 0x452d70
mov eax, dword [esp + 0x5c]
jmp 0x452d95
mov eax, dword [esp + 0x68]
mov ecx, eax
shr ecx, 0x10
mov dword [esi + 0x20], ecx
and eax, 0xffff
mov dword [esi + 0x24], eax
mov eax, dword [esp + 0x6c]
mov ecx, eax
shr ecx, 0x10
mov dword [esi + 0x28], ecx
and eax, 0xffff
lea ecx, [esp + 0x3c]
push eax
push 0x527d28
push ecx
call fcn.004672a0
add esp, 0xc
lea edi, [esi + 0x10]
cmp byte [esi + 0x1b], 0
jns 0x452dbb
push dword [edi]
call fcn.0048d98d
add esp, 4
mov eax, dword [esp + 0x44]
mov dword [edi + 8], eax
movq xmm0, qword [esp + 0x3c]
mov dword [esp + 0xc], edi
movq qword [edi], xmm0
movsx ecx, byte [esp + 0x53]
mov ebx, ecx
test ecx, ecx
jns 0x452ddf
mov ebx, dword [esp + 0x4c]
mov edi, 0x5256de
test ebx, ebx
mov dword [esp + 0x10], ebx
jne 0x452f83
cmp byte [esi + 0x1b], 0
jns 0x452e00
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov dword [esp + 0xc], eax
mov edx, dword [esi + 0x28]
mov ecx, dword [esi + 0x20]
mov ebx, dword [esi + 0x24]
cmp byte [esp + 0xab], 0
lea eax, [esp + 0xa0]
jns 0x452e21
mov eax, dword [esp + 0xa0]
push edi
push dword [esp + 0x10]
push edx
push ebx
push ecx
push eax
push str._s__u._u._u._s_s
lea eax, [esp + 0x58]
push eax
call fcn.004672a0
add esp, 0x20
lea edi, [esi + 4]
cmp byte [esi + 0xf], 0
jns 0x452e4f
push dword [edi]
call fcn.0048d98d
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 + 0x10], 0
je 0x452eaa
cmp byte [esp + 0x3b], 0
jns 0x452e84
push dword [esp + 0x30]
call fcn.0048d98d
add esp, 4
cmp byte [esp + 0x2b], 0
jns 0x452e97
push dword [esp + 0x20]
call fcn.0048d98d
add esp, 4
cmp byte [esp + 0x1f], 0
jns 0x452eaa
push dword [esp + 0x14]
call fcn.0048d98d
add esp, 4
cmp byte [esp + 0xab], 0
jns 0x452ec3
push dword [esp + 0xa0]
call fcn.0048d98d
add esp, 4
cmp byte [esp + 0x53], 0
jns 0x452ed6
push dword [esp + 0x48]
call fcn.0048d98d
add esp, 4
pxor xmm0, xmm0
movdqa xmmword [esp + 0xa0], xmm0
movdqa xmmword [esp + 0xd0], xmm0
movdqa xmmword [esp + 0xc0], xmm0
movdqa xmmword [esp + 0xb0], xmm0
mov dword [esp + 0xa0], 0x40
lea eax, [esp + 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x452f6b
mov eax, dword [esp + 0xa8]
cmp byte [esi + 0x34], 0
jne 0x452f2c
mov byte [esi + 0x34], 1
mov dword [esi + 0x30], eax
mov eax, dword [esp + 0xb0]
cmp byte [esi + 0x3c], 0
jne 0x452f40
mov byte [esi + 0x3c], 1
mov dword [esi + 0x38], eax
mov eax, dword [esp + 0xb8]
cmp byte [esi + 0x44], 0
jne 0x452f54
mov byte [esi + 0x44], 1
mov dword [esi + 0x40], eax
mov eax, dword [esp + 0xc0]
mov dword [esi + 0x48], eax
cmp byte [esi + 0x4c], 0
jne 0x452f6b
mov byte [esi + 0x4c], 1
mov ecx, dword [esp + 0x1c8]
xor ecx, ebp
call fcn.0048e2e5
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
lea eax, [esp + 0x16]
mov byte [eax + 9], 2
mov edx, 0x525d89
lea ebx, [esp + 0x14]
cmp ebx, edx
seta bl
cmp eax, edx
setbe al
or al, bl
je 0x4531ce
mov word [esp + 0x14], 0x2820
mov byte [esp + 0x16], 0
test cl, cl
js 0x452fbc
lea eax, [esp + 0x48]
jmp 0x452fc0
mov eax, dword [esp + 0x48]
mov ebx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ebx
push eax
call fcn.00461740
movsd xmm0, qword [eax]
lea ecx, [esp + 0x20]
movsd qword [ecx], xmm0
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
xor edi, edi
mov dword [eax + 8], edi
xorps xmm0, xmm0
movsd qword [eax], xmm0
push 1
push 0x525684
call fcn.00461740
movq xmm0, qword [eax]
movq qword [esp + 0x30], xmm0
mov ecx, dword [eax + 8]
mov dword [esp + 0x38], ecx
mov dword [eax + 8], edi
pxor xmm0, xmm0
movq qword [eax], xmm0
cmp byte [esp + 0x3b], 0
jns 0x453025
mov edi, dword [esp + 0x30]
jmp 0x452df0
lea edi, [esp + 0x30]
jmp 0x452df0
mov edi, dword [esp + 0x58]
lea eax, [esi + 0x20]
mov ecx, edi
mov edx, str.CurrentMajorVersionNumber
push eax
call fcn.005002a0
add esp, 4
test al, al
jne 0x453065
mov dword [esp + 0xc], 0
test edi, edi
je 0x452b13
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x452b13
lea eax, [esi + 0x24]
mov ecx, dword [esp + 0x58]
mov edx, str.CurrentMinorVersionNumber
push eax
call fcn.005002a0
add esp, 4
test al, al
je 0x453049
mov eax, dword [esp + 0x58]
mov dword [esp + 0xc], eax
xor ecx, ecx
dec ecx
lea eax, [esp + 0x60]
mov dword [eax + 7], ecx
mov dword [eax + 4], ecx
mov dword [eax], ecx
lea edx, [esp + 0x48]
mov dword [edx], ecx
lea ecx, [esp + 0x3c]
mov dword [ecx], 0xa
push ecx
push eax
push edx
push 0
push str.CurrentBuildNumber
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x453049
cmp dword [esp + 0x48], 1
jne 0x453049
mov eax, dword [esp + 0x3c]
mov byte [esp + eax + 0x60], 0
mov dword [esp + 0x30], 0xffffffff
lea eax, [esp + 0x60]
push eax
call fcn.004a7490
add esp, 4
cmp eax, 0x7ffffff8
jae 0x4531dd
mov ebx, eax
cmp eax, 0xa
mov dword [esp + 0x10], edi
jbe 0x453195
mov edi, ebx
or edi, 7
inc edi
push edi
call fcn.0048d95d
add esp, 4
mov dword [esp + 0xa0], eax
or edi, 0x80000000
mov dword [esp + 0xa8], edi
mov dword [esp + 0xa4], ebx
lea edi, [eax + ebx]
lea edx, [esp + 0x60]
cmp eax, edx
seta cl
cmp edi, edx
setbe dl
or dl, cl
je 0x4531ce
test ebx, ebx
je 0x453152
push ebx
lea ecx, [esp + 0x64]
push ecx
push eax
call fcn.00491320
add esp, 0xc
mov byte [edi], 0
lea eax, [esp + 0x30]
lea edi, [esp + 0xa0]
push eax
push edi
call fcn.0044ed10
add esp, 8
mov ebx, eax
cmp byte [edi + 0xb], 0
jns 0x453181
push dword [esp + 0xa0]
call fcn.0048d98d
add esp, 4
test bl, bl
mov edi, dword [esp + 0x10]
jne 0x4531a1
lea ebx, [esp + 0xa0]
jmp 0x453049
lea eax, [esp + 0xa0]
mov byte [eax + 0xb], bl
jmp 0x453126
mov eax, dword [esp + 0x30]
mov dword [esi + 0x28], eax
mov ecx, dword [esp + 0x58]
lea eax, [esp + 0x5c]
mov edx, 0x532fec
push eax
call fcn.005002a0
add esp, 4
mov dword [esp + 0xc], eax
lea ebx, [esp + 0xa0]
jmp 0x453051
push str....._third_partylibc_srcinclude__stringchar_traits.h:145:_assertion__std::__is_pointer_in_range___s1____s1____n____s2__failed:_char_traits::copy:_source_and_destination_ranges_overlap_n
push 0x524b41
call fcn.004bbec0
lea ecx, [esp + 0xa0]
call fcn.004bb270
int3