Function at 0x502ec0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a0
mov eax, dword [0x62f040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x118
lea eax, [ebp - 0x19c]
push 0
push eax
call fcn.005826f0
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 0x502f19
mov dword [0x62fbb0], 0
jmp 0x50339a
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 0x62fb60
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, 0x635f28
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x19c]
cmp ecx, 6
jne 0x502fab
jmp 0x502fa0
cmp eax, 1
jb 0x502f0a
jmp 0x502fb7
jb 0x502f0a
jne 0x503037
cmp eax, 1
jne 0x502fe1
mov dword [0x62fbb0], 0x3d
mov dword [0x62fbb4], 0x60eb18
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058078f
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x50300a
mov dword [0x62fbb0], 0x3e
mov dword [0x62fbb4], 0x60eb04
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058078f
mov esp, ebp
pop ebp
ret
cmp eax, 3
jne 0x503390
mov dword [0x62fbb0], 0x3f
mov dword [0x62fbb4], 0x60eaec
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058078f
mov esp, ebp
pop ebp
ret
jmp 0x503040
cmp ecx, 0xa
jne 0x503390
cmp dword [ebp - 0x198], 0
jne 0x503390
mov eax, dword ds:[ebp - 0x194]
cmp eax, 0x65f4
jbe 0x50308b
mov eax, 0x605ec0
mov dword [0x62fbb0], 0xffffffff
mov dword [0x62fbb4], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058078f
mov esp, ebp
pop ebp
ret
jb 0x5030b1
mov eax, str.Windows_11_24H2
mov dword [0x62fbb0], 0x75
mov dword [0x62fbb4], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058078f
mov esp, ebp
pop ebp
ret
cmp eax, 0x5867
jb 0x5030dc
mov eax, str.Windows_11_23H2
mov dword [0x62fbb0], 0x74
mov dword [0x62fbb4], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058078f
mov esp, ebp
pop ebp
ret
lea esp, [esp]
cmp eax, 0x585d
jb 0x50310b
mov eax, str.Windows_11_22H2
mov dword [0x62fbb0], 0x73
mov dword [0x62fbb4], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058078f
mov esp, ebp
pop ebp
ret
cmp eax, 0x55f0
jb 0x503136
mov eax, str.Windows_11
mov dword [0x62fbb0], 0x72
mov dword [0x62fbb4], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058078f
mov esp, ebp
pop ebp
ret
cmp eax, 0x4a65
jb 0x503161
mov eax, str.Windows_10_22H2
mov dword [0x62fbb0], 0x71
mov dword [0x62fbb4], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058078f
mov esp, ebp
pop ebp
ret
cmp eax, 0x4a64
jb 0x50318c
mov eax, str.Windows_10_21H2
mov dword [0x62fbb0], 0x70
mov dword [0x62fbb4], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058078f
mov esp, ebp
pop ebp
ret
cmp eax, 0x4a63
jb 0x5031b7
mov eax, str.Windows_10_21H1
mov dword [0x62fbb0], 0x6f
mov dword [0x62fbb4], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058078f
mov esp, ebp
pop ebp
ret
cmp eax, 0x4a62
jb 0x5031e2
mov eax, str.Windows_10_20H2
mov dword [0x62fbb0], 0x6e
mov dword [0x62fbb4], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058078f
mov esp, ebp
pop ebp
ret
cmp eax, 0x4a61
jb 0x50320d
mov eax, str.Windows_10_20H1
mov dword [0x62fbb0], 0x6d
mov dword [0x62fbb4], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058078f
mov esp, ebp
pop ebp
ret
cmp eax, 0x47bb
jb 0x503238
mov eax, str.Windows_10_19H2
mov dword [0x62fbb0], 0x6c
mov dword [0x62fbb4], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058078f
mov esp, ebp
pop ebp
ret
cmp eax, 0x47ba
jb 0x503263
mov eax, str.Windows_10_19H1
mov dword [0x62fbb0], 0x6b
mov dword [0x62fbb4], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058078f
mov esp, ebp
pop ebp
ret
cmp eax, 0x4563
jb 0x50328e
mov eax, str.Windows_10_RS5
mov dword [0x62fbb0], 0x6a
mov dword [0x62fbb4], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058078f
mov esp, ebp
pop ebp
ret
cmp eax, 0x42ee
jb 0x5032b9
mov eax, str.Windows_10_RS4
mov dword [0x62fbb0], 0x69
mov dword [0x62fbb4], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058078f
mov esp, ebp
pop ebp
ret
lea esp, [esp]
cmp eax, 0x3fab
jb 0x5032eb
mov eax, str.Windows_10_RS3
mov dword [0x62fbb0], 0x68
mov dword [0x62fbb4], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058078f
mov esp, ebp
pop ebp
ret
cmp eax, 0x3ad7
jb 0x503316
mov eax, str.Windows_10_RS2
mov dword [0x62fbb0], 0x67
mov dword [0x62fbb4], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058078f
mov esp, ebp
pop ebp
ret
cmp eax, 0x3839
jb 0x503341
mov eax, str.Windows_10_RS1
mov dword [0x62fbb0], 0x66
mov dword [0x62fbb4], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058078f
mov esp, ebp
pop ebp
ret
cmp eax, 0x295a
jb 0x50336c
mov eax, str.Windows_10_TH2
mov dword [0x62fbb0], 0x65
mov dword [0x62fbb4], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058078f
mov esp, ebp
pop ebp
ret
mov eax, str.Windows_10
mov dword [0x62fbb0], 0x64
mov dword [0x62fbb4], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058078f
mov esp, ebp
pop ebp
ret
mov dword [0x62fbb0], 0xffffffff
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov dword [0x62fbb4], 0x605ec0
pop esi
call fcn.0058078f
mov esp, ebp
pop ebp
ret