Function at 0x140031320
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.140225130
mov dword [rbp - 0x50], 0x11c
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x14003330f
cmp dword [rbp - 0x4c], 6
jb 0x1400313d4
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x44]
call fcn.14002e4a0
test al, al
je 0x1400313d4
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x44]
cmp dword [rbp - 0x4c], ecx
jne 0x1400313c7
cmp dword [rbp - 0x48], eax
je 0x1400313d4
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 0x1400313ff
call rax
jmp 0x140031405
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [rbp - 0x40], 2
jne 0x14003330f
cmp dword [rbp - 0x4c], 4
jbe 0x14003330f
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 0x140031453
movzx eax, word [r8 + rcx]
test ax, ax
je 0x140031453
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140031430
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 0x1400314ed
mov edx, 0x11660
lea rcx, [rbp - 0x80]
call fcn.1400227a0
nop
mov qword [rsp + 0x30], r13
mov byte [rsp + 0x38], 1
xor r9d, r9d
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x80]
call fcn.1400503f0
nop
lea rax, vtable.srl::Value.0
mov qword [rsp + 0x30], rax
lea rcx, [rbp - 0x80]
call fcn.140022930
mov qword [rsp + 0x30], r13
mov byte [rsp + 0x38], 1
mov edx, 0x116c0
lea rcx, [rbp - 0x80]
call fcn.1400227a0
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400503f0
nop
lea rcx, [rbp - 0x80]
call fcn.140022930
nop
jmp 0x14003155b
cmp ax, 9
jne 0x14003155e
mov qword [rsp + 0x30], r13
mov byte [rsp + 0x38], 1
mov edx, 0x11660
lea rcx, [rbp - 0x80]
call fcn.1400227a0
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400503f0
nop
lea rcx, [rbp - 0x80]
call fcn.140022930
nop
mov qword [rsp + 0x30], r13
mov byte [rsp + 0x38], 1
mov edx, 0x116c1
lea rcx, [rbp - 0x80]
call fcn.1400227a0
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400503f0
nop
lea rcx, [rbp - 0x80]
call fcn.140022930
nop
xor r8d, r8d
xor sil, sil
xor r12b, r12b
xor r15b, r15b
mov r14d, 0x7ffffffe
cmp dword [rbp - 0x4c], 0xa
jne 0x1400316d7
mov rcx, rbx
mov rax, rdi
cmp dword [rbp - 0x44], 0x55f0
jb 0x140031634
nop word [rax + rax]
cmp word [rax], 0
je 0x1400315a0
add rax, 2
sub rcx, 1
jne 0x140031590
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r8
je 0x1400315fb
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x1400315ec
mov rax, r14
lea r9, str.Windows_11
sub r9, rcx
test rax, rax
je 0x1400315e9
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x1400315e9
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x1400315c8
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.1400227a0
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400503f0
nop
lea rcx, [rbp - 0x80]
call fcn.140022930
nop
jmp 0x1400316d7
cmp word [rax], 0
je 0x140031644
add rax, 2
sub rcx, 1
jne 0x140031634
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r8
je 0x1400316a3
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140031694
mov rax, r14
lea r9, str.Windows_10
sub r9, rcx
nop dword [rax]
test rax, rax
je 0x140031691
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140031691
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140031670
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.1400227a0
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400503f0
nop
lea rcx, [rbp - 0x80]
call fcn.140022930
nop
lea r13, str.Enterprise_Edition_for_Itanium_based_Systems
cmp dword [rbp - 0x4c], 6
jne case.0x140031d7c.5
cmp dword [rbp - 0x48], 0
jne 0x14003185f
mov rcx, rbx
mov rax, rdi
cmp byte [rbp + 0xca], 1
jne 0x1400317b6
cmp word [rax], 0
je 0x140031715
add rax, 2
sub rcx, 1
jne 0x140031705
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r10d, 0
cmove rax, r10
je 0x140031773
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140031764
mov rax, r14
lea r9, str.Windows_Vista
sub r9, rcx
test rax, rax
je 0x140031764
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140031764
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140031743
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.1400227a0
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400503f0
nop
lea rcx, [rbp - 0x80]
call fcn.140022930
nop
mov sil, 1
jmp 0x14003185f
cmp word [rax], 0
je 0x1400317c6
add rax, 2
sub rcx, 1
jne 0x1400317b6
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r10d, 0
cmove rax, r10
je 0x140031824
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140031815
mov rax, r14
lea r9, str.Windows_Server_2008
sub r9, rcx
test rax, rax
je 0x140031815
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140031815
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x1400317f4
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.1400227a0
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400503f0
nop
lea rcx, [rbp - 0x80]
call fcn.140022930
nop
cmp dword [rbp - 0x48], 1
jne 0x1400319e2
mov rcx, rbx
mov rax, rdi
cmp byte [rbp + 0xca], 1
jne 0x140031936
nop dword [rax]
cmp word [rax], 0
je 0x140031890
add rax, 2
sub rcx, 1
jne 0x140031880
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r8d, 0
cmove rax, r8
je 0x1400318f3
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x1400318e4
mov rax, r14
lea r9, str.Windows_7
sub r9, rcx
nop
test rax, rax
je 0x1400318e1
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x1400318e1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x1400318c0
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.1400227a0
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400503f0
nop
lea rcx, [rbp - 0x80]
call fcn.140022930
nop
mov r12b, 1
jmp 0x1400319e2
cmp word [rax], 0
je 0x140031946
add rax, 2
sub rcx, 1
jne 0x140031936
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r8d, 0
cmove rax, r8
je 0x1400319a7
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140031998
mov rax, r14
lea r9, str.Windows_Server_2008_R2
sub r9, rcx
test rax, rax
je 0x140031995
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140031995
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140031974
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.1400227a0
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400503f0
nop
lea rcx, [rbp - 0x80]
call fcn.140022930
nop
cmp dword [rbp - 0x48], 2
jne 0x140031b9e
mov rcx, rbx
mov rax, rdi
cmp byte [rbp + 0xca], 1
jne 0x140031af0
nop
cmp word [rax], 0
je 0x140031a10
add rax, 2
sub rcx, 1
jne 0x140031a00
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r8d, 0
cmove rax, r8
je 0x140031a73
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140031a64
mov rax, r14
lea r9, str.Windows_8
sub r9, rcx
nop
test rax, rax
je 0x140031a61
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140031a61
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140031a40
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.1400227a0
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400503f0
nop
lea rcx, [rbp - 0x80]
call fcn.140022930
nop
mov qword [rsp + 0x30], r15
mov byte [rsp + 0x38], 1
mov edx, 0x11745
lea rcx, [rbp - 0x80]
call fcn.1400227a0
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400503f0
nop
lea rcx, [rbp - 0x80]
call fcn.140022930
nop
mov r15b, 1
jmp 0x140031b9e
cmp word [rax], 0
je 0x140031b00
add rax, 2
sub rcx, 1
jne 0x140031af0
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r8d, 0
cmove rax, r8
je 0x140031b63
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140031b54
mov rax, r14
lea r9, str.Windows_Server_2012
sub r9, rcx
nop
test rax, rax
je 0x140031b51
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140031b51
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140031b30
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.1400227a0
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400503f0
nop
lea rcx, [rbp - 0x80]
call fcn.140022930
nop
cmp dword [rbp - 0x48], 3
jne 0x140031d1f
mov rcx, rbx
mov rax, rdi
cmp byte [rbp + 0xca], 1
jne 0x140031c73
nop dword [rax + rax]
cmp word [rax], 0
je 0x140031bd0
add rax, 2
sub rcx, 1
jne 0x140031bc0
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r8d, 0
cmove rax, r8
je 0x140031c33
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140031c24
mov rax, r14
lea r9, str.Windows_8.1
sub r9, rcx
nop
test rax, rax
je 0x140031c21
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140031c21
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140031c00
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.1400227a0
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400503f0
nop
lea rcx, [rbp - 0x80]
call fcn.140022930
nop
jmp 0x140031d1f
cmp word [rax], 0
je 0x140031c83
add rax, 2
sub rcx, 1
jne 0x140031c73
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r8d, 0
cmove rax, r8
je 0x140031ce4
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140031cd5
mov rax, r14
lea r9, str.Windows_Server_2012_R2
sub r9, rcx
test rax, rax
je 0x140031cd2
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140031cd2
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140031cb1
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.1400227a0
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400503f0
nop
lea rcx, [rbp - 0x80]
call fcn.140022930
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.0x140031d7c.5
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0x33390]
mov ecx, dword [rdx + rax*4 + 0x33344]
add rcx, rdx
jmp rcx
mov rcx, rbx
mov rax, rdi
cmp word [rax], 0
je 0x140031d94
add rax, 2
sub rcx, 1
jne 0x140031d84
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r8d, 0
cmove rax, r8
je 0x140031df5
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140031de6
mov rax, r14
lea r9, str.Professional_Edition
sub r9, rcx
test rax, rax
je 0x140031de3
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140031de3
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140031dc2
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 0x140031e3d
mov qword [rsp + 0x30], r12
mov byte [rsp + 0x38], 1
mov edx, 0x11738
lea rcx, [rbp - 0x80]
call fcn.1400227a0
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400503f0
nop
lea rcx, [rbp - 0x80]
call fcn.140022930
nop
xor r15d, r15d
jmp 0x14003241e
test r15b, r15b
je 0x140031eaa
mov qword [rsp + 0x30], r12
mov byte [rsp + 0x38], 1
mov edx, 0x11746
lea rcx, [rbp - 0x80]
call fcn.1400227a0
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400503f0
nop
lea rcx, [rbp - 0x80]
call fcn.140022930
nop
mov qword [rsp + 0x30], r12
mov byte [rsp + 0x38], 0
mov edx, 0x11745
lea rcx, [rbp - 0x80]
call fcn.1400227a0
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400503f0
nop
lea rcx, [rbp - 0x80]
call fcn.140022930
nop
xor r15d, r15d
jmp 0x14003241e
mov rcx, rbx
mov rax, rdi
cmp word [rax], 0
je 0x140031ec8
add rax, 2
sub rcx, 1
jne 0x140031eb8
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r15d, 0
cmove rax, r15
je 0x140031f26
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140031f17
mov rax, r14
lea r9, str.Ultimate_Edition
sub r9, rcx
test rax, rax
je 0x140031f17
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140031f17
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140031ef6
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r15w
test sil, sil
je 0x140031f6b
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.1400227a0
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400503f0
nop
lea rcx, [rbp - 0x80]
call fcn.140022930
nop
jmp 0x14003241e
test r12b, r12b
lea r12, vtable.srl::Exists.0
je 0x14003241e
mov qword [rsp + 0x30], r12
mov byte [rsp + 0x38], 1
mov edx, 0x11735
lea rcx, [rbp - 0x80]
call fcn.1400227a0
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400503f0
nop
lea rcx, [rbp - 0x80]
call fcn.140022930
nop
jmp 0x14003241e
mov rcx, rbx
mov rax, rdi
nop word [rax + rax]
cmp word [rax], 0
je 0x140031fd0
add rax, 2
sub rcx, 1
jne 0x140031fc0
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r15d, 0
cmove rax, r15
je 0x140032030
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140032021
mov rax, r14
lea r9, str.Home_Premium_Edition
sub r9, rcx
nop
test rax, rax
je 0x140032021
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140032021
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140032000
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r15w
test sil, sil
je 0x140032075
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.1400227a0
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400503f0
nop
lea rcx, [rbp - 0x80]
call fcn.140022930
nop
jmp 0x14003241e
test r12b, r12b
lea r12, vtable.srl::Exists.0
je 0x14003241e
mov qword [rsp + 0x30], r12
mov byte [rsp + 0x38], 1
mov edx, 0x11739
lea rcx, [rbp - 0x80]
call fcn.1400227a0
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400503f0
nop
lea rcx, [rbp - 0x80]
call fcn.140022930
nop
jmp 0x14003241e
lea r8, str.Home_Basic_Edition
mov rdx, rbx
mov rcx, rdi
call fcn.1400311a0
test sil, sil
je 0x140032118
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.1400227a0
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400503f0
nop
lea rcx, [rbp - 0x80]
call fcn.140022930
nop
xor r15d, r15d
jmp 0x14003241e
test r12b, r12b
lea r12, vtable.srl::Exists.0
je 0x140031eaa
mov qword [rsp + 0x30], r12
mov byte [rsp + 0x38], 1
mov edx, 0x1173a
lea rcx, [rbp - 0x80]
call fcn.1400227a0
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400503f0
nop
lea rcx, [rbp - 0x80]
call fcn.140022930
nop
xor r15d, r15d
jmp 0x14003241e
mov rcx, rbx
mov rax, rdi
nop word [rax + rax]
cmp word [rax], 0
je 0x140032180
add rax, 2
sub rcx, 1
jne 0x140032170
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r8d, 0
cmove rax, r8
je 0x1400321e3
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x1400321d4
mov rax, r14
lea r9, str.Enterprise_Edition
sub r9, rcx
nop
test rax, rax
je 0x1400321d1
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x1400321d1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x1400321b0
xor r8d, r8d
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r8w
test sil, sil
je 0x14003222b
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.1400227a0
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400503f0
nop
lea rcx, [rbp - 0x80]
call fcn.140022930
nop
xor r15d, r15d
jmp 0x14003241e
test r12b, r12b
lea r12, vtable.srl::Exists.0
je 0x140032273
mov qword [rsp + 0x30], r12
mov byte [rsp + 0x38], 1
mov edx, 0x11737
lea rcx, [rbp - 0x80]
call fcn.1400227a0
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400503f0
nop
lea rcx, [rbp - 0x80]
call fcn.140022930
nop
xor r15d, r15d
jmp 0x14003241e
test r15b, r15b
je 0x140031eaa
mov qword [rsp + 0x30], r12
mov byte [rsp + 0x38], 1
mov edx, 0x11747
lea rcx, [rbp - 0x80]
call fcn.1400227a0
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400503f0
nop
lea rcx, [rbp - 0x80]
call fcn.140022930
nop
mov qword [rsp + 0x30], r12
mov byte [rsp + 0x38], 0
mov edx, 0x11745
lea rcx, [rbp - 0x80]
call fcn.1400227a0
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400503f0
nop
lea rcx, [rbp - 0x80]
call fcn.140022930
nop
xor r15d, r15d
jmp 0x14003241e
lea r8, str.Business_Edition
mov rdx, rbx
mov rcx, rdi
call fcn.1400311a0
lea r12, vtable.srl::Exists.0
test sil, sil
je 0x140031eaa
mov qword [rsp + 0x30], r12
mov byte [rsp + 0x38], 1
mov edx, 0x11667
lea rcx, [rbp - 0x80]
call fcn.1400227a0
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400503f0
nop
lea rcx, [rbp - 0x80]
call fcn.140022930
nop
xor r15d, r15d
jmp 0x14003241e
mov rcx, rbx
mov rax, rdi
cmp word [rax], 0
je 0x140032360
add rax, 2
sub rcx, 1
jne 0x140032350
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r15d, 0
cmove rax, r15
je 0x1400323c0
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x1400323b1
mov rax, r14
lea r9, str.Starter_Edition
sub r9, rcx
nop
test rax, rax
je 0x1400323b1
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x1400323b1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140032390
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r15w
test r12b, r12b
lea r12, vtable.srl::Exists.0
je 0x14003241e
mov qword [rsp + 0x30], r12
mov byte [rsp + 0x38], 1
mov edx, 0x1173b
lea rcx, [rbp - 0x80]
call fcn.1400227a0
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400503f0
nop
lea rcx, [rbp - 0x80]
call fcn.140022930
nop
jmp 0x14003241e
lea r8, str.Cluster_Server_Edition
mov rdx, rbx
mov rcx, rdi
call fcn.1400311a0
xor r15d, r15d
lea r12, vtable.srl::Exists.0
cmp dword [rbp - 0x4c], 5
jne 0x1400331b0
mov eax, dword [rbp - 0x48]
cmp eax, 2
jne 0x140032d99
lea ecx, [rax + 0x57]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x140032853
mov rcx, rbx
mov rax, rdi
nop dword [rax + rax]
cmp word [rax], 0
je 0x140032460
add rax, 2
sub rcx, 1
jne 0x140032450
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x1400324b8
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x1400324a9
mov rax, r14
lea r9, str.Windows_Server_2003_R2_
sub r9, rcx
test rax, rax
je 0x1400324a9
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x1400324a9
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140032488
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.1400227a0
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400503f0
nop
lea rcx, [rbp - 0x80]
call fcn.140022930
nop
jmp 0x140032acc
lea r8, str.Datacenter_Edition
jmp 0x140032409
lea r8, str.Datacenter_Edition__core_installation_
jmp 0x140032409
lea r8, str.Enterprise_Edition
jmp 0x140032409
lea r8, str.Enterprise_Edition__core_installation_
jmp 0x140032409
mov rcx, rbx
mov rax, rdi
cmp word [rax], 0
je 0x140032537
add rax, 2
sub rcx, 1
jne 0x140032527
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r15d, 0
cmove rax, r15
je 0x140032417
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140032586
mov rax, r14
mov r9, r13
sub r9, rcx
test rax, rax
je 0x140032586
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140032586
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140032565
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r15w
jmp 0x140032417
mov rcx, rbx
mov rax, rdi
cmp word [rax], 0
je 0x1400325b0
add rax, 2
sub rcx, 1
jne 0x1400325a0
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r15d, 0
cmove rax, r15
je 0x140032417
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140032586
mov rax, r14
lea r9, str.Small_Business_Server
sub r9, rcx
test rax, rax
je 0x140032586
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140032586
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x1400325e2
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r15w
jmp 0x140032417
mov rcx, rbx
mov rax, rdi
nop dword [rax]
cmp word [rax], 0
je 0x140032630
add rax, 2
sub rcx, 1
jne 0x140032620
mov rax, rbx
sub rax, rcx
test rcx, rcx
mov r15d, 0
cmove rax, r15
je 0x140032417
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140032586
mov rax, r14
lea r9, str.Small_Business_Server_Premium_Edition
sub r9, rcx
test rax, rax
je 0x140032586
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140032586
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140032666
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r15w
jmp 0x140032417
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 0x140032417
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140032586
mov rax, r14
lea r9, str.Standard_Edition
sub r9, rcx
test rax, rax
je 0x140032586
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140032586
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 0x140032417
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 0x140032417
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140032586
mov rax, r14
lea r9, str.Standard_Edition__core_installation_
sub r9, rcx
test rax, rax
je 0x140032586
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140032586
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 0x140032417
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 0x140032417
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140032586
mov rax, r14
lea r9, str.Web_Server_Edition
sub r9, rcx
test rax, rax
je 0x140032586
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140032586
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 0x140032417
mov ecx, 0x2000
movzx eax, word [rbp + 0xc8]
cmp ax, cx
jne 0x140032911
mov rcx, rbx
mov rax, rdi
nop
cmp word [rax], 0
je 0x140032880
add rax, 2
sub rcx, 1
jne 0x140032870
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x1400328d8
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x1400328c9
mov rax, r14
lea r9, str.Windows_Storage_Server_2003
sub r9, rcx
test rax, rax
je 0x1400328c9
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x1400328c9
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x1400328a8
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.1400227a0
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400503f0
nop
lea rcx, [rbp - 0x80]
call fcn.140022930
nop
jmp 0x140032acc
mov ecx, 0x8000
cmp ax, cx
jne 0x1400329c9
mov rcx, rbx
mov rax, rdi
cmp word [rax], 0
je 0x140032935
add rax, 2
sub rcx, 1
jne 0x140032925
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140032990
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140032981
mov rax, r14
lea r9, str.Windows_Home_Server
sub r9, rcx
nop dword [rax]
test rax, rax
je 0x140032981
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140032981
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140032960
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.1400227a0
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400503f0
nop
lea rcx, [rbp - 0x80]
call fcn.140022930
nop
jmp 0x140032acc
cmp byte [rbp + 0xca], 1
jne 0x140032a25
cmp word [rsp + 0x50], 9
jne 0x140032a25
lea r8, str.Windows_XP_Professional_x64_Edition
mov rdx, rbx
mov rcx, rdi
call fcn.1400311a0
mov qword [rsp + 0x30], r12
mov byte [rsp + 0x38], 1
mov edx, 0x1166c
lea rcx, [rbp - 0x80]
call fcn.1400227a0
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400503f0
nop
lea rcx, [rbp - 0x80]
call fcn.140022930
nop
jmp 0x140032acc
mov rcx, rbx
mov rax, rdi
nop dword [rax + rax]
cmp word [rax], 0
je 0x140032a40
add rax, 2
sub rcx, 1
jne 0x140032a30
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140032a98
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140032a89
mov rax, r14
lea r9, str.Windows_Server_2003_
sub r9, rcx
test rax, rax
je 0x140032a89
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140032a89
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140032a68
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.1400227a0
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400503f0
nop
lea rcx, [rbp - 0x80]
call fcn.140022930
nop
cmp byte [rbp + 0xca], 1
je 0x140032d8c
movzx eax, word [rsp + 0x50]
cmp ax, 6
jne 0x140032c0d
movzx eax, byte [rbp + 0xc8]
test al, al
jns 0x140032b7d
mov rcx, rbx
mov rax, rdi
nop dword [rax]
cmp word [rax], 0
je 0x140032b10
add rax, 2
sub rcx, 1
jne 0x140032b00
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140032d8c
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140032d41
mov rax, r14
lea r9, str.Datacenter_Edition_for_Itanium_based_Systems
sub r9, rcx
test rax, rax
je 0x140032d41
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140032d41
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140032b40
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r15w
jmp 0x140032d8c
test al, 2
je 0x140032d8c
mov rcx, rbx
mov rax, rdi
nop dword [rax + 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 0x140032d8c
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140032d41
mov rax, r14
sub r13, rcx
nop dword [rax]
test rax, rax
je 0x140032d41
movzx r8d, word [rcx + r13]
test r8w, r8w
je 0x140032d41
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 0x140032d8c
cmp ax, 9
jne 0x140032ccf
movzx eax, byte [rbp + 0xc8]
test al, al
jns 0x140032cad
mov rcx, rbx
mov rax, rdi
nop dword [rax]
cmp word [rax], 0
je 0x140032c40
add rax, 2
sub rcx, 1
jne 0x140032c30
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140032d8c
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140032d41
mov rax, r14
lea r9, str.Datacenter_x64_Edition
sub r9, rcx
test rax, rax
je 0x140032d41
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140032d41
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140032c70
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r15w
jmp 0x140032d8c
mov rdx, rbx
mov rcx, rdi
test al, 2
je 0x140032cc3
lea r8, str.Enterprise_x64_Edition
jmp 0x140032d87
lea r8, str.Standard_x64_Edition
jmp 0x140032d87
movzx eax, word [rbp + 0xc8]
bt ax, 0xe
jae 0x140032d52
mov rcx, rbx
mov rax, rdi
cmp word [rax], 0
je 0x140032cf3
add rax, 2
sub rcx, 1
jne 0x140032ce3
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140032d8c
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140032d41
mov rax, r14
lea r9, str.Compute_Cluster_Edition
sub r9, rcx
nop
test rax, rax
je 0x140032d41
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140032d41
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140032d20
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r15w
jmp 0x140032d8c
test al, al
jns 0x140032d5f
lea r8, str.Datacenter_Edition
jmp 0x140032d81
test al, 2
je 0x140032d6c
lea r8, str.Enterprise_Edition
jmp 0x140032d81
bt ax, 0xa
lea r8, str.Web_Edition
jb 0x140032d81
lea r8, str.Standard_Edition
mov rcx, rdi
mov rdx, rbx
call fcn.1400311a0
cmp dword [rbp - 0x4c], 5
jne 0x1400331b0
mov eax, dword [rbp - 0x48]
lea rsi, str.Professional
cmp eax, 1
jne 0x140032f34
mov rcx, rbx
mov rax, rdi
nop
cmp word [rax], 0
je 0x140032dc0
add rax, 2
sub rcx, 1
jne 0x140032db0
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140032e16
mov r8, rbx
sub r8, rax
lea rcx, [rdi + rax*2]
je 0x140032e07
mov rax, r14
lea r9, str.Windows_XP
sub r9, rcx
test rax, rax
je 0x140032e07
movzx edx, word [rcx + r9]
test dx, dx
je 0x140032e07
mov word [rcx], dx
add rcx, 2
dec rax
sub r8, 1
jne 0x140032de8
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.1400227a0
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400503f0
nop
lea rcx, [rbp - 0x80]
call fcn.140022930
nop
mov eax, 0x200
mov rcx, rbx
test word [rbp + 0xc8], ax
mov rax, rdi
je 0x140032ec3
nop
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 0x140032f27
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140032f18
mov rax, r14
lea r9, str.Home_Edition
sub r9, rcx
test rax, rax
je 0x140032f18
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140032f18
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140032ea0
jmp 0x140032f18
cmp word [rax], 0
je 0x140032ed3
add rax, 2
sub rcx, 1
jne 0x140032ec3
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140032f27
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140032f18
mov rax, r14
mov r9, rsi
sub r9, rcx
test rax, rax
je 0x140032f18
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140032f18
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140032ef7
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r15w
cmp dword [rbp - 0x4c], 5
jne 0x1400331b0
mov eax, dword [rbp - 0x48]
test eax, eax
jne 0x1400331b0
mov rcx, rbx
mov rax, rdi
cmp word [rax], 0
je 0x140032f52
add rax, 2
sub rcx, 1
jne 0x140032f42
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140032fb0
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x140032fa1
mov rax, r14
lea r9, str.Windows_2000
sub r9, rcx
nop word [rax + rax]
test rax, rax
je 0x140032fa1
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140032fa1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140032f80
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.1400227a0
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.1400503f0
nop
lea rcx, [rbp - 0x80]
call fcn.140022930
nop
mov rcx, rbx
cmp byte [rbp + 0xca], 1
jne 0x14003305e
mov rax, rdi
cmp word [rax], 0
je 0x140033003
add rax, 2
sub rcx, 1
jne 0x140032ff3
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x1400331b0
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x1400331a1
mov rax, r14
sub rsi, rcx
nop dword [rax]
test rax, rax
je 0x1400331a1
movzx r8d, word [rsi + rcx]
test r8w, r8w
je 0x1400331a1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140033030
jmp 0x1400331a1
movzx eax, byte [rbp + 0xc8]
test al, al
jns 0x1400330de
mov rax, rdi
nop dword [rax]
cmp word [rax], 0
je 0x140033080
add rax, 2
sub rcx, 1
jne 0x140033070
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x1400331b0
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x1400331a1
mov rax, r14
lea r9, str.Datacenter_Server
sub r9, rcx
test rax, rax
je 0x1400331a1
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x1400331a1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x1400330b0
jmp 0x1400331a1
test al, 2
mov rax, rdi
je 0x140033148
cmp word [rax], 0
je 0x1400330f5
add rax, 2
sub rcx, 1
jne 0x1400330e5
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x1400331b0
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x1400331a1
mov rax, r14
lea r9, str.Advanced_Server
sub r9, rcx
test rax, rax
je 0x1400331a1
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x1400331a1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140033125
jmp 0x1400331a1
cmp word [rax], 0
je 0x140033158
add rax, 2
sub rcx, 1
jne 0x140033148
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x1400331b0
mov rdx, rbx
sub rdx, rax
lea rcx, [rdi + rax*2]
je 0x1400331a1
mov rax, r14
lea r9, str.Server
sub r9, rcx
test rax, rax
je 0x1400331a1
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x1400331a1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140033180
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 0x1400331c0
test rax, rax
je 0x1400331f0
lea r8, [0x1402c7918]
mov rdx, rbx
mov rcx, rdi
call fcn.1400311a0
lea r8, [rbp - 0x3c]
mov rdx, rbx
mov rcx, rdi
call fcn.1400311a0
mov r9d, dword [rbp - 0x44]
lea r8, str.__build__d_
mov edx, 0x50
lea rcx, [rbp + 0xd0]
call fcn.140031260
lea r8, [rbp + 0xd0]
mov rdx, rbx
mov rcx, rdi
call fcn.1400311a0
cmp dword [rbp - 0x4c], 6
jb 0x14003330f
movzx eax, word [rsp + 0x50]
cmp ax, 9
jne 0x1400332a0
mov rcx, rbx
mov rax, rdi
nop dword [rax]
cmp word [rax], 0
je 0x140033250
add rax, 2
sub rcx, 1
jne 0x140033240
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x14003330f
sub rbx, rax
lea rcx, [rdi + rax*2]
je 0x140033300
lea rdx, str.__64_bit
sub rdx, rcx
nop word [rax + rax]
test r14, r14
je 0x140033300
movzx eax, word [rcx + rdx]
test ax, ax
je 0x140033300
mov word [rcx], ax
add rcx, 2
dec r14
sub rbx, 1
jne 0x140033280
jmp 0x140033300
test ax, ax
jne 0x14003330f
mov rcx, rbx
mov rax, rdi
nop dword [rax + rax]
cmp word [rax], 0
je 0x1400332c0
add rax, 2
sub rcx, 1
jne 0x1400332b0
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x14003330f
sub rbx, rax
lea rcx, [rdi + rax*2]
je 0x140033300
lea rdx, str.__32_bit
sub rdx, rcx
test r14, r14
je 0x140033300
movzx eax, word [rdx + rcx]
test ax, ax
je 0x140033300
mov word [rcx], ax
add rcx, 2
dec r14
sub rbx, 1
jne 0x1400332e2
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.1402202b0
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