Function at 0x48a5f0
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x4bc9bf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x398
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ebx, ecx
push edi
mov ecx, 0x27
xor eax, eax
lea edi, [esp + 0x1e4]
xor ebp, ebp
rep stosd dword es:[edi], eax
lea eax, [esp + 0x1e4]
mov dword [esp + 0x68], ebx
push eax
mov dword [esp + 0x74], ebp
mov dword [esp + 0x1e8], 0x9c
call esi
cmp eax, ebp
jne 0x48a667
lea ecx, [esp + 0x1e4]
mov dword [esp + 0x1e4], 0x94
push ecx
call esi
test eax, eax
je 0x48b82b
mov eax, dword [esp + 0x1f4]
sub eax, ebp
je 0x48add3
dec eax
je 0x48ad16
dec eax
jne 0x48ade7
cmp dword [esp + 0x1e8], 4
ja 0x48a69b
push str.Microsoft_Windows_NT
lea ecx, [ebx + 8]
call fcn.004ac999
mov eax, dword [esp + 0x1e8]
mov edi, 5
cmp eax, edi
mov esi, 7
jne 0x48a71f
cmp dword [esp + 0x1ec], ebp
jne 0x48a6d8
push str.Microsoft_Windows_2000
lea ecx, [ebx + 8]
call fcn.004ac999
mov eax, dword [esp + 0x1e8]
mov dword [ebx + 4], 6
cmp eax, edi
jne 0x48a71f
cmp dword [esp + 0x1ec], 1
jne 0x48a6fd
push str.Microsoft_Windows_XP
lea ecx, [ebx + 8]
call fcn.004ac999
mov eax, dword [esp + 0x1e8]
mov dword [ebx + 4], esi
cmp eax, edi
jne 0x48a71f
cmp dword [esp + 0x1ec], 2
jne 0x48a9e4
push str.Microsoft_Windows_2003
lea ecx, [ebx + 8]
call fcn.004ac999
mov dword [ebx + 4], 8
cmp dword [esp + 0x1e8], 4
ja 0x48a9e4
mov dword [esp + 0x160], 0x4e3868
mov dword [esp + 0x1d4], ebp
mov dword [esp + 0x1b0], 0x4e3864
mov dword [esp + 0x70], 1
mov edx, dword [0x4e386c]
mov dword [esp + 0x3b0], ebp
mov dword [esp + edx + 0x160], 0x4e3860
mov eax, dword [esp + 0x160]
lea edx, [esp + 0x164]
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x188], edx
mov dword [esp + ecx + 0x18c], ebp
mov byte [esp + ecx + 0x190], 0x20
lea esi, [esp + ecx + 0x160]
mov ecx, esi
call fcn.004a8e7d
cmp dword [esi + 0x28], ebp
jne 0x48a7b4
mov eax, dword [esi + 4]
push ebp
or al, 4
mov ecx, esi
or al, 4
push eax
call fcn.004a8b26
lea eax, [esp + 0x164]
mov dword [esp + 0x3b0], 2
mov dword [esp + 0x68], eax
call fcn.004a93a8
lea ecx, [esp + 0x64]
mov dword [esp + 0x198], eax
call fcn.004a9245
mov ecx, dword [0x51f744]
call fcn.0048b860
lea ecx, [esp + 0x64]
call fcn.004a92e1
mov ebp, 0x4e382c
lea ecx, [esp + 0x164]
mov byte [esp + 0x3b0], 3
mov dword [esp + 0x164], ebp
call fcn.0048c5a0
push 4
mov edi, 0x4e37f8
push 0
push 0
lea ecx, [esp + 0x170]
mov byte [esp + 0x3bc], 4
mov dword [esp + 0x170], edi
call fcn.0048c4c0
mov ecx, dword [esp + 0x160]
mov esi, 0x4e37f4
mov edx, dword [ecx + 4]
mov dword [esp + edx + 0x160], esi
mov eax, dword [esp + 0x1f0]
mov edx, dword [esp + 0x1ec]
and eax, 0xffff
push 0x4ff028
push eax
mov eax, dword [esp + 0x1f0]
lea ecx, [esp + 0x200]
push str.__Build
push ecx
push 0x4ff018
push edx
push 0x4ff014
push eax
lea ecx, [esp + 0x180]
push str.version
push ecx
mov dword [esp + 0x3d8], 5
call fcn.0048c600
add esp, 8
mov ecx, eax
call fcn.0048b920
push eax
call fcn.0048c600
add esp, 8
mov ecx, eax
call fcn.0048b920
push eax
call fcn.0048c600
add esp, 8
push eax
call fcn.0048c600
add esp, 8
push eax
call fcn.0048c600
add esp, 8
mov ecx, eax
call fcn.0048b920
push eax
call fcn.0048c600
add esp, 8
mov ecx, eax
push 0
call fcn.0048bc20
mov eax, dword [esp + 0x1e8]
cmp eax, 4
jne 0x48a908
mov dword [ebx + 4], 5
jmp 0x48a91e
cmp eax, 3
jne 0x48a91e
cmp dword [esp + 0x1ec], 0x33
jne 0x48a91e
mov dword [ebx + 4], 4
mov eax, dword [esp + 0x160]
lea edx, [esp + 0x1b0]
mov dword [esp + 0x68], edx
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x160], esi
mov al, byte [esp + 0x1a8]
mov dword [esp + 0x3b0], 6
test al, 1
mov dword [esp + 0x164], edi
je 0x48a969
mov edx, dword [esp + 0x170]
mov eax, dword [edx]
push eax
call fcn.004ac327
add esp, 4
mov ecx, dword [esp + 0x1a8]
mov dword [esp + 0x1a0], 0
and ecx, 0xfffffffe
mov dword [esp + 0x164], ebp
mov dword [esp + 0x1a8], ecx
mov ecx, dword [esp + 0x198]
test ecx, ecx
je 0x48a9a8
call fcn.0048b890
test eax, eax
je 0x48a9a8
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx]
mov eax, dword [esp + 0x160]
mov dword [esp + 0x3b0], 0xffffffff
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x160], 0x4e3860
lea ecx, [esp + 0x1b0]
mov dword [esp + 0x1b0], 0x4e3864
call fcn.004a8e0b
jmp 0x48ade7
xor edi, edi
mov dword [esp + 0xdc], 0x4e3868
mov dword [esp + 0x150], edi
mov dword [esp + 0x12c], 0x4e3864
mov dword [esp + 0x70], 4
mov edx, dword [0x4e386c]
mov dword [esp + 0x3b0], esi
mov ebx, 0x20
mov dword [esp + edx + 0xdc], 0x4e3860
mov eax, dword [esp + 0xdc]
lea edx, [esp + 0xe0]
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x104], edx
mov dword [esp + ecx + 0x108], edi
mov byte [esp + ecx + 0x10c], bl
lea esi, [esp + ecx + 0xdc]
mov ecx, esi
call fcn.004a8e7d
cmp dword [esi + 0x28], edi
jne 0x48aa71
mov eax, dword [esi + 4]
push edi
or al, 4
mov ecx, esi
or al, 4
push eax
call fcn.004a8b26
lea eax, [esp + 0xe0]
mov dword [esp + 0x3b0], 9
mov dword [esp + 0x74], eax
call fcn.004a93a8
lea ecx, [esp + 0x6c]
mov dword [esp + 0x114], eax
call fcn.004a9245
mov esi, dword [0x51f744]
lea ecx, [esp + 0x64]
call fcn.004a9245
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
jae 0x48aab7
inc eax
mov dword [esi + 4], eax
lea ecx, [esp + 0x64]
call fcn.004a92e1
lea ecx, [esp + 0x6c]
call fcn.004a92e1
lea ecx, [esp + 0xe4]
lea edx, [esp + 0xe8]
mov dword [esp + 0xec], ecx
lea eax, [esp + 0xf4]
lea ecx, [esp + 0xf8]
xor esi, esi
mov dword [esp + 0xf0], edx
mov dword [esp + 0xfc], eax
mov ebp, 0x4e382c
mov dword [esp + 0x100], ecx
lea edx, [esp + 0x104]
lea eax, [esp + 0x108]
push esi
push esi
lea ecx, [esp + 0xe8]
mov byte [esp + 0x3b8], 0xa
mov dword [esp + 0xe8], ebp
mov dword [esp + 0x114], edx
mov dword [esp + 0x118], eax
call fcn.0048c420
push esi
push esi
push esi
lea ecx, [esp + 0xec]
call fcn.0048c400
mov ecx, dword [esp + 0xec]
mov edi, 0x4e37f8
mov dword [esp + 0xe0], edi
mov dword [esp + 0x118], esi
mov dword [esp + 0x11c], esi
mov dword [esp + 0x120], ebx
mov dword [esp + 0x124], 4
mov dword [ecx], esi
mov edx, dword [esp + 0xfc]
mov dword [edx], esi
mov eax, dword [esp + 0x10c]
mov dword [eax], esi
mov ecx, dword [esp + 0xf0]
mov dword [ecx], esi
mov edx, dword [esp + 0x100]
mov dword [edx], esi
mov eax, dword [esp + 0x110]
mov dword [eax], esi
mov ecx, dword [esp + 0xdc]
mov esi, 0x4e37f4
mov edx, dword [ecx + 4]
mov dword [esp + edx + 0xdc], esi
mov eax, dword [esp + 0x1f0]
push 0x4ff004
and eax, 0xffff
lea ecx, [esp + 0x1fc]
push eax
push str.__Build
lea edx, [esp + 0xe8]
push ecx
push edx
mov dword [esp + 0x3c4], 0xc
call fcn.0048c600
add esp, 8
push eax
call fcn.0048c600
add esp, 8
mov ecx, eax
call fcn.0048b920
push eax
call fcn.0048c600
add esp, 8
mov ecx, eax
push 0
call fcn.0048bc20
mov ecx, dword [esp + 0xdc]
lea eax, [esp + 0x12c]
mov dword [esp + 0x74], eax
mov edx, dword [ecx + 4]
mov dword [esp + edx + 0xdc], esi
mov al, byte [esp + 0x124]
mov dword [esp + 0x3b0], 0xd
test al, 1
mov dword [esp + 0xe0], edi
je 0x48ac6f
mov eax, dword [esp + 0xec]
mov eax, dword [eax]
push eax
call fcn.004ac327
add esp, 4
mov ecx, dword [esp + 0x124]
mov edi, dword [esp + 0x114]
and ecx, 0xfffffffe
mov dword [esp + 0x11c], 0
test edi, edi
mov dword [esp + 0x124], ecx
mov dword [esp + 0xe0], ebp
je 0x48acd6
lea ecx, [esp + 0x6c]
call fcn.004a9245
mov eax, dword [edi + 4]
test eax, eax
jbe 0x48acb6
cmp eax, 0xffffffff
jae 0x48acb6
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
lea ecx, [esp + 0x6c]
neg esi
sbb esi, esi
not esi
and esi, edi
call fcn.004a92e1
test esi, esi
je 0x48acd6
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
mov eax, dword [esp + 0xdc]
mov dword [esp + 0x3b0], 0xffffffff
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0xdc], 0x4e3860
lea ecx, [esp + 0x12c]
mov dword [esp + 0x12c], 0x4e3864
call fcn.004a8e0b
mov ebx, dword [esp + 0x68]
jmp 0x48ade7
cmp dword [esp + 0x1e8], 4
jne 0x48ade7
cmp dword [esp + 0x1ec], ebp
jne 0x48ad71
lea esi, [ebx + 8]
push str.Microsoft_Windows_95
mov ecx, esi
call fcn.004ac999
mov eax, dword [esp + 0x1f9]
cmp al, 0x43
jne 0x48ad4e
push str.OSR2
jmp 0x48ad5b
push eax
mov ecx, esi
call fcn.004ac9c0
push 0x4ff018
mov ecx, esi
call fcn.004ac999
mov eax, dword [esp + 0x1e8]
mov dword [ebx + 4], ebp
cmp eax, 4
jne 0x48ade7
cmp dword [esp + 0x1ec], 0xa
jne 0x48adb3
lea esi, [ebx + 8]
push str.Microsoft_Windows_98
mov ecx, esi
call fcn.004ac999
cmp byte [esp + 0x1f9], 0x41
jne 0x48ada0
push 0x4fefc8
mov ecx, esi
call fcn.004ac999
mov eax, dword [esp + 0x1e8]
mov dword [ebx + 4], 1
cmp eax, 4
jne 0x48ade7
cmp dword [esp + 0x1ec], 0x5a
jne 0x48ade7
push str.Microsoft_Windows_Me
lea ecx, [ebx + 8]
call fcn.004ac999
mov dword [ebx + 4], 2
jmp 0x48ade7
push str.Microsoft_Win32s
lea ecx, [ebx + 8]
call fcn.004ac999
mov dword [ebx + 4], 3
mov ecx, 0x4a
xor eax, eax
lea edi, [esp + 0x280]
rep stosd dword es:[edi], eax
mov ecx, 0x19
lea edi, [esp + 0x78]
rep stosd dword es:[edi], eax
mov ecx, 0x14
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
call fcn.0048f6c0
lea edx, [esp + 0x280]
lea ecx, [esp + 0x10]
push edx
mov dword [esp + 0x3b4], 0xe
call fcn.0048f6d0
test eax, eax
je 0x48b7d1
mov eax, dword [esp + 0x320]
dec eax
cmp eax, 4
ja case.default.0x48ae4b
jmp dword [eax*4 + 0x48b844]
lea ecx, [esp + 0x14]
push 0x4fef98
push ecx
jmp 0x48af6f
lea ecx, [esp + 0x14]
push str.Windows
push ecx
jmp 0x48af6f
lea ecx, [esp + 0x14]
push str.Windows_CE
push ecx
jmp 0x48af6f
lea ecx, [esp + 0x280]
push ecx
lea ecx, [esp + 0x14]
call fcn.0048f990
test eax, eax
je 0x48aea3
lea edx, [esp + 0x14]
push str.Windows_95
push edx
jmp 0x48af6f
lea eax, [esp + 0x280]
lea ecx, [esp + 0x10]
push eax
call fcn.0048f9d0
test eax, eax
je 0x48aec7
lea ecx, [esp + 0x14]
push str.Windows_95_SP1
push ecx
jmp 0x48af6f
lea edx, [esp + 0x280]
lea ecx, [esp + 0x10]
push edx
call fcn.0048fa10
test eax, eax
je 0x48aee6
push str.Windows_95_OSR2
jmp 0x48af6a
lea ecx, [esp + 0x280]
push ecx
lea ecx, [esp + 0x14]
call fcn.0048fa50
test eax, eax
je 0x48af07
lea edx, [esp + 0x14]
push str.Windows_98
push edx
jmp 0x48af6f
lea eax, [esp + 0x280]
lea ecx, [esp + 0x10]
push eax
call fcn.0048fa90
test eax, eax
je 0x48af28
lea ecx, [esp + 0x14]
push str.Windows_98_SP1
push ecx
jmp 0x48af6f
lea edx, [esp + 0x280]
lea ecx, [esp + 0x10]
push edx
call fcn.0048fad0
test eax, eax
je 0x48af44
push str.Windows_98_Second_Edition
jmp 0x48af6a
lea ecx, [esp + 0x280]
push ecx
lea ecx, [esp + 0x14]
call fcn.0048fb10
test eax, eax
je 0x48af65
lea edx, [esp + 0x14]
push str.Windows_Millenium_Edition
push edx
jmp 0x48af6f
push str.Windows___
lea eax, [esp + 0x18]
push eax
call fcn.0049ab52
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x78]
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x14]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x48b66b
lea ecx, [esp + 0x280]
push ecx
lea ecx, [esp + 0x14]
call fcn.0048fc50
test eax, eax
je 0x48b0ef
lea edx, [esp + 0x14]
push str.Windows_NT
push edx
call fcn.0049ab52
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x78]
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x280]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
call fcn.0048fd90
test eax, eax
je 0x48b021
push str._Workstation
jmp 0x48b073
lea eax, [esp + 0x280]
lea ecx, [esp + 0x10]
push eax
call fcn.0048fcd0
test eax, eax
je 0x48b03d
push str._Server
jmp 0x48b073
lea eax, [esp + 0x280]
lea ecx, [esp + 0x10]
push eax
call fcn.0048fc80
test eax, eax
je 0x48b059
push str._Primary_Domain_Controller
jmp 0x48b073
lea eax, [esp + 0x280]
lea ecx, [esp + 0x10]
push eax
call fcn.0048fd20
test eax, eax
je 0x48b0ad
push str._Backup_Domain_Controller
lea ecx, [esp + 0x18]
push ecx
call fcn.0049ab52
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x78]
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x280]
lea ecx, [esp + 0x10]
push eax
call fcn.0048fe10
test eax, eax
je 0x48b0cc
push str._Datacenter
jmp 0x48b62d
lea eax, [esp + 0x280]
lea ecx, [esp + 0x10]
push eax
call fcn.0048fde0
test eax, eax
je 0x48b667
push str._Enterprise
jmp 0x48b62d
lea eax, [esp + 0x280]
lea ecx, [esp + 0x10]
push eax
call fcn.0048fb40
test eax, eax
je 0x48b261
lea ecx, [esp + 0x14]
push str.Windows_2000
push ecx
call fcn.0049ab52
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x78]
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x280]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
call fcn.0048fe60
test eax, eax
je 0x48b163
push str._Professional
jmp 0x48b199
lea eax, [esp + 0x280]
lea ecx, [esp + 0x10]
push eax
call fcn.0048feb0
test eax, eax
je 0x48b17f
push str._Server
jmp 0x48b199
lea eax, [esp + 0x280]
lea ecx, [esp + 0x10]
push eax
call fcn.0048ff60
test eax, eax
je 0x48b1d3
push str._Domain_Controller
lea ecx, [esp + 0x18]
push ecx
call fcn.0049ab52
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x78]
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x280]
lea ecx, [esp + 0x10]
push eax
call fcn.0048ff30
test eax, eax
je 0x48b1ef
push str._Datacenter
jmp 0x48b209
lea eax, [esp + 0x280]
lea ecx, [esp + 0x10]
push eax
call fcn.0048ff00
test eax, eax
je 0x48b243
push str._Advanced_Server
lea ecx, [esp + 0x18]
push ecx
call fcn.0049ab52
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x78]
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x280]
lea ecx, [esp + 0x10]
push eax
call fcn.0048fd70
test eax, eax
je 0x48b425
jmp 0x48b3e6
lea eax, [esp + 0x280]
lea ecx, [esp + 0x10]
push eax
call fcn.0048fb70
test eax, eax
je 0x48b448
lea ecx, [esp + 0x14]
push str.Windows_XP
push ecx
call fcn.0049ab52
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x78]
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x280]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
call fcn.0048ffb0
test eax, eax
je 0x48b2d5
push str._Personal
jmp 0x48b327
lea eax, [esp + 0x280]
lea ecx, [esp + 0x10]
push eax
call fcn.0048ffe0
test eax, eax
je 0x48b2f1
push str._Professional
jmp 0x48b327
lea eax, [esp + 0x280]
lea ecx, [esp + 0x10]
push eax
call fcn.00490030
test eax, eax
je 0x48b30d
push str._Server
jmp 0x48b327
lea eax, [esp + 0x280]
lea ecx, [esp + 0x10]
push eax
call fcn.004900e0
test eax, eax
je 0x48b361
push str._Domain_Controller
lea ecx, [esp + 0x18]
push ecx
call fcn.0049ab52
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x78]
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x280]
lea ecx, [esp + 0x10]
push eax
call fcn.004900b0
test eax, eax
je 0x48b37d
push str._Datacenter
jmp 0x48b397
lea eax, [esp + 0x280]
lea ecx, [esp + 0x10]
push eax
call fcn.00490080
test eax, eax
je 0x48b3d1
push str._Advanced_Server
lea ecx, [esp + 0x18]
push ecx
call fcn.0049ab52
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x78]
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x280]
lea ecx, [esp + 0x10]
push eax
call fcn.0048fd70
test eax, eax
je 0x48b425
lea ecx, [esp + 0x14]
push str._Terminal_Services
push ecx
call fcn.0049ab52
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x78]
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x280]
lea ecx, [esp + 0x10]
push eax
call fcn.0048fd80
test eax, eax
je 0x48b667
push str._BackOffice_Small_Business_Edition
jmp 0x48b62d
lea eax, [esp + 0x280]
lea ecx, [esp + 0x10]
push eax
call fcn.0048fba0
test eax, eax
je 0x48b667
lea ecx, [esp + 0x14]
push str.Windows_2003
push ecx
call fcn.0049ab52
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x78]
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x280]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
call fcn.0048ffb0
test eax, eax
je 0x48b4bc
push str._Personal
jmp 0x48b50e
lea eax, [esp + 0x280]
lea ecx, [esp + 0x10]
push eax
call fcn.0048ffe0
test eax, eax
je 0x48b4d8
push str._Professional
jmp 0x48b50e
lea eax, [esp + 0x280]
lea ecx, [esp + 0x10]
push eax
call fcn.00490030
test eax, eax
je 0x48b4f4
push str._Server
jmp 0x48b50e
lea eax, [esp + 0x280]
lea ecx, [esp + 0x10]
push eax
call fcn.004900e0
test eax, eax
je 0x48b548
push str._Domain_Controller
lea ecx, [esp + 0x18]
push ecx
call fcn.0049ab52
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x78]
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x280]
lea ecx, [esp + 0x10]
push eax
call fcn.004900b0
test eax, eax
je 0x48b564
push str._Datacenter
jmp 0x48b57e
lea eax, [esp + 0x280]
lea ecx, [esp + 0x10]
push eax
call fcn.00490080
test eax, eax
je 0x48b5b8
push str._Advanced_Server
lea ecx, [esp + 0x18]
push ecx
call fcn.0049ab52
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x78]
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x280]
lea ecx, [esp + 0x10]
push eax
call fcn.0048fd70
test eax, eax
je 0x48b60c
lea ecx, [esp + 0x14]
push str._Terminal_Services
push ecx
call fcn.0049ab52
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x78]
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x280]
lea ecx, [esp + 0x10]
push eax
call fcn.0048fd80
test eax, eax
je 0x48b667
push str._BackOffice_Small_Business_Edition
jmp 0x48b62d
push str.Unknown_OS
lea ecx, [esp + 0x18]
push ecx
call fcn.0049ab52
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x78]
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x78]
push eax
lea ecx, [ebx + 0x10]
call fcn.004ac746
mov ecx, dword [esp + 0x314]
lea edx, [esp + 0x14]
push ecx
push 0x4fedcc
push edx
call fcn.0049ab52
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x78]
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea ebp, [ebx + 0x14]
and ecx, 3
lea eax, [esp + 0x14]
rep movsb byte es:[edi], byte [esi]
push eax
mov ecx, ebp
call fcn.004ac746
mov ecx, dword [esp + 0x318]
lea edx, [esp + 0x14]
push ecx
push str._02d
push edx
call fcn.0049ab52
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x78]
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 + 0x14]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, ebp
call fcn.004ac746
mov eax, dword [esp + 0x31c]
test eax, eax
je 0x48b775
push eax
lea ecx, [esp + 0x18]
push 0x4fedc0
push ecx
call fcn.0049ab52
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x78]
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x14]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebx + 0xc]
call fcn.004ac746
mov eax, dword [esp + 0x3a4]
test ax, ax
je 0x48b817
and eax, 0xffff
lea ecx, [esp + 0x14]
push eax
push str.Service_Pack__d
push ecx
call fcn.0049ab52
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x78]
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x14]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
jmp 0x48b80f
lea ecx, [esp + 0x78]
push str.Failed_in_call_to_GetOSVersion
push ecx
call fcn.0049ab52
add esp, 8
lea edx, [esp + 0x78]
lea ecx, [ebx + 0x10]
push edx
call fcn.004ac746
push str.unknown
lea ecx, [ebx + 0xc]
call fcn.004ac746
push str.unknown
lea ecx, [ebx + 0x14]
call fcn.004ac746
push str.unknown
lea ecx, [ebx + 0x18]
call fcn.004ac746
lea ecx, [esp + 0x10]
mov dword [esp + 0x3b0], 0xffffffff
call fcn.00462bf0
mov ecx, dword [esp + 0x3a8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3a4
ret