Function at 0x14002f720
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 [0x14030b918]
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, 0x118
lea rcx, [rbp - 0x4c]
call fcn.1402167a0
mov dword [rbp - 0x50], 0x11c
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1400316f7
cmp dword [rbp - 0x4c], 6
jb 0x14002f7d4
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x44]
call fcn.14002c7f0
test al, al
je 0x14002f7d4
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x44]
cmp dword [rbp - 0x4c], ecx
jne 0x14002f7c7
cmp dword [rbp - 0x48], eax
je 0x14002f7d4
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 0x14002f7ff
call rax
jmp 0x14002f805
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [rbp - 0x40], 2
jne 0x1400316f7
cmp dword [rbp - 0x4c], 4
jbe 0x1400316f7
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 0x14002f853
movzx eax, word [r8 + rcx]
test ax, ax
je 0x14002f853
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x14002f830
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 0x14002f8ed
mov edx, 0x11660
lea rcx, [rbp - 0x80]
call fcn.140021860
nop
mov qword [rsp + 0x30], r12
mov byte [rsp + 0x38], 1
xor r9d, r9d
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x80]
call fcn.14004de80
nop
lea rax, vtable.srl::Value.0
mov qword [rsp + 0x30], rax
lea rcx, [rbp - 0x80]
call fcn.1400219f0
mov qword [rsp + 0x30], r12
mov byte [rsp + 0x38], 1
mov edx, 0x116c0
lea rcx, [rbp - 0x80]
call fcn.140021860
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004de80
nop
lea rcx, [rbp - 0x80]
call fcn.1400219f0
nop
jmp 0x14002f95b
cmp ax, 9
jne 0x14002f95b
mov qword [rsp + 0x30], r12
mov byte [rsp + 0x38], 1
mov edx, 0x11660
lea rcx, [rbp - 0x80]
call fcn.140021860
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004de80
nop
lea rcx, [rbp - 0x80]
call fcn.1400219f0
nop
mov qword [rsp + 0x30], r12
mov byte [rsp + 0x38], 1
mov edx, 0x116c1
lea rcx, [rbp - 0x80]
call fcn.140021860
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004de80
nop
lea rcx, [rbp - 0x80]
call fcn.1400219f0
nop
xor r14b, r14b
xor r15b, r15b
xor sil, sil
mov ebx, 0x7ffffffe
cmp dword [rbp - 0x4c], 0xa
jne 0x14002fad4
mov ecx, 0x100
mov rax, rdi
cmp dword [rbp - 0x44], 0x55f0
jb 0x14002fa30
cmp word [rax], 0
je 0x14002f998
add rax, 2
sub rcx, 1
jne 0x14002f988
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x14002f9f4
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x14002f9e5
mov rax, rbx
lea r9, str.Windows_11
sub r9, rcx
test rax, rax
je 0x14002f9e5
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x14002f9e5
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x14002f9c4
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.140021860
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004de80
nop
lea rcx, [rbp - 0x80]
call fcn.1400219f0
nop
jmp 0x14002fad4
cmp word [rax], 0
je 0x14002fa40
add rax, 2
sub rcx, 1
jne 0x14002fa30
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x14002faa0
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x14002fa91
mov rax, rbx
lea r9, str.Windows_10
sub r9, rcx
nop dword [rax]
test rax, rax
je 0x14002fa91
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x14002fa91
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x14002fa70
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.140021860
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004de80
nop
lea rcx, [rbp - 0x80]
call fcn.1400219f0
nop
lea r12, str.Enterprise_Edition_for_Itanium_based_Systems
cmp dword [rbp - 0x4c], 6
jne case.0x140030168.5
cmp dword [rbp - 0x48], 0
jne 0x14002fc5b
mov ecx, 0x100
mov rax, rdi
cmp byte [rbp + 0xca], 1
jne 0x14002fbb3
cmp word [rax], 0
je 0x14002fb14
add rax, 2
sub rcx, 1
jne 0x14002fb04
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x14002fb70
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x14002fb61
mov rax, rbx
lea r9, str.Windows_Vista
sub r9, rcx
test rax, rax
je 0x14002fb61
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x14002fb61
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x14002fb40
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.140021860
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004de80
nop
lea rcx, [rbp - 0x80]
call fcn.1400219f0
nop
mov r14b, 1
jmp 0x14002fc5b
cmp word [rax], 0
je 0x14002fbc3
add rax, 2
sub rcx, 1
jne 0x14002fbb3
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x14002fc20
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x14002fc11
mov rax, rbx
lea r9, str.Windows_Server_2008
sub r9, rcx
nop
test rax, rax
je 0x14002fc11
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x14002fc11
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x14002fbf0
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.140021860
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004de80
nop
lea rcx, [rbp - 0x80]
call fcn.1400219f0
nop
cmp dword [rbp - 0x48], 1
jne 0x14002fddb
mov ecx, 0x100
mov rax, rdi
cmp byte [rbp + 0xca], 1
jne 0x14002fd33
nop word [rax + rax]
cmp word [rax], 0
je 0x14002fc90
add rax, 2
sub rcx, 1
jne 0x14002fc80
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x14002fcf0
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x14002fce1
mov rax, rbx
lea r9, str.Windows_7
sub r9, rcx
nop dword [rax]
test rax, rax
je 0x14002fce1
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x14002fce1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x14002fcc0
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.140021860
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004de80
nop
lea rcx, [rbp - 0x80]
call fcn.1400219f0
nop
mov r15b, 1
jmp 0x14002fddb
cmp word [rax], 0
je 0x14002fd43
add rax, 2
sub rcx, 1
jne 0x14002fd33
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x14002fda0
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x14002fd91
mov rax, rbx
lea r9, str.Windows_Server_2008_R2
sub r9, rcx
nop
test rax, rax
je 0x14002fd91
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x14002fd91
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x14002fd70
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.140021860
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004de80
nop
lea rcx, [rbp - 0x80]
call fcn.1400219f0
nop
cmp dword [rbp - 0x48], 2
jne 0x14002ff8e
mov ecx, 0x100
mov rax, rdi
cmp byte [rbp + 0xca], 1
jne 0x14002fee7
nop word [rax + rax]
cmp word [rax], 0
je 0x14002fe10
add rax, 2
sub rcx, 1
jne 0x14002fe00
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x14002fe70
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x14002fe61
mov rax, rbx
lea r9, str.Windows_8
sub r9, rcx
nop dword [rax]
test rax, rax
je 0x14002fe61
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x14002fe61
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x14002fe40
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.140021860
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004de80
nop
lea rcx, [rbp - 0x80]
call fcn.1400219f0
nop
mov qword [rsp + 0x30], rsi
mov byte [rsp + 0x38], 1
mov edx, 0x11745
lea rcx, [rbp - 0x80]
call fcn.140021860
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004de80
nop
lea rcx, [rbp - 0x80]
call fcn.1400219f0
nop
mov sil, 1
jmp 0x14002ff8e
cmp word [rax], 0
je 0x14002fef7
add rax, 2
sub rcx, 1
jne 0x14002fee7
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x14002ff53
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x14002ff44
mov rax, rbx
lea r9, str.Windows_Server_2012
sub r9, rcx
test rax, rax
je 0x14002ff44
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x14002ff44
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x14002ff23
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.140021860
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004de80
nop
lea rcx, [rbp - 0x80]
call fcn.1400219f0
nop
cmp dword [rbp - 0x48], 3
jne 0x14003010b
mov ecx, 0x100
mov rax, rdi
cmp byte [rbp + 0xca], 1
jne 0x140030060
nop dword [rax]
cmp word [rax], 0
je 0x14002ffc0
add rax, 2
sub rcx, 1
jne 0x14002ffb0
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x140030020
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030011
mov rax, rbx
lea r9, str.Windows_8.1
sub r9, rcx
nop dword [rax]
test rax, rax
je 0x140030011
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140030011
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x14002fff0
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.140021860
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004de80
nop
lea rcx, [rbp - 0x80]
call fcn.1400219f0
nop
jmp 0x14003010b
cmp word [rax], 0
je 0x140030070
add rax, 2
sub rcx, 1
jne 0x140030060
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x1400300d0
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x1400300c1
mov rax, rbx
lea r9, str.Windows_Server_2012_R2
sub r9, rcx
nop dword [rax]
test rax, rax
je 0x1400300c1
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x1400300c1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x1400300a0
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.140021860
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004de80
nop
lea rcx, [rbp - 0x80]
call fcn.1400219f0
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.0x140030168.5
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0x31778]
mov ecx, dword [rdx + rax*4 + 0x3172c]
add rcx, rdx
jmp rcx
mov ecx, 0x100
mov rax, rdi
cmp word [rax], 0
je 0x140030182
add rax, 2
sub rcx, 1
jne 0x140030172
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x1400301e0
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x1400301d1
mov rax, rbx
lea r9, str.Professional_Edition
sub r9, rcx
nop
test rax, rax
je 0x1400301d1
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x1400301d1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x1400301b0
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r13w
test r15b, r15b
je 0x140030225
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.140021860
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004de80
nop
lea rcx, [rbp - 0x80]
call fcn.1400219f0
nop
jmp 0x140030e17
test sil, sil
lea rsi, vtable.srl::Exists.0
je 0x140030e17
mov qword [rsp + 0x30], rsi
mov byte [rsp + 0x38], 1
mov edx, 0x11746
lea rcx, [rbp - 0x80]
call fcn.140021860
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004de80
nop
lea rcx, [rbp - 0x80]
call fcn.1400219f0
nop
mov qword [rsp + 0x30], rsi
mov byte [rsp + 0x38], 0
mov edx, 0x11745
lea rcx, [rbp - 0x80]
call fcn.140021860
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004de80
nop
lea rcx, [rbp - 0x80]
call fcn.1400219f0
nop
jmp 0x140030e17
mov ecx, 0x100
mov rax, rdi
nop word [rax + rax]
cmp word [rax], 0
je 0x1400302c0
add rax, 2
sub rcx, 1
jne 0x1400302b0
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x140030320
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030311
mov rax, rbx
lea r9, str.Ultimate_Edition
sub r9, rcx
nop dword [rax]
test rax, rax
je 0x140030311
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140030311
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x1400302f0
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r13w
lea rsi, vtable.srl::Exists.0
test r14b, r14b
je 0x140030365
mov qword [rsp + 0x30], rsi
mov byte [rsp + 0x38], 1
mov edx, 0x1166b
lea rcx, [rbp - 0x80]
call fcn.140021860
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004de80
nop
lea rcx, [rbp - 0x80]
call fcn.1400219f0
nop
jmp 0x140030e17
test r15b, r15b
je 0x140030e17
mov qword [rsp + 0x30], rsi
mov byte [rsp + 0x38], 1
mov edx, 0x11735
lea rcx, [rbp - 0x80]
call fcn.140021860
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004de80
nop
lea rcx, [rbp - 0x80]
call fcn.1400219f0
nop
jmp 0x140030e17
mov ecx, 0x100
mov rax, rdi
nop
cmp word [rax], 0
je 0x1400303c0
add rax, 2
sub rcx, 1
jne 0x1400303b0
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x140030420
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030411
mov rax, rbx
lea r9, str.Home_Premium_Edition
sub r9, rcx
nop dword [rax]
test rax, rax
je 0x140030411
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140030411
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x1400303f0
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r13w
lea rsi, vtable.srl::Exists.0
test r14b, r14b
je 0x140030465
mov qword [rsp + 0x30], rsi
mov byte [rsp + 0x38], 1
mov edx, 0x1166a
lea rcx, [rbp - 0x80]
call fcn.140021860
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004de80
nop
lea rcx, [rbp - 0x80]
call fcn.1400219f0
nop
jmp 0x140030e17
test r15b, r15b
je 0x140030e17
mov qword [rsp + 0x30], rsi
mov byte [rsp + 0x38], 1
mov edx, 0x11739
lea rcx, [rbp - 0x80]
call fcn.140021860
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004de80
nop
lea rcx, [rbp - 0x80]
call fcn.1400219f0
nop
jmp 0x140030e17
mov ecx, 0x100
mov rax, rdi
nop
cmp word [rax], 0
je 0x1400304c0
add rax, 2
sub rcx, 1
jne 0x1400304b0
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x140030520
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030511
mov rax, rbx
lea r9, str.Home_Basic_Edition
sub r9, rcx
nop dword [rax]
test rax, rax
je 0x140030511
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140030511
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x1400304f0
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r13w
lea rsi, vtable.srl::Exists.0
test r14b, r14b
je 0x140030565
mov qword [rsp + 0x30], rsi
mov byte [rsp + 0x38], 1
mov edx, 0x11669
lea rcx, [rbp - 0x80]
call fcn.140021860
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004de80
nop
lea rcx, [rbp - 0x80]
call fcn.1400219f0
nop
jmp 0x140030e17
test r15b, r15b
je 0x140030e17
mov qword [rsp + 0x30], rsi
mov byte [rsp + 0x38], 1
mov edx, 0x1173a
lea rcx, [rbp - 0x80]
call fcn.140021860
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004de80
nop
lea rcx, [rbp - 0x80]
call fcn.1400219f0
nop
jmp 0x140030e17
mov ecx, 0x100
mov rax, rdi
nop
cmp word [rax], 0
je 0x1400305c0
add rax, 2
sub rcx, 1
jne 0x1400305b0
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x140030620
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030611
mov rax, rbx
lea r9, str.Enterprise_Edition
sub r9, rcx
nop dword [rax]
test rax, rax
je 0x140030611
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140030611
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x1400305f0
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r13w
test r14b, r14b
je 0x140030665
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.140021860
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004de80
nop
lea rcx, [rbp - 0x80]
call fcn.1400219f0
nop
jmp 0x140030e17
test r15b, r15b
je 0x1400306aa
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.140021860
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004de80
nop
lea rcx, [rbp - 0x80]
call fcn.1400219f0
nop
jmp 0x140030e17
test sil, sil
lea rsi, vtable.srl::Exists.0
je 0x140030e17
mov qword [rsp + 0x30], rsi
mov byte [rsp + 0x38], 1
mov edx, 0x11747
lea rcx, [rbp - 0x80]
call fcn.140021860
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004de80
nop
lea rcx, [rbp - 0x80]
call fcn.1400219f0
nop
mov qword [rsp + 0x30], rsi
mov byte [rsp + 0x38], 0
mov edx, 0x11745
lea rcx, [rbp - 0x80]
call fcn.140021860
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004de80
nop
lea rcx, [rbp - 0x80]
call fcn.1400219f0
nop
jmp 0x140030e17
mov ecx, 0x100
mov rax, rdi
nop
cmp word [rax], 0
je 0x140030740
add rax, 2
sub rcx, 1
jne 0x140030730
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x1400307a0
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030791
mov rax, rbx
lea r9, str.Business_Edition
sub r9, rcx
nop dword [rax]
test rax, rax
je 0x140030791
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140030791
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140030770
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r13w
lea rsi, vtable.srl::Exists.0
test r14b, r14b
je 0x140030e17
mov qword [rsp + 0x30], rsi
mov byte [rsp + 0x38], 1
mov edx, 0x11667
lea rcx, [rbp - 0x80]
call fcn.140021860
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004de80
nop
lea rcx, [rbp - 0x80]
call fcn.1400219f0
nop
jmp 0x140030e17
mov ecx, 0x100
mov rax, rdi
cmp word [rax], 0
je 0x140030801
add rax, 2
sub rcx, 1
jne 0x1400307f1
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x140030860
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030851
mov rax, rbx
lea r9, str.Starter_Edition
sub r9, rcx
nop dword [rax]
test rax, rax
je 0x140030851
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140030851
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140030830
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r13w
lea rsi, vtable.srl::Exists.0
test r15b, r15b
je 0x140030e17
mov qword [rsp + 0x30], rsi
mov byte [rsp + 0x38], 1
mov edx, 0x1173b
lea rcx, [rbp - 0x80]
call fcn.140021860
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004de80
nop
lea rcx, [rbp - 0x80]
call fcn.1400219f0
nop
jmp 0x140030e17
mov ecx, 0x100
mov rax, rdi
cmp word [rax], 0
je 0x1400308c1
add rax, 2
sub rcx, 1
jne 0x1400308b1
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je case.0x140030168.5
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030e01
mov rax, rbx
lea r9, str.Cluster_Server_Edition
sub r9, rcx
test rax, rax
je 0x140030e01
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140030e01
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x1400308f5
jmp 0x140030e01
mov ecx, 0x100
mov rax, rdi
nop dword [rax + rax]
cmp word [rax], 0
je 0x140030940
add rax, 2
sub rcx, 1
jne 0x140030930
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je case.0x140030168.5
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030e01
mov rax, rbx
lea r9, str.Datacenter_Edition
sub r9, rcx
test rax, rax
je 0x140030e01
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140030e01
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140030974
jmp 0x140030e01
mov ecx, 0x100
mov rax, rdi
nop word [rax + rax]
cmp word [rax], 0
je 0x1400309c0
add rax, 2
sub rcx, 1
jne 0x1400309b0
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je case.0x140030168.5
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030e01
mov rax, rbx
lea r9, str.Datacenter_Edition__core_installation_
sub r9, rcx
test rax, rax
je 0x140030e01
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140030e01
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x1400309f4
jmp 0x140030e01
mov ecx, 0x100
mov rax, rdi
nop word [rax + rax]
cmp word [rax], 0
je 0x140030a40
add rax, 2
sub rcx, 1
jne 0x140030a30
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je case.0x140030168.5
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030e01
mov rax, rbx
lea r9, str.Enterprise_Edition
sub r9, rcx
test rax, rax
je 0x140030e01
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140030e01
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140030a74
jmp 0x140030e01
mov ecx, 0x100
mov rax, rdi
nop word [rax + rax]
cmp word [rax], 0
je 0x140030ac0
add rax, 2
sub rcx, 1
jne 0x140030ab0
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je case.0x140030168.5
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030e01
mov rax, rbx
lea r9, str.Enterprise_Edition__core_installation_
sub r9, rcx
test rax, rax
je 0x140030e01
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140030e01
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140030af4
jmp 0x140030e01
mov ecx, 0x100
mov rax, rdi
nop word [rax + rax]
cmp word [rax], 0
je 0x140030b40
add rax, 2
sub rcx, 1
jne 0x140030b30
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je case.0x140030168.5
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030e01
mov rax, rbx
mov r9, r12
sub r9, rcx
test rax, rax
je 0x140030e01
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140030e01
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140030b70
jmp 0x140030e01
mov ecx, 0x100
mov rax, rdi
cmp word [rax], 0
je 0x140030bb6
add rax, 2
sub rcx, 1
jne 0x140030ba6
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je case.0x140030168.5
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030e01
mov rax, rbx
lea r9, str.Small_Business_Server
sub r9, rcx
nop word [rax + rax]
test rax, rax
je 0x140030e01
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140030e01
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140030bf0
jmp 0x140030e01
mov ecx, 0x100
mov rax, rdi
cmp word [rax], 0
je 0x140030c36
add rax, 2
sub rcx, 1
jne 0x140030c26
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je case.0x140030168.5
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030e01
mov rax, rbx
lea r9, str.Small_Business_Server_Premium_Edition
sub r9, rcx
nop word [rax + rax]
test rax, rax
je 0x140030e01
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140030e01
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140030c70
jmp 0x140030e01
mov ecx, 0x100
mov rax, rdi
cmp word [rax], 0
je 0x140030cb6
add rax, 2
sub rcx, 1
jne 0x140030ca6
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je case.0x140030168.5
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030e01
mov rax, rbx
lea r9, str.Standard_Edition
sub r9, rcx
nop word [rax + rax]
test rax, rax
je 0x140030e01
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140030e01
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140030cf0
jmp 0x140030e01
mov ecx, 0x100
mov rax, rdi
cmp word [rax], 0
je 0x140030d36
add rax, 2
sub rcx, 1
jne 0x140030d26
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je case.0x140030168.5
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030e01
mov rax, rbx
lea r9, str.Standard_Edition__core_installation_
sub r9, rcx
nop word [rax + rax]
test rax, rax
je 0x140030e01
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140030e01
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140030d70
jmp 0x140030e01
mov ecx, 0x100
mov rax, rdi
nop
cmp word [rax], 0
je 0x140030db0
add rax, 2
sub rcx, 1
jne 0x140030da0
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je case.0x140030168.5
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030e01
mov rax, rbx
lea r9, str.Web_Server_Edition
sub r9, rcx
nop dword [rax]
test rax, rax
je 0x140030e01
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140030e01
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140030de0
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 0x14003164c
mov eax, dword [rbp - 0x48]
cmp eax, 2
jne 0x140031536
lea ecx, [rax + 0x57]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x140030eeb
mov ecx, 0x100
mov rax, rdi
cmp word [rax], 0
je 0x140030e56
add rax, 2
sub rcx, 1
jne 0x140030e46
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x140030eb2
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030ea3
mov rax, rbx
lea r9, str.Windows_Server_2003_R2_
sub r9, rcx
test rax, rax
je 0x140030ea3
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140030ea3
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140030e82
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.140021860
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004de80
nop
lea rcx, [rbp - 0x80]
call fcn.1400219f0
nop
jmp 0x1400311e4
mov ecx, 0x2000
movzx eax, word [rbp + 0xc8]
cmp ax, cx
jne 0x140030fad
mov ecx, 0x100
mov rax, rdi
cmp word [rax], 0
je 0x140030f18
add rax, 2
sub rcx, 1
jne 0x140030f08
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x140030f74
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030f65
mov rax, rbx
lea r9, str.Windows_Storage_Server_2003
sub r9, rcx
test rax, rax
je 0x140030f65
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140030f65
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140030f44
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.140021860
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004de80
nop
lea rcx, [rbp - 0x80]
call fcn.1400219f0
nop
jmp 0x1400311e4
mov ecx, 0x8000
cmp ax, cx
jne 0x140031069
mov ecx, 0x100
mov rax, rdi
cmp word [rax], 0
je 0x140030fd3
add rax, 2
sub rcx, 1
jne 0x140030fc3
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x140031030
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140031021
mov rax, rbx
lea r9, str.Windows_Home_Server
sub r9, rcx
nop
test rax, rax
je 0x140031021
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140031021
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140031000
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.140021860
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004de80
nop
lea rcx, [rbp - 0x80]
call fcn.1400219f0
nop
jmp 0x1400311e4
cmp byte [rbp + 0xca], 1
jne 0x140031139
cmp word [rsp + 0x50], 9
jne 0x140031139
mov ecx, 0x100
mov rax, rdi
nop word [rax + rax]
cmp word [rax], 0
je 0x1400310a0
add rax, 2
sub rcx, 1
jne 0x140031090
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x140031100
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x1400310f1
mov rax, rbx
lea r9, str.Windows_XP_Professional_x64_Edition
sub r9, rcx
nop dword [rax]
test rax, rax
je 0x1400310f1
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x1400310f1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x1400310d0
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.140021860
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004de80
nop
lea rcx, [rbp - 0x80]
call fcn.1400219f0
nop
jmp 0x1400311e4
mov ecx, 0x100
mov rax, rdi
cmp word [rax], 0
je 0x140031151
add rax, 2
sub rcx, 1
jne 0x140031141
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x1400311b0
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x1400311a1
mov rax, rbx
lea r9, str.Windows_Server_2003_
sub r9, rcx
nop dword [rax]
test rax, rax
je 0x1400311a1
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x1400311a1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140031180
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.140021860
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004de80
nop
lea rcx, [rbp - 0x80]
call fcn.1400219f0
nop
cmp byte [rbp + 0xca], 1
je 0x140031529
movzx eax, word [rsp + 0x50]
cmp ax, 6
jne 0x14003132b
movzx eax, byte [rbp + 0xc8]
test al, al
jns 0x14003129b
mov ecx, 0x100
mov rax, rdi
cmp word [rax], 0
je 0x140031227
add rax, 2
sub rcx, 1
jne 0x140031217
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x140031529
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x1400314bf
lea r8, str.Datacenter_Edition_for_Itanium_based_Systems
sub r8, rcx
nop dword [rax + rax]
test rbx, rbx
je 0x1400314bf
movzx eax, word [r8 + rcx]
test ax, ax
je 0x1400314bf
mov word [rcx], ax
add rcx, 2
dec rbx
sub rdx, 1
jne 0x140031260
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r13w
jmp 0x140031529
test al, 2
je 0x140031529
mov ecx, 0x100
mov rax, rdi
nop dword [rax + rax]
cmp word [rax], 0
je 0x1400312c0
add rax, 2
sub rcx, 1
jne 0x1400312b0
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x140031529
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x1400314bf
sub r12, rcx
nop word [rax + rax]
test rbx, rbx
je 0x1400314bf
movzx eax, word [r12 + rcx]
test ax, ax
je 0x1400314bf
mov word [rcx], ax
add rcx, 2
dec rbx
sub rdx, 1
jne 0x1400312f0
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r13w
jmp 0x140031529
cmp ax, 9
jne 0x1400314d0
movzx eax, byte [rbp + 0xc8]
mov ecx, 0x100
test al, al
jns 0x1400313cc
mov rax, rdi
nop dword [rax]
cmp word [rax], 0
je 0x140031360
add rax, 2
sub rcx, 1
jne 0x140031350
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x140031529
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x1400314bf
lea r8, str.Datacenter_x64_Edition
sub r8, rcx
test rbx, rbx
je 0x1400314bf
movzx eax, word [r8 + rcx]
test ax, ax
je 0x1400314bf
mov word [rcx], ax
add rcx, 2
dec rbx
sub rdx, 1
jne 0x140031391
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r13w
jmp 0x140031529
test al, 2
mov rax, rdi
je 0x140031460
cmp word [rax], 0
je 0x1400313e7
add rax, 2
sub rcx, 1
jne 0x1400313d7
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x140031529
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x1400314bf
lea r8, str.Enterprise_x64_Edition
sub r8, rcx
nop dword [rax + rax]
test rbx, rbx
je 0x1400314bf
movzx eax, word [rcx + r8]
test ax, ax
je 0x1400314bf
mov word [rcx], ax
add rcx, 2
dec rbx
sub rdx, 1
jne 0x140031420
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r13w
jmp 0x140031529
cmp word [rax], 0
je 0x140031470
add rax, 2
sub rcx, 1
jne 0x140031460
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x140031529
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x1400314bf
lea r8, str.Standard_x64_Edition
sub r8, rcx
nop dword [rax]
test rbx, rbx
je 0x1400314bf
movzx eax, word [rcx + r8]
test ax, ax
je 0x1400314bf
mov word [rcx], ax
add rcx, 2
dec rbx
sub rdx, 1
jne 0x1400314a0
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r13w
jmp 0x140031529
movzx eax, word [rbp + 0xc8]
bt ax, 0xe
jae 0x1400314e7
lea r8, str.Compute_Cluster_Edition
jmp 0x14003151c
mov byte [rbp + 0xc8], al
test al, al
jns 0x1400314fa
lea r8, str.Datacenter_Edition
jmp 0x14003151c
test al, 2
je 0x140031507
lea r8, str.Enterprise_Edition
jmp 0x14003151c
bt ax, 0xa
lea r8, str.Web_Edition
jb 0x14003151c
lea r8, str.Standard_Edition
mov edx, 0x100
mov rcx, rdi
call fcn.14002f5a0
cmp dword [rbp - 0x4c], 5
jne 0x14003164c
mov eax, dword [rbp - 0x48]
lea rbx, str.Professional
cmp eax, 1
jne 0x1400315bb
lea r8, str.Windows_XP
mov edx, 0x100
mov rcx, rdi
call fcn.14002f5a0
mov qword [rsp + 0x30], rsi
mov byte [rsp + 0x38], 1
mov edx, 0x1166c
lea rcx, [rbp - 0x80]
call fcn.140021860
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004de80
nop
lea rcx, [rbp - 0x80]
call fcn.1400219f0
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.14002f5a0
cmp dword [rbp - 0x4c], 5
jne 0x14003164c
mov eax, dword [rbp - 0x48]
test eax, eax
jne 0x14003164c
lea r8, str.Windows_2000
mov edx, 0x100
mov rcx, rdi
call fcn.14002f5a0
mov qword [rsp + 0x30], rsi
mov byte [rsp + 0x38], 1
mov edx, 0x1165e
lea rcx, [rbp - 0x80]
call fcn.140021860
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004de80
nop
lea rcx, [rbp - 0x80]
call fcn.1400219f0
nop
cmp byte [rbp + 0xca], 1
jne 0x140031619
mov r8, rbx
jmp 0x14003163f
movzx eax, byte [rbp + 0xc8]
test al, al
jns 0x14003162d
lea r8, str.Datacenter_Server
jmp 0x14003163f
test al, 2
lea r8, str.Advanced_Server
jne 0x14003163f
lea r8, str.Server
mov edx, 0x100
mov rcx, rdi
call fcn.14002f5a0
lea rcx, [rbp - 0x3c]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140031660
test rax, rax
je 0x140031694
lea r8, [0x1402b9af8]
mov edx, 0x100
mov rcx, rdi
call fcn.14002f5a0
lea r8, [rbp - 0x3c]
mov edx, 0x100
mov rcx, rdi
call fcn.14002f5a0
mov r9d, dword [rbp - 0x44]
lea r8, str.__build__d_
mov edx, 0x50
lea rcx, [rbp + 0xd0]
call fcn.14002f660
lea r8, [rbp + 0xd0]
mov edx, 0x100
mov rcx, rdi
call fcn.14002f5a0
cmp dword [rbp - 0x4c], 6
jb 0x1400316f7
movzx eax, word [rsp + 0x50]
cmp ax, 9
jne 0x1400316de
lea r8, str.__64_bit
jmp 0x1400316ea
test ax, ax
jne 0x1400316f7
lea r8, str.__32_bit
mov edx, 0x100
mov rcx, rdi
call fcn.14002f5a0
mov eax, 1
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.140211970
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