Function at 0x1400d6fe0
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 0x1400d701c
mov dword [rdi + 0x40], 2
cmp dword [rdi], 0
je 0x1400d716e
mov byte [rsi], 3
jmp 0x1400d7215
lea r15, [rbx + 0x48]
cmp dword [rbx + 0x100], 4
jne 0x1400d7040
mov rax, qword [rbx + 0x158]
sub rax, qword [rbx + 0x150]
cmp rax, qword [rbx + 0x178]
jae 0x1400d7085
mov rcx, r15
mov rdx, r14
call fcn.1400c0f40
test rax, rax
jne 0x1400d71af
test rdx, rdx
jne 0x1400d71e5
cmp dword [rbx + 0x100], 4
jne 0x1400d71af
mov rax, qword [rbx + 0x158]
sub rax, qword [rbx + 0x150]
cmp rax, qword [rbx + 0x178]
jb 0x1400d71af
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.1400bed30
cmp al, 0xc
jne 0x1400d758b
mov rax, qword [0x140341e50]
mov rax, qword [rax]
test rax, rax
je 0x1400d722b
mov rdx, qword [rsp + 0x220]
lea r12, [rdi + 0x40]
lea rcx, [rsp + 0xa0]
mov r8, r12
call fcn.1400fd0c0
movzx eax, byte [rsp + 0xa0]
cmp al, 3
jne 0x1400d71b4
cmp dword [r12], 0
je 0x1400d7532
mov eax, dword [rdi + 0x44]
mov rcx, qword [r15]
test rcx, rcx
je 0x1400d74ed
cmp ecx, 1
jne 0x1400d750c
cmp qword [rbx + 0x50], rax
jbe 0x1400d7523
lea rcx, [rbx + 0x50]
jmp 0x1400d7503
lea r12, [rdi + 4]
mov qword [rsp + 0x30], r12
lea r15, [rbx + 0x48]
cmp dword [rbx + 0x100], 4
jne 0x1400d719f
mov rax, qword [rbx + 0x158]
sub rax, qword [rbx + 0x150]
cmp rax, qword [rbx + 0x178]
jae 0x1400d733a
mov rcx, r15
mov rdx, r14
call fcn.1400c0f40
test rax, rax
je 0x1400d71dc
mov byte [rsi], 4
jmp 0x1400d7215
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 0x1400d7215
test rdx, rdx
je 0x1400d7312
lea rcx, [rsp + 0xa0]
call fcn.14014c4a0
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 [0x1403408b8]
movzx edx, byte [r13 + 0x10]
test dl, dl
je 0x1400d7110
movzx eax, dl
cmp eax, 1
je 0x1400d7252
cmp eax, 2
jne 0x1400d7555
mov dl, 2
mov rcx, qword [r13]
call fcn.14016cfa0
test al, al
je 0x1400d7110
mov rcx, qword [r13]
mov rax, qword [rcx + 0x38]
test rax, rax
je 0x1400d75e6
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, [0x14021a3d0]
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, [0x14021a3d0]
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.14016db20
jmp 0x1400d7110
cmp dword [rbx + 0x100], 4
jne 0x1400d71af
mov rax, qword [rbx + 0x158]
sub rax, qword [rbx + 0x150]
cmp rax, qword [rbx + 0x178]
jb 0x1400d71af
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.1400bed30
cmp al, 0xc
jne 0x1400d759b
mov rax, qword [0x140341e50]
mov rax, qword [rax]
test rax, rax
je 0x1400d73e1
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 0x1400d7014
mov r14, qword [str.x_b4_]
movzx edx, byte [r14 + 0x10]
test dl, dl
je 0x1400d73a7
movzx eax, dl
cmp eax, 1
je 0x1400d7404
cmp eax, 2
jne 0x1400d7570
mov dl, 2
mov rcx, qword [r14]
call fcn.14016cfa0
test al, al
je 0x1400d73a7
mov rcx, qword [r14]
mov rax, qword [rcx + 0x38]
test rax, rax
je 0x1400d75fe
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, [0x14007dca0]
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, [0x14021a3d0]
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.14016db20
mov r12, qword [rsp + 0x30]
jmp 0x1400d73a7
lea rcx, [rbx + 0x50]
mov rdx, qword [rbx + 0x50]
cmp rdx, rax
jae 0x1400d7503
cmp rdx, qword [rbx + 0xb0]
jbe 0x1400d7523
mov qword [r15], 0
jmp 0x1400d752f
cmp qword [rbx + 0xb0], rax
je 0x1400d7532
mov qword [rbx + 0x48], 0
lea rcx, [rbx + 0x50]
jmp 0x1400d752f
mov qword [rbx + 0x48], 1
lea rcx, [rbx + 0x58]
mov qword [rcx], rax
cmp dword [rdi + 0x60], 0
je 0x1400d7004
mov eax, dword [rdi + 0x64]
cmp eax, 0x1000000
jae 0x1400d75ce
mov dword [rbx + 0x180], eax
jmp 0x1400d7004
mov rcx, qword [0x1403408b8]
call fcn.1401ffe20
mov edx, eax
test al, al
jne 0x1400d7252
jmp 0x1400d7110
mov rcx, qword [str.x_b4_]
call fcn.1401ffe20
mov edx, eax
test al, al
jne 0x1400d7404
jmp 0x1400d73a7
mov byte [rsp + 0xa0], al
lea rax, [0x14021ab70]
jmp 0x1400d75a9
mov byte [rsp + 0xa0], al
lea rax, [0x14021ac90]
mov qword [rsp + 0x20], rax
lea rcx, str.invalid_settings_frame
lea r9, [0x14021afa8]
lea r8, [rsp + 0xa0]
mov edx, 0x16
call fcn.1402052d0
lea rcx, str.assertion_failed:_val___frame::MAX_MAX_FRAME_SIZE_as_usizeC:Userswhowho.cargo_registry_srcindex.crates.io_6f17d22bba15001fh2_0.3.24_srccodec_framed_write.rs
lea r8, [0x14021ac78]
mov edx, 0x3b
call fcn.140204ec0
lea rcx, str.FieldSet_corrupted__this_is_a_bug_C:Userswhowho.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_util_0.7.10_srccodec_framed_impl.rs
lea r8, [0x14021ab88]
mov edx, 0x22
call fcn.140204d80
lea rcx, str.FieldSet_corrupted__this_is_a_bug_C:Userswhowho.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_util_0.7.10_srccodec_framed_impl.rs
lea r8, [0x14021aca8]
mov edx, 0x22
call fcn.140204d80
int3