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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0xf88]
mov eax, 0x1080
call fcn.140119910
sub rsp, rax
mov rax, qword [0x140182c48]
xor rax, rsp
mov qword [rbp + 0xf70], rax
xor ebx, ebx
cmp qword [0x1401aa9c0], rbx
je 0x14000e33d
xor r9d, r9d
mov r8b, 1
lea rdx, [0x1401a9992]
lea rdi, [0x1401ba630]
mov rcx, rdi
call fcn.14000a6d4
cmp eax, 1
jne 0x14000e33d
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x30], rbx
mov eax, dword [0x14019f550]
add eax, 0xfffffffd
mov r9b, 1
lea r8, [rsp + 0x30]
mov rcx, rdi
cmp eax, 1
jbe 0x14000e139
lea rdx, [rsp + 0x38]
call fcn.140009968
jmp 0x14000e143
lea rdx, [rsp + 0x40]
call fcn.140009b20
cmp qword [rsp + 0x30], rbx
je 0x14000e33d
mov edi, 0x800
mov r8d, edi
lea rdx, [rsp + 0x70]
lea rcx, [0x1401aa998]
call fcn.1400ac360
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000e1b7
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
movabs r9, 0x7fffffff7fffffff
mov r8d, edi
lea rdx, [rsp + 0x70]
lea rcx, [0x14019b530]
call fcn.1400aea04
cmp eax, 6
ja 0x14000e1b7
mov ecx, 0x4a
bt ecx, eax
jae 0x14000e1b7
mov rcx, qword [rsp + 0x38]
jmp 0x14000e338
lea rdx, [0x1401405c0]
lea rcx, [rsp + 0x70]
call fcn.1400864b0
mov rdi, rax
test rax, rax
jne 0x14000e1f0
mov ecx, 0x1f6
call fcn.1400a617c
mov rdx, rax
lea r8, [rsp + 0x70]
lea rcx, [0x1401a9992]
call fcn.1400ee9a0
jmp 0x14000e1ad
mov eax, dword [0x14019f550]
cmp eax, 3
jne 0x14000e252
mov rdx, rdi
mov ecx, 0xff
call fcn.1401264dc
mov rdx, rdi
mov ecx, 0xfe
call fcn.1401264dc
cmp qword [rsp + 0x30], rbx
jbe 0x14000e321
mov rax, qword [rsp + 0x40]
movzx ecx, word [rax + rbx*2]
mov rdx, rdi
call fcn.1401264dc
mov rax, qword [rsp + 0x40]
movzx ecx, byte [rax + rbx*2 + 1]
mov rdx, rdi
call fcn.1401264dc
inc rbx
cmp rbx, qword [rsp + 0x30]
jb 0x14000e220
jmp 0x14000e321
cmp eax, 4
jne 0x14000e2f2
mov rdx, rdi
mov ecx, 0xef
call fcn.1401264dc
mov rdx, rdi
mov ecx, 0xbb
call fcn.1401264dc
mov rdx, rdi
mov ecx, 0xbf
call fcn.1401264dc
mov rax, qword [rsp + 0x30]
lea rdx, [rax*4]
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rbx
lea rcx, [rsp + 0x48]
call fcn.140008230
nop
mov r8, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
mov rdx, rsi
mov rcx, qword [rsp + 0x40]
call fcn.1400af0bc
or r8, 0xffffffffffffffff
inc r8
cmp byte [rsi + r8], bl
jne 0x14000e2c9
mov r9, rdi
mov edx, 1
mov rcx, rsi
call fcn.1401268d0
nop
test rsi, rsi
je 0x14000e321
mov rcx, rsi
call fcn.140125418
jmp 0x14000e321
cmp eax, 2
jne 0x14000e30a
mov r8d, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov rdx, rcx
call qword [sym.imp.USER32.dll_CharToOemBuffA]
mov r9, rdi
mov r8, qword [rsp + 0x30]
mov edx, 1
mov rcx, qword [rsp + 0x38]
call fcn.1401268d0
mov rcx, rdi
call fcn.1401262e8
mov rcx, qword [rsp + 0x38]
call fcn.140119548
mov rcx, qword [rsp + 0x40]
call fcn.140119548
mov rcx, qword [rbp + 0xf70]
xor rcx, rsp
call fcn.140119970
lea r11, [rsp + 0x1080]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret