Function at 0x7ff645c4eed0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2e0]
sub rsp, 0x3e0
mov rax, qword [0x7ff645d45080]
xor rax, rsp
mov qword [rbp + 0x2d0], rax
mov rsi, rcx
mov qword [rbp - 0x30], rcx
xor ebx, ebx
mov dword [rsp + 0x30], ebx
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], rbx
mov qword [rcx + 8], rbx
mov qword [rcx + 0x10], rbx
mov dword [rsp + 0x30], 1
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rbx + 0x1c]
xor ecx, ecx
call qword [sym.imp.shell32.dll_SHGetFolderPathW]
lea r13, [rbx - 1]
xorps xmm0, xmm0
mov qword [rbp + 0x80], rbx
mov qword [rbp + 0x88], rbx
movups xmmword [rbp + 0x70], xmm0
test eax, eax
js 0x7ff645c4ef86
lea rax, [rbp + 0xc0]
mov r8, r13
inc r8
cmp word [rax + r8*2], 0
jne 0x7ff645c4ef72
lea rdx, [rbp + 0xc0]
jmp 0x7ff645c4ef90
xor r8d, r8d
lea rdx, [0x7ff645d24934]
lea rcx, [rbp + 0x70]
call fcn.7ff645c1fbc0
mov dword [rsp + 0x30], 0x401
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
mov r14, qword [rbp + 0x80]
sub rax, r14
cmp rax, 0xc
jb 0x7ff645c4f4c9
lea r12, [rbp + 0x70]
cmp qword [rbp + 0x88], 7
cmova r12, qword [rbp + 0x70]
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
mov qword [rbp + 0xa0], rbx
mov qword [rbp + 0xa8], rbx
lea r15, [r14 + 0xc]
mov ebx, 7
lea rdi, [rbp + 0x90]
cmp r15, rbx
jbe 0x7ff645c4f099
mov rbx, r15
or rbx, 7
cmp rbx, rcx
jbe 0x7ff645c4f023
mov rbx, rcx
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x7ff645c4f052
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x7ff645c4f4b2
add rcx, rcx
cmp rcx, 0x1000
jb 0x7ff645c4f081
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x7ff645c4f4b2
mov rcx, rax
call fcn.7ff645cf1368
test rax, rax
je 0x7ff645c4f07a
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x7ff645c4f092
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x7ff645c4f090
call fcn.7ff645cf1368
mov rdi, rax
jmp 0x7ff645c4f092
xor edi, edi
mov qword [rbp + 0x90], rdi
mov qword [rbp + 0xa0], r15
mov qword [rbp + 0xa8], rbx
lea rbx, [r14 + r14]
mov r8, rbx
mov rdx, r12
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy_1
movups xmm0, xmmword [0x7ff645d24918]
movups xmmword [rdi + rbx], xmm0
movsd xmm0, qword [0x7ff645d24928]
movsd qword [rdi + rbx + 0x10], xmm0
xor r12d, r12d
mov word [rdi + r15*2], r12w
mov dword [rsp + 0x30], 0xc01
lea rdx, [rbp + 0x90]
cmp qword [rbp + 0xa8], 7
cmova rdx, qword [rbp + 0x90]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r12
mov r8, qword [rbp + 0xa0]
lea rcx, [rsp + 0x50]
call fcn.7ff645c1fbc0
mov ebx, 0x3c01
mov dword [rsp + 0x30], ebx
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x50]
call fcn.7ff645c4eca0
nop
lea rcx, [rsp + 0x50]
call fcn.7ff645c1e690
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
mov rdi, qword [rbp + 0x58]
test rdi, rdi
je 0x7ff645c4f15a
lock inc dword [rdi + 8]
mov rdi, qword [rbp + 0x58]
mov ebx, dword [rsp + 0x30]
movaps xmm0, xmmword [rbp + 0x50]
movdqa xmmword [rbp + 0x60], xmm0
test rdi, rdi
je 0x7ff645c4f174
lock inc dword [rdi + 8]
mov rdi, qword [rbp + 0x58]
mov ebx, dword [rsp + 0x30]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xb0], xmm1
test rdi, rdi
je 0x7ff645c4f1b7
mov eax, r13d
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x7ff645c4f1af
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, r13d
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x7ff645c4f1af
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
mov ebx, dword [rsp + 0x30]
mov rdi, qword [rbp + 0x58]
mov r14, qword [rbp + 0x60]
test r14, r14
je 0x7ff645c4f3fc
lea r15, [0x7ff645d24940]
nop dword [rax + rax]
lea rdx, [rsp + 0x40]
mov rcx, r14
call fcn.7ff645c4e770
mov rax, qword [rsp + 0x40]
mov edx, dword [rsp + 0x48]
test edx, edx
je 0x7ff645c4f1f9
lea ecx, [rax - 1]
test ecx, 0xfffffff7
jne 0x7ff645c4f4b8
cmp eax, 2
jne 0x7ff645c4f357
call fcn.7ff645cf06a0
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], 4
lea r8, [rbp - 0x50]
mov edx, eax
lea rcx, [rbp - 0x70]
call fcn.7ff645c189a0
or ebx, 0x60
or ebx, 2
mov dword [rsp + 0x30], ebx
lea rdx, [rbp + 0x30]
lea rcx, [r14 + 0x20]
call fcn.7ff645c4e400
mov r8, rax
or ebx, 4
mov dword [rsp + 0x30], ebx
lea rcx, [rbp - 0x70]
cmp qword [rbp - 0x58], 7
cmova rcx, qword [rbp - 0x70]
mov qword [rbp - 0x40], rcx
mov rax, qword [rbp - 0x60]
mov qword [rbp - 0x38], rax
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x20], xmm0
lea rdx, [rbp - 0x20]
mov rcx, r8
call fcn.7ff645c4e1f0
test eax, eax
jne 0x7ff645c4f357
lea rcx, [r14 + 0x20]
cmp qword [r14 + 0x38], 7
jbe 0x7ff645c4f289
mov rcx, qword [r14 + 0x20]
mov rax, qword [r14 + 0x30]
lea r11, [rcx + rax*2]
mov r10, r11
mov rdx, r11
call fcn.7ff645c4de40
cmp rax, r11
je 0x7ff645c4f2db
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x7ff645c4f2b0
cmp cx, 0x2f
jne 0x7ff645c4f2b9
add rax, 2
cmp rax, r11
jne 0x7ff645c4f2a1
cmp rax, r11
je 0x7ff645c4f2db
nop
lea rdx, [r10 - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x7ff645c4f2db
cmp cx, 0x2f
je 0x7ff645c4f2db
mov r10, rdx
cmp rax, rdx
jne 0x7ff645c4f2c0
sub r11, r10
sar r11, 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], r12
mov r8, r11
mov rdx, r10
lea rcx, [rsp + 0x70]
call fcn.7ff645c1fbc0
or ebx, 0x380
or ebx, 8
mov dword [rsp + 0x30], ebx
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x70]
call fcn.7ff645c2f8c0
or ebx, 0x10
mov dword [rsp + 0x30], ebx
mov rdx, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x7ff645c4f331
mov rax, qword [rax]
mov qword [rsp + 0x20], 6
lea r9, [0x7ff645d24938]
xor r8d, r8d
mov rcx, rax
call fcn.7ff645bd6b30
cmp rax, 0xffffffffffffffff
je 0x7ff645c4f357
mov dil, 1
jmp 0x7ff645c4f35a
xor dil, dil
test bl, 0x10
je 0x7ff645c4f370
and ebx, 0xffffffef
mov dword [rsp + 0x30], ebx
lea rcx, [rbp + 0x10]
call fcn.7ff645bd5fc0
nop
test bl, 8
je 0x7ff645c4f387
and ebx, 0xfffffff7
mov dword [rsp + 0x30], ebx
lea rcx, [rsp + 0x70]
call fcn.7ff645c1e690
nop
test bl, 4
je 0x7ff645c4f39d
and ebx, 0xfffffffb
mov dword [rsp + 0x30], ebx
lea rcx, [rbp + 0x30]
call fcn.7ff645c1e690
nop
test bl, 2
je 0x7ff645c4f3b2
and ebx, 0xfffffffd
mov dword [rsp + 0x30], ebx
lea rcx, [rbp - 0x70]
call fcn.7ff645c1e690
test dil, dil
je 0x7ff645c4f3e2
lea r8, [r14 + 0x20]
mov rax, qword [rsi + 8]
cmp rax, qword [rsi + 0x10]
je 0x7ff645c4f3d7
mov rdx, r8
mov rcx, rax
call fcn.7ff645c1cde0
add qword [rsi + 8], 0x20
jmp 0x7ff645c4f3e2
mov rdx, rax
mov rcx, rsi
call fcn.7ff645c4ff70
lea rcx, [rbp + 0x60]
call fcn.7ff645c4edd0
mov r14, qword [rbp + 0x60]
test r14, r14
jne 0x7ff645c4f1d0
mov rdi, qword [rbp + 0x58]
mov rcx, qword [rbp + 0x68]
test rcx, rcx
je 0x7ff645c4f439
mov eax, r13d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x7ff645c4f435
mov rbx, qword [rbp + 0x68]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r13d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x7ff645c4f435
mov rcx, qword [rbp + 0x68]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdi, qword [rbp + 0x58]
test rdi, rdi
je 0x7ff645c4f469
mov eax, r13d
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x7ff645c4f469
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], r13d
cmp r13d, 1
jne 0x7ff645c4f469
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + 8]
nop
lea rcx, [rbp + 0x90]
call fcn.7ff645c1e690
nop
lea rcx, [rbp + 0x70]
call fcn.7ff645c1e690
mov rax, rsi
mov rcx, qword [rbp + 0x2d0]
xor rcx, rsp
call fcn.7ff645cf1220
lea r11, [rsp + 0x3e0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.7ff645bd2800
nop
lea r8, [r14 + 0x20]
lea rcx, [0x7ff645d248a0]
call fcn.7ff645c19000
nop
call fcn.7ff645bd28a0
int3