Function at 0x14001c250
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.140019600
mov r15, qword [rsp + 0xc0]
mov rbx, qword [rsp + 0xc8]
cmp r15, rsi
jne 0x14001c2b5
mov rcx, rbx
call fcn.140017080
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 0x14001c30a
movabs rcx, 0x5c003f003f005c
lea rdx, [rcx + 0x1d0000]
cmp rdx, qword [rbx]
je 0x14001c76c
cmp rcx, qword [rbx]
je 0x14001c76c
cmp rax, 0xf8
jae 0x14001c37a
cmp word [rbx + 2], 0x3a
jne 0x14001c353
movzx eax, word [rbx + 4]
jmp 0x14001c331
je 0x14001c31d
cmp rax, 1
jne 0x14001c351
cmp word [rbx], 0
jne 0x14001c37a
jmp 0x14001c76c
cmp word [rbx + 2], 0x3a
jne 0x14001c353
movzx eax, word [rbx + 4]
test ax, ax
je 0x14001c9a2
cmp ax, 0x2f
je 0x14001c33f
movzx eax, ax
cmp eax, 0x5c
jne 0x14001c353
movzx eax, word [rbx]
cmp eax, 0x2f
je 0x14001c356
cmp eax, 0x5c
je 0x14001c356
jmp 0x14001c76c
jbe 0x14001c37a
movzx eax, word [rbx]
cmp ax, 0x5c
je 0x14001c364
movzx eax, ax
cmp eax, 0x2f
jne 0x14001c37a
movzx eax, word [rbx + 2]
cmp eax, 0x2f
je 0x14001c76c
cmp eax, 0x5c
je 0x14001c76c
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
xor esi, esi
cmp rbp, 0x201
jae 0x14001c410
jmp 0x14001c3ef
jae 0x14001c4c9
cmp rbp, 0x201
jae 0x14001c410
mov ebx, 0x200
lea r12, [rsp + 0xc0]
mov r15, rbp
jmp 0x14001c466
sub rbp, rsi
sub r14, rsi
cmp r14, rbp
jae 0x14001c442
lea rcx, [rsp + 0x78]
push rsi
pop rdx
nop
mov r8, rbp
call fcn.140019a80
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
mov rbx, rsi
mov r12, qword [rsp + 0x68]
mov r15, rsi
xor 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
or eax, eax
jne 0x14001c490
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x14001c50b
mov ebp, r13d
cmp r15, rbp
jne 0x14001c3e0
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x14001c9ce
add r15, r15
cmp r15, rdi
cmovae r15, rdi
mov rbp, r15
cmp rbp, 0x201
jb 0x14001c3ef
jmp 0x14001c410
cmp rbx, rbp
jb 0x14001c9e8
mov qword [rsp + 0x48], 0
cmp r13d, 2
mov rdi, qword [rsp + 0x70]
jbe 0x14001c524
movzx eax, word [r12 + 2]
cmp eax, 0x3a
jne 0x14001c52d
cmp word [r12 + 4], 0x5c
jne 0x14001c52d
lea r13, [0x1400b72b8]
mov ebx, 4
jmp 0x14001c5a7
call sub.KERNEL32.dll_GetLastError
mov ebx, eax
shl rbx, 0x20
or rbx, 2
mov rdi, qword [rsp + 0x70]
jmp 0x14001c716
jne 0x14001c59e
movzx ecx, word [r12]
jmp 0x14001c576
movzx ecx, word [r12]
cmp r13d, 3
jbe 0x14001c576
lea r13, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destruction_rustc_25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04library_std_src_threadlocal.rs
cmp cx, 0x5c
jne 0x14001c5a5
cmp eax, 0x3f
je 0x14001c5a5
cmp eax, 0x5c
jne 0x14001c582
movzx eax, word [r12 + 4]
cmp eax, 0x3f
je 0x14001c9bc
cmp eax, 0x2e
jne 0x14001c588
cmp word [r12 + 6], 0x5c
jne 0x14001c588
add rbp, 0xfffffffffffffffc
add r12, 8
jmp 0x14001c4fa
cmp cx, 0x5c
jne 0x14001c59e
movzx eax, word [r12 + 2]
cmp ax, 0x5c
jne 0x14001c59e
add rbp, 0xfffffffffffffffe
add r12, 4
lea r13, [0x1400b72c0]
mov ebx, 8
jmp 0x14001c5a7
lea r13, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destruction_rustc_25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04library_std_src_threadlocal.rs
xor ebx, ebx
push rbx
pop rsi
nop
or rsi, 1
add rsi, rbp
mov rax, qword [rsp + 0x58]
cmp rax, rsi
jae 0x14001c636
lea r8, [rsi + rsi]
or rax, rax
je 0x14001c5ea
add rax, rax
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x90], rcx
mov qword [rsp + 0x98], 2
mov qword [rsp + 0xa0], rax
jmp 0x14001c5f6
mov qword [rsp + 0x98], 0
lea rcx, [rsp + 0xa8]
lea r9, [rsp + 0x90]
mov edx, 2
call fcn.1400199f0
cmp qword [rsp + 0xa8], 0
mov rcx, qword [rsp + 0xb0]
je 0x14001c65d
movabs rax, 0x8000000000000001
cmp rcx, rax
jne 0x14001c9fc
cmp qword [rsp + 0x58], rbx
jae 0x14001c678
lea rcx, [rsp + 0x38]
xor edx, edx
mov r8, rbx
call fcn.140019a80
mov rsi, qword [rsp + 0x48]
mov r15, qword [rsp + 0x38]
mov rax, qword [rsp + 0x40]
jmp 0x14001c684
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 0x14001c63d
xor 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 0x14001c6cb
lea rcx, [rsp + 0x38]
mov rdx, rsi
mov r8, rbp
call fcn.140019a80
mov rsi, qword [rsp + 0x48]
mov r15, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
jmp 0x14001c6ce
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 0x14001c706
lea rcx, [rsp + 0x38]
mov rdx, r15
call fcn.140019930
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 0x14001c737
mov edx, 2
mov rcx, qword [rsp + 0x68]
call fcn.140002f40
mov r15, qword [rsp + 0x38]
or rbx, rbx
je 0x14001c75e
test r15, r15
je 0x14001c292
mov rcx, qword [rsp + 0x40]
mov edx, 2
call fcn.140002f40
jmp 0x14001c292
mov rbx, qword [rsp + 0x40]
cmp r15, rsi
je 0x14001c292
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
mov rcx, rbx
mov edx, 0x80000000
mov r8d, 7
sub r9d, r9d
call sub.KERNEL32.dll_CreateFileW
push rax
nop
pop rsi
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x14001c7b7
call sub.KERNEL32.dll_GetLastError
mov r14d, eax
shl r14, 0x20
or r14, 2
test r15, r15
je 0x14001c7c9
mov edx, 2
push rbx
nop
pop rcx
call fcn.140002f40
cmp rsi, 0xffffffffffffffff
je 0x14001c8b2
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
test eax, eax
je 0x14001c8ba
test byte [rsp + 0xc1], 4
je 0x14001c846
mov qword [rsp + 0x90], 0
lea r8, [rsp + 0x90]
mov rcx, r14
mov edx, 9
mov r9d, 8
call sub.KERNEL32.dll_GetFileInformationByHandleEx
or eax, eax
je 0x14001c8ba
mov r15d, dword [rsp + 0xe0]
mov ebx, dword [rsp + 0xe4]
or r14, r14
je 0x14001c8f1
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]
push rax
pop rcx
nop
mov rdx, r14
mov r8, rax
call sub.KERNEL32.dll_DuplicateHandle
test eax, eax
je 0x14001c97c
mov r12, rdi
mov rsi, qword [rsp + 0xc0]
jmp 0x14001c8f6
mov rbx, r14
jmp 0x14001c292
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
push rax
pop rcx
nop
call fcn.140017080
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
sub esi, esi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
nop
push rsi
pop rcx
sub edx, edx
mov r8d, 2
sub r9d, r9d
call sub.KERNEL32.dll_CreateFileMappingA
or rax, rax
je 0x14001c96a
mov rdi, rax
shl r15, 0x20
or r15, rbx
mov qword [rsp + 0x20], r15
push rax
pop rcx
nop
mov edx, 4
xor r8d, r8d
sub r9d, r9d
call sub.KERNEL32.dll_MapViewOfFile
push rax
pop rbx
nop
push rdi
nop
pop rcx
call sub.KERNEL32.dll_CloseHandle
or rbx, rbx
je 0x14001c96a
mov qword [r12 + 8], rsi
mov qword [r12 + 0x10], rbx
mov qword [r12 + 0x18], r15
mov qword [r12], 1
jmp 0x14001c995
mov qword [r12], 0
push rsi
pop rcx
nop
call sub.KERNEL32.dll_CloseHandle
jmp 0x14001c995
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
lea rcx, [rax + 2]
call fcn.140017080
mov qword [rdi], 0
mov rcx, r14
call sub.KERNEL32.dll_CloseHandle
jmp 0x14001c2a1
movzx eax, word [rbx]
cmp eax, 0x2f
je 0x14001c353
cmp eax, 0x5c
je 0x14001c353
jmp 0x14001c76c
cmp word [r12 + 6], 0x5c
jne 0x14001c588
jmp 0x14001c5a5
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.Mx_v_
mov edx, 0x28
call fcn.140004dc0
jmp 0x14001ca15
lea r8, str.library_std_src_syspalwindowsmod.rs
mov rcx, rbp
push rbx
pop rdx
nop
call fcn.140004a20
jmp 0x14001ca15
test rcx, rcx
jne 0x14001ca08
call fcn.1400033e0
jmp 0x14001ca15
mov rdx, qword [rsp + 0xb8]
call fcn.140003420
ud2