Function at 0x14003aa80
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x150
mov rax, qword [0x140051040]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rbx, r8
mov rdi, rdx
xor esi, esi
mov qword [rsp + 0x48], rsi
lea r9, [rsp + 0x48]
xor r8d, r8d
xor edx, edx
lea rcx, [0x1400418a0]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
jne 0x14003ae8e
mov rdx, qword [rsp + 0x48]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rdx + r8*2], si
jne 0x14003aae0
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x88], rsi
lea rcx, [rsp + 0x70]
call fcn.14003dbd0
nop
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 7
jbe 0x14003ab1b
mov rdi, qword [rdi]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rsi
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.14003dbd0
nop
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x70]
call fcn.140038910
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 7
jbe 0x14003ab91
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003ab8b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003ab8b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003e1bc
nop
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 7
jbe 0x14003ab9f
mov rbx, qword [rbx]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rsi
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.14003dbd0
nop
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.140038be0
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 7
jbe 0x14003ac19
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003ac14
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003ac14
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003e1bc
movdqa xmm0, xmmword [0x1400485b0]
movdqu xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x20], si
lea rcx, [rsp + 0x50]
call fcn.140036540
test al, al
je 0x14003adca
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 7
cmova rcx, qword [rsp + 0x50]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rsp + 0x90]
call fcn.14003f034
mov edx, eax
test eax, eax
jne 0x14003acac
mov ecx, dword [rsp + 0xa0]
mov eax, ecx
shr eax, 0xa
test al, 1
je 0x14003aca1
mov eax, dword [rsp + 0xa4]
cmp eax, 0xa000000c
jne 0x14003ac93
mov ecx, 4
jmp 0x14003acc7
cmp eax, 0xa0000003
jne 0x14003aca1
mov ecx, 0xa
jmp 0x14003acc7
shr ecx, 4
and ecx, 1
add ecx, 2
jmp 0x14003acc7
sub eax, 2
je 0x14003acc2
sub eax, 1
je 0x14003acc2
sub eax, 0x32
je 0x14003acc2
cmp eax, 0x46
mov ecx, esi
jne 0x14003acc7
mov ecx, 1
test edx, edx
je 0x14003acd9
lea eax, [rcx - 1]
test eax, 0xfffffff7
jne 0x14003aeb5
cmp ecx, 2
jne 0x14003adca
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 7
cmova rcx, qword [rsp + 0x50]
call fcn.14003f3b4
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x14003aec6
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x14003ad55
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003ad50
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003ae03
call fcn.14003e1bc
movdqa xmm0, xmmword [0x1400485b0]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], si
mov rdx, qword [rsp + 0x88]
cmp rdx, 7
jbe 0x14003adb5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003ada8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003ae5e
call fcn.14003e1bc
movdqa xmm0, xmmword [0x1400485b0]
movdqu xmmword [rsp + 0x80], xmm0
mov word [rsp + 0x70], si
mov al, 1
jmp 0x14003ae90
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x14003ae0f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003ae0a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003ae0a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003e1bc
movdqa xmm0, xmmword [0x1400485b0]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], si
mov rdx, qword [rsp + 0x88]
cmp rdx, 7
jbe 0x14003ae72
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003ae65
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003ae65
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003e1bc
movdqa xmm0, xmmword [0x1400485b0]
movdqu xmmword [rsp + 0x80], xmm0
mov word [rsp + 0x70], si
xor al, al
jmp 0x14003ae90
xor al, al
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14003e020
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
lea r8, [rsp + 0x50]
lea rcx, str.status
call fcn.140038d70
shr rdx, 0x20
lea r8, [rsp + 0x50]
lea rcx, str.remove
call fcn.140038d70
int3