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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xd0
mov rax, qword [0x140231eb8]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov r15, rdx
mov r14, rcx
xor r12d, r12d
mov dword [rsp + 0x20], r12d
mov byte [rdx], r12b
mov rdx, rcx
lea rcx, [rsp + 0x28]
call fcn.1400e333c
nop
mov qword [rbp - 0x41], r12
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x31], xmm0
lea esi, [r12 + 3]
mov r8d, esi
lea rdx, [0x1401f2cb0]
lea rcx, [rbp - 0x41]
call fcn.1400041b8
nop
lea edi, [rsi - 2]
mov ebx, edi
mov dword [rsp + 0x20], ebx
lea rdx, [rbp - 0x41]
lea r13d, [r12 + 8]
cmp qword [rbp - 0x29], r13
cmovae rdx, qword [rbp - 0x41]
lea rcx, [rsp + 0x28]
cmp qword [rbp - 0x69], r13
cmovae rcx, qword [rsp + 0x28]
mov r8d, esi
call fcn.140105978
test eax, eax
je 0x14018429a
mov qword [rbp - 0x61], r12
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x51], xmm0
mov r8d, esi
lea rdx, [0x1401f2cb8]
lea rcx, [rbp - 0x61]
call fcn.1400041b8
nop
mov ebx, esi
mov dword [rsp + 0x20], ebx
lea rdx, [rbp - 0x61]
cmp qword [rbp - 0x49], r13
cmovae rdx, qword [rbp - 0x61]
lea rcx, [rsp + 0x28]
cmp qword [rbp - 0x69], r13
cmovae rcx, qword [rsp + 0x28]
mov r8d, esi
call fcn.140105978
test eax, eax
jne 0x1401842e8
lea rax, [rsp + 0x28]
cmp qword [rbp - 0x69], r13
cmovae rax, qword [rsp + 0x28]
movzx ecx, word [rax + 6]
call fcn.1401c17c0
test eax, eax
je 0x1401842e8
lea rax, [rsp + 0x28]
cmp qword [rbp - 0x69], r13
setae cl
cmovae rax, qword [rsp + 0x28]
cmp word [rax + 8], 0x2e
je 0x1401842e3
lea rax, [rsp + 0x28]
test cl, cl
cmovne rax, qword [rsp + 0x28]
cmp word [rax + 8], r12w
jne 0x1401842e8
mov sil, dil
jmp 0x1401842eb
mov sil, r12b
test bl, 2
je 0x140184348
and ebx, 0xfffffffd
mov dword [rsp + 0x20], ebx
mov rdx, qword [rbp - 0x49]
cmp rdx, r13
jb 0x140184336
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x61]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140184331
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140184678
call fcn.1401af36c
movdqa xmm0, xmmword [0x1401dc090]
movdqu xmmword [rbp - 0x51], xmm0
mov word [rbp - 0x61], r12w
test dil, bl
je 0x1401843a5
and ebx, 0xfffffffe
mov dword [rsp + 0x20], ebx
mov rdx, qword [rbp - 0x29]
cmp rdx, r13
jb 0x140184393
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14018438e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14018467e
call fcn.1401af36c
movdqa xmm0, xmmword [0x1401dc090]
movdqu xmmword [rbp - 0x31], xmm0
mov word [rbp - 0x41], r12w
test sil, sil
jne 0x14018463b
mov qword [rbp - 0x61], r12
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x51], xmm0
mov esi, 3
mov r8d, esi
lea rdx, [0x1401ee640]
lea rcx, [rbp - 0x61]
call fcn.1400041b8
nop
or ebx, 4
mov dword [rsp + 0x20], ebx
lea rdx, [rbp - 0x61]
cmp qword [rbp - 0x49], r13
cmovae rdx, qword [rbp - 0x61]
lea rcx, [rsp + 0x28]
cmp qword [rbp - 0x69], r13
cmovae rcx, qword [rsp + 0x28]
mov r8d, esi
call fcn.140105978
test eax, eax
je 0x1401844f7
mov qword [rbp - 0x41], r12
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x31], xmm0
mov r8d, esi
lea rdx, [0x1401ee648]
lea rcx, [rbp - 0x41]
call fcn.1400041b8
nop
or ebx, r13d
mov dword [rsp + 0x20], ebx
lea rdx, [rbp - 0x41]
cmp qword [rbp - 0x29], r13
cmovae rdx, qword [rbp - 0x41]
lea rcx, [rsp + 0x28]
cmp qword [rbp - 0x69], r13
cmovae rcx, qword [rsp + 0x28]
mov r8d, esi
call fcn.140105978
test eax, eax
je 0x1401844f7
mov qword [rbp - 1], r12
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xf], xmm0
mov r8d, esi
lea rdx, [0x1401ee650]
lea rcx, [rbp - 1]
call fcn.1400041b8
nop
or ebx, 0x10
mov dword [rsp + 0x20], ebx
lea rdx, [rbp - 1]
cmp qword [rbp + 0x17], r13
cmovae rdx, qword [rbp - 1]
lea rcx, [rsp + 0x28]
cmp qword [rbp - 0x69], r13
cmovae rcx, qword [rsp + 0x28]
mov r8d, esi
call fcn.140105978
test eax, eax
je 0x1401844f7
mov qword [rbp - 0x21], r12
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x11], xmm0
mov r8d, esi
lea rdx, [0x1401edd20]
lea rcx, [rbp - 0x21]
call fcn.1400041b8
nop
or ebx, 0x20
mov dword [rsp + 0x20], ebx
lea rdx, [rbp - 0x21]
cmp qword [rbp - 9], r13
cmovae rdx, qword [rbp - 0x21]
lea rcx, [rsp + 0x28]
cmp qword [rbp - 0x69], r13
cmovae rcx, qword [rsp + 0x28]
mov r8d, esi
call fcn.140105978
test eax, eax
jne 0x140184524
lea rax, [rsp + 0x28]
cmp qword [rbp - 0x69], r13
setae cl
cmovae rax, qword [rsp + 0x28]
cmp word [rax + 6], 0x2e
je 0x140184529
lea rax, [rsp + 0x28]
test cl, cl
cmovne rax, qword [rsp + 0x28]
cmp word [rax + 6], r12w
je 0x140184529
mov sil, r12b
jmp 0x14018452c
mov sil, dil
test bl, 0x20
je 0x140184542
and ebx, 0xffffffdf
mov dword [rsp + 0x20], ebx
lea rcx, [rbp - 0x21]
call fcn.140006b94
nop
test bl, 0x10
je 0x140184558
and ebx, 0xffffffef
mov dword [rsp + 0x20], ebx
lea rcx, [rbp - 1]
call fcn.140006b94
nop
test r13b, bl
je 0x1401845b5
and ebx, 0xfffffff7
mov dword [rsp + 0x20], ebx
mov rdx, qword [rbp - 0x29]
cmp rdx, r13
jb 0x1401845a3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14018459e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140184684
call fcn.1401af36c
movdqa xmm0, xmmword [0x1401dc090]
movdqu xmmword [rbp - 0x31], xmm0
mov word [rbp - 0x41], r12w
test bl, 4
je 0x14018460e
and ebx, 0xfffffffb
mov dword [rsp + 0x20], ebx
mov rdx, qword [rbp - 0x49]
cmp rdx, r13
jb 0x1401845fc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x61]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401845f7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140184672
call fcn.1401af36c
movdqa xmm0, xmmword [0x1401dc090]
movdqu xmmword [rbp - 0x51], xmm0
mov word [rbp - 0x61], r12w
test sil, sil
jne 0x14018463b
mov rcx, r14
cmp qword [r14 + 0x18], r13
jb 0x14018461f
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140184636
mov rcx, r14
call fcn.1400cb9f4
test al, al
jne 0x14018463e
mov dil, r12b
jmp 0x14018463e
mov byte [r15], dil
lea rcx, [rsp + 0x28]
call fcn.140006b94
mov al, dil
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.1401af480
mov rbx, qword [rsp + 0x120]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1401b6544
nop
call fcn.1401b6544
nop
call fcn.1401b6544
nop
call fcn.1401b6544
int3