Function at 0x14002d190
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, 0xc8
mov qword [rsp + 0x38], r9
mov r14, r8
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0xc0], rax
xor r13d, r13d
mov dword [rcx], r13d
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], r13
mov dword [rcx + 0x80], r9d
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 + 0xa0], r13
movaps xmmword [rsp + 0x90], xmm0
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x78], r13
mov dword [rsp + 0x80], r13d
mov qword [rsp + 0x88], r13
lea rax, [rsp + 0x60]
mov qword [rax], r13
mov qword [rsp + 0x20], rax
lea rdx, [0x1402815b0]
mov rcx, 0xffffffff80000002
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14002d329
mov rcx, qword [rsp + 0x78]
test rcx, rcx
jne 0x14002d665
lea r9, [rsp + 0x60]
mov rcx, qword [r9]
mov qword [rsp + 0x78], rcx
xor r13d, r13d
mov dword [rsp + 0x80], r13d
mov eax, 4
mov dword [r9], eax
lea rdx, [rsp + 0x50]
mov dword [rdx], eax
lea rax, [rsp + 0xb0]
mov dword [rax], r13d
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rax
lea rdx, [0x14028160a]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14002d2f2
mov eax, dword [rsp + 0x60]
add eax, 0xfffffffd
xor r13d, r13d
cmp dword [rsp + 0x50], 4
mov ecx, 0
jne 0x14002d2eb
mov ecx, dword [rsp + 0xb0]
cmp eax, 2
cmovb r13d, ecx
lea rdx, str.DisplayVersion
lea rcx, [rsp + 0x78]
lea r15, [rsp + 0x90]
mov r8, r15
call fcn.14002d970
movsx rax, byte [r15 + 0x17]
test rax, rax
jns 0x14002d320
mov rax, qword [rsp + 0x98]
test rax, rax
je 0x14002d746
lea rax, [rsp + 0x90]
movsx rcx, byte [rax + 0x17]
test rcx, rcx
cmovs rcx, qword [rax + 8]
lea rbp, [rsi + 0x20]
cmovs rax, qword [rax]
lea r12, [rsi + 0x38]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rcx
test rcx, rcx
js 0x14002d670
sete cl
test rax, rax
setne al
or al, cl
je 0x14002d683
lea r15, [rsp + 0x60]
lea rdx, [rsp + 0x50]
mov rcx, r15
call fcn.140146490
mov rdi, qword [r15]
mov rax, qword [r15 + 8]
mov qword [rsp + 0xb0], rax
mov rax, qword [r15 + 0xf]
mov qword [rsp + 0xb7], rax
mov r15b, byte [r15 + 0x17]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14002d3c3
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x78], 0
mov dword [rsp + 0x80], 0
mov rcx, qword [rsp + 0x88]
mov qword [rsp + 0x88], 0
test rcx, rcx
jne 0x14002d624
cmp byte [rsp + 0xa7], 0
js 0x14002d696
mov dword [rsi + 0x10], r13d
cmp byte [rsi + 0x37], 0
js 0x14002d6a8
mov qword [rsi + 0x20], rdi
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xb7]
mov qword [rsi + 0x28], rax
mov qword [rsi + 0x2f], rcx
mov byte [rsi + 0x37], r15b
mov edx, dword [rsi + 4]
mov eax, Ordinal_26
cmp edx, 0xa
jne 0x14002d87d
mov ecx, dword [rsi + 0xc]
cmp ecx, 0x5866
ja 0x14002d633
cmp ecx, 0x585c
ja 0x14002d63d
cmp ecx, 0x55ef
ja 0x14002d47f
cmp ecx, 0x4f7b
ja 0x14002d647
cmp ecx, 0x4a64
ja 0x14002d651
je 0x14002d65b
mov eax, 0x12
cmp ecx, 0x4a62
jbe 0x14002d608
mov dword [rsi], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r15, rax
mov eax, dword [0x1402c59e0]
mov ecx, dword [0x1402c2670]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jle 0x14002d4f0
lea rcx, [0x1402c59e0]
call fcn.14018f720
cmp dword [0x1402c59e0], 0xffffffff
jne 0x14002d4f0
lea rcx, [0x1402783f8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.IsWow64Process2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402c59d8], rax
lea rcx, [0x1402c59e0]
call fcn.14018f6b4
mov rax, qword [0x1402c59d8]
test rax, rax
je 0x14002d6fe
xor ecx, ecx
lea rdx, [rsp + 0x90]
mov word [rdx], cx
lea r8, [rsp + 0x78]
mov word [r8], cx
mov rcx, r15
call qword [0x1402a3ee8]
test eax, eax
je 0x14002d554
movzx eax, word [rsp + 0x90]
test eax, eax
jne 0x14002d6c4
mov dword [rsi + 0x60], eax
movzx eax, word [rsp + 0x78]
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
lea rcx, [rbx + 0x14]
lea r15, [rsp + 0x40]
mov qword [r15], rcx
call fcn.14018f978
mov qword [r15 + 8], rax
lea rcx, [rsp + 0x90]
mov rdx, r15
call fcn.140146490
cmp byte [rsi + 0x4f], 0
js 0x14002d6b6
mov rax, qword [rsp + 0xa0]
mov qword [r12 + 0x10], rax
movups xmm0, xmmword [rsp + 0x90]
movups xmmword [r12], 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 0x14002d821
mov rax, qword [rsp + 0x38]
cmp eax, 4
jne 0x14002d764
mov dword [rsi + 0x14], 3
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140191d70
mov rax, rsi
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
je 0x14002d8db
mov eax, 0x10
cmp ecx, 0x4a60
ja 0x14002d47f
jmp 0x14002d8e5
mov edx, 1
call fcn.140017250
jmp 0x14002d3e0
mov eax, Ordinal_26
jmp 0x14002d47f
mov eax, Ordinal_26
jmp 0x14002d47f
mov eax, 0x15
jmp 0x14002d47f
mov eax, 0x14
jmp 0x14002d47f
mov eax, 0x13
jmp 0x14002d47f
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14002d27e
lea rcx, [0x1402742d5]
lea rdx, str....._third_partylibc_srcinclude_string_view:318:_assertion___len___static_cast_size_type__numeric_limits_difference_type_::max____failed:_string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type_n
call fcn.1401ceaf0
lea rcx, [0x1402742d5]
lea rdx, str....._third_partylibc_srcinclude_string_view:320:_assertion___len__0____s___nullptr_failed:_string_view::string_view__CharT___size_t_:_received_nullptr_n
call fcn.1401ceaf0
mov rcx, qword [rsp + 0x90]
call fcn.14018f5a0
jmp 0x14002d3ee
mov rcx, qword [rbp]
call fcn.14018f5a0
jmp 0x14002d3fc
mov rcx, qword [r12]
call fcn.14018f5a0
jmp 0x14002d597
lea ecx, [rax - 0x1c0]
cmp ecx, 4
ja 0x14002d6d9
mov edx, 0x15
bt edx, ecx
jb 0x14002d6f4
cmp eax, 0x14c
jne 0x14002d6ea
mov eax, 1
jmp 0x14002d533
mov eax, 3
jmp 0x14002d533
mov eax, 2
jmp 0x14002d533
lea rdx, [rsp + 0x90]
mov dword [rdx], 0
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x14002d554
cmp dword [rsp + 0x90], 0
je 0x14002d73a
movabs rax, 0x100000001
mov qword [rsi + 0x60], rax
jmp 0x14002d554
mov dword [rsi + 0x60], 0
jmp 0x14002d554
lea rdx, str.ReleaseId
lea rcx, [rsp + 0x78]
lea r8, [rsp + 0x90]
call fcn.14002d970
jmp 0x14002d329
cmp eax, 0x30
ja 0x14002d7a7
mov eax, dword [rsp + 0x38]
mov ecx, 0x206f780
bt rcx, rax
jae 0x14002d784
mov dword [rsi + 0x14], 2
jmp 0x14002d5e1
mov ecx, 0x8010040
bt rcx, rax
jb 0x14002d5da
movabs rcx, 0x1000000000002
bt rcx, rax
jb 0x14002d871
mov rax, qword [rsp + 0x38]
add eax, 0xffffffba
cmp eax, 0x3c
ja 0x14002d7e4
movabs rcx, 0x1980000000004005
bt rcx, rax
jb 0x14002d5da
movabs rcx, 0x18000000000000
bt rcx, rax
jae 0x14002d7e4
mov dword [rsi + 0x14], 4
jmp 0x14002d5e1
mov rax, qword [rsp + 0x38]
add eax, 0xffffff74
cmp eax, 0x33
ja 0x14002d82f
mov rcx, rax
movabs rax, 0x9000000000003
bt rax, rcx
jb 0x14002d5da
mov eax, 0x3000000
bt rax, rcx
jae 0x14002d82f
mov dword [rsi + 0x14], 5
jmp 0x14002d5e1
cmp eax, 5
je 0x14002d83b
cmp eax, 6
je 0x14002d5cc
mov dword [rsi + 0x14], 0
jmp 0x14002d5e1
mov eax, dword [rbx + 8]
cmp eax, 1
je 0x14002d868
cmp eax, 2
jne 0x14002d82f
cmp byte [rbx + 0x11a], 1
jne 0x14002d858
cmp word [r14], 9
je 0x14002d871
cmp word [rbx + 0x118], 0
jns 0x14002d778
jmp 0x14002d82f
test byte [rbx + 0x119], 2
jne 0x14002d82f
mov dword [rsi + 0x14], 1
jmp 0x14002d5e1
cmp edx, 0xb
je 0x14002d47f
cmp edx, 7
jb 0x14002d89a
call fcn.1401d1140
mov eax, Ordinal_26
jmp 0x14002d47f
mov ecx, dword [rsi + 8]
cmp edx, 6
jne 0x14002d8b5
lea edx, [rcx + 3]
cmp ecx, 3
mov eax, 6
cmovb eax, edx
jmp 0x14002d47f
cmp edx, 5
setne dl
test ecx, ecx
sete r8b
xor eax, eax
or r8b, dl
jne 0x14002d47f
xor eax, eax
cmp ecx, 1
setne al
inc eax
jmp 0x14002d47f
mov eax, 0x11
jmp 0x14002d47f
mov eax, 0xf
cmp ecx, 0x47ba
ja 0x14002d47f
mov eax, reloc.WLDAP32.dll_Ordinal_14
je 0x14002d47f
mov eax, Ordinal_14
cmp ecx, 0x4562
ja 0x14002d47f
mov eax, Ordinal_14
cmp ecx, 0x42ed
ja 0x14002d47f
mov eax, Ordinal_14
cmp ecx, 0x3faa
ja 0x14002d47f
mov eax, 0xa
cmp ecx, 0x3ad6
ja 0x14002d47f
mov eax, 9
cmp ecx, 0x3838
ja 0x14002d47f
cmp ecx, 0x295a
mov eax, 7
sbb eax, 0xffffffff
jmp 0x14002d47f