Function at 0x1400042b0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.1400037a0
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400042b0
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 - 0x280]
sub rsp, 0x380
mov rax, qword [0x1400b8080]
xor rax, rsp
mov qword [rbp + 0x270], rax
mov r15, rcx
mov qword [rsp + 0x40], rcx
xor edi, edi
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x38], rdi
lea r8d, [rdi + 4]
lea rdx, str.path
lea rcx, [rbp - 0x50]
call fcn.140002130
mov r12d, edi
lea r13, [r15 + 0x2b8]
mov qword [rsp + 0x48], r13
lea r8, [rbp - 0x50]
lea rdx, [rsp + 0x50]
mov rcx, r13
call fcn.140023a80
lea esi, [rdi + 1]
lea rdx, [rdi - 1]
mov r14, qword [rbp - 0x38]
mov r10, qword [rbp - 0x50]
mov r11, qword [rsp + 0x60]
cmp byte [r11 + 0x19], dil
jne 0x1400043cd
lea rax, [r11 + 0x20]
cmp qword [r11 + 0x38], 7
jbe 0x14000435e
mov rax, qword [r11 + 0x20]
lea r9, [rbp - 0x50]
cmp r14, 7
cmova r9, r10
mov rbx, qword [r11 + 0x30]
mov rdi, qword [rbp - 0x40]
mov rcx, rdi
cmp rbx, rdi
cmovb rcx, rbx
test rcx, rcx
je 0x14000439b
sub r9, rax
movzx edx, word [r9 + rax]
cmp dx, word [rax]
jne 0x1400043a4
add rax, 2
sub rcx, rsi
jne 0x140004384
lea rdx, [rcx - 1]
cmp rdi, rbx
jae 0x1400043b2
mov eax, edx
jmp 0x1400043ba
mov eax, esi
mov rcx, 0xffffffffffffffff
cmovb eax, ecx
jmp 0x1400043ba
xor eax, eax
cmp rdi, rbx
seta al
shr eax, 0x1f
xor edi, edi
test al, al
jne 0x1400043cd
cmp r11, qword [r13]
je 0x1400043cd
mov r12, qword [r11 + 0x40]
cmp r14, 7
jbe 0x140004408
lea rdx, [r14*2 + 2]
mov rax, r10
cmp rdx, 0x1000
jb 0x140004400
add rdx, 0x27
mov r10, qword [r10 - 8]
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000490a
mov rcx, r10
call fcn.140061530
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x60], xmm1
mov r8d, 7
lea rdx, str.AppPath
lea rcx, [rbp - 0x70]
call fcn.140002130
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov r8d, 0x16
lea rdx, str.SoftwareNBA2K24_Tools
lea rcx, [rsp + 0x50]
call fcn.140002130
nop
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 7
cmova rdx, qword [rsp + 0x50]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140004521
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x34], 0x100
xor edx, edx
mov r8d, 0x1fe
lea rcx, [rbp + 0x70]
call fcn.140087930
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 7
cmova rdx, qword [rbp - 0x70]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x140004521
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
lea rax, [rbp + 0x70]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140004510
lea rdx, [rbp + 0x70]
jmp 0x14000453b
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
xor r8d, r8d
lea rdx, [0x140097bb8]
lea rcx, [rsp + 0x70]
call fcn.140002130
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x140004588
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004583
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004910
call fcn.140061530
movdqa xmm0, xmmword [0x1400a4610]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], di
mov rdx, qword [rbp - 0x58]
cmp rdx, 7
jbe 0x1400045db
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400045d6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004916
call fcn.140061530
movdqa xmm0, xmmword [0x1400a4610]
movdqu xmmword [rbp - 0x60], xmm0
mov word [rbp - 0x70], di
mov rdx, qword [rbp - 0x80]
test rdx, rdx
je 0x140004653
lea rcx, [r15 + 0x358]
lea rax, [rsp + 0x70]
cmp rcx, rax
je 0x140004653
lea r9, [rsp + 0x70]
mov r14, qword [rbp - 0x78]
cmp r14, 7
cmova r9, qword [rsp + 0x70]
mov rax, qword [rcx + 0x18]
cmp rdx, rax
ja 0x14000464e
mov rdi, rcx
cmp rax, 7
jbe 0x14000462e
mov rdi, qword [rcx]
mov qword [rcx + 0x10], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r9
mov rcx, rdi
call fcn.140087290
xor r13d, r13d
mov word [rdi + rbx], r13w
jmp 0x14000465a
call fcn.140002c40
xor r13d, r13d
mov r14, qword [rbp - 0x78]
lea rdx, [r15 + 0x358]
mov rcx, r12
call fcn.140016ef0
lea rax, vtable.std::_Func_impl_no_alloc_class__private:_void___cdecl_MainForm::InitInstallPath_void____ptr64::_2::_lambda_1___bool__struct_ui::EventArgs____ptr64_.0
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], r15
mov qword [rbp], r12
lea rax, [rbp - 0x10]
mov qword [rbp + 0x28], rax
mov dword [rsp + 0x30], 0x2c
lea rcx, [r12 + 0x90]
lea rdx, [rsp + 0x30]
call fcn.140001c10
mov rdi, rax
mov rbx, qword [rax + 8]
cmp rbx, qword [rax + 0x10]
je 0x1400046d0
mov qword [rsp + 0x38], rbx
mov qword [rbx + 0x38], r13
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x1400046c9
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax]
mov qword [rbx + 0x38], rax
add qword [rdi + 8], 0x40
jmp 0x1400046e0
lea r8, [rbp - 0x10]
mov rdx, rbx
mov rcx, rdi
call fcn.140002950
nop
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x1400046f9
mov rax, qword [rcx]
lea rdx, [rbp - 0x10]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], r13
mov qword [rbp - 0x18], r13
mov r8d, 8
lea rdx, str.path_btn
lea rcx, [rbp - 0x30]
call fcn.140002130
lea r8, [rbp - 0x30]
lea rdx, [rsp + 0x50]
lea rcx, [r15 + 0x2b8]
call fcn.140023a80
mov r15, qword [rbp - 0x18]
mov r10, qword [rbp - 0x30]
mov r11, qword [rsp + 0x60]
cmp byte [r11 + 0x19], 0
jne 0x1400047cf
lea rax, [r11 + 0x20]
cmp qword [r11 + 0x38], 7
jbe 0x14000475a
mov rax, qword [r11 + 0x20]
lea r9, [rbp - 0x30]
cmp r15, 7
cmova r9, r10
mov rbx, qword [r11 + 0x30]
mov rdi, qword [rbp - 0x20]
mov rcx, rdi
cmp rbx, rdi
cmovb rcx, rbx
test rcx, rcx
je 0x140004794
sub r9, rax
movzx edx, word [rax + r9]
cmp dx, word [rax]
jne 0x1400047a2
add rax, 2
sub rcx, 1
jne 0x140004780
cmp rdi, rbx
jae 0x1400047ae
mov rsi, 0xffffffffffffffff
jmp 0x1400047b9
mov rax, 0xffffffffffffffff
cmovb esi, eax
jmp 0x1400047b9
xor eax, eax
mov esi, eax
cmp rdi, rbx
seta sil
shr esi, 0x1f
test sil, sil
jne 0x1400047cf
mov rax, qword [rsp + 0x48]
cmp r11, qword [rax]
je 0x1400047cf
mov r13, qword [r11 + 0x40]
cmp r15, 7
jbe 0x14000480a
lea rdx, [r15*2 + 2]
mov rax, r10
cmp rdx, 0x1000
jb 0x140004802
add rdx, 0x27
mov r10, qword [r10 - 8]
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000491c
mov rcx, r10
call fcn.140061530
lea rax, vtable.std::_Func_impl_no_alloc_class__private:_void___cdecl_MainForm::InitInstallPath_void____ptr64::_2::_lambda_2___bool__struct_ui::EventArgs____ptr64_.0
mov qword [rbp + 0x30], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x38], rax
mov qword [rbp + 0x40], r12
lea rax, [rbp + 0x30]
mov qword [rbp + 0x68], rax
mov dword [rsp + 0x30], 0x29
lea rcx, [r13 + 0x90]
lea rdx, [rsp + 0x30]
call fcn.140001c10
mov rdi, rax
mov rbx, qword [rax + 8]
cmp rbx, qword [rax + 0x10]
je 0x140004877
mov qword [rsp + 0x40], rbx
xor eax, eax
mov qword [rbx + 0x38], rax
mov rcx, qword [rbp + 0x68]
test rcx, rcx
je 0x140004870
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax]
mov qword [rbx + 0x38], rax
add qword [rdi + 8], 0x40
jmp 0x140004887
lea r8, [rbp + 0x30]
mov rdx, rbx
mov rcx, rdi
call fcn.140002950
nop
mov rcx, qword [rbp + 0x68]
test rcx, rcx
je 0x1400048a1
mov rax, qword [rcx]
lea rdx, [rbp + 0x30]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
nop
cmp r14, 7
jbe 0x1400048da
lea rdx, [r14*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400048d5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000490a
call fcn.140061530
mov rcx, qword [rbp + 0x270]
xor rcx, rsp
call fcn.140061510
lea r11, [rsp + 0x380]
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.14006a6c0
nop
call fcn.14006a6c0
nop
call fcn.14006a6c0
int3
call fcn.14006a6c0
int3