Function at 0x14001ba40
Capabilities:
Read file via mapping

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x4b8
mov r13, rcx
movabs rsi, 0x8000000000000000
lea rcx, [rsp + 0xb0]
call fcn.140018c80
mov r15, qword [rsp + 0xb0]
mov rdi, qword [rsp + 0xb8]
cmp r15, rsi
je 0x14001c023
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rax
cmp rax, 3
jbe 0x14001badb
movabs rcx, 0x5c003f003f005c
lea rdx, [rcx + 0x1d0000]
cmp rdx, qword [rdi]
je 0x14001becd
cmp rcx, qword [rdi]
je 0x14001becd
cmp rax, 0xf8
jae 0x14001bb4b
cmp word [rdi + 2], 0x3a
jne 0x14001bb24
movzx eax, word [rdi + 4]
jmp 0x14001bb02
je 0x14001baee
cmp rax, 1
jne 0x14001bb22
cmp word [rdi], 0
jne 0x14001bb4b
jmp 0x14001becd
cmp word [rdi + 2], 0x3a
jne 0x14001bb24
movzx eax, word [rdi + 4]
test ax, ax
je 0x14001c12b
cmp ax, 0x2f
je 0x14001bb10
movzx eax, ax
cmp eax, 0x5c
jne 0x14001bb24
movzx eax, word [rdi]
cmp eax, 0x2f
je 0x14001bb27
cmp eax, 0x5c
je 0x14001bb27
jmp 0x14001becd
jbe 0x14001bb4b
movzx eax, word [rdi]
cmp ax, 0x5c
je 0x14001bb35
movzx eax, ax
cmp eax, 0x2f
jne 0x14001bb4b
movzx eax, word [rdi + 2]
cmp eax, 0x2f
je 0x14001becd
cmp eax, 0x5c
je 0x14001becd
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 2
mov qword [rsp + 0x60], 0
mov r8d, 0x200
mov eax, 2
mov qword [rsp + 0x70], rax
xor r15d, r15d
mov r14d, 0xffffffff
xor edi, edi
xor r12d, r12d
cmp r8, 0x201
jae 0x14001bbd0
jmp 0x14001bbaf
jae 0x14001bc83
cmp r8, 0x201
jae 0x14001bbd0
mov r13d, 0x200
lea rbx, [rsp + 0xb0]
mov rbp, r8
jmp 0x14001bc17
sub r8, r12
sub rdi, r12
cmp rdi, r8
jae 0x14001bbf7
lea rcx, [rsp + 0x50]
mov rdx, r12
call fcn.140019110
mov r15, qword [rsp + 0x50]
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x70], rax
cmp r15, r14
mov r12d, 0xffffffff
cmovb r12, r15
mov qword [rsp + 0x60], r12
mov rdi, r15
mov r13, r12
mov rbx, qword [rsp + 0x70]
mov rbp, r12
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, qword [rsp + 0x78]
mov edx, ebp
mov r8, rbx
xor r9d, r9d
call sub.KERNEL32.dll_GetFullPathNameW
mov esi, eax
test eax, eax
jne 0x14001bc3f
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x14001bcbd
mov r8d, esi
cmp rbp, r8
jne 0x14001bba0
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x14001c155
add rbp, rbp
mov eax, 0xffffffff
cmp rbp, rax
mov r14d, 0xffffffff
cmovae rbp, rax
mov r8, rbp
cmp r8, 0x201
jb 0x14001bbaf
jmp 0x14001bbd0
cmp r13, r8
jb 0x14001c16f
cmp esi, 2
mov rdi, qword [rsp + 0x78]
jbe 0x14001bd08
movzx eax, word [rbx + 2]
cmp eax, 0x3a
mov r13, qword [rsp + 0x68]
jne 0x14001bd14
cmp word [rbx + 4], 0x5c
jne 0x14001bd14
lea r15, [0x140052380]
mov r14d, 4
jmp 0x14001bd4d
call sub.KERNEL32.dll_GetLastError
mov edi, eax
shl rdi, 0x20
cmp qword [rsp + 0x50], 0
je 0x14001bcdf
mov rcx, qword [rsp + 0x58]
mov edx, 2
call fcn.140002eb0
or rdi, 2
cmp qword [rsp + 0x38], 0
mov r13, qword [rsp + 0x68]
je 0x14001c023
mov rcx, qword [rsp + 0x40]
mov edx, 2
call fcn.140002eb0
jmp 0x14001c023
mov r13, qword [rsp + 0x68]
jne 0x14001bd43
movzx ecx, word [rbx]
jmp 0x14001bd1c
movzx ecx, word [rbx]
cmp esi, 3
jne 0x14001bd8f
cmp cx, 0x5c
jne 0x14001bd43
movzx eax, word [rbx + 2]
cmp ax, 0x5c
jne 0x14001bd43
add r8, 0xfffffffffffffffe
add rbx, 4
lea r15, [0x140052388]
mov r14d, 8
jmp 0x14001bd4d
lea r15, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destruction_rustc_9b00956e56009bab2aa15d7bff10916599e3d6d6library_std_src_threadlocal.rs
xor r14d, r14d
lea r12, [r8 + r14]
inc r12
mov rcx, qword [rsp + 0x38]
cmp rcx, r12
jae 0x14001bd84
lea rax, [r12 + r12]
mov rsi, r8
test rcx, rcx
je 0x14001bdd4
add rcx, rcx
mov qword [rsp + 0x80], rdi
mov qword [rsp + 0x90], rcx
mov ecx, 2
jmp 0x14001bdd6
mov rsi, r8
mov r12, rcx
jmp 0x14001be1c
lea r15, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destruction_rustc_9b00956e56009bab2aa15d7bff10916599e3d6d6library_std_src_threadlocal.rs
cmp cx, 0x5c
jne 0x14001bd4a
cmp eax, 0x3f
je 0x14001bd4a
cmp eax, 0x5c
jne 0x14001bd26
movzx eax, word [rbx + 4]
cmp eax, 0x3f
je 0x14001c145
cmp eax, 0x2e
jne 0x14001bd2c
cmp word [rbx + 6], 0x5c
jne 0x14001bd2c
add r8, 0xfffffffffffffffc
add rbx, 8
jmp 0x14001bcab
xor ecx, ecx
mov qword [rsp + 0x88], rcx
lea rcx, [rsp + 0x98]
lea r9, [rsp + 0x80]
mov edx, 2
mov r8, rax
call fcn.140019080
cmp qword [rsp + 0x98], 0
jne 0x14001c186
mov rdi, qword [rsp + 0xa0]
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], r12
lea r8d, [r14 + r14]
mov rcx, rdi
mov rdx, r15
call sub.msvcrt.dll_memcpy
mov qword [rsp + 0x48], r14
mov rax, r12
sub rax, r14
cmp rax, rsi
jae 0x14001be63
lea rcx, [rsp + 0x38]
mov rdx, r14
mov rdi, rsi
mov r8, rsi
call fcn.140019110
mov r14, qword [rsp + 0x48]
mov r12, qword [rsp + 0x38]
mov rax, qword [rsp + 0x40]
mov rsi, rdi
mov rdi, rax
lea r8, [rsi + rsi]
lea rcx, [rdi + r14*2]
mov rdx, rbx
call sub.msvcrt.dll_memcpy
add r14, rsi
mov qword [rsp + 0x48], r14
cmp r14, r12
jne 0x14001be97
lea rcx, [rsp + 0x38]
mov rdx, r12
call fcn.140018fd0
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov word [rdi + r14*2], 0
cmp qword [rsp + 0x50], 0
je 0x14001beb5
mov rcx, qword [rsp + 0x58]
mov edx, 2
call fcn.140002eb0
mov r15, qword [rsp + 0x38]
movabs rax, 0x8000000000000000
cmp r15, rax
je 0x14001c023
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
mov rcx, rdi
mov edx, 0x80000000
mov r8d, 7
xor r9d, r9d
call sub.KERNEL32.dll_CreateFileW
cmp rax, 0xffffffffffffffff
je 0x14001bfff
mov rbx, rax
test r15, r15
je 0x14001bf1b
mov edx, 2
mov rcx, rdi
call fcn.140002eb0
xorps xmm0, xmm0
movaps xmmword [rsp + 0xd0], xmm0
movaps xmmword [rsp + 0xc0], xmm0
movaps xmmword [rsp + 0xb0], xmm0
mov dword [rsp + 0xe0], 0
lea rdx, [rsp + 0xb0]
mov rcx, rbx
call sub.KERNEL32.dll_GetFileInformationByHandle
test eax, eax
je 0x14001c047
test byte [rsp + 0xb1], 4
je 0x14001bf92
mov qword [rsp + 0x80], 0
lea r8, [rsp + 0x80]
mov rcx, rbx
mov edx, 9
mov r9d, 8
call sub.KERNEL32.dll_GetFileInformationByHandleEx
test eax, eax
je 0x14001c047
mov r15d, dword [rsp + 0xd0]
mov r14d, dword [rsp + 0xd4]
test rbx, rbx
je 0x14001c07f
mov qword [rsp + 0xb0], 0
call sub.KERNEL32.dll_GetCurrentProcess
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0xb0]
mov rcx, rax
mov rdx, rbx
mov r8, rax
call sub.KERNEL32.dll_DuplicateHandle
test eax, eax
je 0x14001c104
mov rdi, qword [rsp + 0xb0]
jmp 0x14001c081
call sub.KERNEL32.dll_GetLastError
mov esi, eax
shl rsi, 0x20
or rsi, 2
test r15, r15
je 0x14001c020
mov edx, 2
mov rcx, rdi
call fcn.140002eb0
mov rdi, rsi
mov rcx, rdi
call fcn.140017d40
mov qword [r13], 0
add rsp, 0x4b8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov rcx, rax
call fcn.140017d40
mov qword [r13], 0
mov rcx, rbx
add rsp, 0x4b8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp sub.KERNEL32.dll_CloseHandle
xor edi, edi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov rcx, rdi
xor edx, edx
mov r8d, 2
xor r9d, r9d
call sub.KERNEL32.dll_CreateFileMappingA
test rax, rax
je 0x14001c0f2
mov rsi, rax
shl r15, 0x20
or r15, r14
mov qword [rsp + 0x20], r15
mov rcx, rax
mov edx, 4
xor r8d, r8d
xor r9d, r9d
call sub.KERNEL32.dll_MapViewOfFile
mov r14, rax
mov rcx, rsi
call sub.KERNEL32.dll_CloseHandle
test r14, r14
je 0x14001c0f2
mov qword [r13 + 8], rdi
mov qword [r13 + 0x10], r14
mov qword [r13 + 0x18], r15
mov qword [r13], 1
jmp 0x14001c11e
mov qword [r13], 0
mov rcx, rdi
call sub.KERNEL32.dll_CloseHandle
jmp 0x14001c11e
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
lea rcx, [rax + 2]
call fcn.140017d40
mov qword [r13], 0
mov rcx, rbx
call sub.KERNEL32.dll_CloseHandle
jmp 0x14001c033
movzx eax, word [rdi]
cmp eax, 0x2f
je 0x14001bb24
cmp eax, 0x5c
je 0x14001bb24
jmp 0x14001becd
cmp word [rbx + 6], 0x5c
jne 0x14001bd2c
jmp 0x14001bd4a
lea rcx, str.internal_error:_entered_unreachable_code_usr_local_cargo_registry_src_index.crates.io_6f17d22bba15001f_rayon_core_1.12.1_src_job.rs
lea r8, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov edx, 0x28
call fcn.140004ba0
jmp 0x14001c1a7
lea rax, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov rcx, r8
mov rdx, r13
mov r8, rax
call fcn.140004830
jmp 0x14001c1a7
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
jne 0x14001c19a
call fcn.140003340
jmp 0x14001c1a7
mov rdx, qword [rsp + 0xa8]
call fcn.140003380
ud2