Function at 0x140003510
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x140]
sub rsp, 0x240
mov rax, qword [0x14000c040]
xor rax, rsp
mov qword [rbp + 0x130], rax
mov rbx, rcx
lea rdi, [rsp + 0x38]
xor eax, eax
lea r14, [0x1400241e0]
mov ecx, 0x30
xor r15d, r15d
rep stosb byte [rdi], al
lea rdi, [rsp + 0x70]
mov ecx, 0x11c
rep stosb byte [rdi], al
mov rcx, r14
mov dword [rsp + 0x70], 0x11c
cmp dword [rcx], 0x1a
je 0x1400035ab
inc eax
add rcx, 0x30
cmp eax, 0x1f
jb 0x140003571
xor eax, eax
mov rcx, qword [rbp + 0x130]
xor rcx, rsp
call fcn.1400054d0
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
cdqe
lea rcx, [rax + rax*2]
add rcx, rcx
cmp byte [r14 + rcx*8 + 0x24], r15b
je 0x140003581
mov eax, r15d
mov rcx, r14
cmp dword [rcx], 0x1a
je 0x14000370e
inc eax
add rcx, 0x30
cmp eax, 0x1f
jb 0x1400035c1
mov rax, r15
lea rcx, [rsp + 0x70]
call rax
mov eax, r15d
mov rcx, r14
cmp dword [rcx], 4
je 0x14000372c
inc eax
add rcx, 0x30
cmp eax, 0x1f
jb 0x1400035e5
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [rbp - 0x80], 2
jne 0x140003581
cmp dword [rsp + 0x74], 4
jbe 0x140003581
mov edi, 0x104
mov qword [rsp + 0x268], rsi
lea r8, str.Microsoft
mov edx, edi
sub r8, rbx
mov rcx, rbx
nop word [rax + rax]
lea rax, [rdx + 0x7ffffefa]
test rax, rax
je 0x140003663
movzx eax, word [r8 + rcx]
test ax, ax
je 0x140003663
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140003640
test rdx, rdx
lea rax, [rcx - 2]
mov esi, 0x7ffffffe
cmovne rax, rcx
cmp dword [rsp + 0x74], 0xa
mov word [rax], r15w
jne 0x1400038ee
cmp dword [rsp + 0x78], r15d
jne case.0x140003c1b.5
cmp byte [rbp + 0x8a], 1
mov rcx, rdi
mov rax, rbx
jne 0x140003786
cmp word [rax], r15w
je 0x1400036b0
add rax, 2
sub rcx, 1
jne 0x1400036a0
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140003c1b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140004fd1
lea r9, str.Windows_10
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140004fd1
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140004fd1
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x1400036e0
jmp 0x140004fd1
cdqe
lea rax, [rax + rax*2]
add rax, rax
cmp byte [r14 + rax*8 + 0x24], r15b
je 0x1400035d5
mov rax, qword [r14 + rax*8 + 0x28]
jmp 0x1400035d8
cdqe
lea rcx, [rax + rax*2]
add rcx, rcx
cmp byte [r14 + rcx*8 + 0x24], r15b
je 0x1400035f9
mov eax, r15d
mov rcx, r14
cmp dword [rcx], 4
je 0x140003765
inc eax
add rcx, 0x30
cmp eax, 0x1f
jb 0x140003746
mov rax, r15
lea rcx, [rsp + 0x38]
call rax
jmp 0x140003604
cdqe
lea rax, [rax + rax*2]
add rax, rax
cmp byte [r14 + rax*8 + 0x24], r15b
je 0x140003756
mov rax, qword [r14 + rax*8 + 0x28]
lea rcx, [rsp + 0x38]
call rax
jmp 0x140003604
cmp dword [rsp + 0x7c], 0x4563
jbe 0x1400037fe
cmp word [rax], r15w
je 0x1400037a0
add rax, 2
sub rcx, 1
jne 0x140003790
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140003c1b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140004fd1
lea r9, str.Windows_Server_20XX
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140004fd1
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140004fd1
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x1400037d0
jmp 0x140004fd1
cmp dword [rsp + 0x7c], 0x3839
jbe 0x140003880
cmp word [rax], r15w
je 0x140003818
add rax, 2
sub rcx, 1
jne 0x140003808
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140003c1b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140004fd1
lea r9, str.Windows_Server_2019
mov rax, rsi
sub r9, rcx
nop dword [rax + rax]
test rax, rax
je 0x140004fd1
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140004fd1
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140003850
jmp 0x140004fd1
cmp word [rax], r15w
je 0x140003890
add rax, 2
sub rcx, 1
jne 0x140003880
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140003c1b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140004fd1
lea r9, str.Windows_Server_2016
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140004fd1
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140004fd1
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x1400038c0
jmp 0x140004fd1
cmp dword [rsp + 0x74], 6
jne 0x1400044a2
cmp dword [rsp + 0x78], r15d
jne 0x1400039e2
cmp byte [rbp + 0x8a], 1
mov rcx, rdi
mov rax, rbx
jne 0x140003976
cmp word [rax], r15w
je 0x140003923
add rax, 2
sub rcx, 1
jne 0x140003913
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140003bc0
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x1400039d3
lea r9, str.Windows_Vista
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x1400039d3
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x1400039d3
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140003953
jmp 0x1400039d3
cmp word [rax], r15w
je 0x140003986
add rax, 2
sub rcx, 1
jne 0x140003976
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140003bc0
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x1400039d3
lea r9, str.Windows_Server_2008
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x1400039d3
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x1400039d3
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x1400039b2
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r15w
cmp dword [rsp + 0x78], 1
jne 0x140003ad0
cmp byte [rbp + 0x8a], 1
mov rcx, rdi
mov rax, rbx
jne 0x140003a63
nop dword [rax]
cmp word [rax], r15w
je 0x140003a10
add rax, 2
sub rcx, 1
jne 0x140003a00
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140003bc0
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140003ac1
lea r9, str.Windows_7
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140003ac1
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140003ac1
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140003a40
jmp 0x140003ac1
cmp word [rax], r15w
je 0x140003a73
add rax, 2
sub rcx, 1
jne 0x140003a63
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140003bc0
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140003ac1
lea r9, str.Windows_Server_2008_R2
mov rax, rsi
sub r9, rcx
nop
test rax, rax
je 0x140003ac1
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140003ac1
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140003aa0
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r15w
cmp dword [rsp + 0x78], 2
jne 0x140003bc0
cmp byte [rbp + 0x8a], 1
mov rcx, rdi
mov rax, rbx
jne 0x140003b53
nop word [rax + rax]
cmp word [rax], r15w
je 0x140003b00
add rax, 2
sub rcx, 1
jne 0x140003af0
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140003bc0
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140003bb1
lea r9, str.Windows_8
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140003bb1
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140003bb1
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140003b30
jmp 0x140003bb1
cmp word [rax], r15w
je 0x140003b63
add rax, 2
sub rcx, 1
jne 0x140003b53
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140003bc0
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140003bb1
lea r9, str.Windows_Server_2012
mov rax, rsi
sub r9, rcx
nop dword [rax + rax]
test rax, rax
je 0x140003bb1
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140003bb1
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140003b90
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r15w
mov ecx, r15d
mov rax, r14
cmp dword [rax], 5
je 0x140003c1d
inc ecx
add rax, 0x30
cmp ecx, 0x1f
jb 0x140003bc6
mov rax, r15
mov edx, dword [rsp + 0x78]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
mov ecx, dword [rsp + 0x74]
xor r8d, r8d
call rax
mov eax, dword [rsp + 0x30]
dec eax
cmp eax, 0x2f
ja case.0x140003c1b.5
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0x52d0]
mov ecx, dword [rdx + rax*4 + 0x5284]
add rcx, rdx
jmp rcx
movsxd rax, ecx
lea rax, [rax + rax*2]
add rax, rax
cmp byte [r14 + rax*8 + 0x24], r15b
je 0x140003bd6
mov rax, qword [r14 + rax*8 + 0x28]
jmp 0x140003bd9
mov rcx, rdi
mov rax, rbx
nop dword [rax + rax]
cmp word [rax], r15w
je 0x140003c50
add rax, 2
sub rcx, 1
jne 0x140003c40
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140003c1b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140004fd1
lea r9, str.Ultimate_Edition
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140004fd1
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140004fd1
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140003c80
jmp 0x140004fd1
mov rcx, rdi
mov rax, rbx
cmp word [rax], r15w
je 0x140003cc4
add rax, 2
sub rcx, 1
jne 0x140003cb4
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140003c1b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140004fd1
lea rax, str.Professional
mov r8, rsi
sub rax, rcx
test r8, r8
je 0x140004fd1
movzx r9d, word [rax + rcx]
test r9w, r9w
je 0x140004fd1
mov word [rcx], r9w
dec r8
add rcx, 2
sub rdx, 1
jne 0x140003cf4
jmp 0x140004fd1
mov rcx, rdi
mov rax, rbx
cmp word [rax], r15w
je 0x140003d38
add rax, 2
sub rcx, 1
jne 0x140003d28
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140003c1b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140004fd1
lea r9, str.Home_Premium_Edition
mov rax, rsi
sub r9, rcx
nop dword [rax + rax]
test rax, rax
je 0x140004fd1
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140004fd1
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140003d70
jmp 0x140004fd1
mov rcx, rdi
mov rax, rbx
cmp word [rax], r15w
je 0x140003db4
add rax, 2
sub rcx, 1
jne 0x140003da4
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140003c1b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140004fd1
lea r9, str.Home_Basic_Edition
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140004fd1
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140004fd1
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140003de4
jmp 0x140004fd1
mov rcx, rdi
mov rax, rbx
cmp word [rax], r15w
je 0x140003e28
add rax, 2
sub rcx, 1
jne 0x140003e18
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140003c1b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140004fd1
lea rax, str.Enterprise_Edition
mov r8, rsi
sub rax, rcx
nop dword [rax + rax]
test r8, r8
je 0x140004fd1
movzx r9d, word [rax + rcx]
test r9w, r9w
je 0x140004fd1
mov word [rcx], r9w
dec r8
add rcx, 2
sub rdx, 1
jne 0x140003e60
jmp 0x140004fd1
mov rcx, rdi
mov rax, rbx
cmp word [rax], r15w
je 0x140003ea4
add rax, 2
sub rcx, 1
jne 0x140003e94
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140003c1b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140004fd1
lea r9, str.Business_Edition
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140004fd1
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140004fd1
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140003ed4
jmp 0x140004fd1
mov rcx, rdi
mov rax, rbx
cmp word [rax], r15w
je 0x140003f18
add rax, 2
sub rcx, 1
jne 0x140003f08
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140003c1b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140004fd1
lea r9, str.Starter_Edition
mov rax, rsi
sub r9, rcx
nop dword [rax + rax]
test rax, rax
je 0x140004fd1
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140004fd1
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140003f50
jmp 0x140004fd1
mov rcx, rdi
mov rax, rbx
cmp word [rax], r15w
je 0x140003f94
add rax, 2
sub rcx, 1
jne 0x140003f84
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140003c1b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140004fd1
lea r9, str.Cluster_Server_Edition
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140004fd1
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140004fd1
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140003fc4
jmp 0x140004fd1
mov rcx, rdi
mov rax, rbx
cmp word [rax], r15w
je 0x140004008
add rax, 2
sub rcx, 1
jne 0x140003ff8
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140003c1b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140004fd1
lea r9, str.Datacenter_Edition
mov rax, rsi
sub r9, rcx
nop dword [rax + rax]
test rax, rax
je 0x140004fd1
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140004fd1
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140004040
jmp 0x140004fd1
mov rcx, rdi
mov rax, rbx
cmp word [rax], r15w
je 0x140004084
add rax, 2
sub rcx, 1
jne 0x140004074
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140003c1b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140004fd1
lea r9, str.Datacenter_Edition__core_installation_
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140004fd1
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140004fd1
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x1400040b4
jmp 0x140004fd1
mov rcx, rdi
mov rax, rbx
cmp word [rax], r15w
je 0x1400040f8
add rax, 2
sub rcx, 1
jne 0x1400040e8
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140003c1b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140004fd1
lea rax, str.Enterprise_Edition
mov r8, rsi
sub rax, rcx
nop dword [rax + rax]
test r8, r8
je 0x140004fd1
movzx r9d, word [rcx + rax]
test r9w, r9w
je 0x140004fd1
mov word [rcx], r9w
dec r8
add rcx, 2
sub rdx, 1
jne 0x140004130
jmp 0x140004fd1
mov rcx, rdi
mov rax, rbx
cmp word [rax], r15w
je 0x140004174
add rax, 2
sub rcx, 1
jne 0x140004164
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140003c1b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140004fd1
lea r9, str.Enterprise_Edition__core_installation_
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140004fd1
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140004fd1
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x1400041a4
jmp 0x140004fd1
mov rcx, rdi
mov rax, rbx
cmp word [rax], r15w
je 0x1400041e8
add rax, 2
sub rcx, 1
jne 0x1400041d8
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140003c1b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140004fd1
lea r9, str.Enterprise_Edition_for_Itanium_based_Systems
mov rax, rsi
sub r9, rcx
nop dword [rax + rax]
test rax, rax
je 0x140004fd1
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140004fd1
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140004220
jmp 0x140004fd1
mov rcx, rdi
mov rax, rbx
cmp word [rax], r15w
je 0x140004264
add rax, 2
sub rcx, 1
jne 0x140004254
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140003c1b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140004fd1
lea r9, str.Small_Business_Server
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140004fd1
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140004fd1
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140004294
jmp 0x140004fd1
mov rcx, rdi
mov rax, rbx
cmp word [rax], r15w
je 0x1400042d8
add rax, 2
sub rcx, 1
jne 0x1400042c8
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140003c1b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140004fd1
lea r9, str.Small_Business_Server_Premium_Edition
mov rax, rsi
sub r9, rcx
nop dword [rax + rax]
test rax, rax
je 0x140004fd1
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140004fd1
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140004310
jmp 0x140004fd1
mov rcx, rdi
mov rax, rbx
cmp word [rax], r15w
je 0x140004354
add rax, 2
sub rcx, 1
jne 0x140004344
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140003c1b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140004fd1
lea r9, str.Standard_Edition
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140004fd1
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140004fd1
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140004384
jmp 0x140004fd1
mov rcx, rdi
mov rax, rbx
cmp word [rax], r15w
je 0x1400043c8
add rax, 2
sub rcx, 1
jne 0x1400043b8
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140003c1b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140004fd1
lea r9, str.Standard_Edition__core_installation_
mov rax, rsi
sub r9, rcx
nop dword [rax + rax]
test rax, rax
je 0x140004fd1
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140004fd1
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140004400
jmp 0x140004fd1
mov rcx, rdi
mov rax, rbx
cmp word [rax], r15w
je 0x140004444
add rax, 2
sub rcx, 1
jne 0x140004434
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140003c1b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140004fd1
lea r9, str.Web_Server_Edition
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140004fd1
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140004fd1
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140004474
jmp 0x140004fd1
cmp dword [rsp + 0x74], 5
jne case.0x140003c1b.5
mov eax, dword [rsp + 0x78]
cmp eax, 2
jne 0x140004c20
lea ecx, [rax + 0x57]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x14000453e
mov rcx, rdi
mov rax, rbx
nop dword [rax]
cmp word [rax], r15w
je 0x1400044e0
add rax, 2
sub rcx, 1
jne 0x1400044d0
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140004738
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140004729
lea r9, str.Windows_Server_2003_R2_
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140004729
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140004729
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140004510
jmp 0x140004729
mov eax, 0x2000
test word [rbp + 0x88], ax
je 0x1400045c0
mov rcx, rdi
mov rax, rbx
cmp word [rax], r15w
je 0x140004562
add rax, 2
sub rcx, 1
jne 0x140004552
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140004738
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140004729
lea r9, str.Windows_Storage_Server_2003
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140004729
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140004729
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140004592
jmp 0x140004729
mov eax, 0x8000
test word [rbp + 0x88], ax
je 0x140004642
mov rcx, rdi
mov rax, rbx
cmp word [rax], r15w
je 0x1400045e4
add rax, 2
sub rcx, 1
jne 0x1400045d4
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140004738
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140004729
lea r9, str.Windows_Home_Server
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140004729
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140004729
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140004614
jmp 0x140004729
cmp byte [rbp + 0x8a], 1
jne 0x1400046c7
cmp word [rsp + 0x38], 9
jne 0x1400046c7
mov rcx, rdi
mov rax, rbx
nop dword [rax]
cmp word [rax], r15w
je 0x140004670
add rax, 2
sub rcx, 1
jne 0x140004660
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140003c1b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140004729
lea r9, str.Windows_XP_Professional_x64_Edition
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140004729
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140004729
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x1400046a0
jmp 0x140004729
mov rcx, rdi
mov rax, rbx
nop dword [rax]
cmp word [rax], r15w
je 0x1400046e0
add rax, 2
sub rcx, 1
jne 0x1400046d0
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140004738
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140004729
lea r9, str.Windows_Server_2003_
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140004729
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140004729
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140004708
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r15w
cmp byte [rbp + 0x8a], 1
je case.0x140003c1b.5
cmp word [rsp + 0x38], 6
jne 0x14000484e
movzx eax, byte [rbp + 0x88]
test al, al
jns 0x1400047d0
mov rcx, rdi
mov rax, rbx
cmp word [rax], r15w
je 0x140004772
add rax, 2
sub rcx, 1
jne 0x140004762
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140003c1b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140004fd1
lea r9, str.Datacenter_Edition_for_Itanium_based_Systems
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140004fd1
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140004fd1
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x1400047a2
jmp 0x140004fd1
test al, 2
je case.0x140003c1b.5
mov rcx, rdi
mov rax, rbx
nop
cmp word [rax], r15w
je 0x1400047f0
add rax, 2
sub rcx, 1
jne 0x1400047e0
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140003c1b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140004fd1
lea r9, str.Enterprise_Edition_for_Itanium_based_Systems
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140004fd1
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140004fd1
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140004820
jmp 0x140004fd1
cmp word [rsp + 0x38], 9
mov rcx, rdi
jne 0x1400049c1
movzx eax, byte [rbp + 0x88]
test al, al
jns 0x1400048de
mov rax, rbx
nop dword [rax + rax]
cmp word [rax], r15w
je 0x140004880
add rax, 2
sub rcx, 1
jne 0x140004870
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140003c1b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140004fd1
lea r9, str.Datacenter_x64_Edition
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140004fd1
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140004fd1
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x1400048b0
jmp 0x140004fd1
test al, 2
mov rax, rbx
je 0x140004953
cmp word [rax], r15w
je 0x1400048f5
add rax, 2
sub rcx, 1
jne 0x1400048e5
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140003c1b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140004fd1
lea r9, str.Enterprise_x64_Edition
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140004fd1
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140004fd1
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140004925
jmp 0x140004fd1
cmp word [rax], r15w
je 0x140004963
add rax, 2
sub rcx, 1
jne 0x140004953
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140003c1b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140004fd1
lea r9, str.Standard_x64_Edition
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140004fd1
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140004fd1
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140004993
jmp 0x140004fd1
mov eax, 0x4000
test word [rbp + 0x88], ax
je 0x140004a40
mov rax, rbx
cmp word [rax], r15w
je 0x1400049e2
add rax, 2
sub rcx, 1
jne 0x1400049d2
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140003c1b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140004fd1
lea r9, str.Compute_Cluster_Edition
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140004fd1
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140004fd1
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140004a12
jmp 0x140004fd1
movzx eax, word [rbp + 0x88]
test al, al
jns 0x140004abe
mov rax, rbx
nop
cmp word [rax], r15w
je 0x140004a60
add rax, 2
sub rcx, 1
jne 0x140004a50
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140003c1b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140004fd1
lea r9, str.Datacenter_Edition
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140004fd1
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140004fd1
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140004a90
jmp 0x140004fd1
test al, 2
je 0x140004b33
mov rax, rbx
cmp word [rax], r15w
je 0x140004ad5
add rax, 2
sub rcx, 1
jne 0x140004ac5
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140003c1b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140004fd1
lea rax, str.Enterprise_Edition
mov r8, rsi
sub rax, rcx
test r8, r8
je 0x140004fd1
movzx r9d, word [rax + rcx]
test r9w, r9w
je 0x140004fd1
mov word [rcx], r9w
dec r8
add rcx, 2
sub rdx, 1
jne 0x140004b05
jmp 0x140004fd1
mov eax, 0x400
test word [rbp + 0x88], ax
mov rax, rbx
je 0x140004bb2
cmp word [rax], r15w
je 0x140004b54
add rax, 2
sub rcx, 1
jne 0x140004b44
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140003c1b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140004fd1
lea r9, str.Web_Edition
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140004fd1
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140004fd1
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140004b84
jmp 0x140004fd1
cmp word [rax], r15w
je 0x140004bc2
add rax, 2
sub rcx, 1
jne 0x140004bb2
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140003c1b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140004fd1
lea r9, str.Standard_Edition
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140004fd1
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140004fd1
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140004bf2
jmp 0x140004fd1
cmp eax, 1
jne 0x140004d8e
mov rcx, rdi
mov rax, rbx
nop
cmp word [rax], r15w
je 0x140004c40
add rax, 2
sub rcx, 1
jne 0x140004c30
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140004c98
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140004c89
lea r9, str.Windows_XP
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140004c89
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140004c89
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140004c68
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r15w
mov eax, 0x200
mov rcx, rdi
test word [rbp + 0x88], ax
mov rax, rbx
je 0x140004d20
nop dword [rax]
cmp word [rax], r15w
je 0x140004cc0
add rax, 2
sub rcx, 1
jne 0x140004cb0
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140003c1b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140004fd1
lea r9, str.Home_Edition
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140004fd1
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140004fd1
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140004cf0
jmp 0x140004fd1
cmp word [rax], r15w
je 0x140004d30
add rax, 2
sub rcx, 1
jne 0x140004d20
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140003c1b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140004fd1
lea rax, str.Professional
mov r8, rsi
sub rax, rcx
test r8, r8
je 0x140004fd1
movzx r9d, word [rax + rcx]
test r9w, r9w
je 0x140004fd1
mov word [rcx], r9w
dec r8
add rcx, 2
sub rdx, 1
jne 0x140004d60
jmp 0x140004fd1
test eax, eax
jne case.0x140003c1b.5
mov rcx, rdi
mov rax, rbx
nop dword [rax]
cmp word [rax], r15w
je 0x140004db0
add rax, 2
sub rcx, 1
jne 0x140004da0
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140004e08
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140004df9
lea r9, str.Windows_2000
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140004df9
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140004df9
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140004dd8
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r15w
cmp byte [rbp + 0x8a], 1
mov rcx, rdi
jne 0x140004e85
mov rax, rbx
cmp word [rax], r15w
je 0x140004e27
add rax, 2
sub rcx, 1
jne 0x140004e17
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140003c1b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140004fd1
lea rax, str.Professional
mov r8, rsi
sub rax, rcx
test r8, r8
je 0x140004fd1
movzx r9d, word [rcx + rax]
test r9w, r9w
je 0x140004fd1
mov word [rcx], r9w
dec r8
add rcx, 2
sub rdx, 1
jne 0x140004e57
jmp 0x140004fd1
movzx eax, byte [rbp + 0x88]
test al, al
jns 0x140004f01
mov rax, rbx
cmp word [rax], r15w
je 0x140004ea3
add rax, 2
sub rcx, 1
jne 0x140004e93
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140003c1b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140004fd1
lea r9, str.Datacenter_Server
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140004fd1
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140004fd1
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140004ed3
jmp 0x140004fd1
test al, 2
mov rax, rbx
je 0x140004f77
cmp word [rax], r15w
je 0x140004f18
add rax, 2
sub rcx, 1
jne 0x140004f08
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140003c1b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140004fd1
lea r9, str.Advanced_Server
mov rax, rsi
sub r9, rcx
nop dword [rax + rax]
test rax, rax
je 0x140004fd1
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140004fd1
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140004f50
jmp 0x140004fd1
cmp word [rax], r15w
je 0x140004f87
add rax, 2
sub rcx, 1
jne 0x140004f77
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je case.0x140003c1b.5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140004fd1
lea r9, str.Server
mov rax, rsi
sub r9, rcx
nop
test rax, rax
je 0x140004fd1
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140004fd1
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140004fb0
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r15w
mov rcx, rdi
lea rax, [rbp - 0x7c]
cmp word [rax], r15w
je 0x140004ff7
add rax, 2
sub rcx, 1
jne 0x140004fe7
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x1400050f5
test rax, rax
je 0x1400050f5
mov rcx, rdi
mov rax, rbx
nop dword [rax]
cmp word [rax], r15w
je 0x140005030
add rax, 2
sub rcx, 1
jne 0x140005020
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140005088
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140005079
lea r9, [0x140008ae8]
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140005079
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140005079
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140005058
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r15w
mov rcx, rdi
mov rax, rbx
nop
cmp word [rax], r15w
je 0x1400050a0
add rax, 2
sub rcx, 1
jne 0x140005090
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x1400050f5
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x1400050e6
lea r9, [rbp - 0x7c]
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x1400050e6
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x1400050e6
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x1400050c5
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r15w
mov r9d, dword [rsp + 0x7c]
lea r8, str.__build__u_
mov edx, 0x50
lea rcx, [rbp + 0x90]
call fcn.1400030e0
mov rcx, rdi
mov rax, rbx
cmp word [rax], r15w
je 0x140005128
add rax, 2
sub rcx, 1
jne 0x140005118
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x140005180
mov rdx, rdi
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140005171
lea r9, [rbp + 0x90]
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140005171
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140005171
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140005150
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r15w
cmp dword [rsp + 0x74], 6
jb 0x14000526f
movzx eax, word [rsp + 0x38]
cmp ax, 9
jne 0x140005200
mov rcx, rdi
mov rax, rbx
nop dword [rax]
cmp word [rax], r15w
je 0x1400051b0
add rax, 2
sub rcx, 1
jne 0x1400051a0
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x14000526f
lea rcx, [rbx + rax*2]
sub rdi, rax
je 0x140005260
lea rdx, str._64_bit
sub rdx, rcx
nop word [rax + rax]
test rsi, rsi
je 0x140005260
movzx eax, word [rdx + rcx]
test ax, ax
je 0x140005260
mov word [rcx], ax
dec rsi
add rcx, 2
sub rdi, 1
jne 0x1400051e0
jmp 0x140005260
test ax, ax
jne 0x14000526f
mov rcx, rdi
mov rax, rbx
nop dword [rax + rax]
cmp word [rax], r15w
je 0x140005220
add rax, 2
sub rcx, 1
jne 0x140005210
mov rax, rdi
sub rax, rcx
test rcx, rcx
cmove rax, r15
je 0x14000526f
lea rcx, [rbx + rax*2]
sub rdi, rax
je 0x140005260
lea rdx, str._32_bit
sub rdx, rcx
test rsi, rsi
je 0x140005260
movzx eax, word [rdx + rcx]
test ax, ax
je 0x140005260
mov word [rcx], ax
dec rsi
add rcx, 2
sub rdi, 1
jne 0x140005242
test rdi, rdi
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r15w
mov rsi, qword [rsp + 0x268]
mov eax, 1
jmp 0x140003583