Function at 0x140011451
Capabilities:
Check if file exists
Delete file
Execute command
Get file attributes

Disassembly:
jmp 0x1400204a0
push rbp
push rdi
sub rsp, 0xa68
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x1ce
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14003d018]
xor rax, rbp
mov qword [rbp + 0xa20], rax
lea rcx, [0x1400440ef]
call fcn.140011c71
lea rcx, str.config
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400204fc
lea rcx, str.config
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, 0x38
lea rcx, [rbp + 8]
call fcn.1400111ea
lea rax, [rbp + 0x548]
mov qword [rbp + 0x588], rax
lea rdx, str.fps_config.ini
mov rcx, qword [rbp + 0x588]
call fcn.140011596
mov qword [rbp + 0x9d8], rax
mov rdx, qword [rbp + 0x9d8]
lea rcx, [rbp + 8]
call fcn.140011b13
nop
lea rcx, [rbp + 8]
call fcn.140011ab4
test eax, eax
je 0x14002081f
lea rcx, str._n____n
call fcn.1400115e6
lea rcx, str._n..._n
call fcn.1400115e6
mov dword [rbp + 0x54], 0
lea rax, [rbp + 0x5a8]
mov qword [rbp + 0x5e8], rax
lea rdx, str.YuanShen.exe
mov rcx, qword [rbp + 0x5e8]
call fcn.140011596
mov qword [rbp + 0x9d8], rax
mov rcx, qword [rbp + 0x9d8]
call fcn.140011ca3
mov dword [rbp + 0x54], eax
cmp dword [rbp + 0x54], 0
jne 0x140020617
lea rax, [rbp + 0x608]
mov qword [rbp + 0x648], rax
lea rdx, str.GenshinImpact.exe
mov rcx, qword [rbp + 0x648]
call fcn.140011596
mov qword [rbp + 0x9d8], rax
mov rcx, qword [rbp + 0x9d8]
call fcn.140011ca3
mov dword [rbp + 0x54], eax
cmp dword [rbp + 0x54], 0
jne 0x140020617
mov dword [rbp + 0x684], 0xc8
lea rdx, [rbp + 0x684]
lea rcx, [rbp + 0x668]
call fcn.14001191f
mov rcx, rax
call fcn.140011a55
jmp 0x140020573
mov r8d, dword [rbp + 0x54]
xor edx, edx
mov ecx, 0x101000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 0x78], rax
cmp qword [rbp + 0x78], 0
jne 0x140020694
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x94], eax
mov edx, dword [rbp + 0x94]
lea rcx, [rbp + 0x6a8]
call fcn.140011b7c
mov qword [rbp + 0x9d8], rax
mov rcx, qword [rbp + 0x9d8]
call fcn.140011113
mov r8, rax
mov edx, dword [rbp + 0x94]
lea rcx, str.OpenProcess_failed___d_:__s
call fcn.1400115e6
lea rcx, [rbp + 0x6a8]
call fcn.14001124e
nop
lea rcx, [rbp + 8]
call fcn.14001136b
jmp 0x140020a19
lea rax, [rbp + 0xc0]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
mov dword [rbp + 0x1e4], 0x104
lea r9, [rbp + 0x1e4]
lea r8, [rbp + 0xc0]
xor edx, edx
mov rcx, qword [rbp + 0x78]
call qword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameA]
lea rdx, [rbp + 0xc0]
lea rcx, [0x14003d450]
call fcn.14001105f
mov eax, dword [section..data]
mov dword [rbp + 0x9d4], eax
lea rax, [rbp + 0x6e8]
mov qword [rbp + 0x728], rax
lea rdx, [0x14003d450]
mov rcx, qword [rbp + 0x728]
call fcn.1400111cc
mov qword [rbp + 0x9d8], rax
mov rax, qword [rbp + 0x9d8]
mov qword [rbp + 0x9e0], rax
mov edx, dword [rbp + 0x9d4]
mov rcx, qword [rbp + 0x9e0]
call fcn.1400119dd
mov qword [rbp + 0x208], 0
xor edx, edx
lea rcx, str.UnityWndClass
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [rbp + 0x208], rax
cmp qword [rbp + 0x208], 0
jne 0x140020784
mov dword [rbp + 0x764], 0xc8
lea rdx, [rbp + 0x764]
lea rcx, [rbp + 0x748]
call fcn.14001191f
mov rcx, rax
call fcn.140011a55
jmp 0x14002073d
mov dword [rbp + 0x224], 0x103
cmp dword [rbp + 0x224], 0x103
jne 0x1400207ea
xor r9d, r9d
xor r8d, r8d
mov edx, 0x10
mov rcx, qword [rbp + 0x208]
call qword [sym.imp.USER32.dll_SendMessageA]
lea rdx, [rbp + 0x224]
mov rcx, qword [rbp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov dword [rbp + 0x7a4], 0xc8
lea rdx, [rbp + 0x7a4]
lea rcx, [rbp + 0x788]
call fcn.14001191f
mov rcx, rax
call fcn.140011a55
jmp 0x14002078e
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x78]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [0x140036768]
call qword [sym.imp.ucrtbased.dll_system]
nop
lea rcx, [rbp + 8]
call fcn.14001136b
jmp 0x140020a19
lea rax, [rbp + 0x7c8]
mov qword [rbp + 0x808], rax
lea rdx, [0x1400365b6]
mov rcx, qword [rbp + 0x808]
call fcn.140011596
mov qword [rbp + 0x9d8], rax
mov rax, qword [rbp + 0x9d8]
mov qword [rbp + 0x9e0], rax
mov rax, qword [rbp + 0x9e0]
mov qword [rbp + 0x9e8], rax
lea rax, [rbp + 0x828]
mov qword [rbp + 0x868], rax
lea rdx, str.Path
mov rcx, qword [rbp + 0x868]
call fcn.140011596
mov qword [rbp + 0x9f0], rax
mov rax, qword [rbp + 0x9f0]
mov qword [rbp + 0x9f8], rax
mov rax, qword [rbp + 0x9f8]
mov qword [rbp + 0xa00], rax
lea rax, [rbp + 0x888]
mov qword [rbp + 0x8c8], rax
lea rdx, str.Setting
mov rcx, qword [rbp + 0x8c8]
call fcn.140011596
mov qword [rbp + 0xa08], rax
mov rax, qword [rbp + 0xa08]
mov qword [rbp + 0xa10], rax
mov rax, qword [rbp + 0x9e8]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0xa00]
mov r8, qword [rbp + 0xa10]
lea rdx, [rbp + 0x8e8]
lea rcx, [rbp + 8]
call fcn.1400112b2
mov qword [rbp + 0xa18], rax
mov rdx, qword [rbp + 0xa18]
lea rcx, [0x14003d450]
call fcn.140011361
lea rcx, [rbp + 0x8e8]
call fcn.14001124e
mov eax, dword [section..data]
mov dword [rbp + 0x9d4], eax
lea rax, [rbp + 0x928]
mov qword [rbp + 0x968], rax
lea rdx, [0x140036784]
mov rcx, qword [rbp + 0x968]
call fcn.140011596
mov qword [rbp + 0x9d8], rax
mov rax, qword [rbp + 0x9d8]
mov qword [rbp + 0x9e0], rax
mov rax, qword [rbp + 0x9e0]
mov qword [rbp + 0x9e8], rax
lea rax, [rbp + 0x988]
mov qword [rbp + 0x9c8], rax
lea rdx, str.Setting
mov rcx, qword [rbp + 0x9c8]
call fcn.140011596
mov qword [rbp + 0x9f0], rax
mov rax, qword [rbp + 0x9f0]
mov qword [rbp + 0x9f8], rax
mov r9d, dword [rbp + 0x9d4]
mov r8, qword [rbp + 0x9e8]
mov rdx, qword [rbp + 0x9f8]
lea rcx, [rbp + 8]
call fcn.140011d2f
mov dword [section..data], eax
lea rcx, [0x14003d450]
call fcn.140011113
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x140020a10
lea rcx, [0x140036788]
call fcn.1400115e6
lea rcx, str.config.ini
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
call fcn.140011451
nop
lea rcx, [rbp + 8]
call fcn.14001136b
lea rcx, [rbp - 0x30]
lea rdx, [0x140035028]
call fcn.140011a78
mov rcx, qword [rbp + 0xa20]
xor rcx, rbp
call fcn.140011613
lea rsp, [rbp + 0xa38]
pop rdi
pop rbp
ret