Function at 0x1400639c0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x228
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x190], xmm6
mov qword [rbp + 0x188], 0xfffffffffffffffe
mov rsi, rcx
mov qword [rcx + 0x38], rdx
lea rcx, [rbp - 0x3c]
xor edi, edi
mov r8d, 0x118
xor edx, edx
call fcn.1400908d0
mov dword [rbp - 0x40], 0x11c
mov byte [rbp + 0xda], 1
xor ecx, ecx
mov edx, 0x80
mov r8b, 1
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
lea rcx, [rbp - 0x40]
mov edx, 0x80
mov r8, rax
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
sete byte [rsi + 0x4c]
lea rax, [rbp + 0x148]
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 r13d, 0
test eax, eax
jne 0x140063ca7
mov r12, qword [rbp + 0x148]
mov dword [rbp + 0x150], 4
lea r14, [rbp + 0x150]
mov qword [rsp + 0x28], r14
lea rbx, [rbp + 0x170]
mov qword [rsp + 0x20], rbx
lea rdx, str.CurrentMajorVersionNumber
xor edi, edi
lea r9, [rbp - 0x40]
mov rcx, r12
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140063c96
cmp dword [rbp - 0x40], 4
jne 0x140063c96
mov eax, dword [rbp + 0x170]
mov dword [rsi + 0x40], eax
mov rcx, qword [rbp + 0x148]
mov dword [rbp + 0x150], 4
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rbx
lea rdx, str.CurrentMinorVersionNumber
xor edi, edi
lea r15, [rbp - 0x40]
xor r8d, r8d
mov r9, r15
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140063c96
cmp dword [rbp - 0x40], 4
jne 0x140063c96
mov eax, dword [rbp + 0x170]
mov dword [rsi + 0x44], eax
mov rcx, qword [rbp + 0x148]
mov dword [rbp + 0x118], 0xa
lea rax, [rbp + 0x118]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea rdx, str.CurrentBuildNumber
xor edi, edi
lea rbx, [rbp + 0x150]
xor r8d, r8d
mov r9, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140063c96
cmp dword [rbp + 0x150], 1
jne 0x140063c96
mov qword [rbp + 0x168], r12
mov eax, dword [rbp + 0x118]
mov byte [rbp + rax + 0x170], 0
lea r14, [rbp + 0x170]
mov rcx, r14
call fcn.1400a6140
mov r12, rax
movabs rax, 0x7ffffffffffffff8
cmp r12, rax
jae 0x1400641e3
cmp r12, 0x17
jae 0x140063bbe
mov byte [rbp - 0x29], r12b
test r12, r12
jne 0x140063bff
jmp 0x140063c11
mov rax, r12
and rax, 0xfffffffffffffff8
add rax, 8
mov r13, r12
or r13, 7
cmp r13, 0x17
cmove r13, rax
inc r13
mov rcx, r13
call fcn.14008de70
mov r15, rax
mov qword [rbp - 0x40], rax
movabs rax, 0x8000000000000000
or r13, rax
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x38], r12
lea rdx, [rbp + 0x170]
mov rcx, r15
mov r8, r12
call fcn.140090220
mov byte [r15 + r12], 0
lea rcx, [rbp - 0x40]
lea rdx, [rbp + 0x130]
call fcn.140040840
cmp byte [rbp - 0x29], 0
jns 0x140063c3b
mov rcx, qword [rbp - 0x40]
mov r15d, eax
call fcn.14008de68
mov eax, r15d
test al, al
mov r12, qword [rbp + 0x168]
je 0x140063c96
mov eax, dword [rbp + 0x130]
mov dword [rsi + 0x48], eax
mov rcx, qword [rbp + 0x148]
mov dword [rbp + 0x150], 4
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r14
lea rdx, [0x1400c8bd6]
xor edi, edi
lea r9, [rbp - 0x40]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [rbp - 0x40]
xor ecx, 4
or ecx, eax
sete r13b
jne 0x140063c99
mov edi, dword [rbp + 0x170]
jmp 0x140063c99
xor r13d, r13d
test r12, r12
je 0x140063ca7
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, 0x20
call fcn.14008de70
mov qword [rbp + 0x150], rax
movabs rcx, 0x8000000000000010
mov qword [rbp + 0x160], rcx
mov qword [rbp + 0x158], 0xc
movabs rcx, 0x6c006c0064002e
mov qword [rax + 0x10], rcx
movaps xmm0, xmmword [str.kernel32.dll]
movups xmmword [rax], xmm0
mov word [rax + 0x18], 0
lea rcx, [rbp + 0x170]
lea rbx, [rbp + 0x150]
mov rdx, rbx
call fcn.140006760
lea rcx, [rbp + 0x170]
lea rdx, [rbp - 0x40]
call fcn.140063220
mov r15d, eax
lea r14, [rbp + 0x170]
mov rcx, r14
call fcn.140006830
cmp byte [rbp + 0x167], 0
js 0x140063d3d
test r15b, r15b
jne 0x140063d52
jmp 0x1400640a9
mov rcx, qword [rbp + 0x150]
call fcn.14008de68
test r15b, r15b
je 0x1400640a9
mov r15d, dword [rbp - 0x24]
xorps xmm0, xmm0
movaps xmmword [rbp + 0x170], xmm0
mov qword [rbp + 0x180], 0
test r15b, 1
je 0x140063d84
lea rdx, str.Debug_
lea rcx, [rbp + 0x170]
call fcn.140009000
test r15b, 4
je 0x140063d9d
lea rdx, str.Patched_
lea rcx, [rbp + 0x170]
call fcn.140009000
test r15b, 2
je 0x140063db6
lea rdx, str.Prerelease_
lea rcx, [rbp + 0x170]
call fcn.140009000
test r15b, 8
je 0x140063dcf
lea rdx, str.Private_
lea rcx, [rbp + 0x170]
call fcn.140009000
test r15b, 0x20
je 0x140063de8
lea rdx, str.Special_
lea rcx, [rbp + 0x170]
call fcn.140009000
movzx ecx, byte [rbp + 0x187]
mov r15, rcx
test cl, cl
jns 0x140063dfd
mov r15, qword [rbp + 0x178]
test r15, r15
je 0x140063e3f
lea rax, [r15 - 1]
cmp r15, rax
cmovae r15, rax
test cl, cl
jns 0x140063e18
mov r14, qword [rbp + 0x170]
movabs rcx, 0x7ffffffffffffff8
cmp r15, rcx
jae 0x1400641d7
cmp r15, 0x17
jae 0x140063e5d
mov byte [rbp + 0x167], r15b
test rax, rax
jne 0x140063ea7
jmp 0x140063eb5
mov rax, qword [rbp + 0x180]
mov qword [rbp + 0x160], rax
movaps xmm0, xmmword [rbp + 0x170]
movaps xmmword [rbp + 0x150], xmm0
jmp 0x140063ecf
mov rax, r15
and rax, 0xfffffffffffffff8
add rax, 8
mov r12, r15
or r12, 7
cmp r12, 0x17
cmove r12, rax
inc r12
mov rcx, r12
call fcn.14008de70
mov rbx, rax
mov qword [rbp + 0x150], rax
movabs rax, 0x8000000000000000
or r12, rax
mov qword [rbp + 0x160], r12
mov qword [rbp + 0x158], r15
mov rcx, rbx
mov rdx, r14
mov r8, r15
call fcn.140090220
mov byte [rbx + r15], 0
cmp byte [rbp + 0x187], 0
jns 0x140063ecf
mov rcx, qword [rbp + 0x170]
call fcn.14008de68
mov eax, dword [rbp - 0x20]
not eax
test eax, 0x40004
jne 0x140063efe
movabs rax, 0x2073776f646e6957
mov qword [rbp + 0x170], rax
mov word [rbp + 0x178], 0x544e
mov al, 0xa
mov ecx, 0xa
jmp 0x140063f19
mov dword [rbp + 0x173], 0x6e776f6e
mov dword [rbp + 0x170], 0x6e6b6e55
mov al, 7
mov ecx, 7
mov byte [rbp + rcx + 0x170], 0
mov byte [rbp + 0x187], al
test r13b, r13b
jne 0x140063f47
mov eax, dword [rbp - 0x38]
movzx ecx, ax
shr eax, 0x10
mov dword [rsi + 0x40], eax
mov dword [rsi + 0x44], ecx
mov eax, dword [rbp - 0x34]
movzx edi, ax
shr eax, 0x10
mov dword [rsi + 0x48], eax
lea rdx, [0x1400c8bde]
lea rcx, [rbp + 0x118]
mov r8d, edi
call fcn.140017e80
lea rdi, [rsi + 0x20]
cmp byte [rsi + 0x37], 0
jns 0x140063f6f
mov rcx, qword [rdi]
call fcn.14008de68
mov rax, qword [rbp + 0x128]
mov qword [rdi + 0x10], rax
movups xmm0, xmmword [rbp + 0x118]
movups xmmword [rdi], xmm0
movzx eax, byte [rbp + 0x167]
mov r8, rax
test al, al
jns 0x140063f99
mov r8, qword [rbp + 0x158]
test r8, r8
mov qword [rbp + 0x168], r8
je 0x140063fd0
mov byte [rbp + 0x117], 2
mov word [rbp + 0x100], 0x2820
mov byte [rbp + 0x102], 0
test al, al
jns 0x1400640c4
mov rdx, qword [rbp + 0x150]
jmp 0x1400640cb
lea rax, [0x1400bd37b]
cmp byte [rsi + 0x37], 0
jns 0x140063fe1
mov rdi, qword [rsi + 0x20]
mov ecx, dword [rsi + 0x48]
mov r9d, dword [rsi + 0x40]
mov edx, dword [rsi + 0x44]
cmp byte [rbp + 0x187], 0
jns 0x140063ffd
mov r8, qword [rbp + 0x170]
jmp 0x140064004
lea r8, [rbp + 0x170]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], edx
lea rdx, str._s__u._u._u._s_s
lea rcx, [rbp + 0x118]
call fcn.140017e80
lea rdi, [rsi + 8]
cmp byte [rsi + 0x1f], 0
jns 0x14006403b
mov rcx, qword [rdi]
call fcn.14008de68
mov rax, qword [rbp + 0x128]
mov qword [rdi + 0x10], rax
movups xmm0, xmmword [rbp + 0x118]
movups xmmword [rdi], xmm0
mov byte [rbp + 0x12f], 0
mov byte [rbp + 0x118], 0
cmp qword [rbp + 0x168], 0
je 0x14006408f
cmp byte [rbp + 0x147], 0
js 0x140064162
cmp byte [rbp + 0xf7], 0
js 0x14006417b
cmp byte [rbp + 0x117], 0
js 0x140064194
cmp byte [rbp + 0x187], 0
js 0x1400641ad
cmp byte [rbp + 0x167], 0
js 0x1400641c6
movaps xmm6, xmmword [rbp + 0x190]
add rsp, 0x228
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rdx, [rbp + 0x150]
lea rcx, [rbp + 0x100]
call fcn.140008910
mov rcx, qword [rax + 0x10]
mov qword [rbp + 0xf0], rcx
movups xmm0, xmmword [rax]
movaps xmmword [rbp + 0xe0], xmm0
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
lea rdx, [0x1400c3a91]
lea rcx, [rbp + 0xe0]
call fcn.140009000
mov rcx, qword [rax + 0x10]
mov qword [rbp + 0x140], rcx
movups xmm0, xmmword [rax]
movaps xmmword [rbp + 0x130], xmm0
movups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
cmp byte [rbp + 0x147], 0
jns 0x14006414c
mov rax, qword [rbp + 0x130]
cmp byte [rsi + 0x37], 0
js 0x140063fdd
jmp 0x140063fe1
lea rax, [rbp + 0x130]
cmp byte [rsi + 0x37], 0
jns 0x140063fe1
jmp 0x140063fdd
mov rcx, qword [rbp + 0x130]
call fcn.14008de68
cmp byte [rbp + 0xf7], 0
jns 0x140064082
mov rcx, qword [rbp + 0xe0]
call fcn.14008de68
cmp byte [rbp + 0x117], 0
jns 0x14006408f
mov rcx, qword [rbp + 0x100]
call fcn.14008de68
cmp byte [rbp + 0x187], 0
jns 0x14006409c
mov rcx, qword [rbp + 0x170]
call fcn.14008de68
cmp byte [rbp + 0x167], 0
jns 0x1400640a9
mov rcx, qword [rbp + 0x150]
call fcn.14008de68
jmp 0x1400640a9
lea rcx, [rbp + 0x150]
call fcn.1400044e0
lea rcx, [rbp - 0x40]
call fcn.1400044e0
int3