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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xf8
mov rax, qword [0x14002b020]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov rdi, r8
mov r14, rdx
mov rsi, rcx
xor r15d, r15d
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x50], r15
mov qword [rbp - 0x79], 7
mov word [rsp + 0x40], r15w
mov qword [rbp - 0x51], r15
mov qword [rbp - 0x41], r15
mov qword [rbp - 0x39], 7
mov word [rbp - 0x51], r15w
mov r8, qword [r9 + 0x10]
test r8, r8
je 0x1400035de
lea rax, [rsp + 0x40]
cmp rax, r9
je 0x140003606
cmp qword [r9 + 0x18], 8
jb 0x1400035d9
mov r9, qword [r9]
mov rdx, r9
jmp 0x1400035fc
lea rdx, [0x14002bbf8]
cmp qword [0x14002bc10], 8
cmovae rdx, qword [0x14002bbf8]
mov r8, qword [0x14002bc08]
lea rcx, [rsp + 0x40]
call fcn.140001750
lea rcx, [rbp - 0x31]
call fcn.1400014e0
nop
mov rdx, rax
lea rcx, [rbp - 0x71]
call fcn.140001320
mov r9, rax
mov rcx, qword [rax + 0x10]
movabs rax, 0x7ffffffffffffffe
sub rax, rcx
mov rdx, qword [rsp + 0x50]
cmp rax, rdx
jb 0x140003b56
cmp qword [r9 + 0x18], 8
jb 0x140003648
mov r9, qword [r9]
lea rax, [rsp + 0x40]
cmp qword [rbp - 0x79], 8
cmovae rax, qword [rsp + 0x40]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x11]
call fcn.140003ba0
mov rdx, qword [rbp - 0x79]
cmp rdx, 8
jb 0x1400036b1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400036ac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003b5c
call fcn.140004c58
movups xmm0, xmmword [rbp - 0x11]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rbp - 1]
movups xmmword [rsp + 0x50], xmm1
mov rdx, qword [rbp - 0x59]
cmp rdx, 8
jb 0x140003703
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x71]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400036fe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003b62
call fcn.140004c58
mov qword [rbp - 0x61], r15
mov qword [rbp - 0x59], 7
mov word [rbp - 0x71], r15w
mov rdx, qword [rbp - 0x19]
cmp rdx, 8
jb 0x140003754
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000374f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003b68
call fcn.140004c58
lea rcx, [rsp + 0x40]
cmp qword [rbp - 0x79], 8
cmovae rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140003773
test al, 0x10
je 0x1400037e3
lea rcx, [rbp - 0x31]
call fcn.1400024d0
nop
lea rcx, [rsp + 0x40]
cmp rcx, rax
je 0x1400037a3
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x140003794
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
lea rcx, [rsp + 0x40]
call fcn.140001750
nop
mov rdx, qword [rbp - 0x19]
cmp rdx, 8
jb 0x1400037e3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400037de
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003b6e
call fcn.140004c58
lea rcx, [rsp + 0x40]
cmp qword [rbp - 0x79], 8
cmovae rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140003875
test al, 0x10
jne 0x140003875
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x31]
call fcn.140001320
nop
lea rcx, [rbp - 0x51]
cmp rcx, rax
je 0x140003835
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x140003827
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
lea rcx, [rbp - 0x51]
call fcn.140001750
nop
mov rdx, qword [rbp - 0x19]
cmp rdx, 8
jb 0x140003875
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003870
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003b74
call fcn.140004c58
mov rax, qword [rbp + 0x7f]
cmp qword [rax + 0x10], 0
jne 0x140003969
lea rcx, [rbp - 0x31]
call fcn.140002890
nop
lea r8, [rsp + 0x40]
mov rdx, rax
lea rcx, [rbp - 0x71]
call fcn.1400030f0
nop
lea rcx, [rsp + 0x40]
cmp rcx, rax
je 0x1400038c6
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x1400038b7
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
lea rcx, [rsp + 0x40]
call fcn.140001750
nop
mov rdx, qword [rbp - 0x59]
cmp rdx, 8
jb 0x140003906
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x71]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003901
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003b7a
call fcn.140004c58
mov qword [rbp - 0x61], r15
mov qword [rbp - 0x59], 7
mov word [rbp - 0x71], r15w
mov rdx, qword [rbp - 0x19]
cmp rdx, 8
jb 0x140003957
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003952
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003b80
call fcn.140004c58
cmp qword [rsp + 0x50], 0
jne 0x140003969
mov ebx, 0xfffffffd
jmp 0x140003aa4
mov qword [rbp - 0x71], r15
mov qword [rbp - 0x61], r15
mov qword [rbp - 0x59], 7
mov word [rbp - 0x71], r15w
mov r8d, 0xa
lea rdx, [0x1400274c0]
lea rcx, [rbp - 0x71]
call fcn.140001750
nop
lea rdx, [rbp - 0x71]
lea rcx, [rsp + 0x40]
call fcn.140003f00
test al, al
sete bl
mov rdx, qword [rbp - 0x59]
cmp rdx, 8
jb 0x1400039e8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x71]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400039e3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003b86
call fcn.140004c58
test bl, bl
je 0x1400039f6
mov ebx, 0xfffffffe
jmp 0x140003aa4
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.140002030
mov ebx, 0xffffffff
cmp qword [rdi], 0
je 0x140003aa4
lea rdx, [rbp - 0x51]
cmp qword [rbp - 0x39], 8
cmovae rdx, qword [rbp - 0x51]
lea rcx, [rbp - 0x71]
call fcn.140001c20
nop
lea r8, [rbp - 0x71]
cmp qword [rbp - 0x59], 0x10
cmovae r8, qword [rbp - 0x71]
mov edx, 0x104
lea rcx, [0x14002d3c0]
call fcn.14000b9a0
lea rdx, str.CreateFruityInstance
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140003a68
mov rdx, r14
mov rcx, rsi
call rax
mov ebx, eax
mov rdx, qword [rbp - 0x59]
cmp rdx, 0x10
jb 0x140003aa4
inc rdx
mov rcx, qword [rbp - 0x71]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003a9e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003b8c
call fcn.140004c58
nop
mov rdx, qword [rbp - 0x39]
cmp rdx, 8
jb 0x140003ae4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003adf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003b92
call fcn.140004c58
mov qword [rbp - 0x41], r15
mov qword [rbp - 0x39], 7
mov word [rbp - 0x51], r15w
mov rdx, qword [rbp - 0x79]
cmp rdx, 8
jb 0x140003b32
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003b2d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003b50
call fcn.140004c58
mov eax, ebx
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.140004960
add rsp, 0xf8
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14000bda8
nop
call fcn.140001300
nop
call fcn.14000bda8
nop
call fcn.14000bda8
nop
call fcn.14000bda8
int3
call fcn.14000bda8
int3
call fcn.14000bda8
nop
call fcn.14000bda8
nop
call fcn.14000bda8
int3
call fcn.14000bda8
int3
call fcn.14000bda8
nop
call fcn.14000bda8
int3