Function at 0x140182404
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 [0x14022ff58]
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.1400e2880
nop
mov qword [rbp - 0x41], r12
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x31], xmm0
lea esi, [r12 + 3]
mov r8d, esi
lea rdx, [0x1401f0d20]
lea rcx, [rbp - 0x41]
call fcn.1400041a8
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.140104d94
test eax, eax
je 0x1401824f6
mov qword [rbp - 0x61], r12
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x51], xmm0
mov r8d, esi
lea rdx, [0x1401f0d28]
lea rcx, [rbp - 0x61]
call fcn.1400041a8
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.140104d94
test eax, eax
jne 0x140182544
lea rax, [rsp + 0x28]
cmp qword [rbp - 0x69], r13
cmovae rax, qword [rsp + 0x28]
movzx ecx, word [rax + 6]
call fcn.1401c02d0
test eax, eax
je 0x140182544
lea rax, [rsp + 0x28]
cmp qword [rbp - 0x69], r13
setae cl
cmovae rax, qword [rsp + 0x28]
cmp word [rax + 8], 0x2e
je 0x14018253f
lea rax, [rsp + 0x28]
test cl, cl
cmovne rax, qword [rsp + 0x28]
cmp word [rax + 8], r12w
jne 0x140182544
mov sil, dil
jmp 0x140182547
mov sil, r12b
test bl, 2
je 0x1401825a4
and ebx, 0xfffffffd
mov dword [rsp + 0x20], ebx
mov rdx, qword [rbp - 0x49]
cmp rdx, r13
jb 0x140182592
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x61]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14018258d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401828d4
call fcn.1401addcc
movdqa xmm0, xmmword [0x1401da070]
movdqu xmmword [rbp - 0x51], xmm0
mov word [rbp - 0x61], r12w
test dil, bl
je 0x140182601
and ebx, 0xfffffffe
mov dword [rsp + 0x20], ebx
mov rdx, qword [rbp - 0x29]
cmp rdx, r13
jb 0x1401825ef
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401825ea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401828da
call fcn.1401addcc
movdqa xmm0, xmmword [0x1401da070]
movdqu xmmword [rbp - 0x31], xmm0
mov word [rbp - 0x41], r12w
test sil, sil
jne 0x140182897
mov qword [rbp - 0x61], r12
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x51], xmm0
mov esi, 3
mov r8d, esi
lea rdx, [0x1401ec5a0]
lea rcx, [rbp - 0x61]
call fcn.1400041a8
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.140104d94
test eax, eax
je 0x140182753
mov qword [rbp - 0x41], r12
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x31], xmm0
mov r8d, esi
lea rdx, [0x1401ec5a8]
lea rcx, [rbp - 0x41]
call fcn.1400041a8
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.140104d94
test eax, eax
je 0x140182753
mov qword [rbp - 1], r12
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xf], xmm0
mov r8d, esi
lea rdx, [0x1401ec5b0]
lea rcx, [rbp - 1]
call fcn.1400041a8
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.140104d94
test eax, eax
je 0x140182753
mov qword [rbp - 0x21], r12
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x11], xmm0
mov r8d, esi
lea rdx, [0x1401ebcc0]
lea rcx, [rbp - 0x21]
call fcn.1400041a8
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.140104d94
test eax, eax
jne 0x140182780
lea rax, [rsp + 0x28]
cmp qword [rbp - 0x69], r13
setae cl
cmovae rax, qword [rsp + 0x28]
cmp word [rax + 6], 0x2e
je 0x140182785
lea rax, [rsp + 0x28]
test cl, cl
cmovne rax, qword [rsp + 0x28]
cmp word [rax + 6], r12w
je 0x140182785
mov sil, r12b
jmp 0x140182788
mov sil, dil
test bl, 0x20
je 0x14018279e
and ebx, 0xffffffdf
mov dword [rsp + 0x20], ebx
lea rcx, [rbp - 0x21]
call fcn.140006b84
nop
test bl, 0x10
je 0x1401827b4
and ebx, 0xffffffef
mov dword [rsp + 0x20], ebx
lea rcx, [rbp - 1]
call fcn.140006b84
nop
test r13b, bl
je 0x140182811
and ebx, 0xfffffff7
mov dword [rsp + 0x20], ebx
mov rdx, qword [rbp - 0x29]
cmp rdx, r13
jb 0x1401827ff
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401827fa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401828e0
call fcn.1401addcc
movdqa xmm0, xmmword [0x1401da070]
movdqu xmmword [rbp - 0x31], xmm0
mov word [rbp - 0x41], r12w
test bl, 4
je 0x14018286a
and ebx, 0xfffffffb
mov dword [rsp + 0x20], ebx
mov rdx, qword [rbp - 0x49]
cmp rdx, r13
jb 0x140182858
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x61]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140182853
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401828ce
call fcn.1401addcc
movdqa xmm0, xmmword [0x1401da070]
movdqu xmmword [rbp - 0x51], xmm0
mov word [rbp - 0x61], r12w
test sil, sil
jne 0x140182897
mov rcx, r14
cmp qword [r14 + 0x18], r13
jb 0x14018287b
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140182892
mov rcx, r14
call fcn.1400cb2c4
test al, al
jne 0x14018289a
mov dil, r12b
jmp 0x14018289a
mov byte [r15], dil
lea rcx, [rsp + 0x28]
call fcn.140006b84
mov al, dil
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.1401adee0
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.1401b4fa4
nop
call fcn.1401b4fa4
nop
call fcn.1401b4fa4
nop
call fcn.1401b4fa4
int3