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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x1c0
mov rbx, r9
mov r14, r8
mov rdi, rdx
mov rsi, rcx
cmp dword [rdx + 0x40], 2
jne 0x14009854c
mov dword [rdi + 0x40], 2
cmp dword [rdi], 0
je 0x14009869e
mov byte [rsi], 3
jmp 0x140098745
lea r15, [rbx + 0x48]
cmp dword [rbx + 0x100], 4
jne 0x140098570
mov rax, qword [rbx + 0x158]
sub rax, qword [rbx + 0x150]
cmp rax, qword [rbx + 0x178]
jae 0x1400985b5
mov rcx, r15
mov rdx, r14
call fcn.1400c7e30
test rax, rax
jne 0x1400986df
test rdx, rdx
jne 0x140098715
cmp dword [rbx + 0x100], 4
jne 0x1400986df
mov rax, qword [rbx + 0x158]
sub rax, qword [rbx + 0x150]
cmp rax, qword [rbx + 0x178]
jb 0x1400986df
mov byte [rsp + 0xa0], 4
mov dword [rsp + 0xa4], 0
mov dword [rsp + 0xac], 0
mov dword [rsp + 0xb4], 0
mov dword [rsp + 0xbc], 0
mov dword [rsp + 0xc4], 0
mov dword [rsp + 0xcc], 0
mov dword [rsp + 0xd4], 0
mov byte [rsp + 0xdc], 1
lea r12, [rsp + 0xa0]
mov rcx, r15
mov rdx, r12
call fcn.1400c5680
cmp al, 0xc
jne 0x140098abb
mov rax, qword [0x140290e38]
mov rax, qword [rax]
test rax, rax
je 0x14009875b
mov rdx, qword [rsp + 0x220]
lea r12, [rdi + 0x40]
lea rcx, [rsp + 0xa0]
mov r8, r12
call fcn.14004ac10
movzx eax, byte [rsp + 0xa0]
cmp al, 3
jne 0x1400986e4
cmp dword [r12], 0
je 0x140098a62
mov eax, dword [rdi + 0x44]
mov rcx, qword [r15]
test rcx, rcx
je 0x140098a1d
cmp ecx, 1
jne 0x140098a3c
cmp qword [rbx + 0x50], rax
jbe 0x140098a53
lea rcx, [rbx + 0x50]
jmp 0x140098a33
lea r12, [rdi + 4]
mov qword [rsp + 0x30], r12
lea r15, [rbx + 0x48]
cmp dword [rbx + 0x100], 4
jne 0x1400986cf
mov rax, qword [rbx + 0x158]
sub rax, qword [rbx + 0x150]
cmp rax, qword [rbx + 0x178]
jae 0x14009886a
mov rcx, r15
mov rdx, r14
call fcn.1400c7e30
test rax, rax
je 0x14009870c
mov byte [rsi], 4
jmp 0x140098745
mov rcx, qword [rsp + 0xc0]
mov qword [rsi + 0x20], rcx
movups xmm0, xmmword [rsp + 0xa1]
movups xmm1, xmmword [rsp + 0xb1]
movups xmmword [rsi + 0x11], xmm1
movups xmmword [rsi + 1], xmm0
mov byte [rsi], al
jmp 0x140098745
test rdx, rdx
je 0x140098842
lea rcx, [rsp + 0xa0]
call fcn.140120aa0
mov rax, qword [rsp + 0xc0]
mov qword [rsi + 0x20], rax
movups xmm0, xmmword [rsp + 0xa0]
movups xmm1, xmmword [rsp + 0xb0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rax, rsi
add rsp, 0x1c0
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r13, qword [0x14028f9e0]
movzx edx, byte [r13 + 0x10]
test dl, dl
je 0x140098640
movzx eax, dl
cmp eax, 1
je 0x140098782
cmp eax, 2
jne 0x140098a85
mov dl, 2
mov rcx, qword [r13]
call fcn.14013da90
test al, al
je 0x140098640
mov rcx, qword [r13]
mov rax, qword [rcx + 0x38]
test rax, rax
je 0x140098b16
lea rdx, [rcx + 0x30]
mov r8, qword [rcx + 0x30]
movups xmm0, xmmword [rcx + 0x40]
mov qword [rsp + 0x68], r8
mov qword [rsp + 0x70], rax
movups xmmword [rsp + 0x78], xmm0
mov qword [rsp + 0x88], 0
lea rax, str.ACK_sent__applying_settings
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xa8], 1
lea rax, [0x1401b0eb0]
mov qword [rsp + 0xb0], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0xb8], xmm0
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], r12
lea rax, [0x1401b0d40]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 1
mov qword [rsp + 0x60], rdx
lea rdx, [rsp + 0x50]
call fcn.14013e750
jmp 0x140098640
cmp dword [rbx + 0x100], 4
jne 0x1400986df
mov rax, qword [rbx + 0x158]
sub rax, qword [rbx + 0x150]
cmp rax, qword [rbx + 0x178]
jb 0x1400986df
movzx eax, byte [rdi + 0x3c]
movups xmm0, xmmword [rdi + 4]
movups xmm1, xmmword [rdi + 0x14]
movups xmm2, xmmword [rdi + 0x24]
mov rcx, qword [rdi + 0x34]
mov byte [rsp + 0xa0], 4
movups xmmword [rsp + 0xa4], xmm0
movups xmmword [rsp + 0xb4], xmm1
movups xmmword [rsp + 0xc4], xmm2
mov qword [rsp + 0xd4], rcx
mov byte [rsp + 0xdc], al
lea rbx, [rsp + 0xa0]
mov rcx, r15
mov rdx, rbx
call fcn.1400c5680
cmp al, 0xc
jne 0x140098acb
mov rax, qword [0x140290e38]
mov rax, qword [rax]
test rax, rax
je 0x140098911
movzx eax, byte [r12 + 0x38]
movups xmm0, xmmword [r12]
movups xmm1, xmmword [r12 + 0x10]
movups xmm2, xmmword [r12 + 0x20]
mov rcx, qword [r12 + 0x30]
mov dword [rdi], 1
movups xmmword [rdi + 4], xmm0
movups xmmword [rdi + 0x14], xmm1
movups xmmword [rdi + 0x24], xmm2
mov qword [rdi + 0x34], rcx
mov byte [rdi + 0x3c], al
jmp 0x140098544
mov r14, qword [0x14028f9e8]
movzx edx, byte [r14 + 0x10]
test dl, dl
je 0x1400988d7
movzx eax, dl
cmp eax, 1
je 0x140098934
cmp eax, 2
jne 0x140098aa0
mov dl, 2
mov rcx, qword [r14]
call fcn.14013da90
test al, al
je 0x1400988d7
mov rcx, qword [r14]
mov rax, qword [rcx + 0x38]
test rax, rax
je 0x140098b2e
lea rdx, [rcx + 0x30]
mov r8, qword [rcx + 0x30]
movups xmm0, xmmword [rcx + 0x40]
mov qword [rsp + 0x68], r8
mov qword [rsp + 0x70], rax
movups xmmword [rsp + 0x78], xmm0
mov qword [rsp + 0x88], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x90], rax
lea rax, [0x140099250]
mov qword [rsp + 0x98], rax
lea rax, str.local_settings_sent__waiting_for_ack:
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xa8], 1
mov qword [rsp + 0xc0], 0
lea rax, [rsp + 0x90]
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xb8], 1
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbx
lea rax, [0x1401b0d40]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 1
mov qword [rsp + 0x60], rdx
lea rdx, [rsp + 0x50]
call fcn.14013e750
mov r12, qword [rsp + 0x30]
jmp 0x1400988d7
lea rcx, [rbx + 0x50]
mov rdx, qword [rbx + 0x50]
cmp rdx, rax
jae 0x140098a33
cmp rdx, qword [rbx + 0xb0]
jbe 0x140098a53
mov qword [r15], 0
jmp 0x140098a5f
cmp qword [rbx + 0xb0], rax
je 0x140098a62
mov qword [rbx + 0x48], 0
lea rcx, [rbx + 0x50]
jmp 0x140098a5f
mov qword [rbx + 0x48], 1
lea rcx, [rbx + 0x58]
mov qword [rcx], rax
cmp dword [rdi + 0x60], 0
je 0x140098534
mov eax, dword [rdi + 0x64]
cmp eax, 0x1000000
jae 0x140098afe
mov dword [rbx + 0x180], eax
jmp 0x140098534
mov rcx, qword [0x14028f9e0]
call fcn.1401a1ac0
mov edx, eax
test al, al
jne 0x140098782
jmp 0x140098640
mov rcx, qword [0x14028f9e8]
call fcn.1401a1ac0
mov edx, eax
test al, al
jne 0x140098934
jmp 0x1400988d7
mov byte [rsp + 0xa0], al
lea rax, [0x1401b0ee0]
jmp 0x140098ad9
mov byte [rsp + 0xa0], al
lea rax, [0x1401b1000]
mov qword [rsp + 0x20], rax
lea rcx, str.invalid_settings_frame
lea r9, [0x1401b1228]
lea r8, [rsp + 0xa0]
mov edx, 0x16
call fcn.1401a4960
lea rcx, str.assertion_failed:_val___frame::MAX_MAX_FRAME_SIZE_as_usizeC:UsersWinDev.cargo_registry_srcindex.crates.io_6f17d22bba15001fh2_0.3.24_srccodec_framed_write.rs
lea r8, [0x1401b0fe8]
mov edx, 0x3b
call fcn.1401a45b0
lea rcx, [0x1401b0cd0]
lea r8, [0x1401b0ef8]
mov edx, 0x22
call fcn.1401a4470
lea rcx, [0x1401b0cd0]
lea r8, str.O_fe_
mov edx, 0x22
call fcn.1401a4470
int3