Function at 0x1400313b0
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 [0x14031a940]
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.140225cd0
mov dword [rbp - 0x50], 0x11c
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x14003339f
cmp dword [rbp - 0x4c], 6
jb 0x140031464
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x44]
call fcn.14002e530
test al, al
je 0x140031464
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x44]
cmp dword [rbp - 0x4c], ecx
jne 0x140031457
cmp dword [rbp - 0x48], eax
je 0x140031464
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 0x14003148f
call rax
jmp 0x140031495
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [rbp - 0x40], 2
jne 0x14003339f
cmp dword [rbp - 0x4c], 4
jbe 0x14003339f
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 0x1400314e3
movzx eax, word [r8 + rcx]
test ax, ax
je 0x1400314e3
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x1400314c0
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 0x14003157d
mov edx, 0x11660
lea rcx, [rbp - 0x80]
call fcn.140022830
nop
mov qword [rsp + 0x30], r13
mov byte [rsp + 0x38], 1
xor r9d, r9d
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x80]
call fcn.140050f90
nop
lea rax, vtable.srl::Value.0
mov qword [rsp + 0x30], rax
lea rcx, [rbp - 0x80]
call fcn.1400229c0
mov qword [rsp + 0x30], r13
mov byte [rsp + 0x38], 1
mov edx, 0x116c0
lea rcx, [rbp - 0x80]
call fcn.140022830
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.140050f90
nop
lea rcx, [rbp - 0x80]
call fcn.1400229c0
nop
jmp 0x1400315eb
cmp ax, 9
jne 0x1400315ee
mov qword [rsp + 0x30], r13
mov byte [rsp + 0x38], 1
mov edx, 0x11660
lea rcx, [rbp - 0x80]
call fcn.140022830
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.140050f90
nop
lea rcx, [rbp - 0x80]
call fcn.1400229c0
nop
mov qword [rsp + 0x30], r13
mov byte [rsp + 0x38], 1
mov edx, 0x116c1
lea rcx, [rbp - 0x80]
call fcn.140022830
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.140050f90
nop
lea rcx, [rbp - 0x80]
call fcn.1400229c0
nop
xor r8d, r8d
xor sil, sil
xor r12b, r12b
xor r15b, r15b
mov r14d, 0x7ffffffe
cmp dword [rbp - 0x4c], 0xa
jne 0x140031767
mov rcx, rbx
mov rax, rdi
cmp dword [rbp - 0x44], 0x55f0
jb 0x1400316c4
nop word [rax + rax]
cmp word [rax], 0
je 0x140031630
add rax, 2
sub rcx, 1
jne 0x140031620
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r8
je 0x14003168b
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x14003167c
mov rax, r14
lea r9, str.Windows_11
sub r9, rcx
test rax, rax
je 0x140031679
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140031679
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140031658
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.140022830
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.140050f90
nop
lea rcx, [rbp - 0x80]
call fcn.1400229c0
nop
jmp 0x140031767
cmp word [rax], 0
je 0x1400316d4
add rax, 2
sub rcx, 1
jne 0x1400316c4
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r8
je 0x140031733
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140031724
mov rax, r14
lea r9, str.Windows_10
sub r9, rcx
nop dword [rax]
test rax, rax
je 0x140031721
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140031721
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140031700
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.140022830
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.140050f90
nop
lea rcx, [rbp - 0x80]
call fcn.1400229c0
nop
lea r13, str.Enterprise_Edition_for_Itanium_based_Systems
cmp dword [rbp - 0x4c], 6
jne case.0x140031e0c.5
cmp dword [rbp - 0x48], 0
jne 0x1400318ef
mov rcx, rbx
mov rax, rdi
cmp byte [rbp + 0xca], 1
jne 0x140031846
cmp word [rax], 0
je 0x1400317a5
add rax, 2
sub rcx, 1
jne 0x140031795
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r10d, 0
cmove rax, r10
je 0x140031803
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x1400317f4
mov rax, r14
lea r9, str.Windows_Vista
sub r9, rcx
test rax, rax
je 0x1400317f4
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x1400317f4
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x1400317d3
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.140022830
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.140050f90
nop
lea rcx, [rbp - 0x80]
call fcn.1400229c0
nop
mov sil, 1
jmp 0x1400318ef
cmp word [rax], 0
je 0x140031856
add rax, 2
sub rcx, 1
jne 0x140031846
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r10d, 0
cmove rax, r10
je 0x1400318b4
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x1400318a5
mov rax, r14
lea r9, str.Windows_Server_2008
sub r9, rcx
test rax, rax
je 0x1400318a5
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x1400318a5
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140031884
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.140022830
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.140050f90
nop
lea rcx, [rbp - 0x80]
call fcn.1400229c0
nop
cmp dword [rbp - 0x48], 1
jne 0x140031a72
mov rcx, rbx
mov rax, rdi
cmp byte [rbp + 0xca], 1
jne 0x1400319c6
nop dword [rax]
cmp word [rax], 0
je 0x140031920
add rax, 2
sub rcx, 1
jne 0x140031910
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r8d, 0
cmove rax, r8
je 0x140031983
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140031974
mov rax, r14
lea r9, str.Windows_7
sub r9, rcx
nop
test rax, rax
je 0x140031971
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140031971
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140031950
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.140022830
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.140050f90
nop
lea rcx, [rbp - 0x80]
call fcn.1400229c0
nop
mov r12b, 1
jmp 0x140031a72
cmp word [rax], 0
je 0x1400319d6
add rax, 2
sub rcx, 1
jne 0x1400319c6
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r8d, 0
cmove rax, r8
je 0x140031a37
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140031a28
mov rax, r14
lea r9, str.Windows_Server_2008_R2
sub r9, rcx
test rax, rax
je 0x140031a25
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140031a25
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140031a04
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.140022830
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.140050f90
nop
lea rcx, [rbp - 0x80]
call fcn.1400229c0
nop
cmp dword [rbp - 0x48], 2
jne 0x140031c2e
mov rcx, rbx
mov rax, rdi
cmp byte [rbp + 0xca], 1
jne 0x140031b80
nop
cmp word [rax], 0
je 0x140031aa0
add rax, 2
sub rcx, 1
jne 0x140031a90
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r8d, 0
cmove rax, r8
je 0x140031b03
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140031af4
mov rax, r14
lea r9, str.Windows_8
sub r9, rcx
nop
test rax, rax
je 0x140031af1
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140031af1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140031ad0
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.140022830
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.140050f90
nop
lea rcx, [rbp - 0x80]
call fcn.1400229c0
nop
mov qword [rsp + 0x30], r15
mov byte [rsp + 0x38], 1
mov edx, 0x11745
lea rcx, [rbp - 0x80]
call fcn.140022830
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.140050f90
nop
lea rcx, [rbp - 0x80]
call fcn.1400229c0
nop
mov r15b, 1
jmp 0x140031c2e
cmp word [rax], 0
je 0x140031b90
add rax, 2
sub rcx, 1
jne 0x140031b80
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r8d, 0
cmove rax, r8
je 0x140031bf3
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140031be4
mov rax, r14
lea r9, str.Windows_Server_2012
sub r9, rcx
nop
test rax, rax
je 0x140031be1
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140031be1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140031bc0
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.140022830
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.140050f90
nop
lea rcx, [rbp - 0x80]
call fcn.1400229c0
nop
cmp dword [rbp - 0x48], 3
jne 0x140031daf
mov rcx, rbx
mov rax, rdi
cmp byte [rbp + 0xca], 1
jne 0x140031d03
nop dword [rax + rax]
cmp word [rax], 0
je 0x140031c60
add rax, 2
sub rcx, 1
jne 0x140031c50
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r8d, 0
cmove rax, r8
je 0x140031cc3
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140031cb4
mov rax, r14
lea r9, str.Windows_8.1
sub r9, rcx
nop
test rax, rax
je 0x140031cb1
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140031cb1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140031c90
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.140022830
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.140050f90
nop
lea rcx, [rbp - 0x80]
call fcn.1400229c0
nop
jmp 0x140031daf
cmp word [rax], 0
je 0x140031d13
add rax, 2
sub rcx, 1
jne 0x140031d03
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r8d, 0
cmove rax, r8
je 0x140031d74
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140031d65
mov rax, r14
lea r9, str.Windows_Server_2012_R2
sub r9, rcx
test rax, rax
je 0x140031d62
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140031d62
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140031d41
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.140022830
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.140050f90
nop
lea rcx, [rbp - 0x80]
call fcn.1400229c0
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.0x140031e0c.5
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0x33420]
mov ecx, dword [rdx + rax*4 + 0x333d4]
add rcx, rdx
jmp rcx
mov rcx, rbx
mov rax, rdi
cmp word [rax], 0
je 0x140031e24
add rax, 2
sub rcx, 1
jne 0x140031e14
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r8d, 0
cmove rax, r8
je 0x140031e85
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140031e76
mov rax, r14
lea r9, str.Professional_Edition
sub r9, rcx
test rax, rax
je 0x140031e73
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140031e73
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140031e52
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 0x140031ecd
mov qword [rsp + 0x30], r12
mov byte [rsp + 0x38], 1
mov edx, 0x11738
lea rcx, [rbp - 0x80]
call fcn.140022830
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.140050f90
nop
lea rcx, [rbp - 0x80]
call fcn.1400229c0
nop
xor r15d, r15d
jmp 0x1400324ae
test r15b, r15b
je 0x140031f3a
mov qword [rsp + 0x30], r12
mov byte [rsp + 0x38], 1
mov edx, 0x11746
lea rcx, [rbp - 0x80]
call fcn.140022830
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.140050f90
nop
lea rcx, [rbp - 0x80]
call fcn.1400229c0
nop
mov qword [rsp + 0x30], r12
mov byte [rsp + 0x38], 0
mov edx, 0x11745
lea rcx, [rbp - 0x80]
call fcn.140022830
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.140050f90
nop
lea rcx, [rbp - 0x80]
call fcn.1400229c0
nop
xor r15d, r15d
jmp 0x1400324ae
mov rcx, rbx
mov rax, rdi
cmp word [rax], 0
je 0x140031f58
add rax, 2
sub rcx, 1
jne 0x140031f48
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r15d, 0
cmove rax, r15
je 0x140031fb6
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140031fa7
mov rax, r14
lea r9, str.Ultimate_Edition
sub r9, rcx
test rax, rax
je 0x140031fa7
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140031fa7
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140031f86
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r15w
test sil, sil
je 0x140031ffb
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.140022830
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.140050f90
nop
lea rcx, [rbp - 0x80]
call fcn.1400229c0
nop
jmp 0x1400324ae
test r12b, r12b
lea r12, vtable.srl::Exists.0
je 0x1400324ae
mov qword [rsp + 0x30], r12
mov byte [rsp + 0x38], 1
mov edx, 0x11735
lea rcx, [rbp - 0x80]
call fcn.140022830
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.140050f90
nop
lea rcx, [rbp - 0x80]
call fcn.1400229c0
nop
jmp 0x1400324ae
mov rcx, rbx
mov rax, rdi
nop word [rax + rax]
cmp word [rax], 0
je 0x140032060
add rax, 2
sub rcx, 1
jne 0x140032050
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r15d, 0
cmove rax, r15
je 0x1400320c0
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x1400320b1
mov rax, r14
lea r9, str.Home_Premium_Edition
sub r9, rcx
nop
test rax, rax
je 0x1400320b1
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x1400320b1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140032090
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r15w
test sil, sil
je 0x140032105
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.140022830
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.140050f90
nop
lea rcx, [rbp - 0x80]
call fcn.1400229c0
nop
jmp 0x1400324ae
test r12b, r12b
lea r12, vtable.srl::Exists.0
je 0x1400324ae
mov qword [rsp + 0x30], r12
mov byte [rsp + 0x38], 1
mov edx, 0x11739
lea rcx, [rbp - 0x80]
call fcn.140022830
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.140050f90
nop
lea rcx, [rbp - 0x80]
call fcn.1400229c0
nop
jmp 0x1400324ae
lea r8, str.Home_Basic_Edition
mov rdx, rbx
mov rcx, rdi
call fcn.140031230
test sil, sil
je 0x1400321a8
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.140022830
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.140050f90
nop
lea rcx, [rbp - 0x80]
call fcn.1400229c0
nop
xor r15d, r15d
jmp 0x1400324ae
test r12b, r12b
lea r12, vtable.srl::Exists.0
je 0x140031f3a
mov qword [rsp + 0x30], r12
mov byte [rsp + 0x38], 1
mov edx, 0x1173a
lea rcx, [rbp - 0x80]
call fcn.140022830
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.140050f90
nop
lea rcx, [rbp - 0x80]
call fcn.1400229c0
nop
xor r15d, r15d
jmp 0x1400324ae
mov rcx, rbx
mov rax, rdi
nop word [rax + rax]
cmp word [rax], 0
je 0x140032210
add rax, 2
sub rcx, 1
jne 0x140032200
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r8d, 0
cmove rax, r8
je 0x140032273
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140032264
mov rax, r14
lea r9, str.Enterprise_Edition
sub r9, rcx
nop
test rax, rax
je 0x140032261
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140032261
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140032240
xor r8d, r8d
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r8w
test sil, sil
je 0x1400322bb
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.140022830
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.140050f90
nop
lea rcx, [rbp - 0x80]
call fcn.1400229c0
nop
xor r15d, r15d
jmp 0x1400324ae
test r12b, r12b
lea r12, vtable.srl::Exists.0
je 0x140032303
mov qword [rsp + 0x30], r12
mov byte [rsp + 0x38], 1
mov edx, 0x11737
lea rcx, [rbp - 0x80]
call fcn.140022830
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.140050f90
nop
lea rcx, [rbp - 0x80]
call fcn.1400229c0
nop
xor r15d, r15d
jmp 0x1400324ae
test r15b, r15b
je 0x140031f3a
mov qword [rsp + 0x30], r12
mov byte [rsp + 0x38], 1
mov edx, 0x11747
lea rcx, [rbp - 0x80]
call fcn.140022830
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.140050f90
nop
lea rcx, [rbp - 0x80]
call fcn.1400229c0
nop
mov qword [rsp + 0x30], r12
mov byte [rsp + 0x38], 0
mov edx, 0x11745
lea rcx, [rbp - 0x80]
call fcn.140022830
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.140050f90
nop
lea rcx, [rbp - 0x80]
call fcn.1400229c0
nop
xor r15d, r15d
jmp 0x1400324ae
lea r8, str.Business_Edition
mov rdx, rbx
mov rcx, rdi
call fcn.140031230
lea r12, vtable.srl::Exists.0
test sil, sil
je 0x140031f3a
mov qword [rsp + 0x30], r12
mov byte [rsp + 0x38], 1
mov edx, 0x11667
lea rcx, [rbp - 0x80]
call fcn.140022830
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.140050f90
nop
lea rcx, [rbp - 0x80]
call fcn.1400229c0
nop
xor r15d, r15d
jmp 0x1400324ae
mov rcx, rbx
mov rax, rdi
cmp word [rax], 0
je 0x1400323f0
add rax, 2
sub rcx, 1
jne 0x1400323e0
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r15d, 0
cmove rax, r15
je 0x140032450
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140032441
mov rax, r14
lea r9, str.Starter_Edition
sub r9, rcx
nop
test rax, rax
je 0x140032441
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140032441
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140032420
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r15w
test r12b, r12b
lea r12, vtable.srl::Exists.0
je 0x1400324ae
mov qword [rsp + 0x30], r12
mov byte [rsp + 0x38], 1
mov edx, 0x1173b
lea rcx, [rbp - 0x80]
call fcn.140022830
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.140050f90
nop
lea rcx, [rbp - 0x80]
call fcn.1400229c0
nop
jmp 0x1400324ae
lea r8, str.Cluster_Server_Edition
mov rdx, rbx
mov rcx, rdi
call fcn.140031230
xor r15d, r15d
lea r12, vtable.srl::Exists.0
cmp dword [rbp - 0x4c], 5
jne 0x140033240
mov eax, dword [rbp - 0x48]
cmp eax, 2
jne 0x140032e29
lea ecx, [rax + 0x57]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x1400328e3
mov rcx, rbx
mov rax, rdi
nop dword [rax + rax]
cmp word [rax], 0
je 0x1400324f0
add rax, 2
sub rcx, 1
jne 0x1400324e0
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140032548
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140032539
mov rax, r14
lea r9, str.Windows_Server_2003_R2_
sub r9, rcx
test rax, rax
je 0x140032539
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140032539
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140032518
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.140022830
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.140050f90
nop
lea rcx, [rbp - 0x80]
call fcn.1400229c0
nop
jmp 0x140032b5c
lea r8, str.Datacenter_Edition
jmp 0x140032499
lea r8, str.Datacenter_Edition__core_installation_
jmp 0x140032499
lea r8, str.Enterprise_Edition
jmp 0x140032499
lea r8, str.Enterprise_Edition__core_installation_
jmp 0x140032499
mov rcx, rbx
mov rax, rdi
cmp word [rax], 0
je 0x1400325c7
add rax, 2
sub rcx, 1
jne 0x1400325b7
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r15d, 0
cmove rax, r15
je 0x1400324a7
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140032616
mov rax, r14
mov r9, r13
sub r9, rcx
test rax, rax
je 0x140032616
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140032616
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x1400325f5
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r15w
jmp 0x1400324a7
mov rcx, rbx
mov rax, rdi
cmp word [rax], 0
je 0x140032640
add rax, 2
sub rcx, 1
jne 0x140032630
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r15d, 0
cmove rax, r15
je 0x1400324a7
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140032616
mov rax, r14
lea r9, str.Small_Business_Server
sub r9, rcx
test rax, rax
je 0x140032616
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140032616
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140032672
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r15w
jmp 0x1400324a7
mov rcx, rbx
mov rax, rdi
nop dword [rax]
cmp word [rax], 0
je 0x1400326c0
add rax, 2
sub rcx, 1
jne 0x1400326b0
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r15d, 0
cmove rax, r15
je 0x1400324a7
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140032616
mov rax, r14
lea r9, str.Small_Business_Server_Premium_Edition
sub r9, rcx
test rax, rax
je 0x140032616
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140032616
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x1400326f6
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r15w
jmp 0x1400324a7
mov rcx, rbx
mov rax, rdi
nop dword [rax]
cmp word [rax], 0
je 0x140032750
add rax, 2
sub rcx, 1
jne 0x140032740
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r15d, 0
cmove rax, r15
je 0x1400324a7
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140032616
mov rax, r14
lea r9, str.Standard_Edition
sub r9, rcx
test rax, rax
je 0x140032616
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140032616
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140032786
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r15w
jmp 0x1400324a7
mov rcx, rbx
mov rax, rdi
nop dword [rax]
cmp word [rax], 0
je 0x1400327e0
add rax, 2
sub rcx, 1
jne 0x1400327d0
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r15d, 0
cmove rax, r15
je 0x1400324a7
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140032616
mov rax, r14
lea r9, str.Standard_Edition__core_installation_
sub r9, rcx
test rax, rax
je 0x140032616
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140032616
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140032816
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r15w
jmp 0x1400324a7
mov rcx, rbx
mov rax, rdi
nop dword [rax]
cmp word [rax], 0
je 0x140032870
add rax, 2
sub rcx, 1
jne 0x140032860
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r15d, 0
cmove rax, r15
je 0x1400324a7
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140032616
mov rax, r14
lea r9, str.Web_Server_Edition
sub r9, rcx
test rax, rax
je 0x140032616
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140032616
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x1400328a6
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r15w
jmp 0x1400324a7
mov ecx, 0x2000
movzx eax, word [rbp + 0xc8]
cmp ax, cx
jne 0x1400329a1
mov rcx, rbx
mov rax, rdi
nop
cmp word [rax], 0
je 0x140032910
add rax, 2
sub rcx, 1
jne 0x140032900
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140032968
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140032959
mov rax, r14
lea r9, str.Windows_Storage_Server_2003
sub r9, rcx
test rax, rax
je 0x140032959
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140032959
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140032938
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.140022830
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.140050f90
nop
lea rcx, [rbp - 0x80]
call fcn.1400229c0
nop
jmp 0x140032b5c
mov ecx, 0x8000
cmp ax, cx
jne 0x140032a59
mov rcx, rbx
mov rax, rdi
cmp word [rax], 0
je 0x1400329c5
add rax, 2
sub rcx, 1
jne 0x1400329b5
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140032a20
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140032a11
mov rax, r14
lea r9, str.Windows_Home_Server
sub r9, rcx
nop dword [rax]
test rax, rax
je 0x140032a11
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140032a11
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x1400329f0
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.140022830
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.140050f90
nop
lea rcx, [rbp - 0x80]
call fcn.1400229c0
nop
jmp 0x140032b5c
cmp byte [rbp + 0xca], 1
jne 0x140032ab5
cmp word [rsp + 0x50], 9
jne 0x140032ab5
lea r8, str.Windows_XP_Professional_x64_Edition
mov rdx, rbx
mov rcx, rdi
call fcn.140031230
mov qword [rsp + 0x30], r12
mov byte [rsp + 0x38], 1
mov edx, 0x1166c
lea rcx, [rbp - 0x80]
call fcn.140022830
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.140050f90
nop
lea rcx, [rbp - 0x80]
call fcn.1400229c0
nop
jmp 0x140032b5c
mov rcx, rbx
mov rax, rdi
nop dword [rax + rax]
cmp word [rax], 0
je 0x140032ad0
add rax, 2
sub rcx, 1
jne 0x140032ac0
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140032b28
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140032b19
mov rax, r14
lea r9, str.Windows_Server_2003_
sub r9, rcx
test rax, rax
je 0x140032b19
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140032b19
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140032af8
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.140022830
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.140050f90
nop
lea rcx, [rbp - 0x80]
call fcn.1400229c0
nop
cmp byte [rbp + 0xca], 1
je 0x140032e1c
movzx eax, word [rsp + 0x50]
cmp ax, 6
jne 0x140032c9d
movzx eax, byte [rbp + 0xc8]
test al, al
jns 0x140032c0d
mov rcx, rbx
mov rax, rdi
nop dword [rax]
cmp word [rax], 0
je 0x140032ba0
add rax, 2
sub rcx, 1
jne 0x140032b90
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140032e1c
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140032dd1
mov rax, r14
lea r9, str.Datacenter_Edition_for_Itanium_based_Systems
sub r9, rcx
test rax, rax
je 0x140032dd1
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140032dd1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140032bd0
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r15w
jmp 0x140032e1c
test al, 2
je 0x140032e1c
mov rcx, rbx
mov rax, rdi
nop dword [rax + rax]
cmp word [rax], 0
je 0x140032c30
add rax, 2
sub rcx, 1
jne 0x140032c20
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140032e1c
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140032dd1
mov rax, r14
sub r13, rcx
nop dword [rax]
test rax, rax
je 0x140032dd1
movzx r8d, word [rcx + r13]
test r8w, r8w
je 0x140032dd1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140032c60
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r15w
jmp 0x140032e1c
cmp ax, 9
jne 0x140032d5f
movzx eax, byte [rbp + 0xc8]
test al, al
jns 0x140032d3d
mov rcx, rbx
mov rax, rdi
nop dword [rax]
cmp word [rax], 0
je 0x140032cd0
add rax, 2
sub rcx, 1
jne 0x140032cc0
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140032e1c
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140032dd1
mov rax, r14
lea r9, str.Datacenter_x64_Edition
sub r9, rcx
test rax, rax
je 0x140032dd1
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140032dd1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140032d00
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r15w
jmp 0x140032e1c
mov rdx, rbx
mov rcx, rdi
test al, 2
je 0x140032d53
lea r8, str.Enterprise_x64_Edition
jmp 0x140032e17
lea r8, str.Standard_x64_Edition
jmp 0x140032e17
movzx eax, word [rbp + 0xc8]
bt ax, 0xe
jae 0x140032de2
mov rcx, rbx
mov rax, rdi
cmp word [rax], 0
je 0x140032d83
add rax, 2
sub rcx, 1
jne 0x140032d73
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140032e1c
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140032dd1
mov rax, r14
lea r9, str.Compute_Cluster_Edition
sub r9, rcx
nop
test rax, rax
je 0x140032dd1
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140032dd1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140032db0
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r15w
jmp 0x140032e1c
test al, al
jns 0x140032def
lea r8, str.Datacenter_Edition
jmp 0x140032e11
test al, 2
je 0x140032dfc
lea r8, str.Enterprise_Edition
jmp 0x140032e11
bt ax, 0xa
lea r8, str.Web_Edition
jb 0x140032e11
lea r8, str.Standard_Edition
mov rcx, rdi
mov rdx, rbx
call fcn.140031230
cmp dword [rbp - 0x4c], 5
jne 0x140033240
mov eax, dword [rbp - 0x48]
lea rsi, str.Professional
cmp eax, 1
jne 0x140032fc4
mov rcx, rbx
mov rax, rdi
nop
cmp word [rax], 0
je 0x140032e50
add rax, 2
sub rcx, 1
jne 0x140032e40
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140032ea6
mov r8, rbx
sub r8, rax
lea rcx, [rdi + rax*2]
je 0x140032e97
mov rax, r14
lea r9, str.Windows_XP
sub r9, rcx
test rax, rax
je 0x140032e97
movzx edx, word [rcx + r9]
test dx, dx
je 0x140032e97
mov word [rcx], dx
add rcx, 2
dec rax
sub r8, 1
jne 0x140032e78
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.140022830
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.140050f90
nop
lea rcx, [rbp - 0x80]
call fcn.1400229c0
nop
mov eax, 0x200
mov rcx, rbx
test word [rbp + 0xc8], ax
mov rax, rdi
je 0x140032f53
nop
cmp word [rax], 0
je 0x140032f00
add rax, 2
sub rcx, 1
jne 0x140032ef0
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140032fb7
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140032fa8
mov rax, r14
lea r9, str.Home_Edition
sub r9, rcx
test rax, rax
je 0x140032fa8
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140032fa8
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140032f30
jmp 0x140032fa8
cmp word [rax], 0
je 0x140032f63
add rax, 2
sub rcx, 1
jne 0x140032f53
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140032fb7
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140032fa8
mov rax, r14
mov r9, rsi
sub r9, rcx
test rax, rax
je 0x140032fa8
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140032fa8
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140032f87
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r15w
cmp dword [rbp - 0x4c], 5
jne 0x140033240
mov eax, dword [rbp - 0x48]
test eax, eax
jne 0x140033240
mov rcx, rbx
mov rax, rdi
cmp word [rax], 0
je 0x140032fe2
add rax, 2
sub rcx, 1
jne 0x140032fd2
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140033040
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140033031
mov rax, r14
lea r9, str.Windows_2000
sub r9, rcx
nop word [rax + rax]
test rax, rax
je 0x140033031
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140033031
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140033010
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.140022830
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.140050f90
nop
lea rcx, [rbp - 0x80]
call fcn.1400229c0
nop
mov rcx, rbx
cmp byte [rbp + 0xca], 1
jne 0x1400330ee
mov rax, rdi
cmp word [rax], 0
je 0x140033093
add rax, 2
sub rcx, 1
jne 0x140033083
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140033240
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140033231
mov rax, r14
sub rsi, rcx
nop dword [rax]
test rax, rax
je 0x140033231
movzx r8d, word [rsi + rcx]
test r8w, r8w
je 0x140033231
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x1400330c0
jmp 0x140033231
movzx eax, byte [rbp + 0xc8]
test al, al
jns 0x14003316e
mov rax, rdi
nop dword [rax]
cmp word [rax], 0
je 0x140033110
add rax, 2
sub rcx, 1
jne 0x140033100
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140033240
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140033231
mov rax, r14
lea r9, str.Datacenter_Server
sub r9, rcx
test rax, rax
je 0x140033231
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140033231
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140033140
jmp 0x140033231
test al, 2
mov rax, rdi
je 0x1400331d8
cmp word [rax], 0
je 0x140033185
add rax, 2
sub rcx, 1
jne 0x140033175
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140033240
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140033231
mov rax, r14
lea r9, str.Advanced_Server
sub r9, rcx
test rax, rax
je 0x140033231
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140033231
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x1400331b5
jmp 0x140033231
cmp word [rax], 0
je 0x1400331e8
add rax, 2
sub rcx, 1
jne 0x1400331d8
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140033240
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140033231
mov rax, r14
lea r9, str.Server
sub r9, rcx
test rax, rax
je 0x140033231
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140033231
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140033210
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 0x140033250
test rax, rax
je 0x140033280
lea r8, [0x1402c7918]
mov rdx, rbx
mov rcx, rdi
call fcn.140031230
lea r8, [rbp - 0x3c]
mov rdx, rbx
mov rcx, rdi
call fcn.140031230
mov r9d, dword [rbp - 0x44]
lea r8, str.__build__d_
mov edx, 0x50
lea rcx, [rbp + 0xd0]
call fcn.1400312f0
lea r8, [rbp + 0xd0]
mov rdx, rbx
mov rcx, rdi
call fcn.140031230
cmp dword [rbp - 0x4c], 6
jb 0x14003339f
movzx eax, word [rsp + 0x50]
cmp ax, 9
jne 0x140033330
mov rcx, rbx
mov rax, rdi
nop dword [rax]
cmp word [rax], 0
je 0x1400332e0
add rax, 2
sub rcx, 1
jne 0x1400332d0
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x14003339f
sub rbx, rax
lea rcx, [rdi + rax*2]
je 0x140033390
lea rdx, str.__64_bit
sub rdx, rcx
nop word [rax + rax]
test r14, r14
je 0x140033390
movzx eax, word [rcx + rdx]
test ax, ax
je 0x140033390
mov word [rcx], ax
add rcx, 2
dec r14
sub rbx, 1
jne 0x140033310
jmp 0x140033390
test ax, ax
jne 0x14003339f
mov rcx, rbx
mov rax, rdi
nop dword [rax + rax]
cmp word [rax], 0
je 0x140033350
add rax, 2
sub rcx, 1
jne 0x140033340
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x14003339f
sub rbx, rax
lea rcx, [rdi + rax*2]
je 0x140033390
lea rdx, str.__32_bit
sub rdx, rcx
test r14, r14
je 0x140033390
movzx eax, word [rdx + rcx]
test ax, ax
je 0x140033390
mov word [rcx], ax
add rcx, 2
dec r14
sub rbx, 1
jne 0x140033372
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.140220e50
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