Function at 0x14002472c
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 - 0x30]
sub rsp, 0x130
mov rax, qword [0x140075078]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov rdi, rcx
mov qword [rsp + 0x68], rcx
lea rcx, [0x140082235]
call fcn.14004ea38
xor r14d, r14d
mov qword [rdi], r14
mov qword [rdi + 8], r14
mov byte [0x14007a220], 1
movdqa xmm0, xmmword [0x14005a2a0]
movdqa xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x40], r14b
movdqa xmm1, xmm0
movdqa xmmword [rbp - 0x10], xmm0
mov byte [rbp - 0x20], r14b
movdqa xmmword [rbp + 0x10], xmm0
mov byte [rbp], r14b
lea rcx, [rbp - 0x40]
call fcn.14001bba4
mov qword [rsp + 0x40], r14
lea r9, [rsp + 0x40]
xor r8d, r8d
xor edx, edx
lea rcx, [0x14005c588]
call sub.SHELL32.dll_SHGetKnownFolderPath
mov rbx, qword [rsp + 0x40]
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r14w
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
mov r8, rax
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.140003c60
nop
lea rcx, str.MicrosoftRMSLocalStorage
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
mov r8, rax
lea rdx, str.MicrosoftRMSLocalStorage
lea rcx, [rbp - 0x80]
call fcn.140003e30
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
movdqu xmmword [rsp + 0x48], xmm0
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x60]
call fcn.14001ba94
nop
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov byte [rsp + 0x20], r14b
lea r9d, [r14 + 1]
mov r8, rax
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x70]
call qword [sym.imp.mip_upe_sdk.dll__Create_MipContext_mipns__SA_AV__shared_ptr_VMipContext_mipns___std__AEBUApplicationInfo_2_AEBV__basic_str]
mov rcx, qword [rax]
mov rdx, qword [rax + 8]
mov qword [rax], r14
mov qword [rax + 8], r14
mov qword [rdi], rcx
mov rbx, qword [rdi + 8]
mov qword [rdi + 8], rdx
or esi, 0xffffffff
test rbx, rbx
je 0x1400248b5
mov eax, esi
lock xadd dword [rbx + 8], eax
add eax, esi
jne 0x1400248b5
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14004033d.0]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
add eax, esi
jne 0x1400248b5
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x14004033d.0]
mov rbx, qword [rsp + 0x78]
test rbx, rbx
je 0x1400248f5
mov eax, esi
lock xadd dword [rbx + 8], eax
add eax, esi
jne 0x1400248f5
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14004033d.0]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
add eax, esi
jne 0x1400248f5
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x14004033d.0]
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x14002490b
inc rdx
mov rcx, qword [rbp - 0x60]
call fcn.140001db0
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x48], 0xf
mov byte [rbp - 0x60], r14b
mov rbx, qword [rsp + 0x50]
test rbx, rbx
je 0x14002495b
mov eax, esi
lock xadd dword [rbx + 8], eax
add eax, esi
jne 0x14002495b
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14004033d.0]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
add eax, esi
jne 0x14002495b
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x14004033d.0]
nop
mov rbx, qword [rsp + 0x60]
test rbx, rbx
je 0x14002499a
mov eax, esi
lock xadd dword [rbx + 8], eax
add eax, esi
jne 0x14002499a
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14004033d.0]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
add eax, esi
jne 0x14002499a
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x14004033d.0]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x1400249e9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400249e4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400249e4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004e6b4
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r14w
lea rcx, [rbp - 0x40]
call fcn.140024b4c
nop
mov rax, rdi
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.14004eb00
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret