Function at 0x140032a80
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x150
mov rax, qword [0x140048040]
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, [0x140039880]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
jne 0x140032e8e
mov rdx, qword [rsp + 0x48]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rdx + r8*2], si
jne 0x140032ae0
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x88], rsi
lea rcx, [rsp + 0x70]
call fcn.140035be0
nop
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 7
jbe 0x140032b1b
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.140035be0
nop
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x70]
call fcn.140030810
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 7
jbe 0x140032b91
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140032b8b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140032b8b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140036120
nop
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 7
jbe 0x140032b9f
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.140035be0
nop
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.140030ae0
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 7
jbe 0x140032c19
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140032c14
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140032c14
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140036120
movdqa xmm0, xmmword [0x14003ee90]
movdqu xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x20], si
lea rcx, [rsp + 0x50]
call fcn.14002e260
test al, al
je 0x140032dca
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.140037184
mov edx, eax
test eax, eax
jne 0x140032cac
mov ecx, dword [rsp + 0xa0]
mov eax, ecx
shr eax, 0xa
test al, 1
je 0x140032ca1
mov eax, dword [rsp + 0xa4]
cmp eax, 0xa000000c
jne 0x140032c93
mov ecx, 4
jmp 0x140032cc7
cmp eax, 0xa0000003
jne 0x140032ca1
mov ecx, 0xa
jmp 0x140032cc7
shr ecx, 4
and ecx, 1
add ecx, 2
jmp 0x140032cc7
sub eax, 2
je 0x140032cc2
sub eax, 1
je 0x140032cc2
sub eax, 0x32
je 0x140032cc2
cmp eax, 0x46
mov ecx, esi
jne 0x140032cc7
mov ecx, 1
test edx, edx
je 0x140032cd9
lea eax, [rcx - 1]
test eax, 0xfffffff7
jne 0x140032eb5
cmp ecx, 2
jne 0x140032dca
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 7
cmova rcx, qword [rsp + 0x50]
call fcn.140037504
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x140032ec6
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x140032d55
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140032d50
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140032e03
call fcn.140036120
movdqa xmm0, xmmword [0x14003ee90]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], si
mov rdx, qword [rsp + 0x88]
cmp rdx, 7
jbe 0x140032db5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140032da8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140032e5e
call fcn.140036120
movdqa xmm0, xmmword [0x14003ee90]
movdqu xmmword [rsp + 0x80], xmm0
mov word [rsp + 0x70], si
mov al, 1
jmp 0x140032e90
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x140032e0f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140032e0a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140032e0a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140036120
movdqa xmm0, xmmword [0x14003ee90]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], si
mov rdx, qword [rsp + 0x88]
cmp rdx, 7
jbe 0x140032e72
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140032e65
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140032e65
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140036120
movdqa xmm0, xmmword [0x14003ee90]
movdqu xmmword [rsp + 0x80], xmm0
mov word [rsp + 0x70], si
xor al, al
jmp 0x140032e90
xor al, al
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140036030
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.140030c70
shr rdx, 0x20
lea r8, [rsp + 0x50]
lea rcx, str.remove
call fcn.140030c70
int3