Function at 0x140050f70
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 0x140050fa8
mov dword [rdi + 0x40], 2
cmp dword [rdi], 0
je 0x14005101a
mov byte [rsi], 3
jmp 0x1400512f3
lea r15, [rbx + 0x48]
cmp dword [rbx + 0x100], 4
jne 0x140050fd0
mov rax, qword [rbx + 0x158]
sub rax, qword [rbx + 0x150]
cmp rax, qword [rbx + 0x178]
jae 0x1400510ac
mov rcx, r15
mov rdx, r14
call fcn.1400a0ea0
test rax, rax
jne 0x140051095
test rdx, rdx
jne 0x140051095
cmp dword [rbx + 0x100], 4
jne 0x1400512f0
mov rax, qword [rbx + 0x158]
sub rax, qword [rbx + 0x150]
cmp rax, qword [rbx + 0x178]
jae 0x1400510ac
jmp 0x1400512f0
lea r12, [rdi + 4]
mov qword [rsp + 0x30], r12
lea r15, [rbx + 0x48]
cmp dword [rbx + 0x100], 4
jne 0x14005104b
mov rax, qword [rbx + 0x158]
sub rax, qword [rbx + 0x150]
cmp rax, qword [rbx + 0x178]
jae 0x140051309
mov rcx, r15
mov rdx, r14
call fcn.1400a0ea0
test rax, rax
jne 0x1400511ba
test rdx, rdx
jne 0x1400511ba
cmp dword [rbx + 0x100], 4
jne 0x1400512f0
mov rax, qword [rbx + 0x158]
sub rax, qword [rbx + 0x150]
cmp rax, qword [rbx + 0x178]
jb 0x1400512f0
jmp 0x140051309
test rax, rax
jne 0x1400510a3
test rdx, rdx
jne 0x1400511cc
test rax, rax
jne 0x1400512f0
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.14009e8b0
cmp al, 0xc
jne 0x14005155d
mov rax, qword [0x1402cceb8]
mov rax, qword [rax]
test rax, rax
je 0x140051201
mov rdx, qword [rsp + 0x220]
lea r12, [rdi + 0x40]
lea rcx, [rsp + 0x38]
mov r8, r12
call fcn.1400bd3f0
cmp byte [rsp + 0x38], 3
jne 0x14005118d
cmp dword [r12], 0
je 0x140051504
mov eax, dword [rdi + 0x44]
mov rcx, qword [r15]
test rcx, rcx
je 0x1400514bf
cmp ecx, 1
jne 0x1400514de
cmp qword [rbx + 0x50], rax
jbe 0x1400514f5
lea rcx, [rbx + 0x50]
jmp 0x1400514d5
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 0x1400511f5
test rax, rax
jne 0x1400512eb
test rdx, rdx
je 0x1400512eb
lea rcx, [rsp + 0xa0]
call fcn.140129520
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 0x1400512f3
mov r13, qword [0x1402cb728]
movzx edx, byte [r13 + 0x10]
test dl, dl
je 0x140051137
movzx eax, dl
cmp eax, 1
je 0x140051228
cmp eax, 2
jne 0x140051527
mov dl, 2
mov rcx, qword [r13]
call fcn.14014b610
test al, al
je 0x140051137
mov rcx, qword [r13]
mov rax, qword [rcx + 0x38]
test rax, rax
je 0x1400515b8
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, [0x1401d3228]
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, [0x1401d3208]
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.14014c790
jmp 0x140051137
test rax, rax
je 0x140051309
mov byte [rsi], 4
mov rax, rsi
add rsp, 0x1c0
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.14009e8b0
cmp al, 0xc
jne 0x14005156d
mov rax, qword [0x1402cceb8]
mov rax, qword [rax]
test rax, rax
je 0x1400513b0
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 0x140050fa0
mov r14, qword [0x1402cb730]
movzx edx, byte [r14 + 0x10]
test dl, dl
je 0x140051376
movzx eax, dl
cmp eax, 1
je 0x1400513d3
cmp eax, 2
jne 0x140051542
mov dl, 2
mov rcx, qword [r14]
call fcn.14014b610
test al, al
je 0x140051376
mov rcx, qword [r14]
mov rax, qword [rcx + 0x38]
test rax, rax
je 0x1400515d0
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, [0x140059280]
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, [0x1401d3208]
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.14014c790
mov r12, qword [rsp + 0x30]
jmp 0x140051376
lea rcx, [rbx + 0x50]
mov rdx, qword [rbx + 0x50]
cmp rdx, rax
jae 0x1400514d5
cmp rdx, qword [rbx + 0xb0]
jbe 0x1400514f5
mov qword [r15], 0
jmp 0x140051501
cmp qword [rbx + 0xb0], rax
je 0x140051504
mov qword [rbx + 0x48], 0
lea rcx, [rbx + 0x50]
jmp 0x140051501
mov qword [rbx + 0x48], 1
lea rcx, [rbx + 0x58]
mov qword [rcx], rax
cmp dword [rdi + 0x60], 0
je 0x140050f94
mov eax, dword [rdi + 0x64]
cmp eax, 0x1000000
jae 0x1400515a0
mov dword [rbx + 0x180], eax
jmp 0x140050f94
mov rcx, qword [0x1402cb728]
call fcn.1401c5cd0
mov edx, eax
test al, al
jne 0x140051228
jmp 0x140051137
mov rcx, qword [0x1402cb730]
call fcn.1401c5cd0
mov edx, eax
test al, al
jne 0x1400513d3
jmp 0x140051376
mov byte [rsp + 0xa0], al
lea rax, [0x1401d32c8]
jmp 0x14005157b
mov byte [rsp + 0xa0], al
lea rax, [0x1401d33e8]
mov qword [rsp + 0x20], rax
lea rcx, str.invalid_settings_frame
lea r9, [0x1401d3540]
lea r8, [rsp + 0xa0]
mov edx, 0x16
call fcn.1401cb170
lea rcx, str.assertion_failed:_val___frame::MAX_MAX_FRAME_SIZE_as_usizeC:Users_fhnir.cargo_registry_srcindex.crates.io_6f17d22bba15001fh2_0.3.24_srccodec_framed_write.rs
lea r8, [0x1401d33d0]
mov edx, 0x3b
call fcn.1401cada0
lea rcx, [0x1401d3198]
lea r8, [0x1401d32e0]
mov edx, 0x22
call fcn.1401cacb0
lea rcx, [0x1401d3198]
lea r8, [0x1401d3400]
mov edx, 0x22
call fcn.1401cacb0
int3