Function at 0x14001d3c0
Capabilities:
Read file via mapping

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x4c8
lea rbp, [rsp + 0x80]
mov r12, rcx
movabs rsi, 0x8000000000000001
lea rcx, [rbp - 0x40]
call fcn.140039d60
mov r15, qword [rbp - 0x40]
mov r13, qword [rbp - 0x38]
dec rsi
cmp r15, rsi
je 0x14001d9be
mov rax, qword [rbp - 0x30]
mov qword [rbp + 0x430], r15
mov qword [rbp + 0x438], r13
mov qword [rbp + 0x440], rax
cmp rax, 3
jbe 0x14001d464
movabs rcx, 0x5c003f003f005c
lea rdx, [rcx + 0x1d0000]
cmp rdx, qword [r13]
je 0x14001d89f
cmp rcx, qword [r13]
je 0x14001d89f
cmp rax, 0xf8
jae 0x14001d4dd
cmp word [r13 + 2], 0x3a
jne 0x14001d4b3
movzx eax, word [r13 + 4]
jmp 0x14001d48f
je 0x14001d479
cmp rax, 1
jne 0x14001d4b1
cmp word [r13], 0
jne 0x14001d4dd
jmp 0x14001d89f
cmp word [r13 + 2], 0x3a
jne 0x14001d4b3
movzx eax, word [r13 + 4]
test ax, ax
je 0x14001dae8
cmp ax, 0x2f
je 0x14001d49d
movzx eax, ax
cmp eax, 0x5c
jne 0x14001d4b3
movzx eax, word [r13]
cmp eax, 0x2f
je 0x14001d4b8
cmp eax, 0x5c
je 0x14001d4b8
jmp 0x14001d89f
jbe 0x14001d4dd
movzx eax, word [r13]
cmp ax, 0x5c
je 0x14001d4c6
movzx eax, ax
cmp eax, 0x2f
jne 0x14001d4dd
movzx eax, word [r13 + 2]
cmp eax, 0x2f
je 0x14001d89f
cmp eax, 0x5c
je 0x14001d89f
mov qword [rbp + 0x3f8], rsi
mov qword [rbp + 0x400], r13
mov qword [rbp + 0x410], r12
mov qword [rbp + 0x418], 0
mov qword [rbp + 0x420], 2
mov qword [rbp + 0x428], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x408], rax
sub edi, edi
xor r14d, r14d
xor r13d, r13d
cmp r8, 0x201
jae 0x14001d560
jmp 0x14001d54f
jae 0x14001d631
cmp r8, 0x201
jae 0x14001d560
mov esi, 0x200
lea rbx, [rbp - 0x40]
mov r12, r8
jmp 0x14001d5c7
sub r8, r13
sub r14, r13
cmp r14, r8
jae 0x14001d59e
mov qword [rsp + 0x20], 2
mov r9d, 2
lea rcx, [rbp + 0x418]
mov rdx, r13
call fcn.14001d110
mov rdi, qword [rbp + 0x418]
mov rax, qword [rbp + 0x420]
mov qword [rbp + 0x408], rax
mov eax, 0xffffffff
cmp rdi, rax
mov r13d, 0xffffffff
cmovb r13, rdi
mov qword [rbp + 0x428], r13
mov r14, rdi
mov rsi, r13
mov rbx, qword [rbp + 0x408]
mov r12, r13
sub ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, qword [rbp + 0x400]
mov edx, r12d
mov r8, rbx
sub r9d, r9d
call sub.KERNEL32.dll_GetFullPathNameW
mov r15d, eax
or eax, eax
jne 0x14001d5f3
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x14001d670
mov r8d, r15d
cmp r12, r8
jne 0x14001d540
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x14001db14
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jb 0x14001d54f
jmp 0x14001d560
cmp rsi, r8
jb 0x14001db2e
cmp r15d, 2
mov r12, qword [rbp + 0x410]
mov rcx, qword [rbp + 0x400]
jbe 0x14001d6c6
movzx eax, word [rbx + 2]
cmp eax, 0x3a
jne 0x14001d6cd
cmp word [rbx + 4], 0x5c
jne 0x14001d6cd
lea r15, str._s
mov r14d, 4
jmp 0x14001d706
call sub.KERNEL32.dll_GetLastError
mov r13d, eax
cmp qword [rbp + 0x418], 0
je 0x14001d693
mov rcx, qword [rbp + 0x420]
mov edx, 2
call fcn.140005440
shl r13, 0x20
or r13, 2
cmp qword [rbp + 0x430], 0
mov r12, qword [rbp + 0x410]
je 0x14001d9be
mov rcx, qword [rbp + 0x438]
mov edx, 2
call fcn.140005440
jmp 0x14001d9be
jne 0x14001d6fd
movzx edx, word [rbx]
jmp 0x14001d6d6
movzx edx, word [rbx]
cmp r15d, 3
jne 0x14001d748
cmp dx, 0x5c
jne 0x14001d6fd
movzx eax, word [rbx + 2]
cmp ax, 0x5c
jne 0x14001d6fd
add r8, 0xfffffffffffffffe
add rbx, 4
lea r15, [0x140078e78]
mov r14d, 8
jmp 0x14001d706
mov r15d, 2
xor r14d, r14d
lea rsi, [r8 + r14]
inc rsi
mov rdx, qword [rbp + 0x430]
cmp rdx, rsi
jae 0x14001d73d
lea rax, [rsi + rsi]
mov rdi, r8
test rdx, rdx
je 0x14001d78c
add rdx, rdx
mov qword [rbp + 0x3e0], rcx
mov qword [rbp + 0x3f0], rdx
mov ecx, 2
jmp 0x14001d78e
mov rdi, r8
push rdx
nop
pop rsi
jmp 0x14001d7d2
mov r15d, 2
cmp dx, 0x5c
jne 0x14001d703
cmp eax, 0x3f
je 0x14001d703
cmp eax, 0x5c
jne 0x14001d6e0
movzx eax, word [rbx + 4]
cmp eax, 0x3f
je 0x14001db04
cmp eax, 0x2e
jne 0x14001d6e6
cmp word [rbx + 6], 0x5c
jne 0x14001d6e6
add r8, 0xfffffffffffffffc
add rbx, 8
jmp 0x14001d65e
sub ecx, ecx
mov qword [rbp + 0x3e8], rcx
lea rcx, [rbp + 0x3c8]
lea r9, [rbp + 0x3e0]
mov edx, 2
mov r8, rax
call fcn.14001d1f0
cmp dword [rbp + 0x3c8], 1
je 0x14001db45
mov rcx, qword [rbp + 0x3d0]
mov qword [rbp + 0x438], rcx
mov qword [rbp + 0x430], rsi
lea r8d, [r14 + r14]
mov rdx, r15
call sub.msvcrt.dll_memcpy
mov qword [rbp + 0x440], r14
push rsi
nop
pop rax
sub rax, r14
cmp rax, rdi
jae 0x14001d825
mov qword [rsp + 0x20], 2
lea rcx, [rbp + 0x430]
mov r9d, 2
mov rdx, r14
mov r15, rdi
mov r8, rdi
call fcn.14001d110
mov rsi, qword [rbp + 0x430]
mov r14, qword [rbp + 0x440]
mov rdi, r15
lea r8, [rdi + rdi]
mov r13, qword [rbp + 0x438]
lea rcx, [r14*2]
add rcx, r13
push rbx
pop rdx
nop
call sub.msvcrt.dll_memcpy
add r14, rdi
mov qword [rbp + 0x440], r14
cmp r14, rsi
jne 0x14001d865
lea rcx, [rbp + 0x430]
call fcn.14003a020
mov r13, qword [rbp + 0x438]
mov word [r13 + r14*2], 0
cmp qword [rbp + 0x418], 0
mov rsi, qword [rbp + 0x3f8]
je 0x14001d88f
mov rcx, qword [rbp + 0x420]
mov edx, 2
call fcn.140005440
mov r15, qword [rbp + 0x430]
cmp r15, rsi
je 0x14001d9be
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
mov rcx, r13
mov edx, 0x80000000
mov r8d, 7
sub r9d, r9d
call sub.KERNEL32.dll_CreateFileW
mov rsi, rax
nop
push rax
pop rbx
cmp rax, 0xffffffffffffffff
jne 0x14001d8e9
call sub.KERNEL32.dll_GetLastError
mov ebx, eax
shl rbx, 0x20
or rbx, 2
test r15, r15
je 0x14001d8fb
mov edx, 2
mov rcx, r13
call fcn.140005440
cmp rsi, 0xffffffffffffffff
je 0x14001d9bb
xorps xmm0, xmm0
movaps xmmword [rbp - 0x20], xmm0
movaps xmmword [rbp - 0x30], xmm0
movaps xmmword [rbp - 0x40], xmm0
mov dword [rbp - 0x10], 0
lea rdx, [rbp - 0x40]
push rbx
nop
pop rcx
call sub.KERNEL32.dll_GetFileInformationByHandle
or eax, eax
je 0x14001da1e
test byte [rbp - 0x3f], 4
je 0x14001d962
mov qword [rbp + 0x3e0], 0
lea r8, [rbp + 0x3e0]
push rbx
pop rcx
nop
mov edx, 9
mov r9d, 8
call sub.KERNEL32.dll_GetFileInformationByHandleEx
test eax, eax
je 0x14001da1e
mov r15d, dword [rbp - 0x20]
mov r14d, dword [rbp - 0x1c]
or rbx, rbx
je 0x14001da46
mov qword [rbp - 0x40], 0
call sub.KERNEL32.dll_GetCurrentProcess
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r9, [rbp - 0x40]
push rax
pop rcx
nop
nop
push rbx
pop rdx
mov r8, rax
call sub.KERNEL32.dll_DuplicateHandle
test eax, eax
je 0x14001dace
mov rsi, qword [rbp - 0x40]
jmp 0x14001da48
mov r13, rbx
mov eax, r13d
and eax, 3
cmp eax, 1
jne 0x14001da02
lea rbx, [r13 - 1]
mov r14, qword [r13 - 1]
mov rdi, qword [r13 + 7]
mov rax, qword [rdi]
or rax, rax
je 0x14001d9e2
mov rcx, r14
call rax
cmp qword [rdi + 8], 0
je 0x14001d9f5
mov rdx, qword [rdi + 0x10]
mov rcx, r14
call fcn.140005440
mov edx, 8
mov rcx, rbx
call fcn.140005440
mov qword [r12], 0
add rsp, 0x4c8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call sub.KERNEL32.dll_GetLastError
mov qword [r12], 0
push rbx
pop rcx
nop
add rsp, 0x4c8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
jmp sub.KERNEL32.dll_CloseHandle
sub esi, esi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov rcx, rsi
sub edx, edx
mov r8d, 2
xor r9d, r9d
call sub.KERNEL32.dll_CreateFileMappingA
or rax, rax
je 0x14001dabc
mov rdi, rax
shl r15, 0x20
or r15, r14
mov qword [rsp + 0x20], r15
push rax
nop
pop rcx
mov edx, 4
xor r8d, r8d
sub r9d, r9d
call sub.KERNEL32.dll_MapViewOfFile
mov r14, rax
push rdi
nop
pop rcx
call sub.KERNEL32.dll_CloseHandle
or r14, r14
je 0x14001dabc
mov qword [r12 + 8], rsi
mov qword [r12 + 0x10], r14
mov qword [r12 + 0x18], r15
mov qword [r12], 1
jmp 0x14001dadb
mov qword [r12], 0
mov rcx, rsi
call sub.KERNEL32.dll_CloseHandle
jmp 0x14001dadb
call sub.KERNEL32.dll_GetLastError
mov qword [r12], 0
mov rcx, rbx
call sub.KERNEL32.dll_CloseHandle
jmp 0x14001da0a
movzx eax, word [r13]
cmp eax, 0x2f
je 0x14001d4b3
cmp eax, 0x5c
je 0x14001d4b3
jmp 0x14001d89f
cmp word [rbx + 6], 0x5c
jne 0x14001d6e6
jmp 0x14001d703
lea rcx, str.internal_error:_entered_unreachable_code_home_m0hx_.cargo_registry_src_index.crates.io_6f17d22bba15001f_rayon_core_1.12.1_src_job.rs
lea r8, str.std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov edx, 0x28
call fcn.1400070b0
jmp 0x14001db58
lea rax, str.std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov rcx, r8
push rsi
pop rdx
nop
mov r8, rax
call fcn.140006bf0
jmp 0x14001db58
mov rcx, qword [rbp + 0x3d0]
mov rdx, qword [rbp + 0x3d8]
call fcn.1400057b0
ud2