Function at 0x493a80
Capabilities:
Get system information on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x685ace
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1a8
mov eax, dword [0x79cac4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov eax, ecx
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], eax
sub esp, 8
mov dword [ebp - 0x58], eax
lea ecx, [ebp - 0x108]
call fcn.00472b00
sub esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1b8]
call fcn.00472b00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1a8]
push dword [edi + 0xc]
push dword [edi + 8]
push dword [edi + 4]
call fcn.0046da50
push ecx
mov edx, 0x773a44
mov ecx, eax
call fcn.0046dbb0
add esp, 4
mov ecx, eax
call fcn.0046da50
push ecx
mov edx, 0x773a44
mov ecx, eax
call fcn.0046dbb0
add esp, 4
mov ecx, eax
call fcn.0046da50
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x1a0]
call fcn.0046fb40
mov byte [ebp - 4], 2
mov eax, dword [edi + 4]
cmp eax, 5
jne 0x493bfb
mov eax, dword [edi + 8]
test eax, eax
jne 0x493b67
mov edx, 0x773a48
jmp 0x493cb1
cmp eax, 1
jne 0x493b76
mov edx, str.Windows_XP
jmp 0x493cb1
cmp eax, 2
jne 0x493cbc
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x59
call esi
test eax, eax
je 0x493b97
mov edx, str.Windows_Server_2003_R2
jmp 0x493cb1
cmp word [edi + 0x118], 0
jge 0x493bab
mov edx, str.Windows_Home_Server
jmp 0x493cb1
push 0x59
call esi
test eax, eax
jne 0x493bbd
mov edx, str.Windows_Server_2003
jmp 0x493cb1
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x50]
push eax
movups xmmword [ebp - 0x50], xmm0
movups xmmword [ebp - 0x40], xmm0
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp byte [edi + 0x11a], 1
jne 0x493cbc
cmp word [ebp - 0x50], 9
jne 0x493cbc
mov edx, str.Windows_XP_Professional_x64_Edition
jmp 0x493cb1
cmp eax, 6
jne 0x493c93
mov eax, dword [edi + 8]
test eax, eax
jne 0x493c2e
cmp byte [edi + 0x11a], 1
lea ecx, [ebp - 0xf8]
jne 0x493c24
mov edx, str.Windows_Vista
jmp 0x493cb7
mov edx, str.Windows_Server_2008
jmp 0x493cb7
cmp eax, 1
jne 0x493c4f
lea ecx, [ebp - 0xf8]
cmp byte [edi + 0x11a], al
jne 0x493c48
mov edx, str.Windows_7
jmp 0x493cb7
mov edx, str.Windows_Server_2008_R2
jmp 0x493cb7
cmp eax, 2
jne 0x493c71
cmp byte [edi + 0x11a], 1
lea ecx, [ebp - 0xf8]
jne 0x493c6a
mov edx, str.Windows_8
jmp 0x493cb7
mov edx, str.Windows_Server_2012
jmp 0x493cb7
cmp eax, 3
jne 0x493cbc
cmp byte [edi + 0x11a], 1
lea ecx, [ebp - 0xf8]
jne 0x493c8c
mov edx, str.Windows_8.1
jmp 0x493cb7
mov edx, str.Windows_Server_2012_R2
jmp 0x493cb7
cmp eax, 0xa
jne 0x493cbc
cmp dword [edi + 8], 0
jne 0x493cbc
cmp byte [edi + 0x11a], 1
mov edx, str.Windows_10
je 0x493cb1
mov edx, str.Windows_Server_2016
lea ecx, [ebp - 0xf8]
call fcn.0046dbb0
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0xf0]
call fcn.0046fb40
mov esi, dword [ebp - 0x34]
lea ecx, [ebp - 0x44]
call fcn.00453390
test esi, esi
jne 0x493cf6
cmp dword [ebp - 0x18], 8
lea edx, [ebp - 0x2c]
push dword [ebp - 0x1c]
cmovae edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0xf8]
call fcn.00473400
add esp, 4
add edi, 0x14
je 0x493d14
mov edx, 0x773320
lea ecx, [ebp - 0xf8]
call fcn.0046dbb0
mov edx, edi
mov ecx, eax
call fcn.0046dbb0
mov esi, dword [ebp - 0x54]
lea ecx, [ebp - 0xf0]
push esi
call fcn.0046fb40
lea ecx, [ebp - 0x2c]
call fcn.00453390
lea ecx, [ebp - 0x1b8]
call fcn.00471d90
lea ecx, [ebp - 0x108]
call fcn.00471d90
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.006116c3
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret