Function at 0x140194f10
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x68
push 0x48d78948
mov edx, dword [rdx + 8]
mov rsi, qword [rdi + 0x10]
mov rax, rdx
sub rax, rsi
jb 0x140195154
mov r8d, 0xffffffff
cmp rax, r8
cmovb r8, rax
mov rdx, qword [rdi]
add rdx, rsi
mov dword [rsp + 0x34], 0
xorps xmm0, xmm0
push rdi
ror byte [rdi], 0x29
and al, 0x40
mov qword [rsp + 0x50], 0
lea rax, [rsp + 0x34]
mov qword [rsp + 0x58], rax
lea rax, [0x140194a10]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
call sub.KERNEL32.dll_ReadFileEx
jmp case.0x140194482.65
add al, byte [rax]
test eax, eax
je 0x140194fdc
nop dword [rax]
mov ecx, 0xffffffff
mov edx, 1
call sub.KERNEL32.dll_SleepEx
push rbp
invalid
add al, byte [rax]
cmp dword [rsp + 0x34], 0
je 0x140194f80
mov edx, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x3c]
mov rax, rdx
shl rax, 0x20
or rax, 2
xor r8d, r8d
rol byte [rbp - 0x6af0be2e], 0xc0
cmove rax, rcx
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x48], rax
je case.0x140194c54.66
lea rsi, [rsp + 0x48]
mov ecx, eax
and ecx, 3
add ecx, dword [rax - 0x73]
adc eax, 0xe91d9
invalid
xchg ecx, eax
invalid
invalid
movsxd rcx, dword [rdx + rcx*4]
add rcx, rdx
jmp rcx
invalid
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rsp + 0x40], 1
lea rsi, [rsp + 0x48]
mov qword [rsp + 0x48], rax
mov ecx, eax
and ecx, 3
lea rdx, [0x14027e1ac]
movsxd rcx, dword [rdx + rcx*4]
add rcx, rdx
jmp rcx
movzx ecx, byte [rax + 0x10]
jmp case.0x140194dd5.72
add rsi, rcx
mov qword [rdi + 0x10], rsi
mov rax, qword [rdi + 0x18]
cmp rax, rsi
cmova rsi, rax
mov qword [rdi + 0x18], rsi
sbb bl, ch
invalid
mov rcx, rax
shr rcx, 0x20
mov rdi, rax
call fcn.14016f720
loop 0x140194fe2
std
dec dword [rcx - 0x776b73f]
mov eax, edi
jmp case.0x140194dd5.72
mov rcx, rax
shr rcx, 0x20
cmp ecx, 0x28
ja case.default.0x140195063
lea rdx, [0x14027e1bc]
movsxd rcx, dword [rdx + rcx*4]
add rcx, rdx
jmp rcx
invalid
xor ecx, ecx
jmp case.0x140194dd5.72
movzx ecx, byte [rax + 0xf]
cmp cl, 0xb
jne 0x14019507c
mov rcx, rsi
mov ecx, esi
call fcn.14016d350
invalid
xor eax, eax
ror byte [rax - 0x7d], 0xc4
add rsp, 0x68
pop rdi
pop rsi
push 0xffffffffb1c35e5f
and eax, 0x23b1e6eb
mov cl, 0x23
ret
mov cl, 0x25
jmp case.0x140194dd5.72
mov cl, 0x23
jmp case.0x140194dd5.72
mov cl, 0x24
jmp case.0x140194dd5.72
mov cl, 0x1b
jmp case.0x140194dd5.72
mov cl, 0x22
jmp case.0x140194dd5.72
mov cl, 0x10
jmp case.0x140194dd5.72
mov cl, 0xe
jmp case.0x140194dd5.72
mov cl, 0x21
jmp case.0x140194dd5.72
mov cl, 0xb
jmp case.0x140194dd5.72
mov cl, 4
jmp case.0x140194dd5.72
mov cl, 0x28
jmp case.0x140194dd5.72
mov cl, 0xc
jmp case.0x140194dd5.72
mov cl, 9
jmp case.0x140194dd5.72
mov cl, 0x19
jmp case.0x140194dd5.72
mov cl, 0x18
jmp case.0x140194dd5.72
mov cl, 2
jmp case.0x140194dd5.72
mov cl, 0xf
jmp case.0x140194dd5.72
mov cl, 3
jmp case.0x140194dd5.72
mov cl, 7
jmp case.0x140194dd5.72
mov cl, 1
jmp case.0x140194dd5.72
mov cl, 0x1f
jmp case.0x140194dd5.72
mov cl, 0x11
jmp case.0x140194dd5.72
mov cl, 0x29
jmp case.0x140194dd5.72
mov cl, 0x14
jmp case.0x140194dd5.72
invalid
mov dh, byte [rcx - 0x4e7914fb]
adc eax, 0xdb182eb
jmp case.0x140194dd5.72
mov cl, 0xd
mov cl, 5
jmp case.0x140194dd5.72
mov cl, 0x15
jmp case.0x140194dd5.72
mov cl, 0xd
jmp case.0x140194dd5.72
invalid
mov cl, 6
jmp case.0x140194dd5.72
invalid
invalid
invalid
mov cl, 0x12
jmp case.0x140194dd5.72
invalid
invalid
invalid
mov cl, 0xa
jmp case.0x140194dd5.72
invalid
invalid
invalid
mov cl, 8
jmp case.0x140194dd5.72
invalid
invalid
invalid
mov cl, 0x1e
jmp case.0x140194dd5.72
invalid
invalid
invalid
mov cl, 0x20
jmp case.0x140194dd5.72
invalid
invalid
invalid
mov cl, 0x16
jmp case.0x140194dd5.72
invalid
invalid
invalid
mov cl, 0x27
jmp case.0x140194dd5.72
invalid
invalid
invalid
mov cl, 0x13
jmp case.0x140194dd5.72
invalid
invalid
invalid
mov cl, 0x17
jmp case.0x140194dd5.72
invalid
invalid
invalid
mov cl, 0x1c
jmp case.0x140194dd5.72
invalid
invalid
invalid
mov cl, 0x1d
jmp case.0x140194dd5.72
mov cl, 0x26
jmp case.0x140194dd5.72
mov cl, 0x1a
jmp case.0x140194dd5.72
lea r8, str._rustc_9b00956e56009bab2aa15d7bff10916599e3d6d6librarycore_srcio_borrowed_buf.rs
mov rcx, rsi
call fcn.14007ffd0
int3
add byte [rax], al
add byte [rax], al
insb byte [rdi], dx
and al, 0x70