Function at 0x63b140
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x6b7e9f
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 0x63b1b3
lea ecx, [esp + 0x1e0]
mov dword [esp + 0x1e0], 0x94
push ecx
call esi
test eax, eax
je 0x63c468
mov eax, dword [esp + 0x1f0]
sub eax, ebx
je 0x63b9d3
dec eax
je 0x63b916
dec eax
jne 0x63b9e7
cmp dword [esp + 0x1e4], 4
ja 0x63b1e7
push str.Microsoft_Windows_NT
lea ecx, [ebp + 8]
call fcn.006a8493
mov eax, dword [esp + 0x1e4]
mov edi, 9
cmp eax, 5
mov esi, 7
jne 0x63b26e
cmp dword [esp + 0x1e8], ebx
jne 0x63b226
push str.Microsoft_Windows_2000
lea ecx, [ebp + 8]
call fcn.006a8493
mov eax, dword [esp + 0x1e4]
mov dword [ebp + 4], 6
cmp eax, 5
jne 0x63b26e
cmp dword [esp + 0x1e8], 1
jne 0x63b24c
push str.Microsoft_Windows_XP
lea ecx, [ebp + 8]
call fcn.006a8493
mov eax, dword [esp + 0x1e4]
mov dword [ebp + 4], esi
cmp eax, 5
jne 0x63b26e
cmp dword [esp + 0x1e8], 2
jne 0x63b5eb
push str.Microsoft_Windows_2003
lea ecx, [ebp + 8]
call fcn.006a8493
mov dword [ebp + 4], 8
cmp dword [esp + 0x1e4], 6
jne 0x63b32a
mov eax, dword [esp + 0x1e8]
cmp eax, ebx
jne 0x63b2d3
cmp byte [esp + 0x27a], 1
jne 0x63b2b0
push str.Windows_Vista
lea ecx, [ebp + 8]
call fcn.006a8493
push str.Windows_Vista
lea ecx, [ebp + 0x10]
call fcn.006a8240
mov dword [ebp + 4], edi
jmp 0x63b32a
push str.Windows_Server_2008
lea ecx, [ebp + 8]
call fcn.006a8493
push str.Windows_Server_2008
lea ecx, [ebp + 0x10]
call fcn.006a8240
mov dword [ebp + 4], 0xa
jmp 0x63b32a
cmp eax, 1
jne 0x63b5eb
cmp byte [esp + 0x27a], 1
jne 0x63b309
push str.Windows_7
lea ecx, [ebp + 8]
call fcn.006a8493
push str.Windows_7
lea ecx, [ebp + 0x10]
call fcn.006a8240
mov dword [ebp + 4], 0xc
jmp 0x63b32a
push str.Windows_Server_2008_R2
lea ecx, [ebp + 8]
call fcn.006a8493
push str.Windows_Server_2008_R2
lea ecx, [ebp + 0x10]
call fcn.006a8240
mov dword [ebp + 4], 0xb
cmp dword [esp + 0x1e4], 4
ja 0x63b5eb
mov dword [esp + 0x15c], 0x132bc00
mov dword [esp + 0x1d0], ebx
mov dword [esp + 0x1ac], 0x132bbfc
mov dword [esp + 0x6c], 1
mov edx, dword [0x132bc04]
mov dword [esp + 0x3ac], ebx
mov dword [esp + edx + 0x15c], 0x132bbf8
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.006a43fe
cmp dword [esi + 0x28], ebx
jne 0x63b3bf
mov eax, dword [esi + 4]
push ebx
or al, 4
mov ecx, esi
or al, 4
push eax
call fcn.006a40b4
lea eax, [esp + 0x160]
mov dword [esp + 0x3ac], 2
mov dword [esp + 0x14], eax
call fcn.006a4929
lea ecx, [esp + 0x68]
mov dword [esp + 0x194], eax
call fcn.006a47c6
mov ecx, dword [0x13bdf2c]
call fcn.0063c4a0
lea ecx, [esp + 0x68]
call fcn.006a4862
lea ecx, [esp + 0x160]
mov byte [esp + 0x3ac], 3
mov dword [esp + 0x160], 0x132bbc4
call fcn.0063d160
push 4
mov edi, 0x132bb90
push ebx
push ebx
lea ecx, [esp + 0x16c]
mov byte [esp + 0x3b8], 4
mov dword [esp + 0x16c], edi
call fcn.0063d080
mov ecx, dword [esp + 0x15c]
mov esi, 0x132bb8c
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 0x134fa24
push eax
mov eax, dword [esp + 0x1ec]
lea ecx, [esp + 0x1fc]
push str.__Build
push ecx
push 0x134fa14
push edx
push 0x134fa10
push eax
lea ecx, [esp + 0x17c]
push str.version
push ecx
mov dword [esp + 0x3d4], 5
call fcn.0063d1c0
add esp, 8
mov ecx, eax
call fcn.0063c560
push eax
call fcn.0063d1c0
add esp, 8
mov ecx, eax
call fcn.0063c560
push eax
call fcn.0063d1c0
add esp, 8
push eax
call fcn.0063d1c0
add esp, 8
push eax
call fcn.0063d1c0
add esp, 8
mov ecx, eax
call fcn.0063c560
push eax
call fcn.0063d1c0
add esp, 8
mov ecx, eax
push ebx
call fcn.0063c860
mov eax, dword [esp + 0x1e4]
cmp eax, 4
jne 0x63b50f
mov dword [ebp + 4], 5
jmp 0x63b525
cmp eax, 3
jne 0x63b525
cmp dword [esp + 0x1e8], 0x33
jne 0x63b525
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 0x63b570
mov edx, dword [esp + 0x16c]
mov eax, dword [edx]
push eax
call fcn.006a7e6d
add esp, 4
mov ecx, dword [esp + 0x1a4]
mov dword [esp + 0x19c], ebx
and ecx, 0xfffffffe
mov dword [esp + 0x160], 0x132bbc4
mov dword [esp + 0x1a4], ecx
mov ecx, dword [esp + 0x194]
cmp ecx, ebx
je 0x63b5af
call fcn.0063c4d0
cmp eax, ebx
je 0x63b5af
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], 0x132bbf8
lea ecx, [esp + 0x1ac]
mov dword [esp + 0x1ac], 0x132bbfc
call fcn.006a438c
jmp 0x63b9e7
mov dword [esp + 0xd8], 0x132bc00
mov dword [esp + 0x14c], ebx
mov dword [esp + 0x128], 0x132bbfc
mov dword [esp + 0x6c], 4
mov edx, dword [0x132bc04]
mov dword [esp + 0x3ac], esi
mov dword [esp + edx + 0xd8], 0x132bbf8
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.006a43fe
cmp dword [esi + 0x28], ebx
jne 0x63b672
mov eax, dword [esi + 4]
push ebx
or al, 4
mov ecx, esi
or al, 4
push eax
call fcn.006a40b4
lea eax, [esp + 0xdc]
mov dword [esp + 0x3ac], edi
mov dword [esp + 0x70], eax
call fcn.006a4929
lea ecx, [esp + 0x14]
mov dword [esp + 0x110], eax
call fcn.006a47c6
mov esi, dword [0x13bdf2c]
lea ecx, [esp + 0x68]
call fcn.006a47c6
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
jae 0x63b6b4
inc eax
mov dword [esi + 4], eax
lea ecx, [esp + 0x68]
call fcn.006a4862
lea ecx, [esp + 0x14]
call fcn.006a4862
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], 0x132bbc4
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.0063cfe0
mov ecx, dword [esp + 0xe8]
mov edi, 0x132bb90
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, 0x132bb8c
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 0x134fa00
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.0063d1c0
add esp, 8
push eax
call fcn.0063d1c0
add esp, 8
mov ecx, eax
call fcn.0063c560
push eax
call fcn.0063d1c0
add esp, 8
mov ecx, eax
push ebx
call fcn.0063c860
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 0x63b873
mov eax, dword [esp + 0xe8]
mov eax, dword [eax]
push eax
call fcn.006a7e6d
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], 0x132bbc4
je 0x63b8da
lea ecx, [esp + 0x14]
call fcn.006a47c6
mov eax, dword [edi + 4]
cmp eax, ebx
jbe 0x63b8ba
cmp eax, 0xffffffff
jae 0x63b8ba
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.006a4862
cmp esi, ebx
je 0x63b8da
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], 0x132bbf8
lea ecx, [esp + 0x128]
mov dword [esp + 0x128], 0x132bbfc
call fcn.006a438c
jmp 0x63b9e7
cmp dword [esp + 0x1e4], 4
jne 0x63b9e7
cmp dword [esp + 0x1e8], ebx
jne 0x63b971
lea esi, [ebp + 8]
push str.Microsoft_Windows_95
mov ecx, esi
call fcn.006a8493
mov eax, dword [esp + 0x1f5]
cmp al, 0x43
jne 0x63b94e
push str.OSR2
jmp 0x63b95b
push eax
mov ecx, esi
call fcn.006a84ba
push 0x134fa14
mov ecx, esi
call fcn.006a8493
mov eax, dword [esp + 0x1e4]
mov dword [ebp + 4], ebx
cmp eax, 4
jne 0x63b9e7
cmp dword [esp + 0x1e8], 0xa
jne 0x63b9b3
lea esi, [ebp + 8]
push str.Microsoft_Windows_98
mov ecx, esi
call fcn.006a8493
cmp byte [esp + 0x1f5], 0x41
jne 0x63b9a0
push 0x134f9c4
mov ecx, esi
call fcn.006a8493
mov eax, dword [esp + 0x1e4]
mov dword [ebp + 4], 1
cmp eax, 4
jne 0x63b9e7
cmp dword [esp + 0x1e8], 0x5a
jne 0x63b9e7
push str.Microsoft_Windows_Me
lea ecx, [ebp + 8]
call fcn.006a8493
mov dword [ebp + 4], 2
jmp 0x63b9e7
push str.Microsoft_Win32s
lea ecx, [ebp + 8]
call fcn.006a8493
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.006402b0
lea edx, [esp + 0x27c]
lea ecx, [esp + 0x10]
push edx
mov dword [esp + 0x3b0], 0xe
call fcn.006402c0
test eax, eax
je 0x63c40e
mov eax, dword [esp + 0x31c]
dec eax
cmp eax, 4
ja case.default.0x63ba4b
jmp dword [eax*4 + 0x63c484]
lea ecx, [esp + 0x18]
push 0x134f994
push ecx
jmp 0x63bb6f
lea ecx, [esp + 0x18]
push str.Windows
push ecx
jmp 0x63bb6f
lea ecx, [esp + 0x18]
push str.Windows_CE
push ecx
jmp 0x63bb6f
lea ecx, [esp + 0x27c]
push ecx
lea ecx, [esp + 0x14]
call fcn.00640590
test eax, eax
je 0x63baa3
lea edx, [esp + 0x18]
push str.Windows_95
push edx
jmp 0x63bb6f
lea eax, [esp + 0x27c]
lea ecx, [esp + 0x10]
push eax
call fcn.006405d0
test eax, eax
je 0x63bac7
lea ecx, [esp + 0x18]
push str.Windows_95_SP1
push ecx
jmp 0x63bb6f
lea edx, [esp + 0x27c]
lea ecx, [esp + 0x10]
push edx
call fcn.00640610
test eax, eax
je 0x63bae6
push str.Windows_95_OSR2
jmp 0x63bb6a
lea ecx, [esp + 0x27c]
push ecx
lea ecx, [esp + 0x14]
call fcn.00640650
test eax, eax
je 0x63bb07
lea edx, [esp + 0x18]
push str.Windows_98
push edx
jmp 0x63bb6f
lea eax, [esp + 0x27c]
lea ecx, [esp + 0x10]
push eax
call fcn.00640690
test eax, eax
je 0x63bb28
lea ecx, [esp + 0x18]
push str.Windows_98_SP1
push ecx
jmp 0x63bb6f
lea edx, [esp + 0x27c]
lea ecx, [esp + 0x10]
push edx
call fcn.006406d0
test eax, eax
je 0x63bb44
push str.Windows_98_Second_Edition
jmp 0x63bb6a
lea ecx, [esp + 0x27c]
push ecx
lea ecx, [esp + 0x14]
call fcn.00640710
test eax, eax
je 0x63bb65
lea edx, [esp + 0x18]
push str.Windows_Millenium_Edition
push edx
jmp 0x63bb6f
push str.Windows___
lea eax, [esp + 0x1c]
push eax
call fcn.0069508d
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 0x63c2a8
lea ecx, [esp + 0x27c]
push ecx
lea ecx, [esp + 0x14]
call fcn.00640840
test eax, eax
je 0x63bcef
lea edx, [esp + 0x18]
push str.Windows_NT
push edx
call fcn.0069508d
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.00640980
test eax, eax
je 0x63bc21
push str._Workstation
jmp 0x63bc73
lea eax, [esp + 0x27c]
lea ecx, [esp + 0x10]
push eax
call fcn.006408c0
test eax, eax
je 0x63bc3d
push str._Server
jmp 0x63bc73
lea eax, [esp + 0x27c]
lea ecx, [esp + 0x10]
push eax
call fcn.00640870
test eax, eax
je 0x63bc59
push str._Primary_Domain_Controller
jmp 0x63bc73
lea eax, [esp + 0x27c]
lea ecx, [esp + 0x10]
push eax
call fcn.00640910
test eax, eax
je 0x63bcad
push str._Backup_Domain_Controller
lea ecx, [esp + 0x1c]
push ecx
call fcn.0069508d
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.00640a00
test eax, eax
je 0x63bccc
push str._Datacenter
jmp 0x63c221
lea eax, [esp + 0x27c]
lea ecx, [esp + 0x10]
push eax
call fcn.006409d0
test eax, eax
je 0x63c25b
push str._Enterprise
jmp 0x63c221
lea eax, [esp + 0x27c]
lea ecx, [esp + 0x10]
push eax
call fcn.00640740
test eax, eax
je 0x63be61
lea ecx, [esp + 0x18]
push str.Windows_2000
push ecx
call fcn.0069508d
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.00640a50
test eax, eax
je 0x63bd63
push str._Professional
jmp 0x63bd99
lea eax, [esp + 0x27c]
lea ecx, [esp + 0x10]
push eax
call fcn.00640aa0
test eax, eax
je 0x63bd7f
push str._Server
jmp 0x63bd99
lea eax, [esp + 0x27c]
lea ecx, [esp + 0x10]
push eax
call fcn.00640b50
test eax, eax
je 0x63bdd3
push str._Domain_Controller
lea ecx, [esp + 0x1c]
push ecx
call fcn.0069508d
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.00640b20
test eax, eax
je 0x63bdef
push str._Datacenter
jmp 0x63be09
lea eax, [esp + 0x27c]
lea ecx, [esp + 0x10]
push eax
call fcn.00640af0
test eax, eax
je 0x63be43
push str._Advanced_Server
lea ecx, [esp + 0x1c]
push ecx
call fcn.0069508d
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.00640960
test eax, eax
je 0x63c025
jmp 0x63bfe6
lea eax, [esp + 0x27c]
lea ecx, [esp + 0x10]
push eax
call fcn.00640770
test eax, eax
je 0x63c043
lea ecx, [esp + 0x18]
push str.Windows_XP
push ecx
call fcn.0069508d
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.00640ba0
test eax, eax
je 0x63bed5
push str._Personal
jmp 0x63bf27
lea eax, [esp + 0x27c]
lea ecx, [esp + 0x10]
push eax
call fcn.00640bd0
test eax, eax
je 0x63bef1
push str._Professional
jmp 0x63bf27
lea eax, [esp + 0x27c]
lea ecx, [esp + 0x10]
push eax
call fcn.00640c20
test eax, eax
je 0x63bf0d
push str._Server
jmp 0x63bf27
lea eax, [esp + 0x27c]
lea ecx, [esp + 0x10]
push eax
call fcn.00640cd0
test eax, eax
je 0x63bf61
push str._Domain_Controller
lea ecx, [esp + 0x1c]
push ecx
call fcn.0069508d
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.00640ca0
test eax, eax
je 0x63bf7d
push str._Datacenter
jmp 0x63bf97
lea eax, [esp + 0x27c]
lea ecx, [esp + 0x10]
push eax
call fcn.00640c70
test eax, eax
je 0x63bfd1
push str._Advanced_Server
lea ecx, [esp + 0x1c]
push ecx
call fcn.0069508d
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.00640960
test eax, eax
je 0x63c025
lea ecx, [esp + 0x18]
push str._Terminal_Services
push ecx
call fcn.0069508d
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.00640970
test eax, eax
je 0x63c25b
jmp 0x63c21c
lea eax, [esp + 0x27c]
lea ecx, [esp + 0x10]
push eax
call fcn.006407a0
test eax, eax
je 0x63c25b
lea ecx, [esp + 0x18]
push str.Windows_2003
push ecx
call fcn.0069508d
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.00640ba0
test eax, eax
je 0x63c0b7
push str._Personal
jmp 0x63c109
lea eax, [esp + 0x27c]
lea ecx, [esp + 0x10]
push eax
call fcn.00640bd0
test eax, eax
je 0x63c0d3
push str._Professional
jmp 0x63c109
lea eax, [esp + 0x27c]
lea ecx, [esp + 0x10]
push eax
call fcn.00640c20
test eax, eax
je 0x63c0ef
push str._Server
jmp 0x63c109
lea eax, [esp + 0x27c]
lea ecx, [esp + 0x10]
push eax
call fcn.00640cd0
test eax, eax
je 0x63c143
push str._Domain_Controller
lea ecx, [esp + 0x1c]
push ecx
call fcn.0069508d
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.00640ca0
test eax, eax
je 0x63c15f
push str._Datacenter
jmp 0x63c179
lea eax, [esp + 0x27c]
lea ecx, [esp + 0x10]
push eax
call fcn.00640c70
test eax, eax
je 0x63c1b3
push str._Advanced_Server
lea ecx, [esp + 0x1c]
push ecx
call fcn.0069508d
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.00640960
test eax, eax
je 0x63c207
lea ecx, [esp + 0x18]
push str._Terminal_Services
push ecx
call fcn.0069508d
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.00640970
test eax, eax
je 0x63c25b
push str._BackOffice_Small_Business_Edition
lea ecx, [esp + 0x1c]
push ecx
call fcn.0069508d
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 0x63c2b1
jmp 0x63c2a4
lea ecx, [esp + 0x18]
push str.Unknown_OS
push ecx
call fcn.0069508d
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.006a8240
mov ecx, dword [esp + 0x310]
lea edx, [esp + 0x18]
push ecx
push 0x134f7c8
push edx
call fcn.0069508d
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.006a8240
mov ecx, dword [esp + 0x314]
lea edx, [esp + 0x18]
push ecx
push str._02d
push edx
call fcn.0069508d
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.006a8493
mov eax, dword [esp + 0x318]
test eax, eax
je 0x63c3b2
push eax
lea ecx, [esp + 0x1c]
push 0x134f7bc
push ecx
call fcn.0069508d
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.006a8240
mov eax, dword [esp + 0x3a0]
test ax, ax
je 0x63c454
and eax, 0xffff
lea ecx, [esp + 0x18]
push eax
push str.Service_Pack__d
push ecx
call fcn.0069508d
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 0x63c44c
lea ecx, [esp + 0x74]
push str.Failed_in_call_to_GetOSVersion
push ecx
call fcn.0069508d
add esp, 8
lea edx, [esp + 0x74]
lea ecx, [ebp + 0x10]
push edx
call fcn.006a8240
push 0x134f784
lea ecx, [ebp + 0xc]
call fcn.006a8240
push 0x134f784
lea ecx, [ebp + 0x14]
call fcn.006a8240
push 0x134f784
lea ecx, [ebp + 0x18]
call fcn.006a8240
lea ecx, [esp + 0x10]
mov dword [esp + 0x3ac], 0xffffffff
call fcn.005ff760
mov ecx, dword [esp + 0x3a4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3a0
ret