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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x15c
mov eax, dword [0x61b000]
xor eax, ebp
mov dword [ebp - 0x38], eax
push 0
push 1
push 0x641ef8
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
jne 0x4147b0
call fcn.00414310
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 0x414520
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 0x414539
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ERROR:_NetWkstaGetInfo_get_WKSTA_INFO_err_d_n
push 0x5fcc50
call fcn.0040c230
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 0x414593
cmp dword [ebp - 8], 0
jne 0x414593
cmp dword [ebp - 0x154], 0
je 0x414593
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 0x5fcc64
call fcn.0040c230
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 0x5fcd14
call fcn.0040c230
add esp, 0x10
cmp dword [ebp - 0xc], 5
jne 0x4145da
cmp dword [ebp - 8], 0
jne 0x4145da
push str.__Judge_Os_version:_Win2000_n
push 0x5fcd64
call fcn.0040c230
add esp, 8
mov dword [0x640660], 1
jmp 0x414671
cmp dword [ebp - 0xc], 5
jne 0x414604
cmp dword [ebp - 8], 1
jne 0x414604
push str.__Judge_Os_version:_XP_x86_n
push 0x5fcdb0
call fcn.0040c230
add esp, 8
mov dword [0x64065c], 1
jmp 0x414671
cmp dword [ebp - 0xc], 5
jne 0x414640
cmp dword [ebp - 8], 2
jne 0x414640
movzx eax, byte [ebp - 0x3e]
cmp eax, 1
jne 0x414640
movzx ecx, word [ebp - 0x34]
cmp ecx, 9
jne 0x414640
push str.__Judge_Os_version:_XP_x64_n
push 0x5fcdfc
call fcn.0040c230
add esp, 8
mov dword [0x64065c], 0x41
jmp 0x414671
cmp dword [ebp - 0xc], 5
jne 0x414671
cmp dword [ebp - 8], 2
jne 0x414671
movzx edx, byte [ebp - 0x3e]
cmp edx, 3
jne 0x414671
push str.__Judge_Os_version:_2003_n
push 0x5fce44
call fcn.0040c230
add esp, 8
mov dword [0x640664], 1
movzx eax, byte [ebp - 0x3e]
sub eax, 1
neg eax
sbb eax, eax
add eax, 1
mov dword [0x640668], eax
movzx ecx, byte [ebp - 0x3e]
cmp ecx, 1
je 0x41469a
movzx edx, byte [ebp - 0x3e]
cmp edx, 3
jne 0x41479a
cmp dword [ebp - 0xc], 6
jne 0x4146c7
cmp dword [ebp - 8], 0
jne 0x4146c7
push str.__Judge_Os_version:_Vista_or_WinSrv2008_x86_n
push 0x5fceb4
call fcn.0040c230
add esp, 8
mov dword [0x64065c], 2
jmp 0x41479a
cmp dword [ebp - 0xc], 6
jne 0x4146f4
cmp dword [ebp - 8], 1
jne 0x4146f4
push str.__Judge_Os_version:_Win7_or_WinSrv2012_x86_n
push 0x5fcf20
call fcn.0040c230
add esp, 8
mov dword [0x64065c], 3
jmp 0x41479a
cmp dword [ebp - 0xc], 6
jne 0x41471e
cmp dword [ebp - 8], 2
jne 0x41471e
push str.__Judge_Os_version:_Win8_or_WinSrv2016_x86_n
push 0x5fcf34
call fcn.0040c230
add esp, 8
mov dword [0x64065c], 4
jmp 0x41479a
cmp dword [ebp - 0xc], 6
jne 0x414748
cmp dword [ebp - 8], 3
jne 0x414748
push str.__Judge_Os_version:_Win8.1_or_WinSrv2016_x86_n
push 0x5fcffc
call fcn.0040c230
add esp, 8
mov dword [0x64065c], 5
jmp 0x41479a
cmp dword [ebp - 0xc], 6
jne 0x414772
cmp dword [ebp - 8], 4
jne 0x414772
push str.__Judge_Os_version:_Win10_or_WinSrv2019_x86_n
push 0x5fd06c
call fcn.0040c230
add esp, 8
mov dword [0x64065c], 6
jmp 0x41479a
cmp dword [ebp - 0xc], 0xa
jne 0x41479a
cmp dword [ebp - 8], 0
jne 0x41479a
push str.__Judge_Os_version:_Win10_or_WinSrv2019_x64_n
push str.InitGetSystemVerson
call fcn.0040c230
add esp, 8
mov dword [0x64065c], 6
cmp dword [ebp - 0x15c], 0
je 0x4147b0
mov eax, dword [0x64065c]
or eax, 0x40
mov dword [0x64065c], eax
mov ecx, dword [ebp - 0x38]
xor ecx, ebp
call fcn.00560c61
mov esp, ebp
pop ebp
ret