Function at 0x140003fa0
Capabilities:
Create directory
Create process on windows
Delete file
Get common file path
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x12f8]
mov eax, 0x13d0
call fcn.140013c10
sub rsp, rax
mov rax, qword [0x140023010]
xor rax, rsp
mov qword [rbp + 0x12c0], rax
mov r13, rcx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
mov rbx, qword [0x140024c50]
xor r12d, r12d
mov rax, qword [0x140024c58]
mov qword [0x140024c38], r12
jmp 0x14000401a
mov rdx, qword [rbx]
test rdx, rdx
je 0x140004016
mov cl, 1
call qword [rdx + 0x38]
mov rax, qword [0x140024c58]
add rbx, 8
cmp rbx, rax
jb 0x140004002
mov r8d, 0x104
lea rdx, [rbp + 0xa80]
mov rcx, r13
or r15, 0xffffffffffffffff
mov rsi, r12
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov qword [rsp + 0x30], r12
lea r8d, [r15 + 2]
mov dword [rsp + 0x28], 0x80
lea rcx, [rbp + 0xa80]
xor r9d, r9d
mov dword [rsp + 0x20], 3
mov edx, 0x80000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, r15
je 0x1400045db
lea r9d, [r15 + 3]
xor r8d, r8d
lea edx, [r15 - 3]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], r12
lea r8d, [r15 + 5]
mov rcx, rbx
lea rdx, [rsp + 0x54]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400045d6
mov edx, dword [rsp + 0x54]
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], r12
lea r8d, [r15 + 0x4d]
mov rcx, rbx
lea rdx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400045d6
mov ecx, dword [rbp - 8]
mov eax, 0x218
mul rcx
cmovo rax, r15
mov rcx, rax
call fcn.14000787c
mov rsi, rax
mov r14d, r12d
cmp dword [rbp - 8], r12d
jbe 0x140004200
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x50]
mov r12d, r14d
mov r8d, 2
imul rdi, r12, 0x218
mov rcx, rbx
add rdi, rsi
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400045d6
movzx r8d, word [rdi]
lea rdx, [rdi + 2]
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x50]
add r8d, r8d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400045d6
mov ecx, dword [rsp + 0x50]
lea rdx, [rdi + 0x20c]
imul rax, r12, 0x10c
shr rcx, 1
lea r9, [rsp + 0x50]
add rcx, rax
xor r12d, r12d
mov qword [rsp + 0x20], r12
mov word [rsi + rcx*2 + 2], r12w
lea r8d, [r12 + 4]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400045d6
lea rdx, [rdi + 0x210]
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x50]
mov rcx, rbx
lea r8d, [r12 + 4]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400045d6
lea rdx, [rdi + 0x214]
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x50]
mov rcx, rbx
lea r8d, [r12 + 4]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400045d6
inc r14d
cmp r14d, dword [rbp - 8]
jb 0x14000410b
lea rdx, [rbp + 0x250]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea r9, [rbp + 0x250]
xor r8d, r8d
lea rdx, [0x14001f6f0]
lea rcx, [rbp + 0x250]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea rcx, [rbp + 0x250]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rbp + 0x250]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
mov rax, rcx
test ecx, ecx
je 0x14000426b
cmp word [rbp + rax*2 + 0x250], 0x2e
je 0x140004476
dec ecx
sub rax, 1
jne 0x140004254
xor edx, edx
lea rcx, [rbp + 0x250]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1400045d6
lea rdx, [rbp + 0x250]
lea rcx, [rbp + 0x460]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, str.lang
lea rcx, [rbp + 0x460]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
xor edx, edx
lea rcx, [rbp + 0x460]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1400045d6
lea rdx, [rbp + 0x460]
lea rcx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, [0x14001f708]
lea rcx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
xor edx, edx
lea rcx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1400045d6
lea rdx, str.english
lea rcx, [rbp - 4]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x140004350
lea rdx, [rbp + 0x460]
lea rcx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, [0x14001f794]
lea rcx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, [rbp - 4]
lea rcx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
xor edx, edx
lea rcx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1400045d6
lea rdx, [rbp + 0x250]
lea rcx, [rbp + 0x460]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, str.shaders
lea rcx, [rbp + 0x460]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
xor edx, edx
lea rcx, [rbp + 0x460]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1400045d6
lea rdx, str._template
lea rcx, [rbp + 0x460]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
xor edx, edx
lea rcx, [rbp + 0x460]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1400045d6
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
lea rdx, [rbp + 0x250]
lea rcx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, str.EModelEx
lea rcx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov r9d, dword [rsi + 0x20c]
lea rax, [rsp + 0x58]
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x40]
mov dword [rsp + 0x58], r9d
mov rcx, rbx
call fcn.14000462c
test eax, eax
je 0x1400045d6
mov edi, r12d
cmp dword [rbp - 8], r12d
jbe 0x140004501
mov eax, edi
xor r9d, r9d
imul r14, rax, 0x218
xor r8d, r8d
mov rcx, rbx
mov edx, dword [r14 + rsi + 0x20c]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
lea rdx, [rbp + 0x250]
lea rcx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, [rsi + 2]
add rdx, r14
lea rcx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
test edi, edi
jne 0x1400044ab
lea rcx, [rbp + 0xea0]
jmp 0x1400044b7
movsxd rax, ecx
mov edx, 0x5c
mov word [rbp + rax*2 + 0x250], dx
movsxd rax, ecx
lea rax, [rax*2 + 2]
cmp rax, 0x20a
jae 0x140004624
mov word [rbp + rax + 0x250], r12w
jmp 0x14000426b
cmp edi, 1
jne 0x1400044c1
lea rcx, [rbp + 0xc90]
lea rdx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [r14 + rsi + 0x210]
lea rdx, [rbp + 0x40]
mov r9d, dword [r14 + rsi + 0x214]
mov r8d, edi
mov dword [rsp + 0x5c], eax
mov rcx, rbx
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x20], rax
call fcn.14000462c
test eax, eax
je 0x1400045d6
inc edi
cmp edi, dword [rbp - 8]
jb 0x140004427
lea rdx, [rbp + 0xc90]
lea rcx, [rbp + 0x460]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, [0x14001f76c]
lea rcx, [rbp + 0x460]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, [rbp + 0xea0]
lea rcx, [rbp + 0x460]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov r8d, 0x105
lea rdx, [rbp + 0x10b0]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rdx, [0x14001f770]
lea rcx, [rbp + 0x460]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, [rbp + 0x10b0]
lea rcx, [rbp + 0x460]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov edi, 0x68
lea rcx, [rbp - 0x80]
mov r8d, edi
xor edx, edx
call fcn.140008a70
lea rax, [rsp + 0x60]
mov dword [rbp - 0x80], edi
mov qword [rsp + 0x48], rax
lea rdx, [rbp + 0x460]
lea rax, [rbp - 0x80]
xor r9d, r9d
mov qword [rsp + 0x40], rax
xor r8d, r8d
mov qword [rsp + 0x38], r12
xor ecx, ecx
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
cmovne r15d, r12d
test rbx, rbx
je 0x1400045e4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rsi, rsi
je 0x1400045f1
mov rcx, rsi
call fcn.140007380
mov eax, r15d
mov rcx, qword [rbp + 0x12c0]
xor rcx, rsp
call fcn.140007330
lea r11, [rsp + 0x13d0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140007498
int3