Function at 0x4937d0
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 0x68573e
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, 0x773af4
mov ecx, eax
call fcn.0046dbb0
add esp, 4
mov ecx, eax
call fcn.0046da50
push ecx
mov edx, 0x773af4
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 0x49394b
mov eax, dword [edi + 8]
test eax, eax
jne 0x4938b7
mov edx, 0x773af8
jmp 0x493a01
cmp eax, 1
jne 0x4938c6
mov edx, str.Windows_XP
jmp 0x493a01
cmp eax, 2
jne 0x493a0c
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x59
call esi
test eax, eax
je 0x4938e7
mov edx, str.Windows_Server_2003_R2
jmp 0x493a01
cmp word [edi + 0x118], 0
jge 0x4938fb
mov edx, str.Windows_Home_Server
jmp 0x493a01
push 0x59
call esi
test eax, eax
jne 0x49390d
mov edx, str.Windows_Server_2003
jmp 0x493a01
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 0x493a0c
cmp word [ebp - 0x50], 9
jne 0x493a0c
mov edx, str.Windows_XP_Professional_x64_Edition
jmp 0x493a01
cmp eax, 6
jne 0x4939e3
mov eax, dword [edi + 8]
test eax, eax
jne 0x49397e
cmp byte [edi + 0x11a], 1
lea ecx, [ebp - 0xf8]
jne 0x493974
mov edx, str.Windows_Vista
jmp 0x493a07
mov edx, str.Windows_Server_2008
jmp 0x493a07
cmp eax, 1
jne 0x49399f
lea ecx, [ebp - 0xf8]
cmp byte [edi + 0x11a], al
jne 0x493998
mov edx, str.Windows_7
jmp 0x493a07
mov edx, str.Windows_Server_2008_R2
jmp 0x493a07
cmp eax, 2
jne 0x4939c1
cmp byte [edi + 0x11a], 1
lea ecx, [ebp - 0xf8]
jne 0x4939ba
mov edx, str.Windows_8
jmp 0x493a07
mov edx, str.Windows_Server_2012
jmp 0x493a07
cmp eax, 3
jne 0x493a0c
cmp byte [edi + 0x11a], 1
lea ecx, [ebp - 0xf8]
jne 0x4939dc
mov edx, str.Windows_8.1
jmp 0x493a07
mov edx, str.Windows_Server_2012_R2
jmp 0x493a07
cmp eax, 0xa
jne 0x493a0c
cmp dword [edi + 8], 0
jne 0x493a0c
cmp byte [edi + 0x11a], 1
mov edx, str.Windows_10
je 0x493a01
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 0x493a46
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 0x493a64
mov edx, 0x7733d0
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.00611399
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret