Function at 0x140133830
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x238
movaps xmmword [rsp + 0x220], xmm6
mov rsi, rcx
mov rax, qword [0x1401fdbb8]
xor rax, rsp
mov qword [rsp + 0x218], rax
mov qword [rcx + 0x38], rdx
lea rcx, [rsp + 0xe4]
xor edi, edi
mov r8d, 0x118
xor edx, edx
call fcn.1401772e0
mov dword [rsp + 0xe0], 0x11c
mov byte [rsp + 0x1fa], 1
xor ecx, ecx
mov edx, 0x80
mov r8b, 1
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
lea rcx, [rsp + 0xe0]
mov edx, 0x80
mov r8, rax
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
sete byte [rsi + 0x4c]
movabs r13, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xd8], r13
lea rax, [rsp + 0xd8]
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]
mov r14d, 0
test eax, eax
jne 0x140133b5c
mov rbx, qword [rsp + 0xd8]
mov dword [rsp + 0xe0], 0xaaaaaaaa
mov dword [rsp + 0x200], 0xaaaaaaaa
mov dword [rsp + 0xb0], 4
lea r15, [rsp + 0xb0]
mov qword [rsp + 0x28], r15
lea r14, [rsp + 0x200]
mov qword [rsp + 0x20], r14
lea rdx, str.CurrentMajorVersionNumber
xor edi, edi
lea r9, [rsp + 0xe0]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140133b41
cmp dword [rsp + 0xe0], 4
jne 0x140133b41
mov eax, dword [rsp + 0x200]
mov dword [rsi + 0x40], eax
mov rcx, qword [rsp + 0xd8]
mov dword [rsp + 0xe0], 0xaaaaaaaa
mov dword [rsp + 0x200], 0xaaaaaaaa
mov dword [rsp + 0xb0], 4
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r14
lea rdx, str.CurrentMinorVersionNumber
xor edi, edi
lea r9, [rsp + 0xe0]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140133b4b
cmp dword [rsp + 0xe0], 4
jne 0x140133b4b
mov eax, dword [rsp + 0x200]
mov dword [rsi + 0x44], eax
mov rcx, qword [rsp + 0xd8]
mov qword [rsp + 0x200], r13
mov dword [rsp + 0x207], 0xaaaaaaaa
mov dword [rsp + 0xb0], 0xaaaaaaaa
mov dword [rsp + 0x98], 0xa
lea rax, [rsp + 0x98]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea rdx, str.CurrentBuildNumber
xor edi, edi
lea r14, [rsp + 0xb0]
xor r8d, r8d
mov r9, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140133b41
cmp dword [rsp + 0xb0], 1
jne 0x140133b41
mov eax, dword [rsp + 0x98]
mov byte [rsp + rax + 0x200], 0
mov dword [rsp + 0x80], 0xaaaaaaaa
lea r12, [rsp + 0xe0]
lea r15, [rsp + 0x200]
mov rcx, r12
mov rdx, r15
call fcn.140002480
lea rdx, [rsp + 0x80]
mov rcx, r12
call fcn.1400a4f80
mov ebp, eax
test byte [rsp + 0xe0], 1
je 0x140133ac5
mov rcx, qword [rsp + 0xf0]
call fcn.140173cf0
test bpl, bpl
je 0x140133b41
mov eax, dword [rsp + 0x80]
mov dword [rsi + 0x48], eax
mov rcx, qword [rsp + 0xd8]
mov dword [rsp + 0xe0], 0xaaaaaaaa
mov dword [rsp + 0x200], 0xaaaaaaaa
mov dword [rsp + 0xb0], 4
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
lea rdx, [0x1401bfffa]
xor edi, edi
lea r9, [rsp + 0xe0]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [rsp + 0xe0]
xor ecx, 4
or ecx, eax
sete r14b
jne 0x140133b4e
mov edi, dword [rsp + 0x200]
test rbx, rbx
jne 0x140133b53
jmp 0x140133b5c
xor r14d, r14d
test rbx, rbx
jne 0x140133b53
jmp 0x140133b5c
xor r14d, r14d
test rbx, rbx
je 0x140133b5c
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movaps xmm6, xmmword [section..rdata]
movaps xmmword [rsp + 0x100], xmm6
movaps xmmword [rsp + 0xf0], xmm6
movaps xmmword [rsp + 0xe0], xmm6
mov dword [rsp + 0x110], 0xaaaaaaaa
lea rax, [0x1401d4f10]
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xd0], 0xc
lea rbx, [rsp + 0x200]
lea rdx, [rsp + 0xc8]
mov rcx, rbx
call fcn.140065300
lea rdx, [rsp + 0xe0]
mov rcx, rbx
call fcn.140133420
mov ebp, eax
mov rcx, rbx
call fcn.1400653b0
test bpl, bpl
je 0x140134333
mov qword [rsp + 0xc0], r13
movaps xmmword [rsp + 0xb0], xmm6
mov ebx, dword [rsp + 0xfc]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x200], xmm0
mov qword [rsp + 0x210], 0
test bl, 1
jne 0x140133c36
xor eax, eax
test bl, 4
jne 0x140133c89
test bl, 2
jne 0x140133cff
test bl, 8
jne 0x140133d97
test bl, 0x20
je 0x14013401f
jmp 0x140133f2f
lea rax, [rsp + 0x201]
lea rcx, [rsp + 0x207]
lea rdx, str.Debug_
cmp rax, rdx
seta r8b
cmp rcx, rdx
setbe cl
or cl, r8b
je 0x14013438d
mov word [rax + 4], 0x2c67
mov dword [rax], 0x75626544
mov byte [rsp + 0x200], 0xc
mov byte [rsp + 0x207], 0
mov eax, 6
test bl, 4
je 0x140133c16
lea rcx, [rsp + rax]
add rcx, 0x201
lea rdx, [rsp + rax]
add rdx, 0x209
lea r8, str.Patched_
cmp rcx, r8
seta cl
cmp rdx, r8
setbe dl
or dl, cl
je 0x14013438d
movabs rcx, 0x2c64656863746150
mov qword [rsp + rax + 0x201], rcx
or rax, 8
test byte [rsp + 0x200], 1
jne 0x140133ce6
lea ecx, [rax + rax]
mov byte [rsp + 0x200], cl
jmp 0x140133cee
mov qword [rsp + 0x208], rax
mov byte [rsp + rax + 0x201], 0
test bl, 2
je 0x140133c1f
movzx r9d, byte [rsp + 0x200]
test r9b, 1
jne 0x140133d2d
shr r9d, 1
lea rax, [r9 - 0xc]
mov edx, 0x16
cmp rax, 0xb
jb 0x140133d54
lea rax, [rsp + 0x201]
jmp 0x140133e3c
mov rdx, qword [rsp + 0x200]
mov r9, qword [rsp + 0x208]
and rdx, 0xfffffffffffffffe
dec rdx
mov rax, rdx
sub rax, r9
cmp rax, 0xb
jae 0x140133e34
mov r8, r9
sub r8, rdx
add r8, 0xb
lea rax, str.Prerelease_
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x30], 0xb
mov qword [rsp + 0x28], 0
lea rcx, [rsp + 0x200]
call fcn.14003d0f0
test bl, 8
je 0x140133c28
movzx r9d, byte [rsp + 0x200]
test r9b, 1
jne 0x140133dc5
shr r9d, 1
lea rax, [r9 - 0xf]
mov edx, 0x16
cmp rax, 8
jb 0x140133dec
lea rax, [rsp + 0x201]
jmp 0x140133ead
mov rdx, qword [rsp + 0x200]
mov r9, qword [rsp + 0x208]
and rdx, 0xfffffffffffffffe
dec rdx
mov rax, rdx
sub rax, r9
cmp rax, 8
jae 0x140133ea5
mov r8, r9
sub r8, rdx
add r8, 8
lea rax, str.Private_
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x30], 8
mov qword [rsp + 0x28], 0
lea rcx, [rsp + 0x200]
call fcn.14003d0f0
test bl, 0x20
jne 0x140133f2f
jmp 0x14013401f
mov rax, qword [rsp + 0x210]
lea rcx, [rax + r9]
lea rdx, [rax + r9]
add rdx, 0xb
lea r8, str.Prerelease_
cmp rcx, r8
seta r10b
cmp rdx, r8
setbe dl
or dl, r10b
je 0x14013438d
movabs rdx, 0x61656c6572657250
mov qword [rcx], rdx
mov dword [rcx + 7], 0x2c657361
add r9, 0xb
test byte [rsp + 0x200], 1
jne 0x140133efe
lea ecx, [r9 + r9]
mov byte [rsp + 0x200], cl
mov byte [rax + r9], 0
test bl, 8
je 0x140133c28
jmp 0x140133d97
mov rax, qword [rsp + 0x210]
lea rcx, [rax + r9]
lea rdx, [rax + r9]
add rdx, 8
lea r8, str.Private_
cmp rcx, r8
seta r10b
cmp rdx, r8
setbe dl
or dl, r10b
je 0x14013438d
movabs rdx, 0x2c65746176697250
mov qword [rcx], rdx
add r9, 8
test byte [rsp + 0x200], 1
jne 0x140133f19
lea ecx, [r9 + r9]
mov byte [rsp + 0x200], cl
jmp 0x140133f21
mov qword [rsp + 0x208], r9
mov byte [rax + r9], 0
test bl, 8
jne 0x140133d97
jmp 0x140133c28
mov qword [rsp + 0x208], r9
mov byte [rax + r9], 0
test bl, 0x20
je 0x14013401f
movzx r9d, byte [rsp + 0x200]
test r9b, 1
jne 0x140133f5a
shr r9d, 1
lea rax, [r9 - 0xf]
mov edx, 0x16
cmp rax, 8
jb 0x140133f7d
lea rax, [rsp + 0x201]
jmp 0x140133fc1
mov rdx, qword [rsp + 0x200]
mov r9, qword [rsp + 0x208]
and rdx, 0xfffffffffffffffe
dec rdx
mov rax, rdx
sub rax, r9
cmp rax, 8
jae 0x140133fb9
mov r8, r9
sub r8, rdx
add r8, 8
lea rax, str.Special_
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x30], 8
mov qword [rsp + 0x28], 0
lea rcx, [rsp + 0x200]
call fcn.14003d0f0
jmp 0x14013401f
mov rax, qword [rsp + 0x210]
lea rcx, [rax + r9]
lea rdx, [rax + r9]
add rdx, 8
lea r8, str.Special_
cmp rcx, r8
seta r10b
cmp rdx, r8
setbe dl
or dl, r10b
je 0x14013438d
movabs rdx, 0x2c6c616963657053
mov qword [rcx], rdx
add r9, 8
test byte [rsp + 0x200], 1
jne 0x140134012
lea ecx, [r9 + r9]
mov byte [rsp + 0x200], cl
jmp 0x14013401a
mov qword [rsp + 0x208], r9
mov byte [rax + r9], 0
movzx r9d, byte [rsp + 0x200]
test r9b, 1
jne 0x140134038
test r9, r9
je 0x140134086
shr r9d, 1
jmp 0x140134045
mov r9, qword [rsp + 0x208]
test r9, r9
je 0x140134086
dec r9
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0xb0]
lea rdx, [rsp + 0x200]
xor r8d, r8d
call fcn.14003d8e0
test byte [rsp + 0x200], 1
je 0x1401340a6
mov rcx, qword [rsp + 0x210]
call fcn.140173cf0
jmp 0x1401340a6
mov rax, qword [rsp + 0x210]
mov qword [rsp + 0xc0], rax
movaps xmm0, xmmword [rsp + 0x200]
movaps xmmword [rsp + 0xb0], xmm0
mov qword [rsp + 0x210], r13
movaps xmmword [rsp + 0x200], xmm6
mov eax, dword [rsp + 0x100]
not eax
test eax, 0x40004
lea rax, str.Windows_NT
lea rdx, str.Unknown
cmove rdx, rax
lea rcx, [rsp + 0x200]
call fcn.140002480
test r14b, r14b
jne 0x14013410b
mov eax, dword [rsp + 0xe8]
movzx ecx, ax
shr eax, 0x10
mov dword [rsi + 0x40], eax
mov dword [rsi + 0x44], ecx
mov eax, dword [rsp + 0xec]
movzx edi, ax
shr eax, 0x10
mov dword [rsi + 0x48], eax
lea rdx, [0x1401b51ce]
lea rcx, [rsp + 0x98]
mov r8d, edi
call fcn.140051ea0
lea r14, [rsi + 0x20]
test byte [rsi + 0x20], 1
je 0x140134135
mov rcx, qword [rsi + 0x30]
call fcn.140173cf0
mov rax, qword [rsp + 0xa8]
mov qword [r14 + 0x10], rax
movups xmm0, xmmword [rsp + 0x98]
movups xmmword [r14], xmm0
movzx ebx, byte [rsp + 0xb0]
test bl, 1
je 0x14013419c
mov rbx, qword [rsp + 0xb8]
test rbx, rbx
je 0x1401341a3
lea rdx, [0x1401b1fd1]
lea rdi, [rsp + 0x48]
mov rcx, rdi
call fcn.140002480
movzx r8d, byte [rsp + 0xb0]
test r8b, 1
je 0x1401341bd
mov r8, qword [rsp + 0xb8]
mov rdx, qword [rsp + 0xc0]
jmp 0x1401341c8
shr ebx, 1
test rbx, rbx
jne 0x140134167
lea rax, [0x1401b182e]
test byte [r14], 1
jne 0x140134258
lea rcx, [rsi + 0x21]
jmp 0x14013425c
shr r8d, 1
lea rdx, [rsp + 0xb1]
mov rcx, rdi
call fcn.14003d7a0
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x70], rcx
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x60], xmm0
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
lea rdx, [0x1401b19a4]
lea rcx, [rsp + 0x60]
mov r8d, 1
call fcn.14003d7a0
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x90], rcx
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x80], xmm0
movups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
test byte [rsp + 0x80], 1
jne 0x140134246
lea rax, [rsp + 0x81]
test byte [r14], 1
je 0x1401341b4
jmp 0x140134258
mov rax, qword [rsp + 0x90]
test byte [r14], 1
je 0x1401341b4
mov rcx, qword [rsi + 0x30]
mov edx, dword [rsi + 0x48]
mov r9d, dword [rsi + 0x40]
mov r10d, dword [rsi + 0x44]
test byte [rsp + 0x200], 1
je 0x14013427b
mov r8, qword [rsp + 0x210]
jmp 0x140134283
lea r8, [rsp + 0x201]
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.140051ea0
lea rdi, [rsi + 8]
test byte [rsi + 8], 1
je 0x1401342bd
mov rcx, qword [rsi + 0x18]
call fcn.140173cf0
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 0x140134305
test byte [rsp + 0x80], 1
jne 0x14013435f
test byte [rsp + 0x60], 1
jne 0x140134373
test byte [rsp + 0x48], 1
je 0x140134305
mov rcx, qword [rsp + 0x58]
call fcn.140173cf0
test byte [rsp + 0x200], 1
je 0x14013431c
mov rcx, qword [rsp + 0x210]
call fcn.140173cf0
test byte [rsp + 0xb0], 1
je 0x140134333
mov rcx, qword [rsp + 0xc0]
call fcn.140173cf0
mov rcx, qword [rsp + 0x218]
xor rcx, rsp
call fcn.140174050
movaps xmm6, xmmword [rsp + 0x220]
add rsp, 0x238
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rsp + 0x90]
call fcn.140173cf0
test byte [rsp + 0x60], 1
je 0x1401342f4
mov rcx, qword [rsp + 0x70]
call fcn.140173cf0
test byte [rsp + 0x48], 1
jne 0x1401342fb
jmp 0x140134305
lea rcx, [0x1401b1076]
lea rdx, str....._third_partylibc_srcinclude__stringchar_traits.h:145:_assertion__std::__is_pointer_in_range___s1____s1____n____s2__failed:_char_traits::copy:_source_and_destination_ranges_overlap_n
call fcn.14003f000
int3