Function at 0x140001f73
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xab8
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0xa20], xmm6
mov qword [rbp + 0xa18], 0xfffffffffffffffe
and qword [rbp + 0x930], 0
mov qword [rbp + 0x938], 8
and qword [rbp + 0x940], 0
mov qword [rbp + 0x918], rcx
lea rax, [0x140131eb0]
lea rcx, [rbp + 0x668]
mov qword [rcx], rax
lea rax, str._rustc_25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04librarycore_srccharmethods.rsh5e_
lea rdx, [rbp + 0x1c8]
mov qword [rdx], rax
mov qword [rdx + 8], 2
and qword [rdx + 0x20], 0
lea rax, [0x140011bb0]
mov qword [rcx + 8], rax
mov qword [rdx + 0x10], rcx
mov qword [rdx + 0x18], 1
lea rdi, [rbp + 0x650]
mov rcx, rdi
call fcn.140001bfc
mov rsi, qword [rdi + 8]
mov rbx, qword [rdi + 0x10]
test rbx, rbx
je 0x140003a3f
js 0x140003a6e
mov al, byte [0x1401bf360]
xor ecx, ecx
mov rdx, rbx
call fcn.1400a9950
test rax, rax
je 0x140003a73
mov qword [rbp + 0x9f0], rax
mov rcx, rax
mov rdx, rsi
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov al, byte [0x1401bf360]
xor ecx, ecx
mov rdx, rbx
call fcn.1400a9950
test rax, rax
je 0x140003a7e
mov rdi, rax
mov rcx, rax
mov rdx, rsi
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbp + 0x668]
mov qword [rcx], rbx
mov qword [rcx + 8], rdi
mov qword [rcx + 0x10], rbx
mov byte [rcx + 0x18], 0
lea rdx, [0x14018a788]
push 1
pop r13
mov r8, r13
call fcn.1400986c0
mov rax, qword [rbp + 0x668]
mov qword [rbp + 0xa00], rax
mov rdx, qword [rbp + 0x670]
mov r8, qword [rbp + 0x678]
mov byte [rbp + 0xa16], 1
lea rcx, [rbp + 0x430]
mov qword [rbp + 0x9d8], rdx
call fcn.1400915d0
mov rax, qword [rbp + 0x430]
mov rdi, qword [rbp + 0x438]
movabs rcx, 0x8000000000000000
push 2
pop r14
cmp rax, rcx
jne 0x14000210b
mov r15b, 1
jmp 0x140002158
mov rcx, qword [rbp + 0x440]
lea rdx, [rbp + 0x668]
mov qword [rdx], rax
mov qword [rdx + 8], rdi
mov qword [rdx + 0x10], rcx
mov byte [rbp + 0xa16], 1
lea rcx, [rbp - 0x58]
mov r15b, 1
mov r8b, 1
call fcn.140097e10
mov rcx, qword [rbp - 0x58]
mov r12, qword [rbp - 0x50]
movabs rax, 0x8000000000000000
cmp rcx, rax
jne 0x14000319a
mov rdi, r12
mov rax, qword [rbp + 0xa00]
test rax, rax
je 0x140002173
push 1
pop rdx
mov rcx, qword [rbp + 0x9d8]
call fcn.14000cc90
push 0xffffffffffffffff
pop rax
mov qword [rbp + 0xa08], rax
test r15b, r15b
je 0x140002191
push 1
pop rdx
mov rcx, qword [rbp + 0x9f0]
call fcn.14000cc90
cmp r14d, 2
je 0x140003a49
push 8
pop rax
mov qword [rbp + 0x9a8], rax
lea rbx, [rbp + 0x668]
lea rdx, [rbp + 0x1c8]
mov r8d, 0x254
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rbp + 0x650]
mov rdx, rsi
call fcn.140040195
lea rsi, [rbp + 0x1dc]
mov r8d, 0x254
mov rcx, rsi
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsi - 0x14], rdi
mov rax, qword [rbp + 0xa08]
mov qword [rsi - 0xc], rax
mov dword [rsi - 4], r14d
mov r12, qword [sym.imp.KERNEL32.dll_FindNextFileW]
lea r13, [rbp - 0x58]
xorps xmm6, xmm6
xor eax, eax
mov qword [rbp + 0x948], rax
mov qword [rbp + 0x9e8], rcx
lea rdi, [rbp + 0x668]
mov r8d, 0x250
mov rcx, rdi
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, r12
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rbp + 0xa08], rax
cmp rax, 0xffffffffffffffff
je 0x14000384f
mov al, byte [0x1401bf360]
push 0x30
pop rdx
xor ecx, ecx
call fcn.1400a9950
test rax, rax
je 0x140003b43
mov rdi, rax
mov qword [rax], r13
mov qword [rax + 8], r13
mov qword [rax + 0x10], rbx
mov rax, qword [rbp + 0x9f0]
mov qword [rdi + 0x18], rax
mov qword [rdi + 0x20], rbx
mov byte [rdi + 0x28], 0
lea rcx, [rbp + 0x1c8]
lea rdx, [rbp + 0x668]
mov r8d, 0x250
call sub.VCRUNTIME140.dll_memcpy
push 1
pop r14
jmp 0x1400038ed
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x1400038e3
mov al, byte [0x1401bf360]
xor r14d, r14d
push 0x30
pop rdx
xor ecx, ecx
call fcn.1400a9950
test rax, rax
je 0x140003b79
mov rdi, rax
mov qword [rax], r13
mov qword [rax + 8], r13
mov qword [rax + 0x10], rbx
mov rax, qword [rbp + 0x9f0]
mov qword [rdi + 0x18], rax
mov qword [rdi + 0x20], rbx
mov byte [rdi + 0x28], 0
cmp qword [rbp + 0x9e8], 0
je 0x1400038b3
push 2
pop rdx
mov rcx, r12
call fcn.14000cc90
xor r14d, r14d
xor r15d, r15d
jmp 0x140002158
mov edi, eax
shl rdi, 0x20
or rdi, 2
cmp qword [rbp + 0x9e8], 0
mov rbx, qword [rbp + 0xa00]
je 0x140003909
push 2
pop rdx
mov rcx, r12
call fcn.14000cc90
test rbx, rbx
je 0x14000391d
push 1
pop rdx
mov rcx, qword [rbp + 0x9d8]
call fcn.14000cc90
cmp qword [rbp + 0xa08], 0xffffffffffffffff
jne 0x140002191
jmp 0x140002182
movabs rdi, 0x300000002
mov rcx, qword [rbp + 0x650]
mov rdx, rsi
call fcn.140040195
lea r8, [rbp + 0x1c8]
mov qword [r8], rdi
lea rax, str.srcmain.rs
jmp 0x1400039b9
call fcn.14000cd70
push 1
pop rcx
mov rdx, rbx
call fcn.1400c0cc0
mov byte [rbp + 0xa17], 1
push 1
pop rcx
mov rdx, rbx
call fcn.1400c0cc0
jmp 0x140003b8b
mov qword [rbp + 0x9f8], r12
push 8
pop rcx
push 0x30
pop rdx
call fcn.1400c0cc0