Function at 0x48e770
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x4d0adf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x394
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ebp, ecx
push edi
mov ecx, 0x27
xor eax, eax
lea edi, [esp + 0x1e0]
xor ebx, ebx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x1e0]
mov dword [esp + 0x6c], ebx
push eax
mov dword [esp + 0x1e4], 0x9c
call esi
cmp eax, ebx
jne 0x48e7e3
lea ecx, [esp + 0x1e0]
mov dword [esp + 0x1e0], 0x94
push ecx
call esi
test eax, eax
je 0x48fa98
mov eax, dword [esp + 0x1f0]
sub eax, ebx
je 0x48f003
dec eax
je 0x48ef46
dec eax
jne 0x48f017
cmp dword [esp + 0x1e4], 4
ja 0x48e817
push str.Microsoft_Windows_NT
lea ecx, [ebp + 8]
call fcn.004c2f82
mov eax, dword [esp + 0x1e4]
mov edi, 9
cmp eax, 5
mov esi, 7
jne 0x48e89e
cmp dword [esp + 0x1e8], ebx
jne 0x48e856
push str.Microsoft_Windows_2000
lea ecx, [ebp + 8]
call fcn.004c2f82
mov eax, dword [esp + 0x1e4]
mov dword [ebp + 4], 6
cmp eax, 5
jne 0x48e89e
cmp dword [esp + 0x1e8], 1
jne 0x48e87c
push str.Microsoft_Windows_XP
lea ecx, [ebp + 8]
call fcn.004c2f82
mov eax, dword [esp + 0x1e4]
mov dword [ebp + 4], esi
cmp eax, 5
jne 0x48e89e
cmp dword [esp + 0x1e8], 2
jne 0x48ec1b
push str.Microsoft_Windows_2003
lea ecx, [ebp + 8]
call fcn.004c2f82
mov dword [ebp + 4], 8
cmp dword [esp + 0x1e4], 6
jne 0x48e95a
mov eax, dword [esp + 0x1e8]
cmp eax, ebx
jne 0x48e903
cmp byte [esp + 0x27a], 1
jne 0x48e8e0
push str.Windows_Vista
lea ecx, [ebp + 8]
call fcn.004c2f82
push str.Windows_Vista
lea ecx, [ebp + 0x10]
call fcn.004c2d2f
mov dword [ebp + 4], edi
jmp 0x48e95a
push str.Windows_Server_2008
lea ecx, [ebp + 8]
call fcn.004c2f82
push str.Windows_Server_2008
lea ecx, [ebp + 0x10]
call fcn.004c2d2f
mov dword [ebp + 4], 0xa
jmp 0x48e95a
cmp eax, 1
jne 0x48ec1b
cmp byte [esp + 0x27a], 1
jne 0x48e939
push str.Windows_7
lea ecx, [ebp + 8]
call fcn.004c2f82
push str.Windows_7
lea ecx, [ebp + 0x10]
call fcn.004c2d2f
mov dword [ebp + 4], 0xc
jmp 0x48e95a
push str.Windows_Server_2008_R2
lea ecx, [ebp + 8]
call fcn.004c2f82
push str.Windows_Server_2008_R2
lea ecx, [ebp + 0x10]
call fcn.004c2d2f
mov dword [ebp + 4], 0xb
cmp dword [esp + 0x1e4], 4
ja 0x48ec1b
mov dword [esp + 0x15c], 0x4e1748
mov dword [esp + 0x1d0], ebx
mov dword [esp + 0x1ac], 0x4e1744
mov dword [esp + 0x6c], 1
mov edx, dword [0x4e174c]
mov dword [esp + 0x3ac], ebx
mov dword [esp + edx + 0x15c], 0x4e1740
mov eax, dword [esp + 0x15c]
lea edx, [esp + 0x160]
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x184], edx
mov dword [esp + ecx + 0x188], ebx
mov byte [esp + ecx + 0x18c], 0x20
lea esi, [esp + ecx + 0x15c]
mov ecx, esi
call fcn.004bfafb
cmp dword [esi + 0x28], ebx
jne 0x48e9ef
mov eax, dword [esi + 4]
push ebx
or al, 4
mov ecx, esi
or al, 4
push eax
call fcn.004bf7b1
lea eax, [esp + 0x160]
mov dword [esp + 0x3ac], 2
mov dword [esp + 0x14], eax
call fcn.004c0026
lea ecx, [esp + 0x68]
mov dword [esp + 0x194], eax
call fcn.004bfec3
mov ecx, dword [0x5392fc]
call fcn.0048fad0
lea ecx, [esp + 0x68]
call fcn.004bff5f
lea ecx, [esp + 0x160]
mov byte [esp + 0x3ac], 3
mov dword [esp + 0x160], 0x4e170c
call fcn.00490910
push 4
mov edi, 0x4e16d8
push ebx
push ebx
lea ecx, [esp + 0x16c]
mov byte [esp + 0x3b8], 4
mov dword [esp + 0x16c], edi
call fcn.00490830
mov ecx, dword [esp + 0x15c]
mov esi, 0x4e16d4
mov edx, dword [ecx + 4]
mov dword [esp + edx + 0x15c], esi
mov eax, dword [esp + 0x1ec]
mov edx, dword [esp + 0x1e8]
and eax, 0xffff
push 0x4fe944
push eax
mov eax, dword [esp + 0x1ec]
lea ecx, [esp + 0x1fc]
push str.__Build
push ecx
push 0x4fe934
push edx
push 0x4fe930
push eax
lea ecx, [esp + 0x17c]
push str.version
push ecx
mov dword [esp + 0x3d4], 5
call fcn.00490970
add esp, 8
mov ecx, eax
call fcn.0048fb90
push eax
call fcn.00490970
add esp, 8
mov ecx, eax
call fcn.0048fb90
push eax
call fcn.00490970
add esp, 8
push eax
call fcn.00490970
add esp, 8
push eax
call fcn.00490970
add esp, 8
mov ecx, eax
call fcn.0048fb90
push eax
call fcn.00490970
add esp, 8
mov ecx, eax
push ebx
call fcn.0048fe90
mov eax, dword [esp + 0x1e4]
cmp eax, 4
jne 0x48eb3f
mov dword [ebp + 4], 5
jmp 0x48eb55
cmp eax, 3
jne 0x48eb55
cmp dword [esp + 0x1e8], 0x33
jne 0x48eb55
mov dword [ebp + 4], 4
mov eax, dword [esp + 0x15c]
lea edx, [esp + 0x1ac]
mov dword [esp + 0x14], edx
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x15c], esi
mov al, byte [esp + 0x1a4]
mov dword [esp + 0x3ac], 6
test al, 1
mov dword [esp + 0x160], edi
je 0x48eba0
mov edx, dword [esp + 0x16c]
mov eax, dword [edx]
push eax
call fcn.004c295c
add esp, 4
mov ecx, dword [esp + 0x1a4]
mov dword [esp + 0x19c], ebx
and ecx, 0xfffffffe
mov dword [esp + 0x160], 0x4e170c
mov dword [esp + 0x1a4], ecx
mov ecx, dword [esp + 0x194]
cmp ecx, ebx
je 0x48ebdf
call fcn.0048fb00
cmp eax, ebx
je 0x48ebdf
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx]
mov eax, dword [esp + 0x15c]
mov dword [esp + 0x3ac], 0xffffffff
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x15c], 0x4e1740
lea ecx, [esp + 0x1ac]
mov dword [esp + 0x1ac], 0x4e1744
call fcn.004bfa89
jmp 0x48f017
mov dword [esp + 0xd8], 0x4e1748
mov dword [esp + 0x14c], ebx
mov dword [esp + 0x128], 0x4e1744
mov dword [esp + 0x6c], 4
mov edx, dword [0x4e174c]
mov dword [esp + 0x3ac], esi
mov dword [esp + edx + 0xd8], 0x4e1740
mov eax, dword [esp + 0xd8]
lea edx, [esp + 0xdc]
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x100], edx
mov dword [esp + ecx + 0x104], ebx
mov byte [esp + ecx + 0x108], 0x20
lea esi, [esp + ecx + 0xd8]
mov ecx, esi
call fcn.004bfafb
cmp dword [esi + 0x28], ebx
jne 0x48eca2
mov eax, dword [esi + 4]
push ebx
or al, 4
mov ecx, esi
or al, 4
push eax
call fcn.004bf7b1
lea eax, [esp + 0xdc]
mov dword [esp + 0x3ac], edi
mov dword [esp + 0x70], eax
call fcn.004c0026
lea ecx, [esp + 0x14]
mov dword [esp + 0x110], eax
call fcn.004bfec3
mov esi, dword [0x5392fc]
lea ecx, [esp + 0x68]
call fcn.004bfec3
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
jae 0x48ece4
inc eax
mov dword [esi + 4], eax
lea ecx, [esp + 0x68]
call fcn.004bff5f
lea ecx, [esp + 0x14]
call fcn.004bff5f
lea ecx, [esp + 0xe0]
lea edx, [esp + 0xe4]
mov dword [esp + 0xe8], ecx
lea eax, [esp + 0xf0]
lea ecx, [esp + 0xf4]
mov dword [esp + 0xec], edx
mov dword [esp + 0xf8], eax
push ebx
mov dword [esp + 0x100], ecx
lea edx, [esp + 0x104]
lea eax, [esp + 0x108]
push ebx
push ebx
lea ecx, [esp + 0xe8]
mov byte [esp + 0x3b8], 0xa
mov dword [esp + 0xe8], 0x4e170c
mov dword [esp + 0x114], edx
mov dword [esp + 0x118], eax
mov dword [esp + 0xf0], ebx
mov dword [esp + 0x100], ebx
mov dword [esp + 0x110], ebx
call fcn.00490790
mov ecx, dword [esp + 0xe8]
mov edi, 0x4e16d8
mov dword [esp + 0xdc], edi
mov dword [esp + 0x114], ebx
mov dword [esp + 0x118], ebx
mov dword [esp + 0x11c], 0x20
mov dword [esp + 0x120], 4
mov dword [ecx], ebx
mov edx, dword [esp + 0xf8]
mov esi, 0x4e16d4
mov dword [edx], ebx
mov eax, dword [esp + 0x108]
mov dword [eax], ebx
mov ecx, dword [esp + 0xec]
mov dword [ecx], ebx
mov edx, dword [esp + 0xfc]
mov dword [edx], ebx
mov eax, dword [esp + 0x10c]
mov dword [eax], ebx
mov ecx, dword [esp + 0xd8]
mov edx, dword [ecx + 4]
mov dword [esp + edx + 0xd8], esi
mov eax, dword [esp + 0x1ec]
push 0x4fe920
and eax, 0xffff
lea ecx, [esp + 0x1f8]
push eax
push str.__Build
lea edx, [esp + 0xe4]
push ecx
push edx
mov dword [esp + 0x3c0], 0xc
call fcn.00490970
add esp, 8
push eax
call fcn.00490970
add esp, 8
mov ecx, eax
call fcn.0048fb90
push eax
call fcn.00490970
add esp, 8
mov ecx, eax
push ebx
call fcn.0048fe90
mov ecx, dword [esp + 0xd8]
lea eax, [esp + 0x128]
mov dword [esp + 0x70], eax
mov edx, dword [ecx + 4]
mov dword [esp + edx + 0xd8], esi
mov dword [esp + 0x3ac], 0xd
mov al, byte [esp + 0x120]
mov dword [esp + 0xdc], edi
test al, 1
je 0x48eea3
mov eax, dword [esp + 0xe8]
mov eax, dword [eax]
push eax
call fcn.004c295c
add esp, 4
mov ecx, dword [esp + 0x120]
mov edi, dword [esp + 0x110]
and ecx, 0xfffffffe
cmp edi, ebx
mov dword [esp + 0x118], ebx
mov dword [esp + 0x120], ecx
mov dword [esp + 0xdc], 0x4e170c
je 0x48ef0a
lea ecx, [esp + 0x14]
call fcn.004bfec3
mov eax, dword [edi + 4]
cmp eax, ebx
jbe 0x48eeea
cmp eax, 0xffffffff
jae 0x48eeea
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
lea ecx, [esp + 0x14]
neg esi
sbb esi, esi
not esi
and esi, edi
call fcn.004bff5f
cmp esi, ebx
je 0x48ef0a
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
mov eax, dword [esp + 0xd8]
mov dword [esp + 0x3ac], 0xffffffff
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0xd8], 0x4e1740
lea ecx, [esp + 0x128]
mov dword [esp + 0x128], 0x4e1744
call fcn.004bfa89
jmp 0x48f017
cmp dword [esp + 0x1e4], 4
jne 0x48f017
cmp dword [esp + 0x1e8], ebx
jne 0x48efa1
lea esi, [ebp + 8]
push str.Microsoft_Windows_95
mov ecx, esi
call fcn.004c2f82
mov eax, dword [esp + 0x1f5]
cmp al, 0x43
jne 0x48ef7e
push str.OSR2
jmp 0x48ef8b
push eax
mov ecx, esi
call fcn.004c2fa9
push 0x4fe934
mov ecx, esi
call fcn.004c2f82
mov eax, dword [esp + 0x1e4]
mov dword [ebp + 4], ebx
cmp eax, 4
jne 0x48f017
cmp dword [esp + 0x1e8], 0xa
jne 0x48efe3
lea esi, [ebp + 8]
push str.Microsoft_Windows_98
mov ecx, esi
call fcn.004c2f82
cmp byte [esp + 0x1f5], 0x41
jne 0x48efd0
push 0x4fe8e4
mov ecx, esi
call fcn.004c2f82
mov eax, dword [esp + 0x1e4]
mov dword [ebp + 4], 1
cmp eax, 4
jne 0x48f017
cmp dword [esp + 0x1e8], 0x5a
jne 0x48f017
push str.Microsoft_Windows_Me
lea ecx, [ebp + 8]
call fcn.004c2f82
mov dword [ebp + 4], 2
jmp 0x48f017
push str.Microsoft_Win32s
lea ecx, [ebp + 8]
call fcn.004c2f82
mov dword [ebp + 4], 3
mov ecx, 0x4a
xor eax, eax
lea edi, [esp + 0x27c]
rep stosd dword es:[edi], eax
mov ecx, 0x19
lea edi, [esp + 0x74]
rep stosd dword es:[edi], eax
mov ecx, 0x14
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
call fcn.00493980
lea edx, [esp + 0x27c]
lea ecx, [esp + 0x10]
push edx
mov dword [esp + 0x3b0], 0xe
call fcn.00493990
test eax, eax
je 0x48fa3e
mov eax, dword [esp + 0x31c]
dec eax
cmp eax, 4
ja case.default.0x48f07b
jmp dword [eax*4 + 0x48fab4]
lea ecx, [esp + 0x18]
push 0x4fe8b4
push ecx
jmp 0x48f19f
lea ecx, [esp + 0x18]
push str.Windows
push ecx
jmp 0x48f19f
lea ecx, [esp + 0x18]
push str.Windows_CE
push ecx
jmp 0x48f19f
lea ecx, [esp + 0x27c]
push ecx
lea ecx, [esp + 0x14]
call fcn.00493c60
test eax, eax
je 0x48f0d3
lea edx, [esp + 0x18]
push str.Windows_95
push edx
jmp 0x48f19f
lea eax, [esp + 0x27c]
lea ecx, [esp + 0x10]
push eax
call fcn.00493ca0
test eax, eax
je 0x48f0f7
lea ecx, [esp + 0x18]
push str.Windows_95_SP1
push ecx
jmp 0x48f19f
lea edx, [esp + 0x27c]
lea ecx, [esp + 0x10]
push edx
call fcn.00493ce0
test eax, eax
je 0x48f116
push str.Windows_95_OSR2
jmp 0x48f19a
lea ecx, [esp + 0x27c]
push ecx
lea ecx, [esp + 0x14]
call fcn.00493d20
test eax, eax
je 0x48f137
lea edx, [esp + 0x18]
push str.Windows_98
push edx
jmp 0x48f19f
lea eax, [esp + 0x27c]
lea ecx, [esp + 0x10]
push eax
call fcn.00493d60
test eax, eax
je 0x48f158
lea ecx, [esp + 0x18]
push str.Windows_98_SP1
push ecx
jmp 0x48f19f
lea edx, [esp + 0x27c]
lea ecx, [esp + 0x10]
push edx
call fcn.00493da0
test eax, eax
je 0x48f174
push str.Windows_98_Second_Edition
jmp 0x48f19a
lea ecx, [esp + 0x27c]
push ecx
lea ecx, [esp + 0x14]
call fcn.00493de0
test eax, eax
je 0x48f195
lea edx, [esp + 0x18]
push str.Windows_Millenium_Edition
push edx
jmp 0x48f19f
push str.Windows___
lea eax, [esp + 0x1c]
push eax
call fcn.004b14e4
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x74]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x18]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x48f8d8
lea ecx, [esp + 0x27c]
push ecx
lea ecx, [esp + 0x14]
call fcn.00493f10
test eax, eax
je 0x48f31f
lea edx, [esp + 0x18]
push str.Windows_NT
push edx
call fcn.004b14e4
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x74]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x27c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
call fcn.00494050
test eax, eax
je 0x48f251
push str._Workstation
jmp 0x48f2a3
lea eax, [esp + 0x27c]
lea ecx, [esp + 0x10]
push eax
call fcn.00493f90
test eax, eax
je 0x48f26d
push str._Server
jmp 0x48f2a3
lea eax, [esp + 0x27c]
lea ecx, [esp + 0x10]
push eax
call fcn.00493f40
test eax, eax
je 0x48f289
push str._Primary_Domain_Controller
jmp 0x48f2a3
lea eax, [esp + 0x27c]
lea ecx, [esp + 0x10]
push eax
call fcn.00493fe0
test eax, eax
je 0x48f2dd
push str._Backup_Domain_Controller
lea ecx, [esp + 0x1c]
push ecx
call fcn.004b14e4
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x74]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x27c]
lea ecx, [esp + 0x10]
push eax
call fcn.004940d0
test eax, eax
je 0x48f2fc
push str._Datacenter
jmp 0x48f851
lea eax, [esp + 0x27c]
lea ecx, [esp + 0x10]
push eax
call fcn.004940a0
test eax, eax
je 0x48f88b
push str._Enterprise
jmp 0x48f851
lea eax, [esp + 0x27c]
lea ecx, [esp + 0x10]
push eax
call fcn.00493e10
test eax, eax
je 0x48f491
lea ecx, [esp + 0x18]
push str.Windows_2000
push ecx
call fcn.004b14e4
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x74]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x27c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
call fcn.00494120
test eax, eax
je 0x48f393
push str._Professional
jmp 0x48f3c9
lea eax, [esp + 0x27c]
lea ecx, [esp + 0x10]
push eax
call fcn.00494170
test eax, eax
je 0x48f3af
push str._Server
jmp 0x48f3c9
lea eax, [esp + 0x27c]
lea ecx, [esp + 0x10]
push eax
call fcn.00494220
test eax, eax
je 0x48f403
push str._Domain_Controller
lea ecx, [esp + 0x1c]
push ecx
call fcn.004b14e4
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x74]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x27c]
lea ecx, [esp + 0x10]
push eax
call fcn.004941f0
test eax, eax
je 0x48f41f
push str._Datacenter
jmp 0x48f439
lea eax, [esp + 0x27c]
lea ecx, [esp + 0x10]
push eax
call fcn.004941c0
test eax, eax
je 0x48f473
push str._Advanced_Server
lea ecx, [esp + 0x1c]
push ecx
call fcn.004b14e4
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x74]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x27c]
lea ecx, [esp + 0x10]
push eax
call fcn.00494030
test eax, eax
je 0x48f655
jmp 0x48f616
lea eax, [esp + 0x27c]
lea ecx, [esp + 0x10]
push eax
call fcn.00493e40
test eax, eax
je 0x48f673
lea ecx, [esp + 0x18]
push str.Windows_XP
push ecx
call fcn.004b14e4
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x74]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x27c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
call fcn.00494270
test eax, eax
je 0x48f505
push str._Personal
jmp 0x48f557
lea eax, [esp + 0x27c]
lea ecx, [esp + 0x10]
push eax
call fcn.004942a0
test eax, eax
je 0x48f521
push str._Professional
jmp 0x48f557
lea eax, [esp + 0x27c]
lea ecx, [esp + 0x10]
push eax
call fcn.004942f0
test eax, eax
je 0x48f53d
push str._Server
jmp 0x48f557
lea eax, [esp + 0x27c]
lea ecx, [esp + 0x10]
push eax
call fcn.004943a0
test eax, eax
je 0x48f591
push str._Domain_Controller
lea ecx, [esp + 0x1c]
push ecx
call fcn.004b14e4
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x74]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x27c]
lea ecx, [esp + 0x10]
push eax
call fcn.00494370
test eax, eax
je 0x48f5ad
push str._Datacenter
jmp 0x48f5c7
lea eax, [esp + 0x27c]
lea ecx, [esp + 0x10]
push eax
call fcn.00494340
test eax, eax
je 0x48f601
push str._Advanced_Server
lea ecx, [esp + 0x1c]
push ecx
call fcn.004b14e4
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x74]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x27c]
lea ecx, [esp + 0x10]
push eax
call fcn.00494030
test eax, eax
je 0x48f655
lea ecx, [esp + 0x18]
push str._Terminal_Services
push ecx
call fcn.004b14e4
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x74]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x27c]
lea ecx, [esp + 0x10]
push eax
call fcn.00494040
test eax, eax
je 0x48f88b
jmp 0x48f84c
lea eax, [esp + 0x27c]
lea ecx, [esp + 0x10]
push eax
call fcn.00493e70
test eax, eax
je 0x48f88b
lea ecx, [esp + 0x18]
push str.Windows_2003
push ecx
call fcn.004b14e4
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x74]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x27c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
call fcn.00494270
test eax, eax
je 0x48f6e7
push str._Personal
jmp 0x48f739
lea eax, [esp + 0x27c]
lea ecx, [esp + 0x10]
push eax
call fcn.004942a0
test eax, eax
je 0x48f703
push str._Professional
jmp 0x48f739
lea eax, [esp + 0x27c]
lea ecx, [esp + 0x10]
push eax
call fcn.004942f0
test eax, eax
je 0x48f71f
push str._Server
jmp 0x48f739
lea eax, [esp + 0x27c]
lea ecx, [esp + 0x10]
push eax
call fcn.004943a0
test eax, eax
je 0x48f773
push str._Domain_Controller
lea ecx, [esp + 0x1c]
push ecx
call fcn.004b14e4
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x74]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x27c]
lea ecx, [esp + 0x10]
push eax
call fcn.00494370
test eax, eax
je 0x48f78f
push str._Datacenter
jmp 0x48f7a9
lea eax, [esp + 0x27c]
lea ecx, [esp + 0x10]
push eax
call fcn.00494340
test eax, eax
je 0x48f7e3
push str._Advanced_Server
lea ecx, [esp + 0x1c]
push ecx
call fcn.004b14e4
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x74]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x27c]
lea ecx, [esp + 0x10]
push eax
call fcn.00494030
test eax, eax
je 0x48f837
lea ecx, [esp + 0x18]
push str._Terminal_Services
push ecx
call fcn.004b14e4
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x74]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x27c]
lea ecx, [esp + 0x10]
push eax
call fcn.00494040
test eax, eax
je 0x48f88b
push str._BackOffice_Small_Business_Edition
lea ecx, [esp + 0x1c]
push ecx
call fcn.004b14e4
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x74]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov al, byte [esp + 0x74]
test al, al
je 0x48f8e1
jmp 0x48f8d4
lea ecx, [esp + 0x18]
push str.Unknown_OS
push ecx
call fcn.004b14e4
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x74]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x74]
push eax
lea ecx, [ebp + 0x10]
call fcn.004c2d2f
mov ecx, dword [esp + 0x310]
lea edx, [esp + 0x18]
push ecx
push 0x4fe6e8
push edx
call fcn.004b14e4
lea edi, [esp + 0x24]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x74]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea ebx, [ebp + 0x14]
and ecx, 3
lea eax, [esp + 0x18]
rep movsb byte es:[edi], byte [esi]
push eax
mov ecx, ebx
call fcn.004c2d2f
mov ecx, dword [esp + 0x314]
lea edx, [esp + 0x18]
push ecx
push str._02d
push edx
call fcn.004b14e4
lea edi, [esp + 0x24]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x74]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x18]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
call fcn.004c2f82
mov eax, dword [esp + 0x318]
test eax, eax
je 0x48f9e2
push eax
lea ecx, [esp + 0x1c]
push 0x4fe6dc
push ecx
call fcn.004b14e4
lea edi, [esp + 0x24]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x74]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x18]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp + 0xc]
call fcn.004c2d2f
mov eax, dword [esp + 0x3a0]
test ax, ax
je 0x48fa84
and eax, 0xffff
lea ecx, [esp + 0x18]
push eax
push str.Service_Pack__d
push ecx
call fcn.004b14e4
lea edi, [esp + 0x24]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x74]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x18]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
jmp 0x48fa7c
lea ecx, [esp + 0x74]
push str.Failed_in_call_to_GetOSVersion
push ecx
call fcn.004b14e4
add esp, 8
lea edx, [esp + 0x74]
lea ecx, [ebp + 0x10]
push edx
call fcn.004c2d2f
push str.unknown
lea ecx, [ebp + 0xc]
call fcn.004c2d2f
push str.unknown
lea ecx, [ebp + 0x14]
call fcn.004c2d2f
push str.unknown
lea ecx, [ebp + 0x18]
call fcn.004c2d2f
lea ecx, [esp + 0x10]
mov dword [esp + 0x3ac], 0xffffffff
call fcn.00453d20
mov ecx, dword [esp + 0x3a4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3a0
ret