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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r14
lea rbp, [rax - 0x5b8]
lea ebp, [rax - 0x5b8]
sub rsp, 0x6a0
mov rax, qword [0x1400a2318]
xor rax, rsp
mov qword [rbp + 0x590], rax
mov rbx, rcx
mov edi, 0x20e
mov r8d, edi
lea rcx, [rbp + 0x380]
xor edx, edx
call sub.msvcrt.dll_memset
and dword [rsp + 0x48], 0
lea r8d, [rdi - 4]
xor edx, edx
lea rcx, [rsp + 0x60]
call sub.msvcrt.dll_memset
and qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
and qword [rsp + 0x40], 0
xor r9d, r9d
or qword [rsp + 0x50], 0xffffffffffffffff
xor r8d, r8d
mov qword [rsp + 0x30], rax
mov edx, 0x4d0008
lea rax, [rbp + 0x380]
mov dword [rsp + 0x28], edi
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_io_l1_1_0.dll_DeviceIoControl]
nop dword [rax + rax]
test eax, eax
jne 0x14005c2ff
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x14005c4bc
movzx ebx, ax
or ebx, 0x80070000
jmp 0x14005c4bc
lea rcx, [rsp + 0x60]
call fcn.14005d240
mov ebx, eax
test eax, eax
js 0x14005c4bc
movzx r9d, word [rbp + 0x380]
lea r8, [rbp + 0x382]
shr r9, 1
lea rcx, [rsp + 0x60]
call fcn.14005d1b4
mov ebx, eax
test eax, eax
js 0x14005c4bc
mov edi, 0x105
lea r8, str.System_Volume_InformationFVE.e40ad34d_dae9_4bc7_95bd_b16218c10f72.X
mov edx, edi
lea rcx, [rsp + 0x60]
call fcn.14005bf40
mov ebx, eax
test eax, eax
js 0x14005c4bc
lea r8, [rsp + 0x40]
mov edx, edi
lea rcx, [rsp + 0x60]
call fcn.14005bfe8
mov ebx, eax
test eax, eax
js 0x14005c4bc
mov r14, qword [rsp + 0x40]
test r14, r14
je 0x14005c4bc
lea rcx, [rbp + 0x170]
call fcn.14005d240
mov ebx, eax
test eax, eax
js 0x14005c4bc
movzx r9d, word [rbp + 0x380]
lea r8, [rbp + 0x382]
shr r9, 1
lea rcx, [rbp + 0x170]
call fcn.14005d1b4
mov ebx, eax
test eax, eax
js 0x14005c4bc
lea r8, str.System_Volume_InformationFVE2.e40ad34d_dae9_4bc7_95bd_b16218c10f72.X
mov edx, edi
lea rcx, [rbp + 0x170]
call fcn.14005bf40
mov ebx, eax
test eax, eax
js 0x14005c4bc
lea r8, [rsp + 0x40]
mov edx, edi
lea rcx, [rbp + 0x170]
call fcn.14005bfe8
mov ebx, eax
test eax, eax
js 0x14005c4bc
mov rsi, qword [rsp + 0x40]
test rsi, rsi
je 0x14005c4bc
lea rdx, [rsp + 0x50]
call fcn.14005c060
mov ebx, eax
test eax, eax
js 0x14005c47a
mov r12d, 0x31
mov edi, r12d
lea ebx, [r12 - 0x30]
movzx eax, di
sub ax, r12w
cmp ax, 3
jae 0x14005c47a
lea rcx, [rsp + 0x60]
mov word [rsp + r14*2 + 0x5e], di
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesW]
nop dword [rax + rax]
cmp eax, 0xffffffff
jne 0x14005c478
lea rcx, [rbp + 0x170]
mov word [rbp + rsi*2 + 0x16e], di
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesW]
nop dword [rax + rax]
cmp eax, 0xffffffff
jne 0x14005c478
add di, bx
jmp 0x14005c42a
xor ebx, ebx
mov rdi, qword [rsp + 0x50]
cmp rdi, 0xffffffffffffffff
je 0x14005c4bc
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_SetThreadToken]
nop dword [rax + rax]
test eax, eax
jne 0x14005c4a8
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
jmp 0x14005c4bc
test rdi, rdi
je 0x14005c4bc
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rbp + 0x590]
xor rcx, rsp
call fcn.1400149c0
lea r11, [rsp + 0x6a0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r12
pop rbp
ret