Function at 0x140002cc0
Capabilities:
Query or enumerate registry value
Set current directory

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x1f8]
sub rsp, 0x2e0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14002a088]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rbx, rcx
mov qword [rsp + 0x58], rcx
xor r14d, r14d
mov dword [rsp + 0x30], r14d
movdqa xmm0, xmmword [0x140025fa0]
movdqu xmmword [rbp - 0x80], xmm0
mov dword [rsp + 0x38], 0x20019
mov dword [rsp + 0x3c], 0x20219
mov qword [rcx + 0x18], 7
mov qword [rcx + 0x10], r14
cmp qword [rcx + 0x18], 8
jb 0x140002d41
mov rax, qword [rcx]
jmp 0x140002d44
mov rax, rbx
mov word [rax], r14w
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], r14
mov word [rsp + 0x60], r14w
mov rsi, r14
movabs r15, 0x7fffffffffffffff
xor r8d, r8d
lea rdx, [0x140025948]
mov rcx, rbx
call fcn.140001780
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + rsi*4 + 0x38]
xor r8d, r8d
lea rdx, str.SoftwareImage_LineSharedPaths
mov rcx, qword [rbp + rsi*8 - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140002ec1
xor dil, dil
mov dword [rsp + 0x34], 0x208
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x48]
xor r8d, r8d
lea rdx, str.FL_Studio_engine
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140002eb1
cmp word [rbp - 0x40], ax
jne 0x140002dfa
mov r8, r14
jmp 0x140002e0d
lea rax, [rbp - 0x40]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140002e02
lea rdx, [rbp - 0x40]
mov rcx, rbx
call fcn.140001780
mov rdx, rbx
lea rcx, [rbp - 0x60]
call fcn.1400012c0
nop
lea rcx, [rsp + 0x60]
cmp rcx, rax
je 0x140002e45
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.1400018d0
nop
mov rax, qword [rbp - 0x48]
cmp rax, 8
jb 0x140002e8f
inc rax
mov rcx, qword [rbp - 0x60]
cmp rax, r15
ja 0x140002ee7
add rax, rax
cmp rax, 0x1000
jb 0x140002e8a
test cl, 0x1f
jne 0x140002ee1
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x140002edb
sub rcx, rax
cmp rcx, 8
jb 0x140002ed5
cmp rcx, 0x27
ja 0x140002ecf
mov rcx, rax
call fcn.1400055bc
cmp qword [rsp + 0x70], 0
je 0x140002eae
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov dil, 1
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test dil, dil
jne 0x140002eed
inc rsi
cmp rsi, 2
jge 0x140002eed
jmp 0x140002d71
call fcn.14000a168
int3
call fcn.14000a168
int3
call fcn.14000a168
int3
call fcn.14000a168
int3
call fcn.14000a168
int3
cmp qword [rbx + 0x10], 0
je 0x14000308e
mov rdx, rbx
lea rcx, [rbp - 0x60]
call fcn.1400012c0
nop
lea r8, [0x14002c578]
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.140003ce0
mov rdi, rax
cmp rbx, rax
je 0x140002fb3
cmp qword [rbx + 0x18], 8
jb 0x140002f88
mov rcx, qword [rbx]
mov rax, qword [rbx + 0x18]
inc rax
cmp rax, r15
jbe 0x140002f40
call fcn.14000a168
int3
add rax, rax
cmp rax, 0x1000
jb 0x140002f83
test cl, 0x1f
je 0x140002f56
call fcn.14000a168
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140002f65
call fcn.14000a168
int3
sub rcx, rax
cmp rcx, 8
jae 0x140002f74
call fcn.14000a168
int3
cmp rcx, 0x27
jbe 0x140002f80
call fcn.14000a168
int3
mov rcx, rax
call fcn.1400055bc
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r14
cmp qword [rbx + 0x18], 8
jb 0x140002fa0
mov rax, qword [rbx]
jmp 0x140002fa3
mov rax, rbx
mov word [rax], r14w
mov rdx, rdi
mov rcx, rbx
call fcn.140001a10
nop
mov rax, qword [rbp - 0x68]
cmp rax, 8
jb 0x140003018
inc rax
mov rcx, qword [rbp - 0x80]
cmp rax, r15
jbe 0x140002fcf
call fcn.14000a168
int3
add rax, rax
cmp rax, 0x1000
jb 0x140003013
test byte [rbp - 0x80], 0x1f
je 0x140002fe6
call fcn.14000a168
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140002ff5
call fcn.14000a168
int3
sub rcx, rax
cmp rcx, 8
jae 0x140003004
call fcn.14000a168
int3
cmp rcx, 0x27
jbe 0x140003010
call fcn.14000a168
int3
mov rcx, rax
call fcn.1400055bc
mov qword [rbp - 0x68], 7
mov qword [rbp - 0x70], r14
mov word [rbp - 0x80], r14w
mov rax, qword [rbp - 0x48]
cmp rax, 8
jb 0x14000308e
inc rax
mov rcx, qword [rbp - 0x60]
cmp rax, r15
jbe 0x140003045
call fcn.14000a168
int3
add rax, rax
cmp rax, 0x1000
jb 0x140003088
test cl, 0x1f
je 0x14000305b
call fcn.14000a168
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x14000306a
call fcn.14000a168
int3
sub rcx, rax
cmp rcx, 8
jae 0x140003079
call fcn.14000a168
int3
cmp rcx, 0x27
jbe 0x140003085
call fcn.14000a168
int3
mov rcx, rax
call fcn.1400055bc
nop
mov rax, qword [rsp + 0x78]
cmp rax, 8
jb 0x1400030f6
inc rax
mov rcx, qword [rsp + 0x60]
cmp rax, r15
jbe 0x1400030ac
call fcn.14000a168
int3
add rax, rax
cmp rax, 0x1000
jb 0x1400030f1
test byte [rsp + 0x60], 0x1f
je 0x1400030c4
call fcn.14000a168
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x1400030d3
call fcn.14000a168
int3
sub rcx, rax
cmp rcx, 8
jae 0x1400030e2
call fcn.14000a168
int3
cmp rcx, 0x27
jbe 0x1400030ee
call fcn.14000a168
int3
mov rcx, rax
call fcn.1400055bc
mov rax, rbx
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.1400052c0
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret