Function at 0x14001bfd0
Capabilities:
Read file via mapping

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x4c8
mov rdi, rcx
movabs rsi, 0x8000000000000000
lea rcx, [rsp + 0xc0]
call fcn.140019380
mov r15, qword [rsp + 0xc0]
mov rbx, qword [rsp + 0xc8]
cmp r15, rsi
jne 0x14001c035
push rbx
pop rcx
nop
call fcn.140016e00
mov qword [rdi], 0
add rsp, 0x4c8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rax
cmp rax, 3
jbe 0x14001c08a
movabs rcx, 0x5c003f003f005c
lea rdx, [rcx + 0x1d0000]
cmp rdx, qword [rbx]
je 0x14001c4ec
cmp rcx, qword [rbx]
je 0x14001c4ec
cmp rax, 0xf8
jae 0x14001c0fa
cmp word [rbx + 2], 0x3a
jne 0x14001c0d3
movzx eax, word [rbx + 4]
jmp 0x14001c0b1
je 0x14001c09d
cmp rax, 1
jne 0x14001c0d1
cmp word [rbx], 0
jne 0x14001c0fa
jmp 0x14001c4ec
cmp word [rbx + 2], 0x3a
jne 0x14001c0d3
movzx eax, word [rbx + 4]
test ax, ax
je 0x14001c722
cmp ax, 0x2f
je 0x14001c0bf
movzx eax, ax
cmp eax, 0x5c
jne 0x14001c0d3
movzx eax, word [rbx]
cmp eax, 0x2f
je 0x14001c0d6
cmp eax, 0x5c
je 0x14001c0d6
jmp 0x14001c4ec
jbe 0x14001c0fa
movzx eax, word [rbx]
cmp ax, 0x5c
je 0x14001c0e4
movzx eax, ax
cmp eax, 0x2f
jne 0x14001c0fa
movzx eax, word [rbx + 2]
cmp eax, 0x2f
je 0x14001c4ec
cmp eax, 0x5c
je 0x14001c4ec
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x80], 2
mov qword [rsp + 0x88], 0
mov ebp, 0x200
mov eax, 2
mov qword [rsp + 0x68], rax
sub eax, eax
mov qword [rsp + 0x50], rax
mov edi, 0xffffffff
xor r14d, r14d
sub esi, esi
cmp rbp, 0x201
jae 0x14001c190
jmp 0x14001c16f
jae 0x14001c249
cmp rbp, 0x201
jae 0x14001c190
mov ebx, 0x200
lea r12, [rsp + 0xc0]
mov r15, rbp
jmp 0x14001c1e6
sub rbp, rsi
sub r14, rsi
cmp r14, rbp
jae 0x14001c1c2
lea rcx, [rsp + 0x78]
push rsi
nop
pop rdx
mov r8, rbp
call fcn.140019800
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x68], rax
mov r14, qword [rsp + 0x50]
cmp r14, rdi
mov esi, 0xffffffff
cmovb rsi, r14
mov qword [rsp + 0x88], rsi
nop
push rsi
pop rbx
mov r12, qword [rsp + 0x68]
mov r15, rsi
sub ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, qword [rsp + 0x60]
mov edx, r15d
mov r8, r12
sub r9d, r9d
call sub.KERNEL32.dll_GetFullPathNameW
mov r13d, eax
test eax, eax
jne 0x14001c210
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x14001c28b
mov ebp, r13d
cmp r15, rbp
jne 0x14001c160
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x14001c74e
add r15, r15
cmp r15, rdi
cmovae r15, rdi
mov rbp, r15
cmp rbp, 0x201
jb 0x14001c16f
jmp 0x14001c190
cmp rbx, rbp
jb 0x14001c768
mov qword [rsp + 0x48], 0
cmp r13d, 2
mov rdi, qword [rsp + 0x70]
jbe 0x14001c2a4
movzx eax, word [r12 + 2]
cmp eax, 0x3a
jne 0x14001c2ad
cmp word [r12 + 4], 0x5c
jne 0x14001c2ad
lea r13, [0x1400b7238]
mov ebx, 4
jmp 0x14001c327
call sub.KERNEL32.dll_GetLastError
mov ebx, eax
shl rbx, 0x20
or rbx, 2
mov rdi, qword [rsp + 0x70]
jmp 0x14001c496
jne 0x14001c31e
movzx ecx, word [r12]
jmp 0x14001c2f6
movzx ecx, word [r12]
cmp r13d, 3
jbe 0x14001c2f6
lea r13, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destruction_rustc_25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04library_std_src_threadlocal.rs
cmp cx, 0x5c
jne 0x14001c325
cmp eax, 0x3f
je 0x14001c325
cmp eax, 0x5c
jne 0x14001c302
movzx eax, word [r12 + 4]
cmp eax, 0x3f
je 0x14001c73c
cmp eax, 0x2e
jne 0x14001c308
cmp word [r12 + 6], 0x5c
jne 0x14001c308
add rbp, 0xfffffffffffffffc
add r12, 8
jmp 0x14001c27a
cmp cx, 0x5c
jne 0x14001c31e
movzx eax, word [r12 + 2]
cmp ax, 0x5c
jne 0x14001c31e
add rbp, 0xfffffffffffffffe
add r12, 4
lea r13, [0x1400b7240]
mov ebx, 8
jmp 0x14001c327
lea r13, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destruction_rustc_25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04library_std_src_threadlocal.rs
sub ebx, ebx
nop
push rbx
pop rsi
or rsi, 1
add rsi, rbp
mov rax, qword [rsp + 0x58]
cmp rax, rsi
jae 0x14001c3b6
lea r8, [rsi + rsi]
or rax, rax
je 0x14001c36a
add rax, rax
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x90], rcx
mov qword [rsp + 0x98], 2
mov qword [rsp + 0xa0], rax
jmp 0x14001c376
mov qword [rsp + 0x98], 0
lea rcx, [rsp + 0xa8]
lea r9, [rsp + 0x90]
mov edx, 2
call fcn.140019770
cmp qword [rsp + 0xa8], 0
mov rcx, qword [rsp + 0xb0]
je 0x14001c3dd
movabs rax, 0x8000000000000001
cmp rcx, rax
jne 0x14001c77c
cmp qword [rsp + 0x58], rbx
jae 0x14001c3f8
lea rcx, [rsp + 0x38]
sub edx, edx
mov r8, rbx
call fcn.140019800
mov rsi, qword [rsp + 0x48]
mov r15, qword [rsp + 0x38]
mov rax, qword [rsp + 0x40]
jmp 0x14001c404
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x58], rsi
cmp qword [rsp + 0x58], rbx
jb 0x14001c3bd
sub esi, esi
mov rax, qword [rsp + 0x60]
mov r15, qword [rsp + 0x58]
lea r8, [rbx + rbx]
mov r14, rax
lea rcx, [rax + rsi*2]
mov rdx, r13
call sub.msvcrt.dll_memcpy
add rsi, rbx
mov qword [rsp + 0x48], rsi
mov rax, r15
sub rax, rsi
cmp rax, rbp
jae 0x14001c44b
lea rcx, [rsp + 0x38]
push rsi
nop
pop rdx
mov r8, rbp
call fcn.140019800
mov rsi, qword [rsp + 0x48]
mov r15, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
jmp 0x14001c44e
mov rbx, r14
lea r8, [rbp*2]
lea rcx, [rbx + rsi*2]
mov rdx, r12
call sub.msvcrt.dll_memcpy
add rsi, rbp
mov qword [rsp + 0x48], rsi
cmp rsi, r15
jne 0x14001c486
lea rcx, [rsp + 0x38]
mov rdx, r15
call fcn.1400196b0
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov word [rbx + rsi*2], 0
inc rsi
mov qword [rsp + 0x48], rsi
sub ebx, ebx
cmp qword [rsp + 0x50], 0
movabs rsi, 0x8000000000000000
je 0x14001c4b7
mov edx, 2
mov rcx, qword [rsp + 0x68]
call fcn.140002e00
mov r15, qword [rsp + 0x38]
or rbx, rbx
je 0x14001c4de
or r15, r15
je 0x14001c012
mov rcx, qword [rsp + 0x40]
mov edx, 2
call fcn.140002e00
jmp 0x14001c012
mov rbx, qword [rsp + 0x40]
cmp r15, rsi
je 0x14001c012
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
mov rcx, rbx
mov edx, 0x80000000
mov r8d, 7
xor r9d, r9d
call sub.KERNEL32.dll_CreateFileW
mov rsi, rax
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x14001c537
call sub.KERNEL32.dll_GetLastError
mov r14d, eax
shl r14, 0x20
or r14, 2
test r15, r15
je 0x14001c549
mov edx, 2
nop
push rbx
pop rcx
call fcn.140002e00
cmp rsi, 0xffffffffffffffff
je 0x14001c632
xorps xmm0, xmm0
movaps xmmword [rsp + 0xe0], xmm0
movaps xmmword [rsp + 0xd0], xmm0
movaps xmmword [rsp + 0xc0], xmm0
mov dword [rsp + 0xf0], 0
lea rdx, [rsp + 0xc0]
mov rcx, r14
call sub.KERNEL32.dll_GetFileInformationByHandle
or eax, eax
je 0x14001c63a
test byte [rsp + 0xc1], 4
je 0x14001c5c6
mov qword [rsp + 0x90], 0
lea r8, [rsp + 0x90]
mov rcx, r14
mov edx, 9
mov r9d, 8
call sub.KERNEL32.dll_GetFileInformationByHandleEx
test eax, eax
je 0x14001c63a
mov r15d, dword [rsp + 0xe0]
mov ebx, dword [rsp + 0xe4]
or r14, r14
je 0x14001c671
mov qword [rsp + 0xc0], 0
call sub.KERNEL32.dll_GetCurrentProcess
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0xc0]
mov rcx, rax
mov rdx, r14
mov r8, rax
call sub.KERNEL32.dll_DuplicateHandle
test eax, eax
je 0x14001c6fc
mov r12, rdi
mov rsi, qword [rsp + 0xc0]
jmp 0x14001c676
mov rbx, r14
jmp 0x14001c012
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
push rax
pop rcx
nop
call fcn.140016e00
mov qword [rdi], 0
mov rcx, r14
add rsp, 0x4c8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp sub.KERNEL32.dll_CloseHandle
mov r12, rdi
xor esi, esi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
push rsi
pop rcx
nop
sub edx, edx
mov r8d, 2
xor r9d, r9d
call sub.KERNEL32.dll_CreateFileMappingA
test rax, rax
je 0x14001c6ea
push rax
nop
pop rdi
shl r15, 0x20
or r15, rbx
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 rbx, rax
push rdi
pop rcx
nop
call sub.KERNEL32.dll_CloseHandle
or rbx, rbx
je 0x14001c6ea
mov qword [r12 + 8], rsi
mov qword [r12 + 0x10], rbx
mov qword [r12 + 0x18], r15
mov qword [r12], 1
jmp 0x14001c715
mov qword [r12], 0
mov rcx, rsi
call sub.KERNEL32.dll_CloseHandle
jmp 0x14001c715
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
lea rcx, [rax + 2]
call fcn.140016e00
mov qword [rdi], 0
mov rcx, r14
call sub.KERNEL32.dll_CloseHandle
jmp 0x14001c021
movzx eax, word [rbx]
cmp eax, 0x2f
je 0x14001c0d3
cmp eax, 0x5c
je 0x14001c0d3
jmp 0x14001c4ec
cmp word [r12 + 6], 0x5c
jne 0x14001c308
jmp 0x14001c325
lea rcx, str.internal_error:_entered_unreachable_code_home_torcrypt_.cargo_registry_src_index.crates.io_6f17d22bba15001f_rayon_core_1.12.1_src_job.rs
lea r8, str.library_std_src_syspalwindowsmod.rs
mov edx, 0x28
call fcn.140004c80
jmp 0x14001c795
lea r8, str.library_std_src_syspalwindowsmod.rs
nop
push rbp
pop rcx
nop
push rbx
pop rdx
call fcn.1400048e0
jmp 0x14001c795
test rcx, rcx
jne 0x14001c788
call fcn.1400032a0
jmp 0x14001c795
mov rdx, qword [rsp + 0xb8]
call fcn.1400032e0
ud2