Function at 0x1402b1510
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x240
movaps xmmword [rsp + 0x230], xmm6
mov rsi, rcx
mov rax, qword [0x140363040]
xor rax, rsp
mov qword [rsp + 0x228], rax
mov qword [rcx + 0x38], rdx
lea rbx, [rsp + 0xf4]
xor edi, edi
mov r8d, 0x118
mov rcx, rbx
xor edx, edx
call fcn.140189d00
mov dword [rbx - 4], 0x11c
mov byte [rbx + 0x116], 1
xor ecx, ecx
mov edx, 0x80
mov r8b, 1
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
lea rcx, [rsp + 0xf0]
mov edx, 0x80
mov r8, rax
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
sete byte [rsi + 0x4c]
mov dword [rsp + 0xec], 0
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rax, [rsp + 0xe0]
mov qword [rax], r15
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov rcx, 0xffffffff80000002
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1402b19cf
movaps xmm6, xmmword [0x1402dffe0]
lea rbx, [rsp + 0xf0]
movaps xmmword [rbx + 0x20], xmm6
movaps xmmword [rbx + 0x10], xmm6
movaps xmmword [rbx], xmm6
mov dword [rbx + 0x30], 0xaaaaaaaa
lea rax, str.kernel32.dll
lea rdx, [rsp + 0xd0]
mov qword [rdx], rax
mov qword [rdx + 8], ntohl
lea r14, [rsp + 0x210]
mov rcx, r14
call fcn.140106dd0
mov rcx, r14
mov rdx, rbx
call fcn.1402b1170
mov ebx, eax
mov rcx, r14
call fcn.140106f00
test bl, bl
je 0x1402b197b
mov qword [rsp + 0xc0], r15
movaps xmmword [rsp + 0xb0], xmm6
mov ebx, dword [rsp + 0x10c]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x210], xmm0
mov qword [rsp + 0x220], 0
test bl, 1
jne 0x1402b1781
test bl, 4
jne 0x1402b17a0
test bl, 2
jne 0x1402b17fd
test bl, 8
jne 0x1402b17bf
test bl, 0x20
jne 0x1402b17de
movsx r9, byte [rsp + 0x227]
test r9, r9
jns 0x1402b16b6
mov r9, qword [rsp + 0x218]
test r9, r9
jne 0x1402b19a2
mov rax, qword [rsp + 0x220]
mov qword [rsp + 0xc0], rax
movaps xmm0, xmmword [rsp + 0x210]
movaps xmmword [rsp + 0xb0], xmm0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x210], xmm0
mov qword [rsp + 0x220], 0
cmp byte [rsp + 0x227], 0
jns 0x1402b170d
mov rcx, qword [rsp + 0x210]
call fcn.14014fcd8
lea rbx, [rsp + 0x210]
mov qword [rbx + 0x10], r15
movaps xmmword [rbx], xmm6
mov eax, dword [rsp + 0x110]
not eax
test eax, 0x40004
lea rax, [0x14030ce50]
lea rdx, str.Unknown
cmove rdx, rax
mov rcx, rbx
call fcn.1400e6030
test dil, dil
jne 0x1402b181c
mov eax, dword [rsp + 0xf8]
mov ecx, eax
shr ecx, 0x10
mov dword [rsi + 0x40], ecx
and eax, 0xffff
mov dword [rsi + 0x44], eax
mov r8d, dword [rsp + 0xfc]
mov eax, r8d
shr eax, 0x10
mov dword [rsi + 0x48], eax
and r8d, 0xffff
jmp 0x1402b1824
lea rdx, str.Debug_
lea rcx, [rsp + 0x210]
mov r8d, 6
call fcn.1400f3dd0
jmp 0x1402b167c
lea rdx, str.Patched_
lea rcx, [rsp + 0x210]
mov r8d, 8
call fcn.1400f3dd0
jmp 0x1402b1685
lea rdx, str.Private_
lea rcx, [rsp + 0x210]
mov r8d, 8
call fcn.1400f3dd0
jmp 0x1402b1697
lea rdx, str.Special_
lea rcx, [rsp + 0x210]
mov r8d, 8
call fcn.1400f3dd0
jmp 0x1402b16a0
lea rdx, str.Prerelease_
lea rcx, [rsp + 0x210]
mov r8d, ntohl
call fcn.1400f3dd0
jmp 0x1402b168e
mov r8d, dword [rsp + 0xec]
lea rdx, [0x14033e4f6]
lea rcx, [rsp + 0x98]
call fcn.1400feef0
lea r15, [rsi + 0x20]
cmp byte [rsi + 0x37], 0
jns 0x1402b184a
mov rcx, qword [r15]
call fcn.14014fcd8
mov rax, qword [rsp + 0xa8]
mov qword [r15 + 0x10], rax
movups xmm0, xmmword [rsp + 0x98]
movups xmmword [r15], xmm0
movsx r14, byte [rsp + 0xc7]
test r14, r14
jns 0x1402b1878
mov r14, qword [rsp + 0xb8]
test r14, r14
jne 0x1402b1a0b
lea rax, [0x1402eaaca]
cmp byte [rsi + 0x37], 0
jns 0x1402b1891
mov r15, qword [r15]
mov ecx, dword [rsi + 0x48]
mov r9d, dword [rsi + 0x40]
mov edx, dword [rsi + 0x44]
cmp byte [rsp + 0x227], 0
jns 0x1402b18ad
mov rbx, qword [rsp + 0x210]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], edx
lea rdx, str._s__u._u._u._s_s
lea rcx, [rsp + 0x98]
mov r8, rbx
call fcn.1400feef0
lea rdi, [rsi + 8]
cmp byte [rsi + 0x1f], 0
jns 0x1402b18e8
mov rcx, qword [rdi]
call fcn.14014fcd8
mov rax, qword [rsp + 0xa8]
mov qword [rdi + 0x10], rax
xor eax, eax
movups xmm0, xmmword [rsp + 0x98]
movups xmmword [rdi], xmm0
mov byte [rsp + 0xaf], al
mov byte [rsp + 0x98], al
test r14, r14
je 0x1402b194d
cmp byte [rsp + 0x97], 0
jns 0x1402b192b
mov rcx, qword [rsp + 0x80]
call fcn.14014fcd8
cmp byte [rsp + 0x77], 0
jns 0x1402b193c
mov rcx, qword [rsp + 0x60]
call fcn.14014fcd8
cmp byte [rsp + 0x5f], 0
jns 0x1402b194d
mov rcx, qword [rsp + 0x48]
call fcn.14014fcd8
cmp byte [rsp + 0x227], 0
jns 0x1402b1964
mov rcx, qword [rsp + 0x210]
call fcn.14014fcd8
cmp byte [rsp + 0xc7], 0
jns 0x1402b197b
mov rcx, qword [rsp + 0xb0]
call fcn.14014fcd8
mov rcx, qword [rsp + 0x228]
xor rcx, rsp
call fcn.140151210
movaps xmm6, xmmword [rsp + 0x230]
add rsp, 0x240
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
dec r9
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0xb0]
lea rdx, [rsp + 0x210]
xor r8d, r8d
call fcn.1400f4090
jmp 0x1402b16f6
mov rbx, qword [rsp + 0xe0]
lea r8, [rsi + 0x40]
lea rdx, str.CurrentMajorVersionNumber
mov rcx, rbx
call fcn.1402b1bd0
test al, al
jne 0x1402b1ab3
xor edi, edi
test rbx, rbx
je 0x1402b15dd
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1402b15dd
lea rdx, [0x1402ecaac]
lea rdi, [rsp + 0x48]
mov rcx, rdi
call fcn.1400e6030
lea rdx, [rsp + 0xb0]
movsx r8, byte [rdx + 0x17]
test r8, r8
cmovs r8, qword [rdx + 8]
cmovs rdx, qword [rdx]
mov rcx, rdi
call fcn.1400f3dd0
movups xmm0, xmmword [rax]
lea rcx, [rsp + 0x60]
movaps xmmword [rcx], xmm0
mov rdx, qword [rax + 0x10]
mov qword [rcx + 0x10], rdx
xor edi, edi
mov qword [rax + 0x10], rdi
xorps xmm6, xmm6
movups xmmword [rax], xmm6
lea rdx, [0x1402ec44c]
mov r8d, 1
call fcn.1400f3dd0
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x80], xmm0
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x90], rcx
mov qword [rax + 0x10], rdi
movups xmmword [rax], xmm6
cmp byte [rsp + 0x97], 0
js 0x1402b1aa6
lea rax, [rsp + 0x80]
jmp 0x1402b1888
mov rax, qword [rsp + 0x80]
jmp 0x1402b1888
lea r8, [rsi + 0x44]
mov rcx, qword [rsp + 0xe0]
lea rdx, str.CurrentMinorVersionNumber
call fcn.1402b1bd0
test al, al
je 0x1402b19f2
mov rcx, qword [rsp + 0xe0]
mov eax, 0xaaaaaaaa
lea rdx, [rsp + 0x210]
mov dword [rdx + 7], eax
mov qword [rdx], r15
lea r9, [rsp + 0xb0]
mov dword [r9], eax
lea rax, [rsp + 0x98]
mov dword [rax], 0xa
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea rdx, str.CurrentBuildNumber
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1402b19f2
cmp dword [rsp + 0xb0], 1
jne 0x1402b19f2
mov eax, dword [rsp + 0x98]
mov byte [rsp + rax + 0x210], 0
lea rdi, [rsp + 0x80]
mov dword [rdi], 0xaaaaaaaa
lea r14, [rsp + 0xf0]
lea rdx, [rsp + 0x210]
mov rcx, r14
call fcn.1400e6030
mov rcx, r14
mov rdx, rdi
call fcn.1400c9c40
mov edi, eax
cmp byte [r14 + 0x17], 0
jns 0x1402b1b8d
mov rcx, qword [rsp + 0xf0]
call fcn.14014fcd8
test dil, dil
je 0x1402b19f2
mov eax, dword [rsp + 0x80]
mov dword [rsi + 0x48], eax
mov rcx, qword [rsp + 0xe0]
lea rdx, [0x1403068fa]
lea r8, [rsp + 0xec]
call fcn.1402b1bd0
mov edi, eax
jmp 0x1402b19f4