Function at 0x14004a9c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x140090030]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov rsi, rcx
xor r13d, r13d
mov dword [rsp + 0x40], r13d
mov qword [rcx + 0x48], rdx
mov qword [rbp + 0x60], 0x11c
mov qword [rbp + 0x68], r13
mov dword [rbp + 0x70], r13d
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0x74]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp + 0x174], r13d
mov dword [rbp + 0x178], 0x10000
mov r8b, 1
mov edx, 0x80
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov r8, rax
mov edx, 0x80
lea rcx, [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
sete al
mov byte [rsi + 0x5c], al
xor r12b, r12b
mov r15d, r13d
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9d, [r13 + 1]
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea rdi, [r13 - 1]
test eax, eax
jne 0x14004ac8f
mov rbx, qword [rsp + 0x50]
mov qword [rsp + 0x58], rbx
mov dword [rsp + 0x40], 4
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x44]
xor r8d, r8d
lea rdx, str.CurrentMajorVersionNumber
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14004ac81
cmp dword [rsp + 0x44], 4
jne 0x14004ac81
mov eax, dword [rsp + 0x48]
mov dword [rsi + 0x50], eax
mov dword [rsp + 0x48], 4
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x44]
xor r8d, r8d
lea rdx, str.CurrentMinorVersionNumber
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14004ac81
cmp dword [rsp + 0x44], 4
jne 0x14004ac81
mov eax, dword [rsp + 0x40]
mov dword [rsi + 0x54], eax
mov dword [rsp + 0x40], 0xa
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x180]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x48]
xor r8d, r8d
lea rdx, str.CurrentBuildNumber
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14004ac81
cmp dword [rsp + 0x48], 1
jne 0x14004ac81
mov eax, dword [rsp + 0x40]
cmp rax, 0xb
jae 0x14004b1b2
mov byte [rbp + rax + 0x180], r12b
mov qword [rbp - 0x68], r13
mov qword [rbp - 0x58], r13
mov qword [rbp - 0x50], 0xf
mov byte [rbp - 0x68], r12b
lea rax, [rbp + 0x180]
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x14004abc1
lea rdx, [rbp + 0x180]
lea rcx, [rbp - 0x68]
call fcn.140003ab0
nop
lea rdx, [rsp + 0x44]
lea rcx, [rbp - 0x68]
call fcn.140019c40
movzx r14d, al
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x14004ac2c
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004ac27
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004ac27
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140058888
test r14b, r14b
je 0x14004ac81
mov eax, dword [rsp + 0x44]
mov dword [rsi + 0x58], eax
mov dword [rsp + 0x48], 4
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x44]
xor r8d, r8d
lea rdx, [0x140076308]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14004ac81
cmp dword [rsp + 0x44], 4
jne 0x14004ac81
mov r15d, dword [rsp + 0x40]
mov r12b, 1
test rbx, rbx
je 0x14004ac8f
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x68], r13
mov qword [rbp - 0x58], r13
mov qword [rbp - 0x50], 7
mov word [rbp - 0x68], r13w
lea rdx, str.kernel32.dll
nop dword [rax + rax]
inc rdi
cmp word [rdx + rdi*2], 0
jne 0x14004acb0
mov r8, rdi
lea rcx, [rbp - 0x68]
call fcn.14000a0c0
nop
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 8]
call fcn.14000c110
nop
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.1400198d0
movzx ebx, al
lea rcx, [rbp - 8]
call fcn.1400048f0
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 8
jb 0x14004ad32
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004ad2d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004ad2d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140058888
test bl, bl
je 0x14004b182
mov edx, dword [rsp + 0x7c]
lea rcx, [rbp + 0x38]
call fcn.14004a710
nop
mov eax, dword [rbp - 0x80]
and eax, 0x40004
mov qword [rbp - 0x30], 0xf
mov ebx, 8
mov dword [rsp + 0x40], ebx
cmp eax, 0x40004
jne 0x14004ad92
mov byte [rbp - 0x48], 0
mov qword [rbp - 0x38], 0xa
movsd xmm0, qword [str.Windows_NT]
movsd qword [rbp - 0x48], xmm0
movzx eax, word [0x1400761f0]
mov word [rbp - 0x40], ax
mov byte [rbp - 0x3e], 0
jmp 0x14004adc4
mov qword [rbp - 0x48], r13
mov byte [rbp - 0x48], 0
mov qword [rbp - 0x38], 7
mov eax, dword [str.Unknown]
mov dword [rbp - 0x48], eax
movzx eax, word [0x1400761fc]
mov word [rbp - 0x44], ax
movzx eax, byte [0x1400761fe]
mov byte [rbp - 0x42], al
mov byte [rbp - 0x41], 0
test r12b, r12b
jne 0x14004adeb
mov ecx, dword [rsp + 0x68]
mov eax, ecx
shr eax, 0x10
mov dword [rsi + 0x50], eax
movzx eax, cx
mov dword [rsi + 0x54], eax
mov ecx, dword [rsp + 0x6c]
mov eax, ecx
shr eax, 0x10
mov dword [rsi + 0x58], eax
movzx r15d, cx
mov r8d, r15d
lea rdx, [0x140076310]
lea rcx, [rbp - 8]
call fcn.14000e6e0
lea rdi, [rsi + 0x28]
mov rdx, rax
mov rcx, rdi
call fcn.140014870
mov rdx, qword [rbp + 0x10]
cmp rdx, 0x10
jb 0x14004ae4b
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004ae46
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004ae46
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140058888
mov r8, qword [rbp + 0x48]
test r8, r8
jne 0x14004ae60
lea rax, [0x140069c09]
jmp 0x14004af68
mov qword [rbp + 0x18], r13
mov qword [rbp + 0x30], 0xf
mov qword [rbp + 0x28], 2
mov eax, 0x2820
mov word [rbp + 0x18], ax
mov byte [rbp + 0x1a], 0
mov dword [rsp + 0x40], 9
lea rdx, [rbp + 0x38]
cmp qword [rbp + 0x50], 0x10
cmovae rdx, qword [rbp + 0x38]
lea rcx, [rbp + 0x18]
call fcn.14000e730
mov qword [rbp - 0x28], r13
mov qword [rbp - 0x18], r13
mov qword [rbp - 0x10], r13
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x18], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov dword [rsp + 0x40], 0x1b
mov rcx, qword [rbp - 0x18]
mov rdx, qword [rbp - 0x10]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x14004af07
lea rax, [rcx + 1]
mov qword [rbp - 0x18], rax
lea rax, [rbp - 0x28]
cmp rdx, 0x10
cmovae rax, qword [rbp - 0x28]
mov word [rax + rcx], 0x29
lea rax, [rbp - 0x28]
jmp 0x14004af27
mov qword [rsp + 0x20], 1
lea r9, [0x14006aec0]
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp - 0x28]
call fcn.140001970
mov qword [rbp - 0x68], r13
mov qword [rbp - 0x58], r13
mov qword [rbp - 0x50], r13
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x58], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov ebx, 0x3f
mov dword [rsp + 0x40], ebx
lea rax, [rbp - 0x68]
cmp qword [rbp - 0x50], 0x10
cmovae rax, qword [rbp - 0x68]
cmp qword [rdi + 0x18], 0x10
jb 0x14004af72
mov rdi, qword [rdi]
lea r8, [rbp - 0x48]
cmp qword [rbp - 0x30], 0x10
cmovae r8, qword [rbp - 0x48]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov eax, dword [rsi + 0x58]
mov dword [rsp + 0x28], eax
mov eax, dword [rsi + 0x54]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsi + 0x50]
lea rdx, str._s__u._u._u._s_s
lea rcx, [rbp - 8]
call fcn.14000e6e0
lea rcx, [rsi + 8]
mov rdx, rax
call fcn.140014870
mov rdx, qword [rbp + 0x10]
cmp rdx, 0x10
jb 0x14004aff6
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004aff1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004aff1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140058888
mov qword [rbp + 8], r13
mov qword [rbp + 0x10], 0xf
mov byte [rbp - 8], 0
test bl, 4
je 0x14004b05c
and ebx, 0xfffffffb
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x14004b04c
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004b047
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004b047
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140058888
mov qword [rbp - 0x58], r13
mov qword [rbp - 0x50], 0xf
mov byte [rbp - 0x68], 0
test bl, 2
je 0x14004b0b2
and ebx, 0xfffffffd
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x14004b0a2
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004b09d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004b09d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140058888
mov qword [rbp - 0x18], r13
mov qword [rbp - 0x10], 0xf
mov byte [rbp - 0x28], 0
test bl, 1
je 0x14004b0f6
mov rdx, qword [rbp + 0x30]
cmp rdx, 0x10
jb 0x14004b0f6
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004b0f0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004b0f0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140058888
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x14004b134
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004b12f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004b12f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140058888
mov qword [rbp - 0x38], r13
mov qword [rbp - 0x30], 0xf
mov byte [rbp - 0x48], 0
mov rdx, qword [rbp + 0x50]
cmp rdx, 0x10
jb 0x14004b182
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004b17d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004b17d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140058888
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.140058920
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140058ffc
nop
int3