Function at 0x140018fc0
Capabilities:
Get file attributes

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xf0
mov qword [rbp - 0x11], 0xfffffffffffffffe
mov qword [rsp + 0x120], rbx
mov rax, qword [0x1402d68f8]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rdi, r9
mov rbx, r8
mov rsi, rdx
mov qword [rbp - 1], rbx
mov qword [rbp + 7], r9
xor r15d, r15d
mov dword [rbp - 0x39], r15d
mov qword [rbp + 0x27], 7
mov qword [rbp + 0x1f], r15
mov word [rbp + 0xf], r15w
xor r8d, r8d
lea rdx, [0x140288578]
lea rcx, [rbp + 0xf]
call fcn.140003650
nop
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp - 0x59]
call fcn.14001af30
mov r14, rax
lea rax, [rbp + 0xf]
cmp rax, r14
je 0x140019082
mov r8, qword [rbp + 0x27]
cmp r8, 8
jb 0x140019064
inc r8
mov rdx, qword [rbp + 0xf]
lea rcx, [rbp + 0xf]
call fcn.1400037a0
mov qword [rbp + 0x27], 7
mov qword [rbp + 0x1f], r15
mov word [rbp + 0xf], r15w
mov rdx, r14
lea rcx, [rbp + 0xf]
call fcn.140003cb0
nop
mov r8, qword [rbp - 0x41]
cmp r8, 8
jb 0x14001909c
inc r8
mov rdx, qword [rbp - 0x59]
lea rcx, [rbp - 0x59]
call fcn.1400037a0
mov r9d, 1
lea rdx, [0x14028d06c]
mov rcx, rbx
call fcn.140007c10
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x1400191f4
mov qword [rbp - 0x41], 7
mov qword [rbp - 0x49], r15
mov word [rbp - 0x59], r15w
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp - 0x59]
call fcn.140003830
lea r8, [r14 + 1]
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x79]
call fcn.14001b230
nop
cmp qword [rax + 0x18], 8
jb 0x1400190fe
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.14001b340
nop
mov r8, rax
mov rdx, rdi
lea rcx, [rbp - 0x31]
call fcn.14001afd0
mov r14, rax
lea rax, [rbp + 0xf]
cmp rax, r14
je 0x14001915f
mov r8, qword [rbp + 0x27]
cmp r8, 8
jb 0x140019141
inc r8
mov rdx, qword [rbp + 0xf]
lea rcx, [rbp + 0xf]
call fcn.1400037a0
mov qword [rbp + 0x27], 7
mov qword [rbp + 0x1f], r15
mov word [rbp + 0xf], r15w
mov rdx, r14
lea rcx, [rbp + 0xf]
call fcn.140003cb0
nop
mov r8, qword [rbp - 0x19]
cmp r8, 8
jb 0x140019179
inc r8
mov rdx, qword [rbp - 0x31]
lea rcx, [rbp - 0x31]
call fcn.1400037a0
mov qword [rbp - 0x19], 7
mov qword [rbp - 0x21], r15
mov word [rbp - 0x31], r15w
mov r8, qword [rsp + 0x38]
cmp r8, 8
jb 0x1400191a7
inc r8
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x20]
call fcn.1400037a0
mov qword [rsp + 0x38], 7
mov qword [rsp + 0x30], r15
mov word [rsp + 0x20], r15w
mov r8, qword [rbp - 0x61]
cmp r8, 8
jb 0x1400191d5
inc r8
mov rdx, qword [rbp - 0x79]
lea rcx, [rbp - 0x79]
call fcn.1400037a0
mov qword [rsi + 0x18], 7
mov qword [rsi + 0x10], r15
cmp qword [rsi + 0x18], 8
jb 0x1400192db
mov rax, qword [rsi]
jmp 0x1400192de
lea rcx, [rbp + 0xf]
cmp qword [rbp + 0x27], 8
cmovae rcx, qword [rbp + 0xf]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x1400191d5
mov rdx, rbx
lea rcx, [rbp - 0x79]
call fcn.140015a80
mov rdx, rax
mov rcx, rbx
call fcn.140007ba0
mov r8, qword [rbp - 0x61]
cmp r8, 8
jb 0x14001923d
inc r8
mov rdx, qword [rbp - 0x79]
lea rcx, [rbp - 0x79]
call fcn.1400037a0
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp - 0x79]
call fcn.14001af30
nop
lea r8, str.AsusSetup.ini
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140016160
mov r14, rax
lea rax, [rbp + 0xf]
cmp rax, r14
je 0x1400192a5
mov r8, qword [rbp + 0x27]
cmp r8, 8
jb 0x140019287
inc r8
mov rdx, qword [rbp + 0xf]
lea rcx, [rbp + 0xf]
call fcn.1400037a0
mov qword [rbp + 0x27], 7
mov qword [rbp + 0x1f], r15
mov word [rbp + 0xf], r15w
mov rdx, r14
lea rcx, [rbp + 0xf]
call fcn.140003cb0
nop
mov r8, qword [rsp + 0x38]
cmp r8, 8
jb 0x1400192c2
inc r8
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x20]
call fcn.1400037a0
mov qword [rsp + 0x38], 7
mov qword [rsp + 0x30], r15
mov word [rsp + 0x20], r15w
jmp 0x1400191bb
mov rax, rsi
mov word [rax], r15w
lea rdx, [rbp + 0xf]
mov rcx, rsi
call fcn.140003cb0
nop
mov r8, qword [rbp + 0x27]
cmp r8, 8
jb 0x140019309
inc r8
mov rdx, qword [rbp + 0xf]
lea rcx, [rbp + 0xf]
call fcn.1400037a0
mov qword [rbp + 0x27], 7
mov qword [rbp + 0x1f], r15
mov word [rbp + 0xf], r15w
cmp qword [rbx + 0x18], 8
jb 0x140019333
mov r8, qword [rbx + 0x18]
inc r8
mov rdx, qword [rbx]
mov rcx, rbx
call fcn.1400037a0
mov qword [rbx + 0x18], 7
cmp qword [rbx + 0x18], 8
mov qword [rbx + 0x10], r15
jb 0x140019349
mov rbx, qword [rbx]
mov word [rbx], r15w
mov r8, qword [rdi + 0x18]
cmp r8, 8
jb 0x140019365
inc r8
mov rdx, qword [rdi]
mov rcx, rdi
call fcn.1400037a0
mov qword [rdi + 0x18], 7
cmp qword [rdi + 0x18], 8
mov qword [rdi + 0x10], r15
jb 0x14001937b
mov rdi, qword [rdi]
mov word [rdi], r15w
mov rax, rsi
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1401e30a0
mov rbx, qword [rsp + 0x120]
add rsp, 0xf0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret