Function at 0x45bc00
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d61b8
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x65a000]
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 0x6fd788
call fcn.005a7690
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
add esp, 0xc
mov dword [0x6fd788], 0x11c
push 0x6fd788
call esi
test eax, eax
jne 0x45bc6e
push 0x6fd788
mov dword [0x6fd788], 0x114
call esi
mov ecx, dword [0x6fd790]
mov eax, dword [0x6fd78c]
mov dword [ebp - 0x44], ecx
movzx ecx, word [0x6fd89c]
mov dword [ebp - 0x48], ecx
movzx ecx, word [0x6fd89e]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [0x6fd794]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x6c], ecx
cmp eax, 5
jb 0x45bcb3
mov al, byte [0x6fd8a2]
cmp al, 3
je 0x45bcae
cmp al, 2
jne 0x45bcb3
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.004058d0
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.00407610
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x2c], 8
jb 0x45bd07
push dword [ebp - 0x40]
call fcn.0048166b
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.004058d0
push dword [ebp - 0x44]
lea eax, [ebp - 0x40]
push eax
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.00407610
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x2c], 8
jb 0x45bd57
push dword [ebp - 0x40]
call fcn.0048166b
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.004058d0
push dword [ebp - 0x6c]
lea eax, [ebp - 0x40]
push eax
mov ecx, esi
mov dword [ebp - 4], 2
call fcn.00407610
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x2c], 8
jb 0x45bda7
push dword [ebp - 0x40]
call fcn.0048166b
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.004058d0
push dword [ebp - 0x48]
lea eax, [ebp - 0x40]
push eax
mov ecx, esi
mov dword [ebp - 4], 3
call fcn.00407610
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x2c], 8
jb 0x45bdf7
push dword [ebp - 0x40]
call fcn.0048166b
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.004058d0
push dword [ebp - 0x4c]
lea eax, [ebp - 0x40]
push eax
mov ecx, esi
mov dword [ebp - 4], 4
call fcn.00407610
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x2c], 8
jb 0x45be47
push dword [ebp - 0x40]
call fcn.0048166b
add esp, 4
push 8
xor eax, eax
push 0x60f2a8
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.004058d0
push edi
lea eax, [ebp - 0x40]
push eax
mov ecx, esi
mov dword [ebp - 4], 5
call fcn.00407610
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x2c], 8
jb 0x45be95
push dword [ebp - 0x40]
call fcn.0048166b
add esp, 4
push 3
xor eax, eax
push 0x625150
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], 0
mov word [ebp - 0x64], ax
call fcn.004058d0
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.004058d0
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x40]
push eax
mov ecx, esi
mov byte [ebp - 4], 7
call fcn.00407490
cmp dword [ebp - 0x2c], 8
jb 0x45bf06
push dword [ebp - 0x40]
call fcn.0048166b
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 0x45bf32
push dword [ebp - 0x64]
call fcn.0048166b
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.004058d0
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
mov dword [ebp - 4], 8
call fcn.00406e30
cmp dword [ebp - 0x50], 8
jb 0x45bf7c
push dword [ebp - 0x64]
call fcn.0048166b
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 0x6fb428
call fcn.005a4e29
add esp, 0x14
push 0x6fb428
call fcn.00415fc0
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 0x6fb428
call fcn.005a4e29
add esp, 0x20
push 0x6fb428
call fcn.00415fc0
cmp dword [ebp - 0x14], 8
jb 0x45bfe9
push dword [ebp - 0x28]
call fcn.0048166b
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.005a4646
mov esp, ebp
pop ebp
ret