Function at 0x1400d6690
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
mov rdi, r9
mov r15, rcx
movzx eax, byte [rdx + 0x11c]
mov ebp, dword [rdx + 0x118]
mov byte [rsp + 0x3d], 1
mov byte [rsp + 0x3c], al
mov dword [rsp + 0x38], ebp
lea rcx, [rsp + 0x50]
call fcn.1400d8710
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
lea rcx, [rsp + 0x38]
xor edx, edx
mov r8, rdi
call fcn.1400cd230
mov rax, qword [rdi]
mov r14, qword [rax + 8]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x30], r14
not r14
mov rsi, qword [rdi + 8]
cmp r14, rsi
cmovae r14, rsi
cmp rax, r14
mov qword [rsp + 0x90], rax
jbe 0x1400d684e
mov dword [rsp + 0x24], ebp
mov qword [rsp + 0x28], r15
lea rcx, [rsp + 0x70]
lea rdx, [rsp + 0x50]
mov r8, r14
call fcn.140113c20
mov rcx, qword [rsp + 0x80]
mov rax, qword [rdi]
mov rsi, qword [rdi + 8]
mov rdx, qword [rax + 8]
not rdx
cmp rdx, rsi
cmovae rdx, rsi
cmp rdx, rcx
jb 0x1400d69e7
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rcx
test rcx, rcx
je 0x1400d680a
mov r13, qword [rsp + 0x40]
mov r15, qword [rsp + 0x48]
nop word cs:[rax + rax]
mov r12, qword [rdi]
mov rcx, qword [r12 + 8]
mov rbp, qword [r12 + 0x10]
cmp rbp, rcx
jne 0x1400d67ac
mov edx, 0x40
mov rcx, r12
mov r8b, 1
call fcn.140112fb0
mov rcx, qword [r12 + 8]
mov rbp, qword [r12 + 0x10]
sub rbp, rcx
add rcx, qword [r12]
cmp rbp, rsi
cmovae rbp, rsi
cmp r15, rbp
cmovb rbp, r15
mov rdx, r13
mov r8, rbp
call fcn.14015ed70
mov rsi, qword [rdi + 8]
sub rsi, rbp
jb 0x1400d69cc
mov rax, qword [rdi]
mov rcx, qword [rax + 8]
mov rdx, qword [rax + 0x10]
sub rdx, rcx
cmp rdx, rbp
jb 0x1400d69ec
sub r15, rbp
add r13, rbp
add rcx, rbp
mov qword [rax + 8], rcx
mov qword [rdi + 8], rsi
test r15, r15
jne 0x1400d6780
mov rax, qword [rsp + 0x70]
lea rcx, [rsp + 0x88]
mov rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x48]
call qword [rax + 0x20]
mov r9, qword [rsp + 0x50]
movups xmm0, xmmword [rsp + 0x58]
movaps xmmword [rsp + 0x70], xmm0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x80], rax
mov r15, qword [rsp + 0x28]
mov ebp, dword [rsp + 0x24]
jmp 0x1400d690c
test rax, rax
je 0x1400d6909
mov dword [rsp + 0x24], ebp
mov qword [rsp + 0x28], r15
mov r15, qword [rsp + 0x58]
mov rbp, rax
nop dword [rax + rax]
mov r13, qword [rdi]
mov rcx, qword [r13 + 8]
mov r12, qword [r13 + 0x10]
cmp r12, rcx
jne 0x1400d6898
mov edx, 0x40
mov rcx, r13
mov r8b, 1
call fcn.140112fb0
mov rcx, qword [r13 + 8]
mov r12, qword [r13 + 0x10]
sub r12, rcx
add rcx, qword [r13]
cmp r12, rsi
cmovae r12, rsi
cmp rbp, r12
cmovb r12, rbp
mov rdx, r15
mov r8, r12
call fcn.14015ed70
mov rsi, qword [rdi + 8]
sub rsi, r12
jb 0x1400d69cc
mov rax, qword [rdi]
mov rcx, qword [rax + 8]
mov rdx, qword [rax + 0x10]
sub rdx, rcx
cmp rdx, r12
jb 0x1400d69e4
sub rbp, r12
add r15, r12
add rcx, r12
mov qword [rax + 8], rcx
mov qword [rdi + 8], rsi
test rbp, rbp
jne 0x1400d6870
mov r15, qword [rsp + 0x28]
mov ebp, dword [rsp + 0x24]
mov rax, qword [rsp + 0x30]
xor r9d, r9d
jmp 0x1400d6911
xor r9d, r9d
mov rax, qword [rsp + 0x30]
mov r8, qword [rdi]
mov rdx, qword [r8 + 8]
mov rcx, rdx
sub rcx, rax
bswap rcx
mov rax, rcx
shl rax, 0x18
jne 0x1400d69f4
lea rax, [rbx + 3]
cmp rbx, 0xfffffffffffffffc
ja 0x1400d6a0c
cmp rax, rdx
ja 0x1400d6a1e
mov rax, qword [r8]
shr rcx, 0x28
mov word [rax + rbx], cx
shr ecx, 0x10
mov byte [rax + rbx + 2], cl
test r9, r9
je 0x1400d6977
mov rax, qword [rdi]
mov rdx, qword [rax + 8]
add rbx, 4
cmp rbx, rdx
jae 0x1400d6a2d
mov rax, qword [rax]
add byte [rax + rbx], 0xfc
mov qword [r15], r9
movaps xmm0, xmmword [rsp + 0x70]
movups xmmword [r15 + 8], xmm0
mov rax, qword [rsp + 0x80]
mov qword [r15 + 0x18], rax
mov dword [r15 + 0x20], ebp
cmp qword [rsp + 0x90], r14
ja 0x1400d69b5
lea rcx, [rsp + 0x68]
mov rax, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
mov r8, qword [rsp + 0x60]
call qword [rax + 0x20]
mov rax, r15
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, str.assertion_failed:_cnt___self.limitC:UsersN1nhpro.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.7.2_src_buflimit.rs
lea r8, [0x1401c0cd8]
mov edx, 0x23
call fcn.14016ad00
mov rcx, r12
call fcn.1401689f0
mov rcx, rbp
call fcn.1401689f0
lea rcx, [0x1401adc79]
lea r8, [0x1401adcb8]
mov edx, 0x3e
call fcn.14016ad00
lea r8, [0x1401adcd0]
mov rcx, rbx
mov rdx, rax
call fcn.14016b200
lea r8, [0x1401adcd0]
mov rcx, rax
call fcn.14016b190
lea r8, [0x1401adce8]
mov rcx, rbx
call fcn.14016adf0
int3