Function at 0x14001207c
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 - 0x40]
sub rsp, 0x140
mov rax, qword [0x14007d040]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov r14, r9
mov r15, r8
mov qword [rsp + 0x50], r8
mov r12, rdx
mov qword [rbp - 0x68], rdx
mov qword [rbp - 0x48], r8
mov qword [rbp - 0x40], r9
xor esi, esi
mov dword [rsp + 0x40], esi
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x10], xmm1
lea ebx, [rsi + 0x60]
mov ecx, ebx
call fcn.14002ed58
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbp - 0x10], rax
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x20], xmm1
mov ecx, ebx
call fcn.14002ed58
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbp + 0x20], rax
mov dword [rsp + 0x48], 0x74654e2f
mov dword [rsp + 0x4c], 0x6b726f77
lea rax, [rsp + 0x48]
mov qword [rbp - 0x30], rax
lea rax, [rsp + 0x50]
mov qword [rbp - 0x28], rax
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x60]
call fcn.140003408
mov r8, rax
lea rdx, [rbp]
call fcn.140002c64
nop
mov rax, qword [r15]
mov rbx, qword [rax]
cmp rbx, rax
je 0x140012613
movabs rax, 0x7fffffffffffffff
lea rdi, [rbx + 0x40]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [r14 + 0x10]
sub rax, rcx
cmp rax, rdx
jb 0x1400127d2
mov r9, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x140012186
mov r9, qword [rdi]
mov rax, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x140012193
mov rax, qword [r14]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x30]
call fcn.1400061f8
or esi, 8
mov dword [rsp + 0x40], esi
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova rcx, qword [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400121d4
test al, 0x10
jne 0x1400121d4
mov r15b, 1
jmp 0x1400121d7
xor r15b, r15b
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x140012212
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001220d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400127a2
call fcn.14002ed50
test r15b, r15b
je 0x1400122e6
cmp byte [rbp + 0xa0], 0
je 0x1400122dd
mov rcx, qword [rdi + 0x10]
mov rdx, qword [r14 + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, rdx
jb 0x1400127ae
cmp qword [rdi + 0x18], 0xf
jbe 0x140012250
mov rdi, qword [rdi]
mov rax, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x14001225d
mov rax, qword [r14]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov r9, rdi
lea rcx, [rbp - 0x30]
call fcn.1400061f8
or esi, 0x10
mov dword [rsp + 0x40], esi
lea rdx, [rbx + 0x20]
lea rcx, [rbp - 0x10]
call fcn.14001a480
mov rcx, rax
lea rdx, [rbp - 0x30]
call fcn.14000352c
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x1400125c5
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400122d3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400127a8
call fcn.14002ed50
jmp 0x1400125c5
lea rcx, [rbp - 0x10]
jmp 0x1400125b1
xor r15d, r15d
cmp byte [rbp + 0xa8], r15b
je 0x1400123c1
mov rcx, qword [rdi + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
mov rdx, qword [rbp + 0x10]
cmp rax, rdx
jb 0x1400127b4
mov r9, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x140012321
mov r9, qword [rdi]
lea rax, [rbp]
cmp qword [rbp + 0x18], 0xf
cmova rax, qword [rbp]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x58]
call fcn.1400061f8
or esi, 0x20
or esi, 1
mov dword [rsp + 0x40], esi
mov rdx, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x14001235f
mov rdx, qword [r14]
mov r8, qword [r14 + 0x10]
lea rcx, [rsp + 0x58]
call fcn.1400042b0
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], r15
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x20], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], r15b
or esi, 0x42
mov dword [rsp + 0x40], esi
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova rcx, qword [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400123c1
test al, 0x10
jne 0x1400123c1
mov r15b, 1
test sil, 2
je 0x14001241a
and esi, 0xfffffffd
mov dword [rsp + 0x40], esi
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x140012409
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012404
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400127ba
call fcn.14002ed50
and qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], 0
test sil, 1
je 0x140012464
and esi, 0xfffffffe
mov dword [rsp + 0x40], esi
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x140012464
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001245f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400127c0
call fcn.14002ed50
test r15b, r15b
je 0x1400125ad
cmp byte [rbp + 0xa0], 0
je 0x1400122dd
mov rcx, qword [rdi + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
mov rdx, qword [rbp + 0x10]
cmp rax, rdx
jb 0x1400127cc
cmp qword [rdi + 0x18], 0xf
jbe 0x1400124a2
mov rdi, qword [rdi]
lea rax, [rbp]
cmp qword [rbp + 0x18], 0xf
cmova rax, qword [rbp]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov r9, rdi
lea rcx, [rsp + 0x58]
call fcn.1400061f8
bts esi, 7
mov dword [rsp + 0x40], esi
mov rdx, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x1400124e1
mov rdx, qword [r14]
mov r8, qword [r14 + 0x10]
lea rcx, [rsp + 0x58]
call fcn.1400042b0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x20], xmm1
and qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
bts esi, 8
mov dword [rsp + 0x40], esi
lea rdx, [rbx + 0x20]
lea rcx, [rbp - 0x10]
call fcn.14001a480
mov rcx, rax
lea rdx, [rbp - 0x30]
call fcn.14000352c
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x14001256c
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012566
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400127c6
call fcn.14002ed50
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x1400125c5
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400122d3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140012796
jmp 0x1400122d3
lea rcx, [rbp + 0x20]
lea rdx, [rbx + 0x20]
call fcn.14001a480
mov rdx, rdi
mov rcx, rax
call fcn.14001a89c
mov rax, qword [rbx + 0x10]
xor edx, edx
cmp byte [rax + 0x19], dl
je 0x1400125ed
mov rax, qword [rbx + 8]
jmp 0x1400125e3
cmp rbx, qword [rax + 0x10]
jne 0x1400125e8
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], dl
je 0x1400125d6
mov rbx, rax
jmp 0x140012606
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], dl
jne 0x140012606
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], dl
je 0x1400125f8
mov r15, qword [rsp + 0x50]
cmp rbx, qword [r15]
jmp 0x140012151
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x78]
call fcn.14001a714
nop
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x78]
call fcn.14001a714
nop
and qword [r12], 0
and qword [r12 + 8], 0
and qword [r12 + 0x10], 0
mov ecx, 0x20
call fcn.14002ed58
mov rbx, rax
mov qword [r12], rax
mov qword [r12 + 8], rax
add rax, 0x20
mov qword [r12 + 0x10], rax
mov qword [rsp + 0x50], r12
lea rdi, [rsp + 0x78]
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x20], r12
mov rdx, rdi
mov rcx, rbx
call fcn.14001a714
add rbx, 0x10
mov qword [rbp - 0x28], rbx
add rdi, 0x10
lea rax, [rbp - 0x68]
cmp rdi, rax
jne 0x14001267d
mov qword [r12 + 8], rbx
or esi, 4
mov dword [rsp + 0x40], esi
lea r9, [fcn.14000f400]
mov edx, 0x10
lea r8d, [rdx - 0xe]
lea rcx, [rsp + 0x78]
call fcn.14002edcc
nop
mov rdx, qword [rbp + 0x18]
mov ebx, 0xf
cmp rdx, rbx
jbe 0x140012703
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400126fe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140012790
call fcn.14002ed50
and qword [rbp + 0x10], 0
mov qword [rbp + 0x18], rbx
mov byte [rbp], 0
lea rcx, [rbp + 0x20]
call fcn.14001a834
nop
lea rcx, [rbp - 0x10]
call fcn.14001a834
nop
mov rcx, r15
call fcn.14001a834
nop
mov rdx, qword [r14 + 0x18]
cmp rdx, rbx
jbe 0x140012762
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x14001275d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001279c
mov rcx, r8
call fcn.14002ed50
and qword [r14 + 0x10], 0
mov qword [r14 + 0x18], rbx
mov byte [r14], 0
mov rax, r12
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.14002ed30
add rsp, 0x140
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14003a92c
nop
call fcn.14003a92c
nop
call fcn.14003a92c
nop
call fcn.14003a92c
int3
call fcn.14003a92c
int3
call fcn.140001400
int3
call fcn.140001400
nop
call fcn.14003a92c
nop
call fcn.14003a92c
nop
call fcn.14003a92c
nop
call fcn.140001400
int3
call fcn.140001400
int3