Function at 0x14003aa10
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, 0x1e8
mov qword [rsp + 0x30], r9
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x14022b040]
xor rax, rsp
mov qword [rsp + 0x1e0], rax
movabs rcx, 0xaaaaaaaaaaaaaaaa
xor r13d, r13d
mov dword [rsi], r13d
xorps xmm0, xmm0
movups xmmword [rsi + 0x20], xmm0
movups xmmword [rsi + 0x30], xmm0
movups xmmword [rsi + 0x40], xmm0
movabs rax, 0x300000004
mov qword [rsi + 0x60], rax
movups xmmword [rsi + 0x68], xmm0
mov qword [rsi + 0x78], r13
mov dword [rsi + 0x80], r9d
mov eax, dword [rdx + 4]
mov dword [rsi + 4], eax
mov eax, dword [rdx + 8]
mov dword [rsi + 8], eax
mov eax, dword [rdx + 0xc]
mov dword [rsi + 0xc], eax
mov qword [rsp + 0xb0], r13
movaps xmmword [rsp + 0xa0], xmm0
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x68], r13
mov dword [rsp + 0x70], r13d
mov qword [rsp + 0x78], r13
lea rax, [rsp + 0x50]
mov qword [rax], r13
mov qword [rsp + 0x20], rax
lea rdx, [0x14020a280]
mov rcx, 0xffffffff80000002
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
mov qword [rsp + 0x38], rdi
jne 0x14003aba8
mov rcx, qword [rsp + 0x68]
test rcx, rcx
jne 0x14003af62
lea r9, [rsp + 0x50]
mov rcx, qword [r9]
mov qword [rsp + 0x68], rcx
xor r13d, r13d
mov dword [rsp + 0x70], r13d
mov eax, 4
mov dword [r9], eax
lea rdx, [rsp + 0x80]
mov dword [rdx], eax
lea rax, [rsp + 0x1d0]
mov dword [rax], r13d
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rax
lea rdx, [0x14020a2da]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14003ab71
mov eax, dword [rsp + 0x50]
add eax, 0xfffffffd
xor r13d, r13d
cmp dword [rsp + 0x80], 4
mov ecx, 0
jne 0x14003ab6a
mov ecx, dword [rsp + 0x1d0]
cmp eax, 2
cmovb r13d, ecx
lea rdx, str.DisplayVersion
lea rcx, [rsp + 0x68]
lea r15, [rsp + 0xa0]
mov r8, r15
call fcn.14003b5d0
movsx rax, byte [r15 + 0x17]
test rax, rax
jns 0x14003ab9f
mov rax, qword [rsp + 0xa8]
test rax, rax
je 0x14003b01c
lea r15, [rsp + 0xa0]
movsx rcx, byte [r15 + 0x17]
test rcx, rcx
cmovs rcx, qword [r15 + 8]
lea rbp, [rsi + 0x20]
mov rax, qword [r15]
cmovns rax, r15
lea rdi, [rsi + 0x38]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], rcx
test rcx, rcx
js 0x14003b4de
sete cl
test rax, rax
setne al
or al, cl
je 0x14003b4de
lea r12, [rsp + 0x50]
lea rdx, [rsp + 0x80]
mov rcx, r12
call fcn.14010d170
mov r14, qword [r12]
mov rax, qword [r12 + 8]
mov qword [rsp + 0x1d0], rax
mov rax, qword [r12 + 0xf]
mov qword [rsp + 0x1d7], rax
mov r12b, byte [r12 + 0x17]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14003ac4f
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x68], 0
mov dword [rsp + 0x70], 0
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 0x78], 0
test rcx, rcx
jne 0x14003ae88
cmp byte [rsp + 0xb7], 0
js 0x14003af6d
mov dword [rsi + 0x10], r13d
cmp byte [rsi + 0x37], 0
js 0x14003af7f
mov qword [rsi + 0x20], r14
mov rax, qword [rsp + 0x1d0]
mov rcx, qword [rsp + 0x1d7]
mov qword [rsi + 0x28], rax
mov qword [rsi + 0x2f], rcx
mov byte [rsi + 0x37], r12b
mov ebp, dword [rsi + 0xc]
mov r13d, dword [rsi + 4]
mov eax, 0x16
cmp r13d, 0xa
jne 0x14003b152
cmp ebp, 0x5866
ja 0x14003af44
cmp ebp, 0x585c
ja 0x14003af4e
cmp ebp, 0x55ef
ja 0x14003acf5
cmp ebp, 0x4f7b
ja 0x14003af58
mov eax, 0x14
cmp ebp, 0x4a64
jbe 0x14003ae97
mov dword [rsi], eax
call qword [0x14021fac0]
mov r15, rax
mov eax, dword [0x14023d0b8]
mov ecx, dword [0x140239d90]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jle 0x14003ad66
lea rcx, [0x14023d0b8]
call fcn.140130e1c
cmp dword [0x14023d0b8], 0xffffffff
jne 0x14003ad66
lea rcx, [0x14020112e]
call qword [0x14021fb88]
lea rdx, str.IsWow64Process2
mov rcx, rax
call qword [0x14021fba0]
mov qword [0x14023d0b0], rax
lea rcx, [0x14023d0b8]
call fcn.14013106c
mov rax, qword [0x14023d0b0]
test rax, rax
je 0x14003afd4
xor ecx, ecx
lea rdx, [rsp + 0xa0]
mov word [rdx], cx
lea r8, [rsp + 0x68]
mov word [r8], cx
mov rcx, r15
call qword [0x14021e0b8]
test eax, eax
je 0x14003adca
movzx eax, word [rsp + 0xa0]
test eax, eax
jne 0x14003af9a
mov dword [rsi + 0x60], eax
movzx eax, word [rsp + 0x68]
xor ecx, ecx
cmp eax, 0x8664
setne cl
inc ecx
xor edx, edx
cmp eax, 0xaa64
cmovne edx, ecx
mov dword [rsi + 0x64], edx
movzx eax, word [rbx + 0x114]
mov dword [rsi + 0x18], eax
movzx eax, word [rbx + 0x116]
mov dword [rsi + 0x1c], eax
lea rcx, [rbx + 0x14]
lea r15, [rsp + 0x40]
mov qword [r15], rcx
call fcn.140131148
mov qword [r15 + 8], rax
lea rcx, [rsp + 0xa0]
mov rdx, r15
call fcn.14010d170
cmp byte [rsi + 0x4f], 0
js 0x14003af8d
mov rax, qword [rsp + 0xb0]
mov qword [rdi + 0x10], rax
movups xmm0, xmmword [rsp + 0xa0]
movups xmmword [rdi], xmm0
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx + 0x20]
mov dword [rsi + 0x50], eax
mov eax, dword [rcx + 0x28]
mov qword [rsi + 0x58], rax
mov eax, dword [rbx + 4]
cmp eax, 0xa
jne 0x14003b0f7
mov rax, qword [rsp + 0x30]
cmp eax, 4
jne 0x14003b03a
mov dword [rsi + 0x14], 3
mov rcx, qword [rsp + 0x1e0]
xor rcx, rsp
cmp rcx, qword [0x14022b040]
je 0x14003ae71
call fcn.1401335a0
int3
mov rax, rsi
add rsp, 0x1e8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov edx, 1
call fcn.14004bfa0
jmp 0x14003ac66
je 0x14003b4e0
cmp ebp, 0x4a62
ja 0x14003b4ea
je 0x14003b4f4
mov eax, 0x10
cmp ebp, 0x4a60
ja 0x14003acf5
mov eax, 0xf
cmp ebp, 0x47ba
ja 0x14003acf5
mov eax, 0xe
je 0x14003acf5
mov eax, 0xd
cmp ebp, 0x4562
ja 0x14003acf5
mov eax, 0xc
cmp ebp, 0x42ed
ja 0x14003acf5
mov eax, 0xb
cmp ebp, 0x3faa
ja 0x14003acf5
mov eax, 0xa
cmp ebp, 0x3ad6
ja 0x14003acf5
mov eax, 9
cmp ebp, 0x3838
ja 0x14003acf5
cmp ebp, 0x295a
mov eax, 7
sbb eax, 0xffffffff
jmp 0x14003acf5
mov eax, 0x18
jmp 0x14003acf5
mov eax, 0x17
jmp 0x14003acf5
mov eax, 0x15
jmp 0x14003acf5
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14003aafa
mov rcx, qword [rsp + 0xa0]
call fcn.140130d24
jmp 0x14003ac74
mov rcx, qword [rbp]
call fcn.140130d24
jmp 0x14003ac82
mov rcx, qword [rdi]
call fcn.140130d24
jmp 0x14003ae0d
lea ecx, [rax - 0x1c0]
cmp ecx, 4
ja 0x14003afaf
mov edx, 0x15
bt edx, ecx
jb 0x14003afca
cmp eax, 0x14c
jne 0x14003afc0
mov eax, 1
jmp 0x14003ada9
mov eax, 3
jmp 0x14003ada9
mov eax, 2
jmp 0x14003ada9
lea rdx, [rsp + 0xa0]
mov dword [rdx], 0
mov rcx, r15
call qword [0x14021fce8]
test eax, eax
je 0x14003adca
cmp dword [rsp + 0xa0], 0
je 0x14003b010
movabs rax, 0x100000001
mov qword [rsi + 0x60], rax
jmp 0x14003adca
mov dword [rsi + 0x60], 0
jmp 0x14003adca
lea rdx, str.ReleaseId
lea rcx, [rsp + 0x68]
lea r8, [rsp + 0xa0]
call fcn.14003b5d0
jmp 0x14003aba8
cmp eax, 0x30
ja 0x14003b07d
mov eax, dword [rsp + 0x30]
mov ecx, 0x206f780
bt rcx, rax
jae 0x14003b05a
mov dword [rsi + 0x14], 2
jmp 0x14003ae57
mov ecx, 0x8010040
bt rcx, rax
jb 0x14003ae50
movabs rcx, 0x1000000000002
bt rcx, rax
jb 0x14003b146
mov rax, qword [rsp + 0x30]
add eax, 0xffffffba
cmp eax, 0x3c
ja 0x14003b0ba
movabs rcx, 0x1980000000004005
bt rcx, rax
jb 0x14003ae50
movabs rcx, 0x18000000000000
bt rcx, rax
jae 0x14003b0ba
mov dword [rsi + 0x14], 4
jmp 0x14003ae57
mov rax, qword [rsp + 0x30]
add eax, 0xffffff74
cmp eax, 0x33
ja 0x14003b105
mov rcx, rax
movabs rax, 0x9000000000003
bt rax, rcx
jb 0x14003ae50
mov eax, 0x3000000
bt rax, rcx
jae 0x14003b105
mov dword [rsi + 0x14], 5
jmp 0x14003ae57
cmp eax, 5
je 0x14003b111
cmp eax, 6
je 0x14003ae42
mov dword [rsi + 0x14], 0
jmp 0x14003ae57
mov eax, dword [rbx + 8]
cmp eax, 1
je 0x14003b13d
cmp eax, 2
jne 0x14003b105
cmp byte [rbx + 0x11a], 1
jne 0x14003b12d
cmp word [rcx], 9
je 0x14003b146
cmp word [rbx + 0x118], 0
jns 0x14003b04e
jmp 0x14003b105
test byte [rbx + 0x119], 2
jne 0x14003b105
mov dword [rsi + 0x14], 1
jmp 0x14003ae57
cmp r13d, 0xb
je 0x14003acf5
mov r12d, dword [rsi + 8]
cmp r13d, 7
jae 0x14003b1a9
cmp r13d, 6
jne 0x14003b182
lea ecx, [r12 + 3]
cmp r12d, 3
mov eax, 6
cmovb eax, ecx
jmp 0x14003acf5
cmp r13d, 5
setne cl
test r12d, r12d
sete dl
xor eax, eax
or dl, cl
jne 0x14003acf5
xor eax, eax
cmp r12d, 1
setne al
inc eax
jmp 0x14003acf5
mov ecx, 2
call fcn.14012eef0
test al, al
je 0x14003b24b
lea rdx, str....._basewinwindows_version.cc
lea rcx, [rsp + 0xa0]
mov r8d, 0x1b6
mov r9d, 2
call fcn.14003b8c0
lea rcx, [rsp + 0xb0]
lea rdx, str.Unsupported_version:
mov r8d, 0x15
call fcn.14011edf0
mov rcx, rax
mov edx, r13d
call fcn.1400f01b0
lea r14, [0x1401ffcca]
mov r8d, 1
mov rcx, rax
mov rdx, r14
call fcn.14011edf0
mov rcx, rax
mov edx, r12d
call fcn.1400f01b0
mov r8d, 1
mov rcx, rax
mov rdx, r14
call fcn.14011edf0
mov rcx, rax
mov edx, ebp
call fcn.1400f01b0
lea rcx, [rsp + 0xa0]
call fcn.140001da0
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x1d0], rax
mov rcx, r15
mov edx, r13d
call fcn.1400a2290
movsx rax, byte [rsp + 0xb7]
test rax, rax
jns 0x14003b286
mov rax, qword [rsp + 0xa8]
mov r15, qword [rsp + 0xa0]
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], rax
test rax, rax
js 0x14003b4de
sete al
test r15, r15
setne cl
or cl, al
je 0x14003b4de
mov eax, dword [0x14023d100]
mov ecx, dword [0x140239d90]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14003b4fe
mov rdx, qword [0x14023d0f8]
lea rcx, [rsp + 0x1d0]
lea r8, [rsp + 0x68]
call fcn.1400fe030
cmp byte [rsp + 0xb7], 0
jns 0x14003b2ff
mov rcx, qword [rsp + 0xa0]
call fcn.140130d24
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x98], rax
lea r15, [rsp + 0xa0]
mov rcx, r15
mov edx, r12d
call fcn.1400a2290
movsx rax, byte [r15 + 0x17]
test rax, rax
jns 0x14003b33e
mov rax, qword [rsp + 0xa8]
mov r15, qword [rsp + 0xa0]
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], rax
test rax, rax
js 0x14003b4de
sete al
test r15, r15
setne cl
or cl, al
je 0x14003b4de
mov eax, dword [0x14023d110]
mov ecx, dword [0x140239d90]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14003b540
mov rdx, qword [0x14023d108]
lea rcx, [rsp + 0x98]
lea r8, [rsp + 0x50]
call fcn.1400fe030
cmp byte [rsp + 0xb7], 0
jns 0x14003b3b7
mov rcx, qword [rsp + 0xa0]
call fcn.140130d24
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x90], rax
lea r15, [rsp + 0xa0]
mov rcx, r15
mov edx, ebp
call fcn.1400a2290
movsx rax, byte [r15 + 0x17]
test rax, rax
jns 0x14003b3f5
mov rax, qword [rsp + 0xa8]
mov r15, qword [rsp + 0xa0]
mov qword [rsp + 0x80], r15
mov qword [rsp + 0x88], rax
test rax, rax
js 0x14003b4de
sete al
test r15, r15
setne cl
or cl, al
je 0x14003b4de
mov eax, dword [0x14023d120]
mov ecx, dword [0x140239d90]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14003b582
mov rdx, qword [0x14023d118]
lea rcx, [rsp + 0x90]
lea r8, [rsp + 0x80]
call fcn.1400fe030
cmp byte [rsp + 0xb7], 0
jns 0x14003b477
mov rcx, qword [rsp + 0xa0]
call fcn.140130d24
lea rdx, str.MajorMinorBuildToVersion
lea r8, str....._basewinwindows_version.cc
lea r15, [rsp + 0xa0]
mov rcx, r15
mov r9d, 0x1bc
call fcn.1400cfba0
movabs rdx, 0x141dd76000
mov rcx, r15
call fcn.14018fb50
lea rcx, [rsp + 0x90]
call fcn.1400fdff0
lea rcx, [rsp + 0x98]
call fcn.1400fdff0
lea rcx, [rsp + 0x1d0]
call fcn.1400fdff0
mov eax, 0x19
jmp 0x14003acf5
ud2
mov eax, 0x13
jmp 0x14003acf5
mov eax, 0x12
jmp 0x14003acf5
mov eax, 0x11
jmp 0x14003acf5
lea rcx, [0x14023d100]
call fcn.140130e1c
cmp dword [0x14023d100], 0xffffffff
jne 0x14003b2cf
lea rcx, str.WindowsVersion_major
mov edx, 0x20
call fcn.140002990
mov qword [0x14023d0f8], rax
lea rcx, [0x14023d100]
call fcn.14013106c
jmp 0x14003b2cf
lea rcx, [0x14023d110]
call fcn.140130e1c
cmp dword [0x14023d110], 0xffffffff
jne 0x14003b387
lea rcx, str.WindowsVersion_minor
mov edx, 0x20
call fcn.140002990
mov qword [0x14023d108], rax
lea rcx, [0x14023d110]
call fcn.14013106c
jmp 0x14003b387
lea rcx, [0x14023d120]
call fcn.140130e1c
cmp dword [0x14023d120], 0xffffffff
jne 0x14003b444
lea rcx, str.WindowsVersion_build
mov edx, 0x20
call fcn.140002990
mov qword [0x14023d118], rax
lea rcx, [0x14023d120]
call fcn.14013106c
jmp 0x14003b444