Function at 0x140074b50
Capabilities:
Check if file exists
Get common file path

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x290
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x1403b8c08]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov r13, rcx
test rcx, rcx
jne 0x140074b99
xor eax, eax
jmp 0x140074ddc
xor r15d, r15d
mov qword [rcx], r15
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x70]
call fcn.140289490
xor r9d, r9d
lea r8d, [r15 + 0x1a]
lea rdx, [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea rdx, [0x1402f86e8]
lea rcx, [rsp + 0x70]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rdx, [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectory]
lea rdx, str.usercenter.set
lea rcx, [rsp + 0x70]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rsp + 0x70]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140074dd9
movdqa xmm0, xmmword [0x1402eb9c0]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], r15b
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.140074130
test eax, eax
je 0x140074da0
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rcx, qword [rsp + 0x30]
call fcn.1400e0e20
mov qword [rsp + 0x20], rax
test rax, rax
je 0x140074da0
lea esi, [r15 - 1]
mov ebp, r15d
lea rdx, str.user
mov rcx, rax
call fcn.1400e0d50
mov r14, rax
test rax, rax
je 0x140074d95
mov rcx, rax
call fcn.1400e0d30
mov r12d, eax
mov ebx, r15d
test eax, eax
jle 0x140074d95
nop
mov edx, ebx
mov rcx, r14
call fcn.1400e0d10
mov rdi, rax
test rax, rax
je 0x140074d2b
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rsp + 0x50], 0
mov r8d, 4
lea rdx, str.time
lea rcx, [rsp + 0x50]
call fcn.14000c230
nop
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.1400e2380
movsxd rdi, eax
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x140074d21
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140074d1c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140074e0d
call fcn.140171af0
cmp rbp, rdi
jge 0x140074d2b
mov esi, ebx
mov rbp, rdi
inc ebx
cmp ebx, r12d
jl 0x140074c90
cmp esi, 0xffffffff
je 0x140074d95
cmp esi, r12d
jge 0x140074d95
mov edx, esi
mov rcx, r14
call fcn.1400e0d10
mov rdi, rax
test rax, rax
je 0x140074d95
mov edx, esi
mov rcx, r14
call fcn.1400e0cb0
call fcn.1400e09e0
mov rbx, rax
test rax, rax
je 0x140074d7b
mov r8, rdi
lea rdx, str.user
mov rcx, rax
call fcn.1400e0860
mov rcx, rbx
call fcn.1400e0eb0
mov qword [r13], rax
mov rcx, rbx
call fcn.1400e0c40
mov r15d, 1
mov rcx, qword [rsp + 0x20]
call fcn.1400e0c40
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140074dd9
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140074dd4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140074e13
call fcn.140171af0
mov eax, r15d
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140172190
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.14028c66c
nop
call fcn.14028c66c
int3