Function at 0x140048408
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x250
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x1c0], xmm6
mov qword [rbp + 0x1b8], 0xfffffffffffffffe
mov rsi, rcx
mov qword [rcx + 0x48], rdx
lea rdi, [rbp - 0x3c]
xor r14d, r14d
mov r8d, 0x118
mov rcx, rdi
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov dword [rdi - 4], 0x11c
mov byte [rdi + 0x116], 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 + 0x5c]
mov dword [rbp + 0x1b0], 0
lea rax, [rbp + 0x180]
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 0x1400485f1
mov rcx, qword [rbp + 0x180]
lea r8, [rsi + 0x50]
lea rdx, str.CurrentMajorVersionNumber
mov qword [rbp + 0x188], rcx
call fcn.140048e81
test al, al
je 0x1400485dc
lea r8, [rsi + 0x54]
mov rcx, qword [rbp + 0x180]
lea rdx, str.CurrentMinorVersionNumber
call fcn.140048e81
test al, al
je 0x1400485dc
mov rcx, qword [rbp + 0x180]
lea rax, [rbp + 0x120]
mov dword [rax], 0xa
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x190]
mov qword [rsp + 0x20], rax
lea rdx, str.CurrentBuildNumber
lea r9, [rbp + 0x160]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1400485dc
cmp dword [rbp + 0x160], 1
jne 0x1400485dc
mov eax, dword [rbp + 0x120]
xor ecx, ecx
mov byte [rbp + rax + 0x190], cl
movaps xmm0, xmmword [section..rdata]
lea rdi, [rbp - 0x40]
movups xmmword [rdi + 0x10], xmm0
mov byte [rdi], cl
lea rbx, [rbp + 0x190]
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov rcx, rdi
mov rdx, rbx
mov r8, rax
call fcn.14000451c
lea rcx, [rbp - 0x40]
lea rdx, [rbp + 0x140]
call fcn.14001e8e8
mov bl, al
lea rcx, [rbp - 0x40]
call fcn.140005a44
test bl, bl
je 0x1400485dc
mov eax, dword [rbp + 0x140]
mov dword [rsi + 0x58], eax
mov rcx, qword [rbp + 0x180]
lea rdx, [0x140130fb6]
lea r8, [rbp + 0x1b0]
call fcn.140048e81
mov r14d, eax
jmp 0x1400485df
xor r14d, r14d
mov rcx, qword [rbp + 0x188]
test rcx, rcx
je 0x1400485f1
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movaps xmm0, xmmword [0x1400fc010]
lea rdi, [rbp + 0x160]
movups xmmword [rdi + 0x10], xmm0
mov word [rdi], 0
lea rdx, [0x1401005f0]
mov r8d, 0xc
mov rcx, rdi
call fcn.14000c3e8
lea rcx, [rbp + 0x190]
mov rdx, rdi
call fcn.14000b492
lea rcx, [rbp + 0x190]
lea rdx, [rbp - 0x40]
call fcn.140047e50
mov bl, al
lea rcx, [rbp + 0x190]
call fcn.14000b584
lea r12, [rbp + 0x160]
mov rcx, r12
call fcn.140005a80
test bl, bl
je 0x1400489d1
mov edi, dword [rbp - 0x24]
movaps xmm6, xmmword [section..rdata]
movups xmmword [rbp + 0x1a0], xmm6
mov byte [rbp + 0x190], 0
test dil, 1
je 0x140048698
lea rdx, str.Debug_
lea rcx, [rbp + 0x190]
mov r8d, 6
call fcn.1400052c6
test dil, 4
je 0x1400486b7
lea rdx, str.Patched_
lea rcx, [rbp + 0x190]
mov r8d, 8
call fcn.1400052c6
test dil, 2
je 0x1400486d6
lea rdx, str.Prerelease_
lea rcx, [rbp + 0x190]
mov r8d, 0xb
call fcn.1400052c6
test dil, 8
je 0x1400486f5
lea rdx, str.Private_
lea rcx, [rbp + 0x190]
mov r8d, 8
call fcn.1400052c6
test dil, 0x20
je 0x140048714
lea rdx, str.Special_
lea rcx, [rbp + 0x190]
mov r8d, 8
call fcn.1400052c6
mov r9, qword [rbp + 0x1a0]
test r9, r9
je 0x140048742
dec r9
lea rcx, [rbp + 0x160]
movups xmmword [rcx + 0x10], xmm6
mov byte [rcx], 0
lea rdx, [rbp + 0x190]
xor r8d, r8d
call fcn.140008f76
jmp 0x14004876c
movups xmm0, xmmword [rbp + 0x190]
movups xmm1, xmmword [rbp + 0x1a0]
movaps xmmword [rbp + 0x170], xmm1
movaps xmmword [rbp + 0x160], xmm0
movups xmmword [rbp + 0x1a0], xmm6
mov byte [rbp + 0x190], 0
lea r15, [rbp + 0x190]
mov rcx, r15
call fcn.140005a44
mov eax, 0x40004
mov ecx, dword [rbp - 0x20]
and ecx, eax
movups xmmword [rbp + 0x1a0], xmm6
mov byte [rbp + 0x190], 0
cmp ecx, eax
jne 0x1400487b2
lea rdx, str.Windows_NT
lea rcx, [rbp + 0x190]
mov r8d, 0xa
call fcn.14000451c
jmp 0x1400487cb
lea rdx, str.Unknown
lea rcx, [rbp + 0x190]
mov r8d, 7
call fcn.14000451c
test r14b, r14b
je 0x1400487d9
mov r8d, dword [rbp + 0x1b0]
jmp 0x140048805
mov eax, dword [rbp - 0x38]
mov ecx, eax
shr ecx, 0x10
mov dword [rsi + 0x50], ecx
mov ecx, 0xffff
and eax, ecx
mov dword [rsi + 0x54], eax
mov r8d, dword [rbp - 0x34]
mov eax, r8d
shr eax, 0x10
mov dword [rsi + 0x58], eax
and r8d, ecx
mov dword [rbp + 0x1b0], r8d
lea rdx, [0x140123773]
lea rcx, [rbp + 0x120]
call fcn.14000da9c
lea rdi, [rsi + 0x28]
lea rbx, [rbp + 0x120]
mov rcx, rdi
mov rdx, rbx
call fcn.140008fca
mov rcx, rbx
call fcn.140005a44
mov rbx, qword [rbp + 0x170]
test rbx, rbx
je 0x1400488ff
lea rcx, [rbp + 0x100]
movups xmmword [rcx + 0x10], xmm6
mov byte [rcx], 0
mov byte [rbp + 0x1b5], 1
lea rdx, [0x14012ef4c]
mov r8d, 2
call fcn.14000451c
mov r8, qword [rbp + 0x170]
cmp qword [rbp + 0x178], 0xf
jbe 0x140048885
mov r12, qword [rbp + 0x160]
mov byte [rbp + 0x1b6], 1
lea rcx, [rbp + 0x100]
mov rdx, r12
call fcn.1400052c6
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rcx, [rbp + 0xe0]
movaps xmmword [rcx + 0x10], xmm1
movaps xmmword [rcx], xmm0
movups xmmword [rax + 0x10], xmm6
mov byte [rax], 0
mov byte [rbp + 0x1b7], 1
lea rdx, [0x14012ef25]
mov r8d, 1
call fcn.1400052c6
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp + 0x150], xmm1
movaps xmmword [rbp + 0x140], xmm0
movups xmmword [rax + 0x10], xmm6
mov byte [rax], 0
cmp qword [rbp + 0x158], 0x10
jb 0x140048908
mov rax, qword [rbp + 0x140]
jmp 0x14004890f
lea rax, [0x140130ceb]
jmp 0x14004890f
lea rax, [rbp + 0x140]
test rbx, rbx
setne byte [rbp + 0x1b4]
cmp qword [rsi + 0x40], 0x10
jb 0x140048923
mov rdi, qword [rdi]
mov qword [rbp + 0x188], rbx
mov ecx, dword [rsi + 0x58]
mov r9d, dword [rsi + 0x50]
mov edx, dword [rsi + 0x54]
cmp qword [rbp + 0x1a8], 0xf
jbe 0x140048945
mov r15, qword [rbp + 0x190]
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 + 0x120]
mov r8, r15
call fcn.14000da9c
add rsi, 8
lea rdi, [rbp + 0x120]
mov rcx, rsi
mov rdx, rdi
call fcn.140008fca
mov rcx, rdi
call fcn.140005a44
cmp qword [rbp + 0x188], 0
je 0x1400489b9
lea rcx, [rbp + 0x140]
call fcn.140005a44
lea rcx, [rbp + 0xe0]
call fcn.140005a44
lea rcx, [rbp + 0x100]
call fcn.140005a44
lea rcx, [rbp + 0x190]
call fcn.140005a44
lea rcx, [rbp + 0x160]
call fcn.140005a44
movaps xmm6, xmmword [rbp + 0x1c0]
add rsp, 0x250
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret