Function at 0x140054010
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
sub rsp, 0xd0
lea rbp, [rsp + 0x40]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x14015d040]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov rdi, rcx
mov qword [rbp + 0x50], rcx
xor esi, esi
mov dword [rbp + 0x10], esi
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], 7
mov word [rcx], si
mov dword [rbp + 0x10], 1
lea r9, [rbp + 0x58]
xor r8d, r8d
xor edx, edx
lea rcx, [0x1400fcb00]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x14005425e
mov rcx, qword [rbp + 0x58]
mov qword [rbp], rcx
mov rbx, 0xffffffffffffffff
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400540a0
mov qword [rbp + 8], rax
lea rdx, [rbp]
lea rcx, [rbp + 0x20]
call fcn.14006bbc0
mov dword [rbp + 0x10], 3
lea rdx, [rbp + 0x20]
mov rcx, rdi
call fcn.140055cd0
mov rdx, qword [rbp + 0x38]
cmp rdx, 7
jbe 0x140054111
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005410c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005410c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f6074
movdqa xmm0, xmmword [0x1401468b0]
movdqu xmmword [rbp + 0x30], xmm0
mov word [rbp + 0x20], si
movabs rax, 0x5382bb32eb1ccfc9
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x20], rax
movabs rax, 0xcea5530d5b381fe7
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x28], rax
movabs rdx, 0x334c0f7c936e8b29
mov qword [rbp], rdx
mov rax, qword [rbp]
mov qword [rbp + 0x30], rax
movabs rcx, 0xbcf994de32ca1c6
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x38], rax
movabs rax, 0x30acda5e9e7eaa87
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x60], rax
movabs rax, 0xafd1364f7b153f84
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x68], rax
mov qword [rbp], rdx
mov rax, qword [rbp]
mov qword [rbp + 0x70], rax
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x78], rax
vmovdqu ymm0, ymmword [rbp + 0x20]
vpxor ymm1, ymm0, ymmword [rbp + 0x60]
vmovdqa ymmword [rbp + 0x20], ymm1
lea rax, [rbp + 0x20]
vzeroupper
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400541d4
call fcn.1400f5484
lea rcx, [rbp + 0x20]
mov qword [rbp + 0x40], rcx
mov qword [rbp + 0x48], rbx
lea r8, [rbp + 0x40]
mov edx, eax
lea rcx, [rbp + 0x60]
call fcn.14004b960
mov dword [rbp + 0x10], 0xf
lea rdx, [rbp + 0x60]
mov rcx, rdi
call fcn.14004bbf0
nop
mov rdx, qword [rbp + 0x78]
cmp rdx, 7
jbe 0x140054254
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005424f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005424f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f6074
mov rcx, qword [rbp + 0x58]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rax, rdi
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.1400f6010
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret