Function at 0x1400445b0
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rdi, rdx
mov rdx, qword [rdx + 8]
mov rsi, qword [rdi + 0x10]
mov r9, rdx
sub r9, rsi
jb 0x1400404ed
mov r8, qword [rdi]
add r8, rsi
mov rdx, qword [rcx]
mov qword [rsp + 0x20], 0
lea rcx, [rsp + 0x30]
call fcn.140040830
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x140040384
mov rdi, qword [rsp + 0x38]
mov eax, edi
and eax, 3
lea rcx, [0x1400b54a8]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
movzx eax, byte [rdi + 0x10]
jmp 0x1400403b2
add rsi, qword [rsp + 0x38]
mov qword [rdi + 0x10], rsi
mov rax, qword [rdi + 0x18]
cmp rax, rsi
cmova rsi, rax
mov qword [rdi + 0x18], rsi
xor esi, esi
jmp 0x1400403cd
movzx eax, byte [rdi + 0xf]
jmp 0x1400403b2
mov rcx, rdi
shr rcx, 0x20
call fcn.14004c8e0
xor esi, esi
cmp al, 0xb
cmovne rsi, rdi
test rbx, rbx
je 0x1400403cd
cmp al, 0xb
jne 0x1400403cd
lea rcx, [rsp + 0x38]
call fcn.140004550
mov rax, rsi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
mov rax, rdi
shr rax, 0x20
cmp eax, 0x28
ja case.default.0x1400403f2
lea rcx, [0x1400b54b8]
movsxd rax, dword [rcx + rax*4]
invalid
add al, 0x81
add rax, rcx
add eax, ecx
invalid
add eax, ecx
jmp rax
xor eax, eax
jmp 0x1400403b2
mov al, 0x29
jmp 0x1400403b2
mov al, 1
jmp 0x1400403b2
mov al, 2
jmp 0x1400403b2
mov al, 3
jmp 0x1400403b2
mov al, 4
jmp 0x1400403b2
mov al, 5
jmp 0x1400403b2
mov al, 6
jmp 0x1400403b2
mov al, 7
jmp 0x1400403b2
mov al, 8
jmp 0x1400403b2
mov al, 9
jmp 0x1400403b2
mov al, 0xa
jmp 0x1400403b2
mov al, 0xb
jmp 0x1400403b2
invalid
mov dh, byte [rax - 0x4f7914f4]
or eax, 0xeb082eb
jmp 0x1400403b2
mov al, 0xe
mov al, 0xc
jmp 0x1400403b2
mov al, 0xd
jmp 0x1400403b2
mov al, 0xe
jmp 0x1400403b2
invalid
mov al, 0xf
jmp 0x1400403b2
invalid
invalid
invalid
mov al, 0x10
jmp 0x1400403b2
invalid
invalid
invalid
mov al, 0x11
jmp 0x1400403b2
invalid
invalid
invalid
mov al, 0x12
jmp 0x1400403b2
invalid
invalid
invalid
mov al, 0x13
jmp 0x1400403b2
invalid
invalid
invalid
mov al, 0x14
jmp 0x1400403b2
invalid
invalid
invalid
mov al, 0x15
jmp 0x1400403b2
invalid
invalid
invalid
mov al, 0x16
jmp 0x1400403b2
invalid
invalid
invalid
mov al, 0x17
jmp 0x1400403b2
invalid
invalid
invalid
mov al, 0x18
jmp 0x1400403b2
invalid
invalid
invalid
mov al, 0x19
jmp 0x1400403b2
invalid
invalid
invalid
mov al, 0x1a
jmp 0x1400403b2
invalid
invalid
invalid
mov al, 0x1b
jmp 0x1400403b2
invalid
invalid
invalid
mov al, 0x1c
jmp 0x1400403b2
invalid
invalid
invalid
mov al, 0x1d
jmp 0x1400403b2
invalid
invalid
invalid
mov al, 0x1e
jmp 0x1400403b2
invalid
invalid
invalid
mov al, 0x1f
jmp 0x1400403b2
invalid
invalid
invalid
mov al, 0x20
jmp 0x1400403b2
invalid
invalid
invalid
mov al, 0x21
jmp 0x1400403b2
invalid
invalid
invalid
mov al, 0x22
jmp 0x1400403b2
invalid
invalid
invalid
mov al, 0x23
jmp 0x1400403b2
invalid
invalid
invalid
mov al, 0x24
jmp 0x1400403b2
invalid
invalid
invalid
mov al, 0x25
jmp 0x1400403b2
invalid
invalid
invalid
mov al, 0x26
jmp 0x1400403b2
mov al, 0x27
jmp 0x1400403b2
mov al, 0x28
jmp 0x1400403b2
lea r8, str._rustc_25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04librarycore_srcio_borrowed_buf.rs_rustc_25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04library_alloc_srccollections_btree_navigate.rs
mov rcx, rsi
call fcn.140088e40
int3
mov r9d, 0x2ceb0017
call sub.ws2_32.dll_WSAGetLastError
mov r15d, eax
shl r15, 0x20
or r15, 2
jmp 0x1400414b5
mov ecx, 0x570f0002
shl byte [rsi - 0x3f], 0xc1
rol ecx, 8
mov word [rsp + 0x40], r9w
rol ecx, 8
mov word [rsp + 0x40], r9w
mov word [rsp + 0x42], cx
mov dword [rsp + 0x44], eax
movups xmmword [rsp + 0x48], xmm0
mov dword [rsp + 0x58], edx
lea rdx, [rsp + 0x40]
mov rcx, rdi
call sub.ws2_32.dll_connect
cmp eax, 0xffffffff
clc
invalid
je 0x1400412e1
clc
push qword [rbp + rax + 0x45]
xor edi, edi
xor r15d, r15d
jmp 0x1400412f1
call sub.ws2_32.dll_WSAGetLastError
mov r15d, eax
invalid
shl r15, 0x20
or r15, 2
invalid
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x40], 0
lea r8, [rsp + 0x40]
mov rcx, rdi
mov edx, 0x8004667e
call sub.ws2_32.dll_ioctlsocket
cmp eax, 0xffffffff
je 0x140041337
test r15, r15
je 0x140041354
mov eax, r15d
and eax, 3
lea rcx, [0x1400b555c]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
movzx eax, byte [r15 + 0x10]
jmp 0x14004136f
call sub.ws2_32.dll_WSAGetLastError
mov esi, eax
shl rsi, 0x20
or rsi, 2
test r15, r15
jne 0x1400414a8
jmp case.0x14004037c.74
xor r15d, r15d
jmp 0x1400414b5
movzx eax, byte [r15 + 0xf]
jmp 0x14004136f
mov rcx, r15
shr rcx, 0x20
call fcn.14004c8e0
cmp al, 0xd
jne 0x1400414b5
test r14, r14
jne 0x1400413b0
test ebx, ebx
jne 0x1400413b0
lea rsi, str.cannot_set_a_0_duration_timeout
jmp 0x1400414a8
mov rax, r15
shr rax, 0x20
cmp eax, 0x28
ja case.default.0x1400413aa
lea rcx, [0x1400b556c]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
xor eax, eax
jmp 0x14004136f
cmp r14, 0x7fffffff
mov eax, 0x7fffffff
cmovb rax, r14
mov ecx, ebx
imul rcx, rcx, 0x10624dd3
shr rcx, 0x26
mov dword [rsp + 0x38], eax
test rax, rax
mov eax, 1
mov edx, ecx
cmove edx, eax
cmp ebx, 0x3e8
cmovae edx, ecx
mov dword [rsp + 0x3c], edx
lea rcx, [rsp + 0x50]
mov r8d, 0x1f8
xor edx, edx
call sub.msvcrt.dll_memset
mov qword [rsp + 0x248], 1
mov qword [rsp + 0x250], rdi
mov dword [rsp + 0x250], edi
mov dword [rsp + 0x250], edi
lea rcx, [rsp + 0x258]
mov r8d, 0x1f8
add byte [rcx - 0x48], al
clc
add dword [rax], eax
add byte [rcx], dh
xor edx, edx
call sub.msvcrt.dll_memset
invalid
invalid
and al, 0x40
add dword [rax], eax
xor edx, edx
call sub.msvcrt.dll_memset
mov qword [rsp + 0x40], 1
add byte [rax], al
mov qword [rsp + 0x48], rdi
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
and al, 0x20
and al, 0x20
lea r8, [rsp + 0x248]
lea r9, [rsp + 0x40]
and al, 0x40
add al, byte [rax]
add byte [rbp + rcx*4 + 0x4c], cl
and al, 0x40
mov ecx, 1
xor edx, edx
call sub.ws2_32.dll_select
test eax, eax
je 0x140041471
cmp eax, 0xffffffff
jne case.0x14004037c.66
call sub.ws2_32.dll_WSAGetLastError
mov esi, eax
shl rsi, 0x20
or rsi, 2
or esi, 2
or esi, 2
jmp 0x1400414a8
lea r15, str.connection_timed_out
cmp eax, 0x79520
jmp 0x140041487
cmp dword [rsp + 0x248], 1
jne 0x140041493
add dword [rbp + 0xf], esi
xor r15d, r15d
lea rcx, [rsp + 0x30]
lea ecx, [rsp + 0x30]
call fcn.140004550
jmp 0x1400414b5
cld
invalid
mov rcx, rsi
call fcn.140041f60
mov rsi, rdx
invalid
test rax, rax
jne 0x1400414a8
invalid
test rsi, rsi
test esi, esi
je 0x140041484
lea rcx, [rsp + 0x30]
and al, 0x30
call fcn.140004550
mov r15, rsi
mov rax, r15
add rsp, 0x450
add esp, 0x450
add esp, 0x450
add byte [rbx + 0x5f], bl
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rdi
pop rdi
ret
mov al, 0x29
jmp 0x14004136f
invalid
invalid
invalid
mov al, 1
jmp 0x14004136f
invalid
invalid
invalid
mov al, 2
jmp 0x14004136f
invalid
invalid
invalid
mov al, 3
jmp 0x14004136f
invalid
invalid
invalid
mov al, 4
jmp 0x14004136f
invalid
invalid
invalid
mov al, 5
jmp 0x14004136f
invalid
invalid
invalid
mov al, 6
jmp 0x14004136f
invalid
invalid
invalid
mov al, 7
jmp 0x14004136f
invalid
invalid
invalid
mov al, 8
jmp 0x14004136f
invalid
invalid
invalid
mov al, 9
jmp 0x14004136f
invalid
invalid
invalid
mov al, 0xa
jmp 0x14004136f
invalid
invalid
invalid
mov al, 0xb
jmp 0x14004136f
invalid
invalid
invalid
mov al, 0xc
jmp 0x14004136f
invalid
invalid
invalid
mov al, 0xd
jmp 0x14004136f
invalid
invalid
invalid
mov al, 0xe
jmp 0x14004136f
invalid
invalid
invalid
mov al, 0xf
jmp 0x14004136f
invalid
invalid
invalid
mov al, 0x10
jmp 0x14004136f
invalid
invalid
invalid
mov al, 0x11
jmp 0x14004136f
invalid
invalid
invalid
mov al, 0x12
jmp 0x14004136f
invalid
invalid
invalid
mov al, 0x13
jmp 0x14004136f
invalid
invalid
invalid
mov al, 0x14
jmp 0x14004136f
invalid
invalid
invalid
mov al, 0x15
jmp 0x14004136f
invalid
invalid
invalid
mov al, 0x16
jmp 0x14004136f
invalid
invalid
invalid
mov al, 0x17
jmp 0x14004136f
invalid
invalid
invalid
mov al, 0x18
jmp 0x14004136f
invalid
invalid
invalid
mov al, 0x19
jmp 0x14004136f
invalid
invalid
invalid
mov al, 0x1a
jmp 0x14004136f
invalid
invalid
invalid
mov al, 0x1b
jmp 0x14004136f
invalid
invalid
invalid
mov al, 0x1c
jmp 0x14004136f
invalid
invalid
invalid
mov al, 0x1d
jmp 0x14004136f
invalid
invalid
invalid
mov al, 0x1e
jmp 0x14004136f
invalid
invalid
invalid
mov al, 0x1f
jmp 0x14004136f
invalid
invalid
invalid
mov al, 0x20
jmp 0x14004136f
invalid
invalid
invalid
mov al, 0x21
jmp 0x14004136f
invalid
invalid
invalid
mov al, 0x22
jmp 0x14004136f
invalid
invalid
invalid
mov al, 0x23
jmp 0x14004136f
invalid
invalid
invalid
mov al, 0x24
jmp 0x14004136f
invalid
invalid
invalid
mov al, 0x25
jmp 0x14004136f
invalid
invalid
invalid
mov al, 0x26
jmp 0x14004136f
mov al, 0x27
jmp 0x14004136f
mov al, 0x28
jmp 0x14004136f
jmp 0x14004453e
ud2
jmp 0x140044572
test bh, 1
je 0x140044570
jmp case.0x14004037c.96
xor esi, esi
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x14004458c
mov r8d, 1
call fcn.140001ac0
add byte [rax], al
add al, ch
xor al, 0xd5
sti
inc dword [rax - 0x7c]
test dh, dh
je case.0x14004037c.96
mov rcx, rdi
test sil, sil
test dh, dh
je case.0x14004037c.96
mov rcx, rdi
call sub.kernel32.dll_CloseHandle
mov ebx, 0x4c000523
mov ecx, esi
mov rcx, r14
call fcn.1400970c0
invalid
int3
nop word cs:[rax + rax]
invalid
add byte [rax], al
add byte [rsi + 0x57], dl
push rsi
push rdi
js 0x140044603
mov eax, eax
mov eax, 0xffffffff
dec dword [rbp + 0x39]
ror dword [rbp + 0xf], 0x42
cmovb r8, r9
invalid
and al, 0x44
add byte [rax], r8b
add byte [rax], r8b
add byte [rax], al
ror byte [rdi], 0x29
and al, 0x50
mov dword [rsp + 0x60], 0
add byte [rax - 0x73], cl
and al, 0x44
mov dword [rsp + 0x68], ecx
lodsd eax, dword [rsi]
invalid
and al, 0x20
and al, 0x50
mov edx, eax
test byte [0x10089460f], ah
push rsp
invalid
add al, ch
or eax, 0x83000526
jl 0x140044646
add byte [rdx + rbp*8 + 0x48], r14b
invalid
or eax, 2
cmp byte [rax - 0x39], cl
and al, 0x30
xor byte [rcx], al
add byte [rax], al
invalid
xor byte [rcx], al
add byte [rax], al
add byte [rax - 0x73], cl
jl 0x14004466e
invalid
and al, 0x38
cmp byte [rcx + 0x3e183c1], cl
lea edx, [0x1400b5610]
invalid
invalid
or al, 0x8a
sar edi, 1
loope case.0x14004132e.50
invalid
shl eax, 0x20
mov dword [rsp + 0x38], eax
cmp byte [rax - 0x39], cl
and al, 0x30
and al, 0x30
add dword [rax], eax
add byte [rax], al
adc eax, 0x70f84
or al, 0x8a
and al, 0x4c
cmp byte [rax - 0x39], cl
and al, 0x30
add byte [rax], al
add byte [rax], al
invalid
add byte [rax], al
add bl, ch
and eax, 0xf40b60f
movzx eax, byte [rax + 0xf]
por mm1, qword [rbx]
and byte [rcx - 0x7ddf173f], cl
add byte [rax], al
invalid
add byte [rbx + rcx], bh
ror byte [rdi], 0x11
invalid
invalid
mov dword [rsi + 8], eax
or eax, 0x70f24
add al, 0x81
mov bl, 0xb0
add ebx, ebp
scasd eax, dword [rdi]
add al, 0xeb
movabs dword [0x9beb06b09feb05b0], eax
mov al, 5
jmp 0x1400446c0
mov al, 6
jmp 0x1400446c0
xchg edi, eax
or ebp, ebx
xchg dword [rax - 0x4f7c14f4], esi
mov al, 0xc
jmp 0x1400446c0
mov al, 0xd
invalid
jl 0x140044741
invalid
push qword [rax - 0x9116f1]
outsb dx, byte [rsi]
invalid
invalid
adc ecx, ebp
invalid
push qword [rax - 0xad16ed]
push rdx
invalid
invalid
adc eax, 0xffff44e9
push qword [rax - 0xc216ea]
mov al, 0x16
invalid
invalid
invalid
push qword [rax - 0xc916e9]
invalid
invalid
sub bh, bh
invalid
and edi, edi
sbb bh, bh
adc edi, edi
or al, 0xff
add eax, 0xb0ffffff
invalid
invalid
invalid
idiv esi
invalid
jmp 0xf10447d6
loop case.0x14004037c.167
invalid
invalid
int 0xfe
invalid
invalid
mov edi, 0x66fffffe
invalid
nop word cs:[rax + rax]
nop word cs:[rax + rax]
nop word cs:[rax + rax]
test byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
push rsi
push rdi
add byte [rax], al
jo 0x140044860
mov ebx, edx
ror dword [rax - 0x75], cl
push rdx
or byte [rax - 0x75], cl
invalid
invalid
jnp case.0x14004132e.108
sub eax, edi
clc
xor eax, dword [rdx]
add byte [rax], al
invalid
ror byte [rdi + rcx + 0x42], 0xc0
ror byte [rax - 0x75], 0x13
add byte [rdi], cl
push rdi
ror byte [rdi], 0x29
and al, 0x50
and al, 0x50
and al, 0x50
add byte [rax], al
add byte [rax], al
and al, 0x34
mov dword [rsp + 0x68], eax
and al, 0x50
add byte [rbp + 0x664d74c0], al
nop
add byte [rax], al
add al, ch
popfq
and eax, dword [0x16480cb92]
add byte [rbx + 0x34247c], al
add byte [rbx + 0x34247c], al
invalid
test esi, esi
and byte [rax - 0x7d], cl
invalid
add dword [rax], eax
invalid
and dword [0x188cad1d3], eax
out 0x20, al
mov dword [rsp + 0x48], esi
or eax, 0x70d6f
push qword [rax - 0x12616d9]
invalid
invalid
ror byte [rdi], 0x84
invalid