Function at 0x1400035a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x218], rbx
mov rax, qword [0x14002a088]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
xor r15d, r15d
mov dword [rsp + 0x20], r15d
cmp qword [r8 + 0x18], 8
jb 0x1400035f6
mov rcx, qword [r8]
jmp 0x1400035f9
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140003873
test al, 0x10
jne 0x140003873
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.1400012c0
nop
lea r8, str.Builds_
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140003de0
nop
mov r8, qword [rbp - 0x78]
cmp r8, 8
jb 0x14000364f
inc r8
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x70]
call fcn.140001d00
mov qword [rbp - 0x78], 7
mov qword [rbp - 0x80], r15
mov word [rsp + 0x70], r15w
lea rcx, [rsp + 0x50]
call fcn.1400011f0
test al, al
jne 0x1400036c7
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r15
cmp qword [rbx + 0x18], 8
jb 0x140003687
mov rax, qword [rbx]
jmp 0x14000368a
mov rax, rbx
mov word [rax], r15w
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call fcn.1400018d0
nop
mov r8, qword [rsp + 0x68]
cmp r8, 8
jb 0x140003895
inc r8
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x50]
call fcn.140001d00
jmp 0x140003895
cmp qword [rsi + 0x18], 8
jb 0x1400036d3
mov rcx, qword [rsi]
jmp 0x1400036d6
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000366f
test al, 0x10
jne 0x14000366f
cmp qword [rsi + 0x18], 8
jb 0x1400036ef
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x14000366f
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], r15
mov word [rsp + 0x30], r15w
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.1400018d0
nop
lea rdx, str.ShowEngineChoice
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
test rax, rax
je 0x140003807
cmp qword [rdi + 0x18], 8
jb 0x140003755
mov rdx, qword [rdi]
jmp 0x140003758
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.140002570
nop
lea r8, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae r8, qword [rsp + 0x70]
mov edx, 0x104
lea rcx, [rbp - 0x50]
call fcn.140009edc
lea rcx, [rbp - 0x50]
call r14
test eax, eax
je 0x1400037e8
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x70]
call fcn.140002380
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.1400029e0
mov r8, qword [rbp - 0x58]
cmp r8, 8
jb 0x1400037c0
inc r8
mov rdx, qword [rbp - 0x70]
lea rcx, [rbp - 0x70]
call fcn.140001d00
cmp qword [rsp + 0x40], 0
jne 0x1400037fd
lea rax, [rsp + 0x30]
cmp rax, rdi
je 0x1400037fd
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.1400018d0
jmp 0x1400037fd
xor r8d, r8d
lea rdx, [0x140025948]
lea rcx, [rsp + 0x30]
call fcn.140001780
nop
lea rcx, [rsp + 0x70]
call fcn.140001500
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r15
cmp qword [rbx + 0x18], 8
jb 0x140003828
mov rax, qword [rbx]
jmp 0x14000382b
mov rax, rbx
mov word [rax], r15w
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140001a10
nop
mov r8, qword [rsp + 0x48]
cmp r8, 8
jb 0x14000385a
inc r8
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
call fcn.140001d00
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], r15
mov word [rsp + 0x30], r15w
jmp 0x1400036a1
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r15
mov word [rbx], r15w
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call fcn.1400018d0
mov rax, rbx
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.1400052c0
mov rbx, qword [rsp + 0x218]
add rsp, 0x1d0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret