Function at 0x14003dfb0
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 0x14003dfec
mov dword [rdi + 0x40], 2
cmp dword [rdi], 0
je 0x14003e103
mov byte [rsi], 3
jmp 0x14003e182
lea r15, [rbx + 0x48]
cmp dword [rbx + 0x100], 4
jne 0x14003e010
mov rax, qword [rbx + 0x158]
sub rax, qword [rbx + 0x150]
cmp rax, qword [rbx + 0x178]
jae 0x14003e055
mov rcx, r15
mov rdx, r14
call fcn.1400325b0
test rax, rax
jne 0x14003e144
test rdx, rdx
jne 0x14003e17a
cmp dword [rbx + 0x100], 4
jne 0x14003e144
mov rax, qword [rbx + 0x158]
sub rax, qword [rbx + 0x150]
cmp rax, qword [rbx + 0x178]
jb 0x14003e144
lea rcx, [rsp + 0xa4]
call fcn.1400b39d0
mov byte [rsp + 0xa0], 4
lea r12, [rsp + 0xa0]
mov rcx, r15
mov rdx, r12
call fcn.1400312a0
cmp al, 0xc
jne 0x14003e490
mov rax, qword [0x140230e50]
mov rax, qword [rax]
test rax, rax
je 0x14003e198
mov rdx, qword [rsp + 0x220]
lea r12, [rdi + 0x40]
lea rcx, [rsp + 0xa0]
mov r8, r12
call fcn.14002cfc0
movzx eax, byte [rsp + 0xa0]
cmp al, 3
jne 0x14003e149
mov rcx, r12
call fcn.1400b3aa0
cmp eax, 1
jne 0x14003e0db
mov edx, edx
mov rcx, r15
call fcn.1400bbae0
mov rcx, r12
call fcn.1400b3a40
cmp eax, 1
jne 0x14003dfd4
cmp edx, 0x1000000
jae 0x14003e4d5
mov dword [rbx + 0x180], edx
jmp 0x14003dfd4
lea r12, [rdi + 4]
mov qword [rsp + 0x30], r12
lea r15, [rbx + 0x48]
cmp dword [rbx + 0x100], 4
jne 0x14003e134
mov rax, qword [rbx + 0x158]
sub rax, qword [rbx + 0x150]
cmp rax, qword [rbx + 0x178]
jae 0x14003e2a7
mov rcx, r15
mov rdx, r14
call fcn.1400325b0
test rax, rax
je 0x14003e171
mov byte [rsi], 4
jmp 0x14003e182
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 0x14003e182
test rdx, rdx
je 0x14003e27f
mov rcx, rsi
call fcn.1400c4180
mov rax, rsi
add rsp, 0x1c0
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r13, qword [0x14022f708]
movzx edx, byte [r13 + 0x10]
test dl, dl
je 0x14003e098
movzx eax, dl
cmp eax, 1
je 0x14003e1bf
cmp eax, 2
jne 0x14003e45a
mov dl, 2
mov rcx, qword [r13]
call fcn.1400dfe90
test al, al
je 0x14003e098
mov rcx, qword [r13]
mov rax, qword [rcx + 0x38]
test rax, rax
je 0x14003e4ef
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, str.assertion_failed:_val___frame::MAX_MAX_FRAME_SIZE_as_usizeC:UsersEge.cargo_registry_srcindex.crates.io_6f17d22bba15001fh2_0.3.22_srccodec_framed_write.rsK
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, fcn.140001090
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.1400e0af0
jmp 0x14003e098
cmp dword [rbx + 0x100], 4
jne 0x14003e144
mov rax, qword [rbx + 0x158]
sub rax, qword [rbx + 0x150]
cmp rax, qword [rbx + 0x178]
jb 0x14003e144
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.1400312a0
cmp al, 0xc
jne 0x14003e4a0
mov rax, qword [0x140230e50]
mov rax, qword [rax]
test rax, rax
je 0x14003e34e
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 0x14003dfe4
mov r14, qword [0x14022f710]
movzx edx, byte [r14 + 0x10]
test dl, dl
je 0x14003e314
movzx eax, dl
cmp eax, 1
je 0x14003e371
cmp eax, 2
jne 0x14003e475
mov dl, 2
mov rcx, qword [r14]
call fcn.1400dfe90
test al, al
je 0x14003e314
mov rcx, qword [r14]
mov rax, qword [rcx + 0x38]
test rax, rax
je 0x14003e509
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, [0x140068560]
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, fcn.140001090
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.1400e0af0
mov r12, qword [rsp + 0x30]
jmp 0x14003e314
mov rcx, qword [0x14022f708]
call fcn.1401634e0
mov edx, eax
test al, al
jne 0x14003e1bf
jmp 0x14003e098
mov rcx, qword [0x14022f710]
call fcn.1401634e0
mov edx, eax
test al, al
jne 0x14003e371
jmp 0x14003e314
mov byte [rsp + 0xa0], al
lea rax, [0x140171fb0]
jmp 0x14003e4ae
mov byte [rsp + 0xa0], al
lea rax, [0x1401720c8]
mov qword [rsp + 0x20], rax
lea rcx, str.invalid_settings_frame
lea r9, fcn.140001090
lea r8, [rsp + 0xa0]
mov edx, 0x16
call fcn.140168f70
ud2
lea rcx, str.assertion_failed:_val___frame::MAX_MAX_FRAME_SIZE_as_usizeC:UsersEge.cargo_registry_srcindex.crates.io_6f17d22bba15001fh2_0.3.22_srccodec_framed_write.rsK
lea r8, [0x1401720b0]
mov edx, 0x3b
call fcn.140168bc0
ud2
lea rcx, str.FieldSet_corrupted__this_is_a_bug_C:UsersEge.cargo_registry_srcindex.crates.io_6f17d22bba15001fh2_0.3.22_src_frame_reset.rsj
lea r8, [0x140171fc8]
mov edx, 0x22
call fcn.140168aa0
ud2
lea rcx, str.FieldSet_corrupted__this_is_a_bug_C:UsersEge.cargo_registry_srcindex.crates.io_6f17d22bba15001fh2_0.3.22_src_frame_reset.rsj
lea r8, [0x1401720e0]
mov edx, 0x22
call fcn.140168aa0
ud2