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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4
mov eax, dword [0x62c140]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push esi
push 0x9c
push eax
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0xa0]
push eax
call fcn.00584f40
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
add esp, 0xc
lea ecx, [ebp - 0xa0]
push ecx
mov dword [ebp - 0xa0], 0x9c
call esi
test eax, eax
jne 0x43ed04
lea edx, [ebp - 0xa0]
push edx
mov dword [ebp - 0xa0], 0x94
call esi
test eax, eax
jne 0x43ed04
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057ee81
mov esp, ebp
pop ebp
ret
push str.GetNativeSystemInfo
push 0x5e813c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43ed2a
lea ecx, [ebp - 0xc4]
push ecx
call eax
jmp 0x43ed37
lea edx, [ebp - 0xc4]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x90]
sub eax, 2
jne 0x43ef1b
mov eax, dword [ebp - 0x9c]
cmp eax, 6
jne 0x43ee2b
mov eax, dword [ebp - 0x98]
test eax, eax
jne 0x43ed8d
cmp byte [ebp - 6], 1
jne 0x43ed79
mov eax, str.Microsoft_Windows_Vista
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057ee81
mov esp, ebp
pop ebp
ret
mov eax, str.Microsoft_Windows_Server_2008
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057ee81
mov esp, ebp
pop ebp
ret
mov ecx, 1
cmp eax, ecx
jne 0x43edc3
cmp byte [ebp - 6], cl
jne 0x43edaf
mov eax, str.Microsoft_Windows_7
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057ee81
mov esp, ebp
pop ebp
ret
mov eax, str.Microsoft_Windows_Server_2008_R2
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057ee81
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x43edf5
cmp byte [ebp - 6], cl
jne 0x43ede1
mov eax, str.Microsoft_Windows_8
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057ee81
mov esp, ebp
pop ebp
ret
mov eax, str.Microsoft_Windows_Server_2012
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057ee81
mov esp, ebp
pop ebp
ret
cmp eax, 3
jne 0x43ef1b
cmp byte [ebp - 6], cl
jne 0x43ee17
mov eax, str.Microsoft_Windows_8.1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057ee81
mov esp, ebp
pop ebp
ret
mov eax, str.Microsoft_Windows_Server_2012_R2
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057ee81
mov esp, ebp
pop ebp
ret
cmp eax, 0xa
jne 0x43eeac
cmp dword [ebp - 0x98], 0
jne 0x43ef1b
cmp byte [ebp - 6], 1
jne 0x43ee57
mov eax, 0x5e72f8
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057ee81
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x94]
cmp eax, 0x4563
je 0x43ee98
cmp eax, 0x47ba
je 0x43ee98
cmp eax, 0x3839
je 0x43ee84
cmp eax, 0x3fab
je 0x43ee84
cmp eax, 0x42ee
jne 0x43ef1b
mov eax, str.Microsoft_Windows_Server_2016
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057ee81
mov esp, ebp
pop ebp
ret
mov eax, str.Microsoft_Windows_Server_2019
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057ee81
mov esp, ebp
pop ebp
ret
cmp eax, 5
jne 0x43ef11
mov eax, dword [ebp - 0x98]
cmp eax, 2
jne 0x43eef4
cmp byte [ebp - 6], 1
jne 0x43eee0
cmp word [ebp - 0xc4], 9
jne 0x43eee0
mov eax, str.Microsoft_Windows_XP
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057ee81
mov esp, ebp
pop ebp
ret
mov eax, str.Microsoft_Windows_Server_2003
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057ee81
mov esp, ebp
pop ebp
ret
cmp eax, 1
je 0x43eecc
test eax, eax
jne 0x43ef1b
mov eax, str.Microsoft_Windows_2000
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057ee81
mov esp, ebp
pop ebp
ret
cmp eax, 4
mov eax, str.Microsoft_Windows_NT
jbe 0x43ef20
mov eax, str.SUCCESS
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0057ee81
mov esp, ebp
pop ebp
ret