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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1402fa010]
xor rax, rsp
mov qword [rbp - 8], rax
mov rsi, rdx
mov r14, rcx
mov qword [rbp - 0x28], rcx
xor ebx, ebx
mov dword [rbp - 0x30], ebx
mov qword [rbp - 0x20], rbx
lea rcx, [rbp - 0x20]
call fcn.140025650
nop
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea rdi, [rbx - 1]
cmp eax, 0xffffffff
je 0x1400234cb
mov qword [rbp - 0x10], rbx
mov rdx, qword [rbp - 0x20]
lea rcx, [rbp - 0x10]
call fcn.1400236b0
nop
mov qword [rbp - 0x18], rbx
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x18]
call fcn.140023540
nop
mov ebx, 2
mov dword [rsp + 0x20], ebx
mov r9, qword [rbp - 0x10]
mov r8, qword [rbp - 0x18]
lea rdx, str._s_s___d_
lea rcx, [rbp - 0x20]
call fcn.14001c3d0
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140023385
inc ebx
cmp ebx, 0x2710
jle 0x140023350
test rsi, rsi
je 0x14002352c
mov rax, qword [rbp - 0x20]
sub rsi, rax
movzx edx, word [rax]
movzx ecx, word [rax + rsi]
sub edx, ecx
jne 0x1400233a8
add rax, 2
test ecx, ecx
jne 0x140023395
test edx, edx
jne 0x140023482
call fcn.1400195b0
mov rcx, rax
test rax, rax
je 0x14002352c
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140038716.0]
add rax, 0x18
mov qword [r14], rax
lea rbx, [0x140262520]
mov rdx, rbx
mov rcx, r14
call fcn.140018bd0
mov rdi, 0xffffffffffffffff
test al, al
jne 0x14002340c
mov r8, rdi
inc r8
cmp word [rbx + r8*2], 0
jne 0x1400233f5
mov rdx, rbx
mov rcx, r14
call fcn.140018f70
nop
mov dword [rbp - 0x30], 1
mov rdx, qword [rbp - 0x18]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140023438
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
nop
mov rdx, qword [rbp - 0x10]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002345d
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
nop
mov rdx, qword [rbp - 0x20]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x140023508
mov rcx, qword [rdx]
mov r8, qword [rcx]
mov rax, qword [r8 + 8]
jmp 0x140023502
mov rdx, qword [rbp - 0x18]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400234a7
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
nop
mov rdx, qword [rbp - 0x10]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400234cb
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
mov rcx, qword [rbp - 0x20]
add rcx, 0xffffffffffffffe8
call fcn.1400191a0
add rax, 0x18
mov qword [r14], rax
mov dword [rbp - 0x30], 1
mov rdx, qword [rbp - 0x20]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x140023508
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
mov rax, r14
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1401f3bf0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140019320
int3