Function at 0x140030f40
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.140254770
mov dword [rbp - 0x50], 0x11c
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x140032f2f
cmp dword [rbp - 0x4c], 6
jb 0x140030ff4
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x44]
call fcn.14002e2a0
test al, al
je 0x140030ff4
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x44]
cmp dword [rbp - 0x4c], ecx
jne 0x140030fe7
cmp dword [rbp - 0x48], eax
je 0x140030ff4
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 0x14003101f
call rax
jmp 0x140031025
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [rbp - 0x40], 2
jne 0x140032f2f
cmp dword [rbp - 0x4c], 4
jbe 0x140032f2f
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 0x140031073
movzx eax, word [r8 + rcx]
test ax, ax
je 0x140031073
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140031050
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 0x14003110d
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.140051010
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.140051010
nop
lea rcx, [rbp - 0x80]
call fcn.1400226c0
nop
jmp 0x14003117b
cmp ax, 9
jne 0x14003117e
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.140051010
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.140051010
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 0x1400312f7
mov rcx, rbx
mov rax, rdi
cmp dword [rbp - 0x44], 0x55f0
jb 0x140031254
nop word [rax + rax]
cmp word [rax], 0
je 0x1400311c0
add rax, 2
sub rcx, 1
jne 0x1400311b0
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r8
je 0x14003121b
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x14003120c
mov rax, r14
lea r9, str.Windows_11
sub r9, rcx
test rax, rax
je 0x140031209
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140031209
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x1400311e8
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.140051010
nop
lea rcx, [rbp - 0x80]
call fcn.1400226c0
nop
jmp 0x1400312f7
cmp word [rax], 0
je 0x140031264
add rax, 2
sub rcx, 1
jne 0x140031254
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r8
je 0x1400312c3
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x1400312b4
mov rax, r14
lea r9, str.Windows_10
sub r9, rcx
nop dword [rax]
test rax, rax
je 0x1400312b1
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x1400312b1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140031290
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.140051010
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.0x14003199c.5
cmp dword [rbp - 0x48], 0
jne 0x14003147f
mov rcx, rbx
mov rax, rdi
cmp byte [rbp + 0xca], 1
jne 0x1400313d6
cmp word [rax], 0
je 0x140031335
add rax, 2
sub rcx, 1
jne 0x140031325
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r10d, 0
cmove rax, r10
je 0x140031393
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140031384
mov rax, r14
lea r9, str.Windows_Vista
sub r9, rcx
test rax, rax
je 0x140031384
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140031384
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140031363
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.140051010
nop
lea rcx, [rbp - 0x80]
call fcn.1400226c0
nop
mov sil, 1
jmp 0x14003147f
cmp word [rax], 0
je 0x1400313e6
add rax, 2
sub rcx, 1
jne 0x1400313d6
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r10d, 0
cmove rax, r10
je 0x140031444
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140031435
mov rax, r14
lea r9, str.Windows_Server_2008
sub r9, rcx
test rax, rax
je 0x140031435
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140031435
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140031414
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.140051010
nop
lea rcx, [rbp - 0x80]
call fcn.1400226c0
nop
cmp dword [rbp - 0x48], 1
jne 0x140031602
mov rcx, rbx
mov rax, rdi
cmp byte [rbp + 0xca], 1
jne 0x140031556
nop dword [rax]
cmp word [rax], 0
je 0x1400314b0
add rax, 2
sub rcx, 1
jne 0x1400314a0
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r8d, 0
cmove rax, r8
je 0x140031513
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140031504
mov rax, r14
lea r9, str.Windows_7
sub r9, rcx
nop
test rax, rax
je 0x140031501
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140031501
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x1400314e0
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.140051010
nop
lea rcx, [rbp - 0x80]
call fcn.1400226c0
nop
mov r12b, 1
jmp 0x140031602
cmp word [rax], 0
je 0x140031566
add rax, 2
sub rcx, 1
jne 0x140031556
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r8d, 0
cmove rax, r8
je 0x1400315c7
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x1400315b8
mov rax, r14
lea r9, str.Windows_Server_2008_R2
sub r9, rcx
test rax, rax
je 0x1400315b5
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x1400315b5
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140031594
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.140051010
nop
lea rcx, [rbp - 0x80]
call fcn.1400226c0
nop
cmp dword [rbp - 0x48], 2
jne 0x1400317be
mov rcx, rbx
mov rax, rdi
cmp byte [rbp + 0xca], 1
jne 0x140031710
nop
cmp word [rax], 0
je 0x140031630
add rax, 2
sub rcx, 1
jne 0x140031620
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r8d, 0
cmove rax, r8
je 0x140031693
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140031684
mov rax, r14
lea r9, str.Windows_8
sub r9, rcx
nop
test rax, rax
je 0x140031681
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140031681
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140031660
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.140051010
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.140051010
nop
lea rcx, [rbp - 0x80]
call fcn.1400226c0
nop
mov r15b, 1
jmp 0x1400317be
cmp word [rax], 0
je 0x140031720
add rax, 2
sub rcx, 1
jne 0x140031710
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r8d, 0
cmove rax, r8
je 0x140031783
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140031774
mov rax, r14
lea r9, str.Windows_Server_2012
sub r9, rcx
nop
test rax, rax
je 0x140031771
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140031771
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140031750
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.140051010
nop
lea rcx, [rbp - 0x80]
call fcn.1400226c0
nop
cmp dword [rbp - 0x48], 3
jne 0x14003193f
mov rcx, rbx
mov rax, rdi
cmp byte [rbp + 0xca], 1
jne 0x140031893
nop dword [rax + rax]
cmp word [rax], 0
je 0x1400317f0
add rax, 2
sub rcx, 1
jne 0x1400317e0
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r8d, 0
cmove rax, r8
je 0x140031853
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140031844
mov rax, r14
lea r9, str.Windows_8.1
sub r9, rcx
nop
test rax, rax
je 0x140031841
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140031841
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140031820
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.140051010
nop
lea rcx, [rbp - 0x80]
call fcn.1400226c0
nop
jmp 0x14003193f
cmp word [rax], 0
je 0x1400318a3
add rax, 2
sub rcx, 1
jne 0x140031893
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r8d, 0
cmove rax, r8
je 0x140031904
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x1400318f5
mov rax, r14
lea r9, str.Windows_Server_2012_R2
sub r9, rcx
test rax, rax
je 0x1400318f2
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x1400318f2
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x1400318d1
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.140051010
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.0x14003199c.5
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0x32fb0]
mov ecx, dword [rdx + rax*4 + 0x32f64]
add rcx, rdx
jmp rcx
mov rcx, rbx
mov rax, rdi
cmp word [rax], 0
je 0x1400319b4
add rax, 2
sub rcx, 1
jne 0x1400319a4
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r8d, 0
cmove rax, r8
je 0x140031a15
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140031a06
mov rax, r14
lea r9, str.Professional_Edition
sub r9, rcx
test rax, rax
je 0x140031a03
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140031a03
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x1400319e2
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 0x140031a5d
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.140051010
nop
lea rcx, [rbp - 0x80]
call fcn.1400226c0
nop
xor r15d, r15d
jmp 0x14003203e
test r15b, r15b
je 0x140031aca
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.140051010
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.140051010
nop
lea rcx, [rbp - 0x80]
call fcn.1400226c0
nop
xor r15d, r15d
jmp 0x14003203e
mov rcx, rbx
mov rax, rdi
cmp word [rax], 0
je 0x140031ae8
add rax, 2
sub rcx, 1
jne 0x140031ad8
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r15d, 0
cmove rax, r15
je 0x140031b46
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140031b37
mov rax, r14
lea r9, str.Ultimate_Edition
sub r9, rcx
test rax, rax
je 0x140031b37
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140031b37
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140031b16
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r15w
test sil, sil
je 0x140031b8b
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.140051010
nop
lea rcx, [rbp - 0x80]
call fcn.1400226c0
nop
jmp 0x14003203e
test r12b, r12b
lea r12, vtable.srl::Exists.0
je 0x14003203e
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.140051010
nop
lea rcx, [rbp - 0x80]
call fcn.1400226c0
nop
jmp 0x14003203e
mov rcx, rbx
mov rax, rdi
nop word [rax + rax]
cmp word [rax], 0
je 0x140031bf0
add rax, 2
sub rcx, 1
jne 0x140031be0
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r15d, 0
cmove rax, r15
je 0x140031c50
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140031c41
mov rax, r14
lea r9, str.Home_Premium_Edition
sub r9, rcx
nop
test rax, rax
je 0x140031c41
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140031c41
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140031c20
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r15w
test sil, sil
je 0x140031c95
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.140051010
nop
lea rcx, [rbp - 0x80]
call fcn.1400226c0
nop
jmp 0x14003203e
test r12b, r12b
lea r12, vtable.srl::Exists.0
je 0x14003203e
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.140051010
nop
lea rcx, [rbp - 0x80]
call fcn.1400226c0
nop
jmp 0x14003203e
lea r8, str.Home_Basic_Edition
mov rdx, rbx
mov rcx, rdi
call fcn.140030dc0
test sil, sil
je 0x140031d38
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.140051010
nop
lea rcx, [rbp - 0x80]
call fcn.1400226c0
nop
xor r15d, r15d
jmp 0x14003203e
test r12b, r12b
lea r12, vtable.srl::Exists.0
je 0x140031aca
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.140051010
nop
lea rcx, [rbp - 0x80]
call fcn.1400226c0
nop
xor r15d, r15d
jmp 0x14003203e
mov rcx, rbx
mov rax, rdi
nop word [rax + rax]
cmp word [rax], 0
je 0x140031da0
add rax, 2
sub rcx, 1
jne 0x140031d90
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r8d, 0
cmove rax, r8
je 0x140031e03
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140031df4
mov rax, r14
lea r9, str.Enterprise_Edition
sub r9, rcx
nop
test rax, rax
je 0x140031df1
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140031df1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140031dd0
xor r8d, r8d
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r8w
test sil, sil
je 0x140031e4b
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.140051010
nop
lea rcx, [rbp - 0x80]
call fcn.1400226c0
nop
xor r15d, r15d
jmp 0x14003203e
test r12b, r12b
lea r12, vtable.srl::Exists.0
je 0x140031e93
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.140051010
nop
lea rcx, [rbp - 0x80]
call fcn.1400226c0
nop
xor r15d, r15d
jmp 0x14003203e
test r15b, r15b
je 0x140031aca
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.140051010
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.140051010
nop
lea rcx, [rbp - 0x80]
call fcn.1400226c0
nop
xor r15d, r15d
jmp 0x14003203e
lea r8, str.Business_Edition
mov rdx, rbx
mov rcx, rdi
call fcn.140030dc0
lea r12, vtable.srl::Exists.0
test sil, sil
je 0x140031aca
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.140051010
nop
lea rcx, [rbp - 0x80]
call fcn.1400226c0
nop
xor r15d, r15d
jmp 0x14003203e
mov rcx, rbx
mov rax, rdi
cmp word [rax], 0
je 0x140031f80
add rax, 2
sub rcx, 1
jne 0x140031f70
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r15d, 0
cmove rax, r15
je 0x140031fe0
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140031fd1
mov rax, r14
lea r9, str.Starter_Edition
sub r9, rcx
nop
test rax, rax
je 0x140031fd1
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140031fd1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140031fb0
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r15w
test r12b, r12b
lea r12, vtable.srl::Exists.0
je 0x14003203e
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.140051010
nop
lea rcx, [rbp - 0x80]
call fcn.1400226c0
nop
jmp 0x14003203e
lea r8, str.Cluster_Server_Edition
mov rdx, rbx
mov rcx, rdi
call fcn.140030dc0
xor r15d, r15d
lea r12, vtable.srl::Exists.0
cmp dword [rbp - 0x4c], 5
jne 0x140032dd0
mov eax, dword [rbp - 0x48]
cmp eax, 2
jne 0x1400329b9
lea ecx, [rax + 0x57]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x140032473
mov rcx, rbx
mov rax, rdi
nop dword [rax + rax]
cmp word [rax], 0
je 0x140032080
add rax, 2
sub rcx, 1
jne 0x140032070
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x1400320d8
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x1400320c9
mov rax, r14
lea r9, str.Windows_Server_2003_R2_
sub r9, rcx
test rax, rax
je 0x1400320c9
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x1400320c9
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x1400320a8
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.140051010
nop
lea rcx, [rbp - 0x80]
call fcn.1400226c0
nop
jmp 0x1400326ec
lea r8, str.Datacenter_Edition
jmp 0x140032029
lea r8, str.Datacenter_Edition__core_installation_
jmp 0x140032029
lea r8, str.Enterprise_Edition
jmp 0x140032029
lea r8, str.Enterprise_Edition__core_installation_
jmp 0x140032029
mov rcx, rbx
mov rax, rdi
cmp word [rax], 0
je 0x140032157
add rax, 2
sub rcx, 1
jne 0x140032147
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r15d, 0
cmove rax, r15
je 0x140032037
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x1400321a6
mov rax, r14
mov r9, r13
sub r9, rcx
test rax, rax
je 0x1400321a6
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x1400321a6
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140032185
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r15w
jmp 0x140032037
mov rcx, rbx
mov rax, rdi
cmp word [rax], 0
je 0x1400321d0
add rax, 2
sub rcx, 1
jne 0x1400321c0
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r15d, 0
cmove rax, r15
je 0x140032037
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x1400321a6
mov rax, r14
lea r9, str.Small_Business_Server
sub r9, rcx
test rax, rax
je 0x1400321a6
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x1400321a6
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140032202
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r15w
jmp 0x140032037
mov rcx, rbx
mov rax, rdi
nop dword [rax]
cmp word [rax], 0
je 0x140032250
add rax, 2
sub rcx, 1
jne 0x140032240
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r15d, 0
cmove rax, r15
je 0x140032037
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x1400321a6
mov rax, r14
lea r9, str.Small_Business_Server_Premium_Edition
sub r9, rcx
test rax, rax
je 0x1400321a6
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x1400321a6
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140032286
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r15w
jmp 0x140032037
mov rcx, rbx
mov rax, rdi
nop dword [rax]
cmp word [rax], 0
je 0x1400322e0
add rax, 2
sub rcx, 1
jne 0x1400322d0
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r15d, 0
cmove rax, r15
je 0x140032037
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x1400321a6
mov rax, r14
lea r9, str.Standard_Edition
sub r9, rcx
test rax, rax
je 0x1400321a6
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x1400321a6
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140032316
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r15w
jmp 0x140032037
mov rcx, rbx
mov rax, rdi
nop dword [rax]
cmp word [rax], 0
je 0x140032370
add rax, 2
sub rcx, 1
jne 0x140032360
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r15d, 0
cmove rax, r15
je 0x140032037
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x1400321a6
mov rax, r14
lea r9, str.Standard_Edition__core_installation_
sub r9, rcx
test rax, rax
je 0x1400321a6
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x1400321a6
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x1400323a6
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r15w
jmp 0x140032037
mov rcx, rbx
mov rax, rdi
nop dword [rax]
cmp word [rax], 0
je 0x140032400
add rax, 2
sub rcx, 1
jne 0x1400323f0
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r15d, 0
cmove rax, r15
je 0x140032037
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x1400321a6
mov rax, r14
lea r9, str.Web_Server_Edition
sub r9, rcx
test rax, rax
je 0x1400321a6
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x1400321a6
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140032436
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r15w
jmp 0x140032037
mov ecx, 0x2000
movzx eax, word [rbp + 0xc8]
cmp ax, cx
jne 0x140032531
mov rcx, rbx
mov rax, rdi
nop
cmp word [rax], 0
je 0x1400324a0
add rax, 2
sub rcx, 1
jne 0x140032490
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x1400324f8
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x1400324e9
mov rax, r14
lea r9, str.Windows_Storage_Server_2003
sub r9, rcx
test rax, rax
je 0x1400324e9
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x1400324e9
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x1400324c8
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.140051010
nop
lea rcx, [rbp - 0x80]
call fcn.1400226c0
nop
jmp 0x1400326ec
mov ecx, 0x8000
cmp ax, cx
jne 0x1400325e9
mov rcx, rbx
mov rax, rdi
cmp word [rax], 0
je 0x140032555
add rax, 2
sub rcx, 1
jne 0x140032545
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x1400325b0
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x1400325a1
mov rax, r14
lea r9, str.Windows_Home_Server
sub r9, rcx
nop dword [rax]
test rax, rax
je 0x1400325a1
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x1400325a1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140032580
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.140051010
nop
lea rcx, [rbp - 0x80]
call fcn.1400226c0
nop
jmp 0x1400326ec
cmp byte [rbp + 0xca], 1
jne 0x140032645
cmp word [rsp + 0x50], 9
jne 0x140032645
lea r8, str.Windows_XP_Professional_x64_Edition
mov rdx, rbx
mov rcx, rdi
call fcn.140030dc0
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.140051010
nop
lea rcx, [rbp - 0x80]
call fcn.1400226c0
nop
jmp 0x1400326ec
mov rcx, rbx
mov rax, rdi
nop dword [rax + rax]
cmp word [rax], 0
je 0x140032660
add rax, 2
sub rcx, 1
jne 0x140032650
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x1400326b8
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x1400326a9
mov rax, r14
lea r9, str.Windows_Server_2003_
sub r9, rcx
test rax, rax
je 0x1400326a9
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x1400326a9
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140032688
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.140051010
nop
lea rcx, [rbp - 0x80]
call fcn.1400226c0
nop
cmp byte [rbp + 0xca], 1
je 0x1400329ac
movzx eax, word [rsp + 0x50]
cmp ax, 6
jne 0x14003282d
movzx eax, byte [rbp + 0xc8]
test al, al
jns 0x14003279d
mov rcx, rbx
mov rax, rdi
nop dword [rax]
cmp word [rax], 0
je 0x140032730
add rax, 2
sub rcx, 1
jne 0x140032720
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x1400329ac
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140032961
mov rax, r14
lea r9, str.Datacenter_Edition_for_Itanium_based_Systems
sub r9, rcx
test rax, rax
je 0x140032961
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140032961
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140032760
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r15w
jmp 0x1400329ac
test al, 2
je 0x1400329ac
mov rcx, rbx
mov rax, rdi
nop dword [rax + rax]
cmp word [rax], 0
je 0x1400327c0
add rax, 2
sub rcx, 1
jne 0x1400327b0
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x1400329ac
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140032961
mov rax, r14
sub r13, rcx
nop dword [rax]
test rax, rax
je 0x140032961
movzx r8d, word [rcx + r13]
test r8w, r8w
je 0x140032961
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x1400327f0
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r15w
jmp 0x1400329ac
cmp ax, 9
jne 0x1400328ef
movzx eax, byte [rbp + 0xc8]
test al, al
jns 0x1400328cd
mov rcx, rbx
mov rax, rdi
nop dword [rax]
cmp word [rax], 0
je 0x140032860
add rax, 2
sub rcx, 1
jne 0x140032850
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x1400329ac
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140032961
mov rax, r14
lea r9, str.Datacenter_x64_Edition
sub r9, rcx
test rax, rax
je 0x140032961
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140032961
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140032890
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r15w
jmp 0x1400329ac
mov rdx, rbx
mov rcx, rdi
test al, 2
je 0x1400328e3
lea r8, str.Enterprise_x64_Edition
jmp 0x1400329a7
lea r8, str.Standard_x64_Edition
jmp 0x1400329a7
movzx eax, word [rbp + 0xc8]
bt ax, 0xe
jae 0x140032972
mov rcx, rbx
mov rax, rdi
cmp word [rax], 0
je 0x140032913
add rax, 2
sub rcx, 1
jne 0x140032903
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x1400329ac
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140032961
mov rax, r14
lea r9, str.Compute_Cluster_Edition
sub r9, rcx
nop
test rax, rax
je 0x140032961
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140032961
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140032940
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r15w
jmp 0x1400329ac
test al, al
jns 0x14003297f
lea r8, str.Datacenter_Edition
jmp 0x1400329a1
test al, 2
je 0x14003298c
lea r8, str.Enterprise_Edition
jmp 0x1400329a1
bt ax, 0xa
lea r8, str.Web_Edition
jb 0x1400329a1
lea r8, str.Standard_Edition
mov rcx, rdi
mov rdx, rbx
call fcn.140030dc0
cmp dword [rbp - 0x4c], 5
jne 0x140032dd0
mov eax, dword [rbp - 0x48]
lea rsi, str.Professional
cmp eax, 1
jne 0x140032b54
mov rcx, rbx
mov rax, rdi
nop
cmp word [rax], 0
je 0x1400329e0
add rax, 2
sub rcx, 1
jne 0x1400329d0
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140032a36
mov r8, rbx
sub r8, rax
lea rcx, [rdi + rax*2]
je 0x140032a27
mov rax, r14
lea r9, str.Windows_XP
sub r9, rcx
test rax, rax
je 0x140032a27
movzx edx, word [rcx + r9]
test dx, dx
je 0x140032a27
mov word [rcx], dx
add rcx, 2
dec rax
sub r8, 1
jne 0x140032a08
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.140051010
nop
lea rcx, [rbp - 0x80]
call fcn.1400226c0
nop
mov eax, 0x200
mov rcx, rbx
test word [rbp + 0xc8], ax
mov rax, rdi
je 0x140032ae3
nop
cmp word [rax], 0
je 0x140032a90
add rax, 2
sub rcx, 1
jne 0x140032a80
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140032b47
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140032b38
mov rax, r14
lea r9, str.Home_Edition
sub r9, rcx
test rax, rax
je 0x140032b38
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140032b38
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140032ac0
jmp 0x140032b38
cmp word [rax], 0
je 0x140032af3
add rax, 2
sub rcx, 1
jne 0x140032ae3
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140032b47
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140032b38
mov rax, r14
mov r9, rsi
sub r9, rcx
test rax, rax
je 0x140032b38
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140032b38
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140032b17
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r15w
cmp dword [rbp - 0x4c], 5
jne 0x140032dd0
mov eax, dword [rbp - 0x48]
test eax, eax
jne 0x140032dd0
mov rcx, rbx
mov rax, rdi
cmp word [rax], 0
je 0x140032b72
add rax, 2
sub rcx, 1
jne 0x140032b62
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140032bd0
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140032bc1
mov rax, r14
lea r9, str.Windows_2000
sub r9, rcx
nop word [rax + rax]
test rax, rax
je 0x140032bc1
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140032bc1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140032ba0
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.140051010
nop
lea rcx, [rbp - 0x80]
call fcn.1400226c0
nop
mov rcx, rbx
cmp byte [rbp + 0xca], 1
jne 0x140032c7e
mov rax, rdi
cmp word [rax], 0
je 0x140032c23
add rax, 2
sub rcx, 1
jne 0x140032c13
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140032dd0
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140032dc1
mov rax, r14
sub rsi, rcx
nop dword [rax]
test rax, rax
je 0x140032dc1
movzx r8d, word [rsi + rcx]
test r8w, r8w
je 0x140032dc1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140032c50
jmp 0x140032dc1
movzx eax, byte [rbp + 0xc8]
test al, al
jns 0x140032cfe
mov rax, rdi
nop dword [rax]
cmp word [rax], 0
je 0x140032ca0
add rax, 2
sub rcx, 1
jne 0x140032c90
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140032dd0
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140032dc1
mov rax, r14
lea r9, str.Datacenter_Server
sub r9, rcx
test rax, rax
je 0x140032dc1
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140032dc1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140032cd0
jmp 0x140032dc1
test al, 2
mov rax, rdi
je 0x140032d68
cmp word [rax], 0
je 0x140032d15
add rax, 2
sub rcx, 1
jne 0x140032d05
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140032dd0
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140032dc1
mov rax, r14
lea r9, str.Advanced_Server
sub r9, rcx
test rax, rax
je 0x140032dc1
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140032dc1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140032d45
jmp 0x140032dc1
cmp word [rax], 0
je 0x140032d78
add rax, 2
sub rcx, 1
jne 0x140032d68
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140032dd0
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140032dc1
mov rax, r14
lea r9, str.Server
sub r9, rcx
test rax, rax
je 0x140032dc1
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140032dc1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140032da0
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 0x140032de0
test rax, rax
je 0x140032e10
lea r8, [0x1402cd5b8]
mov rdx, rbx
mov rcx, rdi
call fcn.140030dc0
lea r8, [rbp - 0x3c]
mov rdx, rbx
mov rcx, rdi
call fcn.140030dc0
mov r9d, dword [rbp - 0x44]
lea r8, str.__build__d_
mov edx, 0x50
lea rcx, [rbp + 0xd0]
call fcn.140030e80
lea r8, [rbp + 0xd0]
mov rdx, rbx
mov rcx, rdi
call fcn.140030dc0
cmp dword [rbp - 0x4c], 6
jb 0x140032f2f
movzx eax, word [rsp + 0x50]
cmp ax, 9
jne 0x140032ec0
mov rcx, rbx
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 0x140032f2f
sub rbx, rax
lea rcx, [rdi + rax*2]
je 0x140032f20
lea rdx, str.__64_bit
sub rdx, rcx
nop word [rax + rax]
test r14, r14
je 0x140032f20
movzx eax, word [rcx + rdx]
test ax, ax
je 0x140032f20
mov word [rcx], ax
add rcx, 2
dec r14
sub rbx, 1
jne 0x140032ea0
jmp 0x140032f20
test ax, ax
jne 0x140032f2f
mov rcx, rbx
mov rax, rdi
nop dword [rax + rax]
cmp word [rax], 0
je 0x140032ee0
add rax, 2
sub rcx, 1
jne 0x140032ed0
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140032f2f
sub rbx, rax
lea rcx, [rdi + rax*2]
je 0x140032f20
lea rdx, str.__32_bit
sub rdx, rcx
test r14, r14
je 0x140032f20
movzx eax, word [rdx + rcx]
test ax, ax
je 0x140032f20
mov word [rcx], ax
add rcx, 2
dec r14
sub rbx, 1
jne 0x140032f02
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.140220ab0
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