Function at 0x1400022f0
Capabilities:
Get common file path
Get startup folder

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x360
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14002d3c0]
xor rax, rsp
mov qword [rsp + 0x350], rax
mov r12, rcx
mov qword [rsp + 0x38], rcx
xor esi, esi
mov dword [rsp + 0x30], esi
mov qword [rcx + 0x18], 0xf
mov qword [rcx + 0x10], rsi
mov byte [rcx], sil
xor r8d, r8d
lea rdx, [0x140027bc0]
call fcn.140005950
mov dword [rsp + 0x30], 1
lea rax, [rsp + 0x140]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rsi + 0x1c]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov qword [rsp + 0xd8], 7
mov qword [rsp + 0xd0], rsi
mov word [rsp + 0xc0], si
or r15, 0xffffffffffffffff
cmp word [rsp + 0x140], si
jne 0x1400023a7
mov r8d, esi
jmp 0x1400023bd
lea rax, [rsp + 0x140]
mov r8, r15
inc r8
cmp word [rax + r8*2], 0
jne 0x1400023b2
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0xc0]
call fcn.140005b70
nop
lea rdx, [rsp + 0xc0]
cmp qword [rsp + 0xd8], 8
cmovae rdx, qword [rsp + 0xc0]
mov rax, qword [rsp + 0xd0]
lea r8, [rdx + rax*2]
lea rdx, [rsp + 0xc0]
cmovae rdx, qword [rsp + 0xc0]
mov qword [rsp + 0x118], 7
mov qword [rsp + 0x110], rsi
mov word [rsp + 0x100], si
lea rcx, [rsp + 0x100]
call fcn.1400071d0
nop
lea r8, [0x140027c9c]
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x80]
call fcn.1400063e0
nop
mov rdx, rax
lea rcx, [rsp + 0xe0]
call fcn.140006570
nop
cmp qword [rsp + 0x98], 8
jb 0x14000247a
mov rcx, qword [rsp + 0x80]
call fcn.1400087dc
mov qword [rsp + 0x98], 7
mov qword [rsp + 0x90], rsi
mov word [rsp + 0x80], si
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], rsi
mov word [rsp + 0x58], si
mov r9, r15
xor r8d, r8d
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x58]
call fcn.140004da0
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x40]
call fcn.140001e10
nop
mov qword [rsp + 0xb8], 7
mov qword [rsp + 0xb0], rsi
mov word [rsp + 0xa0], si
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
cmp rbx, rdi
je 0x140002694
mov qword [rsp + 0x98], 7
mov qword [rsp + 0x90], rsi
mov word [rsp + 0x80], si
mov r9, r15
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0x80]
call fcn.140004da0
nop
lea r11, [0x14002ebc0]
cmp qword [0x14002ebd8], 8
cmovae r11, qword [0x14002ebc0]
mov r14, qword [0x14002ebd0]
test r14, r14
je 0x140002660
mov r10, qword [rsp + 0x90]
test r10, r10
je 0x140002635
cmp r14, r10
ja 0x140002635
sub r10, r14
inc r10
lea rsi, [rsp + 0x80]
mov r13, qword [rsp + 0x98]
cmp r13, 8
cmovae rsi, qword [rsp + 0x80]
test r10, r10
je 0x1400025b4
mov rcx, r10
mov rax, rsi
movzx edx, word [r11]
cmp word [rax], dx
je 0x1400025b6
add rax, 2
dec rcx
jne 0x1400025a6
xor eax, eax
test rax, rax
je 0x14000263f
mov rdx, r14
mov r8, r11
mov r9, rax
test r14, r14
je 0x14000260d
movzx ecx, word [r8]
cmp word [r9], cx
jne 0x1400025e4
add r9, 2
add r8, 2
dec rdx
jmp 0x1400025cb
mov edx, 1
cmp word [r9], cx
cmovb edx, r15d
test edx, edx
je 0x14000260d
mov rdx, rax
sub rdx, rsi
sar rdx, 1
mov rcx, r15
sub rcx, rdx
add r10, rcx
lea rsi, [rax + 2]
jmp 0x140002597
lea rcx, [rsp + 0x80]
cmp r13, 8
mov rdx, qword [rsp + 0x80]
cmovae rcx, rdx
sub rax, rcx
sar rax, 1
xor esi, esi
cmp rax, 0xffffffffffffffff
jne 0x140002660
jmp 0x140002649
mov r13, qword [rsp + 0x98]
jmp 0x140002641
xor esi, esi
mov rdx, qword [rsp + 0x80]
cmp r13, 8
jb 0x140002657
mov rcx, rdx
call fcn.1400087dc
add rbx, 0x20
jmp 0x1400024f7
mov r9, r15
xor r8d, r8d
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0xa0]
call fcn.140004da0
nop
cmp qword [rsp + 0x98], 8
jb 0x140002694
mov rcx, qword [rsp + 0x80]
call fcn.1400087dc
cmp qword [rsp + 0xb0], 0
je 0x1400027d2
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], rsi
mov word [rsp + 0x58], si
mov r9, r15
xor r8d, r8d
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x58]
call fcn.140004da0
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x120]
call fcn.140002010
nop
mov r8, rax
lea rcx, [rsp + 0x80]
call fcn.140006610
mov rbx, rax
cmp r12, rax
je 0x140002765
cmp qword [r12 + 0x18], 0x10
jb 0x14000270a
mov rcx, qword [r12]
call fcn.1400087dc
mov qword [r12 + 0x18], 0xf
mov qword [r12 + 0x10], rsi
mov byte [r12], 0
cmp qword [rbx + 0x18], 0x10
jae 0x14000273a
mov r8, qword [rbx + 0x10]
inc r8
je 0x140002744
mov rdx, rbx
mov rcx, r12
call fcn.140007760
jmp 0x140002744
mov rax, qword [rbx]
mov qword [r12], rax
mov qword [rbx], rsi
mov rax, qword [rbx + 0x10]
mov qword [r12 + 0x10], rax
mov rax, qword [rbx + 0x18]
mov qword [r12 + 0x18], rax
mov qword [rbx + 0x18], 0xf
mov qword [rbx + 0x10], rsi
mov byte [rbx], 0
cmp qword [rsp + 0x98], 0x10
jb 0x14000277d
mov rcx, qword [rsp + 0x80]
call fcn.1400087dc
mov qword [rsp + 0x98], 0xf
mov qword [rsp + 0x90], rsi
mov byte [rsp + 0x80], 0
cmp qword [rsp + 0x138], 0x10
jb 0x1400027b1
mov rcx, qword [rsp + 0x120]
call fcn.1400087dc
lea rcx, [rsp + 0xa0]
cmp qword [rsp + 0xb8], 8
cmovae rcx, qword [rsp + 0xa0]
call fcn.1400084c0
jmp 0x1400027e8
mov r8d, 0xc
lea rdx, str.LICENSE_KEY:
mov rcx, r12
call fcn.140005950
nop
cmp qword [rsp + 0xb8], 8
jb 0x140002800
mov rcx, qword [rsp + 0xa0]
call fcn.1400087dc
mov qword [rsp + 0xb8], 7
mov qword [rsp + 0xb0], rsi
mov word [rsp + 0xa0], si
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x140002872
mov rdi, qword [rsp + 0x48]
cmp rbx, rdi
je 0x14000285c
cmp qword [rbx + 0x18], 8
jb 0x14000283f
mov rcx, qword [rbx]
call fcn.1400087dc
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rsi
mov word [rbx], si
add rbx, 0x20
cmp rbx, rdi
jne 0x140002830
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
call fcn.1400087dc
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rsi
cmp qword [rsp + 0xf8], 8
jb 0x14000288a
mov rcx, qword [rsp + 0xe0]
call fcn.1400087dc
mov qword [rsp + 0xf8], 7
mov qword [rsp + 0xf0], rsi
mov word [rsp + 0xe0], si
cmp qword [rsp + 0x118], 8
jb 0x1400028bf
mov rcx, qword [rsp + 0x100]
call fcn.1400087dc
nop
cmp qword [rsp + 0xd8], 8
jb 0x1400028d8
mov rcx, qword [rsp + 0xc0]
call fcn.1400087dc
nop
mov rax, r12
jmp 0x1400028e2
mov rcx, qword [rsp + 0x350]
xor rcx, rsp
call fcn.140007430
lea r11, [rsp + 0x360]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret