Function at 0x1400235c0
Capabilities:
Read file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xb8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x30], 0xfffffffffffffffe
mov esi, 3
cmp qword [rcx + 0x30], 0
jne 0x14002377d
mov r12, rcx
lea rdi, [rcx + 0x10]
mov rax, qword [rcx + 0x18]
mov rbx, qword [rcx + 0x20]
cmp rbx, rax
je 0x14002384f
mov qword [r12 + 0x20], rax
mov r13, qword [r12 + 0x28]
mov qword [r12 + 0x28], 0xffffffffffffffff
mov qword [rbp - 0x28], r13
xor ecx, ecx
mov edx, 1
xor r8d, r8d
xor r9d, r9d
call sub.kernel32.dll_CreateEventA
mov r14, rax
movzx eax, byte [0x140095b69]
mov ecx, 0x20
mov edx, 8
call fcn.14001bd70
test rax, rax
je 0x14002393f
mov r15, rax
lea rax, [r12 + 0x18]
xorps xmm0, xmm0
movups xmmword [r15], xmm0
mov qword [r15 + 0x10], 0
mov qword [r15 + 0x18], r14
mov rcx, qword [rdi + 0x10]
mov qword [rbp - 0x30], rcx
movups xmm1, xmmword [rdi]
movaps xmmword [rbp - 0x40], xmm1
mov qword [r12 + 0x10], 1
movups xmmword [rax], xmm0
cmp qword [r12 + 0x30], 0
je 0x14002372e
mov qword [rbp + 0x20], r13
mov qword [rbp + 0x18], r12
mov qword [rbp + 0x28], r15
lea rax, str.Trying_to_drop_an_AliasedCell__which_may_still_have_aliases_outstanding._n
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 0x48
mov rax, qword [str._b__t_]
mov rax, qword [rax]
shl rax, 1
test rax, rax
je 0x1400238ef
call fcn.14006c260
test al, al
jne 0x1400238ef
lea rax, [rbp - 0x50]
mov qword [rbp + 8], rax
lea rax, [0x1400283e0]
mov qword [rbp + 0x10], rax
lea rax, str.__expected_invalid_length
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], 2
mov qword [rbp - 8], 0
lea rax, [rbp + 8]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], 1
lea rcx, [rbp - 0x28]
call fcn.14003f380
mov r15, qword [rbp + 0x28]
mov r12, qword [rbp + 0x18]
mov r13, qword [rbp + 0x20]
mov qword [r12 + 0x30], r15
movaps xmm0, xmmword [rbp - 0x40]
movups xmmword [r12 + 0x38], xmm0
mov rax, qword [rbp - 0x30]
mov qword [r12 + 0x48], rax
mov qword [r12 + 0x50], r13
mov r8, qword [r12 + 0x48]
cmp r8, rbx
jb 0x140023954
sub r8d, ebx
mov rdx, qword [r12 + 0x38]
add rdx, rbx
mov qword [rsp + 0x20], r15
mov rcx, r13
xor r9d, r9d
call sub.kernel32.dll_ReadFile
mov qword [r12 + 0x48], rbx
test eax, eax
je 0x140023795
mov eax, esi
mov edx, ebx
add rsp, 0xb8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea r14, [r12 + 0x38]
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp eax, 0x6d
je 0x140023807
cmp ebx, 0x3e5
je 0x14002377d
mov qword [r12 + 0x30], 0
mov rax, qword [r14 + 0x10]
mov qword [rdi + 0x10], rax
movups xmm0, xmmword [r14]
movups xmmword [rdi], xmm0
mov qword [r12 + 0x28], r13
mov rcx, qword [r15 + 0x18]
xor esi, esi
lea rax, [rcx + 1]
cmp rax, 2
jb 0x140023837
mov qword [rbp + 0x28], r15
call sub.kernel32.dll_CloseHandle
mov edi, eax
mov rax, qword [str._b__t_]
mov rax, qword [rax]
shl rax, 1
test rax, rax
je 0x1400238bf
call fcn.14006c260
jmp 0x1400238c1
mov qword [r12 + 0x30], 0
mov rax, qword [r14 + 0x10]
mov qword [rdi + 0x10], rax
movups xmm0, xmmword [r14]
movups xmmword [rdi], xmm0
mov qword [r12 + 0x28], r13
mov rcx, qword [r15 + 0x18]
mov esi, 1
lea rax, [rcx + 1]
cmp rax, 2
jae 0x14002386f
mov edx, 0x20
mov r8d, 8
mov rcx, r15
call fcn.14001bd80
jmp 0x14002377d
mov r8d, 0x11000
mov rcx, rdi
mov rdx, rbx
call fcn.14006baa0
mov rax, qword [r12 + 0x18]
mov rbx, qword [r12 + 0x20]
jmp 0x14002360b
mov qword [rbp + 0x28], r15
call sub.kernel32.dll_CloseHandle
mov edi, eax
mov rax, qword [str._b__t_]
mov rax, qword [rax]
shl rax, 1
test rax, rax
je 0x140023894
call fcn.14006c260
jmp 0x140023896
mov al, 1
test edi, edi
mov r15, qword [rbp + 0x28]
jne 0x140023837
test al, al
je 0x140023837
lea rcx, str.assertion_failed:_thread::panicking____result___0
lea r8, str.C:.cargogitcheckoutsipc_channel_d656249bab9cff10d02abb5_srcplatformwindowsmod.rsFailed_to_deserialize_OOB_data
mov edx, 0x34
call fcn.14006cbe0
jmp 0x140023952
mov al, 1
test edi, edi
mov r15, qword [rbp + 0x28]
jne 0x140023837
test al, al
je 0x140023837
lea rcx, str.assertion_failed:_thread::panicking____result___0
lea r8, str.C:.cargogitcheckoutsipc_channel_d656249bab9cff10d02abb5_srcplatformwindowsmod.rsFailed_to_deserialize_OOB_data
mov edx, 0x34
call fcn.14006cbe0
jmp 0x140023952
lea rax, [rbp - 0x50]
mov qword [rbp + 8], rax
lea rax, [0x1400283e0]
mov qword [rbp + 0x10], rax
lea rax, str.__expected_invalid_length
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], 1
mov qword [rbp - 8], 0
lea rax, [rbp + 8]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], 1
lea rdx, str.C:.cargogitcheckoutsipc_channel_d656249bab9cff10d02abb5_srcplatformwindows_aliased_cell.rs
lea rcx, [rbp - 0x28]
call fcn.14006cb40
jmp 0x140023952
mov qword [rbp + 0x28], r14
mov ecx, 8
mov edx, 0x20
call fcn.14006ca40
ud2
lea rax, str.C:.cargogitcheckoutsipc_channel_d656249bab9cff10d02abb5_srcplatformwindowsmod.rsFailed_to_deserialize_OOB_data
mov rcx, rbx
mov rdx, r8
mov r8, rax
call fcn.14006d020
ud2