Function at 0x14002f410
Capabilities:
Check os version
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x140309918]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rdi, rdx
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rbp - 0x4c]
call fcn.1402161f0
mov dword [rbp - 0x50], 0x11c
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1400313e7
cmp dword [rbp - 0x4c], 6
jb 0x14002f4c4
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x44]
call fcn.14002c4e0
test al, al
je 0x14002f4c4
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x44]
cmp dword [rbp - 0x4c], ecx
jne 0x14002f4b7
cmp dword [rbp - 0x48], eax
je 0x14002f4c4
mov dword [rbp - 0x4c], ecx
mov dword [rbp - 0x48], eax
mov eax, dword [rsp + 0x48]
mov dword [rbp - 0x44], eax
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.GetNativeSystemInfo
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rsp + 0x50]
test rax, rax
je 0x14002f4ef
call rax
jmp 0x14002f4f5
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [rbp - 0x40], 2
jne 0x1400313e7
cmp dword [rbp - 0x4c], 4
jbe 0x1400313e7
mov edx, 0x100
mov rcx, rdi
lea r8, str.Microsoft
sub r8, rdi
nop dword [rax + rax]
lea rax, [rdx + 0x7ffffefe]
test rax, rax
je 0x14002f543
movzx eax, word [r8 + rcx]
test ax, ax
je 0x14002f543
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x14002f520
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
xor r13d, r13d
mov word [rax], r13w
lea r12, vtable.srl::Exists.0
movzx eax, word [rsp + 0x50]
cmp ax, 6
jne 0x14002f5dd
mov edx, 0x11660
lea rcx, [rbp - 0x80]
call fcn.140021760
nop
mov qword [rsp + 0x30], r12
mov byte [rsp + 0x38], 1
xor r9d, r9d
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x80]
call fcn.14004db00
nop
lea rax, vtable.srl::Value.0
mov qword [rsp + 0x30], rax
lea rcx, [rbp - 0x80]
call fcn.1400218f0
mov qword [rsp + 0x30], r12
mov byte [rsp + 0x38], 1
mov edx, 0x116c0
lea rcx, [rbp - 0x80]
call fcn.140021760
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004db00
nop
lea rcx, [rbp - 0x80]
call fcn.1400218f0
nop
jmp 0x14002f64b
cmp ax, 9
jne 0x14002f64b
mov qword [rsp + 0x30], r12
mov byte [rsp + 0x38], 1
mov edx, 0x11660
lea rcx, [rbp - 0x80]
call fcn.140021760
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004db00
nop
lea rcx, [rbp - 0x80]
call fcn.1400218f0
nop
mov qword [rsp + 0x30], r12
mov byte [rsp + 0x38], 1
mov edx, 0x116c1
lea rcx, [rbp - 0x80]
call fcn.140021760
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004db00
nop
lea rcx, [rbp - 0x80]
call fcn.1400218f0
nop
xor r14b, r14b
xor r15b, r15b
xor sil, sil
mov ebx, 0x7ffffffe
cmp dword [rbp - 0x4c], 0xa
jne 0x14002f7c4
mov ecx, 0x100
mov rax, rdi
cmp dword [rbp - 0x44], 0x55f0
jb 0x14002f720
cmp word [rax], 0
je 0x14002f688
add rax, 2
sub rcx, 1
jne 0x14002f678
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x14002f6e4
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x14002f6d5
mov rax, rbx
lea r9, str.Windows_11
sub r9, rcx
test rax, rax
je 0x14002f6d5
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x14002f6d5
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x14002f6b4
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r13w
mov qword [rsp + 0x30], r12
mov byte [rsp + 0x38], 1
mov edx, 0x117a4
lea rcx, [rbp - 0x80]
call fcn.140021760
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004db00
nop
lea rcx, [rbp - 0x80]
call fcn.1400218f0
nop
jmp 0x14002f7c4
cmp word [rax], 0
je 0x14002f730
add rax, 2
sub rcx, 1
jne 0x14002f720
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x14002f790
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x14002f781
mov rax, rbx
lea r9, str.Windows_10
sub r9, rcx
nop dword [rax]
test rax, rax
je 0x14002f781
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x14002f781
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x14002f760
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r13w
mov qword [rsp + 0x30], r12
mov byte [rsp + 0x38], 1
mov edx, 0x1175c
lea rcx, [rbp - 0x80]
call fcn.140021760
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004db00
nop
lea rcx, [rbp - 0x80]
call fcn.1400218f0
nop
lea r12, str.Enterprise_Edition_for_Itanium_based_Systems
cmp dword [rbp - 0x4c], 6
jne case.0x14002fe58.5
cmp dword [rbp - 0x48], 0
jne 0x14002f94b
mov ecx, 0x100
mov rax, rdi
cmp byte [rbp + 0xca], 1
jne 0x14002f8a3
cmp word [rax], 0
je 0x14002f804
add rax, 2
sub rcx, 1
jne 0x14002f7f4
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x14002f860
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x14002f851
mov rax, rbx
lea r9, str.Windows_Vista
sub r9, rcx
test rax, rax
je 0x14002f851
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x14002f851
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x14002f830
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r13w
lea rax, vtable.srl::Exists.0
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x38], 1
mov edx, 0x11653
lea rcx, [rbp - 0x80]
call fcn.140021760
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004db00
nop
lea rcx, [rbp - 0x80]
call fcn.1400218f0
nop
mov r14b, 1
jmp 0x14002f94b
cmp word [rax], 0
je 0x14002f8b3
add rax, 2
sub rcx, 1
jne 0x14002f8a3
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x14002f910
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x14002f901
mov rax, rbx
lea r9, str.Windows_Server_2008
sub r9, rcx
nop
test rax, rax
je 0x14002f901
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x14002f901
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x14002f8e0
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r13w
lea rax, vtable.srl::Exists.0
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x38], 1
mov edx, 0x11729
lea rcx, [rbp - 0x80]
call fcn.140021760
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004db00
nop
lea rcx, [rbp - 0x80]
call fcn.1400218f0
nop
cmp dword [rbp - 0x48], 1
jne 0x14002facb
mov ecx, 0x100
mov rax, rdi
cmp byte [rbp + 0xca], 1
jne 0x14002fa23
nop word [rax + rax]
cmp word [rax], 0
je 0x14002f980
add rax, 2
sub rcx, 1
jne 0x14002f970
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x14002f9e0
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x14002f9d1
mov rax, rbx
lea r9, str.Windows_7
sub r9, rcx
nop dword [rax]
test rax, rax
je 0x14002f9d1
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x14002f9d1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x14002f9b0
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r13w
lea rax, vtable.srl::Exists.0
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x38], 1
mov edx, 0x116b6
lea rcx, [rbp - 0x80]
call fcn.140021760
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004db00
nop
lea rcx, [rbp - 0x80]
call fcn.1400218f0
nop
mov r15b, 1
jmp 0x14002facb
cmp word [rax], 0
je 0x14002fa33
add rax, 2
sub rcx, 1
jne 0x14002fa23
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x14002fa90
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x14002fa81
mov rax, rbx
lea r9, str.Windows_Server_2008_R2
sub r9, rcx
nop
test rax, rax
je 0x14002fa81
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x14002fa81
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x14002fa60
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r13w
lea rax, vtable.srl::Exists.0
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x38], 1
mov edx, 0x1172a
lea rcx, [rbp - 0x80]
call fcn.140021760
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004db00
nop
lea rcx, [rbp - 0x80]
call fcn.1400218f0
nop
cmp dword [rbp - 0x48], 2
jne 0x14002fc7e
mov ecx, 0x100
mov rax, rdi
cmp byte [rbp + 0xca], 1
jne 0x14002fbd7
nop word [rax + rax]
cmp word [rax], 0
je 0x14002fb00
add rax, 2
sub rcx, 1
jne 0x14002faf0
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x14002fb60
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x14002fb51
mov rax, rbx
lea r9, str.Windows_8
sub r9, rcx
nop dword [rax]
test rax, rax
je 0x14002fb51
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x14002fb51
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x14002fb30
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r13w
lea rsi, vtable.srl::Exists.0
mov qword [rsp + 0x30], rsi
mov byte [rsp + 0x38], 1
mov edx, 0x1173c
lea rcx, [rbp - 0x80]
call fcn.140021760
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004db00
nop
lea rcx, [rbp - 0x80]
call fcn.1400218f0
nop
mov qword [rsp + 0x30], rsi
mov byte [rsp + 0x38], 1
mov edx, 0x11745
lea rcx, [rbp - 0x80]
call fcn.140021760
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004db00
nop
lea rcx, [rbp - 0x80]
call fcn.1400218f0
nop
mov sil, 1
jmp 0x14002fc7e
cmp word [rax], 0
je 0x14002fbe7
add rax, 2
sub rcx, 1
jne 0x14002fbd7
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x14002fc43
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x14002fc34
mov rax, rbx
lea r9, str.Windows_Server_2012
sub r9, rcx
test rax, rax
je 0x14002fc34
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x14002fc34
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x14002fc13
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r13w
lea rax, vtable.srl::Exists.0
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x38], 1
mov edx, 0x1173d
lea rcx, [rbp - 0x80]
call fcn.140021760
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004db00
nop
lea rcx, [rbp - 0x80]
call fcn.1400218f0
nop
cmp dword [rbp - 0x48], 3
jne 0x14002fdfb
mov ecx, 0x100
mov rax, rdi
cmp byte [rbp + 0xca], 1
jne 0x14002fd50
nop dword [rax]
cmp word [rax], 0
je 0x14002fcb0
add rax, 2
sub rcx, 1
jne 0x14002fca0
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x14002fd10
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x14002fd01
mov rax, rbx
lea r9, str.Windows_8.1
sub r9, rcx
nop dword [rax]
test rax, rax
je 0x14002fd01
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x14002fd01
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x14002fce0
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r13w
lea rax, vtable.srl::Exists.0
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x38], 1
mov edx, 0x1174e
lea rcx, [rbp - 0x80]
call fcn.140021760
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004db00
nop
lea rcx, [rbp - 0x80]
call fcn.1400218f0
nop
jmp 0x14002fdfb
cmp word [rax], 0
je 0x14002fd60
add rax, 2
sub rcx, 1
jne 0x14002fd50
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x14002fdc0
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x14002fdb1
mov rax, rbx
lea r9, str.Windows_Server_2012_R2
sub r9, rcx
nop dword [rax]
test rax, rax
je 0x14002fdb1
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x14002fdb1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x14002fd90
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r13w
lea rax, vtable.srl::Exists.0
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x38], 1
mov edx, 0x1174f
lea rcx, [rbp - 0x80]
call fcn.140021760
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004db00
nop
lea rcx, [rbp - 0x80]
call fcn.1400218f0
nop
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.GetProductInfo
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rsp + 0x4c]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
mov edx, dword [rbp - 0x48]
mov ecx, dword [rbp - 0x4c]
call rax
mov eax, dword [rsp + 0x4c]
dec eax
cmp eax, 0x2f
ja case.0x14002fe58.5
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0x31468]
mov ecx, dword [rdx + rax*4 + 0x3141c]
add rcx, rdx
jmp rcx
mov ecx, 0x100
mov rax, rdi
cmp word [rax], 0
je 0x14002fe72
add rax, 2
sub rcx, 1
jne 0x14002fe62
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x14002fed0
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x14002fec1
mov rax, rbx
lea r9, str.Professional_Edition
sub r9, rcx
nop
test rax, rax
je 0x14002fec1
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x14002fec1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x14002fea0
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r13w
test r15b, r15b
je 0x14002ff15
lea rsi, vtable.srl::Exists.0
mov qword [rsp + 0x30], rsi
mov byte [rsp + 0x38], 1
mov edx, 0x11738
lea rcx, [rbp - 0x80]
call fcn.140021760
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004db00
nop
lea rcx, [rbp - 0x80]
call fcn.1400218f0
nop
jmp 0x140030b07
test sil, sil
lea rsi, vtable.srl::Exists.0
je 0x140030b07
mov qword [rsp + 0x30], rsi
mov byte [rsp + 0x38], 1
mov edx, 0x11746
lea rcx, [rbp - 0x80]
call fcn.140021760
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004db00
nop
lea rcx, [rbp - 0x80]
call fcn.1400218f0
nop
mov qword [rsp + 0x30], rsi
mov byte [rsp + 0x38], 0
mov edx, 0x11745
lea rcx, [rbp - 0x80]
call fcn.140021760
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004db00
nop
lea rcx, [rbp - 0x80]
call fcn.1400218f0
nop
jmp 0x140030b07
mov ecx, 0x100
mov rax, rdi
nop word [rax + rax]
cmp word [rax], 0
je 0x14002ffb0
add rax, 2
sub rcx, 1
jne 0x14002ffa0
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x140030010
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030001
mov rax, rbx
lea r9, str.Ultimate_Edition
sub r9, rcx
nop dword [rax]
test rax, rax
je 0x140030001
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140030001
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x14002ffe0
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r13w
lea rsi, vtable.srl::Exists.0
test r14b, r14b
je 0x140030055
mov qword [rsp + 0x30], rsi
mov byte [rsp + 0x38], 1
mov edx, 0x1166b
lea rcx, [rbp - 0x80]
call fcn.140021760
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004db00
nop
lea rcx, [rbp - 0x80]
call fcn.1400218f0
nop
jmp 0x140030b07
test r15b, r15b
je 0x140030b07
mov qword [rsp + 0x30], rsi
mov byte [rsp + 0x38], 1
mov edx, 0x11735
lea rcx, [rbp - 0x80]
call fcn.140021760
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004db00
nop
lea rcx, [rbp - 0x80]
call fcn.1400218f0
nop
jmp 0x140030b07
mov ecx, 0x100
mov rax, rdi
nop
cmp word [rax], 0
je 0x1400300b0
add rax, 2
sub rcx, 1
jne 0x1400300a0
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x140030110
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030101
mov rax, rbx
lea r9, str.Home_Premium_Edition
sub r9, rcx
nop dword [rax]
test rax, rax
je 0x140030101
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140030101
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x1400300e0
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r13w
lea rsi, vtable.srl::Exists.0
test r14b, r14b
je 0x140030155
mov qword [rsp + 0x30], rsi
mov byte [rsp + 0x38], 1
mov edx, 0x1166a
lea rcx, [rbp - 0x80]
call fcn.140021760
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004db00
nop
lea rcx, [rbp - 0x80]
call fcn.1400218f0
nop
jmp 0x140030b07
test r15b, r15b
je 0x140030b07
mov qword [rsp + 0x30], rsi
mov byte [rsp + 0x38], 1
mov edx, 0x11739
lea rcx, [rbp - 0x80]
call fcn.140021760
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004db00
nop
lea rcx, [rbp - 0x80]
call fcn.1400218f0
nop
jmp 0x140030b07
mov ecx, 0x100
mov rax, rdi
nop
cmp word [rax], 0
je 0x1400301b0
add rax, 2
sub rcx, 1
jne 0x1400301a0
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x140030210
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030201
mov rax, rbx
lea r9, str.Home_Basic_Edition
sub r9, rcx
nop dword [rax]
test rax, rax
je 0x140030201
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140030201
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x1400301e0
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r13w
lea rsi, vtable.srl::Exists.0
test r14b, r14b
je 0x140030255
mov qword [rsp + 0x30], rsi
mov byte [rsp + 0x38], 1
mov edx, 0x11669
lea rcx, [rbp - 0x80]
call fcn.140021760
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004db00
nop
lea rcx, [rbp - 0x80]
call fcn.1400218f0
nop
jmp 0x140030b07
test r15b, r15b
je 0x140030b07
mov qword [rsp + 0x30], rsi
mov byte [rsp + 0x38], 1
mov edx, 0x1173a
lea rcx, [rbp - 0x80]
call fcn.140021760
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004db00
nop
lea rcx, [rbp - 0x80]
call fcn.1400218f0
nop
jmp 0x140030b07
mov ecx, 0x100
mov rax, rdi
nop
cmp word [rax], 0
je 0x1400302b0
add rax, 2
sub rcx, 1
jne 0x1400302a0
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x140030310
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030301
mov rax, rbx
lea r9, str.Enterprise_Edition
sub r9, rcx
nop dword [rax]
test rax, rax
je 0x140030301
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140030301
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x1400302e0
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r13w
test r14b, r14b
je 0x140030355
lea rsi, vtable.srl::Exists.0
mov qword [rsp + 0x30], rsi
mov byte [rsp + 0x38], 1
mov edx, 0x11668
lea rcx, [rbp - 0x80]
call fcn.140021760
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004db00
nop
lea rcx, [rbp - 0x80]
call fcn.1400218f0
nop
jmp 0x140030b07
test r15b, r15b
je 0x14003039a
lea rsi, vtable.srl::Exists.0
mov qword [rsp + 0x30], rsi
mov byte [rsp + 0x38], 1
mov edx, 0x11737
lea rcx, [rbp - 0x80]
call fcn.140021760
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004db00
nop
lea rcx, [rbp - 0x80]
call fcn.1400218f0
nop
jmp 0x140030b07
test sil, sil
lea rsi, vtable.srl::Exists.0
je 0x140030b07
mov qword [rsp + 0x30], rsi
mov byte [rsp + 0x38], 1
mov edx, 0x11747
lea rcx, [rbp - 0x80]
call fcn.140021760
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004db00
nop
lea rcx, [rbp - 0x80]
call fcn.1400218f0
nop
mov qword [rsp + 0x30], rsi
mov byte [rsp + 0x38], 0
mov edx, 0x11745
lea rcx, [rbp - 0x80]
call fcn.140021760
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004db00
nop
lea rcx, [rbp - 0x80]
call fcn.1400218f0
nop
jmp 0x140030b07
mov ecx, 0x100
mov rax, rdi
nop
cmp word [rax], 0
je 0x140030430
add rax, 2
sub rcx, 1
jne 0x140030420
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x140030490
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030481
mov rax, rbx
lea r9, str.Business_Edition
sub r9, rcx
nop dword [rax]
test rax, rax
je 0x140030481
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140030481
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140030460
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r13w
lea rsi, vtable.srl::Exists.0
test r14b, r14b
je 0x140030b07
mov qword [rsp + 0x30], rsi
mov byte [rsp + 0x38], 1
mov edx, 0x11667
lea rcx, [rbp - 0x80]
call fcn.140021760
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004db00
nop
lea rcx, [rbp - 0x80]
call fcn.1400218f0
nop
jmp 0x140030b07
mov ecx, 0x100
mov rax, rdi
cmp word [rax], 0
je 0x1400304f1
add rax, 2
sub rcx, 1
jne 0x1400304e1
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x140030550
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030541
mov rax, rbx
lea r9, str.Starter_Edition
sub r9, rcx
nop dword [rax]
test rax, rax
je 0x140030541
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140030541
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140030520
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r13w
lea rsi, vtable.srl::Exists.0
test r15b, r15b
je 0x140030b07
mov qword [rsp + 0x30], rsi
mov byte [rsp + 0x38], 1
mov edx, 0x1173b
lea rcx, [rbp - 0x80]
call fcn.140021760
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004db00
nop
lea rcx, [rbp - 0x80]
call fcn.1400218f0
nop
jmp 0x140030b07
mov ecx, 0x100
mov rax, rdi
cmp word [rax], 0
je 0x1400305b1
add rax, 2
sub rcx, 1
jne 0x1400305a1
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je case.0x14002fe58.5
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030af1
mov rax, rbx
lea r9, str.Cluster_Server_Edition
sub r9, rcx
test rax, rax
je 0x140030af1
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140030af1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x1400305e5
jmp 0x140030af1
mov ecx, 0x100
mov rax, rdi
nop dword [rax + rax]
cmp word [rax], 0
je 0x140030630
add rax, 2
sub rcx, 1
jne 0x140030620
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je case.0x14002fe58.5
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030af1
mov rax, rbx
lea r9, str.Datacenter_Edition
sub r9, rcx
test rax, rax
je 0x140030af1
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140030af1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140030664
jmp 0x140030af1
mov ecx, 0x100
mov rax, rdi
nop word [rax + rax]
cmp word [rax], 0
je 0x1400306b0
add rax, 2
sub rcx, 1
jne 0x1400306a0
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je case.0x14002fe58.5
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030af1
mov rax, rbx
lea r9, str.Datacenter_Edition__core_installation_
sub r9, rcx
test rax, rax
je 0x140030af1
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140030af1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x1400306e4
jmp 0x140030af1
mov ecx, 0x100
mov rax, rdi
nop word [rax + rax]
cmp word [rax], 0
je 0x140030730
add rax, 2
sub rcx, 1
jne 0x140030720
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je case.0x14002fe58.5
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030af1
mov rax, rbx
lea r9, str.Enterprise_Edition
sub r9, rcx
test rax, rax
je 0x140030af1
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140030af1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140030764
jmp 0x140030af1
mov ecx, 0x100
mov rax, rdi
nop word [rax + rax]
cmp word [rax], 0
je 0x1400307b0
add rax, 2
sub rcx, 1
jne 0x1400307a0
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je case.0x14002fe58.5
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030af1
mov rax, rbx
lea r9, str.Enterprise_Edition__core_installation_
sub r9, rcx
test rax, rax
je 0x140030af1
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140030af1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x1400307e4
jmp 0x140030af1
mov ecx, 0x100
mov rax, rdi
nop word [rax + rax]
cmp word [rax], 0
je 0x140030830
add rax, 2
sub rcx, 1
jne 0x140030820
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je case.0x14002fe58.5
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030af1
mov rax, rbx
mov r9, r12
sub r9, rcx
test rax, rax
je 0x140030af1
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140030af1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140030860
jmp 0x140030af1
mov ecx, 0x100
mov rax, rdi
cmp word [rax], 0
je 0x1400308a6
add rax, 2
sub rcx, 1
jne 0x140030896
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je case.0x14002fe58.5
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030af1
mov rax, rbx
lea r9, str.Small_Business_Server
sub r9, rcx
nop word [rax + rax]
test rax, rax
je 0x140030af1
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140030af1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x1400308e0
jmp 0x140030af1
mov ecx, 0x100
mov rax, rdi
cmp word [rax], 0
je 0x140030926
add rax, 2
sub rcx, 1
jne 0x140030916
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je case.0x14002fe58.5
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030af1
mov rax, rbx
lea r9, str.Small_Business_Server_Premium_Edition
sub r9, rcx
nop word [rax + rax]
test rax, rax
je 0x140030af1
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140030af1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140030960
jmp 0x140030af1
mov ecx, 0x100
mov rax, rdi
cmp word [rax], 0
je 0x1400309a6
add rax, 2
sub rcx, 1
jne 0x140030996
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je case.0x14002fe58.5
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030af1
mov rax, rbx
lea r9, str.Standard_Edition
sub r9, rcx
nop word [rax + rax]
test rax, rax
je 0x140030af1
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140030af1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x1400309e0
jmp 0x140030af1
mov ecx, 0x100
mov rax, rdi
cmp word [rax], 0
je 0x140030a26
add rax, 2
sub rcx, 1
jne 0x140030a16
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je case.0x14002fe58.5
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030af1
mov rax, rbx
lea r9, str.Standard_Edition__core_installation_
sub r9, rcx
nop word [rax + rax]
test rax, rax
je 0x140030af1
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140030af1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140030a60
jmp 0x140030af1
mov ecx, 0x100
mov rax, rdi
nop
cmp word [rax], 0
je 0x140030aa0
add rax, 2
sub rcx, 1
jne 0x140030a90
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je case.0x14002fe58.5
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030af1
mov rax, rbx
lea r9, str.Web_Server_Edition
sub r9, rcx
nop dword [rax]
test rax, rax
je 0x140030af1
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140030af1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140030ad0
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r13w
lea rsi, vtable.srl::Exists.0
cmp dword [rbp - 0x4c], 5
jne 0x14003133c
mov eax, dword [rbp - 0x48]
cmp eax, 2
jne 0x140031226
lea ecx, [rax + 0x57]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x140030bdb
mov ecx, 0x100
mov rax, rdi
cmp word [rax], 0
je 0x140030b46
add rax, 2
sub rcx, 1
jne 0x140030b36
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x140030ba2
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030b93
mov rax, rbx
lea r9, str.Windows_Server_2003_R2_
sub r9, rcx
test rax, rax
je 0x140030b93
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140030b93
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140030b72
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r13w
mov qword [rsp + 0x30], rsi
mov byte [rsp + 0x38], 1
mov edx, 0x1165f
lea rcx, [rbp - 0x80]
call fcn.140021760
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004db00
nop
lea rcx, [rbp - 0x80]
call fcn.1400218f0
nop
jmp 0x140030ed4
mov ecx, 0x2000
movzx eax, word [rbp + 0xc8]
cmp ax, cx
jne 0x140030c9d
mov ecx, 0x100
mov rax, rdi
cmp word [rax], 0
je 0x140030c08
add rax, 2
sub rcx, 1
jne 0x140030bf8
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x140030c64
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030c55
mov rax, rbx
lea r9, str.Windows_Storage_Server_2003
sub r9, rcx
test rax, rax
je 0x140030c55
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140030c55
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140030c34
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r13w
mov qword [rsp + 0x30], rsi
mov byte [rsp + 0x38], 1
mov edx, 0x1165f
lea rcx, [rbp - 0x80]
call fcn.140021760
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004db00
nop
lea rcx, [rbp - 0x80]
call fcn.1400218f0
nop
jmp 0x140030ed4
mov ecx, 0x8000
cmp ax, cx
jne 0x140030d59
mov ecx, 0x100
mov rax, rdi
cmp word [rax], 0
je 0x140030cc3
add rax, 2
sub rcx, 1
jne 0x140030cb3
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x140030d20
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030d11
mov rax, rbx
lea r9, str.Windows_Home_Server
sub r9, rcx
nop
test rax, rax
je 0x140030d11
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140030d11
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140030cf0
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r13w
mov qword [rsp + 0x30], rsi
mov byte [rsp + 0x38], 1
mov edx, 0x11744
lea rcx, [rbp - 0x80]
call fcn.140021760
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004db00
nop
lea rcx, [rbp - 0x80]
call fcn.1400218f0
nop
jmp 0x140030ed4
cmp byte [rbp + 0xca], 1
jne 0x140030e29
cmp word [rsp + 0x50], 9
jne 0x140030e29
mov ecx, 0x100
mov rax, rdi
nop word [rax + rax]
cmp word [rax], 0
je 0x140030d90
add rax, 2
sub rcx, 1
jne 0x140030d80
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x140030df0
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030de1
mov rax, rbx
lea r9, str.Windows_XP_Professional_x64_Edition
sub r9, rcx
nop dword [rax]
test rax, rax
je 0x140030de1
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140030de1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140030dc0
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r13w
mov qword [rsp + 0x30], rsi
mov byte [rsp + 0x38], 1
mov edx, 0x1166c
lea rcx, [rbp - 0x80]
call fcn.140021760
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004db00
nop
lea rcx, [rbp - 0x80]
call fcn.1400218f0
nop
jmp 0x140030ed4
mov ecx, 0x100
mov rax, rdi
cmp word [rax], 0
je 0x140030e41
add rax, 2
sub rcx, 1
jne 0x140030e31
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x140030ea0
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030e91
mov rax, rbx
lea r9, str.Windows_Server_2003_
sub r9, rcx
nop dword [rax]
test rax, rax
je 0x140030e91
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140030e91
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140030e70
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r13w
mov qword [rsp + 0x30], rsi
mov byte [rsp + 0x38], 1
mov edx, 0x1165f
lea rcx, [rbp - 0x80]
call fcn.140021760
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004db00
nop
lea rcx, [rbp - 0x80]
call fcn.1400218f0
nop
cmp byte [rbp + 0xca], 1
je 0x140031219
movzx eax, word [rsp + 0x50]
cmp ax, 6
jne 0x14003101b
movzx eax, byte [rbp + 0xc8]
test al, al
jns 0x140030f8b
mov ecx, 0x100
mov rax, rdi
cmp word [rax], 0
je 0x140030f17
add rax, 2
sub rcx, 1
jne 0x140030f07
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x140031219
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x1400311af
lea r8, str.Datacenter_Edition_for_Itanium_based_Systems
sub r8, rcx
nop dword [rax + rax]
test rbx, rbx
je 0x1400311af
movzx eax, word [r8 + rcx]
test ax, ax
je 0x1400311af
mov word [rcx], ax
add rcx, 2
dec rbx
sub rdx, 1
jne 0x140030f50
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r13w
jmp 0x140031219
test al, 2
je 0x140031219
mov ecx, 0x100
mov rax, rdi
nop dword [rax + rax]
cmp word [rax], 0
je 0x140030fb0
add rax, 2
sub rcx, 1
jne 0x140030fa0
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x140031219
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x1400311af
sub r12, rcx
nop word [rax + rax]
test rbx, rbx
je 0x1400311af
movzx eax, word [r12 + rcx]
test ax, ax
je 0x1400311af
mov word [rcx], ax
add rcx, 2
dec rbx
sub rdx, 1
jne 0x140030fe0
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r13w
jmp 0x140031219
cmp ax, 9
jne 0x1400311c0
movzx eax, byte [rbp + 0xc8]
mov ecx, 0x100
test al, al
jns 0x1400310bc
mov rax, rdi
nop dword [rax]
cmp word [rax], 0
je 0x140031050
add rax, 2
sub rcx, 1
jne 0x140031040
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x140031219
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x1400311af
lea r8, str.Datacenter_x64_Edition
sub r8, rcx
test rbx, rbx
je 0x1400311af
movzx eax, word [r8 + rcx]
test ax, ax
je 0x1400311af
mov word [rcx], ax
add rcx, 2
dec rbx
sub rdx, 1
jne 0x140031081
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r13w
jmp 0x140031219
test al, 2
mov rax, rdi
je 0x140031150
cmp word [rax], 0
je 0x1400310d7
add rax, 2
sub rcx, 1
jne 0x1400310c7
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x140031219
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x1400311af
lea r8, str.Enterprise_x64_Edition
sub r8, rcx
nop dword [rax + rax]
test rbx, rbx
je 0x1400311af
movzx eax, word [rcx + r8]
test ax, ax
je 0x1400311af
mov word [rcx], ax
add rcx, 2
dec rbx
sub rdx, 1
jne 0x140031110
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r13w
jmp 0x140031219
cmp word [rax], 0
je 0x140031160
add rax, 2
sub rcx, 1
jne 0x140031150
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x140031219
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x1400311af
lea r8, str.Standard_x64_Edition
sub r8, rcx
nop dword [rax]
test rbx, rbx
je 0x1400311af
movzx eax, word [rcx + r8]
test ax, ax
je 0x1400311af
mov word [rcx], ax
add rcx, 2
dec rbx
sub rdx, 1
jne 0x140031190
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r13w
jmp 0x140031219
movzx eax, word [rbp + 0xc8]
bt ax, 0xe
jae 0x1400311d7
lea r8, str.Compute_Cluster_Edition
jmp 0x14003120c
mov byte [rbp + 0xc8], al
test al, al
jns 0x1400311ea
lea r8, str.Datacenter_Edition
jmp 0x14003120c
test al, 2
je 0x1400311f7
lea r8, str.Enterprise_Edition
jmp 0x14003120c
bt ax, 0xa
lea r8, str.Web_Edition
jb 0x14003120c
lea r8, str.Standard_Edition
mov edx, 0x100
mov rcx, rdi
call fcn.14002f290
cmp dword [rbp - 0x4c], 5
jne 0x14003133c
mov eax, dword [rbp - 0x48]
lea rbx, str.Professional
cmp eax, 1
jne 0x1400312ab
lea r8, str.Windows_XP
mov edx, 0x100
mov rcx, rdi
call fcn.14002f290
mov qword [rsp + 0x30], rsi
mov byte [rsp + 0x38], 1
mov edx, 0x1166c
lea rcx, [rbp - 0x80]
call fcn.140021760
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004db00
nop
lea rcx, [rbp - 0x80]
call fcn.1400218f0
nop
mov eax, 0x200
test word [rbp + 0xc8], ax
lea r8, str.Home_Edition
cmove r8, rbx
mov edx, 0x100
mov rcx, rdi
call fcn.14002f290
cmp dword [rbp - 0x4c], 5
jne 0x14003133c
mov eax, dword [rbp - 0x48]
test eax, eax
jne 0x14003133c
lea r8, str.Windows_2000
mov edx, 0x100
mov rcx, rdi
call fcn.14002f290
mov qword [rsp + 0x30], rsi
mov byte [rsp + 0x38], 1
mov edx, 0x1165e
lea rcx, [rbp - 0x80]
call fcn.140021760
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004db00
nop
lea rcx, [rbp - 0x80]
call fcn.1400218f0
nop
cmp byte [rbp + 0xca], 1
jne 0x140031309
mov r8, rbx
jmp 0x14003132f
movzx eax, byte [rbp + 0xc8]
test al, al
jns 0x14003131d
lea r8, str.Datacenter_Server
jmp 0x14003132f
test al, 2
lea r8, str.Advanced_Server
jne 0x14003132f
lea r8, str.Server
mov edx, 0x100
mov rcx, rdi
call fcn.14002f290
lea rcx, [rbp - 0x3c]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140031350
test rax, rax
je 0x140031384
lea r8, [0x1402b8b08]
mov edx, 0x100
mov rcx, rdi
call fcn.14002f290
lea r8, [rbp - 0x3c]
mov edx, 0x100
mov rcx, rdi
call fcn.14002f290
mov r9d, dword [rbp - 0x44]
lea r8, str.__build__d_
mov edx, 0x50
lea rcx, [rbp + 0xd0]
call fcn.14002f350
lea r8, [rbp + 0xd0]
mov edx, 0x100
mov rcx, rdi
call fcn.14002f290
cmp dword [rbp - 0x4c], 6
jb 0x1400313e7
movzx eax, word [rsp + 0x50]
cmp ax, 9
jne 0x1400313ce
lea r8, str.__64_bit
jmp 0x1400313da
test ax, ax
jne 0x1400313e7
lea r8, str.__32_bit
mov edx, 0x100
mov rcx, rdi
call fcn.14002f290
mov eax, 1
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1402113c0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret