Function at 0x14000c7f0
Capabilities:
Get file attributes

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0xbe0
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x50], 0xfffffffffffffffe
mov rax, qword [0x14005f020]
xor rax, rbp
mov qword [rbp + 0xba0], rax
mov r15, r9
mov r14, rdx
mov rsi, rcx
mov dword [rbp + 8], 0x104
lea r9, [rbp + 8]
mov r8, r15
xor edx, edx
mov rcx, r14
call qword [rsi + pe_nt_image_headers64]
test eax, eax
je 0x14000c919
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, 0xffffffff
cmp eax, ebx
jne 0x14000c90f
call fcn.14000b690
test eax, eax
js 0x14000c91e
mov r8, r15
lea rcx, [rbp + 0x990]
call fcn.14000ff80
test eax, eax
je 0x14000c91e
lea rax, [rbp + 0x990]
mov qword [rbp + 0x18], rax
lea rcx, [rbp + 0x990]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x14000c8a0
add ax, ax
mov word [rbp + 0x10], ax
mov word [rbp + 0x12], ax
mov dword [rbp + 0x20], 0x30
xor r12d, r12d
mov qword [rbp + 0x28], r12
mov dword [rbp + 0x38], 0x40
lea rax, [rbp + 0x10]
mov qword [rbp + 0x30], rax
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x40], xmm0
mov dword [rsp + 0x28], 0x4010
mov dword [rsp + 0x20], 3
lea r9, [rbp + 0x58]
lea r8, [rbp + 0x20]
mov edx, 0x80100080
lea rcx, [rbp]
call qword [0x140063f20]
test eax, eax
jne 0x14000c921
mov rcx, qword [rbp]
call qword [0x1400472c0]
mov eax, 1
jmp 0x14000caff
mov ebx, 0xffffffff
xor r12d, r12d
lea rax, [rbp + 0xc]
mov qword [rsp + 0x20], rax
mov r9d, 0x30
lea r8, [rbp + 0x20]
xor edx, edx
mov rcx, r14
call qword [rsi + 0x28]
test eax, eax
js 0x14000c9da
lea rax, [rbp]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x288
lea r9, [rbp + 0x70]
mov r8, qword [rbp + 0x28]
mov rdx, r14
mov rcx, rsi
call fcn.14000cca0
test eax, eax
je 0x14000c9da
cmp qword [rbp], 0x288
jne 0x14000c9da
lea r9, [rbp + 0x990]
mov r8, qword [rbp + 0x80]
mov rdx, r14
mov rcx, rsi
call fcn.14000d1b0
test eax, eax
jne 0x14000c9b6
mov r8, qword [rbp + 0x80]
cmp r8, rbx
ja 0x14000c9da
lea r9, [rbp + 0x990]
mov rdx, r14
mov rcx, rsi
call fcn.14000d1b0
test eax, eax
je 0x14000c9da
lea r8, [rbp + 0x990]
mov rcx, r15
call fcn.1400104a0
test eax, eax
je 0x14000c9da
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, ebx
jne 0x14000c90f
lea rax, [rbp + 0xc]
mov qword [rsp + 0x20], rax
mov r9d, 0x30
lea r8, [rbp + 0x20]
xor edx, edx
mov rcx, r14
call qword [rsi + 0x28]
test eax, eax
js 0x14000cafd
mov r8, qword [rbp + 0x28]
test r8, r8
je 0x14000cafd
lea rax, [rbp]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x288
lea r9, [rbp + 0x300]
mov rdx, r14
mov rcx, rsi
call fcn.14000cca0
test eax, eax
je 0x14000cafd
cmp qword [rbp], 0x288
jne 0x14000cafd
lea rax, [rbp]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x400
lea r9, [rbp + 0x590]
mov r8, qword [rbp + 0x320]
mov rdx, r14
mov rcx, rsi
call fcn.14000cca0
test eax, eax
je 0x14000cafd
cmp qword [rbp], 0x400
jne 0x14000cafd
movzx ebx, word [rbp + 0x5f0]
lea rax, [rbx + 2]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x14000ca9f
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.140044e80
sub rsp, rcx
lea rdi, [rsp + 0x30]
test rdi, rdi
jne 0x14000cabc
xor eax, eax
jmp 0x14000caff
lea rax, [rbp]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
mov r9, rdi
mov r8, qword [rbp + 0x5f8]
mov rdx, r14
mov rcx, rsi
call fcn.14000cca0
test eax, eax
je 0x14000caff
shr rbx, 1
mov word [rdi + rbx*2], r12w
mov rdx, r15
mov rcx, rdi
call fcn.140010770
mov eax, 1
jmp 0x14000caff
xor eax, eax
mov rcx, qword [rbp + 0xba0]
xor rcx, rbp
call fcn.14002fb30
lea rsp, [rbp + 0xbb0]
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret