Function at 0x140426a70
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, reloc.SHELL32.dll_IsUserAnAdmin
movaps xmmword [rsp + 0x290], xmm6
mov rsi, rcx
mov rax, qword [0x1404fe040]
xor rax, rsp
mov qword [rsp + 0x288], rax
mov qword [rcx + 0x38], rdx
lea rbx, [rsp + 0x164]
xor edi, edi
mov r8d, 0x118
mov rcx, rbx
xor edx, edx
call fcn.1402d26c0
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 + 0x160]
mov edx, 0x80
mov r8, rax
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
sete byte [rsi + 0x4c]
mov dword [rsp + 0xdc], 0
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rax, [rsp + 0xd0]
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
je 0x140427067
movaps xmm6, xmmword [0x140470090]
lea rbx, [rsp + 0x120]
movaps xmmword [rbx + 0x20], xmm6
movaps xmmword [rbx + 0x10], xmm6
movaps xmmword [rbx], xmm6
mov dword [rbx + 0x30], 0xaaaaaaaa
lea rax, str.kernel32.dll
lea rdx, [rsp + 0xc0]
mov qword [rdx], rax
mov qword [rdx + 8], ntohl
lea r14, [rsp + 0x160]
mov rcx, r14
call fcn.140210960
mov rcx, r14
mov rdx, rbx
call fcn.140426710
mov ebx, eax
mov rcx, r14
call fcn.140210aa0
test bl, bl
je 0x140427031
mov qword [rsp + 0xb0], r15
movaps xmmword [rsp + 0xa0], xmm6
mov ebx, dword [rsp + 0x13c]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x160], xmm0
mov qword [rsp + 0x170], 0
test bl, 1
je 0x140426bf7
lea rdx, str.Debug_
lea rcx, [rsp + 0x160]
mov r8d, 6
call fcn.1401f89a0
test bl, 4
je 0x140426c16
lea rdx, str.Patched_
lea rcx, [rsp + 0x160]
mov r8d, 8
call fcn.1401f89a0
test bl, 2
je 0x140426c35
lea rdx, str.Prerelease_
lea rcx, [rsp + 0x160]
mov r8d, ntohl
call fcn.1401f89a0
test bl, 8
je 0x140426c54
lea rdx, str.Private_
lea rcx, [rsp + 0x160]
mov r8d, 8
call fcn.1401f89a0
test bl, 0x20
je 0x140426c73
lea rdx, str.Special_
lea rcx, [rsp + 0x160]
mov r8d, 8
call fcn.1401f89a0
movsx r9, byte [rsp + 0x177]
test r9, r9
jns 0x140426c89
mov r9, qword [rsp + 0x168]
test r9, r9
je 0x140426d16
dec r9
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0xa0]
lea rdx, [rsp + 0x160]
xor r8d, r8d
call fcn.1401f8bb0
cmp byte [rsp + 0x177], 0
jns 0x140426cd1
mov rcx, qword [rsp + 0x160]
call fcn.140296608
lea rbx, [rsp + 0x80]
mov qword [rbx + 0x10], r15
movaps xmmword [rbx], xmm6
mov eax, dword [rsp + 0x140]
not eax
test eax, 0x40004
lea rax, str.Windows_NT
lea rdx, str.Unknown
cmove rdx, rax
mov rcx, rbx
call fcn.1401e10c0
test dil, dil
je 0x140426d5e
mov eax, dword [rsp + 0xdc]
jmp 0x140426d89
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0xb0], rax
movaps xmm0, xmmword [rsp + 0x160]
movaps xmmword [rsp + 0xa0], xmm0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x160], xmm0
mov qword [rsp + 0x170], 0
jmp 0x140426cba
lea r13, [0x140479cb1]
jmp 0x140426ecd
mov eax, dword [rsp + 0x128]
mov ecx, eax
shr ecx, 0x10
mov dword [rsi + 0x40], ecx
and eax, 0xffff
mov dword [rsi + 0x44], eax
mov eax, dword [rsp + 0x12c]
mov ecx, eax
shr ecx, 0x10
mov dword [rsi + 0x48], ecx
and eax, 0xffff
movabs r12, 0xaaaaaaaa00000000
mov eax, eax
or rax, r12
lea r13, [rsp + 0x100]
mov qword [r13], rax
lea rbp, [0x1401e2a20]
mov qword [r13 + 8], rbp
lea r8, [rsp + 0x68]
mov qword [r8], r13
mov qword [r8 + 8], 1
lea rax, [0x14047f65a]
lea rdx, [rsp + 0x50]
mov qword [rdx], rax
mov qword [rdx + 8], 2
lea r14, [rsp + 0x160]
mov rcx, r14
call fcn.1401e4e00
lea rdi, [rsi + 0x20]
cmp byte [rsi + 0x37], 0
jns 0x140426df8
mov rcx, qword [rdi]
call fcn.140296608
mov rax, qword [rsp + 0x170]
mov qword [rdi + 0x10], rax
movups xmm0, xmmword [rsp + 0x160]
movups xmmword [rdi], xmm0
movsx r15, byte [rsp + 0xb7]
test r15, r15
jns 0x140426e25
mov r15, qword [rsp + 0xa8]
test r15, r15
je 0x140426d52
lea rdx, [0x14047b830]
lea r14, [rsp + 0x38]
mov rcx, r14
call fcn.1401e10c0
lea rdx, [rsp + 0xa0]
movsx r8, byte [rdx + 0x17]
test r8, r8
cmovs r8, qword [rdx + 8]
cmovs rdx, qword [rdx]
mov rcx, r14
call fcn.1401f89a0
movups xmm0, xmmword [rax]
lea rcx, [rsp + 0x50]
movaps xmmword [rcx], xmm0
mov rdx, qword [rax + 0x10]
mov qword [rcx + 0x10], rdx
xor r14d, r14d
mov qword [rax + 0x10], r14
xorps xmm6, xmm6
movups xmmword [rax], xmm6
lea rdx, [0x14047a471]
mov r8d, 1
call fcn.1401f89a0
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x100], xmm0
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x110], rcx
mov qword [rax + 0x10], r14
movups xmmword [rax], xmm6
cmp byte [rsp + 0x117], 0
jns 0x140426ec5
mov r13, qword [rsp + 0x100]
lea r14, [rsp + 0x160]
cmp byte [rsi + 0x37], 0
jns 0x140426ed6
mov rdi, qword [rdi]
cmp byte [rsp + 0x97], 0
jns 0x140426ee8
mov rbx, qword [rsp + 0x80]
mov qword [rsp + 0x160], rbx
lea rax, [0x1401e43e0]
mov qword [rsp + 0x168], rax
mov ecx, dword [rsi + 0x40]
or rcx, r12
mov qword [rsp + 0x170], rcx
mov qword [rsp + 0x178], rbp
mov ecx, dword [rsi + 0x44]
or rcx, r12
mov qword [rsp + 0x180], rcx
mov qword [rsp + 0x188], rbp
mov ecx, dword [rsi + 0x48]
or rcx, r12
mov qword [rsp + 0x190], rcx
mov qword [rsp + 0x198], rbp
mov qword [rsp + 0x1a0], rdi
mov qword [rsp + 0x1a8], rax
mov qword [rsp + 0x1b0], r13
mov qword [rsp + 0x1b8], rax
lea r8, [rsp + 0xf0]
mov qword [r8], r14
mov qword [r8 + 8], 6
lea rax, str._s__u._u._u._s_s
lea rdx, [rsp + 0xe0]
mov qword [rdx], rax
mov qword [rdx + 8], 0x10
lea rcx, [rsp + 0x68]
call fcn.1401e4e00
lea rdi, [rsi + 8]
cmp byte [rsi + 0x1f], 0
jns 0x140426faa
mov rcx, qword [rdi]
call fcn.140296608
mov rax, qword [rsp + 0x78]
mov qword [rdi + 0x10], rax
xor eax, eax
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rdi], xmm0
mov byte [rsp + 0x7f], al
mov byte [rsp + 0x68], al
test r15, r15
je 0x140427003
cmp byte [rsp + 0x117], 0
jns 0x140426fe1
mov rcx, qword [rsp + 0x100]
call fcn.140296608
cmp byte [rsp + 0x67], 0
jns 0x140426ff2
mov rcx, qword [rsp + 0x50]
call fcn.140296608
cmp byte [rsp + 0x4f], 0
jns 0x140427003
mov rcx, qword [rsp + 0x38]
call fcn.140296608
cmp byte [rsp + 0x97], 0
jns 0x14042701a
mov rcx, qword [rsp + 0x80]
call fcn.140296608
cmp byte [rsp + 0xb7], 0
jns 0x140427031
mov rcx, qword [rsp + 0xa0]
call fcn.140296608
mov rcx, qword [rsp + 0x288]
xor rcx, rsp
cmp rcx, qword [0x1404fe040]
je 0x14042704b
call fcn.140297b50
int3
movaps xmm6, xmmword [rsp + 0x290]
add rsp, reloc.SHELL32.dll_IsUserAnAdmin
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rbx, qword [rsp + 0xd0]
lea r8, [rsi + 0x40]
lea rdx, str.CurrentMajorVersionNumber
mov rcx, rbx
call fcn.1404271b0
test al, al
jne 0x14042709f
xor edi, edi
test rbx, rbx
je 0x140426b42
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140426b42
lea r8, [rsi + 0x44]
mov rcx, qword [rsp + 0xd0]
lea rdx, str.CurrentMinorVersionNumber
call fcn.1404271b0
test al, al
je 0x140427086
mov rcx, qword [rsp + 0xd0]
mov eax, 0xaaaaaaaa
lea rdx, [rsp + 0x120]
mov dword [rdx + 7], eax
mov qword [rdx], r15
lea r9, [rsp + 0xa0]
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 0x140427086
cmp dword [rsp + 0xa0], 1
jne 0x140427086
mov eax, dword [rsp + 0x80]
mov byte [rsp + rax + 0x120], 0
lea rdi, [rsp + 0x68]
mov dword [rdi], 0xaaaaaaaa
lea r14, [rsp + 0x160]
lea rdx, [rsp + 0x120]
mov rcx, r14
call fcn.1401e10c0
mov rcx, r14
mov rdx, rdi
call fcn.140189740
mov edi, eax
cmp byte [r14 + 0x17], 0
jns 0x140427172
mov rcx, qword [rsp + 0x160]
call fcn.140296608
test dil, dil
je 0x140427086
mov eax, dword [rsp + 0x68]
mov dword [rsi + 0x48], eax
mov rcx, qword [rsp + 0xd0]
lea rdx, [0x14048b08a]
lea r8, [rsp + 0xdc]
call fcn.1404271b0
mov edi, eax
jmp 0x140427088