Function at 0x14002f740
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, 0xb8
mov edi, r9d
mov r14, r8
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x1402cb038]
xor rax, rsp
mov qword [rsp + 0xb0], rax
xor r12d, r12d
mov dword [rcx], r12d
xorps xmm0, xmm0
movups xmmword [rcx + 0x20], xmm0
movups xmmword [rcx + 0x30], xmm0
movups xmmword [rcx + 0x40], xmm0
movabs rax, 0x300000004
mov qword [rcx + 0x60], rax
movups xmmword [rcx + 0x68], xmm0
mov qword [rcx + 0x78], r12
mov eax, dword [rdx + 4]
mov dword [rcx + 4], eax
mov eax, dword [rdx + 8]
mov dword [rcx + 8], eax
mov eax, dword [rdx + 0xc]
mov dword [rcx + 0xc], eax
mov qword [rsp + 0x90], r12
movaps xmmword [rsp + 0x80], xmm0
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x68], r12
mov dword [rsp + 0x70], r12d
mov qword [rsp + 0x78], r12
lea rax, [rsp + 0x50]
mov qword [rax], r12
mov qword [rsp + 0x20], rax
lea rdx, [0x1402a8ae0]
mov rcx, 0xffffffff80000002
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14002fa26
lea r9, [rsp + 0x50]
mov rcx, qword [r9]
mov qword [rsp + 0x68], rcx
xor r12d, r12d
mov dword [rsp + 0x70], r12d
mov eax, 4
mov dword [r9], eax
lea rdx, [rsp + 0x40]
mov dword [rdx], eax
lea rax, [rsp + 0xa0]
mov dword [rax], r12d
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rax
lea rdx, [0x1402a8b3a]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14002f87f
mov eax, dword [rsp + 0x50]
add eax, 0xfffffffd
xor r12d, r12d
cmp dword [rsp + 0x40], 4
mov ecx, 0
jne 0x14002f878
mov ecx, dword [rsp + 0xa0]
cmp eax, 2
cmovb r12d, ecx
lea rdx, str.DisplayVersion
lea rcx, [rsp + 0x68]
lea r15, [rsp + 0x80]
mov r8, r15
call fcn.14002fee0
movzx eax, byte [r15 + 0x17]
mov edx, eax
and edx, 0x7f
test al, al
mov rcx, qword [r15 + 8]
cmovs rdx, rcx
test rdx, rdx
je 0x14002fe88
mov edx, eax
and dl, 0x7f
test al, al
movzx eax, dl
cmovs rax, rcx
lea rcx, [rsp + 0x80]
cmovs rcx, qword [rcx]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rax
test rax, rax
js 0x14002fe30
test rcx, rcx
jne 0x14002f8f3
test rax, rax
jne 0x14002feb1
lea r15, [rsp + 0x50]
lea rdx, [rsp + 0x40]
mov rcx, r15
call fcn.14017d440
mov r13, qword [r15]
mov rax, qword [r15 + 8]
mov qword [rsp + 0xa0], rax
mov rax, qword [r15 + 0xf]
mov qword [rsp + 0xa7], rax
mov bpl, byte [r15 + 0x17]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14002f945
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 0x14002fa2f
cmp byte [rsp + 0x97], 0
js 0x14002fe0d
mov dword [rsi + 0x10], r12d
cmp byte [rsi + 0x37], 0
js 0x14002fe1f
mov qword [rsi + 0x20], r13
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xa7]
mov qword [rsi + 0x28], rax
mov qword [rsi + 0x2f], rcx
mov byte [rsi + 0x37], bpl
mov ecx, dword [rsi + 4]
mov eax, 0x16
cmp ecx, 0xb
je 0x14002fa7c
cmp ecx, 0xa
jne 0x14002fa3e
mov ecx, dword [rsi + 0xc]
mov eax, 0x18
cmp ecx, 0x5866
ja 0x14002fa7c
mov eax, 0x17
cmp ecx, 0x585c
ja 0x14002fa7c
mov eax, 0x16
cmp ecx, 0x55ef
ja 0x14002fa7c
mov eax, 0x15
cmp ecx, 0x4f7b
ja 0x14002fa7c
mov eax, 0x14
cmp ecx, 0x4a64
ja 0x14002fa7c
mov eax, 0x13
je 0x14002fa7c
mov eax, 0x12
cmp ecx, 0x4a62
ja 0x14002fa7c
mov eax, 0x11
je 0x14002fa7c
jmp 0x14002fc0a
xor ecx, ecx
xor eax, eax
jmp 0x14002f8b8
mov edx, 1
call fcn.140040de0
jmp 0x14002f95c
cmp ecx, 7
jae 0x14002fa72
mov edx, dword [rsi + 8]
cmp ecx, 6
je 0x14002fa62
xor eax, eax
test edx, edx
je 0x14002fa7c
cmp ecx, 5
jne 0x14002fa7c
xor eax, eax
cmp edx, 1
setne al
inc eax
jmp 0x14002fa7c
lea ecx, [rdx + 3]
cmp edx, 3
mov eax, 6
cmovb eax, ecx
jmp 0x14002fa7c
call fcn.1402074e0
mov eax, 0x19
mov dword [rsi], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r15, rax
mov eax, dword [0x1402e3f48]
mov ecx, dword [0x1402db110]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jle 0x14002faed
lea rcx, [0x1402e3f48]
call fcn.1401cc16c
cmp dword [0x1402e3f48], 0xffffffff
jne 0x14002faed
lea rcx, [0x1402a4d98]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.IsWow64Process2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402e3f40], rax
lea rcx, [0x1402e3f48]
call fcn.1401cc1d4
mov rax, qword [0x1402e3f40]
test rax, rax
je 0x14002fcac
xor ecx, ecx
lea rdx, [rsp + 0x80]
mov word [rdx], cx
lea r8, [rsp + 0x68]
mov word [r8], cx
mov rcx, r15
call qword [0x1402f5008]
test eax, eax
je 0x14002fb51
movzx eax, word [rsp + 0x80]
test eax, eax
jne 0x14002fcf4
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
mov rcx, rbx
add rcx, 0x14
mov qword [rsp + 0x30], rcx
je 0x14002fe5c
lea r15, [rsi + 0x38]
call fcn.1401cc340
lea rdx, [rsp + 0x30]
mov qword [rdx + 8], rax
lea rcx, [rsp + 0x80]
call fcn.14017d440
cmp byte [rsi + 0x4f], 0
js 0x14002fc9f
mov rax, qword [rsp + 0x90]
mov qword [r15 + 0x10], rax
movups xmm0, xmmword [rsp + 0x80]
movups xmmword [r15], xmm0
mov eax, dword [r14 + 0x20]
mov dword [rsi + 0x50], eax
mov eax, dword [r14 + 0x28]
mov qword [rsi + 0x58], rax
mov eax, dword [rbx + 4]
cmp eax, 0xa
jne 0x14002fd43
cmp edi, 0x30
jne 0x14002fd84
mov dword [rsi + 0x14], 1
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1401ce5b0
mov rax, rsi
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov eax, 0x10
cmp ecx, 0x4a60
ja 0x14002fa7c
mov eax, 0xf
cmp ecx, 0x47ba
ja 0x14002fa7c
mov eax, 0xe
je 0x14002fa7c
mov eax, 0xd
cmp ecx, 0x4562
ja 0x14002fa7c
mov eax, 0xc
cmp ecx, 0x42ed
ja 0x14002fa7c
mov eax, 0xb
cmp ecx, 0x3faa
ja 0x14002fa7c
mov eax, 0xa
cmp ecx, 0x3ad6
ja 0x14002fa7c
mov eax, 9
cmp ecx, 0x3838
ja 0x14002fa7c
cmp ecx, 0x295a
mov eax, 7
sbb eax, 0xffffffff
jmp 0x14002fa7c
mov rcx, qword [r15]
call fcn.1401cbbbc
jmp 0x14002fba0
lea rdx, [rsp + 0x80]
mov dword [rdx], 0
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x14002fb51
cmp dword [rsp + 0x80], 0
je 0x14002fce8
movabs rax, 0x100000001
mov qword [rsi + 0x60], rax
jmp 0x14002fb51
mov dword [rsi + 0x60], 0
jmp 0x14002fb51
lea ecx, [rax - 0x1c0]
cmp ecx, 4
ja 0x14002fd09
mov edx, 0x15
bt edx, ecx
jb 0x14002fd24
cmp eax, 0x14c
jne 0x14002fd1a
mov eax, 1
jmp 0x14002fb30
mov eax, 3
jmp 0x14002fb30
mov eax, 2
jmp 0x14002fb30
cmp eax, 6
je 0x14002fbd3
mov dword [rsi + 0x14], 0
jmp 0x14002fbe3
cmp eax, 5
jne 0x14002fd2e
mov eax, dword [rbx + 8]
cmp eax, 1
je 0x14002fd75
cmp eax, 2
jne 0x14002fd37
cmp byte [rbx + 0x11a], 1
jne 0x14002fd69
cmp word [r14], 9
je 0x14002fbdc
cmp word [rbx + 0x118], 0
jns 0x14002fd93
jmp 0x14002fd37
test byte [rbx + 0x119], 2
je 0x14002fbdc
jmp 0x14002fd37
cmp edi, 0x1b
ja 0x14002fdb2
mov eax, 0x206f780
bt eax, edi
jae 0x14002fd9f
mov dword [rsi + 0x14], 2
jmp 0x14002fbe3
mov eax, 0x8010050
bt eax, edi
jb 0x14002fde5
cmp edi, 1
je 0x14002fbdc
lea eax, [rdi - 0x46]
cmp eax, 0x3c
jbe 0x14002fdd5
add edi, 0xffffff5c
cmp edi, 2
jae 0x14002fd37
mov dword [rsi + 0x14], 5
jmp 0x14002fbe3
movabs rcx, 0x1980000000004005
bt rcx, rax
jae 0x14002fdf1
mov dword [rsi + 0x14], 3
jmp 0x14002fbe3
movabs rcx, 0x18000000000000
bt rcx, rax
jae 0x14002fdba
mov dword [rsi + 0x14], 4
jmp 0x14002fbe3
mov rcx, qword [rsp + 0x80]
call fcn.1401cbbbc
jmp 0x14002f96a
lea rax, [rsi + 0x20]
mov rcx, qword [rax]
call fcn.1401cbbbc
jmp 0x14002f978
lea rax, str.string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_string_view
lea r9, str.__len___static_cast_size_type__numeric_limits_difference_type_::max___
mov r8d, 0x13a
call fcn.140207060
lea rax, str.null_pointer_passed_to_non_null_argument_of_char_traits_..._::length
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_string_view
lea r9, str.__s___nullptr
mov r8d, 0x109
call fcn.140207060
lea rdx, str.ReleaseId
lea rcx, [rsp + 0x68]
lea r15, [rsp + 0x80]
mov r8, r15
call fcn.14002fee0
mov al, byte [r15 + 0x17]
mov rcx, qword [r15 + 8]
jmp 0x14002f8b8
lea rax, str.string_view::string_view__CharT___size_t_:_received_nullptr
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_string_view
lea r9, str.__len__0____s___nullptr
mov r8d, 0x13c
call fcn.140207060
int3