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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
mov eax, dword [0x520078]
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 [0x527730], eax
mov eax, dword [ebp - 0x244]
mov dword [0x526be8], eax
mov eax, dword [ebp - 0x254]
mov dword [0x520a98], eax
mov eax, dword [ebp - 0x24c]
push 0x11c
mov dword [0x520aa8], eax
lea eax, [ebp - 0x120]
push 0
push eax
mov dword [0x520a9c], 0
call fcn.004ad200
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 0x45a7ae
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push esi
mov esi, dword [0x5276ec]
test esi, esi
jne 0x45a7dc
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 [0x5276ec], esi
test esi, esi
je 0x45a826
push 0x11c
lea eax, [ebp - 0x23c]
push 0
push eax
call fcn.004ad200
add esp, 0xc
mov dword [ebp - 0x23c], 0x11c
lea eax, [ebp - 0x23c]
mov ecx, esi
push eax
call dword [0x4e3310]
call esi
test eax, eax
jne 0x45a826
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
jne 0x45a9cc
mov ecx, dword [ebp - 0x11c]
mov eax, dword [ebp - 0x118]
mov dword [0x527734], 0xa
cmp ecx, 5
jb 0x45aa73
mov edx, 0xb
cmp ecx, 6
jb 0x45a94b
mov dword [0x527734], 0xd
cmp ecx, 7
jb 0x45a90d
mov dword [0x527734], 0x11
cmp ecx, 0xa
jb 0x45a95c
mov edx, dword [ebp - 0x114]
cmp edx, 0x44c0
jb 0x45a8a3
mov dword [0x527734], 0x17
jmp 0x45a95c
cmp edx, 0x4268
jb 0x45a8ba
mov dword [0x527734], 0x16
jmp 0x45a95c
cmp edx, 0x3e80
jb 0x45a8d1
mov dword [0x527734], 0x15
jmp 0x45a95c
cmp edx, 0x3a98
jb 0x45a8e5
mov dword [0x527734], 0x14
jmp 0x45a95c
cmp edx, 0x36b0
jb 0x45a8f9
mov dword [0x527734], 0x13
jmp 0x45a95c
cmp edx, 0x295a
jb 0x45a95c
mov dword [0x527734], 0x12
jmp 0x45a95c
cmp eax, 1
jb 0x45a95c
mov dword [0x527734], 0xe
cmp eax, 2
jb 0x45a95c
mov dword [0x527734], 0xf
cmp eax, 3
jb 0x45a95c
mov dword [0x527734], 0x10
cmp eax, 4
jb 0x45a95c
mov dword [0x527734], 0x11
jmp 0x45a95c
cmp eax, 1
mov esi, 0xc
cmovae edx, esi
mov dword [0x527734], edx
cmp ecx, 5
jne 0x45a9ae
cmp eax, 1
jne 0x45a97e
cmp word [ebp - 0xc], 2
jae 0x45a9b4
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049384c
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x45a99b
cmp word [ebp - 0xc], 1
jae 0x45a9b4
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049384c
mov esp, ebp
pop ebp
ret
ja 0x45a9b4
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049384c
mov esp, ebp
pop ebp
ret
jbe 0x45aa73
mov byte [0x527712], 1
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049384c
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x11c], 4
jne 0x45aa69
mov eax, dword [ebp - 0x118]
mov dword [0x527734], 1
test eax, eax
jne 0x45aa16
mov eax, 0x457
cmp word [ebp - 0x114], ax
jb 0x45aa73
mov dword [0x527734], 2
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049384c
mov esp, ebp
pop ebp
ret
cmp eax, 0x5a
jae 0x45aa4e
mov eax, 0x8ae
mov dword [0x527734], 3
cmp word [ebp - 0x114], ax
jb 0x45aa73
mov dword [0x527734], 4
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049384c
mov esp, ebp
pop ebp
ret
mov dword [0x527734], 5
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049384c
mov esp, ebp
pop ebp
ret
mov dword [0x527734], 0
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.0049384c
mov esp, ebp
pop ebp
ret