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

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x7b8]
sub rsp, 0x8b0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rdi
mov rax, qword [0x14026fdb0]
xor rax, rsp
mov qword [rbp + 0x7a0], rax
mov rdi, rdx
mov rbx, rcx
xor r8d, r8d
lea rdx, str.DeleteLanguageMonitor
lea rcx, [rsp + 0x40]
call fcn.140001190
nop
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], rdi
mov r9, rbx
lea r8, str.lpszFile___s__lpszMon___s__bDebug___d
mov edx, 1
lea rcx, [rsp + 0x40]
call fcn.140001370
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x170]
call fcn.14019d7c0
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x60]
call fcn.14019d7c0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x380]
call fcn.14019d7c0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x590]
call fcn.14019d7c0
call fcn.1400166e0
cmp eax, 0xa
jne 0x14002369e
call fcn.140019870
lea rcx, str.SPOOLER
call fcn.140019a70
mov r8, rdi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.WINSPOOL.DRV_DeleteMonitorW]
test eax, eax
jne 0x1400236df
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor r9d, r9d
lea r8, str.return___08x
lea edx, [r9 + 2]
lea rcx, [rsp + 0x40]
call fcn.140001370
nop
lea rcx, [rsp + 0x40]
call fcn.140001320
xor eax, eax
jmp 0x14002386f
mov edx, 0x104
lea rcx, [rbp + 0x380]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea rcx, [rbp + 0x380]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
mov r9, rbx
lea r8, [rbp + 0x380]
cmp word [rbp + rcx*2 + 0x37e], 0x5c
lea rcx, [rbp + 0x170]
lea rdx, str._s_s
jne 0x14002372b
lea rdx, [0x14021c280]
call qword [sym.imp.USER32.dll_wsprintfW]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
lea rcx, [rbp + 0x170]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140023831
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x140023831
cmp eax, 3
je 0x140023831
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x60]
call fcn.14019d7c0
mov edx, 0x104
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea r8, str.WININIT.INI
mov edx, 0x104
lea rcx, [rsp + 0x60]
call fcn.14019c388
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, rbx
je 0x140023831
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r9, [rsp + 0x60]
lea r8, [rbp + 0x170]
lea rdx, str.NULL
lea rcx, str.rename
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
test eax, eax
jne 0x140023831
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp + 0x170]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, eax
mov r9d, eax
lea r8, str.return___08x
mov edx, 2
lea rcx, [rsp + 0x40]
call fcn.140001370
nop
lea rcx, [rsp + 0x40]
call fcn.140001320
mov eax, ebx
mov rcx, qword [rbp + 0x7a0]
xor rcx, rsp
call fcn.140198b40
lea r11, [rsp + 0x8b0]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret