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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xd0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x14002a088]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rax, r9
mov rsi, r8
mov r15, rdx
mov r14, rcx
mov qword [rbp - 0x71], 7
xor r12d, r12d
mov qword [rbp - 0x79], r12
mov word [rsp + 0x28], r12w
mov qword [rbp + 0xf], 7
mov qword [rbp + 7], r12
mov word [rbp - 9], r12w
or rbx, 0xffffffffffffffff
lea rcx, [rsp + 0x28]
cmp qword [r9 + 0x10], r12
je 0x14000393e
cmp rcx, rax
je 0x140003950
mov rdx, rax
lea rcx, [rsp + 0x28]
jmp 0x140003945
lea rdx, [0x14002c578]
mov r9, rbx
xor r8d, r8d
call fcn.1400018d0
lea rcx, [rbp - 0x49]
call fcn.140001410
nop
mov rdx, rax
lea rcx, [rbp - 0x69]
call fcn.1400012c0
nop
lea r8, [rsp + 0x28]
mov rdx, rax
lea rcx, [rbp - 0x29]
call fcn.140003ce0
mov rdi, rax
lea rax, [rsp + 0x28]
cmp rax, rdi
je 0x1400039c1
mov r8, qword [rbp - 0x71]
cmp r8, 8
jb 0x1400039a1
inc r8
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x28]
call fcn.140001d00
mov qword [rbp - 0x71], 7
mov qword [rbp - 0x79], r12
mov word [rsp + 0x28], r12w
mov rdx, rdi
lea rcx, [rsp + 0x28]
call fcn.140001a10
nop
mov r8, qword [rbp - 0x11]
cmp r8, 8
jb 0x1400039db
inc r8
mov rdx, qword [rbp - 0x29]
lea rcx, [rbp - 0x29]
call fcn.140001d00
mov qword [rbp - 0x11], 7
mov qword [rbp - 0x19], r12
mov word [rbp - 0x29], r12w
mov r8, qword [rbp - 0x51]
cmp r8, 8
jb 0x140003a06
inc r8
mov rdx, qword [rbp - 0x69]
lea rcx, [rbp - 0x69]
call fcn.140001d00
mov qword [rbp - 0x51], 7
mov qword [rbp - 0x59], r12
mov word [rbp - 0x69], r12w
mov r8, qword [rbp - 0x31]
cmp r8, 8
jb 0x140003a31
inc r8
mov rdx, qword [rbp - 0x49]
lea rcx, [rbp - 0x49]
call fcn.140001d00
lea rcx, [rsp + 0x28]
cmp qword [rbp - 0x71], 8
cmovae rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140003a50
test al, 0x10
je 0x140003a92
lea rcx, [rbp - 0x49]
call fcn.140002cc0
nop
lea rcx, [rsp + 0x28]
cmp rcx, rax
je 0x140003a78
mov r9, rbx
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.1400018d0
nop
mov r8, qword [rbp - 0x31]
cmp r8, 8
jb 0x140003a92
inc r8
mov rdx, qword [rbp - 0x49]
lea rcx, [rbp - 0x49]
call fcn.140001d00
lea rcx, [rsp + 0x28]
cmp qword [rbp - 0x71], 8
cmovae rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140003af6
test al, 0x10
jne 0x140003af6
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x49]
call fcn.1400012c0
nop
lea rcx, [rbp - 9]
cmp rcx, rax
je 0x140003adc
mov r9, rbx
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp - 9]
call fcn.1400018d0
nop
mov r8, qword [rbp - 0x31]
cmp r8, 8
jb 0x140003af6
inc r8
mov rdx, qword [rbp - 0x49]
lea rcx, [rbp - 0x49]
call fcn.140001d00
mov rax, qword [rbp + 0x7f]
cmp qword [rax + 0x10], 0
jne 0x140003b95
lea rcx, [rbp - 0x49]
call fcn.140003130
nop
lea r8, [rsp + 0x28]
mov rdx, rax
lea rcx, [rbp - 0x69]
call fcn.1400035a0
nop
lea rcx, [rsp + 0x28]
cmp rcx, rax
je 0x140003b3f
mov r9, rbx
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.1400018d0
nop
mov r8, qword [rbp - 0x51]
cmp r8, 8
jb 0x140003b59
inc r8
mov rdx, qword [rbp - 0x69]
lea rcx, [rbp - 0x69]
call fcn.140001d00
mov qword [rbp - 0x51], 7
mov qword [rbp - 0x59], r12
mov word [rbp - 0x69], r12w
mov r8, qword [rbp - 0x31]
cmp r8, 8
jb 0x140003b84
inc r8
mov rdx, qword [rbp - 0x49]
lea rcx, [rbp - 0x49]
call fcn.140001d00
cmp qword [rbp - 0x79], 0
jne 0x140003b95
mov ebx, 0xfffffffd
jmp 0x140003c6a
mov qword [rbp - 0x11], 7
mov qword [rbp - 0x19], r12
mov word [rbp - 0x29], r12w
mov r8d, 0xa
lea rdx, [0x140025e40]
lea rcx, [rbp - 0x29]
call fcn.140001780
nop
lea rdx, [rbp - 0x29]
lea rcx, [rsp + 0x28]
call fcn.140004150
test al, al
sete dil
mov r8, qword [rbp - 0x11]
cmp r8, 8
jb 0x140003beb
inc r8
mov rdx, qword [rbp - 0x29]
lea rcx, [rbp - 0x29]
call fcn.140001d00
test dil, dil
je 0x140003bf7
mov ebx, 0xfffffffe
jmp 0x140003c6a
mov rdx, rsi
lea rcx, [rsp + 0x28]
call fcn.140002a50
cmp qword [rsi], 0
je 0x140003c6a
lea rdx, [rbp - 9]
cmp qword [rbp + 0xf], 8
cmovae rdx, qword [rbp - 9]
lea rcx, [rbp - 0x69]
call fcn.140002570
nop
lea r8, [rbp - 0x69]
cmp qword [rbp - 0x51], 0x10
cmovae r8, qword [rbp - 0x69]
mov edx, 0x104
lea rcx, [0x14002c330]
call fcn.140009edc
lea rdx, str.CreateFruityInstance
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140003c60
mov rdx, r15
mov rcx, r14
call rax
mov ebx, eax
lea rcx, [rbp - 0x69]
call fcn.140001500
nop
mov r8, qword [rbp + 0xf]
cmp r8, 8
jb 0x140003c84
inc r8
mov rdx, qword [rbp - 9]
lea rcx, [rbp - 9]
call fcn.140001d00
mov qword [rbp + 0xf], 7
mov qword [rbp + 7], r12
mov word [rbp - 9], r12w
mov r8, qword [rbp - 0x71]
cmp r8, 8
jb 0x140003cb1
inc r8
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x28]
call fcn.140001d00
mov eax, ebx
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1400052c0
add rsp, 0xd0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret