Function at 0x14001fd90
Capabilities:
Check if file exists
Create process on windows
Delete file
Get file attributes
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xf]
sub rsp, 0x90
mov edi, r9d
mov rsi, r8
lea rax, vtable.SFile.0
mov qword [rbp - 0x11], rax
mov edx, 1
lea ecx, [rdx + 9]
call fcn.1402deebc
add rax, 8
mov qword [rbp - 1], rax
xor r13d, r13d
mov qword [rbp - 9], r13
lea rcx, [rbp + 0x4f]
call fcn.14001f3b0
mov rbx, rax
lea edx, [r13 + 1]
lea ecx, [rdx + 9]
call fcn.1402deebc
add rax, 8
mov qword [rbp - 0x39], rax
mov rcx, qword [rbx]
mov edx, dword [rcx - 8]
add edx, 0xf
lea rcx, [rbp - 0x39]
call fcn.14001e440
mov rdx, qword [rbx]
mov ecx, dword [rdx - 8]
add ecx, ecx
movsxd r8, ecx
mov r15, qword [rbp - 0x39]
mov rcx, r15
call fcn.1402d15b0
mov rax, qword [rbx]
movsxd rcx, dword [rax - 8]
movups xmm0, xmmword [str.LOVE70_temp.bmp]
movups xmmword [r15 + rcx*2], xmm0
movsd xmm0, qword [0x140471e80]
movsd qword [r15 + rcx*2 + 0x10], xmm0
mov eax, dword [0x140471e88]
mov dword [r15 + rcx*2 + 0x18], eax
movzx eax, word [0x140471e8c]
mov word [r15 + rcx*2 + 0x1c], ax
mov rax, qword [rbp + 0x4f]
test rax, rax
je 0x14001fe7d
lea rcx, [rax - 8]
call fcn.1402d83b4
lea rcx, [rbp - 0x19]
call fcn.14001f640
nop
mov dword [rsp + 0x28], 0x20
mov qword [rsp + 0x20], r15
mov r9d, dword [rbp + 0x6f]
mov r8d, edi
mov rdx, rsi
call fcn.14001fbe0
mov edx, 1
lea ecx, [rdx + 9]
call fcn.1402deebc
add rax, 8
mov qword [rbp + 0x4f], rax
mov edx, 1
lea ecx, [rdx + 9]
call fcn.1402deebc
add rax, 8
mov qword [rbp - 0x41], rax
mov edx, 1
lea ecx, [rdx + 9]
call fcn.1402deebc
add rax, 8
mov qword [rbp - 0x29], rax
lea rcx, [rbp - 0x21]
call fcn.14001f3b0
mov rdi, rax
mov edx, 1
lea ecx, [rdx + 9]
call fcn.1402deebc
add rax, 8
mov qword [rbp - 0x31], rax
mov rcx, qword [rdi]
mov edx, dword [rcx - 8]
add edx, 0xf
lea rcx, [rbp - 0x31]
call fcn.14001e440
mov rdx, qword [rdi]
mov ecx, dword [rdx - 8]
add ecx, ecx
movsxd r8, ecx
mov rbx, qword [rbp - 0x31]
mov rcx, rbx
call fcn.1402d15b0
mov rax, qword [rdi]
movsxd rcx, dword [rax - 8]
movups xmm0, xmmword [str.LOVE70_temp.dds]
movups xmmword [rbx + rcx*2], xmm0
movsd xmm0, qword [0x140471ea0]
movsd qword [rbx + rcx*2 + 0x10], xmm0
mov eax, dword [0x140471ea8]
mov dword [rbx + rcx*2 + 0x18], eax
movzx eax, word [0x140471eac]
mov word [rbx + rcx*2 + 0x1c], ax
mov edx, dword [rbx - 8]
lea rcx, [rbp - 0x29]
call fcn.14001e440
mov eax, dword [rbx - 8]
add eax, eax
movsxd r8, eax
mov rdx, rbx
mov r14, qword [rbp - 0x29]
mov rcx, r14
call fcn.1402d15b0
test rbx, rbx
je 0x14001ff93
lea rcx, [rbx - 8]
call fcn.1402d83b4
mov rax, qword [rbp - 0x21]
test rax, rax
je 0x14001ffa5
lea rcx, [rax - 8]
call fcn.1402d83b4
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rsi, qword [rbp - 0x19]
lea rbx, [rsi - 8]
mov qword [rbp - 0x21], rbx
mov edx, dword [rbx]
lea rcx, [rbp + 0x4f]
call fcn.14001e440
mov eax, dword [rbx]
lea eax, [rax*2 + 2]
movsxd r8, eax
mov rdx, rsi
mov rcx, qword [rbp + 0x4f]
call fcn.1402d15b0
lea r8, [0x140471e24]
lea rdx, [0x140471530]
lea rcx, [rbp + 0x4f]
call fcn.14001e530
mov edx, 1
lea ecx, [rdx + 9]
call fcn.1402deebc
add rax, 8
mov qword [rbp - 0x31], rax
mov rbx, qword [rbp + 0x4f]
mov edx, dword [rbx - 8]
add edx, 0x16
lea rcx, [rbp - 0x31]
call fcn.14001e440
mov eax, dword [rbx - 8]
add eax, eax
movsxd r8, eax
mov rdx, rbx
mov rdi, qword [rbp - 0x31]
mov rcx, rdi
call fcn.1402d15b0
movsxd rax, dword [rbx - 8]
lea rcx, [rdi + rax*2]
movups xmm0, xmmword [str.Plugins_texconv.exe]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [0x140471e40]
movups xmmword [rcx + 0x10], xmm1
movsd xmm0, qword [0x140471e50]
movsd qword [rcx + 0x20], xmm0
mov eax, dword [0x140471e58]
mov dword [rcx + 0x28], eax
mov edx, dword [rdi - 8]
lea rcx, [rbp + 0x4f]
call fcn.14001e440
mov eax, dword [rdi - 8]
add eax, eax
movsxd r8, eax
mov rdx, rdi
mov rbx, qword [rbp + 0x4f]
mov rcx, rbx
call fcn.1402d15b0
lea rcx, [rdi - 8]
call fcn.1402d83b4
mov qword [rsp + 0x20], rsi
mov r9, r15
mov r8d, dword [rbp + 0x7f]
lea rdx, str._f_DXT_d___s___o___s_
lea rcx, [rbp - 0x41]
call fcn.14001ee70
lea r8, [0x140471e24]
lea rdx, [0x140471530]
lea rcx, [rbp - 0x41]
call fcn.14001e530
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], rsi
mov rdi, qword [rbp - 0x41]
mov r9, rdi
mov r8, rbx
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
xor esi, esi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140020120
nop dword [rax + rax]
cmp esi, 0x32
jge 0x140020120
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
inc esi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140020100
mov r12d, dword [rbp + 0x67]
imul r12d, dword [rbp + 0x6f]
cmp dword [rbp + 0x7f], 1
jne 0x140020138
cmp r12d, 1
jbe 0x140020138
shr r12d, 1
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14002017a
mov word [rsp + 0x20], 0x409
xor r9d, r9d
lea r8, str.Warning_
lea rdx, [0x140471ee0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxExW]
mov rsi, qword [rbp - 1]
jmp 0x1400202ae
mov edx, 1
lea ecx, [rdx + 9]
call fcn.1402deebc
add rax, 8
mov qword [rbp + 0x4f], rax
mov rdx, 0xffffffffffffffff
nop word [rax + rax]
inc rdx
cmp word [r14 + rdx*2], 0
jne 0x1400201a0
lea rcx, [rbp + 0x4f]
call fcn.14001e440
mov rcx, qword [rbp + 0x4f]
mov eax, dword [rcx - 8]
lea eax, [rax*2 + 2]
movsxd r8, eax
mov rdx, r14
call fcn.1402d15b0
lea rdx, [rbp + 0x4f]
lea rcx, [rbp - 0x19]
call fcn.14001da90
mov rsi, rax
mov rcx, qword [rax]
mov edx, dword [rcx - 8]
lea rcx, [rbp - 1]
call fcn.14001e440
mov rdx, qword [rsi]
mov eax, dword [rdx - 8]
add eax, eax
movsxd r8, eax
mov rsi, qword [rbp - 1]
mov rcx, rsi
call fcn.1402d15b0
adc ebp, dword [rbx]
add byte [rax - 0x75], cl
out 0x48, eax
test eax, eax
je 0x140020215
lea rcx, [rax - 8]
call fcn.1402d83b4
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r13, rax
cmp rax, 0xffffffffffffffff
jne 0x140020254
xor r13d, r13d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov qword [rbp + 0x4f], 0x80
xor r9d, r9d
lea r8, [rbp + 0x4f]
mov edx, 0x80
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
xor eax, eax
mov dword [rbp + 0x67], eax
test r12d, r12d
je 0x140020294
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x67]
mov r8d, r12d
mov rdx, qword [rbp + 0x57]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_ReadFile]
test r13, r13
je 0x1400202a5
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor r13d, r13d
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
test r14, r14
je 0x1400202c7
lea rcx, [r14 - 8]
call fcn.1402d83b4
nop
test rdi, rdi
je 0x1400202d6
lea rcx, [rdi - 8]
call fcn.1402d83b4
nop
test rbx, rbx
je 0x1400202e5
lea rcx, [rbx - 8]
call fcn.1402d83b4
nop
mov rcx, qword [rbp - 0x21]
call fcn.1402d83b4
nop
test r15, r15
je 0x1400202fe
lea rcx, [r15 - 8]
call fcn.1402d83b4
nop
test r13, r13
je 0x14002030c
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rsi, rsi
je 0x14002031a
lea rcx, [rsi - 8]
call fcn.1402d83b4
mov rbx, qword [rsp + 0xe0]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret