Function at 0x140031110
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 [0x14031b940]
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.140254b70
mov dword [rbp - 0x50], 0x11c
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1400330ff
cmp dword [rbp - 0x4c], 6
jb 0x1400311c4
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x44]
call fcn.14002e470
test al, al
je 0x1400311c4
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x44]
cmp dword [rbp - 0x4c], ecx
jne 0x1400311b7
cmp dword [rbp - 0x48], eax
je 0x1400311c4
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 0x1400311ef
call rax
jmp 0x1400311f5
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [rbp - 0x40], 2
jne 0x1400330ff
cmp dword [rbp - 0x4c], 4
jbe 0x1400330ff
mov ebx, 0x100
mov edx, ebx
mov rcx, rdi
lea r8, str.Microsoft
sub r8, rdi
nop dword [rax]
lea rax, [rdx + 0x7ffffefe]
test rax, rax
je 0x140031243
movzx eax, word [r8 + rcx]
test ax, ax
je 0x140031243
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140031220
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
xor r8d, r8d
mov word [rax], r8w
lea r13, vtable.srl::Exists.0
movzx eax, word [rsp + 0x50]
cmp ax, 6
jne 0x1400312dd
mov edx, 0x11660
lea rcx, [rbp - 0x80]
call fcn.140022530
nop
mov qword [rsp + 0x30], r13
mov byte [rsp + 0x38], 1
xor r9d, r9d
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x80]
call fcn.1400511e0
nop
lea rax, vtable.srl::Value.0
mov qword [rsp + 0x30], rax
lea rcx, [rbp - 0x80]
call fcn.1400226c0
mov qword [rsp + 0x30], r13
mov byte [rsp + 0x38], 1
mov edx, 0x116c0
lea rcx, [rbp - 0x80]
call fcn.140022530
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400511e0
nop
lea rcx, [rbp - 0x80]
call fcn.1400226c0
nop
jmp 0x14003134b
cmp ax, 9
jne 0x14003134e
mov qword [rsp + 0x30], r13
mov byte [rsp + 0x38], 1
mov edx, 0x11660
lea rcx, [rbp - 0x80]
call fcn.140022530
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400511e0
nop
lea rcx, [rbp - 0x80]
call fcn.1400226c0
nop
mov qword [rsp + 0x30], r13
mov byte [rsp + 0x38], 1
mov edx, 0x116c1
lea rcx, [rbp - 0x80]
call fcn.140022530
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400511e0
nop
lea rcx, [rbp - 0x80]
call fcn.1400226c0
nop
xor r8d, r8d
xor sil, sil
xor r12b, r12b
xor r15b, r15b
mov r14d, 0x7ffffffe
cmp dword [rbp - 0x4c], 0xa
jne 0x1400314c7
mov rcx, rbx
mov rax, rdi
cmp dword [rbp - 0x44], 0x55f0
jb 0x140031424
nop word [rax + rax]
cmp word [rax], 0
je 0x140031390
add rax, 2
sub rcx, 1
jne 0x140031380
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r8
je 0x1400313eb
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x1400313dc
mov rax, r14
lea r9, str.Windows_11
sub r9, rcx
test rax, rax
je 0x1400313d9
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x1400313d9
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x1400313b8
xor r8d, r8d
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r8w
mov qword [rsp + 0x30], r13
mov byte [rsp + 0x38], 1
mov edx, 0x117a4
lea rcx, [rbp - 0x80]
call fcn.140022530
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400511e0
nop
lea rcx, [rbp - 0x80]
call fcn.1400226c0
nop
jmp 0x1400314c7
cmp word [rax], 0
je 0x140031434
add rax, 2
sub rcx, 1
jne 0x140031424
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r8
je 0x140031493
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140031484
mov rax, r14
lea r9, str.Windows_10
sub r9, rcx
nop dword [rax]
test rax, rax
je 0x140031481
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140031481
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140031460
xor r8d, r8d
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r8w
mov qword [rsp + 0x30], r13
mov byte [rsp + 0x38], 1
mov edx, 0x1175c
lea rcx, [rbp - 0x80]
call fcn.140022530
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400511e0
nop
lea rcx, [rbp - 0x80]
call fcn.1400226c0
nop
lea r13, str.Enterprise_Edition_for_Itanium_based_Systems
cmp dword [rbp - 0x4c], 6
jne case.0x140031b6c.5
cmp dword [rbp - 0x48], 0
jne 0x14003164f
mov rcx, rbx
mov rax, rdi
cmp byte [rbp + 0xca], 1
jne 0x1400315a6
cmp word [rax], 0
je 0x140031505
add rax, 2
sub rcx, 1
jne 0x1400314f5
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r10d, 0
cmove rax, r10
je 0x140031563
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140031554
mov rax, r14
lea r9, str.Windows_Vista
sub r9, rcx
test rax, rax
je 0x140031554
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140031554
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140031533
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r10w
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.140022530
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400511e0
nop
lea rcx, [rbp - 0x80]
call fcn.1400226c0
nop
mov sil, 1
jmp 0x14003164f
cmp word [rax], 0
je 0x1400315b6
add rax, 2
sub rcx, 1
jne 0x1400315a6
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r10d, 0
cmove rax, r10
je 0x140031614
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140031605
mov rax, r14
lea r9, str.Windows_Server_2008
sub r9, rcx
test rax, rax
je 0x140031605
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140031605
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x1400315e4
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r10w
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.140022530
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400511e0
nop
lea rcx, [rbp - 0x80]
call fcn.1400226c0
nop
cmp dword [rbp - 0x48], 1
jne 0x1400317d2
mov rcx, rbx
mov rax, rdi
cmp byte [rbp + 0xca], 1
jne 0x140031726
nop dword [rax]
cmp word [rax], 0
je 0x140031680
add rax, 2
sub rcx, 1
jne 0x140031670
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r8d, 0
cmove rax, r8
je 0x1400316e3
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x1400316d4
mov rax, r14
lea r9, str.Windows_7
sub r9, rcx
nop
test rax, rax
je 0x1400316d1
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x1400316d1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x1400316b0
xor r8d, r8d
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r8w
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.140022530
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400511e0
nop
lea rcx, [rbp - 0x80]
call fcn.1400226c0
nop
mov r12b, 1
jmp 0x1400317d2
cmp word [rax], 0
je 0x140031736
add rax, 2
sub rcx, 1
jne 0x140031726
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r8d, 0
cmove rax, r8
je 0x140031797
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140031788
mov rax, r14
lea r9, str.Windows_Server_2008_R2
sub r9, rcx
test rax, rax
je 0x140031785
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140031785
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140031764
xor r8d, r8d
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r8w
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.140022530
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400511e0
nop
lea rcx, [rbp - 0x80]
call fcn.1400226c0
nop
cmp dword [rbp - 0x48], 2
jne 0x14003198e
mov rcx, rbx
mov rax, rdi
cmp byte [rbp + 0xca], 1
jne 0x1400318e0
nop
cmp word [rax], 0
je 0x140031800
add rax, 2
sub rcx, 1
jne 0x1400317f0
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r8d, 0
cmove rax, r8
je 0x140031863
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140031854
mov rax, r14
lea r9, str.Windows_8
sub r9, rcx
nop
test rax, rax
je 0x140031851
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140031851
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140031830
xor r8d, r8d
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r8w
lea r15, vtable.srl::Exists.0
mov qword [rsp + 0x30], r15
mov byte [rsp + 0x38], 1
mov edx, 0x1173c
lea rcx, [rbp - 0x80]
call fcn.140022530
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400511e0
nop
lea rcx, [rbp - 0x80]
call fcn.1400226c0
nop
mov qword [rsp + 0x30], r15
mov byte [rsp + 0x38], 1
mov edx, 0x11745
lea rcx, [rbp - 0x80]
call fcn.140022530
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400511e0
nop
lea rcx, [rbp - 0x80]
call fcn.1400226c0
nop
mov r15b, 1
jmp 0x14003198e
cmp word [rax], 0
je 0x1400318f0
add rax, 2
sub rcx, 1
jne 0x1400318e0
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r8d, 0
cmove rax, r8
je 0x140031953
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140031944
mov rax, r14
lea r9, str.Windows_Server_2012
sub r9, rcx
nop
test rax, rax
je 0x140031941
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140031941
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140031920
xor r8d, r8d
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r8w
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.140022530
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400511e0
nop
lea rcx, [rbp - 0x80]
call fcn.1400226c0
nop
cmp dword [rbp - 0x48], 3
jne 0x140031b0f
mov rcx, rbx
mov rax, rdi
cmp byte [rbp + 0xca], 1
jne 0x140031a63
nop dword [rax + rax]
cmp word [rax], 0
je 0x1400319c0
add rax, 2
sub rcx, 1
jne 0x1400319b0
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r8d, 0
cmove rax, r8
je 0x140031a23
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140031a14
mov rax, r14
lea r9, str.Windows_8.1
sub r9, rcx
nop
test rax, rax
je 0x140031a11
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140031a11
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x1400319f0
xor r8d, r8d
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r8w
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.140022530
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400511e0
nop
lea rcx, [rbp - 0x80]
call fcn.1400226c0
nop
jmp 0x140031b0f
cmp word [rax], 0
je 0x140031a73
add rax, 2
sub rcx, 1
jne 0x140031a63
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r8d, 0
cmove rax, r8
je 0x140031ad4
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140031ac5
mov rax, r14
lea r9, str.Windows_Server_2012_R2
sub r9, rcx
test rax, rax
je 0x140031ac2
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140031ac2
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140031aa1
xor r8d, r8d
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r8w
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.140022530
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400511e0
nop
lea rcx, [rbp - 0x80]
call fcn.1400226c0
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.0x140031b6c.5
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0x33180]
mov ecx, dword [rdx + rax*4 + 0x33134]
add rcx, rdx
jmp rcx
mov rcx, rbx
mov rax, rdi
cmp word [rax], 0
je 0x140031b84
add rax, 2
sub rcx, 1
jne 0x140031b74
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r8d, 0
cmove rax, r8
je 0x140031be5
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140031bd6
mov rax, r14
lea r9, str.Professional_Edition
sub r9, rcx
test rax, rax
je 0x140031bd3
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140031bd3
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140031bb2
xor r8d, r8d
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r8w
test r12b, r12b
lea r12, vtable.srl::Exists.0
je 0x140031c2d
mov qword [rsp + 0x30], r12
mov byte [rsp + 0x38], 1
mov edx, 0x11738
lea rcx, [rbp - 0x80]
call fcn.140022530
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400511e0
nop
lea rcx, [rbp - 0x80]
call fcn.1400226c0
nop
xor r15d, r15d
jmp 0x14003220e
test r15b, r15b
je 0x140031c9a
mov qword [rsp + 0x30], r12
mov byte [rsp + 0x38], 1
mov edx, 0x11746
lea rcx, [rbp - 0x80]
call fcn.140022530
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400511e0
nop
lea rcx, [rbp - 0x80]
call fcn.1400226c0
nop
mov qword [rsp + 0x30], r12
mov byte [rsp + 0x38], 0
mov edx, 0x11745
lea rcx, [rbp - 0x80]
call fcn.140022530
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400511e0
nop
lea rcx, [rbp - 0x80]
call fcn.1400226c0
nop
xor r15d, r15d
jmp 0x14003220e
mov rcx, rbx
mov rax, rdi
cmp word [rax], 0
je 0x140031cb8
add rax, 2
sub rcx, 1
jne 0x140031ca8
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r15d, 0
cmove rax, r15
je 0x140031d16
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140031d07
mov rax, r14
lea r9, str.Ultimate_Edition
sub r9, rcx
test rax, rax
je 0x140031d07
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140031d07
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140031ce6
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r15w
test sil, sil
je 0x140031d5b
lea r12, vtable.srl::Exists.0
mov qword [rsp + 0x30], r12
mov byte [rsp + 0x38], 1
mov edx, 0x1166b
lea rcx, [rbp - 0x80]
call fcn.140022530
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400511e0
nop
lea rcx, [rbp - 0x80]
call fcn.1400226c0
nop
jmp 0x14003220e
test r12b, r12b
lea r12, vtable.srl::Exists.0
je 0x14003220e
mov qword [rsp + 0x30], r12
mov byte [rsp + 0x38], 1
mov edx, 0x11735
lea rcx, [rbp - 0x80]
call fcn.140022530
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400511e0
nop
lea rcx, [rbp - 0x80]
call fcn.1400226c0
nop
jmp 0x14003220e
mov rcx, rbx
mov rax, rdi
nop word [rax + rax]
cmp word [rax], 0
je 0x140031dc0
add rax, 2
sub rcx, 1
jne 0x140031db0
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r15d, 0
cmove rax, r15
je 0x140031e20
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140031e11
mov rax, r14
lea r9, str.Home_Premium_Edition
sub r9, rcx
nop
test rax, rax
je 0x140031e11
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140031e11
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140031df0
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r15w
test sil, sil
je 0x140031e65
lea r12, vtable.srl::Exists.0
mov qword [rsp + 0x30], r12
mov byte [rsp + 0x38], 1
mov edx, 0x1166a
lea rcx, [rbp - 0x80]
call fcn.140022530
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400511e0
nop
lea rcx, [rbp - 0x80]
call fcn.1400226c0
nop
jmp 0x14003220e
test r12b, r12b
lea r12, vtable.srl::Exists.0
je 0x14003220e
mov qword [rsp + 0x30], r12
mov byte [rsp + 0x38], 1
mov edx, 0x11739
lea rcx, [rbp - 0x80]
call fcn.140022530
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400511e0
nop
lea rcx, [rbp - 0x80]
call fcn.1400226c0
nop
jmp 0x14003220e
lea r8, str.Home_Basic_Edition
mov rdx, rbx
mov rcx, rdi
call fcn.140030f90
test sil, sil
je 0x140031f08
lea r12, vtable.srl::Exists.0
mov qword [rsp + 0x30], r12
mov byte [rsp + 0x38], 1
mov edx, 0x11669
lea rcx, [rbp - 0x80]
call fcn.140022530
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400511e0
nop
lea rcx, [rbp - 0x80]
call fcn.1400226c0
nop
xor r15d, r15d
jmp 0x14003220e
test r12b, r12b
lea r12, vtable.srl::Exists.0
je 0x140031c9a
mov qword [rsp + 0x30], r12
mov byte [rsp + 0x38], 1
mov edx, 0x1173a
lea rcx, [rbp - 0x80]
call fcn.140022530
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400511e0
nop
lea rcx, [rbp - 0x80]
call fcn.1400226c0
nop
xor r15d, r15d
jmp 0x14003220e
mov rcx, rbx
mov rax, rdi
nop word [rax + rax]
cmp word [rax], 0
je 0x140031f70
add rax, 2
sub rcx, 1
jne 0x140031f60
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r8d, 0
cmove rax, r8
je 0x140031fd3
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140031fc4
mov rax, r14
lea r9, str.Enterprise_Edition
sub r9, rcx
nop
test rax, rax
je 0x140031fc1
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140031fc1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140031fa0
xor r8d, r8d
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r8w
test sil, sil
je 0x14003201b
lea r12, vtable.srl::Exists.0
mov qword [rsp + 0x30], r12
mov byte [rsp + 0x38], 1
mov edx, 0x11668
lea rcx, [rbp - 0x80]
call fcn.140022530
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400511e0
nop
lea rcx, [rbp - 0x80]
call fcn.1400226c0
nop
xor r15d, r15d
jmp 0x14003220e
test r12b, r12b
lea r12, vtable.srl::Exists.0
je 0x140032063
mov qword [rsp + 0x30], r12
mov byte [rsp + 0x38], 1
mov edx, 0x11737
lea rcx, [rbp - 0x80]
call fcn.140022530
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400511e0
nop
lea rcx, [rbp - 0x80]
call fcn.1400226c0
nop
xor r15d, r15d
jmp 0x14003220e
test r15b, r15b
je 0x140031c9a
mov qword [rsp + 0x30], r12
mov byte [rsp + 0x38], 1
mov edx, 0x11747
lea rcx, [rbp - 0x80]
call fcn.140022530
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400511e0
nop
lea rcx, [rbp - 0x80]
call fcn.1400226c0
nop
mov qword [rsp + 0x30], r12
mov byte [rsp + 0x38], 0
mov edx, 0x11745
lea rcx, [rbp - 0x80]
call fcn.140022530
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400511e0
nop
lea rcx, [rbp - 0x80]
call fcn.1400226c0
nop
xor r15d, r15d
jmp 0x14003220e
lea r8, str.Business_Edition
mov rdx, rbx
mov rcx, rdi
call fcn.140030f90
lea r12, vtable.srl::Exists.0
test sil, sil
je 0x140031c9a
mov qword [rsp + 0x30], r12
mov byte [rsp + 0x38], 1
mov edx, 0x11667
lea rcx, [rbp - 0x80]
call fcn.140022530
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400511e0
nop
lea rcx, [rbp - 0x80]
call fcn.1400226c0
nop
xor r15d, r15d
jmp 0x14003220e
mov rcx, rbx
mov rax, rdi
cmp word [rax], 0
je 0x140032150
add rax, 2
sub rcx, 1
jne 0x140032140
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r15d, 0
cmove rax, r15
je 0x1400321b0
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x1400321a1
mov rax, r14
lea r9, str.Starter_Edition
sub r9, rcx
nop
test rax, rax
je 0x1400321a1
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x1400321a1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140032180
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r15w
test r12b, r12b
lea r12, vtable.srl::Exists.0
je 0x14003220e
mov qword [rsp + 0x30], r12
mov byte [rsp + 0x38], 1
mov edx, 0x1173b
lea rcx, [rbp - 0x80]
call fcn.140022530
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400511e0
nop
lea rcx, [rbp - 0x80]
call fcn.1400226c0
nop
jmp 0x14003220e
lea r8, str.Cluster_Server_Edition
mov rdx, rbx
mov rcx, rdi
call fcn.140030f90
xor r15d, r15d
lea r12, vtable.srl::Exists.0
cmp dword [rbp - 0x4c], 5
jne 0x140032fa0
mov eax, dword [rbp - 0x48]
cmp eax, 2
jne 0x140032b89
lea ecx, [rax + 0x57]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x140032643
mov rcx, rbx
mov rax, rdi
nop dword [rax + rax]
cmp word [rax], 0
je 0x140032250
add rax, 2
sub rcx, 1
jne 0x140032240
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x1400322a8
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140032299
mov rax, r14
lea r9, str.Windows_Server_2003_R2_
sub r9, rcx
test rax, rax
je 0x140032299
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140032299
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140032278
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r15w
mov qword [rsp + 0x30], r12
mov byte [rsp + 0x38], 1
mov edx, 0x1165f
lea rcx, [rbp - 0x80]
call fcn.140022530
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400511e0
nop
lea rcx, [rbp - 0x80]
call fcn.1400226c0
nop
jmp 0x1400328bc
lea r8, str.Datacenter_Edition
jmp 0x1400321f9
lea r8, str.Datacenter_Edition__core_installation_
jmp 0x1400321f9
lea r8, str.Enterprise_Edition
jmp 0x1400321f9
lea r8, str.Enterprise_Edition__core_installation_
jmp 0x1400321f9
mov rcx, rbx
mov rax, rdi
cmp word [rax], 0
je 0x140032327
add rax, 2
sub rcx, 1
jne 0x140032317
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r15d, 0
cmove rax, r15
je 0x140032207
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140032376
mov rax, r14
mov r9, r13
sub r9, rcx
test rax, rax
je 0x140032376
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140032376
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140032355
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r15w
jmp 0x140032207
mov rcx, rbx
mov rax, rdi
cmp word [rax], 0
je 0x1400323a0
add rax, 2
sub rcx, 1
jne 0x140032390
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r15d, 0
cmove rax, r15
je 0x140032207
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140032376
mov rax, r14
lea r9, str.Small_Business_Server
sub r9, rcx
test rax, rax
je 0x140032376
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140032376
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x1400323d2
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r15w
jmp 0x140032207
mov rcx, rbx
mov rax, rdi
nop dword [rax]
cmp word [rax], 0
je 0x140032420
add rax, 2
sub rcx, 1
jne 0x140032410
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r15d, 0
cmove rax, r15
je 0x140032207
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140032376
mov rax, r14
lea r9, str.Small_Business_Server_Premium_Edition
sub r9, rcx
test rax, rax
je 0x140032376
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140032376
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140032456
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r15w
jmp 0x140032207
mov rcx, rbx
mov rax, rdi
nop dword [rax]
cmp word [rax], 0
je 0x1400324b0
add rax, 2
sub rcx, 1
jne 0x1400324a0
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r15d, 0
cmove rax, r15
je 0x140032207
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140032376
mov rax, r14
lea r9, str.Standard_Edition
sub r9, rcx
test rax, rax
je 0x140032376
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140032376
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x1400324e6
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r15w
jmp 0x140032207
mov rcx, rbx
mov rax, rdi
nop dword [rax]
cmp word [rax], 0
je 0x140032540
add rax, 2
sub rcx, 1
jne 0x140032530
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r15d, 0
cmove rax, r15
je 0x140032207
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140032376
mov rax, r14
lea r9, str.Standard_Edition__core_installation_
sub r9, rcx
test rax, rax
je 0x140032376
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140032376
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140032576
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r15w
jmp 0x140032207
mov rcx, rbx
mov rax, rdi
nop dword [rax]
cmp word [rax], 0
je 0x1400325d0
add rax, 2
sub rcx, 1
jne 0x1400325c0
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r15d, 0
cmove rax, r15
je 0x140032207
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140032376
mov rax, r14
lea r9, str.Web_Server_Edition
sub r9, rcx
test rax, rax
je 0x140032376
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140032376
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140032606
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r15w
jmp 0x140032207
mov ecx, 0x2000
movzx eax, word [rbp + 0xc8]
cmp ax, cx
jne 0x140032701
mov rcx, rbx
mov rax, rdi
nop
cmp word [rax], 0
je 0x140032670
add rax, 2
sub rcx, 1
jne 0x140032660
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x1400326c8
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x1400326b9
mov rax, r14
lea r9, str.Windows_Storage_Server_2003
sub r9, rcx
test rax, rax
je 0x1400326b9
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x1400326b9
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140032698
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r15w
mov qword [rsp + 0x30], r12
mov byte [rsp + 0x38], 1
mov edx, 0x1165f
lea rcx, [rbp - 0x80]
call fcn.140022530
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400511e0
nop
lea rcx, [rbp - 0x80]
call fcn.1400226c0
nop
jmp 0x1400328bc
mov ecx, 0x8000
cmp ax, cx
jne 0x1400327b9
mov rcx, rbx
mov rax, rdi
cmp word [rax], 0
je 0x140032725
add rax, 2
sub rcx, 1
jne 0x140032715
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140032780
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140032771
mov rax, r14
lea r9, str.Windows_Home_Server
sub r9, rcx
nop dword [rax]
test rax, rax
je 0x140032771
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140032771
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140032750
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r15w
mov qword [rsp + 0x30], r12
mov byte [rsp + 0x38], 1
mov edx, 0x11744
lea rcx, [rbp - 0x80]
call fcn.140022530
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400511e0
nop
lea rcx, [rbp - 0x80]
call fcn.1400226c0
nop
jmp 0x1400328bc
cmp byte [rbp + 0xca], 1
jne 0x140032815
cmp word [rsp + 0x50], 9
jne 0x140032815
lea r8, str.Windows_XP_Professional_x64_Edition
mov rdx, rbx
mov rcx, rdi
call fcn.140030f90
mov qword [rsp + 0x30], r12
mov byte [rsp + 0x38], 1
mov edx, 0x1166c
lea rcx, [rbp - 0x80]
call fcn.140022530
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400511e0
nop
lea rcx, [rbp - 0x80]
call fcn.1400226c0
nop
jmp 0x1400328bc
mov rcx, rbx
mov rax, rdi
nop dword [rax + rax]
cmp word [rax], 0
je 0x140032830
add rax, 2
sub rcx, 1
jne 0x140032820
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140032888
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140032879
mov rax, r14
lea r9, str.Windows_Server_2003_
sub r9, rcx
test rax, rax
je 0x140032879
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140032879
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140032858
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r15w
mov qword [rsp + 0x30], r12
mov byte [rsp + 0x38], 1
mov edx, 0x1165f
lea rcx, [rbp - 0x80]
call fcn.140022530
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400511e0
nop
lea rcx, [rbp - 0x80]
call fcn.1400226c0
nop
cmp byte [rbp + 0xca], 1
je 0x140032b7c
movzx eax, word [rsp + 0x50]
cmp ax, 6
jne 0x1400329fd
movzx eax, byte [rbp + 0xc8]
test al, al
jns 0x14003296d
mov rcx, rbx
mov rax, rdi
nop dword [rax]
cmp word [rax], 0
je 0x140032900
add rax, 2
sub rcx, 1
jne 0x1400328f0
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140032b7c
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140032b31
mov rax, r14
lea r9, str.Datacenter_Edition_for_Itanium_based_Systems
sub r9, rcx
test rax, rax
je 0x140032b31
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140032b31
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140032930
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r15w
jmp 0x140032b7c
test al, 2
je 0x140032b7c
mov rcx, rbx
mov rax, rdi
nop dword [rax + rax]
cmp word [rax], 0
je 0x140032990
add rax, 2
sub rcx, 1
jne 0x140032980
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140032b7c
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140032b31
mov rax, r14
sub r13, rcx
nop dword [rax]
test rax, rax
je 0x140032b31
movzx r8d, word [rcx + r13]
test r8w, r8w
je 0x140032b31
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x1400329c0
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r15w
jmp 0x140032b7c
cmp ax, 9
jne 0x140032abf
movzx eax, byte [rbp + 0xc8]
test al, al
jns 0x140032a9d
mov rcx, rbx
mov rax, rdi
nop dword [rax]
cmp word [rax], 0
je 0x140032a30
add rax, 2
sub rcx, 1
jne 0x140032a20
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140032b7c
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140032b31
mov rax, r14
lea r9, str.Datacenter_x64_Edition
sub r9, rcx
test rax, rax
je 0x140032b31
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140032b31
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140032a60
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r15w
jmp 0x140032b7c
mov rdx, rbx
mov rcx, rdi
test al, 2
je 0x140032ab3
lea r8, str.Enterprise_x64_Edition
jmp 0x140032b77
lea r8, str.Standard_x64_Edition
jmp 0x140032b77
movzx eax, word [rbp + 0xc8]
bt ax, 0xe
jae 0x140032b42
mov rcx, rbx
mov rax, rdi
cmp word [rax], 0
je 0x140032ae3
add rax, 2
sub rcx, 1
jne 0x140032ad3
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140032b7c
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140032b31
mov rax, r14
lea r9, str.Compute_Cluster_Edition
sub r9, rcx
nop
test rax, rax
je 0x140032b31
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140032b31
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140032b10
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r15w
jmp 0x140032b7c
test al, al
jns 0x140032b4f
lea r8, str.Datacenter_Edition
jmp 0x140032b71
test al, 2
je 0x140032b5c
lea r8, str.Enterprise_Edition
jmp 0x140032b71
bt ax, 0xa
lea r8, str.Web_Edition
jb 0x140032b71
lea r8, str.Standard_Edition
mov rcx, rdi
mov rdx, rbx
call fcn.140030f90
cmp dword [rbp - 0x4c], 5
jne 0x140032fa0
mov eax, dword [rbp - 0x48]
lea rsi, str.Professional
cmp eax, 1
jne 0x140032d24
mov rcx, rbx
mov rax, rdi
nop
cmp word [rax], 0
je 0x140032bb0
add rax, 2
sub rcx, 1
jne 0x140032ba0
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140032c06
mov r8, rbx
sub r8, rax
lea rcx, [rdi + rax*2]
je 0x140032bf7
mov rax, r14
lea r9, str.Windows_XP
sub r9, rcx
test rax, rax
je 0x140032bf7
movzx edx, word [rcx + r9]
test dx, dx
je 0x140032bf7
mov word [rcx], dx
add rcx, 2
dec rax
sub r8, 1
jne 0x140032bd8
lea rax, [rcx - 2]
test r8, r8
cmovne rax, rcx
mov word [rax], r15w
mov qword [rsp + 0x30], r12
mov byte [rsp + 0x38], 1
mov edx, 0x1166c
lea rcx, [rbp - 0x80]
call fcn.140022530
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400511e0
nop
lea rcx, [rbp - 0x80]
call fcn.1400226c0
nop
mov eax, 0x200
mov rcx, rbx
test word [rbp + 0xc8], ax
mov rax, rdi
je 0x140032cb3
nop
cmp word [rax], 0
je 0x140032c60
add rax, 2
sub rcx, 1
jne 0x140032c50
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140032d17
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140032d08
mov rax, r14
lea r9, str.Home_Edition
sub r9, rcx
test rax, rax
je 0x140032d08
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140032d08
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140032c90
jmp 0x140032d08
cmp word [rax], 0
je 0x140032cc3
add rax, 2
sub rcx, 1
jne 0x140032cb3
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140032d17
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140032d08
mov rax, r14
mov r9, rsi
sub r9, rcx
test rax, rax
je 0x140032d08
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140032d08
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140032ce7
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r15w
cmp dword [rbp - 0x4c], 5
jne 0x140032fa0
mov eax, dword [rbp - 0x48]
test eax, eax
jne 0x140032fa0
mov rcx, rbx
mov rax, rdi
cmp word [rax], 0
je 0x140032d42
add rax, 2
sub rcx, 1
jne 0x140032d32
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140032da0
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140032d91
mov rax, r14
lea r9, str.Windows_2000
sub r9, rcx
nop word [rax + rax]
test rax, rax
je 0x140032d91
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140032d91
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140032d70
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r15w
mov qword [rsp + 0x30], r12
mov byte [rsp + 0x38], 1
mov edx, 0x1165e
lea rcx, [rbp - 0x80]
call fcn.140022530
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400511e0
nop
lea rcx, [rbp - 0x80]
call fcn.1400226c0
nop
mov rcx, rbx
cmp byte [rbp + 0xca], 1
jne 0x140032e4e
mov rax, rdi
cmp word [rax], 0
je 0x140032df3
add rax, 2
sub rcx, 1
jne 0x140032de3
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140032fa0
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140032f91
mov rax, r14
sub rsi, rcx
nop dword [rax]
test rax, rax
je 0x140032f91
movzx r8d, word [rsi + rcx]
test r8w, r8w
je 0x140032f91
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140032e20
jmp 0x140032f91
movzx eax, byte [rbp + 0xc8]
test al, al
jns 0x140032ece
mov rax, rdi
nop dword [rax]
cmp word [rax], 0
je 0x140032e70
add rax, 2
sub rcx, 1
jne 0x140032e60
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140032fa0
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140032f91
mov rax, r14
lea r9, str.Datacenter_Server
sub r9, rcx
test rax, rax
je 0x140032f91
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140032f91
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140032ea0
jmp 0x140032f91
test al, 2
mov rax, rdi
je 0x140032f38
cmp word [rax], 0
je 0x140032ee5
add rax, 2
sub rcx, 1
jne 0x140032ed5
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140032fa0
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140032f91
mov rax, r14
lea r9, str.Advanced_Server
sub r9, rcx
test rax, rax
je 0x140032f91
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140032f91
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140032f15
jmp 0x140032f91
cmp word [rax], 0
je 0x140032f48
add rax, 2
sub rcx, 1
jne 0x140032f38
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140032fa0
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140032f91
mov rax, r14
lea r9, str.Server
sub r9, rcx
test rax, rax
je 0x140032f91
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140032f91
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140032f70
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r15w
lea rcx, [rbp - 0x3c]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140032fb0
test rax, rax
je 0x140032fe0
lea r8, [0x1402cd5b8]
mov rdx, rbx
mov rcx, rdi
call fcn.140030f90
lea r8, [rbp - 0x3c]
mov rdx, rbx
mov rcx, rdi
call fcn.140030f90
mov r9d, dword [rbp - 0x44]
lea r8, str.__build__d_
mov edx, 0x50
lea rcx, [rbp + 0xd0]
call fcn.140031050
lea r8, [rbp + 0xd0]
mov rdx, rbx
mov rcx, rdi
call fcn.140030f90
cmp dword [rbp - 0x4c], 6
jb 0x1400330ff
movzx eax, word [rsp + 0x50]
cmp ax, 9
jne 0x140033090
mov rcx, rbx
mov rax, rdi
nop dword [rax]
cmp word [rax], 0
je 0x140033040
add rax, 2
sub rcx, 1
jne 0x140033030
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x1400330ff
sub rbx, rax
lea rcx, [rdi + rax*2]
je 0x1400330f0
lea rdx, str.__64_bit
sub rdx, rcx
nop word [rax + rax]
test r14, r14
je 0x1400330f0
movzx eax, word [rcx + rdx]
test ax, ax
je 0x1400330f0
mov word [rcx], ax
add rcx, 2
dec r14
sub rbx, 1
jne 0x140033070
jmp 0x1400330f0
test ax, ax
jne 0x1400330ff
mov rcx, rbx
mov rax, rdi
nop dword [rax + rax]
cmp word [rax], 0
je 0x1400330b0
add rax, 2
sub rcx, 1
jne 0x1400330a0
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x1400330ff
sub rbx, rax
lea rcx, [rdi + rax*2]
je 0x1400330f0
lea rdx, str.__32_bit
sub rdx, rcx
test r14, r14
je 0x1400330f0
movzx eax, word [rdx + rcx]
test ax, ax
je 0x1400330f0
mov word [rcx], ax
add rcx, 2
dec r14
sub rbx, 1
jne 0x1400330d2
lea rax, [rcx - 2]
test rbx, rbx
cmovne rax, rcx
mov word [rax], r15w
mov eax, 1
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.140220eb0
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