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

Disassembly:
push rbp
push rbx
push r14
lea rbp, [rsp - 0xb90]
sub rsp, 0xc90
mov rax, qword [0x180248950]
xor rax, rsp
mov qword [rbp + 0xb80], rax
mov r14, rcx
lea rcx, [rbp + 0x972]
xor ebx, ebx
xor edx, edx
mov r8d, 0x206
mov word [rbp + 0x970], bx
call fcn.1800be330
lea rcx, [rbp + 0x762]
xor edx, edx
mov r8d, 0x206
mov word [rbp + 0x760], bx
call fcn.1800be330
lea rcx, [rbp + 0x342]
xor edx, edx
mov r8d, 0x206
mov word [rbp + 0x340], bx
call fcn.1800be330
lea rcx, [rbp + 0x552]
xor edx, edx
mov r8d, 0x206
mov word [rbp + 0x550], bx
call fcn.1800be330
lea rcx, [rbp + 0x132]
xor edx, edx
mov r8d, 0x206
mov word [rbp + 0x130], bx
call fcn.1800be330
lea rcx, [rsp + 0x22]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x20], bx
call fcn.1800be330
lea r8d, [rbx + 0x1a]
lea rdx, [rbp + 0x970]
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edx, ebx
movzx eax, word [rbp + rdx + 0x970]
lea rdx, [rdx + 2]
mov word [rbp + rdx + 0x12e], ax
test ax, ax
jne 0x1800024a0
lea rcx, [rbp + 0x130]
mov edx, 0x5c
call fcn.1800b59a4
test rax, rax
jne 0x1800024dc
mov rcx, r14
call fcn.180004880
jmp 0x1800026dd
mov qword [rsp + 0xcb8], rsi
mov qword [rsp + 0xcc0], rdi
mov word [rax], bx
mov qword [rsp + 0xcc8], r15
mov rcx, rbx
nop word [rax + rax]
movzx eax, word [rbp + rcx + 0x130]
lea rcx, [rcx + 2]
mov word [rbp + rcx + 0x75e], ax
test ax, ax
jne 0x180002500
lea rcx, [rbp + 0x760]
sub rcx, 2
cmp word [rcx + 2], bx
lea rcx, [rcx + 2]
jne 0x180002524
mov rax, qword [str.Local]
mov qword [rcx], rax
mov eax, dword [0x1801eb6d0]
mov dword [rcx + 8], eax
movzx eax, word [0x1801eb6d4]
mov word [rcx + 0xc], ax
lea rcx, [rbp + 0x760]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, ebx
mov r15d, 1
test eax, eax
mov rcx, rbx
cmovne esi, r15d
nop word [rax + rax]
movzx eax, word [rbp + rcx + 0x130]
lea rcx, [rcx + 2]
mov word [rbp + rcx + 0x33e], ax
test ax, ax
jne 0x180002570
lea rcx, [rbp + 0x340]
sub rcx, 2
cmp word [rcx + 2], bx
lea rcx, [rcx + 2]
jne 0x180002594
mov rax, qword [str.LocalLow]
mov qword [rcx], rax
mov rax, qword [0x1801eb6e0]
mov qword [rcx + 8], rax
mov eax, dword [0x1801eb6e8]
mov dword [rcx + 0x10], eax
lea rcx, [rbp + 0x340]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, ebx
mov rcx, rbx
test eax, eax
cmovne edi, r15d
movzx eax, word [rbp + rcx + 0x130]
lea rcx, [rcx + 2]
mov word [rbp + rcx + 0x54e], ax
test ax, ax
jne 0x1800025d4
lea rcx, [rbp + 0x550]
sub rcx, 2
nop dword [rax + rax]
cmp word [rcx + 2], bx
lea rcx, [rcx + 2]
jne 0x180002600
mov rax, qword [str.Roaming]
mov qword [rcx], rax
mov rax, qword [0x1801eb6f8]
mov qword [rcx + 8], rax
movzx eax, word [0x1801eb700]
mov word [rcx + 0x10], ax
lea rcx, [rbp + 0x550]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, ebx
test eax, eax
cmovne ecx, r15d
mov r15, qword [rsp + 0xcc8]
test esi, esi
mov rsi, qword [rsp + 0xcb8]
je 0x1800026cd
test edi, edi
je 0x1800026cd
test ecx, ecx
je 0x1800026cd
call fcn.180004530
test eax, eax
je 0x1800026cd
lea r9, str.WanNengWBIME.users
lea r8, [rbp + 0x340]
lea rdx, [0x1801eb728]
lea rcx, [rsp + 0x20]
call fcn.1800b5a54
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x18000269c
lea rcx, [rsp + 0x20]
call fcn.18000d730
cmp word [rsp + 0x20], bx
je 0x1800026ba
lea rax, [rsp + 0x20]
or rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1800026b0
lea rcx, [r14 + 0x28]
lea rdx, [rsp + 0x20]
mov r8, rbx
call fcn.180005450
jmp 0x1800026d5
mov rcx, r14
call fcn.180004880
mov rdi, qword [rsp + 0xcc0]
mov rcx, qword [rbp + 0xb80]
xor rcx, rsp
call fcn.1800b5370
add rsp, 0xc90
pop r14
pop rbx
pop rbp
ret