Function at 0x1400e24a0
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, 0x78
mov rsi, rcx
mov rax, qword [0x1401f5028]
xor rax, rsp
mov qword [rsp + 0x70], rax
cmp byte [rcx + 0x17], 0
jns 0x1400e24cb
mov rcx, qword [rsi]
lea rdx, [0x1401df172]
mov r8d, 4
call fcn.1400f09e8
xor ecx, ecx
test eax, eax
sete cl
movzx eax, byte [rsi + 0x17]
mov rdx, rax
test al, al
jns 0x1400e24f3
mov rdx, qword [rsi + 8]
lea rbp, [rcx*4 + 5]
cmp rdx, rbp
jb 0x1400e252c
shl rcx, 2
mov rdx, rsi
test al, al
jns 0x1400e250e
mov rdx, qword [rsi]
lea rcx, [rdx + rcx*2]
lea rdx, str.pipe_
mov r8d, 5
call fcn.1400f09e8
test eax, eax
je 0x1400e2859
xorps xmm0, xmm0
lea r14, [rsp + 0x30]
movaps xmmword [r14], xmm0
mov qword [r14 + 0x10], 0
mov rcx, rsi
mov rdx, r14
call fcn.1400178b0
mov ebx, eax
movzx edx, byte [r14 + 0x17]
mov rax, rdx
test dl, dl
jns 0x1400e255e
mov rax, qword [rsp + 0x38]
cmp rax, 3
jb 0x1400e286c
test dl, dl
mov rbp, qword [rsp + 0x30]
mov rcx, r14
cmovs rcx, rbp
cmp word [rcx + 2], 0x3a
jne 0x1400e2852
test dl, dl
lea rdx, [rsp + 0x30]
cmovs rdx, rbp
cmp word [rdx + 4], 0x5c
jne 0x1400e2852
movzx edx, word [rcx]
and edx, 0xffffffdf
add edx, 0xffffffbf
cmp dx, 0x1a
setb bpl
cmp rax, 8
jb 0x1400e25c8
lea rdx, [0x1401df410]
mov r8d, 8
call fcn.1400f09e8
test eax, eax
je 0x1400e2750
or bl, bpl
je 0x1400e2887
mov r15b, 1
mov rsi, r14
test bpl, bpl
je 0x1400e27ac
mov rdi, r14
mov rsi, r14
mov r13b, 1
mov r9, 0xffffffffffffffff
lea r12, [rsp + 0x48]
lea r14, [rsp + 0x48]
lea rbx, [rsp + 0x30]
mov rbp, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov qword [rsp + 0x20], r12
mov rcx, r14
mov rdx, rbx
xor r8d, r8d
call fcn.140016f30
cmp byte [rsp + 0x47], 0
jns 0x1400e262a
mov rcx, qword [rsp + 0x30]
call fcn.1400f0498
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x40], rax
movups xmm0, xmmword [rsp + 0x48]
movaps xmmword [rsp + 0x30], xmm0
cmp byte [rsp + 0x47], 0
mov rcx, rsi
jns 0x1400e264d
mov rcx, qword [rsp + 0x30]
call rbp
cmp eax, 0xffffffff
je 0x1400e26b9
bt eax, 0xa
jb 0x1400e2863
movzx eax, byte [rsp + 0x47]
mov rcx, rdi
test al, al
jns 0x1400e2674
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
mov r9, 0xffffffffffffffff
test rax, rax
je 0x1400e26aa
add rax, rax
nop word cs:[rax + rax]
nop dword [rax]
test rax, rax
je 0x1400e26aa
lea rdx, [rax - 2]
cmp word [rcx + rax - 2], 0x5c
mov rax, rdx
jne 0x1400e2690
sar rdx, 1
mov r9, rdx
xor r13d, r13d
cmp r9, 2
ja 0x1400e2606
jmp 0x1400e2720
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [rax - 2]
cmp ecx, 2
jb 0x1400e265e
cmp eax, 0x7b
je 0x1400e265e
or r15b, r13b
test r15b, 1
jne 0x1400e2865
movzx ecx, byte [rsp + 0x47]
test cl, cl
jns 0x1400e26ec
mov rcx, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x30]
test rcx, rcx
je 0x1400e2865
add rcx, rcx
test rcx, rcx
je 0x1400e2865
lea rdx, [rcx - 2]
cmp word [rdi + rcx - 2], 0x5c
mov rcx, rdx
jne 0x1400e26f8
mov esi, 0x1126
cmp rdx, 6
je 0x1400e2725
jmp 0x1400e2865
mov esi, 0x1126
cmp byte [rsp + 0x47], 0
js 0x1400e2878
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400f32c0
mov eax, esi
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x48]
lea rsi, [rsp + 0x30]
mov r8d, 8
mov rdx, rsi
mov r9, 0xffffffffffffffff
call fcn.140016f30
cmp byte [rsi + 0x17], 0
jns 0x1400e2789
mov rcx, qword [rsp + 0x30]
call fcn.1400f0498
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x40], rax
movups xmm0, xmmword [rsp + 0x48]
movaps xmmword [rsp + 0x30], xmm0
mov r15b, 1
mov rdi, rsi
test bpl, bpl
jne 0x1400e25e6
mov byte [rsp + 0x5f], 4
movabs rax, 0x5c002e005c005c
mov qword [rsp + 0x48], rax
mov word [rsp + 0x50], 0
movzx r8d, byte [rsp + 0x47]
mov rdx, rsi
test r8b, r8b
jns 0x1400e27df
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
lea rdi, [rsp + 0x38]
lea rcx, [rsp + 0x48]
call fcn.1400dbf70
mov rbx, qword [rax]
mov rcx, qword [rax + 8]
mov rdx, qword [rax + 0xf]
mov qword [rsp + 0x67], rdx
mov qword [rsp + 0x60], rcx
mov bpl, byte [rax + 0x17]
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
cmp byte [rdi + 0xf], 0
jns 0x1400e2825
mov rcx, qword [rsp + 0x30]
call fcn.1400f0498
mov qword [rsp + 0x30], rbx
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x67]
mov qword [rdi + 7], rcx
mov qword [rdi], rax
mov byte [rsp + 0x47], bpl
cmp byte [rsp + 0x5f], 0
js 0x1400e2891
xor r15d, r15d
mov rdi, r14
jmp 0x1400e25e6
xor ebp, ebp
jmp 0x1400e25a8
mov esi, 0x1126
jmp 0x1400e2730
xor eax, eax
mov esi, eax
jmp 0x1400e2725
test bl, bl
je 0x1400e2887
mov rsi, r14
jmp 0x1400e27ac
mov rcx, qword [rsp + 0x30]
call fcn.1400f0498
jmp 0x1400e2730
mov esi, 0x7b
jmp 0x1400e2725
mov rcx, qword [rsp + 0x48]
call fcn.1400f0498
jmp 0x1400e2847