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

Disassembly:
push rbp
push rbx
push r14
lea rbp, [rsp - 0xbb0]
sub rsp, 0xcb0
mov rax, qword [0x180332088]
xor rax, rsp
mov qword [rbp + 0xba0], rax
mov r14, rcx
xor edx, edx
lea rcx, [rbp + 0x990]
mov r8d, 0x208
xor ebx, ebx
call fcn.180233580
xor edx, edx
lea rcx, [rbp + 0x570]
mov r8d, 0x208
call fcn.180233580
xor edx, edx
lea rcx, [rbp + 0x360]
mov r8d, 0x208
call fcn.180233580
xor edx, edx
lea rcx, [rbp + 0x780]
mov r8d, 0x208
call fcn.180233580
xor edx, edx
lea rcx, [rbp + 0x150]
mov r8d, 0x208
call fcn.180233580
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
call fcn.180233580
xor r9d, r9d
lea r8d, [rbx + 0x1a]
lea rdx, [rbp + 0x990]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov ecx, ebx
nop dword [rax + rax]
movzx eax, word [rbp + rcx + 0x990]
mov word [rbp + rcx + 0x150], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x18006f860
mov edx, 0x5c
lea rcx, [rbp + 0x150]
call fcn.1802328bc
test rax, rax
jne 0x18006f8d2
lea rdx, str.WanNengWBIME.users
lea rcx, [rsp + 0x20]
call fcn.180092ca0
lea rcx, [r14 + 0x28]
mov rdx, rax
call fcn.18005bc10
mov r8, qword [rsp + 0x38]
cmp r8, 8
jb 0x18006fae4
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x20]
inc r8
call fcn.18005cac0
jmp 0x18006fae4
mov qword [rsp + 0xcd8], rsi
mov rcx, rbx
mov qword [rsp + 0xce0], rdi
mov qword [rsp + 0xce8], r15
mov word [rax], bx
movzx eax, word [rbp + rcx + 0x150]
mov word [rbp + rcx + 0x570], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x18006f8f0
lea rcx, [rbp + 0x570]
sub rcx, 2
cmp word [rcx + 2], bx
lea rcx, [rcx + 2]
jne 0x18006f914
mov eax, dword [0x1802ac280]
movsd xmm0, qword [0x1802ac278]
movsd qword [rcx], xmm0
mov dword [rcx + 8], eax
movzx eax, word [0x1802ac284]
mov word [rcx + 0xc], ax
lea rcx, [rbp + 0x570]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, ebx
mov r15d, 1
test eax, eax
mov rcx, rbx
cmovne esi, r15d
nop dword [rax]
movzx eax, word [rbp + rcx + 0x150]
mov word [rbp + rcx + 0x360], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x18006f960
lea rcx, [rbp + 0x360]
sub rcx, 2
cmp word [rcx + 2], bx
lea rcx, [rcx + 2]
jne 0x18006f984
movups xmm0, xmmword [0x1802ac288]
mov eax, dword [0x1802ac298]
movups xmmword [rcx], xmm0
mov dword [rcx + 0x10], eax
lea rcx, [rbp + 0x360]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, ebx
mov rcx, rbx
test eax, eax
cmovne edi, r15d
nop dword [rax]
movzx eax, word [rbp + rcx + 0x150]
mov word [rbp + rcx + 0x780], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x18006f9c0
lea rcx, [rbp + 0x780]
sub rcx, 2
cmp word [rcx + 2], bx
lea rcx, [rcx + 2]
jne 0x18006f9e4
movups xmm0, xmmword [0x1802ac2a0]
movzx eax, word [0x1802ac2b0]
movups xmmword [rcx], xmm0
mov word [rcx + 0x10], ax
lea rcx, [rbp + 0x780]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov ecx, ebx
cmovne ecx, r15d
mov r15, qword [rsp + 0xce8]
test esi, esi
mov rsi, qword [rsp + 0xcd8]
je 0x18006faa2
test edi, edi
je 0x18006faa2
test ecx, ecx
je 0x18006faa2
call fcn.18006e250
test eax, eax
je 0x18006faa2
lea r9, str.WanNengWBIME.users
lea r8, [rbp + 0x360]
lea rdx, str._s_s_
lea rcx, [rsp + 0x40]
call fcn.18005c530
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x18006fa75
lea rcx, [rsp + 0x40]
call fcn.1800675f0
cmp word [rsp + 0x40], bx
je 0x18006fa8f
lea rax, [rsp + 0x40]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x18006fa85
lea rcx, [r14 + 0x28]
mov r8, rbx
lea rdx, [rsp + 0x40]
call fcn.18005c660
jmp 0x18006fadc
lea rdx, str.WanNengWBIME.users
lea rcx, [rsp + 0x20]
call fcn.180092ca0
lea rcx, [r14 + 0x28]
mov rdx, rax
call fcn.18005bc10
mov r8, qword [rsp + 0x38]
cmp r8, 8
jb 0x18006fadc
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x20]
inc r8
call fcn.18005cac0
mov rdi, qword [rsp + 0xce0]
mov rcx, qword [rbp + 0xba0]
xor rcx, rsp
call fcn.1802037a0
add rsp, 0xcb0
pop r14
pop rbx
pop rbp
ret