Function at 0x14000e03c
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.140117f40
sub rsp, rax
mov rax, qword [0x140181c48]
xor rax, rsp
mov qword [rbp + 0xf70], rax
xor ebx, ebx
cmp qword [0x1401a99c0], rbx
je 0x14000e2dd
xor r9d, r9d
mov r8b, 1
lea rdx, [0x1401a8992]
lea rdi, [0x1401b9630]
mov rcx, rdi
call fcn.14000a674
cmp eax, 1
jne 0x14000e2dd
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x30], rbx
mov eax, dword [0x14019e550]
add eax, 0xfffffffd
mov r9b, 1
lea r8, [rsp + 0x30]
mov rcx, rdi
cmp eax, 1
jbe 0x14000e0d9
lea rdx, [rsp + 0x38]
call fcn.140009908
jmp 0x14000e0e3
lea rdx, [rsp + 0x40]
call fcn.140009ac0
cmp qword [rsp + 0x30], rbx
je 0x14000e2dd
mov edi, 0x800
mov r8d, edi
lea rdx, [rsp + 0x70]
lea rcx, [0x1401a9998]
call fcn.1400aab1c
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000e157
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
movabs r9, 0x7fffffff7fffffff
mov r8d, edi
lea rdx, [rsp + 0x70]
lea rcx, [0x14019a530]
call fcn.1400ad1c4
cmp eax, 6
ja 0x14000e157
mov ecx, 0x4a
bt ecx, eax
jae 0x14000e157
mov rcx, qword [rsp + 0x38]
jmp 0x14000e2d8
lea rdx, [0x14013f5b0]
lea rcx, [rsp + 0x70]
call fcn.140084ce0
mov rdi, rax
test rax, rax
jne 0x14000e190
mov ecx, 0x1f6
call fcn.1400a493c
mov rdx, rax
lea r8, [rsp + 0x70]
lea rcx, [0x1401a8992]
call fcn.1400ed110
jmp 0x14000e14d
mov eax, dword [0x14019e550]
cmp eax, 3
jne 0x14000e1f2
mov rdx, rdi
mov ecx, 0xff
call fcn.140124b0c
mov rdx, rdi
mov ecx, 0xfe
call fcn.140124b0c
cmp qword [rsp + 0x30], rbx
jbe 0x14000e2c1
mov rax, qword [rsp + 0x40]
movzx ecx, word [rax + rbx*2]
mov rdx, rdi
call fcn.140124b0c
mov rax, qword [rsp + 0x40]
movzx ecx, byte [rax + rbx*2 + 1]
mov rdx, rdi
call fcn.140124b0c
inc rbx
cmp rbx, qword [rsp + 0x30]
jb 0x14000e1c0
jmp 0x14000e2c1
cmp eax, 4
jne 0x14000e292
mov rdx, rdi
mov ecx, 0xef
call fcn.140124b0c
mov rdx, rdi
mov ecx, 0xbb
call fcn.140124b0c
mov rdx, rdi
mov ecx, 0xbf
call fcn.140124b0c
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.1400081d0
nop
mov r8, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
mov rdx, rsi
mov rcx, qword [rsp + 0x40]
call fcn.1400ad87c
or r8, 0xffffffffffffffff
inc r8
cmp byte [rsi + r8], bl
jne 0x14000e269
mov r9, rdi
mov edx, 1
mov rcx, rsi
call fcn.140124f00
nop
test rsi, rsi
je 0x14000e2c1
mov rcx, rsi
call fcn.140123a48
jmp 0x14000e2c1
cmp eax, 2
jne 0x14000e2aa
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.140124f00
mov rcx, rdi
call fcn.140124918
mov rcx, qword [rsp + 0x38]
call fcn.140117b78
mov rcx, qword [rsp + 0x40]
call fcn.140117b78
mov rcx, qword [rbp + 0xf70]
xor rcx, rsp
call fcn.140117fa0
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