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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x14008e3a8]
xor rax, rsp
mov qword [rbp + 7], rax
mov rbx, rcx
call fcn.14003d84c
xor r14d, r14d
test al, al
je 0x14003d93d
mov eax, 0x1126
jmp 0x14003dbb1
mov r13d, 7
mov qword [rbp - 0x49], r14
lea rdx, [rbp - 0x59]
mov qword [rbp - 0x41], r13
mov rcx, rbx
mov word [rbp - 0x59], r14w
call fcn.14003d728
lea rcx, [rbp - 0x59]
mov dil, al
call fcn.14003e23c
lea rdx, [rbp - 0x59]
mov bl, al
lea rcx, [rbp - 0x59]
call fcn.14003d600
test bl, bl
jne 0x14003d98d
test al, al
jne 0x14003d98d
test dil, dil
jne 0x14003d98d
lea ebx, [r13 + 0x74]
jmp 0x14003dba6
or r15, 0xffffffffffffffff
mov sil, r14b
test bl, bl
jne 0x14003da35
movdqa xmm0, xmmword [0x140077cb0]
lea rdx, str.._
movdqu xmmword [rbp - 0x29], xmm0
mov word [rbp - 0x39], r14w
mov r8, r15
inc r8
cmp word [rdx + r8*2], r14w
jne 0x14003d9b8
lea rcx, [rbp - 0x39]
call fcn.14001d5a8
cmp qword [rbp - 0x41], 8
lea rdx, [rbp - 0x59]
mov r8, qword [rbp - 0x49]
lea rcx, [rbp - 0x39]
cmovae rdx, qword [rbp - 0x59]
call fcn.14002f198
lea rcx, [rbp - 0x59]
movups xmm7, xmmword [rax]
movups xmm6, xmmword [rax + 0x10]
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], r13
movups xmmword [rbp - 0x19], xmm7
mov word [rax], r14w
call fcn.140019930
movdqa xmm0, xmmword [0x140077cb0]
lea rcx, [rbp - 0x19]
movdqu xmmword [rbp - 9], xmm0
mov word [rbp - 0x19], r14w
movups xmmword [rbp - 0x59], xmm7
movups xmmword [rbp - 0x49], xmm6
call fcn.140019930
lea rcx, [rbp - 0x39]
call fcn.140019930
mov sil, 1
mov r9, qword [rbp - 0x41]
mov rax, r15
mov r8, qword [rbp - 0x49]
mov dil, r14b
mov r10, qword [rbp - 0x59]
mov ebx, 0x7b
cmp r8, rax
mov qword [rbp - 0x29], r14
lea rdx, [rbp - 0x59]
mov qword [rbp - 0x21], r13
cmovb rax, r8
mov word [rbp - 0x39], r14w
cmp r9, 8
lea rcx, [rbp - 0x39]
mov r8, rax
cmovae rdx, r10
call fcn.14001d5a8
lea rcx, [rbp - 0x59]
call fcn.140019930
movups xmm1, xmmword [rbp - 0x29]
lea rcx, [rbp - 0x39]
mov qword [rbp - 0x29], r14
movups xmm0, xmmword [rbp - 0x39]
mov qword [rbp - 0x21], r13
movups xmmword [rbp - 0x49], xmm1
mov word [rbp - 0x39], r14w
movups xmmword [rbp - 0x59], xmm0
call fcn.140019930
cmp qword [rbp - 0x41], 8
lea rcx, [rbp - 0x59]
cmovae rcx, qword [rbp - 0x59]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14003db15
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea ecx, [rax - 2]
cmp ecx, 1
jbe 0x14003db1f
cmp eax, ebx
je 0x14003db1f
test dil, dil
je 0x14003db9e
test sil, sil
je 0x14003db9e
cmp qword [rbp - 0x41], 8
lea rdx, [rbp - 0x59]
mov rcx, qword [rbp - 0x49]
cmovae rdx, qword [rbp - 0x59]
test rcx, rcx
je 0x14003db95
dec rcx
mov rax, r15
cmp rcx, r15
cmovb rax, rcx
lea rcx, [rdx + rax*2]
jmp 0x14003db87
bt eax, 0xa
jb 0x14003dba3
mov r9, qword [rbp - 0x41]
lea rdx, [rbp - 0x59]
mov r10, qword [rbp - 0x59]
cmp r9, 8
mov r8, qword [rbp - 0x49]
mov dil, 1
cmovae rdx, r10
test r8, r8
je 0x14003db6a
lea rcx, [r8 - 1]
mov rax, r15
cmp rcx, r15
cmovb rax, rcx
lea rax, [rdx + rax*2]
jmp 0x14003db5c
cmp rax, rdx
je 0x14003db6a
sub rax, 2
cmp word [rax], 0x5c
jne 0x14003db53
sub rax, rdx
sar rax, 1
jmp 0x14003db6d
mov rax, r15
cmp rax, 2
ja 0x14003da4c
mov ebx, 0x1126
jmp 0x14003dba6
cmp rcx, rdx
je 0x14003db95
sub rcx, 2
cmp word [rcx], 0x5c
jne 0x14003db7e
sub rcx, rdx
sar rcx, 1
jmp 0x14003db98
mov rcx, r15
cmp rcx, 3
je 0x14003db77
mov ebx, r8d
jmp 0x14003dba6
mov ebx, r14d
lea rcx, [rbp - 0x59]
call fcn.140019930
mov eax, ebx
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.140075580
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret