Function at 0x14011984c
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x250
movaps xmmword [rsp + 0x240], xmm6
mov rsi, rcx
mov rax, qword [0x1401c6b58]
xor rax, rsp
mov qword [rsp + 0x238], rax
movabs r15, 0xaaaaaaaaaaaaaaaa
mov qword [rcx + 0x38], rdx
lea rbx, [rsp + 0x114]
xor edi, edi
mov r8d, 0x118
mov rcx, rbx
xor edx, edx
call fcn.14014b870
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 + 0x110]
mov edx, 0x80
mov r8, rax
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
sete byte [rsi + 0x4c]
mov dword [rsp + 0xcc], 0
lea rax, [rsp + 0xc0]
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
jne 0x140119a6c
mov qword [rsp + 0xe0], r15
lea rax, [0x1401a1bd0]
mov qword [rsp + 0xd0], rax
mov rcx, qword [rsp + 0xc0]
mov qword [rsp + 0xd8], rcx
mov byte [rsp + 0xe0], 0
lea r8, [rsi + 0x40]
lea rdx, str.CurrentMajorVersionNumber
call fcn.140119ed1
test al, al
je 0x140119a5d
lea r8, [rsi + 0x44]
mov rcx, qword [rsp + 0xc0]
lea rdx, str.CurrentMinorVersionNumber
call fcn.140119ed1
test al, al
je 0x140119a5d
mov rcx, qword [rsp + 0xc0]
mov eax, 0xaaaaaaaa
lea rdx, [rsp + 0xf0]
mov dword [rdx + 7], eax
mov qword [rdx], r15
lea r9, [rsp + 0x98]
mov dword [r9], eax
lea rax, [rsp + 0x80]
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 0x140119a5d
cmp dword [rsp + 0x98], 1
jne 0x140119a5d
mov eax, dword [rsp + 0x80]
mov byte [rsp + rax + 0xf0], 0
lea rdi, [rsp + 0x60]
mov dword [rdi], 0xaaaaaaaa
lea r14, [rsp + 0x110]
lea rdx, [rsp + 0xf0]
mov rcx, r14
call fcn.140002ab4
mov rcx, r14
mov rdx, rdi
call fcn.14009aeb0
mov ebx, eax
test byte [r14], 1
je 0x140119a32
mov rcx, qword [rsp + 0x120]
call fcn.140148278
test bl, bl
je 0x140119a5d
mov eax, dword [rsp + 0x60]
mov dword [rsi + 0x48], eax
mov rcx, qword [rsp + 0xc0]
lea rdx, [0x14018ceba]
lea r8, [rsp + 0xcc]
call fcn.140119ed1
mov edi, eax
jmp 0x140119a5f
xor edi, edi
lea rcx, [rsp + 0xd0]
call fcn.140119f48
movaps xmm6, xmmword [section..rdata]
lea rbx, [rsp + 0x110]
movaps xmmword [rbx + 0x20], xmm6
movaps xmmword [rbx + 0x10], xmm6
movaps xmmword [rbx], xmm6
mov dword [rbx + 0x30], 0xaaaaaaaa
lea rax, [0x1401a1b00]
lea rdx, [rsp + 0xb0]
mov qword [rdx], rax
mov qword [rdx + 8], 0xc
lea r14, [rsp + 0xd0]
mov rcx, r14
call fcn.14005b380
mov rcx, r14
mov rdx, rbx
call fcn.1401194d8
mov ebx, eax
mov rcx, r14
call fcn.14005b430
test bl, bl
je 0x140119eaa
mov qword [rsp + 0x100], r15
movaps xmmword [rsp + 0xf0], xmm6
mov ebx, dword [rsp + 0x12c]
xorps xmm0, xmm0
movaps xmmword [rsp + 0xd0], xmm0
mov qword [rsp + 0xe0], 0
test bl, 1
je 0x140119b21
lea rdx, str.Debug_
lea rcx, [rsp + 0xd0]
mov r8d, 6
call fcn.14002d62e
test bl, 4
je 0x140119b40
lea rdx, str.Patched_
lea rcx, [rsp + 0xd0]
mov r8d, 8
call fcn.14002d62e
test bl, 2
je 0x140119b5f
lea rdx, str.Prerelease_
lea rcx, [rsp + 0xd0]
mov r8d, 0xb
call fcn.14002d62e
test bl, 8
je 0x140119b7e
lea rdx, str.Private_
lea rcx, [rsp + 0xd0]
mov r8d, 8
call fcn.14002d62e
test bl, 0x20
je 0x140119b9d
lea rdx, str.Special_
lea rcx, [rsp + 0xd0]
mov r8d, 8
call fcn.14002d62e
movzx r9d, byte [rsp + 0xd0]
test r9b, 1
jne 0x140119bb7
cmp r9b, 2
jb 0x140119c03
shr r9d, 1
jmp 0x140119bc4
mov r9, qword [rsp + 0xd8]
test r9, r9
je 0x140119c03
dec r9
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0xf0]
lea rbx, [rsp + 0xd0]
mov rdx, rbx
xor r8d, r8d
call fcn.14002d888
test byte [rbx], 1
je 0x140119c23
mov rcx, qword [rsp + 0xe0]
call fcn.140148278
jmp 0x140119c23
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x100], rax
movaps xmm0, xmmword [rsp + 0xd0]
movaps xmmword [rsp + 0xf0], xmm0
lea rcx, [rsp + 0xd0]
mov qword [rcx + 0x10], r15
movaps xmmword [rcx], xmm6
mov eax, dword [rsp + 0x130]
not eax
test eax, 0x40004
lea rax, str.Windows_NT
lea rdx, str.Unknown
cmove rdx, rax
call fcn.140002ab4
test dil, dil
je 0x140119c66
mov r8d, dword [rsp + 0xcc]
jmp 0x140119c93
mov eax, dword [rsp + 0x118]
mov ecx, eax
shr ecx, 0x10
mov dword [rsi + 0x40], ecx
mov ecx, 0xffff
and eax, ecx
mov dword [rsi + 0x44], eax
mov r8d, dword [rsp + 0x11c]
mov eax, r8d
shr eax, 0x10
mov dword [rsi + 0x48], eax
and r8d, ecx
lea rdx, [0x140187b0c]
lea rcx, [rsp + 0x98]
call fcn.14004a340
lea r14, [rsi + 0x20]
test byte [rsi + 0x20], 1
je 0x140119cba
mov rcx, qword [rsi + 0x30]
call fcn.140148278
mov rax, qword [rsp + 0xa8]
mov qword [r14 + 0x10], rax
movups xmm0, xmmword [rsp + 0x98]
movups xmmword [r14], xmm0
movzx ebx, byte [rsp + 0xf0]
test bl, 1
je 0x140119ce9
mov rbx, qword [rsp + 0xf8]
jmp 0x140119ceb
shr ebx, 1
test rbx, rbx
je 0x140119d25
lea rdx, [0x140185edb]
lea rdi, [rsp + 0x48]
mov rcx, rdi
call fcn.140002ab4
movzx r8d, byte [rsp + 0xf0]
test r8b, 1
je 0x140119d2e
mov r8, qword [rsp + 0xf8]
mov rdx, qword [rsp + 0x100]
jmp 0x140119d39
lea rax, [0x14018591e]
jmp 0x140119dac
shr r8d, 1
lea rdx, [rsp + 0xf1]
mov rcx, rdi
call fcn.14002d62e
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, [0x1401859e4]
mov r8d, 1
call fcn.14002d62e
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
test byte [rsp + 0x80], 1
jne 0x140119da4
lea rax, [rsp + 0x81]
jmp 0x140119dac
mov rax, qword [rsp + 0x90]
test byte [r14], 1
jne 0x140119db8
lea rcx, [rsi + 0x21]
jmp 0x140119dbc
mov rcx, qword [rsi + 0x30]
mov edx, dword [rsi + 0x48]
mov r9d, dword [rsi + 0x40]
mov r10d, dword [rsi + 0x44]
test byte [rsp + 0xd0], 1
je 0x140119ddb
mov r8, qword [rsp + 0xe0]
jmp 0x140119de3
lea r8, [rsp + 0xd1]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], r10d
lea rdx, str._s__u._u._u._s_s
lea rcx, [rsp + 0x98]
call fcn.14004a340
lea rdi, [rsi + 8]
test byte [rsi + 8], 1
je 0x140119e1d
mov rcx, qword [rsi + 0x18]
call fcn.140148278
mov rax, qword [rsp + 0xa8]
mov qword [rdi + 0x10], rax
movups xmm0, xmmword [rsp + 0x98]
movups xmmword [rdi], xmm0
mov word [rsp + 0x98], 0
test rbx, rbx
je 0x140119e7c
test byte [rsp + 0x80], 1
je 0x140119e5a
mov rcx, qword [rsp + 0x90]
call fcn.140148278
test byte [rsp + 0x60], 1
je 0x140119e6b
mov rcx, qword [rsp + 0x70]
call fcn.140148278
test byte [rsp + 0x48], 1
je 0x140119e7c
mov rcx, qword [rsp + 0x58]
call fcn.140148278
test byte [rsp + 0xd0], 1
je 0x140119e93
mov rcx, qword [rsp + 0xe0]
call fcn.140148278
test byte [rsp + 0xf0], 1
je 0x140119eaa
mov rcx, qword [rsp + 0x100]
call fcn.140148278
mov rcx, qword [rsp + 0x238]
xor rcx, rsp
call fcn.140148650
movaps xmm6, xmmword [rsp + 0x240]
add rsp, 0x250
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret