Function at 0x140002850
Capabilities:
Query environment variable
Query or enumerate registry value
Terminate process

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x2f8
mov rax, qword [0x140c9eb10]
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x80], rax
call qword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rdx, str.SetProcessDpiAwarenessContext
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400028ab
mov rcx, 0xfffffffffffffffc
call rax
mov rax, qword [0x140c9eb30]
mov rsi, qword [0x140c9eb40]
mov rbx, rax
mov qword [rsp + 0x58], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
sub rbx, rsi
mov edx, 8
mov rcx, rax
lea r8, [rbx + rbx + 2]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbp, rax
test rbx, rbx
je 0x140002903
xor eax, eax
nop word [rax + rax]
movsx dx, byte [rax + rsi]
mov word [rbp + rax*2], dx
add rax, 1
cmp rbx, rax
jne 0x1400028f0
mov r8d, 0xc0
mov edx, 0x135
lea rbx, [rsp + 0x60]
lea r12, str.Regency_Synthesizer_Installer
lea rsi, str.STATIC
mov rcx, r12
lea r13, str.BUTTON
lea r15, str.Cancel
call fcn.140001700
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor ecx, ecx
mov qword [rsp + 0x28], 0
mov r8, rbx
lea rdi, [0x140001010]
movabs rdx, 0x1300000000
movabs rax, 0x13500000000
mov qword [rsp + 0x68], rdx
mov edx, 0x50000006
mov qword [rsp + 0x60], rax
call fcn.140001860
mov qword [rsp + 0x28], r12
xor ecx, ecx
mov r8, rbx
mov qword [rsp + 0x20], rsi
mov r9d, 0xbb8
movabs rdx, 0xf00000006
movabs rax, 0x13500000000
mov qword [rsp + 0x68], rdx
mov edx, 0x50020001
mov qword [rsp + 0x60], rax
call fcn.140001860
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor ecx, ecx
mov qword [rsp + 0x28], 0
mov r8, rbx
movabs rdx, 0x1400000013
movabs rax, 0x13afffffffb
mov qword [rsp + 0x68], rdx
mov edx, 0x50000010
mov qword [rsp + 0x60], rax
call fcn.140001860
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor ecx, ecx
movabs rax, 0x1280000000d
mov r8, rbx
movabs rdx, 0x290000001c
mov qword [rsp + 0x60], rax
lea rax, str.To_install_Regency__you_need_to_agree_to_the_end_user_license_agreement.
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x68], rdx
mov edx, 0x50020000
call fcn.140001860
mov qword [rsp + 0x28], rbp
xor r9d, r9d
mov r8, rbx
movabs rax, 0x12200000013
mov ecx, 0x20000
movabs rdx, 0xa10000002e
mov qword [rsp + 0x60], rax
lea rax, str.EDIT
lea rbp, [0x141cb1880]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x68], rdx
mov edx, 0x50210844
call fcn.140001860
mov qword [rsp + 0x28], r15
xor ecx, ecx
mov r8, rbx
mov qword [rsp + 0x20], r13
mov r9d, 2
movabs rdx, 0xba000000ac
movabs rax, 0x12e000000fc
mov qword [rsp + 0x68], rdx
mov edx, 0x50010000
mov qword [rsp + 0x60], rax
call fcn.140001860
mov qword [rsp + 0x20], r13
xor ecx, ecx
mov r8, rbx
movabs rax, 0xf8000000c6
mov r9d, 1
movabs rdx, 0xba000000ac
mov qword [rsp + 0x60], rax
lea rax, str.Agree
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x68], rdx
mov edx, 0x50010001
call fcn.140001860
mov rdx, qword [0x140ca1840]
xor r8d, r8d
mov r14, qword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
lea r9, [0x140001fa0]
mov rcx, rdx
lea rax, [rdx + 1]
add rdx, 2
shl rcx, 4
shl rax, 4
mov qword [0x140ca1840], rdx
lea rdx, [0x140ca1860]
add rcx, rbp
add rax, rbp
mov qword [rcx + 8], rdi
lea rdi, section..text
mov dword [rcx], 2
xor ecx, ecx
mov dword [rax], 1
mov qword [rax + 8], rdi
mov qword [rsp + 0x20], 0
call r14
test rax, rax
je 0x140003242
mov rcx, r12
mov r8d, 0xc0
mov edx, 0x135
call fcn.140001700
xor r10d, r10d
mov qword [rsp + 0x20], rsi
xor r9d, r9d
mov qword [rsp + 0x28], r10
mov edx, 0x13
mov r8, rbx
xor ecx, ecx
shl rdx, 0x20
mov eax, 0x135
lea rdi, [0x140001190]
shl rax, 0x20
mov qword [rsp + 0x68], rdx
mov edx, 0x50000006
mov qword [rsp + 0x60], rax
call fcn.140001860
mov qword [rsp + 0x28], r12
mov r8, rbx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
mov eax, 0x135
movabs rdx, 0xf00000006
mov r9d, 0xbb8
shl rax, 0x20
mov qword [rsp + 0x68], rdx
mov edx, 0x50020001
lea r12, [rsp + 0x90]
mov qword [rsp + 0x60], rax
call fcn.140001860
xor r11d, r11d
mov qword [rsp + 0x20], rsi
xor r9d, r9d
mov qword [rsp + 0x28], r11
mov r8, rbx
xor ecx, ecx
movabs rdx, 0x1400000013
movabs rax, 0x13afffffffb
mov qword [rsp + 0x68], rdx
mov edx, 0x50000010
mov qword [rsp + 0x60], rax
call fcn.140001860
mov qword [rsp + 0x20], rsi
mov r8, rbx
xor ecx, ecx
movabs rax, 0x1280000000d
mov r9d, 0xffff
movabs rdx, 0x290000001c
mov qword [rsp + 0x60], rax
lea rax, str.Select_the_versions_you_want_to_install:
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x68], rdx
mov edx, 0x50000000
call fcn.140001860
mov qword [rsp + 0x20], r13
mov r8, rbx
xor ecx, ecx
movabs rax, 0x11a0000001b
mov r9d, 0x3e8
movabs rdx, 0x3700000029
mov qword [rsp + 0x60], rax
lea rax, str.CLAP__64_bit_
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x68], rdx
mov edx, 0x50010003
call fcn.140001860
mov rax, qword [0x140ca1840]
mov r8d, 0xfa
lea rcx, str.COMMONPROGRAMFILES
lea rdx, [rax + 1]
shl rax, 4
add rax, rbp
mov qword [0x140ca1840], rdx
mov rdx, r12
mov qword [rax + 8], rdi
mov rdi, qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov dword [rax], 0x3e8
call rdi
sub eax, 1
cmp eax, 0xee
jbe 0x14000324a
mov qword [rsp + 0x20], rsi
xor r9d, r9d
mov r8, rbx
xor ecx, ecx
movabs rax, 0x11000000025
movabs rdx, 0x4b00000037
mov qword [rsp + 0x60], rax
lea rax, str._not_available_
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x68], rdx
mov edx, 0x50000000
call fcn.140001860
mov qword [rsp + 0x20], r13
mov r9d, 0x3e9
mov r8, rbx
xor ecx, ecx
movabs rax, 0x11a0000001b
movabs rdx, 0x590000004b
mov qword [rsp + 0x60], rax
lea rax, str.CLAP__32_bit_
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x68], rdx
mov edx, 0x50010003
call fcn.140001860
mov rax, qword [0x140ca1840]
lea rcx, [0x140001160]
mov r8d, 0xfa
lea rdx, [rax + 1]
shl rax, 4
add rax, rbp
mov qword [0x140ca1840], rdx
mov rdx, r12
mov qword [rax + 8], rcx
lea rcx, str.COMMONPROGRAMFILES_X86_
mov dword [rax], 0x3e9
call rdi
sub eax, 1
cmp eax, 0xee
ja 0x1400032c0
lea r10, [0x140ca12c0]
lea rdx, str.CLAP
mov rcx, r12
call fcn.140001c40
mov rcx, r10
lea rdx, str.Target:
call fcn.140001c40
mov rcx, r10
mov rdx, r12
call fcn.140001c40
mov qword [rsp + 0x28], r10
xor r9d, r9d
mov r8, rbx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
movabs rdx, 0x6d00000059
movabs rax, 0x11000000025
mov qword [rsp + 0x68], rdx
mov edx, 0x50000000
mov qword [rsp + 0x60], rax
call fcn.140001860
or dword [0x141cb1864], 2
mov qword [rsp + 0x20], r13
xor ecx, ecx
mov r9d, 0x3ea
mov r8, rbx
movabs rax, 0x11a0000001b
lea rdi, [0x140001130]
movabs rdx, 0x7b0000006d
mov qword [rsp + 0x60], rax
lea rax, str.FL_Studio_native
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x68], rdx
mov edx, 0x50010003
call fcn.140001860
mov ecx, 0x4b
xor r8d, r8d
xor r9d, r9d
mov rax, qword [0x140ca1840]
mov dword [rsp + 0x7c], 0x1f4
lea rdx, [rax + 1]
shl rax, 4
add rax, rbp
mov qword [0x140ca1840], rdx
xor edx, edx
mov qword [rax + 8], rdi
mov rdi, r12
lea r12, [rsp + 0x90]
mov dword [rax], 0x3ea
xor eax, eax
rep stosq qword [rdi], rax
xor ecx, ecx
lea rax, [rsp + 0x88]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x30], rcx
lea rdx, str.SOFTWAREImage_LineSharedPaths
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x20], r8d
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x28], 0xf003f
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
xor r9d, r9d
lea rax, [rsp + 0x7c]
xor edx, edx
mov qword [rsp + 0x20], r9
mov rcx, qword [rsp + 0x88]
mov r9d, 2
lea r8, str.FL_Studio
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r12
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov rcx, qword [rsp + 0x88]
mov edi, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x140003306
movzx edx, word [rsp + 0x90]
test dx, dx
je 0x14000334c
xor eax, eax
xor ecx, ecx
nop
cmp dx, 0x5c
cmove rcx, rax
add rax, 1
movzx edx, word [r12 + rax*2]
test dx, dx
jne 0x140002f90
lea r10, [section..bss]
lea rdx, str.PluginsFruityGeneratorsRegency
mov word [rsp + rcx*2 + 0x90], 0
mov rcx, r12
call fcn.140001c40
mov rcx, r10
lea rdx, str.Target:
call fcn.140001c40
mov rcx, r10
mov rdx, r12
call fcn.140001c40
mov qword [rsp + 0x28], r10
xor r9d, r9d
mov r8, rbx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
movabs rdx, 0x8f0000007b
movabs rax, 0x11000000025
mov qword [rsp + 0x68], rdx
mov edx, 0x50000000
mov qword [rsp + 0x60], rax
call fcn.140001860
or dword [0x141cb1864], 4
mov qword [rsp + 0x20], r13
mov r9d, 0x3eb
mov r8, rbx
xor ecx, ecx
movabs rax, 0x11a0000001b
lea rdi, [0x140001100]
movabs rdx, 0x9d0000008f
mov qword [rsp + 0x60], rax
lea rax, str.Standalone_application
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x68], rdx
mov edx, 0x50010003
call fcn.140001860
mov r9d, 0x7d0
mov r8, rbx
xor ecx, ecx
mov rax, qword [0x140ca1840]
or dword [0x141cb1864], 8
lea rdx, [rax + 1]
shl rax, 4
add rax, rbp
mov qword [0x140ca1840], rdx
movabs rdx, 0xba000000ac
mov qword [rax + 8], rdi
lea rdi, [0x1400027d0]
mov dword [rax], 0x3eb
movabs rax, 0x3900000007
mov qword [rsp + 0x60], rax
lea rax, str.Uninstall
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x68], rdx
mov edx, 0x50030000
call fcn.140001860
mov r9d, 2
mov r8, rbx
xor ecx, ecx
mov rax, qword [0x140ca1840]
lea rdx, [rax + 1]
shl rax, 4
add rax, rbp
mov qword [0x140ca1840], rdx
movabs rdx, 0xba000000ac
mov qword [rax + 8], rdi
lea rdi, [0x1400011c0]
mov dword [rax], 0x7d0
movabs rax, 0x12e000000fc
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x68], rdx
mov edx, 0x50010000
mov qword [rsp + 0x60], rax
call fcn.140001860
mov r9d, 1
mov r8, rbx
xor ecx, ecx
mov rax, qword [0x140ca1840]
lea rdx, [rax + 1]
shl rax, 4
add rax, rbp
mov qword [0x140ca1840], rdx
movabs rdx, 0xba000000ac
mov dword [rax], 2
mov qword [rax + 8], rdi
movabs rax, 0xf8000000c6
mov qword [rsp + 0x60], rax
lea rax, str.Install
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x68], rdx
mov edx, 0x50010001
call fcn.140001860
mov r9d, 0xbb9
mov r8, rbx
xor ecx, ecx
mov rax, qword [0x140ca1840]
lea rdx, [rax + 1]
shl rax, 4
add rbp, rax
lea rax, [0x140001020]
mov qword [0x140ca1840], rdx
movabs rdx, 0xb9000000ad
mov qword [rbp + 8], rax
movabs rax, 0xbc00000043
mov dword [rbp], 1
mov qword [rsp + 0x60], rax
lea rax, str.Installation_progress
mov qword [rsp + 0x28], rax
lea rax, str.msctls_progress32
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x68], rdx
mov edx, 0x50000008
call fcn.140001860
xor eax, eax
lea r9, [0x140002060]
xor ecx, ecx
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [0x140ca1860]
call r14
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
lea r10, [0x140ca1580]
lea rdx, str.CLAP
mov rcx, r12
call fcn.140001c40
mov rcx, r10
lea rdx, str.Target:
call fcn.140001c40
mov rcx, r10
mov rdx, r12
call fcn.140001c40
mov qword [rsp + 0x28], r10
xor r9d, r9d
mov r8, rbx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
movabs rdx, 0x4b00000037
movabs rax, 0x11000000025
mov qword [rsp + 0x68], rdx
mov edx, 0x50000000
mov qword [rsp + 0x60], rax
call fcn.140001860
or dword [0x141cb1864], 1
jmp 0x140002d5e
mov qword [rsp + 0x20], rsi
xor r9d, r9d
mov r8, rbx
xor ecx, ecx
movabs rax, 0x11000000025
movabs rdx, 0x6d00000059
mov qword [rsp + 0x60], rax
lea rax, str._not_available_
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x68], rdx
mov edx, 0x50000000
call fcn.140001860
jmp 0x140002e5d
mov qword [rsp + 0x20], rsi
xor r9d, r9d
mov r8, rbx
xor ecx, ecx
movabs rax, 0x11000000025
movabs rdx, 0x8f0000007b
mov qword [rsp + 0x60], rax
lea rax, str._not_available_
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x68], rdx
mov edx, 0x50000000
call fcn.140001860
jmp 0x140003021
xor ecx, ecx
jmp 0x140002fa6