Function at 0x14000e0ac
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.14011a0f0
sub rsp, rax
mov rax, qword [0x140183c48]
xor rax, rsp
mov qword [rbp + 0xf70], rax
xor ebx, ebx
cmp qword [0x1401ab9c0], rbx
je 0x14000e34d
xor r9d, r9d
mov r8b, 1
lea rdx, [0x1401aa992]
lea rdi, [0x1401bb630]
mov rcx, rdi
call fcn.14000a6e8
cmp eax, 1
jne 0x14000e34d
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x30], rbx
mov eax, dword [0x1401a0550]
add eax, 0xfffffffd
mov r9b, 1
lea r8, [rsp + 0x30]
mov rcx, rdi
cmp eax, 1
jbe 0x14000e149
lea rdx, [rsp + 0x38]
call fcn.14000997c
jmp 0x14000e153
lea rdx, [rsp + 0x40]
call fcn.140009b34
cmp qword [rsp + 0x30], rbx
je 0x14000e34d
mov edi, 0x800
mov r8d, edi
lea rdx, [rsp + 0x70]
lea rcx, [0x1401ab998]
call fcn.1400aca40
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000e1c7
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
movabs r9, 0x7fffffff7fffffff
mov r8d, edi
lea rdx, [rsp + 0x70]
lea rcx, [0x14019c530]
call fcn.1400af0e4
cmp eax, 6
ja 0x14000e1c7
mov ecx, 0x4a
bt ecx, eax
jae 0x14000e1c7
mov rcx, qword [rsp + 0x38]
jmp 0x14000e348
lea rdx, [0x1401415c0]
lea rcx, [rsp + 0x70]
call fcn.140086b98
mov rdi, rax
test rax, rax
jne 0x14000e200
mov ecx, 0x1f6
call fcn.1400a685c
mov rdx, rax
lea r8, [rsp + 0x70]
lea rcx, [0x1401aa992]
call fcn.1400ef290
jmp 0x14000e1bd
mov eax, dword [0x1401a0550]
cmp eax, 3
jne 0x14000e262
mov rdx, rdi
mov ecx, 0xff
call fcn.140126cbc
mov rdx, rdi
mov ecx, 0xfe
call fcn.140126cbc
cmp qword [rsp + 0x30], rbx
jbe 0x14000e331
mov rax, qword [rsp + 0x40]
movzx ecx, word [rax + rbx*2]
mov rdx, rdi
call fcn.140126cbc
mov rax, qword [rsp + 0x40]
movzx ecx, byte [rax + rbx*2 + 1]
mov rdx, rdi
call fcn.140126cbc
inc rbx
cmp rbx, qword [rsp + 0x30]
jb 0x14000e230
jmp 0x14000e331
cmp eax, 4
jne 0x14000e302
mov rdx, rdi
mov ecx, 0xef
call fcn.140126cbc
mov rdx, rdi
mov ecx, 0xbb
call fcn.140126cbc
mov rdx, rdi
mov ecx, 0xbf
call fcn.140126cbc
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.1400af79c
or r8, 0xffffffffffffffff
inc r8
cmp byte [rsi + r8], bl
jne 0x14000e2d9
mov r9, rdi
mov edx, 1
mov rcx, rsi
call fcn.1401270b0
nop
test rsi, rsi
je 0x14000e331
mov rcx, rsi
call fcn.140125bf8
jmp 0x14000e331
cmp eax, 2
jne 0x14000e31a
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.1401270b0
mov rcx, rdi
call fcn.140126ac8
mov rcx, qword [rsp + 0x38]
call fcn.140119d28
mov rcx, qword [rsp + 0x40]
call fcn.140119d28
mov rcx, qword [rbp + 0xf70]
xor rcx, rsp
call fcn.14011a150
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