Function at 0x140013580
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x140]
sub rsp, 0x240
mov rax, qword [0x14004c010]
xor rax, rsp
mov qword [rbp + 0x130], rax
mov rbx, rcx
lea rdi, [rsp + 0x38]
xor eax, eax
lea r14, [0x140064d50]
mov ecx, 0x30
xor r15d, r15d
rep stosb byte [rdi], al
lea rdi, [rsp + 0x70]
mov ecx, 0x11c
rep stosb byte [rdi], al
mov rcx, r14
mov dword [rsp + 0x70], 0x11c
cmp dword [rcx], 0x1a
je 0x14001361b
inc eax
add rcx, 0x30
cmp eax, 0x1f
jb 0x1400135e1
xor eax, eax
mov rcx, qword [rbp + 0x130]
xor rcx, rsp
call fcn.140016110
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
cdqe
lea rcx, [rax + rax*2]
add rcx, rcx
cmp byte [r14 + rcx*8 + 0x24], r15b
je 0x1400135f1
mov eax, r15d
mov rcx, r14
cmp dword [rcx], 0x1a
je 0x14001377e
inc eax
add rcx, 0x30
cmp eax, 0x1f
jb 0x140013631
mov rax, r15
lea rcx, [rsp + 0x70]
call rax
mov eax, r15d
mov rcx, r14
cmp dword [rcx], 4
je 0x14001379c
inc eax
add rcx, 0x30
cmp eax, 0x1f
jb 0x140013655
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [rbp - 0x80], 2
jne 0x1400135f1
cmp dword [rsp + 0x74], 4
jbe 0x1400135f1
mov edi, 0x104
mov qword [rsp + 0x268], rsi
lea r8, str.Microsoft
mov edx, edi
sub r8, rbx
mov rcx, rbx
nop word [rax + rax]
lea rax, [rdx + 0x7ffffefa]
test rax, rax
je 0x1400136d3
movzx eax, word [r8 + rcx]
test ax, ax
je 0x1400136d3
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x1400136b0
test rdx, rdx
lea rax, [rcx - 2]
mov esi, 0x7ffffffe
cmovne rax, rcx
cmp dword [rsp + 0x74], 0xa
mov word [rax], r15w
jne 0x14001395e
cmp dword [rsp + 0x78], r15d
jne case.0x140013c8b.5
cmp byte [rbp + 0x8a], 1
mov rcx, rdi
mov rax, rbx
jne 0x1400137f6
cmp word [rax], r15w
je 0x140013720
add rax, 2
sub rcx, 1
jne 0x140013710
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140013c8b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140015041
lea r9, str.Windows_10
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140015041
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140015041
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140013750
jmp 0x140015041
cdqe
lea rax, [rax + rax*2]
add rax, rax
cmp byte [r14 + rax*8 + 0x24], r15b
je 0x140013645
mov rax, qword [r14 + rax*8 + 0x28]
jmp 0x140013648
cdqe
lea rcx, [rax + rax*2]
add rcx, rcx
cmp byte [r14 + rcx*8 + 0x24], r15b
je 0x140013669
mov eax, r15d
mov rcx, r14
cmp dword [rcx], 4
je 0x1400137d5
inc eax
add rcx, 0x30
cmp eax, 0x1f
jb 0x1400137b6
mov rax, r15
lea rcx, [rsp + 0x38]
call rax
jmp 0x140013674
cdqe
lea rax, [rax + rax*2]
add rax, rax
cmp byte [r14 + rax*8 + 0x24], r15b
je 0x1400137c6
mov rax, qword [r14 + rax*8 + 0x28]
lea rcx, [rsp + 0x38]
call rax
jmp 0x140013674
cmp dword [rsp + 0x7c], 0x4563
jbe 0x14001386e
cmp word [rax], r15w
je 0x140013810
add rax, 2
sub rcx, 1
jne 0x140013800
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140013c8b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140015041
lea r9, str.Windows_Server_20XX
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140015041
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140015041
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140013840
jmp 0x140015041
cmp dword [rsp + 0x7c], 0x3839
jbe 0x1400138f0
cmp word [rax], r15w
je 0x140013888
add rax, 2
sub rcx, 1
jne 0x140013878
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140013c8b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140015041
lea r9, str.Windows_Server_2019
mov rax, rsi
sub r9, rcx
nop dword [rax + rax]
test rax, rax
je 0x140015041
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140015041
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x1400138c0
jmp 0x140015041
cmp word [rax], r15w
je 0x140013900
add rax, 2
sub rcx, 1
jne 0x1400138f0
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140013c8b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140015041
lea r9, str.Windows_Server_2016
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140015041
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140015041
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140013930
jmp 0x140015041
cmp dword [rsp + 0x74], 6
jne 0x140014512
cmp dword [rsp + 0x78], r15d
jne 0x140013a52
cmp byte [rbp + 0x8a], 1
mov rcx, rdi
mov rax, rbx
jne 0x1400139e6
cmp word [rax], r15w
je 0x140013993
add rax, 2
sub rcx, 1
jne 0x140013983
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140013c30
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140013a43
lea r9, str.Windows_Vista
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140013a43
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140013a43
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x1400139c3
jmp 0x140013a43
cmp word [rax], r15w
je 0x1400139f6
add rax, 2
sub rcx, 1
jne 0x1400139e6
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140013c30
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140013a43
lea r9, str.Windows_Server_2008
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140013a43
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140013a43
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140013a22
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r15w
cmp dword [rsp + 0x78], 1
jne 0x140013b40
cmp byte [rbp + 0x8a], 1
mov rcx, rdi
mov rax, rbx
jne 0x140013ad3
nop dword [rax]
cmp word [rax], r15w
je 0x140013a80
add rax, 2
sub rcx, 1
jne 0x140013a70
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140013c30
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140013b31
lea r9, str.Windows_7
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140013b31
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140013b31
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140013ab0
jmp 0x140013b31
cmp word [rax], r15w
je 0x140013ae3
add rax, 2
sub rcx, 1
jne 0x140013ad3
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140013c30
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140013b31
lea r9, str.Windows_Server_2008_R2
mov rax, rsi
sub r9, rcx
nop
test rax, rax
je 0x140013b31
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140013b31
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140013b10
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r15w
cmp dword [rsp + 0x78], 2
jne 0x140013c30
cmp byte [rbp + 0x8a], 1
mov rcx, rdi
mov rax, rbx
jne 0x140013bc3
nop word [rax + rax]
cmp word [rax], r15w
je 0x140013b70
add rax, 2
sub rcx, 1
jne 0x140013b60
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140013c30
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140013c21
lea r9, str.Windows_8
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140013c21
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140013c21
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140013ba0
jmp 0x140013c21
cmp word [rax], r15w
je 0x140013bd3
add rax, 2
sub rcx, 1
jne 0x140013bc3
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140013c30
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140013c21
lea r9, str.Windows_Server_2012
mov rax, rsi
sub r9, rcx
nop dword [rax + rax]
test rax, rax
je 0x140013c21
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140013c21
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140013c00
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r15w
mov ecx, r15d
mov rax, r14
cmp dword [rax], 5
je 0x140013c8d
inc ecx
add rax, 0x30
cmp ecx, 0x1f
jb 0x140013c36
mov rax, r15
mov edx, dword [rsp + 0x78]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
mov ecx, dword [rsp + 0x74]
xor r8d, r8d
call rax
mov eax, dword [rsp + 0x30]
dec eax
cmp eax, 0x2f
ja case.0x140013c8b.5
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0x15340]
mov ecx, dword [rdx + rax*4 + 0x152f4]
add rcx, rdx
jmp rcx
movsxd rax, ecx
lea rax, [rax + rax*2]
add rax, rax
cmp byte [r14 + rax*8 + 0x24], r15b
je 0x140013c46
mov rax, qword [r14 + rax*8 + 0x28]
jmp 0x140013c49
mov rcx, rdi
mov rax, rbx
nop dword [rax + rax]
cmp word [rax], r15w
je 0x140013cc0
add rax, 2
sub rcx, 1
jne 0x140013cb0
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140013c8b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140015041
lea r9, str.Ultimate_Edition
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140015041
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140015041
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140013cf0
jmp 0x140015041
mov rcx, rdi
mov rax, rbx
cmp word [rax], r15w
je 0x140013d34
add rax, 2
sub rcx, 1
jne 0x140013d24
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140013c8b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140015041
lea rax, str.Professional
mov r8, rsi
sub rax, rcx
test r8, r8
je 0x140015041
movzx r9d, word [rcx + rax]
test r9w, r9w
je 0x140015041
mov word [rcx], r9w
dec r8
add rcx, 2
sub rdx, 1
jne 0x140013d64
jmp 0x140015041
mov rcx, rdi
mov rax, rbx
cmp word [rax], r15w
je 0x140013da8
add rax, 2
sub rcx, 1
jne 0x140013d98
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140013c8b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140015041
lea r9, str.Home_Premium_Edition
mov rax, rsi
sub r9, rcx
nop dword [rax + rax]
test rax, rax
je 0x140015041
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140015041
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140013de0
jmp 0x140015041
mov rcx, rdi
mov rax, rbx
cmp word [rax], r15w
je 0x140013e24
add rax, 2
sub rcx, 1
jne 0x140013e14
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140013c8b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140015041
lea r9, str.Home_Basic_Edition
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140015041
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140015041
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140013e54
jmp 0x140015041
mov rcx, rdi
mov rax, rbx
cmp word [rax], r15w
je 0x140013e98
add rax, 2
sub rcx, 1
jne 0x140013e88
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140013c8b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140015041
lea rax, str.Enterprise_Edition
mov r8, rsi
sub rax, rcx
nop dword [rax + rax]
test r8, r8
je 0x140015041
movzx r9d, word [rcx + rax]
test r9w, r9w
je 0x140015041
mov word [rcx], r9w
dec r8
add rcx, 2
sub rdx, 1
jne 0x140013ed0
jmp 0x140015041
mov rcx, rdi
mov rax, rbx
cmp word [rax], r15w
je 0x140013f14
add rax, 2
sub rcx, 1
jne 0x140013f04
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140013c8b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140015041
lea r9, str.Business_Edition
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140015041
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140015041
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140013f44
jmp 0x140015041
mov rcx, rdi
mov rax, rbx
cmp word [rax], r15w
je 0x140013f88
add rax, 2
sub rcx, 1
jne 0x140013f78
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140013c8b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140015041
lea r9, str.Starter_Edition
mov rax, rsi
sub r9, rcx
nop dword [rax + rax]
test rax, rax
je 0x140015041
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140015041
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140013fc0
jmp 0x140015041
mov rcx, rdi
mov rax, rbx
cmp word [rax], r15w
je 0x140014004
add rax, 2
sub rcx, 1
jne 0x140013ff4
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140013c8b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140015041
lea r9, str.Cluster_Server_Edition
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140015041
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140015041
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140014034
jmp 0x140015041
mov rcx, rdi
mov rax, rbx
cmp word [rax], r15w
je 0x140014078
add rax, 2
sub rcx, 1
jne 0x140014068
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140013c8b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140015041
lea r9, str.Datacenter_Edition
mov rax, rsi
sub r9, rcx
nop dword [rax + rax]
test rax, rax
je 0x140015041
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140015041
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x1400140b0
jmp 0x140015041
mov rcx, rdi
mov rax, rbx
cmp word [rax], r15w
je 0x1400140f4
add rax, 2
sub rcx, 1
jne 0x1400140e4
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140013c8b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140015041
lea r9, str.Datacenter_Edition__core_installation_
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140015041
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140015041
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140014124
jmp 0x140015041
mov rcx, rdi
mov rax, rbx
cmp word [rax], r15w
je 0x140014168
add rax, 2
sub rcx, 1
jne 0x140014158
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140013c8b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140015041
lea rax, str.Enterprise_Edition
mov r8, rsi
sub rax, rcx
nop dword [rax + rax]
test r8, r8
je 0x140015041
movzx r9d, word [rax + rcx]
test r9w, r9w
je 0x140015041
mov word [rcx], r9w
dec r8
add rcx, 2
sub rdx, 1
jne 0x1400141a0
jmp 0x140015041
mov rcx, rdi
mov rax, rbx
cmp word [rax], r15w
je 0x1400141e4
add rax, 2
sub rcx, 1
jne 0x1400141d4
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140013c8b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140015041
lea r9, str.Enterprise_Edition__core_installation_
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140015041
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140015041
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140014214
jmp 0x140015041
mov rcx, rdi
mov rax, rbx
cmp word [rax], r15w
je 0x140014258
add rax, 2
sub rcx, 1
jne 0x140014248
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140013c8b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140015041
lea r9, str.Enterprise_Edition_for_Itanium_based_Systems
mov rax, rsi
sub r9, rcx
nop dword [rax + rax]
test rax, rax
je 0x140015041
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140015041
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140014290
jmp 0x140015041
mov rcx, rdi
mov rax, rbx
cmp word [rax], r15w
je 0x1400142d4
add rax, 2
sub rcx, 1
jne 0x1400142c4
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140013c8b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140015041
lea r9, str.Small_Business_Server
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140015041
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140015041
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140014304
jmp 0x140015041
mov rcx, rdi
mov rax, rbx
cmp word [rax], r15w
je 0x140014348
add rax, 2
sub rcx, 1
jne 0x140014338
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140013c8b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140015041
lea r9, str.Small_Business_Server_Premium_Edition
mov rax, rsi
sub r9, rcx
nop dword [rax + rax]
test rax, rax
je 0x140015041
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140015041
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140014380
jmp 0x140015041
mov rcx, rdi
mov rax, rbx
cmp word [rax], r15w
je 0x1400143c4
add rax, 2
sub rcx, 1
jne 0x1400143b4
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140013c8b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140015041
lea r9, str.Standard_Edition
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140015041
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140015041
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x1400143f4
jmp 0x140015041
mov rcx, rdi
mov rax, rbx
cmp word [rax], r15w
je 0x140014438
add rax, 2
sub rcx, 1
jne 0x140014428
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140013c8b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140015041
lea r9, str.Standard_Edition__core_installation_
mov rax, rsi
sub r9, rcx
nop dword [rax + rax]
test rax, rax
je 0x140015041
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140015041
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140014470
jmp 0x140015041
mov rcx, rdi
mov rax, rbx
cmp word [rax], r15w
je 0x1400144b4
add rax, 2
sub rcx, 1
jne 0x1400144a4
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140013c8b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140015041
lea r9, str.Web_Server_Edition
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140015041
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140015041
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x1400144e4
jmp 0x140015041
cmp dword [rsp + 0x74], 5
jne case.0x140013c8b.5
mov eax, dword [rsp + 0x78]
cmp eax, 2
jne 0x140014c90
lea ecx, [rax + 0x57]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x1400145ae
mov rcx, rdi
mov rax, rbx
nop dword [rax]
cmp word [rax], r15w
je 0x140014550
add rax, 2
sub rcx, 1
jne 0x140014540
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x1400147a8
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140014799
lea r9, str.Windows_Server_2003_R2_
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140014799
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140014799
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140014580
jmp 0x140014799
mov eax, 0x2000
test word [rbp + 0x88], ax
je 0x140014630
mov rcx, rdi
mov rax, rbx
cmp word [rax], r15w
je 0x1400145d2
add rax, 2
sub rcx, 1
jne 0x1400145c2
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x1400147a8
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140014799
lea r9, str.Windows_Storage_Server_2003
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140014799
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140014799
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140014602
jmp 0x140014799
mov eax, 0x8000
test word [rbp + 0x88], ax
je 0x1400146b2
mov rcx, rdi
mov rax, rbx
cmp word [rax], r15w
je 0x140014654
add rax, 2
sub rcx, 1
jne 0x140014644
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x1400147a8
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140014799
lea r9, str.Windows_Home_Server
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140014799
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140014799
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140014684
jmp 0x140014799
cmp byte [rbp + 0x8a], 1
jne 0x140014737
cmp word [rsp + 0x38], 9
jne 0x140014737
mov rcx, rdi
mov rax, rbx
nop dword [rax]
cmp word [rax], r15w
je 0x1400146e0
add rax, 2
sub rcx, 1
jne 0x1400146d0
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140013c8b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140014799
lea r9, str.Windows_XP_Professional_x64_Edition
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140014799
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140014799
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140014710
jmp 0x140014799
mov rcx, rdi
mov rax, rbx
nop dword [rax]
cmp word [rax], r15w
je 0x140014750
add rax, 2
sub rcx, 1
jne 0x140014740
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x1400147a8
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140014799
lea r9, str.Windows_Server_2003_
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140014799
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140014799
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140014778
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r15w
cmp byte [rbp + 0x8a], 1
je case.0x140013c8b.5
cmp word [rsp + 0x38], 6
jne 0x1400148be
movzx eax, byte [rbp + 0x88]
test al, al
jns 0x140014840
mov rcx, rdi
mov rax, rbx
cmp word [rax], r15w
je 0x1400147e2
add rax, 2
sub rcx, 1
jne 0x1400147d2
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140013c8b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140015041
lea r9, str.Datacenter_Edition_for_Itanium_based_Systems
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140015041
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140015041
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140014812
jmp 0x140015041
test al, 2
je case.0x140013c8b.5
mov rcx, rdi
mov rax, rbx
nop
cmp word [rax], r15w
je 0x140014860
add rax, 2
sub rcx, 1
jne 0x140014850
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140013c8b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140015041
lea r9, str.Enterprise_Edition_for_Itanium_based_Systems
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140015041
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140015041
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140014890
jmp 0x140015041
cmp word [rsp + 0x38], 9
mov rcx, rdi
jne 0x140014a31
movzx eax, byte [rbp + 0x88]
test al, al
jns 0x14001494e
mov rax, rbx
nop dword [rax + rax]
cmp word [rax], r15w
je 0x1400148f0
add rax, 2
sub rcx, 1
jne 0x1400148e0
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140013c8b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140015041
lea r9, str.Datacenter_x64_Edition
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140015041
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140015041
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140014920
jmp 0x140015041
test al, 2
mov rax, rbx
je 0x1400149c3
cmp word [rax], r15w
je 0x140014965
add rax, 2
sub rcx, 1
jne 0x140014955
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140013c8b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140015041
lea r9, str.Enterprise_x64_Edition
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140015041
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140015041
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140014995
jmp 0x140015041
cmp word [rax], r15w
je 0x1400149d3
add rax, 2
sub rcx, 1
jne 0x1400149c3
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140013c8b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140015041
lea r9, str.Standard_x64_Edition
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140015041
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140015041
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140014a03
jmp 0x140015041
mov eax, 0x4000
test word [rbp + 0x88], ax
je 0x140014ab0
mov rax, rbx
cmp word [rax], r15w
je 0x140014a52
add rax, 2
sub rcx, 1
jne 0x140014a42
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140013c8b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140015041
lea r9, str.Compute_Cluster_Edition
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140015041
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140015041
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140014a82
jmp 0x140015041
movzx eax, byte [rbp + 0x88]
test al, al
jns 0x140014b2e
mov rax, rbx
nop
cmp word [rax], r15w
je 0x140014ad0
add rax, 2
sub rcx, 1
jne 0x140014ac0
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140013c8b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140015041
lea r9, str.Datacenter_Edition
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140015041
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140015041
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140014b00
jmp 0x140015041
test al, 2
je 0x140014ba3
mov rax, rbx
cmp word [rax], r15w
je 0x140014b45
add rax, 2
sub rcx, 1
jne 0x140014b35
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140013c8b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140015041
lea rax, str.Enterprise_Edition
mov r8, rsi
sub rax, rcx
test r8, r8
je 0x140015041
movzx r9d, word [rax + rcx]
test r9w, r9w
je 0x140015041
mov word [rcx], r9w
dec r8
add rcx, 2
sub rdx, 1
jne 0x140014b75
jmp 0x140015041
mov eax, 0x400
test word [rbp + 0x88], ax
mov rax, rbx
je 0x140014c22
cmp word [rax], r15w
je 0x140014bc4
add rax, 2
sub rcx, 1
jne 0x140014bb4
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140013c8b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140015041
lea r9, str.Web_Edition
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140015041
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140015041
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140014bf4
jmp 0x140015041
cmp word [rax], r15w
je 0x140014c32
add rax, 2
sub rcx, 1
jne 0x140014c22
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140013c8b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140015041
lea r9, str.Standard_Edition
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140015041
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140015041
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140014c62
jmp 0x140015041
cmp eax, 1
jne 0x140014dfe
mov rcx, rdi
mov rax, rbx
nop
cmp word [rax], r15w
je 0x140014cb0
add rax, 2
sub rcx, 1
jne 0x140014ca0
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140014d08
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140014cf9
lea r9, str.Windows_XP
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140014cf9
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140014cf9
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140014cd8
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r15w
mov eax, 0x200
mov rcx, rdi
test word [rbp + 0x88], ax
mov rax, rbx
je 0x140014d90
nop dword [rax]
cmp word [rax], r15w
je 0x140014d30
add rax, 2
sub rcx, 1
jne 0x140014d20
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140013c8b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140015041
lea r9, str.Home_Edition
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140015041
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140015041
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140014d60
jmp 0x140015041
cmp word [rax], r15w
je 0x140014da0
add rax, 2
sub rcx, 1
jne 0x140014d90
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140013c8b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140015041
lea rax, str.Professional
mov r8, rsi
sub rax, rcx
test r8, r8
je 0x140015041
movzx r9d, word [rax + rcx]
test r9w, r9w
je 0x140015041
mov word [rcx], r9w
dec r8
add rcx, 2
sub rdx, 1
jne 0x140014dd0
jmp 0x140015041
test eax, eax
jne case.0x140013c8b.5
mov rcx, rdi
mov rax, rbx
nop dword [rax]
cmp word [rax], r15w
je 0x140014e20
add rax, 2
sub rcx, 1
jne 0x140014e10
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140014e78
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140014e69
lea r9, str.Windows_2000
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140014e69
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140014e69
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140014e48
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r15w
cmp byte [rbp + 0x8a], 1
mov rcx, rdi
jne 0x140014ef5
mov rax, rbx
cmp word [rax], r15w
je 0x140014e97
add rax, 2
sub rcx, 1
jne 0x140014e87
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140013c8b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140015041
lea rax, str.Professional
mov r8, rsi
sub rax, rcx
test r8, r8
je 0x140015041
movzx r9d, word [rcx + rax]
test r9w, r9w
je 0x140015041
mov word [rcx], r9w
dec r8
add rcx, 2
sub rdx, 1
jne 0x140014ec7
jmp 0x140015041
movzx eax, byte [rbp + 0x88]
test al, al
jns 0x140014f71
mov rax, rbx
cmp word [rax], r15w
je 0x140014f13
add rax, 2
sub rcx, 1
jne 0x140014f03
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140013c8b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140015041
lea r9, str.Datacenter_Server
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140015041
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140015041
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140014f43
jmp 0x140015041
test al, 2
mov rax, rbx
je 0x140014fe7
cmp word [rax], r15w
je 0x140014f88
add rax, 2
sub rcx, 1
jne 0x140014f78
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140013c8b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140015041
lea r9, str.Advanced_Server
mov rax, rsi
sub r9, rcx
nop dword [rax + rax]
test rax, rax
je 0x140015041
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140015041
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140014fc0
jmp 0x140015041
cmp word [rax], r15w
je 0x140014ff7
add rax, 2
sub rcx, 1
jne 0x140014fe7
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140013c8b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140015041
lea r9, str.Server
mov rax, rsi
sub r9, rcx
nop
test rax, rax
je 0x140015041
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140015041
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140015020
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r15w
mov rcx, rdi
lea rax, [rbp - 0x7c]
cmp word [rax], r15w
je 0x140015067
add rax, 2
sub rcx, 1
jne 0x140015057
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140015165
test rax, rax
je 0x140015165
mov rcx, rdi
mov rax, rbx
nop dword [rax]
cmp word [rax], r15w
je 0x1400150a0
add rax, 2
sub rcx, 1
jne 0x140015090
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x1400150f8
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x1400150e9
lea r9, [0x1400457e8]
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x1400150e9
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x1400150e9
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x1400150c8
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r15w
mov rcx, rdi
mov rax, rbx
nop
cmp word [rax], r15w
je 0x140015110
add rax, 2
sub rcx, 1
jne 0x140015100
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140015165
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140015156
lea r9, [rbp - 0x7c]
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140015156
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140015156
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140015135
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r15w
mov r9d, dword [rsp + 0x7c]
lea r8, str.__build__u_
mov edx, 0x50
lea rcx, [rbp + 0x90]
call fcn.140012f30
mov rcx, rdi
mov rax, rbx
cmp word [rax], r15w
je 0x140015198
add rax, 2
sub rcx, 1
jne 0x140015188
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x1400151f0
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x1400151e1
lea r9, [rbp + 0x90]
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x1400151e1
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x1400151e1
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x1400151c0
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r15w
cmp dword [rsp + 0x74], 6
jb 0x1400152df
movzx eax, word [rsp + 0x38]
cmp ax, 9
jne 0x140015270
mov rcx, rdi
mov rax, rbx
nop dword [rax]
cmp word [rax], r15w
je 0x140015220
add rax, 2
sub rcx, 1
jne 0x140015210
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x1400152df
lea rcx, [rbx + rax*2]
sub rdi, rax
je 0x1400152d0
lea rdx, str._64_bit
sub rdx, rcx
nop word [rax + rax]
test rsi, rsi
je 0x1400152d0
movzx eax, word [rdx + rcx]
test ax, ax
je 0x1400152d0
mov word [rcx], ax
dec rsi
add rcx, 2
sub rdi, 1
jne 0x140015250
jmp 0x1400152d0
test ax, ax
jne 0x1400152df
mov rcx, rdi
mov rax, rbx
nop dword [rax + rax]
cmp word [rax], r15w
je 0x140015290
add rax, 2
sub rcx, 1
jne 0x140015280
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x1400152df
lea rcx, [rbx + rax*2]
sub rdi, rax
je 0x1400152d0
lea rdx, str._32_bit
sub rdx, rcx
test rsi, rsi
je 0x1400152d0
movzx eax, word [rdx + rcx]
test ax, ax
je 0x1400152d0
mov word [rcx], ax
dec rsi
add rcx, 2
sub rdi, 1
jne 0x1400152b2
test rdi, rdi
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r15w
mov rsi, qword [rsp + 0x268]
mov eax, 1
jmp 0x1400135f3