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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x1f0
mov rbx, r9
mov r14, r8
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [rdx + 0x40]
cmp ecx, 2
jne 0x140192fae
mov dword [rdi + 0x40], 2
cmp dword [rdi], 0
je 0x140193098
mov byte [rsi], 3
jmp 0x14019324c
movzx eax, byte [rdi + 0x78]
mov edx, dword [rdi + 0x44]
xor r8d, r8d
test cl, 1
cmovne r8d, ecx
mov dword [rsp + 0x60], r8d
mov dword [rsp + 0x64], edx
movdqu xmm0, xmmword [rdi + 0x48]
pshufd xmm1, xmm0, 0xa0
pslld xmm1, 0x1f
psrad xmm1, 0x1f
pand xmm1, xmm0
movdqu xmmword [rsp + 0x68], xmm1
movdqu xmm0, xmmword [rdi + 0x58]
pshufd xmm1, xmm0, 0xa0
pslld xmm1, 0x1f
psrad xmm1, 0x1f
pand xmm1, xmm0
movdqu xmmword [rsp + 0x78], xmm1
movdqu xmm0, xmmword [rdi + 0x68]
pshufd xmm1, xmm0, 0xa0
pslld xmm1, 0x1f
psrad xmm1, 0x1f
pand xmm1, xmm0
movdqu xmmword [rsp + 0x88], xmm1
mov byte [rsp + 0x98], al
lea r15, [rbx + 0x48]
cmp dword [rbx + 0x100], 4
jne 0x140193054
mov rax, qword [rbx + 0x158]
sub rax, qword [rbx + 0x150]
cmp rax, qword [rbx + 0x178]
jae 0x14019311f
mov rcx, r15
mov rdx, r14
call fcn.140185090
mov rcx, rax
or rcx, rdx
jne 0x14019310d
cmp dword [rbx + 0x100], 4
jne 0x140193249
mov rax, qword [rbx + 0x158]
sub rax, qword [rbx + 0x150]
cmp rax, qword [rbx + 0x178]
jb 0x140193249
jmp 0x14019311f
lea r12, [rdi + 4]
mov qword [rsp + 0x28], r12
lea r15, [rbx + 0x48]
cmp dword [rbx + 0x100], 4
jne 0x1401930c9
mov rax, qword [rbx + 0x158]
sub rax, qword [rbx + 0x150]
cmp rax, qword [rbx + 0x178]
jae 0x14019336a
mov rcx, r15
mov rdx, r14
call fcn.140185090
mov rcx, rax
or rcx, rdx
jne 0x140193240
cmp dword [rbx + 0x100], 4
jne 0x140193249
mov rax, qword [rbx + 0x158]
sub rax, qword [rbx + 0x150]
cmp rax, qword [rbx + 0x178]
jb 0x140193249
jmp 0x14019336a
test rax, rax
jne 0x140193249
test rdx, rdx
jne 0x14019335d
mov dword [rsp + 0xcc], 0
mov dword [rsp + 0xd4], 0
mov dword [rsp + 0xdc], 0
mov dword [rsp + 0xe4], 0
mov dword [rsp + 0xec], 0
mov dword [rsp + 0xf4], 0
mov dword [rsp + 0xfc], 0
mov byte [rsp + 0x104], 1
mov byte [rsp + 0xc8], 4
lea r12, [rsp + 0xc8]
mov rcx, r15
mov rdx, r12
call fcn.140183900
cmp al, 0xc
jne 0x14019365c
mov rax, qword [0x1403af110]
mov rax, qword [rax]
test rax, rax
je 0x140193262
mov rdx, qword [rsp + 0x250]
movzx r9d, byte [rdi + 0x7c]
mov byte [rdi + 0x7c], 1
xor r9b, 1
lea rcx, [rsp + 0xc8]
lea r8, [rsp + 0x60]
call fcn.1401528a0
movzx eax, byte [rsp + 0xc8]
cmp al, 3
jne 0x140193214
test byte [rsp + 0x60], 1
je 0x140193612
mov eax, dword [rsp + 0x64]
mov rcx, qword [r15]
test rcx, rcx
je 0x1401935cd
cmp ecx, 1
jne 0x1401935ec
cmp qword [rbx + 0x50], rax
jbe 0x140193603
lea rcx, [rbx + 0x50]
jmp 0x1401935e3
mov rcx, qword [rsp + 0xe8]
mov qword [rsi + 0x20], rcx
movdqu xmm0, xmmword [rsp + 0xc9]
movdqu xmm1, xmmword [rsp + 0xd9]
movdqu xmmword [rsi + 0x11], xmm1
movdqu xmmword [rsi + 1], xmm0
mov byte [rsi], al
jmp 0x14019324c
test rax, rax
je 0x140193358
mov byte [rsi], 4
mov rax, rsi
add rsp, 0x1f0
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r13, qword [0x1403ae320]
movzx edx, byte [r13 + 0x10]
movzx eax, dl
lea ecx, [rax - 1]
cmp ecx, 2
jae 0x1401935aa
mov rcx, qword [r13]
call fcn.1401f3650
test al, al
je 0x1401931aa
mov rcx, qword [r13]
cmp qword [rcx + 0x38], 0
je 0x1401936b7
lea rax, [rcx + 0x30]
mov rdx, qword [rax]
test rdx, rdx
je 0x1401936b7
lea r8, [rcx + 0x38]
mov qword [rsp + 0xa0], rdx
movdqu xmm0, xmmword [r8]
movdqu xmmword [rsp + 0xa8], xmm0
mov rdx, qword [r8 + 0x10]
mov qword [rsp + 0xb8], rdx
mov qword [rsp + 0xc0], 0
lea rdx, str.ACK_sent__applying_settings
mov qword [rsp + 0xc8], rdx
mov qword [rsp + 0xd0], 1
mov qword [rsp + 0xd8], 8
pxor xmm0, xmm0
movdqu xmmword [rsp + 0xe0], xmm0
lea rdx, [rsp + 0xa0]
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], r12
lea rdx, [0x1403000f8]
mov qword [rsp + 0x58], rdx
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], 1
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x30]
call fcn.1401f3b10
jmp 0x1401931aa
test rdx, rdx
je 0x14019336a
mov rcx, rsi
call fcn.1401e1c00
jmp 0x14019324c
movzx eax, byte [rdi + 0x3c]
mov rcx, qword [rdi + 0x34]
movdqu xmm0, xmmword [rdi + 4]
pshufd xmm1, xmm0, 0xa0
pslld xmm1, 0x1f
psrad xmm1, 0x1f
pand xmm1, xmm0
movdqu xmmword [rsp + 0xcc], xmm1
movdqu xmm0, xmmword [rdi + 0x14]
pshufd xmm1, xmm0, 0xa0
pslld xmm1, 0x1f
psrad xmm1, 0x1f
pand xmm1, xmm0
movdqu xmmword [rsp + 0xdc], xmm1
movdqu xmm0, xmmword [rdi + 0x24]
pshufd xmm1, xmm0, 0xa0
pslld xmm1, 0x1f
psrad xmm1, 0x1f
pand xmm1, xmm0
movdqu xmmword [rsp + 0xec], xmm1
mov qword [rsp + 0xfc], rcx
mov byte [rsp + 0x104], al
mov byte [rsp + 0xc8], 4
lea rbx, [rsp + 0xc8]
mov rcx, r15
mov rdx, rbx
call fcn.140183900
cmp al, 0xc
jne 0x14019366c
mov rax, qword [0x1403af110]
mov rax, qword [rax]
test rax, rax
je 0x14019348f
movzx eax, byte [r12 + 0x38]
mov rcx, qword [r12 + 0x30]
movdqu xmm0, xmmword [r12]
movdqu xmm1, xmmword [r12 + 0x10]
movdqu xmm2, xmmword [r12 + 0x20]
pshufd xmm3, xmm0, 0xa0
pslld xmm3, 0x1f
psrad xmm3, 0x1f
pand xmm3, xmm0
pshufd xmm0, xmm1, 0xa0
pslld xmm0, 0x1f
psrad xmm0, 0x1f
pand xmm0, xmm1
pshufd xmm1, xmm2, 0xa0
pslld xmm1, 0x1f
psrad xmm1, 0x1f
pand xmm1, xmm2
mov dword [rdi], 1
movdqu xmmword [rdi + 4], xmm3
movdqu xmmword [rdi + 0x14], xmm0
movdqu xmmword [rdi + 0x24], xmm1
mov qword [rdi + 0x34], rcx
mov byte [rdi + 0x3c], al
jmp 0x140192fa6
mov r14, qword [0x1403ae328]
movzx edx, byte [r14 + 0x10]
movzx eax, dl
lea ecx, [rax - 1]
cmp ecx, 2
jae 0x140193639
mov rcx, qword [r14]
call fcn.1401f3650
test al, al
je 0x140193416
mov rcx, qword [r14]
cmp qword [rcx + 0x38], 0
je 0x1401936cf
lea rax, [rcx + 0x30]
mov rdx, qword [rax]
test rdx, rdx
je 0x1401936cf
lea r8, [rcx + 0x38]
mov qword [rsp + 0x60], rdx
movdqu xmm0, xmmword [r8]
movdqu xmmword [rsp + 0x68], xmm0
mov rdx, qword [r8 + 0x10]
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x80], 0
lea rdx, [rsp + 0x28]
mov qword [rsp + 0x48], rdx
lea rdx, [0x140140440]
mov qword [rsp + 0x50], rdx
lea rdx, str.local_settings_sent__waiting_for_ack:
mov qword [rsp + 0xc8], rdx
mov qword [rsp + 0xd0], 1
mov qword [rsp + 0xe8], 0
lea rdx, [rsp + 0x48]
mov qword [rsp + 0xd8], rdx
mov qword [rsp + 0xe0], 1
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rbx
lea rdx, [0x1403000f8]
mov qword [rsp + 0x40], rdx
lea rdx, [rsp + 0x30]
mov qword [rsp + 0xa0], rdx
mov qword [rsp + 0xa8], 1
mov qword [rsp + 0xb0], rax
lea rdx, [rsp + 0xa0]
call fcn.1401f3b10
mov r12, qword [rsp + 0x28]
jmp 0x140193416
test eax, eax
je 0x1401931aa
mov rcx, qword [0x1403ae320]
call fcn.14025a720
mov edx, eax
test al, al
jne 0x14019327d
jmp 0x1401931aa
lea rcx, [rbx + 0x50]
mov rdx, qword [rbx + 0x50]
cmp rdx, rax
jae 0x1401935e3
cmp rdx, qword [rbx + 0xb0]
jbe 0x140193603
mov qword [r15], 0
jmp 0x14019360f
cmp qword [rbx + 0xb0], rax
je 0x140193612
mov qword [rbx + 0x48], 0
lea rcx, [rbx + 0x50]
jmp 0x14019360f
mov qword [rbx + 0x48], 1
lea rcx, [rbx + 0x58]
mov qword [rcx], rax
cmp dword [rsp + 0x80], 1
jne 0x140192f96
mov eax, dword [rsp + 0x84]
cmp eax, 0x1000000
jae 0x14019369f
mov dword [rbx + 0x180], eax
jmp 0x140192f96
test eax, eax
je 0x140193416
mov rcx, qword [0x1403ae328]
call fcn.14025a720
mov edx, eax
test al, al
jne 0x1401934aa
jmp 0x140193416
mov byte [rsp + 0xc8], al
lea rax, [0x140300fd0]
jmp 0x14019367a
mov byte [rsp + 0xc8], al
lea rax, [0x1403010f0]
mov qword [rsp + 0x20], rax
lea rcx, str.invalid_settings_frame
lea r9, [0x140301178]
lea r8, [rsp + 0xc8]
mov edx, 0x16
call fcn.14025d6c0
lea rcx, str.assertion_failed:_val___frame::MAX_MAX_FRAME_SIZE_as_usizeC:UsersDamon.cargo_registry_srcindex.crates.io_6f17d22bba15001fh2_0.4.6_srccodec_framed_write.rs
lea r8, [0x1403010d8]
mov edx, 0x3b
call fcn.14025d3f0
lea rcx, str.FieldSet_corrupted__this_is_a_bug_C:UsersDamon.cargo_registry_srcindex.crates.io_6f17d22bba15001fh2_0.4.6_srcproto_streamsprioritize.rs
lea r8, [0x140300fe8]
mov edx, 0x22
call fcn.14025d2f0
lea rcx, str.FieldSet_corrupted__this_is_a_bug_C:UsersDamon.cargo_registry_srcindex.crates.io_6f17d22bba15001fh2_0.4.6_srcproto_streamsprioritize.rs
lea r8, str.w_r0_
mov edx, 0x22
call fcn.14025d2f0
int3