Function at 0x140024dd8
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 [0x140079080]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov rdi, rcx
mov qword [rsp + 0x68], rcx
lea rcx, [0x140086556]
call fcn.1400517a8
xor r14d, r14d
mov qword [rdi], r14
mov qword [rdi + 8], r14
mov byte [0x14007e260], 1
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
movdqa xmm1, xmmword [0x14005cd40]
movdqa xmmword [rbp - 0x50], xmm1
mov byte [rbp - 0x60], r14b
movups xmmword [rbp - 0x40], xmm0
movdqa xmmword [rbp - 0x30], xmm1
mov byte [rbp - 0x40], r14b
movups xmmword [rbp - 0x20], xmm0
movdqa xmmword [rbp - 0x10], xmm1
mov byte [rbp - 0x20], r14b
lea rcx, [rbp - 0x60]
call fcn.14001c134
mov qword [rsp + 0x40], r14
lea r9, [rsp + 0x40]
xor r8d, r8d
xor edx, edx
lea rcx, [0x14005f608]
call sub.SHELL32.dll_SHGetKnownFolderPath
mov rbx, qword [rsp + 0x40]
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
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.140004880
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.140003c40
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
movdqu xmmword [rsp + 0x48], xmm0
lea rdx, [rbp - 0x80]
lea rcx, [rbp]
call fcn.14001c024
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 - 0x60]
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 0x140024f6a
mov eax, esi
lock xadd dword [rbx + 8], eax
add eax, esi
jne 0x140024f6a
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x140043c25.0]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
add eax, esi
jne 0x140024f6a
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x140043c25.0]
mov rbx, qword [rsp + 0x78]
test rbx, rbx
je 0x140024faa
mov eax, esi
lock xadd dword [rbx + 8], eax
add eax, esi
jne 0x140024faa
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x140043c25.0]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
add eax, esi
jne 0x140024faa
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x140043c25.0]
nop
lea rcx, [rbp]
call fcn.140003d70
nop
mov rbx, qword [rsp + 0x50]
test rbx, rbx
je 0x140024ff4
mov eax, esi
lock xadd dword [rbx + 8], eax
add eax, esi
jne 0x140024ff4
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x140043c25.0]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
add eax, esi
jne 0x140024ff4
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x140043c25.0]
nop
mov rbx, qword [rsp + 0x60]
test rbx, rbx
je 0x140025033
mov eax, esi
lock xadd dword [rbx + 8], eax
add eax, esi
jne 0x140025033
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x140043c25.0]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
add eax, esi
jne 0x140025033
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x140043c25.0]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
mov ebx, 0x1000
mov rdx, qword [rbp - 0x68]
cmp rdx, 7
jbe 0x140025083
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, rbx
jb 0x14002507e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002507e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140051634
movdqa xmm0, xmmword [0x14005d310]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], r14w
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x1400250cc
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, rbx
jb 0x1400250c7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002514f
call fcn.140051634
movdqa xmm0, xmmword [0x14005cd40]
movdqa xmmword [rbp - 0x10], xmm0
mov byte [rbp - 0x20], r14b
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x140025110
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, rbx
jb 0x14002510b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002514f
call fcn.140051634
movdqa xmm0, xmmword [0x14005cd40]
movdqa xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x40], r14b
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x14002515c
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, rbx
jb 0x140025156
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140025156
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140051634
nop
mov rax, rdi
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.140051870
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret