Function at 0x14002f5e0
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, pe_nt_image_headers64
lea rcx, [rbp - 0x4c]
call fcn.1402165f0
mov dword [rbp - 0x50], 0x11c
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1400315b7
cmp dword [rbp - 0x4c], 6
jb 0x14002f694
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x44]
call fcn.14002c6b0
test al, al
je 0x14002f694
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x44]
cmp dword [rbp - 0x4c], ecx
jne 0x14002f687
cmp dword [rbp - 0x48], eax
je 0x14002f694
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 0x14002f6bf
call rax
jmp 0x14002f6c5
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [rbp - 0x40], 2
jne 0x1400315b7
cmp dword [rbp - 0x4c], 4
jbe 0x1400315b7
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 0x14002f713
movzx eax, word [r8 + rcx]
test ax, ax
je 0x14002f713
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x14002f6f0
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 0x14002f7ad
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.14004dcd0
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.14004dcd0
nop
lea rcx, [rbp - 0x80]
call fcn.1400218f0
nop
jmp 0x14002f81b
cmp ax, 9
jne 0x14002f81b
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.14004dcd0
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.14004dcd0
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 0x14002f994
mov ecx, 0x100
mov rax, rdi
cmp dword [rbp - 0x44], 0x55f0
jb 0x14002f8f0
cmp word [rax], 0
je 0x14002f858
add rax, 2
sub rcx, 1
jne 0x14002f848
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x14002f8b4
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x14002f8a5
mov rax, rbx
lea r9, str.Windows_11
sub r9, rcx
test rax, rax
je 0x14002f8a5
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x14002f8a5
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x14002f884
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.14004dcd0
nop
lea rcx, [rbp - 0x80]
call fcn.1400218f0
nop
jmp 0x14002f994
cmp word [rax], 0
je 0x14002f900
add rax, 2
sub rcx, 1
jne 0x14002f8f0
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x14002f960
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x14002f951
mov rax, rbx
lea r9, str.Windows_10
sub r9, rcx
nop dword [rax]
test rax, rax
je 0x14002f951
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x14002f951
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x14002f930
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.14004dcd0
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.0x140030028.5
cmp dword [rbp - 0x48], 0
jne 0x14002fb1b
mov ecx, 0x100
mov rax, rdi
cmp byte [rbp + 0xca], 1
jne 0x14002fa73
cmp word [rax], 0
je 0x14002f9d4
add rax, 2
sub rcx, 1
jne 0x14002f9c4
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x14002fa30
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x14002fa21
mov rax, rbx
lea r9, str.Windows_Vista
sub r9, rcx
test rax, rax
je 0x14002fa21
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x14002fa21
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x14002fa00
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.14004dcd0
nop
lea rcx, [rbp - 0x80]
call fcn.1400218f0
nop
mov r14b, 1
jmp 0x14002fb1b
cmp word [rax], 0
je 0x14002fa83
add rax, 2
sub rcx, 1
jne 0x14002fa73
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x14002fae0
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x14002fad1
mov rax, rbx
lea r9, str.Windows_Server_2008
sub r9, rcx
nop
test rax, rax
je 0x14002fad1
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x14002fad1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x14002fab0
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.14004dcd0
nop
lea rcx, [rbp - 0x80]
call fcn.1400218f0
nop
cmp dword [rbp - 0x48], 1
jne 0x14002fc9b
mov ecx, 0x100
mov rax, rdi
cmp byte [rbp + 0xca], 1
jne 0x14002fbf3
nop word [rax + rax]
cmp word [rax], 0
je 0x14002fb50
add rax, 2
sub rcx, 1
jne 0x14002fb40
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x14002fbb0
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x14002fba1
mov rax, rbx
lea r9, str.Windows_7
sub r9, rcx
nop dword [rax]
test rax, rax
je 0x14002fba1
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x14002fba1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x14002fb80
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.14004dcd0
nop
lea rcx, [rbp - 0x80]
call fcn.1400218f0
nop
mov r15b, 1
jmp 0x14002fc9b
cmp word [rax], 0
je 0x14002fc03
add rax, 2
sub rcx, 1
jne 0x14002fbf3
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x14002fc60
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x14002fc51
mov rax, rbx
lea r9, str.Windows_Server_2008_R2
sub r9, rcx
nop
test rax, rax
je 0x14002fc51
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x14002fc51
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x14002fc30
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.14004dcd0
nop
lea rcx, [rbp - 0x80]
call fcn.1400218f0
nop
cmp dword [rbp - 0x48], 2
jne 0x14002fe4e
mov ecx, 0x100
mov rax, rdi
cmp byte [rbp + 0xca], 1
jne 0x14002fda7
nop word [rax + rax]
cmp word [rax], 0
je 0x14002fcd0
add rax, 2
sub rcx, 1
jne 0x14002fcc0
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x14002fd30
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x14002fd21
mov rax, rbx
lea r9, str.Windows_8
sub r9, rcx
nop dword [rax]
test rax, rax
je 0x14002fd21
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x14002fd21
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x14002fd00
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.14004dcd0
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.14004dcd0
nop
lea rcx, [rbp - 0x80]
call fcn.1400218f0
nop
mov sil, 1
jmp 0x14002fe4e
cmp word [rax], 0
je 0x14002fdb7
add rax, 2
sub rcx, 1
jne 0x14002fda7
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x14002fe13
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x14002fe04
mov rax, rbx
lea r9, str.Windows_Server_2012
sub r9, rcx
test rax, rax
je 0x14002fe04
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x14002fe04
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x14002fde3
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.14004dcd0
nop
lea rcx, [rbp - 0x80]
call fcn.1400218f0
nop
cmp dword [rbp - 0x48], 3
jne 0x14002ffcb
mov ecx, 0x100
mov rax, rdi
cmp byte [rbp + 0xca], 1
jne 0x14002ff20
nop dword [rax]
cmp word [rax], 0
je 0x14002fe80
add rax, 2
sub rcx, 1
jne 0x14002fe70
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x14002fee0
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x14002fed1
mov rax, rbx
lea r9, str.Windows_8.1
sub r9, rcx
nop dword [rax]
test rax, rax
je 0x14002fed1
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x14002fed1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x14002feb0
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.14004dcd0
nop
lea rcx, [rbp - 0x80]
call fcn.1400218f0
nop
jmp 0x14002ffcb
cmp word [rax], 0
je 0x14002ff30
add rax, 2
sub rcx, 1
jne 0x14002ff20
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x14002ff90
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x14002ff81
mov rax, rbx
lea r9, str.Windows_Server_2012_R2
sub r9, rcx
nop dword [rax]
test rax, rax
je 0x14002ff81
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x14002ff81
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x14002ff60
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.14004dcd0
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.0x140030028.5
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0x31638]
mov ecx, dword [rdx + rax*4 + 0x315ec]
add rcx, rdx
jmp rcx
mov ecx, 0x100
mov rax, rdi
cmp word [rax], 0
je 0x140030042
add rax, 2
sub rcx, 1
jne 0x140030032
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x1400300a0
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030091
mov rax, rbx
lea r9, str.Professional_Edition
sub r9, rcx
nop
test rax, rax
je 0x140030091
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140030091
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140030070
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r13w
test r15b, r15b
je 0x1400300e5
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.14004dcd0
nop
lea rcx, [rbp - 0x80]
call fcn.1400218f0
nop
jmp 0x140030cd7
test sil, sil
lea rsi, vtable.srl::Exists.0
je 0x140030cd7
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.14004dcd0
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.14004dcd0
nop
lea rcx, [rbp - 0x80]
call fcn.1400218f0
nop
jmp 0x140030cd7
mov ecx, 0x100
mov rax, rdi
nop word [rax + rax]
cmp word [rax], 0
je 0x140030180
add rax, 2
sub rcx, 1
jne 0x140030170
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.Ultimate_Edition
sub r9, rcx
nop dword [rax]
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
lea rsi, vtable.srl::Exists.0
test r14b, r14b
je 0x140030225
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.14004dcd0
nop
lea rcx, [rbp - 0x80]
call fcn.1400218f0
nop
jmp 0x140030cd7
test r15b, r15b
je 0x140030cd7
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.14004dcd0
nop
lea rcx, [rbp - 0x80]
call fcn.1400218f0
nop
jmp 0x140030cd7
mov ecx, 0x100
mov rax, rdi
nop
cmp word [rax], 0
je 0x140030280
add rax, 2
sub rcx, 1
jne 0x140030270
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x1400302e0
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x1400302d1
mov rax, rbx
lea r9, str.Home_Premium_Edition
sub r9, rcx
nop dword [rax]
test rax, rax
je 0x1400302d1
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x1400302d1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x1400302b0
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r13w
lea rsi, vtable.srl::Exists.0
test r14b, r14b
je 0x140030325
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.14004dcd0
nop
lea rcx, [rbp - 0x80]
call fcn.1400218f0
nop
jmp 0x140030cd7
test r15b, r15b
je 0x140030cd7
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.14004dcd0
nop
lea rcx, [rbp - 0x80]
call fcn.1400218f0
nop
jmp 0x140030cd7
mov ecx, 0x100
mov rax, rdi
nop
cmp word [rax], 0
je 0x140030380
add rax, 2
sub rcx, 1
jne 0x140030370
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x1400303e0
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x1400303d1
mov rax, rbx
lea r9, str.Home_Basic_Edition
sub r9, rcx
nop dword [rax]
test rax, rax
je 0x1400303d1
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x1400303d1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x1400303b0
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r13w
lea rsi, vtable.srl::Exists.0
test r14b, r14b
je 0x140030425
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.14004dcd0
nop
lea rcx, [rbp - 0x80]
call fcn.1400218f0
nop
jmp 0x140030cd7
test r15b, r15b
je 0x140030cd7
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.14004dcd0
nop
lea rcx, [rbp - 0x80]
call fcn.1400218f0
nop
jmp 0x140030cd7
mov ecx, 0x100
mov rax, rdi
nop
cmp word [rax], 0
je 0x140030480
add rax, 2
sub rcx, 1
jne 0x140030470
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x1400304e0
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x1400304d1
mov rax, rbx
lea r9, str.Enterprise_Edition
sub r9, rcx
nop dword [rax]
test rax, rax
je 0x1400304d1
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x1400304d1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x1400304b0
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r13w
test r14b, r14b
je 0x140030525
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.14004dcd0
nop
lea rcx, [rbp - 0x80]
call fcn.1400218f0
nop
jmp 0x140030cd7
test r15b, r15b
je 0x14003056a
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.14004dcd0
nop
lea rcx, [rbp - 0x80]
call fcn.1400218f0
nop
jmp 0x140030cd7
test sil, sil
lea rsi, vtable.srl::Exists.0
je 0x140030cd7
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.14004dcd0
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.14004dcd0
nop
lea rcx, [rbp - 0x80]
call fcn.1400218f0
nop
jmp 0x140030cd7
mov ecx, 0x100
mov rax, rdi
nop
cmp word [rax], 0
je 0x140030600
add rax, 2
sub rcx, 1
jne 0x1400305f0
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x140030660
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030651
mov rax, rbx
lea r9, str.Business_Edition
sub r9, rcx
nop dword [rax]
test rax, rax
je 0x140030651
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140030651
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140030630
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r13w
lea rsi, vtable.srl::Exists.0
test r14b, r14b
je 0x140030cd7
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.14004dcd0
nop
lea rcx, [rbp - 0x80]
call fcn.1400218f0
nop
jmp 0x140030cd7
mov ecx, 0x100
mov rax, rdi
cmp word [rax], 0
je 0x1400306c1
add rax, 2
sub rcx, 1
jne 0x1400306b1
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x140030720
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030711
mov rax, rbx
lea r9, str.Starter_Edition
sub r9, rcx
nop dword [rax]
test rax, rax
je 0x140030711
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140030711
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x1400306f0
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r13w
lea rsi, vtable.srl::Exists.0
test r15b, r15b
je 0x140030cd7
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.14004dcd0
nop
lea rcx, [rbp - 0x80]
call fcn.1400218f0
nop
jmp 0x140030cd7
mov ecx, 0x100
mov rax, rdi
cmp word [rax], 0
je 0x140030781
add rax, 2
sub rcx, 1
jne 0x140030771
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je case.0x140030028.5
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030cc1
mov rax, rbx
lea r9, str.Cluster_Server_Edition
sub r9, rcx
test rax, rax
je 0x140030cc1
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140030cc1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x1400307b5
jmp 0x140030cc1
mov ecx, 0x100
mov rax, rdi
nop dword [rax + rax]
cmp word [rax], 0
je 0x140030800
add rax, 2
sub rcx, 1
jne 0x1400307f0
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je case.0x140030028.5
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030cc1
mov rax, rbx
lea r9, str.Datacenter_Edition
sub r9, rcx
test rax, rax
je 0x140030cc1
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140030cc1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140030834
jmp 0x140030cc1
mov ecx, 0x100
mov rax, rdi
nop word [rax + rax]
cmp word [rax], 0
je 0x140030880
add rax, 2
sub rcx, 1
jne 0x140030870
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je case.0x140030028.5
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030cc1
mov rax, rbx
lea r9, str.Datacenter_Edition__core_installation_
sub r9, rcx
test rax, rax
je 0x140030cc1
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140030cc1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x1400308b4
jmp 0x140030cc1
mov ecx, 0x100
mov rax, rdi
nop word [rax + rax]
cmp word [rax], 0
je 0x140030900
add rax, 2
sub rcx, 1
jne 0x1400308f0
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je case.0x140030028.5
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030cc1
mov rax, rbx
lea r9, str.Enterprise_Edition
sub r9, rcx
test rax, rax
je 0x140030cc1
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140030cc1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140030934
jmp 0x140030cc1
mov ecx, 0x100
mov rax, rdi
nop word [rax + rax]
cmp word [rax], 0
je 0x140030980
add rax, 2
sub rcx, 1
jne 0x140030970
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je case.0x140030028.5
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030cc1
mov rax, rbx
lea r9, str.Enterprise_Edition__core_installation_
sub r9, rcx
test rax, rax
je 0x140030cc1
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140030cc1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x1400309b4
jmp 0x140030cc1
mov ecx, 0x100
mov rax, rdi
nop word [rax + rax]
cmp word [rax], 0
je 0x140030a00
add rax, 2
sub rcx, 1
jne 0x1400309f0
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je case.0x140030028.5
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030cc1
mov rax, rbx
mov r9, r12
sub r9, rcx
test rax, rax
je 0x140030cc1
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140030cc1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140030a30
jmp 0x140030cc1
mov ecx, 0x100
mov rax, rdi
cmp word [rax], 0
je 0x140030a76
add rax, 2
sub rcx, 1
jne 0x140030a66
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je case.0x140030028.5
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030cc1
mov rax, rbx
lea r9, str.Small_Business_Server
sub r9, rcx
nop word [rax + rax]
test rax, rax
je 0x140030cc1
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140030cc1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140030ab0
jmp 0x140030cc1
mov ecx, 0x100
mov rax, rdi
cmp word [rax], 0
je 0x140030af6
add rax, 2
sub rcx, 1
jne 0x140030ae6
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je case.0x140030028.5
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030cc1
mov rax, rbx
lea r9, str.Small_Business_Server_Premium_Edition
sub r9, rcx
nop word [rax + rax]
test rax, rax
je 0x140030cc1
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140030cc1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140030b30
jmp 0x140030cc1
mov ecx, 0x100
mov rax, rdi
cmp word [rax], 0
je 0x140030b76
add rax, 2
sub rcx, 1
jne 0x140030b66
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je case.0x140030028.5
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030cc1
mov rax, rbx
lea r9, str.Standard_Edition
sub r9, rcx
nop word [rax + rax]
test rax, rax
je 0x140030cc1
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140030cc1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140030bb0
jmp 0x140030cc1
mov ecx, 0x100
mov rax, rdi
cmp word [rax], 0
je 0x140030bf6
add rax, 2
sub rcx, 1
jne 0x140030be6
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je case.0x140030028.5
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030cc1
mov rax, rbx
lea r9, str.Standard_Edition__core_installation_
sub r9, rcx
nop word [rax + rax]
test rax, rax
je 0x140030cc1
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140030cc1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140030c30
jmp 0x140030cc1
mov ecx, 0x100
mov rax, rdi
nop
cmp word [rax], 0
je 0x140030c70
add rax, 2
sub rcx, 1
jne 0x140030c60
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je case.0x140030028.5
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030cc1
mov rax, rbx
lea r9, str.Web_Server_Edition
sub r9, rcx
nop dword [rax]
test rax, rax
je 0x140030cc1
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140030cc1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140030ca0
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 0x14003150c
mov eax, dword [rbp - 0x48]
cmp eax, 2
jne 0x1400313f6
lea ecx, [rax + 0x57]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x140030dab
mov ecx, 0x100
mov rax, rdi
cmp word [rax], 0
je 0x140030d16
add rax, 2
sub rcx, 1
jne 0x140030d06
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x140030d72
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030d63
mov rax, rbx
lea r9, str.Windows_Server_2003_R2_
sub r9, rcx
test rax, rax
je 0x140030d63
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140030d63
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140030d42
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.14004dcd0
nop
lea rcx, [rbp - 0x80]
call fcn.1400218f0
nop
jmp 0x1400310a4
mov ecx, 0x2000
movzx eax, word [rbp + 0xc8]
cmp ax, cx
jne 0x140030e6d
mov ecx, 0x100
mov rax, rdi
cmp word [rax], 0
je 0x140030dd8
add rax, 2
sub rcx, 1
jne 0x140030dc8
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x140030e34
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030e25
mov rax, rbx
lea r9, str.Windows_Storage_Server_2003
sub r9, rcx
test rax, rax
je 0x140030e25
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140030e25
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140030e04
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.14004dcd0
nop
lea rcx, [rbp - 0x80]
call fcn.1400218f0
nop
jmp 0x1400310a4
mov ecx, 0x8000
cmp ax, cx
jne 0x140030f29
mov ecx, 0x100
mov rax, rdi
cmp word [rax], 0
je 0x140030e93
add rax, 2
sub rcx, 1
jne 0x140030e83
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x140030ef0
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030ee1
mov rax, rbx
lea r9, str.Windows_Home_Server
sub r9, rcx
nop
test rax, rax
je 0x140030ee1
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140030ee1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140030ec0
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.14004dcd0
nop
lea rcx, [rbp - 0x80]
call fcn.1400218f0
nop
jmp 0x1400310a4
cmp byte [rbp + 0xca], 1
jne 0x140030ff9
cmp word [rsp + 0x50], 9
jne 0x140030ff9
mov ecx, 0x100
mov rax, rdi
nop word [rax + rax]
cmp word [rax], 0
je 0x140030f60
add rax, 2
sub rcx, 1
jne 0x140030f50
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x140030fc0
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140030fb1
mov rax, rbx
lea r9, str.Windows_XP_Professional_x64_Edition
sub r9, rcx
nop dword [rax]
test rax, rax
je 0x140030fb1
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140030fb1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140030f90
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.14004dcd0
nop
lea rcx, [rbp - 0x80]
call fcn.1400218f0
nop
jmp 0x1400310a4
mov ecx, 0x100
mov rax, rdi
cmp word [rax], 0
je 0x140031011
add rax, 2
sub rcx, 1
jne 0x140031001
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x140031070
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140031061
mov rax, rbx
lea r9, str.Windows_Server_2003_
sub r9, rcx
nop dword [rax]
test rax, rax
je 0x140031061
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140031061
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140031040
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.14004dcd0
nop
lea rcx, [rbp - 0x80]
call fcn.1400218f0
nop
cmp byte [rbp + 0xca], 1
je 0x1400313e9
movzx eax, word [rsp + 0x50]
cmp ax, 6
jne 0x1400311eb
movzx eax, byte [rbp + 0xc8]
test al, al
jns 0x14003115b
mov ecx, 0x100
mov rax, rdi
cmp word [rax], 0
je 0x1400310e7
add rax, 2
sub rcx, 1
jne 0x1400310d7
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x1400313e9
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x14003137f
lea r8, str.Datacenter_Edition_for_Itanium_based_Systems
sub r8, rcx
nop dword [rax + rax]
test rbx, rbx
je 0x14003137f
movzx eax, word [r8 + rcx]
test ax, ax
je 0x14003137f
mov word [rcx], ax
add rcx, 2
dec rbx
sub rdx, 1
jne 0x140031120
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r13w
jmp 0x1400313e9
test al, 2
je 0x1400313e9
mov ecx, 0x100
mov rax, rdi
nop dword [rax + rax]
cmp word [rax], 0
je 0x140031180
add rax, 2
sub rcx, 1
jne 0x140031170
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x1400313e9
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x14003137f
sub r12, rcx
nop word [rax + rax]
test rbx, rbx
je 0x14003137f
movzx eax, word [r12 + rcx]
test ax, ax
je 0x14003137f
mov word [rcx], ax
add rcx, 2
dec rbx
sub rdx, 1
jne 0x1400311b0
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r13w
jmp 0x1400313e9
cmp ax, 9
jne 0x140031390
movzx eax, byte [rbp + 0xc8]
mov ecx, 0x100
test al, al
jns 0x14003128c
mov rax, rdi
nop dword [rax]
cmp word [rax], 0
je 0x140031220
add rax, 2
sub rcx, 1
jne 0x140031210
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x1400313e9
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x14003137f
lea r8, str.Datacenter_x64_Edition
sub r8, rcx
test rbx, rbx
je 0x14003137f
movzx eax, word [r8 + rcx]
test ax, ax
je 0x14003137f
mov word [rcx], ax
add rcx, 2
dec rbx
sub rdx, 1
jne 0x140031251
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r13w
jmp 0x1400313e9
test al, 2
mov rax, rdi
je 0x140031320
cmp word [rax], 0
je 0x1400312a7
add rax, 2
sub rcx, 1
jne 0x140031297
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x1400313e9
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x14003137f
lea r8, str.Enterprise_x64_Edition
sub r8, rcx
nop dword [rax + rax]
test rbx, rbx
je 0x14003137f
movzx eax, word [rcx + r8]
test ax, ax
je 0x14003137f
mov word [rcx], ax
add rcx, 2
dec rbx
sub rdx, 1
jne 0x1400312e0
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r13w
jmp 0x1400313e9
cmp word [rax], 0
je 0x140031330
add rax, 2
sub rcx, 1
jne 0x140031320
mov eax, 0x100
sub rax, rcx
test rcx, rcx
cmove rax, r13
je 0x1400313e9
mov edx, 0x100
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x14003137f
lea r8, str.Standard_x64_Edition
sub r8, rcx
nop dword [rax]
test rbx, rbx
je 0x14003137f
movzx eax, word [rcx + r8]
test ax, ax
je 0x14003137f
mov word [rcx], ax
add rcx, 2
dec rbx
sub rdx, 1
jne 0x140031360
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r13w
jmp 0x1400313e9
movzx eax, word [rbp + 0xc8]
bt ax, 0xe
jae 0x1400313a7
lea r8, str.Compute_Cluster_Edition
jmp 0x1400313dc
mov byte [rbp + 0xc8], al
test al, al
jns 0x1400313ba
lea r8, str.Datacenter_Edition
jmp 0x1400313dc
test al, 2
je 0x1400313c7
lea r8, str.Enterprise_Edition
jmp 0x1400313dc
bt ax, 0xa
lea r8, str.Web_Edition
jb 0x1400313dc
lea r8, str.Standard_Edition
mov edx, 0x100
mov rcx, rdi
call fcn.14002f460
cmp dword [rbp - 0x4c], 5
jne 0x14003150c
mov eax, dword [rbp - 0x48]
lea rbx, str.Professional
cmp eax, 1
jne 0x14003147b
lea r8, str.Windows_XP
mov edx, 0x100
mov rcx, rdi
call fcn.14002f460
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.14004dcd0
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.14002f460
cmp dword [rbp - 0x4c], 5
jne 0x14003150c
mov eax, dword [rbp - 0x48]
test eax, eax
jne 0x14003150c
lea r8, str.Windows_2000
mov edx, 0x100
mov rcx, rdi
call fcn.14002f460
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.14004dcd0
nop
lea rcx, [rbp - 0x80]
call fcn.1400218f0
nop
cmp byte [rbp + 0xca], 1
jne 0x1400314d9
mov r8, rbx
jmp 0x1400314ff
movzx eax, byte [rbp + 0xc8]
test al, al
jns 0x1400314ed
lea r8, str.Datacenter_Server
jmp 0x1400314ff
test al, 2
lea r8, str.Advanced_Server
jne 0x1400314ff
lea r8, str.Server
mov edx, 0x100
mov rcx, rdi
call fcn.14002f460
lea rcx, [rbp - 0x3c]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140031520
test rax, rax
je 0x140031554
lea r8, [0x1402b9b08]
mov edx, 0x100
mov rcx, rdi
call fcn.14002f460
lea r8, [rbp - 0x3c]
mov edx, 0x100
mov rcx, rdi
call fcn.14002f460
mov r9d, dword [rbp - 0x44]
lea r8, str.__build__d_
mov edx, 0x50
lea rcx, [rbp + 0xd0]
call fcn.14002f520
lea r8, [rbp + 0xd0]
mov edx, 0x100
mov rcx, rdi
call fcn.14002f460
cmp dword [rbp - 0x4c], 6
jb 0x1400315b7
movzx eax, word [rsp + 0x50]
cmp ax, 9
jne 0x14003159e
lea r8, str.__64_bit
jmp 0x1400315aa
test ax, ax
jne 0x1400315b7
lea r8, str.__32_bit
mov edx, 0x100
mov rcx, rdi
call fcn.14002f460
mov eax, 1
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1402117c0
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