Function at 0x45fc60
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
mov eax, dword [0x519100]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x25c]
mov dword [0x5208bc], eax
mov eax, dword [ebp - 0x244]
mov dword [0x51fa24], eax
mov eax, dword [ebp - 0x254]
mov dword [0x519bd0], eax
mov eax, dword [ebp - 0x24c]
push 0x118
mov dword [0x519be0], eax
lea eax, [ebp - 0x11c]
push 0
push eax
mov dword [0x519bd4], 0
call fcn.00486ef0
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x45fcfe
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push esi
mov esi, dword [0x5207f4]
test esi, esi
jne 0x45fd2c
push str.RtlGetVersion
push str.NTDLL.DLL
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov dword [0x5207f4], esi
test esi, esi
je 0x45fd76
push 0x118
lea eax, [ebp - 0x238]
push 0
push eax
call fcn.00486ef0
add esp, 0xc
mov dword [ebp - 0x23c], 0x11c
lea eax, [ebp - 0x23c]
mov ecx, esi
push eax
call dword [0x4cc2f8]
call esi
test eax, eax
jne 0x45fd76
push edi
mov ecx, 0x47
lea esi, [ebp - 0x23c]
lea edi, [ebp - 0x120]
rep movsd dword es:[edi], dword [esi]
pop edi
cmp dword [ebp - 0x110], 2
pop esi
jne 0x45ff5d
mov ecx, dword [ebp - 0x11c]
mov eax, 0xa
cmp ecx, 5
jb 0x45ffb2
mov eax, 0xb
cmp ecx, 6
jb 0x45ff4d
mov eax, 0xd
cmp ecx, 7
jb 0x45ff15
mov eax, 0x11
cmp ecx, 0xb
jae 0x45fdd5
cmp ecx, 0xa
jb 0x45ffb2
mov ecx, dword [ebp - 0x114]
cmp ecx, 0x5867
jb 0x45fddf
mov eax, 0x23
jmp 0x45ffb2
cmp ecx, 0x585d
jb 0x45fdf1
mov eax, 0x22
jmp 0x45ffb2
cmp ecx, 0x55f0
jb 0x45fe03
mov eax, 0x21
jmp 0x45ffb2
cmp ecx, 0x4a67
jb 0x45fe15
mov eax, 0x20
jmp 0x45ffb2
cmp ecx, 0x4a66
jb 0x45fe27
mov eax, 0x1f
jmp 0x45ffb2
cmp ecx, 0x4a65
jb 0x45fe39
mov eax, 0x1e
jmp 0x45ffb2
cmp ecx, 0x4a64
jb 0x45fe4b
mov eax, 0x1d
jmp 0x45ffb2
cmp ecx, 0x4a63
jb 0x45fe5d
mov eax, 0x1c
jmp 0x45ffb2
cmp ecx, 0x4a62
jb 0x45fe6f
mov eax, 0x1b
jmp 0x45ffb2
cmp ecx, 0x4a38
jb 0x45fe81
mov eax, 0x1a
jmp 0x45ffb2
cmp ecx, 0x47bb
jb 0x45fe93
mov eax, 0x19
jmp 0x45ffb2
cmp ecx, 0x4650
jb 0x45fea5
mov eax, 0x18
jmp 0x45ffb2
cmp ecx, 0x44c0
jb 0x45feb7
mov eax, 0x17
jmp 0x45ffb2
cmp ecx, 0x4268
jb 0x45fec9
mov eax, 0x16
jmp 0x45ffb2
cmp ecx, 0x3e80
jb 0x45fedb
mov eax, 0x15
jmp 0x45ffb2
cmp ecx, 0x3a98
jb 0x45feed
mov eax, 0x14
jmp 0x45ffb2
cmp ecx, 0x36b0
jb 0x45feff
mov eax, 0x13
jmp 0x45ffb2
cmp ecx, 0x295a
jb 0x45ffb2
mov eax, 0x12
jmp 0x45ffb2
mov ecx, dword [ebp - 0x118]
cmp ecx, 1
jb 0x45ffb2
mov eax, 0xe
cmp ecx, 2
jb 0x45ffb2
mov eax, 0xf
cmp ecx, 3
jb 0x45ffb2
mov eax, 0x10
cmp ecx, 4
jb 0x45ffb2
mov eax, 0x11
jmp 0x45ffb2
cmp dword [ebp - 0x118], 1
jb 0x45ffb2
mov eax, 0xc
jmp 0x45ffb2
cmp dword [ebp - 0x11c], 4
jne 0x45ffb0
mov ecx, dword [ebp - 0x118]
mov eax, 1
test ecx, ecx
jne 0x45ff8a
mov ecx, 0x457
cmp word [ebp - 0x114], cx
jb 0x45ffb2
mov eax, 2
jmp 0x45ffb2
cmp ecx, 0x5a
jae 0x45ffa9
mov ecx, 0x8ae
mov eax, 3
cmp word [ebp - 0x114], cx
jb 0x45ffb2
mov eax, 4
jmp 0x45ffb2
mov eax, 5
jmp 0x45ffb2
xor eax, eax
mov ecx, dword [ebp - 4]
mov dword [0x5208b8], eax
xor ecx, ebp
xor eax, eax
call fcn.0048471b
mov esp, ebp
pop ebp
ret