Function at 0x14002b191
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 [0x140268998]
xor rax, rsp
mov qword [rsp + 0x80], rax
call fcn.14002ad0c
mov esi, 0x1126
test al, al
jne 0x14002b668
lea rdi, [rsp + 0x60]
mov qword [rdi], 0
movaps xmm0, xmmword [0x1401ef360]
movups xmmword [rdi + 8], xmm0
mov qword [rdi + 0x18], 7
mov word [rdi], 0
mov rcx, rbx
mov rdx, rdi
call fcn.14002b699
mov ebx, eax
mov rcx, rdi
call fcn.14002b89d
mov byte [rsp + 0x33], al
mov rcx, rdi
mov rdx, rdi
call fcn.14002b8e2
test bl, bl
jne 0x14002b22e
cmp byte [rsp + 0x33], 0
jne 0x14002b22e
mov dword [rsp + 0x34], 0x7b
test al, al
je 0x14002b620
cmp byte [rsp + 0x33], 0
jne 0x14002b377
movaps xmm0, xmmword [0x1401f0b80]
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 0x14002b26d
mov rdi, qword [rsp + 0x60]
cmp rsi, 3
jbe 0x14002b28a
mov qword [rsp + 0x20], rsi
lea rcx, [rsp + 0x40]
mov rdx, rsi
mov r9, rdi
call fcn.140007260
jmp 0x14002b2af
lea rcx, [rsp + 0x48]
lea rax, [rsi + 4]
mov qword [rcx + 8], rax
lea r8, [rsi + rsi]
mov rdx, rdi
call fcn.140170810
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 0x14002b31b
mov rcx, qword [rsp + 0x60]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x14002b316
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x14002b693
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, r8
call fcn.14016f250
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 0x14002b377
mov rcx, qword [rsp + 0x40]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x14002b372
mov rbp, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbp
cmp rcx, 0x20
jae 0x14002b693
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, rbp
call fcn.14016f250
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 0x14002b3c4
mov rbx, qword [rsp + 0x60]
cmp r13, 7
jbe 0x14002b426
mov qword [rsp + 0x38], rdi
movabs rax, 0x7ffffffffffffffe
cmp r13, rax
ja 0x14002b68e
mov r12, r13
or r12, 7
mov rcx, 0xfffffffffffffffe
mov rdi, rax
cmp r12, rax
ja 0x14002b419
cmp r12, 0xb
mov eax, 0xa
cmovb r12, rax
lea rcx, [r12 + r12]
add rcx, 2
cmp r12, 0x7ff
jb 0x14002b448
mov rdi, r12
call fcn.14004ef90
mov rbp, rax
mov r12, rdi
jmp 0x14002b450
mov qword [rsp + 0x50], r13
mov r8, r13
add r8, r13
lea rcx, [rsp + 0x40]
mov rdx, rbx
call fcn.140170810
mov word [rsp + r13*2 + 0x40], 0
jmp 0x14002b482
call fcn.14016f214
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.140170810
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 0x14002b4c8
mov rcx, qword [rsp + 0x60]
lea rdx, [rbp + 2]
add rdx, rbp
cmp rdx, 0x1000
jb 0x14002b4c3
mov rax, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rax
cmp rcx, 0x20
jae 0x14002b693
add rbp, rbp
add rbp, 0x29
mov rdx, rbp
mov rcx, rax
call fcn.14016f250
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 0x14002b4ec
mov rcx, qword [rsp + 0x60]
call r14
cmp eax, 0xffffffff
je 0x14002b503
bt eax, 0xa
jae 0x14002b597
jmp 0x14002b618
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [rax - 2]
cmp ecx, 2
jb 0x14002b58d
cmp eax, 0x7b
je 0x14002b58d
test sil, 1
sete dl
or dl, byte [rsp + 0x33]
jne 0x14002b582
cmp qword [rsp + 0x78], 8
mov r8, r15
jb 0x14002b535
mov r8, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x70]
test rbp, rbp
je 0x14002b582
lea rdx, [r8 + rbp*2]
add rdx, 0xfffffffffffffffe
cmp word [rdx], 0x5c
jne 0x14002b552
mov rbp, rdx
jmp 0x14002b574
add rbp, rbp
mov ebx, 2
sub rbx, rbp
test rbx, rbx
je 0x14002b582
lea rbp, [rdx - 2]
add rbx, 2
cmp word [rdx - 2], 0x5c
mov rdx, rbp
jne 0x14002b55d
sub rbp, r8
mov ebx, 2
cmp rbp, 6
je 0x14002b58d
mov ebx, 1
mov edx, eax
mov dword [rsp + 0x34], eax
cmp ecx, 2
jb 0x14002b597
cmp eax, 0x7b
jne 0x14002b605
cmp qword [rsp + 0x78], 8
mov rax, r15
jb 0x14002b5a7
mov rax, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x70]
mov rdi, 0xffffffffffffffff
mov sil, 1
test rbp, rbp
je 0x14002b5f9
lea rcx, [rax + rbp*2]
add rcx, 0xfffffffffffffffe
cmp word [rcx], 0x5c
jne 0x14002b5ce
mov rbp, rcx
jmp 0x14002b5f0
add rbp, rbp
mov edx, 2
sub rdx, rbp
test rdx, rdx
je 0x14002b5f9
lea rbp, [rcx - 2]
add rdx, 2
cmp word [rcx - 2], 0x5c
mov rcx, rbp
jne 0x14002b5d9
sub rbp, rax
sar rbp, 1
mov rdi, rbp
cmp rdi, 2
ja 0x14002b38c
jmp 0x14002b60e
test ebx, ebx
je 0x14002b5f9
cmp ebx, 2
jne 0x14002b620
mov dword [rsp + 0x34], 0x1126
jmp 0x14002b620
mov dword [rsp + 0x34], 0
mov rax, qword [rsp + 0x78]
cmp rax, 8
mov esi, dword [rsp + 0x34]
jb 0x14002b668
mov rcx, qword [rsp + 0x60]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x14002b663
mov rbp, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbp
cmp rcx, 0x20
jae 0x14002b693
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, rbp
call fcn.14016f250
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14016f860
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.140054d38
call fcn.1401767ac
int3