Function at 0x1401155ac
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 [0x1401c2c08]
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.140146ec0
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 0x1401157cc
mov qword [rsp + 0xe0], r15
lea rax, [0x14019e1e0]
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.140115c30
test al, al
je 0x1401157bd
lea r8, [rsi + 0x44]
mov rcx, qword [rsp + 0xc0]
lea rdx, str.CurrentMinorVersionNumber
call fcn.140115c30
test al, al
je 0x1401157bd
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 0x1401157bd
cmp dword [rsp + 0x98], 1
jne 0x1401157bd
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.1400029f4
mov rcx, r14
mov rdx, rdi
call fcn.140097484
mov ebx, eax
test byte [r14], 1
je 0x140115792
mov rcx, qword [rsp + 0x120]
call fcn.1401438d8
test bl, bl
je 0x1401157bd
mov eax, dword [rsp + 0x60]
mov dword [rsi + 0x48], eax
mov rcx, qword [rsp + 0xc0]
lea rdx, [0x140188f4a]
lea r8, [rsp + 0xcc]
call fcn.140115c30
mov edi, eax
jmp 0x1401157bf
xor edi, edi
lea rcx, [rsp + 0xd0]
call fcn.140115ca8
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, [0x14019e110]
lea rdx, [rsp + 0xb0]
mov qword [rdx], rax
mov qword [rdx + 8], 0xc
lea r14, [rsp + 0xd0]
mov rcx, r14
call fcn.1400567f0
mov rcx, r14
mov rdx, rbx
call fcn.140115238
mov ebx, eax
mov rcx, r14
call fcn.1400568a0
test bl, bl
je 0x140115c09
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 0x140115881
lea rdx, str.Debug_
lea rcx, [rsp + 0xd0]
mov r8d, 6
call fcn.14002a996
test bl, 4
je 0x1401158a0
lea rdx, str.Patched_
lea rcx, [rsp + 0xd0]
mov r8d, 8
call fcn.14002a996
test bl, 2
je 0x1401158bf
lea rdx, str.Prerelease_
lea rcx, [rsp + 0xd0]
mov r8d, 0xb
call fcn.14002a996
test bl, 8
je 0x1401158de
lea rdx, str.Private_
lea rcx, [rsp + 0xd0]
mov r8d, 8
call fcn.14002a996
test bl, 0x20
je 0x1401158fd
lea rdx, str.Special_
lea rcx, [rsp + 0xd0]
mov r8d, 8
call fcn.14002a996
movzx r9d, byte [rsp + 0xd0]
test r9b, 1
jne 0x140115916
test r9, r9
je 0x140115962
shr r9d, 1
jmp 0x140115923
mov r9, qword [rsp + 0xd8]
test r9, r9
je 0x140115962
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.14002aba4
test byte [rbx], 1
je 0x140115982
mov rcx, qword [rsp + 0xe0]
call fcn.1401438d8
jmp 0x140115982
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.1400029f4
test dil, dil
je 0x1401159c5
mov r8d, dword [rsp + 0xcc]
jmp 0x1401159f2
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, [0x140183a8e]
lea rcx, [rsp + 0x98]
call fcn.140046020
lea r14, [rsi + 0x20]
test byte [rsi + 0x20], 1
je 0x140115a19
mov rcx, qword [rsi + 0x30]
call fcn.1401438d8
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 0x140115a48
mov rbx, qword [rsp + 0xf8]
jmp 0x140115a4a
shr ebx, 1
test rbx, rbx
je 0x140115a84
lea rdx, [0x1401813f4]
lea rdi, [rsp + 0x48]
mov rcx, rdi
call fcn.1400029f4
movzx r8d, byte [rsp + 0xf0]
test r8b, 1
je 0x140115a8d
mov r8, qword [rsp + 0xf8]
mov rdx, qword [rsp + 0x100]
jmp 0x140115a98
lea rax, [0x140180b8e]
jmp 0x140115b0b
shr r8d, 1
lea rdx, [rsp + 0xf1]
mov rcx, rdi
call fcn.14002a996
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, [0x140180d04]
mov r8d, 1
call fcn.14002a996
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 0x140115b03
lea rax, [rsp + 0x81]
jmp 0x140115b0b
mov rax, qword [rsp + 0x90]
test byte [r14], 1
jne 0x140115b17
lea rcx, [rsi + 0x21]
jmp 0x140115b1b
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 0x140115b3a
mov r8, qword [rsp + 0xe0]
jmp 0x140115b42
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.140046020
lea rdi, [rsi + 8]
test byte [rsi + 8], 1
je 0x140115b7c
mov rcx, qword [rsi + 0x18]
call fcn.1401438d8
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 0x140115bdb
test byte [rsp + 0x80], 1
je 0x140115bb9
mov rcx, qword [rsp + 0x90]
call fcn.1401438d8
test byte [rsp + 0x60], 1
je 0x140115bca
mov rcx, qword [rsp + 0x70]
call fcn.1401438d8
test byte [rsp + 0x48], 1
je 0x140115bdb
mov rcx, qword [rsp + 0x58]
call fcn.1401438d8
test byte [rsp + 0xd0], 1
je 0x140115bf2
mov rcx, qword [rsp + 0xe0]
call fcn.1401438d8
test byte [rsp + 0xf0], 1
je 0x140115c09
mov rcx, qword [rsp + 0x100]
call fcn.1401438d8
mov rcx, qword [rsp + 0x238]
xor rcx, rsp
call fcn.140143c30
movaps xmm6, xmmword [rsp + 0x240]
add rsp, 0x250
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret