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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x1d0
mov rbx, r9
mov r14, r8
mov rdi, rdx
mov rsi, rcx
cmp dword [rdx + 0x40], 2
jne 0x1400cf668
mov dword [rdi + 0x40], 2
cmp dword [rdi], 0
je 0x1400cf6da
mov byte [rsi], 3
jmp 0x1400cf9b3
lea r15, [rbx + 0x48]
cmp dword [rbx + 0x100], 4
jne 0x1400cf690
mov rax, qword [rbx + 0x158]
sub rax, qword [rbx + 0x150]
cmp rax, qword [rbx + 0x178]
jae 0x1400cf76c
mov rcx, r15
mov rdx, r14
call fcn.14008dd20
test rax, rax
jne 0x1400cf755
test rdx, rdx
jne 0x1400cf755
cmp dword [rbx + 0x100], 4
jne 0x1400cf9b0
mov rax, qword [rbx + 0x158]
sub rax, qword [rbx + 0x150]
cmp rax, qword [rbx + 0x178]
jae 0x1400cf76c
jmp 0x1400cf9b0
lea r12, [rdi + 4]
mov qword [rsp + 0x30], r12
lea r15, [rbx + 0x48]
cmp dword [rbx + 0x100], 4
jne 0x1400cf70b
mov rax, qword [rbx + 0x158]
sub rax, qword [rbx + 0x150]
cmp rax, qword [rbx + 0x178]
jae 0x1400cf9c9
mov rcx, r15
mov rdx, r14
call fcn.14008dd20
test rax, rax
jne 0x1400cf87a
test rdx, rdx
jne 0x1400cf87a
cmp dword [rbx + 0x100], 4
jne 0x1400cf9b0
mov rax, qword [rbx + 0x158]
sub rax, qword [rbx + 0x150]
cmp rax, qword [rbx + 0x178]
jb 0x1400cf9b0
jmp 0x1400cf9c9
test rax, rax
jne 0x1400cf763
test rdx, rdx
jne 0x1400cf88c
test rax, rax
jne 0x1400cf9b0
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
mov byte [rsp + 0xa0], 4
lea r12, [rsp + 0xa0]
mov rcx, r15
mov rdx, r12
call fcn.14008b730
cmp al, 0xc
jne 0x1400cfc1d
mov rax, qword [0x14035ede0]
mov rax, qword [rax]
test rax, rax
je 0x1400cf8c1
mov rdx, qword [rsp + 0x230]
lea r12, [rdi + 0x40]
lea rcx, [rsp + 0x38]
mov r8, r12
call fcn.140055790
cmp byte [rsp + 0x38], 3
jne 0x1400cf84d
cmp dword [r12], 0
je 0x1400cfbc4
mov eax, dword [rdi + 0x44]
mov rcx, qword [r15]
test rcx, rcx
je 0x1400cfb7f
cmp ecx, 1
jne 0x1400cfb9e
cmp qword [rbx + 0x50], rax
jbe 0x1400cfbb5
lea rcx, [rbx + 0x50]
jmp 0x1400cfb95
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0xc0], rax
movups xmm0, xmmword [rsp + 0x38]
movups xmm1, xmmword [rsp + 0x48]
movaps xmmword [rsp + 0xb0], xmm1
movaps xmmword [rsp + 0xa0], xmm0
mov qword [rsi + 0x20], rax
jmp 0x1400cf8b5
test rax, rax
jne 0x1400cf9ab
test rdx, rdx
je 0x1400cf9ab
lea rcx, [rsp + 0xa0]
call fcn.14012fe00
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
jmp 0x1400cf9b3
mov r13, qword [0x14035e1d0]
movzx edx, byte [r13 + 0x10]
test dl, dl
je 0x1400cf7f7
movzx eax, dl
cmp eax, 1
je 0x1400cf8e8
cmp eax, 2
jne 0x1400cfbe7
mov dl, 2
mov rcx, qword [r13]
call fcn.140156870
test al, al
je 0x1400cf7f7
mov rcx, qword [r13]
mov rax, qword [rcx + 0x38]
test rax, rax
je 0x1400cfc78
lea rdx, [rcx + 0x30]
mov r8, qword [rcx + 0x30]
movups xmm0, xmmword [rcx + 0x40]
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x40], rax
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], 0
lea rax, str.ACK_sent__applying_settings
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xa8], 1
lea rax, [0x140239bb8]
mov qword [rsp + 0xb0], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0xb8], xmm0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], r12
lea rax, [0x140239b98]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
mov qword [rsp + 0x88], rdx
lea rdx, [rsp + 0x78]
call fcn.140157a90
jmp 0x1400cf7f7
test rax, rax
je 0x1400cf9c9
mov byte [rsi], 4
mov rax, rsi
add rsp, 0x1d0
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
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]
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
mov byte [rsp + 0xa0], 4
lea rbx, [rsp + 0xa0]
mov rcx, r15
mov rdx, rbx
call fcn.14008b730
cmp al, 0xc
jne 0x1400cfc2d
mov rax, qword [0x14035ede0]
mov rax, qword [rax]
test rax, rax
je 0x1400cfa70
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 0x1400cf660
mov r14, qword [0x14035e1d8]
movzx edx, byte [r14 + 0x10]
test dl, dl
je 0x1400cfa36
movzx eax, dl
cmp eax, 1
je 0x1400cfa93
cmp eax, 2
jne 0x1400cfc02
mov dl, 2
mov rcx, qword [r14]
call fcn.140156870
test al, al
je 0x1400cfa36
mov rcx, qword [r14]
mov rax, qword [rcx + 0x38]
test rax, rax
je 0x1400cfc90
lea rdx, [rcx + 0x30]
mov r8, qword [rcx + 0x30]
movups xmm0, xmmword [rcx + 0x40]
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x40], rax
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x90], rax
lea rax, [0x14006cd30]
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 + 0x38]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
lea rax, [0x140239b98]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
mov qword [rsp + 0x88], rdx
lea rdx, [rsp + 0x78]
call fcn.140157a90
mov r12, qword [rsp + 0x30]
jmp 0x1400cfa36
lea rcx, [rbx + 0x50]
mov rdx, qword [rbx + 0x50]
cmp rdx, rax
jae 0x1400cfb95
cmp rdx, qword [rbx + 0xb0]
jbe 0x1400cfbb5
mov qword [r15], 0
jmp 0x1400cfbc1
cmp qword [rbx + 0xb0], rax
je 0x1400cfbc4
mov qword [rbx + 0x48], 0
lea rcx, [rbx + 0x50]
jmp 0x1400cfbc1
mov qword [rbx + 0x48], 1
lea rcx, [rbx + 0x58]
mov qword [rcx], rax
cmp dword [rdi + 0x60], 0
je 0x1400cf654
mov eax, dword [rdi + 0x64]
cmp eax, 0x1000000
jae 0x1400cfc60
mov dword [rbx + 0x180], eax
jmp 0x1400cf654
mov rcx, qword [0x14035e1d0]
call fcn.14021fa50
mov edx, eax
test al, al
jne 0x1400cf8e8
jmp 0x1400cf7f7
mov rcx, qword [0x14035e1d8]
call fcn.14021fa50
mov edx, eax
test al, al
jne 0x1400cfa93
jmp 0x1400cfa36
mov byte [rsp + 0xa0], al
lea rax, [0x140239c60]
jmp 0x1400cfc3b
mov byte [rsp + 0xa0], al
lea rax, [0x140239d80]
mov qword [rsp + 0x20], rax
lea rcx, str.invalid_settings_frame
lea r9, [0x14023a0c0]
lea r8, [rsp + 0xa0]
mov edx, 0x16
call fcn.140226140
lea rcx, str.assertion_failed:_val___frame::MAX_MAX_FRAME_SIZE_as_usizeC:Users_root.cargo_registry_srcindex.crates.io_6f17d22bba15001fh2_0.3.26_srccodec_framed_write.rs
lea r8, [0x140239d68]
mov edx, 0x3b
call fcn.140225d70
lea rcx, [0x140239b28]
lea r8, [0x140239c78]
mov edx, 0x22
call fcn.140225c80
lea rcx, [0x140239b28]
lea r8, [0x140239d98]
mov edx, 0x22
call fcn.140225c80
int3