Function at 0x500820
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a0
mov eax, dword [0x62a040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x118
lea eax, [ebp - 0x19c]
push 0
push eax
call fcn.0057e450
add esp, 0xc
mov dword [ebp - 0x1a0], 0x11c
lea eax, [ebp - 0x1a0]
push eax
call dword [sym.imp.ntdll.dll_RtlGetVersion]
test eax, eax
jns 0x500879
mov dword [0x62abb0], 0
jmp 0x500cfa
mov eax, dword [ebp - 0x19c]
mov ecx, 0x2e
push 0
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x198]
push 0x50
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x194]
push 0x62ab60
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x80]
push 5
push eax
mov dword [ebp - 0x80], 8
mov dword [ebp - 0x68], 0
mov word [ebp - 0x58], cx
mov dword [ebp - 0x50], 8
mov dword [ebp - 0x38], 0
mov word [ebp - 0x28], cx
mov dword [ebp - 0x20], 8
call sym.SystemInformer.exe_PhFormatToBuffer
mov eax, dword [ebp - 0x198]
lea esi, [ebp - 0x1a0]
mov ecx, 0x47
mov edi, 0x630f18
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x19c]
cmp ecx, 6
jne 0x50090b
jmp 0x500900
cmp eax, 1
jb 0x50086a
jmp 0x500917
jb 0x50086a
jne 0x500997
cmp eax, 1
jne 0x500941
mov dword [0x62abb0], 0x3d
mov dword [0x62abb4], 0x60a44c
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057c26f
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x50096a
mov dword [0x62abb0], 0x3e
mov dword [0x62abb4], 0x60a438
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057c26f
mov esp, ebp
pop ebp
ret
cmp eax, 3
jne 0x500cf0
mov dword [0x62abb0], 0x3f
mov dword [0x62abb4], 0x60a420
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057c26f
mov esp, ebp
pop ebp
ret
jmp 0x5009a0
cmp ecx, 0xa
jne 0x500cf0
cmp dword [ebp - 0x198], 0
jne 0x500cf0
mov eax, dword ds:[ebp - 0x194]
cmp eax, 0x65f4
jbe 0x5009eb
mov eax, 0x601960
mov dword [0x62abb0], 0xffffffff
mov dword [0x62abb4], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057c26f
mov esp, ebp
pop ebp
ret
jb 0x500a11
mov eax, str.Windows_11_24H2
mov dword [0x62abb0], 0x75
mov dword [0x62abb4], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057c26f
mov esp, ebp
pop ebp
ret
cmp eax, 0x5867
jb 0x500a3c
mov eax, str.Windows_11_23H2
mov dword [0x62abb0], 0x74
mov dword [0x62abb4], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057c26f
mov esp, ebp
pop ebp
ret
lea esp, [esp]
cmp eax, 0x585d
jb 0x500a6b
mov eax, str.Windows_11_22H2
mov dword [0x62abb0], 0x73
mov dword [0x62abb4], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057c26f
mov esp, ebp
pop ebp
ret
cmp eax, 0x55f0
jb 0x500a96
mov eax, str.Windows_11
mov dword [0x62abb0], 0x72
mov dword [0x62abb4], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057c26f
mov esp, ebp
pop ebp
ret
cmp eax, 0x4a65
jb 0x500ac1
mov eax, str.Windows_10_22H2
mov dword [0x62abb0], 0x71
mov dword [0x62abb4], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057c26f
mov esp, ebp
pop ebp
ret
cmp eax, 0x4a64
jb 0x500aec
mov eax, str.Windows_10_21H2
mov dword [0x62abb0], 0x70
mov dword [0x62abb4], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057c26f
mov esp, ebp
pop ebp
ret
cmp eax, 0x4a63
jb 0x500b17
mov eax, str.Windows_10_21H1
mov dword [0x62abb0], 0x6f
mov dword [0x62abb4], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057c26f
mov esp, ebp
pop ebp
ret
cmp eax, 0x4a62
jb 0x500b42
mov eax, str.Windows_10_20H2
mov dword [0x62abb0], 0x6e
mov dword [0x62abb4], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057c26f
mov esp, ebp
pop ebp
ret
cmp eax, 0x4a61
jb 0x500b6d
mov eax, str.Windows_10_20H1
mov dword [0x62abb0], 0x6d
mov dword [0x62abb4], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057c26f
mov esp, ebp
pop ebp
ret
cmp eax, 0x47bb
jb 0x500b98
mov eax, str.Windows_10_19H2
mov dword [0x62abb0], 0x6c
mov dword [0x62abb4], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057c26f
mov esp, ebp
pop ebp
ret
cmp eax, 0x47ba
jb 0x500bc3
mov eax, str.Windows_10_19H1
mov dword [0x62abb0], 0x6b
mov dword [0x62abb4], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057c26f
mov esp, ebp
pop ebp
ret
cmp eax, 0x4563
jb 0x500bee
mov eax, str.Windows_10_RS5
mov dword [0x62abb0], 0x6a
mov dword [0x62abb4], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057c26f
mov esp, ebp
pop ebp
ret
cmp eax, 0x42ee
jb 0x500c19
mov eax, str.Windows_10_RS4
mov dword [0x62abb0], 0x69
mov dword [0x62abb4], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057c26f
mov esp, ebp
pop ebp
ret
lea esp, [esp]
cmp eax, 0x3fab
jb 0x500c4b
mov eax, str.Windows_10_RS3
mov dword [0x62abb0], 0x68
mov dword [0x62abb4], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057c26f
mov esp, ebp
pop ebp
ret
cmp eax, 0x3ad7
jb 0x500c76
mov eax, str.Windows_10_RS2
mov dword [0x62abb0], 0x67
mov dword [0x62abb4], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057c26f
mov esp, ebp
pop ebp
ret
cmp eax, 0x3839
jb 0x500ca1
mov eax, str.Windows_10_RS1
mov dword [0x62abb0], 0x66
mov dword [0x62abb4], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057c26f
mov esp, ebp
pop ebp
ret
cmp eax, 0x295a
jb 0x500ccc
mov eax, str.Windows_10_TH2
mov dword [0x62abb0], 0x65
mov dword [0x62abb4], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057c26f
mov esp, ebp
pop ebp
ret
mov eax, str.Windows_10
mov dword [0x62abb0], 0x64
mov dword [0x62abb4], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057c26f
mov esp, ebp
pop ebp
ret
mov dword [0x62abb0], 0xffffffff
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov dword [0x62abb4], 0x601960
pop esi
call fcn.0057c26f
mov esp, ebp
pop ebp
ret