Function at 0x46b190
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ec468
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x677000]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0x11c
xor edi, edi
push edi
push 0x750b80
call fcn.005bb1c0
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
add esp, 0xc
mov dword [0x750b80], 0x11c
push 0x750b80
call esi
test eax, eax
jne 0x46b1fe
push 0x750b80
mov dword [0x750b80], 0x114
call esi
mov ecx, dword [0x750b88]
mov eax, dword [0x750b84]
mov dword [ebp - 0x44], ecx
movzx ecx, word [0x750c94]
mov dword [ebp - 0x48], ecx
movzx ecx, word [0x750c96]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [0x750b8c]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x6c], ecx
cmp eax, 5
jb 0x46b243
mov al, byte [0x750c9a]
cmp al, 3
je 0x46b23e
cmp al, 2
jne 0x46b243
mov edi, 1
push 8
xor eax, eax
push str.OS_MAJOR
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.00406400
lea esi, [ebx + 0xc]
mov ebx, dword [ebp - 0x68]
push ebx
lea eax, [ebp - 0x40]
push eax
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.0040a0f0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x2c], 8
jb 0x46b297
push dword [ebp - 0x40]
call fcn.0049500b
add esp, 4
push 8
xor eax, eax
push str.OS_MINOR
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.00406400
push dword [ebp - 0x44]
lea eax, [ebp - 0x40]
push eax
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.0040a0f0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x2c], 8
jb 0x46b2e7
push dword [ebp - 0x40]
call fcn.0049500b
add esp, 4
push 8
xor eax, eax
push str.OS_BUILD
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.00406400
push dword [ebp - 0x6c]
lea eax, [ebp - 0x40]
push eax
mov ecx, esi
mov dword [ebp - 4], 2
call fcn.0040a0f0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x2c], 8
jb 0x46b337
push dword [ebp - 0x40]
call fcn.0049500b
add esp, 4
push 8
xor eax, eax
push str.SP_MAJOR
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.00406400
push dword [ebp - 0x48]
lea eax, [ebp - 0x40]
push eax
mov ecx, esi
mov dword [ebp - 4], 3
call fcn.0040a0f0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x2c], 8
jb 0x46b387
push dword [ebp - 0x40]
call fcn.0049500b
add esp, 4
push 8
xor eax, eax
push str.SP_MINOR
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.00406400
push dword [ebp - 0x4c]
lea eax, [ebp - 0x40]
push eax
mov ecx, esi
mov dword [ebp - 4], 4
call fcn.0040a0f0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x2c], 8
jb 0x46b3d7
push dword [ebp - 0x40]
call fcn.0049500b
add esp, 4
push 8
xor eax, eax
push 0x6266d0
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.00406400
push edi
lea eax, [ebp - 0x40]
push eax
mov ecx, esi
mov dword [ebp - 4], 5
call fcn.0040a0f0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x2c], 8
jb 0x46b425
push dword [ebp - 0x40]
call fcn.0049500b
add esp, 4
push 3
xor eax, eax
push 0x63e53c
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], 0
mov word [ebp - 0x64], ax
call fcn.00406400
mov dword [ebp - 4], 6
push 0xc
xor eax, eax
push str.ARCHITECTURE
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.00406400
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x40]
push eax
mov ecx, esi
mov byte [ebp - 4], 7
call fcn.00409f70
cmp dword [ebp - 0x2c], 8
jb 0x46b496
push dword [ebp - 0x40]
call fcn.0049500b
add esp, 4
xor eax, eax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x50], 8
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
jb 0x46b4c2
push dword [ebp - 0x64]
call fcn.0049500b
add esp, 4
push 0xc
xor eax, eax
push str.ARCHITECTURE
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], 0
mov word [ebp - 0x64], ax
call fcn.00406400
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
mov dword [ebp - 4], 8
call fcn.00409910
cmp dword [ebp - 0x50], 8
jb 0x46b50c
push dword [ebp - 0x64]
call fcn.0049500b
add esp, 4
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push str.CInfoMgr::InitializeOSMacro__ARCHITECTURE___s
push 0xffffffffffffffff
push 0x1000
push 0x74e818
call fcn.005b8769
add esp, 0x14
push 0x74e818
call fcn.00418730
push dword [ebp - 0x4c]
push dword [ebp - 0x48]
push dword [ebp - 0x44]
push ebx
push str.CInfoMgr::InitializeOSMacro__OS_Version__Majar:_d__Minor:_d__SPMajar:_d__SPMinor:_d
push 0xffffffffffffffff
push 0x1000
push 0x74e818
call fcn.005b8769
add esp, 0x20
push 0x74e818
call fcn.00418730
cmp dword [ebp - 0x14], 8
jb 0x46b579
push dword [ebp - 0x28]
call fcn.0049500b
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b7f8f
mov esp, ebp
pop ebp
ret