Function at 0x7ff645c98650
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x210]
sub rsp, 0x310
mov rax, qword [0x7ff645d45080]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov rbx, rcx
mov qword [rbp - 0x50], rcx
xor esi, esi
mov dword [rsp + 0x30], esi
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rsi + 0x1a]
xor ecx, ecx
call qword [sym.imp.shell32.dll_SHGetFolderPathW]
xorps xmm0, xmm0
xorps xmm1, xmm1
test eax, eax
js 0x7ff645c98718
movups xmmword [rbp - 0x30], xmm0
movdqu xmmword [rbp - 0x20], xmm1
lea rax, [rbp - 0x10]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], si
jne 0x7ff645c986c3
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x30]
call fcn.7ff645c1fbc0
nop
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 7
cmova rdx, qword [rbp - 0x30]
mov rax, qword [rbp - 0x20]
lea r8, [rdx + rax*2]
lea rdx, [rbp - 0x30]
cmova rdx, qword [rbp - 0x30]
lea rcx, [rsp + 0x70]
call fcn.7ff645c1ef60
mov edi, 2
mov dword [rsp + 0x30], edi
lea rcx, [rbp - 0x30]
call fcn.7ff645c1e690
jmp 0x7ff645c9873f
movups xmmword [rsp + 0x70], xmm0
movdqu xmmword [rbp - 0x80], xmm1
xor r8d, r8d
lea rdx, [0x7ff645d07b78]
lea rcx, [rsp + 0x70]
call fcn.7ff645bd2920
mov edi, 2
mov dword [rsp + 0x30], edi
mov r8d, 0xf
lea rdx, [0x7ff645d1d0d0]
lea rcx, [rsp + 0x70]
call fcn.7ff645bd5a30
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
or edi, 4
or edi, 1
mov dword [rsp + 0x30], edi
lea rcx, [rsp + 0x70]
call fcn.7ff645bd5fc0
mov r14, qword [rbx + 0x10]
mov rsi, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x7ff645c987a6
mov rsi, qword [rbx]
call fcn.7ff645cf06a0
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], r14
lea r8, [rsp + 0x40]
mov edx, eax
lea rcx, [rbp - 0x70]
call fcn.7ff645c189a0
or edi, 0x18
mov dword [rsp + 0x30], edi
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x40]
call fcn.7ff645c190d0
movsd xmm0, qword [rax]
movsd qword [rsp + 0x60], xmm0
mov ecx, dword [rax + 8]
mov dword [rbp - 0x40], ecx
lea rax, [0x7ff645d45250]
mov qword [rbp - 0x38], rax
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x40], xmm0
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x7ff645c988a9
cmp eax, 1
sete sil
lea rcx, [rbp - 0x70]
call fcn.7ff645c1e690
test sil, sil
je 0x7ff645c9887f
mov r14, qword [rbx + 0x10]
mov rsi, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x7ff645c98830
mov rsi, qword [rbx]
call fcn.7ff645cf06a0
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x38], r14
lea r8, [rbp - 0x40]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.7ff645c189a0
or edi, 0x60
mov dword [rsp + 0x30], edi
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rcx, qword [rsp + 0x40]
call fcn.7ff645cf0900
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x7ff645c988b5
lea rcx, [rsp + 0x40]
call fcn.7ff645c1e690
mov rax, rbx
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.7ff645cf1220
lea r11, [rsp + 0x310]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov sil, 1
test ecx, ecx
jne 0x7ff645c988cb
jmp 0x7ff645c98811
shr rdx, 0x20
lea r8, [rsp + 0x40]
lea rcx, [0x7ff645d1d028]
call fcn.7ff645c19000
nop
lea r8, [rbp - 0x70]
lea rdx, [rbp - 0x40]
lea rcx, [0x7ff645d1d020]
call fcn.7ff645c19070
int3