Function at 0x14001a9e0
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 r12, rcx
movabs rsi, 0x8000000000000000
lea rcx, [rsp + 0xc0]
call fcn.140018160
mov r14, qword [rsp + 0xc0]
mov rdi, qword [rsp + 0xc8]
cmp r14, rsi
jne 0x14001aa46
mov rcx, rdi
call fcn.140015b70
mov qword [r12], 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], r14
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rax
cmp rax, 3
jbe 0x14001aa9f
movabs rcx, 0x5c003f003f005c
lea rdx, [rcx + 0x1d0000]
cmp rdx, qword [rdi]
je 0x14001af06
cmp rcx, qword [rdi]
je 0x14001af06
cmp rax, 0xf8
jae 0x14001ab20
cmp word [rdi + 2], 0x3a
jne 0x14001aaf9
movzx eax, word [rdi + 4]
jmp 0x14001aac8
je 0x14001aab8
cmp rax, 2
je 0x14001aaf9
cmp rax, 1
jne 0x14001ab20
cmp word [rdi], 0
jne 0x14001ab20
jmp 0x14001af06
cmp word [rdi + 2], 0x3a
jne 0x14001aaf9
movzx eax, word [rdi + 4]
test ax, ax
je 0x14001aae8
cmp ax, 0x2f
je 0x14001aad6
movzx eax, ax
cmp eax, 0x5c
jne 0x14001aaf9
movzx eax, word [rdi]
cmp eax, 0x2f
je 0x14001aafc
cmp eax, 0x5c
je 0x14001aafc
jmp 0x14001af06
movzx eax, word [rdi]
cmp eax, 0x2f
je 0x14001aaf9
cmp eax, 0x5c
jne 0x14001af06
movzx eax, word [rdi]
cmp ax, 0x5c
je 0x14001ab0a
movzx eax, ax
cmp eax, 0x2f
jne 0x14001ab20
movzx eax, word [rdi + 2]
cmp eax, 0x2f
je 0x14001af06
cmp eax, 0x5c
je 0x14001af06
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0xa0], r12
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 2
mov qword [rsp + 0x80], 0
mov r13d, 0x200
mov eax, 2
mov qword [rsp + 0x58], rax
xor eax, eax
mov qword [rsp + 0x50], rax
mov edi, 0xffffffff
xor ebx, ebx
xor ebp, ebp
cmp r13, 0x201
jae 0x14001abb0
jmp 0x14001ab8f
jae 0x14001ac74
cmp r13, 0x201
jae 0x14001abb0
mov esi, 0x200
lea r15, [rsp + 0xc0]
mov r14, r13
jmp 0x14001ac03
sub r13, rbp
sub rbx, rbp
cmp rbx, r13
jae 0x14001abdf
lea rcx, [rsp + 0x70]
mov rdx, rbp
mov r8, r13
call fcn.1400185e0
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x58], rax
mov rbx, qword [rsp + 0x50]
cmp rbx, rdi
mov ebp, 0xffffffff
cmovb rbp, rbx
mov qword [rsp + 0x80], rbp
mov rsi, rbp
mov r15, qword [rsp + 0x58]
mov r14, rbp
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, qword [rsp + 0x68]
mov edx, r14d
mov r8, r15
xor r9d, r9d
call sub.KERNEL32.dll_GetFullPathNameW
mov r12d, eax
test eax, eax
jne 0x14001ac31
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x14001acbe
mov r13d, r12d
cmp r14, r13
jne 0x14001ab80
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x14001b149
add r14, r14
mov eax, 0xffffffff
cmp r14, rax
mov edi, 0xffffffff
cmovae r14, rax
mov r13, r14
cmp r13, 0x201
jb 0x14001ab8f
jmp 0x14001abb0
cmp rsi, r13
jb 0x14001b163
mov qword [rsp + 0x48], 0
cmp r12d, 2
mov rdi, qword [rsp + 0x68]
movabs rbx, 0x8000000000000000
jbe 0x14001acdc
movzx eax, word [r15 + 2]
cmp eax, 0x3a
jne 0x14001ace4
cmp word [r15 + 4], 0x5c
jne 0x14001ace4
mov esi, 4
lea r14, [0x14004eb38]
jmp 0x14001ad5a
call sub.KERNEL32.dll_GetLastError
mov edi, eax
shl rdi, 0x20
or rdi, 2
movabs rbx, 0x8000000000000000
jmp 0x14001aeb2
jne 0x14001ad51
movzx ecx, word [r15]
jmp 0x14001ad2a
movzx ecx, word [r15]
cmp r12d, 3
jbe 0x14001ad2a
lea r14, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destruction_rustc_07dca489ac2d933c78d3c5158e3f43beefeb02celibrary_std_src_threadlocal.rs
cmp cx, 0x5c
jne 0x14001ad58
cmp eax, 0x3f
je 0x14001ad58
cmp eax, 0x5c
jne 0x14001ad35
movzx eax, word [r15 + 4]
cmp eax, 0x3f
je 0x14001b138
cmp eax, 0x2e
jne 0x14001ad3b
cmp word [r15 + 6], 0x5c
jne 0x14001ad3b
add r13, 0xfffffffffffffffc
add r15, 8
jmp 0x14001acad
cmp cx, 0x5c
jne 0x14001ad51
movzx eax, word [r15 + 2]
cmp ax, 0x5c
jne 0x14001ad51
add r13, 0xfffffffffffffffe
add r15, 4
mov esi, 8
lea r14, [0x14004eb40]
jmp 0x14001ad5a
lea r14, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destruction_rustc_07dca489ac2d933c78d3c5158e3f43beefeb02celibrary_std_src_threadlocal.rs
xor esi, esi
lea rbp, [rsi + r13]
inc rbp
mov rax, qword [rsp + 0x60]
cmp rax, rbp
jae 0x14001adea
lea r8, [rbp*2]
test rax, rax
je 0x14001ad99
add rax, rax
mov qword [rsp + 0x88], rdi
mov qword [rsp + 0x90], 2
mov qword [rsp + 0x98], rax
jmp 0x14001ada5
mov qword [rsp + 0x90], 0
lea rcx, [rsp + 0xa8]
lea r9, [rsp + 0x88]
mov edx, 2
call fcn.140018550
cmp qword [rsp + 0xa8], 0
mov rcx, qword [rsp + 0xb0]
je 0x14001ae17
movabs rax, 0x8000000000000001
cmp rcx, rax
mov rax, qword [rsp + 0x60]
jne 0x14001b177
cmp rax, rsi
jae 0x14001ae0f
lea rcx, [rsp + 0x38]
xor edx, edx
mov r8, rsi
call fcn.1400185e0
mov r12, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
jmp 0x14001ae27
xor r12d, r12d
mov rbp, rax
jmp 0x14001ae27
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rbp
xor r12d, r12d
mov rdi, rcx
lea r8, [rsi + rsi]
lea rcx, [rdi + r12*2]
mov rdx, r14
call sub.msvcrt.dll_memcpy
add r12, rsi
mov qword [rsp + 0x48], r12
mov rax, rbp
sub rax, r12
cmp rax, r13
jae 0x14001ae69
lea rcx, [rsp + 0x38]
mov rdx, r12
mov r8, r13
call fcn.1400185e0
mov r12, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
lea r8, [r13*2]
lea rcx, [rdi + r12*2]
mov rdx, r15
call sub.msvcrt.dll_memcpy
add r12, r13
mov qword [rsp + 0x48], r12
cmp r12, rbp
jne 0x14001aea1
lea rcx, [rsp + 0x38]
mov rdx, rbp
call fcn.140018490
mov rdi, qword [rsp + 0x40]
mov r12, qword [rsp + 0x48]
mov word [rdi + r12*2], 0
inc r12
mov qword [rsp + 0x48], r12
xor edi, edi
cmp qword [rsp + 0x50], 0
mov r12, qword [rsp + 0xa0]
je 0x14001aed1
mov edx, 2
mov rcx, qword [rsp + 0x58]
call fcn.140002230
mov r14, qword [rsp + 0x38]
test rdi, rdi
je 0x14001aef8
test r14, r14
je 0x14001aa22
mov rcx, qword [rsp + 0x40]
mov edx, 2
call fcn.140002230
jmp 0x14001aa22
mov rdi, qword [rsp + 0x40]
cmp r14, rbx
je 0x14001aa22
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
mov rsi, rax
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14001af50
call sub.KERNEL32.dll_GetLastError
mov ebx, eax
shl rbx, 0x20
or rbx, 2
test r14, r14
je 0x14001af62
mov edx, 2
mov rcx, rdi
call fcn.140002230
cmp rsi, 0xffffffffffffffff
je 0x14001b049
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, rbx
call sub.KERNEL32.dll_GetFileInformationByHandle
test eax, eax
je 0x14001b051
test byte [rsp + 0xc1], 4
je 0x14001afdf
mov qword [rsp + 0x88], 0
lea r8, [rsp + 0x88]
mov rcx, rbx
mov edx, 9
mov r9d, 8
call sub.KERNEL32.dll_GetFileInformationByHandleEx
test eax, eax
je 0x14001b051
mov r15d, dword [rsp + 0xe0]
mov r14d, dword [rsp + 0xe4]
test rbx, rbx
je 0x14001b089
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, rbx
mov r8, rax
call sub.KERNEL32.dll_DuplicateHandle
test eax, eax
je 0x14001b111
mov rsi, qword [rsp + 0xc0]
jmp 0x14001b08b
mov rdi, rbx
jmp 0x14001aa22
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov rcx, rax
call fcn.140015b70
mov qword [r12], 0
mov rcx, rbx
add rsp, 0x4c8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp sub.KERNEL32.dll_CloseHandle
xor esi, esi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov rcx, rsi
xor edx, edx
mov r8d, 2
xor r9d, r9d
call sub.KERNEL32.dll_CreateFileMappingA
test rax, rax
je 0x14001b0ff
mov rdi, 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, rdi
call sub.KERNEL32.dll_CloseHandle
test r14, r14
je 0x14001b0ff
mov qword [r12 + 8], rsi
mov qword [r12 + 0x10], r14
mov qword [r12 + 0x18], r15
mov qword [r12], 1
jmp 0x14001b12b
mov qword [r12], 0
mov rcx, rsi
call sub.KERNEL32.dll_CloseHandle
jmp 0x14001b12b
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
lea rcx, [rax + 2]
call fcn.140015b70
mov qword [r12], 0
mov rcx, rbx
call sub.KERNEL32.dll_CloseHandle
jmp 0x14001aa32
cmp word [r15 + 6], 0x5c
jne 0x14001ad3b
jmp 0x14001ad58
lea rcx, str.internal_error:_entered_unreachable_code_home_kali_.cargo_registry_src_index.crates.io_6f17d22bba15001f_rayon_core_1.12.1_src_job.rs
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.140003ff0
jmp 0x14001b190
lea r8, str.library_std_src_syswindowsmod.rs
mov rcx, r13
mov rdx, rsi
call fcn.140003c50
jmp 0x14001b190
test rcx, rcx
jne 0x14001b183
call fcn.140002720
jmp 0x14001b190
mov rdx, qword [rsp + 0xb8]
call fcn.140002760
ud2