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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4
mov eax, dword [0x5142b0]
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.00492ac0
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 0x462444
lea edx, [ebp - 0xa0]
push edx
mov dword [ebp - 0xa0], 0x94
call esi
test eax, eax
jne 0x462444
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048ed61
mov esp, ebp
pop ebp
ret
push 0x4d14c8
push 0x4d0894
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x46246a
lea ecx, [ebp - 0xc4]
push ecx
call eax
jmp 0x462477
lea edx, [ebp - 0xc4]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x90]
sub eax, 2
jne 0x46265b
mov eax, dword [ebp - 0x9c]
cmp eax, 6
jne 0x46256b
mov eax, dword [ebp - 0x98]
test eax, eax
jne 0x4624cd
cmp byte [ebp - 6], 1
jne 0x4624b9
mov eax, str.Microsoft_Windows_Vista
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048ed61
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.0048ed61
mov esp, ebp
pop ebp
ret
mov ecx, 1
cmp eax, ecx
jne 0x462503
cmp byte [ebp - 6], cl
jne 0x4624ef
mov eax, str.Microsoft_Windows_7
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048ed61
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.0048ed61
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x462535
cmp byte [ebp - 6], cl
jne 0x462521
mov eax, str.Microsoft_Windows_8
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048ed61
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.0048ed61
mov esp, ebp
pop ebp
ret
cmp eax, 3
jne 0x46265b
cmp byte [ebp - 6], cl
jne 0x462557
mov eax, str.Microsoft_Windows_8.1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048ed61
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.0048ed61
mov esp, ebp
pop ebp
ret
cmp eax, 0xa
jne 0x4625ec
cmp dword [ebp - 0x98], 0
jne 0x46265b
cmp byte [ebp - 6], 1
jne 0x462597
mov eax, str.Microsoft_Windows_10
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048ed61
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x94]
cmp eax, 0x4563
je 0x4625d8
cmp eax, 0x47ba
je 0x4625d8
cmp eax, 0x3839
je 0x4625c4
cmp eax, 0x3fab
je 0x4625c4
cmp eax, 0x42ee
jne 0x46265b
mov eax, str.Microsoft_Windows_Server_2016
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048ed61
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.0048ed61
mov esp, ebp
pop ebp
ret
cmp eax, 5
jne 0x462651
mov eax, dword [ebp - 0x98]
cmp eax, 2
jne 0x462634
cmp byte [ebp - 6], 1
jne 0x462620
cmp word [ebp - 0xc4], 9
jne 0x462620
mov eax, str.Microsoft_Windows_XP
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048ed61
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.0048ed61
mov esp, ebp
pop ebp
ret
cmp eax, 1
je 0x46260c
test eax, eax
jne 0x46265b
mov eax, str.Microsoft_Windows_2000
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048ed61
mov esp, ebp
pop ebp
ret
cmp eax, 4
mov eax, str.Microsoft_Windows_NT
jbe 0x462660
mov eax, str.SUCCESS
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0048ed61
mov esp, ebp
pop ebp
ret