Function at 0x14002f640
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 [0x14030a918]
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.140216650
mov dword [rbp - 0x50], 0x11c
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x140031617
cmp dword [rbp - 0x4c], 6
jb 0x14002f6f4
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x44]
call fcn.14002c710
test al, al
je 0x14002f6f4
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x44]
cmp dword [rbp - 0x4c], ecx
jne 0x14002f6e7
cmp dword [rbp - 0x48], eax
je 0x14002f6f4
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 0x14002f71f
call rax
jmp 0x14002f725
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [rbp - 0x40], 2
jne 0x140031617
cmp dword [rbp - 0x4c], 4
jbe 0x140031617
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 0x14002f773
movzx eax, word [r8 + rcx]
test ax, ax
je 0x14002f773
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x14002f750
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 0x14002f80d
mov edx, 0x11660
lea rcx, [rbp - 0x80]
call fcn.140021780
nop
mov qword [rsp + 0x30], r12
mov byte [rsp + 0x38], 1
xor r9d, r9d
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x80]
call fcn.14004dd30
nop
lea rax, vtable.srl::Value.0
mov qword [rsp + 0x30], rax
lea rcx, [rbp - 0x80]
call fcn.140021910
mov qword [rsp + 0x30], r12
mov byte [rsp + 0x38], 1
mov edx, 0x116c0
lea rcx, [rbp - 0x80]
call fcn.140021780
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004dd30
nop
lea rcx, [rbp - 0x80]
call fcn.140021910
nop
jmp 0x14002f87b
cmp ax, 9
jne 0x14002f87b
mov qword [rsp + 0x30], r12
mov byte [rsp + 0x38], 1
mov edx, 0x11660
lea rcx, [rbp - 0x80]
call fcn.140021780
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004dd30
nop
lea rcx, [rbp - 0x80]
call fcn.140021910
nop
mov qword [rsp + 0x30], r12
mov byte [rsp + 0x38], 1
mov edx, 0x116c1
lea rcx, [rbp - 0x80]
call fcn.140021780
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004dd30
nop
lea rcx, [rbp - 0x80]
call fcn.140021910
nop
xor r14b, r14b
xor r15b, r15b
xor sil, sil
mov ebx, 0x7ffffffe
cmp dword [rbp - 0x4c], 0xa
jne 0x14002f9f4
mov ecx, 0x100
mov rax, rdi
cmp dword [rbp - 0x44], 0x55f0
jb 0x14002f950
cmp word [rax], 0
je 0x14002f8b8
add rax, 2
sub rcx, 1
jne 0x14002f8a8
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x14002f914
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x14002f905
mov rax, rbx
lea r9, str.Windows_11
sub r9, rcx
test rax, rax
je 0x14002f905
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x14002f905
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x14002f8e4
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.140021780
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004dd30
nop
lea rcx, [rbp - 0x80]
call fcn.140021910
nop
jmp 0x14002f9f4
cmp word [rax], 0
je 0x14002f960
add rax, 2
sub rcx, 1
jne 0x14002f950
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x14002f9c0
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x14002f9b1
mov rax, rbx
lea r9, str.Windows_10
sub r9, rcx
nop dword [rax]
test rax, rax
je 0x14002f9b1
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x14002f9b1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x14002f990
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.140021780
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004dd30
nop
lea rcx, [rbp - 0x80]
call fcn.140021910
nop
lea r12, str.Enterprise_Edition_for_Itanium_based_Systems
cmp dword [rbp - 0x4c], 6
jne case.0x140030088.5
cmp dword [rbp - 0x48], 0
jne 0x14002fb7b
mov ecx, 0x100
mov rax, rdi
cmp byte [rbp + 0xca], 1
jne 0x14002fad3
cmp word [rax], 0
je 0x14002fa34
add rax, 2
sub rcx, 1
jne 0x14002fa24
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_Vista
sub r9, rcx
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, 0x11653
lea rcx, [rbp - 0x80]
call fcn.140021780
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004dd30
nop
lea rcx, [rbp - 0x80]
call fcn.140021910
nop
mov r14b, 1
jmp 0x14002fb7b
cmp word [rax], 0
je 0x14002fae3
add rax, 2
sub rcx, 1
jne 0x14002fad3
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x14002fb40
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x14002fb31
mov rax, rbx
lea r9, str.Windows_Server_2008
sub r9, rcx
nop
test rax, rax
je 0x14002fb31
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x14002fb31
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x14002fb10
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.140021780
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004dd30
nop
lea rcx, [rbp - 0x80]
call fcn.140021910
nop
cmp dword [rbp - 0x48], 1
jne 0x14002fcfb
mov ecx, 0x100
mov rax, rdi
cmp byte [rbp + 0xca], 1
jne 0x14002fc53
nop word [rax + rax]
cmp word [rax], 0
je 0x14002fbb0
add rax, 2
sub rcx, 1
jne 0x14002fba0
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x14002fc10
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x14002fc01
mov rax, rbx
lea r9, str.Windows_7
sub r9, rcx
nop dword [rax]
test rax, rax
je 0x14002fc01
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x14002fc01
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x14002fbe0
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.140021780
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004dd30
nop
lea rcx, [rbp - 0x80]
call fcn.140021910
nop
mov r15b, 1
jmp 0x14002fcfb
cmp word [rax], 0
je 0x14002fc63
add rax, 2
sub rcx, 1
jne 0x14002fc53
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x14002fcc0
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x14002fcb1
mov rax, rbx
lea r9, str.Windows_Server_2008_R2
sub r9, rcx
nop
test rax, rax
je 0x14002fcb1
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x14002fcb1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x14002fc90
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.140021780
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004dd30
nop
lea rcx, [rbp - 0x80]
call fcn.140021910
nop
cmp dword [rbp - 0x48], 2
jne 0x14002feae
mov ecx, 0x100
mov rax, rdi
cmp byte [rbp + 0xca], 1
jne 0x14002fe07
nop word [rax + rax]
cmp word [rax], 0
je 0x14002fd30
add rax, 2
sub rcx, 1
jne 0x14002fd20
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x14002fd90
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x14002fd81
mov rax, rbx
lea r9, str.Windows_8
sub r9, rcx
nop dword [rax]
test rax, rax
je 0x14002fd81
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x14002fd81
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x14002fd60
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.140021780
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004dd30
nop
lea rcx, [rbp - 0x80]
call fcn.140021910
nop
mov qword [rsp + 0x30], rsi
mov byte [rsp + 0x38], 1
mov edx, 0x11745
lea rcx, [rbp - 0x80]
call fcn.140021780
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004dd30
nop
lea rcx, [rbp - 0x80]
call fcn.140021910
nop
mov sil, 1
jmp 0x14002feae
cmp word [rax], 0
je 0x14002fe17
add rax, 2
sub rcx, 1
jne 0x14002fe07
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x14002fe73
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x14002fe64
mov rax, rbx
lea r9, str.Windows_Server_2012
sub r9, rcx
test rax, rax
je 0x14002fe64
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x14002fe64
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x14002fe43
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.140021780
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004dd30
nop
lea rcx, [rbp - 0x80]
call fcn.140021910
nop
cmp dword [rbp - 0x48], 3
jne 0x14003002b
mov ecx, 0x100
mov rax, rdi
cmp byte [rbp + 0xca], 1
jne 0x14002ff80
nop dword [rax]
cmp word [rax], 0
je 0x14002fee0
add rax, 2
sub rcx, 1
jne 0x14002fed0
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x14002ff40
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x14002ff31
mov rax, rbx
lea r9, str.Windows_8.1
sub r9, rcx
nop dword [rax]
test rax, rax
je 0x14002ff31
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x14002ff31
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x14002ff10
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.140021780
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004dd30
nop
lea rcx, [rbp - 0x80]
call fcn.140021910
nop
jmp 0x14003002b
cmp word [rax], 0
je 0x14002ff90
add rax, 2
sub rcx, 1
jne 0x14002ff80
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x14002fff0
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x14002ffe1
mov rax, rbx
lea r9, str.Windows_Server_2012_R2
sub r9, rcx
nop dword [rax]
test rax, rax
je 0x14002ffe1
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x14002ffe1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x14002ffc0
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.140021780
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004dd30
nop
lea rcx, [rbp - 0x80]
call fcn.140021910
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.0x140030088.5
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0x31698]
mov ecx, dword [rdx + rax*4 + 0x3164c]
add rcx, rdx
jmp rcx
mov ecx, 0x100
mov rax, rdi
cmp word [rax], 0
je 0x1400300a2
add rax, 2
sub rcx, 1
jne 0x140030092
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x140030100
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x1400300f1
mov rax, rbx
lea r9, str.Professional_Edition
sub r9, rcx
nop
test rax, rax
je 0x1400300f1
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x1400300f1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x1400300d0
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r13w
test r15b, r15b
je 0x140030145
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.140021780
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004dd30
nop
lea rcx, [rbp - 0x80]
call fcn.140021910
nop
jmp 0x140030d37
test sil, sil
lea rsi, vtable.srl::Exists.0
je 0x140030d37
mov qword [rsp + 0x30], rsi
mov byte [rsp + 0x38], 1
mov edx, 0x11746
lea rcx, [rbp - 0x80]
call fcn.140021780
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004dd30
nop
lea rcx, [rbp - 0x80]
call fcn.140021910
nop
mov qword [rsp + 0x30], rsi
mov byte [rsp + 0x38], 0
mov edx, 0x11745
lea rcx, [rbp - 0x80]
call fcn.140021780
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004dd30
nop
lea rcx, [rbp - 0x80]
call fcn.140021910
nop
jmp 0x140030d37
mov ecx, 0x100
mov rax, rdi
nop word [rax + rax]
cmp word [rax], 0
je 0x1400301e0
add rax, 2
sub rcx, 1
jne 0x1400301d0
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x140030240
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030231
mov rax, rbx
lea r9, str.Ultimate_Edition
sub r9, rcx
nop dword [rax]
test rax, rax
je 0x140030231
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140030231
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140030210
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r13w
lea rsi, vtable.srl::Exists.0
test r14b, r14b
je 0x140030285
mov qword [rsp + 0x30], rsi
mov byte [rsp + 0x38], 1
mov edx, 0x1166b
lea rcx, [rbp - 0x80]
call fcn.140021780
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004dd30
nop
lea rcx, [rbp - 0x80]
call fcn.140021910
nop
jmp 0x140030d37
test r15b, r15b
je 0x140030d37
mov qword [rsp + 0x30], rsi
mov byte [rsp + 0x38], 1
mov edx, 0x11735
lea rcx, [rbp - 0x80]
call fcn.140021780
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004dd30
nop
lea rcx, [rbp - 0x80]
call fcn.140021910
nop
jmp 0x140030d37
mov ecx, 0x100
mov rax, rdi
nop
cmp word [rax], 0
je 0x1400302e0
add rax, 2
sub rcx, 1
jne 0x1400302d0
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x140030340
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030331
mov rax, rbx
lea r9, str.Home_Premium_Edition
sub r9, rcx
nop dword [rax]
test rax, rax
je 0x140030331
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140030331
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140030310
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r13w
lea rsi, vtable.srl::Exists.0
test r14b, r14b
je 0x140030385
mov qword [rsp + 0x30], rsi
mov byte [rsp + 0x38], 1
mov edx, 0x1166a
lea rcx, [rbp - 0x80]
call fcn.140021780
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004dd30
nop
lea rcx, [rbp - 0x80]
call fcn.140021910
nop
jmp 0x140030d37
test r15b, r15b
je 0x140030d37
mov qword [rsp + 0x30], rsi
mov byte [rsp + 0x38], 1
mov edx, 0x11739
lea rcx, [rbp - 0x80]
call fcn.140021780
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004dd30
nop
lea rcx, [rbp - 0x80]
call fcn.140021910
nop
jmp 0x140030d37
mov ecx, 0x100
mov rax, rdi
nop
cmp word [rax], 0
je 0x1400303e0
add rax, 2
sub rcx, 1
jne 0x1400303d0
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x140030440
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030431
mov rax, rbx
lea r9, str.Home_Basic_Edition
sub r9, rcx
nop dword [rax]
test rax, rax
je 0x140030431
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140030431
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140030410
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r13w
lea rsi, vtable.srl::Exists.0
test r14b, r14b
je 0x140030485
mov qword [rsp + 0x30], rsi
mov byte [rsp + 0x38], 1
mov edx, 0x11669
lea rcx, [rbp - 0x80]
call fcn.140021780
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004dd30
nop
lea rcx, [rbp - 0x80]
call fcn.140021910
nop
jmp 0x140030d37
test r15b, r15b
je 0x140030d37
mov qword [rsp + 0x30], rsi
mov byte [rsp + 0x38], 1
mov edx, 0x1173a
lea rcx, [rbp - 0x80]
call fcn.140021780
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004dd30
nop
lea rcx, [rbp - 0x80]
call fcn.140021910
nop
jmp 0x140030d37
mov ecx, 0x100
mov rax, rdi
nop
cmp word [rax], 0
je 0x1400304e0
add rax, 2
sub rcx, 1
jne 0x1400304d0
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x140030540
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030531
mov rax, rbx
lea r9, str.Enterprise_Edition
sub r9, rcx
nop dword [rax]
test rax, rax
je 0x140030531
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140030531
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140030510
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r13w
test r14b, r14b
je 0x140030585
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.140021780
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004dd30
nop
lea rcx, [rbp - 0x80]
call fcn.140021910
nop
jmp 0x140030d37
test r15b, r15b
je 0x1400305ca
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.140021780
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004dd30
nop
lea rcx, [rbp - 0x80]
call fcn.140021910
nop
jmp 0x140030d37
test sil, sil
lea rsi, vtable.srl::Exists.0
je 0x140030d37
mov qword [rsp + 0x30], rsi
mov byte [rsp + 0x38], 1
mov edx, 0x11747
lea rcx, [rbp - 0x80]
call fcn.140021780
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004dd30
nop
lea rcx, [rbp - 0x80]
call fcn.140021910
nop
mov qword [rsp + 0x30], rsi
mov byte [rsp + 0x38], 0
mov edx, 0x11745
lea rcx, [rbp - 0x80]
call fcn.140021780
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004dd30
nop
lea rcx, [rbp - 0x80]
call fcn.140021910
nop
jmp 0x140030d37
mov ecx, 0x100
mov rax, rdi
nop
cmp word [rax], 0
je 0x140030660
add rax, 2
sub rcx, 1
jne 0x140030650
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x1400306c0
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x1400306b1
mov rax, rbx
lea r9, str.Business_Edition
sub r9, rcx
nop dword [rax]
test rax, rax
je 0x1400306b1
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x1400306b1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140030690
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r13w
lea rsi, vtable.srl::Exists.0
test r14b, r14b
je 0x140030d37
mov qword [rsp + 0x30], rsi
mov byte [rsp + 0x38], 1
mov edx, 0x11667
lea rcx, [rbp - 0x80]
call fcn.140021780
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004dd30
nop
lea rcx, [rbp - 0x80]
call fcn.140021910
nop
jmp 0x140030d37
mov ecx, 0x100
mov rax, rdi
cmp word [rax], 0
je 0x140030721
add rax, 2
sub rcx, 1
jne 0x140030711
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x140030780
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030771
mov rax, rbx
lea r9, str.Starter_Edition
sub r9, rcx
nop dword [rax]
test rax, rax
je 0x140030771
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140030771
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140030750
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r13w
lea rsi, vtable.srl::Exists.0
test r15b, r15b
je 0x140030d37
mov qword [rsp + 0x30], rsi
mov byte [rsp + 0x38], 1
mov edx, 0x1173b
lea rcx, [rbp - 0x80]
call fcn.140021780
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004dd30
nop
lea rcx, [rbp - 0x80]
call fcn.140021910
nop
jmp 0x140030d37
mov ecx, 0x100
mov rax, rdi
cmp word [rax], 0
je 0x1400307e1
add rax, 2
sub rcx, 1
jne 0x1400307d1
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je case.0x140030088.5
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030d21
mov rax, rbx
lea r9, str.Cluster_Server_Edition
sub r9, rcx
test rax, rax
je 0x140030d21
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140030d21
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140030815
jmp 0x140030d21
mov ecx, 0x100
mov rax, rdi
nop dword [rax + rax]
cmp word [rax], 0
je 0x140030860
add rax, 2
sub rcx, 1
jne 0x140030850
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je case.0x140030088.5
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030d21
mov rax, rbx
lea r9, str.Datacenter_Edition
sub r9, rcx
test rax, rax
je 0x140030d21
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140030d21
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140030894
jmp 0x140030d21
mov ecx, 0x100
mov rax, rdi
nop word [rax + rax]
cmp word [rax], 0
je 0x1400308e0
add rax, 2
sub rcx, 1
jne 0x1400308d0
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je case.0x140030088.5
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030d21
mov rax, rbx
lea r9, str.Datacenter_Edition__core_installation_
sub r9, rcx
test rax, rax
je 0x140030d21
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140030d21
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140030914
jmp 0x140030d21
mov ecx, 0x100
mov rax, rdi
nop word [rax + rax]
cmp word [rax], 0
je 0x140030960
add rax, 2
sub rcx, 1
jne 0x140030950
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je case.0x140030088.5
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030d21
mov rax, rbx
lea r9, str.Enterprise_Edition
sub r9, rcx
test rax, rax
je 0x140030d21
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140030d21
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140030994
jmp 0x140030d21
mov ecx, 0x100
mov rax, rdi
nop word [rax + rax]
cmp word [rax], 0
je 0x1400309e0
add rax, 2
sub rcx, 1
jne 0x1400309d0
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je case.0x140030088.5
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030d21
mov rax, rbx
lea r9, str.Enterprise_Edition__core_installation_
sub r9, rcx
test rax, rax
je 0x140030d21
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140030d21
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140030a14
jmp 0x140030d21
mov ecx, 0x100
mov rax, rdi
nop word [rax + rax]
cmp word [rax], 0
je 0x140030a60
add rax, 2
sub rcx, 1
jne 0x140030a50
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je case.0x140030088.5
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030d21
mov rax, rbx
mov r9, r12
sub r9, rcx
test rax, rax
je 0x140030d21
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140030d21
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140030a90
jmp 0x140030d21
mov ecx, 0x100
mov rax, rdi
cmp word [rax], 0
je 0x140030ad6
add rax, 2
sub rcx, 1
jne 0x140030ac6
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je case.0x140030088.5
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030d21
mov rax, rbx
lea r9, str.Small_Business_Server
sub r9, rcx
nop word [rax + rax]
test rax, rax
je 0x140030d21
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140030d21
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140030b10
jmp 0x140030d21
mov ecx, 0x100
mov rax, rdi
cmp word [rax], 0
je 0x140030b56
add rax, 2
sub rcx, 1
jne 0x140030b46
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je case.0x140030088.5
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030d21
mov rax, rbx
lea r9, str.Small_Business_Server_Premium_Edition
sub r9, rcx
nop word [rax + rax]
test rax, rax
je 0x140030d21
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140030d21
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140030b90
jmp 0x140030d21
mov ecx, 0x100
mov rax, rdi
cmp word [rax], 0
je 0x140030bd6
add rax, 2
sub rcx, 1
jne 0x140030bc6
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je case.0x140030088.5
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030d21
mov rax, rbx
lea r9, str.Standard_Edition
sub r9, rcx
nop word [rax + rax]
test rax, rax
je 0x140030d21
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140030d21
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140030c10
jmp 0x140030d21
mov ecx, 0x100
mov rax, rdi
cmp word [rax], 0
je 0x140030c56
add rax, 2
sub rcx, 1
jne 0x140030c46
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je case.0x140030088.5
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030d21
mov rax, rbx
lea r9, str.Standard_Edition__core_installation_
sub r9, rcx
nop word [rax + rax]
test rax, rax
je 0x140030d21
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140030d21
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140030c90
jmp 0x140030d21
mov ecx, 0x100
mov rax, rdi
nop
cmp word [rax], 0
je 0x140030cd0
add rax, 2
sub rcx, 1
jne 0x140030cc0
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je case.0x140030088.5
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030d21
mov rax, rbx
lea r9, str.Web_Server_Edition
sub r9, rcx
nop dword [rax]
test rax, rax
je 0x140030d21
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140030d21
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140030d00
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 0x14003156c
mov eax, dword [rbp - 0x48]
cmp eax, 2
jne 0x140031456
lea ecx, [rax + 0x57]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x140030e0b
mov ecx, 0x100
mov rax, rdi
cmp word [rax], 0
je 0x140030d76
add rax, 2
sub rcx, 1
jne 0x140030d66
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x140030dd2
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030dc3
mov rax, rbx
lea r9, str.Windows_Server_2003_R2_
sub r9, rcx
test rax, rax
je 0x140030dc3
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140030dc3
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140030da2
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.140021780
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004dd30
nop
lea rcx, [rbp - 0x80]
call fcn.140021910
nop
jmp 0x140031104
mov ecx, 0x2000
movzx eax, word [rbp + 0xc8]
cmp ax, cx
jne 0x140030ecd
mov ecx, 0x100
mov rax, rdi
cmp word [rax], 0
je 0x140030e38
add rax, 2
sub rcx, 1
jne 0x140030e28
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x140030e94
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030e85
mov rax, rbx
lea r9, str.Windows_Storage_Server_2003
sub r9, rcx
test rax, rax
je 0x140030e85
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140030e85
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140030e64
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.140021780
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004dd30
nop
lea rcx, [rbp - 0x80]
call fcn.140021910
nop
jmp 0x140031104
mov ecx, 0x8000
cmp ax, cx
jne 0x140030f89
mov ecx, 0x100
mov rax, rdi
cmp word [rax], 0
je 0x140030ef3
add rax, 2
sub rcx, 1
jne 0x140030ee3
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x140030f50
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030f41
mov rax, rbx
lea r9, str.Windows_Home_Server
sub r9, rcx
nop
test rax, rax
je 0x140030f41
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140030f41
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140030f20
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.140021780
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004dd30
nop
lea rcx, [rbp - 0x80]
call fcn.140021910
nop
jmp 0x140031104
cmp byte [rbp + 0xca], 1
jne 0x140031059
cmp word [rsp + 0x50], 9
jne 0x140031059
mov ecx, 0x100
mov rax, rdi
nop word [rax + rax]
cmp word [rax], 0
je 0x140030fc0
add rax, 2
sub rcx, 1
jne 0x140030fb0
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x140031020
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140031011
mov rax, rbx
lea r9, str.Windows_XP_Professional_x64_Edition
sub r9, rcx
nop dword [rax]
test rax, rax
je 0x140031011
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140031011
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140030ff0
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.140021780
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004dd30
nop
lea rcx, [rbp - 0x80]
call fcn.140021910
nop
jmp 0x140031104
mov ecx, 0x100
mov rax, rdi
cmp word [rax], 0
je 0x140031071
add rax, 2
sub rcx, 1
jne 0x140031061
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x1400310d0
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x1400310c1
mov rax, rbx
lea r9, str.Windows_Server_2003_
sub r9, rcx
nop dword [rax]
test rax, rax
je 0x1400310c1
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x1400310c1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x1400310a0
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.140021780
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004dd30
nop
lea rcx, [rbp - 0x80]
call fcn.140021910
nop
cmp byte [rbp + 0xca], 1
je 0x140031449
movzx eax, word [rsp + 0x50]
cmp ax, 6
jne 0x14003124b
movzx eax, byte [rbp + 0xc8]
test al, al
jns 0x1400311bb
mov ecx, 0x100
mov rax, rdi
cmp word [rax], 0
je 0x140031147
add rax, 2
sub rcx, 1
jne 0x140031137
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x140031449
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x1400313df
lea r8, str.Datacenter_Edition_for_Itanium_based_Systems
sub r8, rcx
nop dword [rax + rax]
test rbx, rbx
je 0x1400313df
movzx eax, word [r8 + rcx]
test ax, ax
je 0x1400313df
mov word [rcx], ax
add rcx, 2
dec rbx
sub rdx, 1
jne 0x140031180
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r13w
jmp 0x140031449
test al, 2
je 0x140031449
mov ecx, 0x100
mov rax, rdi
nop dword [rax + rax]
cmp word [rax], 0
je 0x1400311e0
add rax, 2
sub rcx, 1
jne 0x1400311d0
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x140031449
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x1400313df
sub r12, rcx
nop word [rax + rax]
test rbx, rbx
je 0x1400313df
movzx eax, word [r12 + rcx]
test ax, ax
je 0x1400313df
mov word [rcx], ax
add rcx, 2
dec rbx
sub rdx, 1
jne 0x140031210
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r13w
jmp 0x140031449
cmp ax, 9
jne 0x1400313f0
movzx eax, byte [rbp + 0xc8]
mov ecx, 0x100
test al, al
jns 0x1400312ec
mov rax, rdi
nop dword [rax]
cmp word [rax], 0
je 0x140031280
add rax, 2
sub rcx, 1
jne 0x140031270
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x140031449
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x1400313df
lea r8, str.Datacenter_x64_Edition
sub r8, rcx
test rbx, rbx
je 0x1400313df
movzx eax, word [r8 + rcx]
test ax, ax
je 0x1400313df
mov word [rcx], ax
add rcx, 2
dec rbx
sub rdx, 1
jne 0x1400312b1
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r13w
jmp 0x140031449
test al, 2
mov rax, rdi
je 0x140031380
cmp word [rax], 0
je 0x140031307
add rax, 2
sub rcx, 1
jne 0x1400312f7
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x140031449
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x1400313df
lea r8, str.Enterprise_x64_Edition
sub r8, rcx
nop dword [rax + rax]
test rbx, rbx
je 0x1400313df
movzx eax, word [rcx + r8]
test ax, ax
je 0x1400313df
mov word [rcx], ax
add rcx, 2
dec rbx
sub rdx, 1
jne 0x140031340
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r13w
jmp 0x140031449
cmp word [rax], 0
je 0x140031390
add rax, 2
sub rcx, 1
jne 0x140031380
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x140031449
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x1400313df
lea r8, str.Standard_x64_Edition
sub r8, rcx
nop dword [rax]
test rbx, rbx
je 0x1400313df
movzx eax, word [rcx + r8]
test ax, ax
je 0x1400313df
mov word [rcx], ax
add rcx, 2
dec rbx
sub rdx, 1
jne 0x1400313c0
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r13w
jmp 0x140031449
movzx eax, word [rbp + 0xc8]
bt ax, 0xe
jae 0x140031407
lea r8, str.Compute_Cluster_Edition
jmp 0x14003143c
mov byte [rbp + 0xc8], al
test al, al
jns 0x14003141a
lea r8, str.Datacenter_Edition
jmp 0x14003143c
test al, 2
je 0x140031427
lea r8, str.Enterprise_Edition
jmp 0x14003143c
bt ax, 0xa
lea r8, str.Web_Edition
jb 0x14003143c
lea r8, str.Standard_Edition
mov edx, 0x100
mov rcx, rdi
call fcn.14002f4c0
cmp dword [rbp - 0x4c], 5
jne 0x14003156c
mov eax, dword [rbp - 0x48]
lea rbx, str.Professional
cmp eax, 1
jne 0x1400314db
lea r8, str.Windows_XP
mov edx, 0x100
mov rcx, rdi
call fcn.14002f4c0
mov qword [rsp + 0x30], rsi
mov byte [rsp + 0x38], 1
mov edx, 0x1166c
lea rcx, [rbp - 0x80]
call fcn.140021780
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004dd30
nop
lea rcx, [rbp - 0x80]
call fcn.140021910
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.14002f4c0
cmp dword [rbp - 0x4c], 5
jne 0x14003156c
mov eax, dword [rbp - 0x48]
test eax, eax
jne 0x14003156c
lea r8, str.Windows_2000
mov edx, 0x100
mov rcx, rdi
call fcn.14002f4c0
mov qword [rsp + 0x30], rsi
mov byte [rsp + 0x38], 1
mov edx, 0x1165e
lea rcx, [rbp - 0x80]
call fcn.140021780
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.14004dd30
nop
lea rcx, [rbp - 0x80]
call fcn.140021910
nop
cmp byte [rbp + 0xca], 1
jne 0x140031539
mov r8, rbx
jmp 0x14003155f
movzx eax, byte [rbp + 0xc8]
test al, al
jns 0x14003154d
lea r8, str.Datacenter_Server
jmp 0x14003155f
test al, 2
lea r8, str.Advanced_Server
jne 0x14003155f
lea r8, str.Server
mov edx, 0x100
mov rcx, rdi
call fcn.14002f4c0
lea rcx, [rbp - 0x3c]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140031580
test rax, rax
je 0x1400315b4
lea r8, [0x1402b9af8]
mov edx, 0x100
mov rcx, rdi
call fcn.14002f4c0
lea r8, [rbp - 0x3c]
mov edx, 0x100
mov rcx, rdi
call fcn.14002f4c0
mov r9d, dword [rbp - 0x44]
lea r8, str.__build__d_
mov edx, 0x50
lea rcx, [rbp + 0xd0]
call fcn.14002f580
lea r8, [rbp + 0xd0]
mov edx, 0x100
mov rcx, rdi
call fcn.14002f4c0
cmp dword [rbp - 0x4c], 6
jb 0x140031617
movzx eax, word [rsp + 0x50]
cmp ax, 9
jne 0x1400315fe
lea r8, str.__64_bit
jmp 0x14003160a
test ax, ax
jne 0x140031617
lea r8, str.__32_bit
mov edx, 0x100
mov rcx, rdi
call fcn.14002f4c0
mov eax, 1
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.140211820
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