Function at 0x18006f440
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 0x18006f500
mov edx, 0x5c
lea rcx, [rbp + 0x150]
call fcn.1802328bc
test rax, rax
jne 0x18006f572
lea rdx, str.WanNengWBIME
lea rcx, [rsp + 0x20]
call fcn.180092ca0
lea rcx, [r14 + 0x48]
mov rdx, rax
call fcn.18005bc10
mov r8, qword [rsp + 0x38]
cmp r8, 8
jb 0x18006f784
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x20]
inc r8
call fcn.18005cac0
jmp 0x18006f784
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 0x18006f590
lea rcx, [rbp + 0x570]
sub rcx, 2
cmp word [rcx + 2], bx
lea rcx, [rcx + 2]
jne 0x18006f5b4
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 0x18006f600
lea rcx, [rbp + 0x360]
sub rcx, 2
cmp word [rcx + 2], bx
lea rcx, [rcx + 2]
jne 0x18006f624
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 0x18006f660
lea rcx, [rbp + 0x780]
sub rcx, 2
cmp word [rcx + 2], bx
lea rcx, [rcx + 2]
jne 0x18006f684
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 0x18006f742
test edi, edi
je 0x18006f742
test ecx, ecx
je 0x18006f742
call fcn.18006e250
test eax, eax
je 0x18006f742
lea r9, str.WanNengWBIME
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 0x18006f715
lea rcx, [rsp + 0x40]
call fcn.1800675f0
cmp word [rsp + 0x40], bx
je 0x18006f72f
lea rax, [rsp + 0x40]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x18006f725
lea rcx, [r14 + 0x48]
mov r8, rbx
lea rdx, [rsp + 0x40]
call fcn.18005c660
jmp 0x18006f77c
lea rdx, str.WanNengWBIME
lea rcx, [rsp + 0x20]
call fcn.180092ca0
lea rcx, [r14 + 0x48]
mov rdx, rax
call fcn.18005bc10
mov r8, qword [rsp + 0x38]
cmp r8, 8
jb 0x18006f77c
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