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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov rbx, rcx
mov rax, qword [0x1402708c0]
xor rax, rsp
mov qword [rsp + 0x80], rax
call fcn.14002a6fc
mov esi, 0x1126
test al, al
jne 0x14002b058
lea rdi, [rsp + 0x60]
mov qword [rdi], 0
movaps xmm0, xmmword [0x1401f4330]
movups xmmword [rdi + 8], xmm0
mov qword [rdi + 0x18], 7
mov word [rdi], 0
mov rcx, rbx
mov rdx, rdi
call fcn.14002b089
mov ebx, eax
mov rcx, rdi
call fcn.14002b28d
mov byte [rsp + 0x33], al
mov rcx, rdi
mov rdx, rdi
call fcn.14002b2d2
test bl, bl
jne 0x14002ac1e
cmp byte [rsp + 0x33], 0
jne 0x14002ac1e
mov dword [rsp + 0x34], 0x7b
test al, al
je 0x14002b010
cmp byte [rsp + 0x33], 0
jne 0x14002ad67
movaps xmm0, xmmword [0x1401f5b50]
movups xmmword [rsp + 0x50], xmm0
movabs rax, 0x5c002e005c005c
mov qword [rsp + 0x40], rax
mov word [rsp + 0x48], 0
mov rsi, qword [rsp + 0x70]
cmp qword [rsp + 0x78], 8
jb 0x14002ac5d
mov rdi, qword [rsp + 0x60]
cmp rsi, 3
jbe 0x14002ac7a
mov qword [rsp + 0x20], rsi
lea rcx, [rsp + 0x40]
mov rdx, rsi
mov r9, rdi
call fcn.140007260
jmp 0x14002ac9f
lea rcx, [rsp + 0x48]
lea rax, [rsi + 4]
mov qword [rcx + 8], rax
lea r8, [rsi + rsi]
mov rdx, rdi
call fcn.1401e0580
mov word [rsp + rsi*2 + 0x48], 0
lea rax, [rsp + 0x40]
mov rsi, qword [rax]
mov rdi, qword [rax + 8]
mov rbx, qword [rax + 0x10]
mov rbp, qword [rax + 0x18]
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 7
mov word [rax], 0
mov rax, qword [rsp + 0x78]
cmp rax, 8
jb 0x14002ad0b
mov rcx, qword [rsp + 0x60]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x14002ad06
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x14002b083
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, r8
call fcn.140172db0
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbp
mov rax, qword [rsp + 0x58]
cmp rax, 8
jb 0x14002ad67
mov rcx, qword [rsp + 0x40]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x14002ad62
mov rbp, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbp
cmp rcx, 0x20
jae 0x14002b083
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, rbp
call fcn.140172db0
mov rdi, 0xffffffffffffffff
xor esi, esi
lea r15, [rsp + 0x60]
mov r14, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], 0
mov r13, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
cmp r13, rdi
cmovae r13, rdi
mov rbx, r15
cmp rbp, 8
jb 0x14002adb4
mov rbx, qword [rsp + 0x60]
cmp r13, 7
jbe 0x14002ae16
mov qword [rsp + 0x38], rdi
movabs rax, 0x7ffffffffffffffe
cmp r13, rax
ja 0x14002b07e
mov r12, r13
or r12, 7
mov rcx, 0xfffffffffffffffe
mov rdi, rax
cmp r12, rax
ja 0x14002ae09
cmp r12, 0xb
mov eax, 0xa
cmovb r12, rax
lea rcx, [r12 + r12]
add rcx, 2
cmp r12, 0x7ff
jb 0x14002ae38
mov rdi, r12
call fcn.14004ea38
mov rbp, rax
mov r12, rdi
jmp 0x14002ae40
mov qword [rsp + 0x50], r13
mov r8, r13
add r8, r13
lea rcx, [rsp + 0x40]
mov rdx, rbx
call fcn.1401e0580
mov word [rsp + r13*2 + 0x40], 0
jmp 0x14002ae72
call fcn.140172d74
mov rbp, rax
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r12
mov r8, r13
add r8, r13
mov rcx, rbp
mov rdx, rbx
call fcn.1401e0580
mov word [rbp + r13*2], 0
mov qword [rsp + 0x40], rbp
mov rbp, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x38]
cmp rbp, 8
jb 0x14002aeb8
mov rcx, qword [rsp + 0x60]
lea rdx, [rbp + 2]
add rdx, rbp
cmp rdx, 0x1000
jb 0x14002aeb3
mov rax, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rax
cmp rcx, 0x20
jae 0x14002b083
add rbp, rbp
add rbp, 0x29
mov rdx, rbp
mov rcx, rax
call fcn.140172db0
movups xmm0, xmmword [rsp + 0x40]
movups xmm1, xmmword [rsp + 0x50]
movaps xmmword [rsp + 0x70], xmm1
movaps xmmword [rsp + 0x60], xmm0
cmp qword [rsp + 0x78], 8
mov rcx, r15
jb 0x14002aedc
mov rcx, qword [rsp + 0x60]
call r14
cmp eax, 0xffffffff
je 0x14002aef3
bt eax, 0xa
jae 0x14002af87
jmp 0x14002b008
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [rax - 2]
cmp ecx, 2
jb 0x14002af7d
cmp eax, 0x7b
je 0x14002af7d
test sil, 1
sete dl
or dl, byte [rsp + 0x33]
jne 0x14002af72
cmp qword [rsp + 0x78], 8
mov r8, r15
jb 0x14002af25
mov r8, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x70]
test rbp, rbp
je 0x14002af72
lea rdx, [r8 + rbp*2]
add rdx, 0xfffffffffffffffe
cmp word [rdx], 0x5c
jne 0x14002af42
mov rbp, rdx
jmp 0x14002af64
add rbp, rbp
mov ebx, 2
sub rbx, rbp
test rbx, rbx
je 0x14002af72
lea rbp, [rdx - 2]
add rbx, 2
cmp word [rdx - 2], 0x5c
mov rdx, rbp
jne 0x14002af4d
sub rbp, r8
mov ebx, 2
cmp rbp, 6
je 0x14002af7d
mov ebx, 1
mov edx, eax
mov dword [rsp + 0x34], eax
cmp ecx, 2
jb 0x14002af87
cmp eax, 0x7b
jne 0x14002aff5
cmp qword [rsp + 0x78], 8
mov rax, r15
jb 0x14002af97
mov rax, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x70]
mov rdi, 0xffffffffffffffff
mov sil, 1
test rbp, rbp
je 0x14002afe9
lea rcx, [rax + rbp*2]
add rcx, 0xfffffffffffffffe
cmp word [rcx], 0x5c
jne 0x14002afbe
mov rbp, rcx
jmp 0x14002afe0
add rbp, rbp
mov edx, 2
sub rdx, rbp
test rdx, rdx
je 0x14002afe9
lea rbp, [rcx - 2]
add rdx, 2
cmp word [rcx - 2], 0x5c
mov rcx, rbp
jne 0x14002afc9
sub rbp, rax
sar rbp, 1
mov rdi, rbp
cmp rdi, 2
ja 0x14002ad7c
jmp 0x14002affe
test ebx, ebx
je 0x14002afe9
cmp ebx, 2
jne 0x14002b010
mov dword [rsp + 0x34], 0x1126
jmp 0x14002b010
mov dword [rsp + 0x34], 0
mov rax, qword [rsp + 0x78]
cmp rax, 8
mov esi, dword [rsp + 0x34]
jb 0x14002b058
mov rcx, qword [rsp + 0x60]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x14002b053
mov rbp, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbp
cmp rcx, 0x20
jae 0x14002b083
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, rbp
call fcn.140172db0
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140173230
mov eax, esi
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.140054d3c
call fcn.14017a8e4
int3