Function at 0x140114288
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 [0x1401e5d38]
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.140157190
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 0x1401144a8
mov qword [rsp + 0xe0], r15
lea rax, [0x1401a9250]
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.1401148e9
test al, al
je 0x140114499
lea r8, [rsi + 0x44]
mov rcx, qword [rsp + 0xc0]
lea rdx, str.CurrentMinorVersionNumber
call fcn.1401148e9
test al, al
je 0x140114499
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 0x140114499
cmp dword [rsp + 0x98], 1
jne 0x140114499
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.140002b60
mov rcx, r14
mov rdx, rdi
call fcn.14009367c
mov ebx, eax
test byte [r14], 1
je 0x14011446e
mov rcx, qword [rsp + 0x120]
call fcn.140153cd8
test bl, bl
je 0x140114499
mov eax, dword [rsp + 0x60]
mov dword [rsi + 0x48], eax
mov rcx, qword [rsp + 0xc0]
lea rdx, [0x14019799a]
lea r8, [rsp + 0xcc]
call fcn.1401148e9
mov edi, eax
jmp 0x14011449b
xor edi, edi
lea rcx, [rsp + 0xd0]
call fcn.140114960
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, [0x1401a9180]
lea rdx, [rsp + 0xb0]
mov qword [rdx], rax
mov qword [rdx + 8], 0xc
lea r14, [rsp + 0xd0]
mov rcx, r14
call fcn.140038870
mov rcx, r14
mov rdx, rbx
call fcn.140113f58
mov ebx, eax
mov rcx, r14
call fcn.1400388c0
test bl, bl
je 0x1401148c2
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 0x140114557
lea rdx, str.Debug_
lea rcx, [rsp + 0xd0]
call fcn.14002d9ce
test bl, 4
je 0x140114570
lea rdx, str.Patched_
lea rcx, [rsp + 0xd0]
call fcn.14002d9ce
test bl, 2
je 0x140114589
lea rdx, str.Prerelease_
lea rcx, [rsp + 0xd0]
call fcn.14002d9ce
test bl, 8
je 0x1401145a2
lea rdx, str.Private_
lea rcx, [rsp + 0xd0]
call fcn.14002d9ce
test bl, 0x20
je 0x1401145bb
lea rdx, str.Special_
lea rcx, [rsp + 0xd0]
call fcn.14002d9ce
movzx r9d, byte [rsp + 0xd0]
test r9b, 1
jne 0x1401145d5
cmp r9b, 2
jb 0x140114621
shr r9, 1
jmp 0x1401145e2
mov r9, qword [rsp + 0xd8]
test r9, r9
je 0x140114621
dec r9
lea rax, [rsp + 0xe8]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0xf0]
lea rbx, [rsp + 0xd0]
mov rdx, rbx
xor r8d, r8d
call fcn.14002d2f8
test byte [rbx], 1
je 0x140114641
mov rcx, qword [rsp + 0xe0]
call fcn.140153cd8
jmp 0x140114641
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.140002b60
test dil, dil
je 0x140114684
mov r8d, dword [rsp + 0xcc]
jmp 0x1401146b1
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, [0x1401928f2]
lea rcx, [rsp + 0x98]
call fcn.14004f860
lea r14, [rsi + 0x20]
test byte [rsi + 0x20], 1
je 0x1401146d8
mov rcx, qword [rsi + 0x30]
call fcn.140153cd8
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 0x140114707
mov rbx, qword [rsp + 0xf8]
jmp 0x14011470a
shr rbx, 1
test rbx, rbx
je 0x140114740
lea rdx, [0x1401909ec]
lea rdi, [rsp + 0x48]
mov rcx, rdi
call fcn.140002b60
mov al, byte [rsp + 0xf0]
test al, 1
je 0x140114749
mov r8, qword [rsp + 0xf8]
mov rdx, qword [rsp + 0x100]
jmp 0x140114757
lea rax, [0x1401906be]
jmp 0x1401147c4
shr al, 1
movzx r8d, al
lea rdx, [rsp + 0xf1]
mov rcx, rdi
call fcn.14002d060
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, [0x140190784]
call fcn.14002d9ce
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], rdi
test byte [rsp + 0x80], 1
jne 0x1401147bc
lea rax, [rsp + 0x81]
jmp 0x1401147c4
mov rax, qword [rsp + 0x90]
test byte [r14], 1
jne 0x1401147d0
lea rcx, [rsi + 0x21]
jmp 0x1401147d4
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 0x1401147f3
mov r8, qword [rsp + 0xe0]
jmp 0x1401147fb
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.14004f860
lea rdi, [rsi + 8]
test byte [rsi + 8], 1
je 0x140114835
mov rcx, qword [rsi + 0x18]
call fcn.140153cd8
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 0x140114894
test byte [rsp + 0x80], 1
je 0x140114872
mov rcx, qword [rsp + 0x90]
call fcn.140153cd8
test byte [rsp + 0x60], 1
je 0x140114883
mov rcx, qword [rsp + 0x70]
call fcn.140153cd8
test byte [rsp + 0x48], 1
je 0x140114894
mov rcx, qword [rsp + 0x58]
call fcn.140153cd8
test byte [rsp + 0xd0], 1
je 0x1401148ab
mov rcx, qword [rsp + 0xe0]
call fcn.140153cd8
test byte [rsp + 0xf0], 1
je 0x1401148c2
mov rcx, qword [rsp + 0x100]
call fcn.140153cd8
mov rcx, qword [rsp + 0x238]
xor rcx, rsp
call fcn.140154030
movaps xmm6, xmmword [rsp + 0x240]
add rsp, 0x250
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret