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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x15c
mov eax, dword [0x615000]
xor eax, ebp
mov dword [ebp - 0x38], eax
push 0
push 1
push 0x63bdb8
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
jne 0x415190
call fcn.00414cf0
mov dword [ebp - 0x15c], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
push 0x64
push 0
call sub.NETAPI32.dll_NetWkstaGetInfo
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x414f00
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x10]
push edx
call sub.NETAPI32.dll_NetApiBufferFree
mov dword [ebp - 4], eax
jmp 0x414f19
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ERROR:_NetWkstaGetInfo_get_WKSTA_INFO_err_d_n
push 0x5f6bd8
call fcn.0040c050
add esp, 0xc
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov dword [ebp - 0x158], 0x11c
lea ecx, [ebp - 0x158]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0xc], 0
jne 0x414f73
cmp dword [ebp - 8], 0
jne 0x414f73
cmp dword [ebp - 0x154], 0
je 0x414f73
mov edx, dword [ebp - 0x154]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x150]
mov dword [ebp - 8], eax
push str.Fill_os_versions_by_GetVersionEx_n
push 0x5f6bec
call fcn.0040c050
add esp, 8
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
push str.Final_os_versions:_MajVer_d__MinVer_d_n
push 0x5f6c9c
call fcn.0040c050
add esp, 0x10
cmp dword [ebp - 0xc], 5
jne 0x414fba
cmp dword [ebp - 8], 0
jne 0x414fba
push str.__Judge_Os_version:_Win2000_n
push 0x5f6cec
call fcn.0040c050
add esp, 8
mov dword [0x63a63c], 1
jmp 0x415051
cmp dword [ebp - 0xc], 5
jne 0x414fe4
cmp dword [ebp - 8], 1
jne 0x414fe4
push str.__Judge_Os_version:_XP_x86_n
push 0x5f6d38
call fcn.0040c050
add esp, 8
mov dword [0x63a638], 1
jmp 0x415051
cmp dword [ebp - 0xc], 5
jne 0x415020
cmp dword [ebp - 8], 2
jne 0x415020
movzx eax, byte [ebp - 0x3e]
cmp eax, 1
jne 0x415020
movzx ecx, word [ebp - 0x34]
cmp ecx, 9
jne 0x415020
push str.__Judge_Os_version:_XP_x64_n
push 0x5f6d84
call fcn.0040c050
add esp, 8
mov dword [0x63a638], 0x41
jmp 0x415051
cmp dword [ebp - 0xc], 5
jne 0x415051
cmp dword [ebp - 8], 2
jne 0x415051
movzx edx, byte [ebp - 0x3e]
cmp edx, 3
jne 0x415051
push str.__Judge_Os_version:_2003_n
push 0x5f6dcc
call fcn.0040c050
add esp, 8
mov dword [0x63a640], 1
movzx eax, byte [ebp - 0x3e]
sub eax, 1
neg eax
sbb eax, eax
add eax, 1
mov dword [0x63a644], eax
movzx ecx, byte [ebp - 0x3e]
cmp ecx, 1
je 0x41507a
movzx edx, byte [ebp - 0x3e]
cmp edx, 3
jne 0x41517a
cmp dword [ebp - 0xc], 6
jne 0x4150a7
cmp dword [ebp - 8], 0
jne 0x4150a7
push str.__Judge_Os_version:_Vista_or_WinSrv2008_x86_n
push 0x5f6e3c
call fcn.0040c050
add esp, 8
mov dword [0x63a638], 2
jmp 0x41517a
cmp dword [ebp - 0xc], 6
jne 0x4150d4
cmp dword [ebp - 8], 1
jne 0x4150d4
push str.__Judge_Os_version:_Win7_or_WinSrv2012_x86_n
push 0x5f6ea8
call fcn.0040c050
add esp, 8
mov dword [0x63a638], 3
jmp 0x41517a
cmp dword [ebp - 0xc], 6
jne 0x4150fe
cmp dword [ebp - 8], 2
jne 0x4150fe
push str.__Judge_Os_version:_Win8_or_WinSrv2016_x86_n
push 0x5f6ebc
call fcn.0040c050
add esp, 8
mov dword [0x63a638], 4
jmp 0x41517a
cmp dword [ebp - 0xc], 6
jne 0x415128
cmp dword [ebp - 8], 3
jne 0x415128
push str.__Judge_Os_version:_Win8.1_or_WinSrv2016_x86_n
push 0x5f6f84
call fcn.0040c050
add esp, 8
mov dword [0x63a638], 5
jmp 0x41517a
cmp dword [ebp - 0xc], 6
jne 0x415152
cmp dword [ebp - 8], 4
jne 0x415152
push str.__Judge_Os_version:_Win10_or_WinSrv2019_x86_n
push 0x5f6ff4
call fcn.0040c050
add esp, 8
mov dword [0x63a638], 6
jmp 0x41517a
cmp dword [ebp - 0xc], 0xa
jne 0x41517a
cmp dword [ebp - 8], 0
jne 0x41517a
push str.__Judge_Os_version:_Win10_or_WinSrv2019_x64_n
push str.InitGetSystemVerson
call fcn.0040c050
add esp, 8
mov dword [0x63a638], 6
cmp dword [ebp - 0x15c], 0
je 0x415190
mov eax, dword [0x63a638]
or eax, 0x40
mov dword [0x63a638], eax
mov ecx, dword [ebp - 0x38]
xor ecx, ebp
call fcn.0055abea
mov esp, ebp
pop ebp
ret