Function at 0x502aa0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a0
mov eax, dword [0x62e040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x118
lea eax, [ebp - 0x19c]
push 0
push eax
call fcn.00582250
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 0x502af9
mov dword [0x62ebb0], 0
jmp 0x502f7a
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 0x62eb60
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, 0x634f28
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x19c]
cmp ecx, 6
jne 0x502b8b
jmp 0x502b80
cmp eax, 1
jb 0x502aea
jmp 0x502b97
jb 0x502aea
jne 0x502c17
cmp eax, 1
jne 0x502bc1
mov dword [0x62ebb0], 0x3d
mov dword [0x62ebb4], 0x60daf0
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005802ef
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x502bea
mov dword [0x62ebb0], 0x3e
mov dword [0x62ebb4], 0x60dadc
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005802ef
mov esp, ebp
pop ebp
ret
cmp eax, 3
jne 0x502f70
mov dword [0x62ebb0], 0x3f
mov dword [0x62ebb4], 0x60dac4
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005802ef
mov esp, ebp
pop ebp
ret
jmp 0x502c20
cmp ecx, 0xa
jne 0x502f70
cmp dword [ebp - 0x198], 0
jne 0x502f70
mov eax, dword ds:[ebp - 0x194]
cmp eax, 0x65f4
jbe 0x502c6b
mov eax, 0x604ec0
mov dword [0x62ebb0], 0xffffffff
mov dword [0x62ebb4], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005802ef
mov esp, ebp
pop ebp
ret
jb 0x502c91
mov eax, str.Windows_11_24H2
mov dword [0x62ebb0], 0x75
mov dword [0x62ebb4], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005802ef
mov esp, ebp
pop ebp
ret
cmp eax, 0x5867
jb 0x502cbc
mov eax, str.Windows_11_23H2
mov dword [0x62ebb0], 0x74
mov dword [0x62ebb4], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005802ef
mov esp, ebp
pop ebp
ret
lea esp, [esp]
cmp eax, 0x585d
jb 0x502ceb
mov eax, str.Windows_11_22H2
mov dword [0x62ebb0], 0x73
mov dword [0x62ebb4], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005802ef
mov esp, ebp
pop ebp
ret
cmp eax, 0x55f0
jb 0x502d16
mov eax, str.Windows_11
mov dword [0x62ebb0], 0x72
mov dword [0x62ebb4], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005802ef
mov esp, ebp
pop ebp
ret
cmp eax, 0x4a65
jb 0x502d41
mov eax, str.Windows_10_22H2
mov dword [0x62ebb0], 0x71
mov dword [0x62ebb4], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005802ef
mov esp, ebp
pop ebp
ret
cmp eax, 0x4a64
jb 0x502d6c
mov eax, str.Windows_10_21H2
mov dword [0x62ebb0], 0x70
mov dword [0x62ebb4], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005802ef
mov esp, ebp
pop ebp
ret
cmp eax, 0x4a63
jb 0x502d97
mov eax, str.Windows_10_21H1
mov dword [0x62ebb0], 0x6f
mov dword [0x62ebb4], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005802ef
mov esp, ebp
pop ebp
ret
cmp eax, 0x4a62
jb 0x502dc2
mov eax, str.Windows_10_20H2
mov dword [0x62ebb0], 0x6e
mov dword [0x62ebb4], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005802ef
mov esp, ebp
pop ebp
ret
cmp eax, 0x4a61
jb 0x502ded
mov eax, str.Windows_10_20H1
mov dword [0x62ebb0], 0x6d
mov dword [0x62ebb4], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005802ef
mov esp, ebp
pop ebp
ret
cmp eax, 0x47bb
jb 0x502e18
mov eax, str.Windows_10_19H2
mov dword [0x62ebb0], 0x6c
mov dword [0x62ebb4], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005802ef
mov esp, ebp
pop ebp
ret
cmp eax, 0x47ba
jb 0x502e43
mov eax, str.Windows_10_19H1
mov dword [0x62ebb0], 0x6b
mov dword [0x62ebb4], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005802ef
mov esp, ebp
pop ebp
ret
cmp eax, 0x4563
jb 0x502e6e
mov eax, str.Windows_10_RS5
mov dword [0x62ebb0], 0x6a
mov dword [0x62ebb4], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005802ef
mov esp, ebp
pop ebp
ret
cmp eax, 0x42ee
jb 0x502e99
mov eax, str.Windows_10_RS4
mov dword [0x62ebb0], 0x69
mov dword [0x62ebb4], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005802ef
mov esp, ebp
pop ebp
ret
lea esp, [esp]
cmp eax, 0x3fab
jb 0x502ecb
mov eax, str.Windows_10_RS3
mov dword [0x62ebb0], 0x68
mov dword [0x62ebb4], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005802ef
mov esp, ebp
pop ebp
ret
cmp eax, 0x3ad7
jb 0x502ef6
mov eax, str.Windows_10_RS2
mov dword [0x62ebb0], 0x67
mov dword [0x62ebb4], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005802ef
mov esp, ebp
pop ebp
ret
cmp eax, 0x3839
jb 0x502f21
mov eax, str.Windows_10_RS1
mov dword [0x62ebb0], 0x66
mov dword [0x62ebb4], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005802ef
mov esp, ebp
pop ebp
ret
cmp eax, 0x295a
jb 0x502f4c
mov eax, str.Windows_10_TH2
mov dword [0x62ebb0], 0x65
mov dword [0x62ebb4], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005802ef
mov esp, ebp
pop ebp
ret
mov eax, str.Windows_10
mov dword [0x62ebb0], 0x64
mov dword [0x62ebb4], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005802ef
mov esp, ebp
pop ebp
ret
mov dword [0x62ebb0], 0xffffffff
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov dword [0x62ebb4], 0x604ec0
pop esi
call fcn.005802ef
mov esp, ebp
pop ebp
ret