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

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
lea rbp, [rsp - 0x210]
sub rsp, 0x310
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x348], rbx
mov rax, qword [0x1400c0140]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov rsi, r9
mov eax, r8d
mov r12, rdx
mov rbx, rcx
mov qword [rsp + 0x40], r9
xor r13d, r13d
mov dword [rsp + 0x30], r13d
mov qword [rsp + 0x60], 7
mov qword [rsp + 0x58], r13
mov word [rsp + 0x48], r13w
lea rcx, [rbp - 0x10]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
mov edx, eax
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x1400326fc
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp - 0x10]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x48]
call fcn.140001780
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r13
mov word [rbx], r13w
lea rax, [rsp + 0x48]
cmp rbx, rax
je 0x1400326ac
cmp qword [rbx + 0x18], 8
jb 0x140032642
mov rcx, qword [rbx]
call fcn.140063290
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r13
mov word [rbx], r13w
mov rcx, qword [rsp + 0x60]
cmp rcx, 8
jae 0x14003267b
mov r8, qword [rsp + 0x58]
lea r8, [r8 + r8 + 2]
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.1400632b0
mov rcx, qword [rsp + 0x60]
jmp 0x140032688
mov rax, qword [rsp + 0x48]
mov qword [rbx], rax
mov qword [rsp + 0x48], r13
mov rax, qword [rsp + 0x58]
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rcx
mov eax, 7
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x58], r13
mov word [rsp + 0x48], r13w
jmp 0x1400326b1
mov rax, qword [rsp + 0x60]
cmp rax, 8
jb 0x1400326c1
mov rcx, qword [rsp + 0x48]
call fcn.140063290
mov qword [rsp + 0x60], 7
mov qword [rsp + 0x58], r13
mov word [rsp + 0x48], r13w
cmp qword [rsi + 0x18], 8
jb 0x1400326e4
mov rcx, qword [rsi]
call fcn.140063290
mov qword [rsi + 0x18], 7
mov qword [rsi + 0x10], r13
mov word [rsi], r13w
mov rax, rbx
jmp 0x140032842
mov qword [rbp - 0x78], 7
mov qword [rbp - 0x80], r13
mov word [rsp + 0x70], r13w
mov r8, rsi
lea rdx, str.There_was_a_problem_retrieving_the_path_for:
lea rcx, [rbp - 0x40]
call fcn.140018b90
nop
lea r8, str.._Rkill_has_terminated_
mov rdx, rax
lea rcx, [rbp - 0x68]
call fcn.140018c70
mov rdi, rax
lea rax, [rsp + 0x70]
cmp rax, rdi
je 0x1400327b0
cmp qword [rbp - 0x78], 8
jb 0x140032753
mov rcx, qword [rsp + 0x70]
call fcn.140063290
mov qword [rbp - 0x78], 7
mov qword [rbp - 0x80], r13
mov word [rsp + 0x70], r13w
cmp qword [rdi + 0x18], 8
jae 0x140032785
mov r8, qword [rdi + 0x10]
inc r8
add r8, r8
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.1400632b0
jmp 0x140032790
mov rax, qword [rdi]
mov qword [rsp + 0x70], rax
mov qword [rdi], r13
mov rax, qword [rdi + 0x10]
mov qword [rbp - 0x80], rax
mov rax, qword [rdi + 0x18]
mov qword [rbp - 0x78], rax
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], r13
mov word [rdi], r13w
cmp qword [rbp - 0x50], 8
jb 0x1400327c0
mov rcx, qword [rbp - 0x68]
call fcn.140063290
mov qword [rbp - 0x50], 7
mov qword [rbp - 0x58], r13
mov word [rbp - 0x68], r13w
cmp qword [rbp - 0x28], 8
jb 0x1400327e1
mov rcx, qword [rbp - 0x40]
call fcn.140063290
mov rdx, rsi
lea rcx, [0x1400bf260]
call fcn.1400187c0
mov rcx, rax
lea rdx, str._doesnt_exist__Rkill_Terminated_
call fcn.140018560
mov rcx, rax
call fcn.140024c80
cmp dword [r12 + 0x4b0], 0
jne 0x140032837
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rdx, qword [rsp + 0x70]
mov r9d, 0x40
lea r8, str.Rkill_Error
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, 1
call fcn.1400668b0
nop
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.140063080
mov rbx, qword [rsp + 0x348]
add rsp, 0x310
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret