Function at 0x140047cb0
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 0x140047ce8
mov dword [rdi + 0x40], 2
cmp dword [rdi], 0
je 0x140047d5a
mov byte [rsi], 3
jmp 0x140047f00
lea r15, [rbx + 0x48]
cmp dword [rbx + 0x100], 4
jne 0x140047d10
mov rax, qword [rbx + 0x158]
sub rax, qword [rbx + 0x150]
cmp rax, qword [rbx + 0x178]
jae 0x140047de7
mov rcx, r15
mov rdx, r14
call fcn.140088c20
test rax, rax
jne 0x140047dd5
test rdx, rdx
jne 0x140047dd5
cmp dword [rbx + 0x100], 4
jne 0x140047efd
mov rax, qword [rbx + 0x158]
sub rax, qword [rbx + 0x150]
cmp rax, qword [rbx + 0x178]
jb 0x140047efd
jmp 0x140047de7
lea rax, [rdi + 4]
mov qword [rsp + 0x58], rax
lea r15, [rbx + 0x48]
cmp dword [rbx + 0x100], 4
jne 0x140047d8b
mov rax, qword [rbx + 0x158]
sub rax, qword [rbx + 0x150]
cmp rax, qword [rbx + 0x178]
jae 0x140047f69
mov rcx, r15
mov rdx, r14
call fcn.140088c20
test rax, rax
jne 0x140047ef8
test rdx, rdx
jne 0x140047ef8
cmp dword [rbx + 0x100], 4
jne 0x140047efd
mov rax, qword [rbx + 0x158]
sub rax, qword [rbx + 0x150]
cmp rax, qword [rbx + 0x178]
jb 0x140047efd
jmp 0x140047f69
test rax, rax
jne 0x140047efd
test rdx, rdx
jne 0x140047f5f
mov dword [rsp + 0x9c], 0
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 byte [rsp + 0xd4], 1
mov byte [rsp + 0x98], 4
lea r12, [rsp + 0x98]
mov rcx, r15
mov rdx, r12
call fcn.1400878e0
cmp al, 0xc
jne 0x14004822f
mov rax, qword [0x1402209b0]
mov rax, qword [rax]
test rax, rax
je 0x140047f16
mov rdx, qword [rsp + 0x220]
lea r12, [rdi + 0x40]
lea rcx, [rsp + 0x98]
mov r8, r12
call fcn.140065c20
movzx eax, byte [rsp + 0x98]
cmp al, 3
jne 0x140047ed0
cmp dword [r12], 0
je 0x140048122
mov eax, dword [rdi + 0x44]
mov rcx, qword [r15]
test rcx, rcx
je 0x1400480dd
cmp ecx, 1
jne 0x1400480fc
cmp qword [rbx + 0x50], rax
jbe 0x140048113
lea rcx, [rbx + 0x50]
jmp 0x1400480f3
mov rcx, qword [rsp + 0xb8]
mov qword [rsi + 0x20], rcx
movups xmm0, xmmword [rsp + 0x99]
movups xmm1, xmmword [rsp + 0xa9]
movups xmmword [rsi + 0x11], xmm1
movups xmmword [rsi + 1], xmm0
mov byte [rsi], al
jmp 0x140047f00
test rax, rax
je 0x140047f5a
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
mov r13, qword [0x14021f490]
movzx edx, byte [r13 + 0x10]
cmp dl, 2
je 0x14004801e
movzx eax, dl
cmp eax, 1
je 0x140048020
test eax, eax
je 0x140047e72
mov rcx, qword [0x14021f490]
call fcn.140164760
mov edx, eax
test al, al
jne 0x140048020
jmp 0x140047e72
test rdx, rdx
je 0x140047f69
mov rcx, rsi
call fcn.1400c48f0
jmp 0x140047f00
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 + 0x9c], xmm0
movups xmmword [rsp + 0xac], xmm1
movups xmmword [rsp + 0xbc], xmm2
mov qword [rsp + 0xcc], rcx
mov byte [rsp + 0xd4], al
mov byte [rsp + 0x98], 4
lea rbx, [rsp + 0x98]
mov rcx, r15
mov rdx, rbx
call fcn.1400878e0
cmp al, 0xc
jne 0x14004823f
mov rax, qword [0x1402209b0]
mov rax, qword [rax]
test rax, rax
je 0x140047fe1
mov dword [rdi], 1
jmp 0x140047ce0
mov r14, qword [0x14021f498]
movzx edx, byte [r14 + 0x10]
cmp dl, 2
je 0x140048145
movzx eax, dl
cmp eax, 1
je 0x140048147
test eax, eax
je 0x140047fd6
mov rcx, qword [0x14021f498]
call fcn.140164760
mov edx, eax
test al, al
jne 0x140048147
jmp 0x140047fd6
mov dl, 2
mov rcx, qword [r13]
call fcn.1400dd730
test al, al
je 0x140047e72
mov rcx, qword [r13]
mov rax, qword [rcx + 0x38]
test rax, rax
je 0x14004828a
lea rdx, [rcx + 0x30]
mov r8, qword [rcx + 0x30]
movups xmm0, xmmword [rcx + 0x40]
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], rax
movups xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x80], 0
lea rax, str.ACK_sent__applying_settings
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], 1
mov qword [rsp + 0xa8], 8
xorps xmm0, xmm0
movups xmmword [rsp + 0xb0], xmm0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], r12
lea rax, [0x14017b0b0]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x28]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 1
mov qword [rsp + 0x50], rdx
lea rdx, [rsp + 0x40]
call fcn.1400dde50
jmp 0x140047e72
lea rcx, [rbx + 0x50]
mov rdx, qword [rbx + 0x50]
cmp rdx, rax
jae 0x1400480f3
cmp rdx, qword [rbx + 0xb0]
jbe 0x140048113
mov qword [r15], 0
jmp 0x14004811f
cmp qword [rbx + 0xb0], rax
je 0x140048122
mov qword [rbx + 0x48], 0
lea rcx, [rbx + 0x50]
jmp 0x14004811f
mov qword [rbx + 0x48], 1
lea rcx, [rbx + 0x58]
mov qword [rcx], rax
cmp dword [rdi + 0x60], 0
je 0x140047cd4
mov eax, dword [rdi + 0x64]
cmp eax, 0x1000000
jae 0x140048272
mov dword [rbx + 0x180], eax
jmp 0x140047cd4
mov dl, 2
mov rcx, qword [r14]
call fcn.1400dd730
test al, al
je 0x140047fd6
mov rcx, qword [r14]
mov rax, qword [rcx + 0x38]
test rax, rax
je 0x1400482a2
lea rdx, [rcx + 0x30]
mov r8, qword [rcx + 0x30]
movups xmm0, xmmword [rcx + 0x40]
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], rax
movups xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x80], 0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x88], rax
lea rax, [0x14005af30]
mov qword [rsp + 0x90], rax
lea rax, str.local_settings_sent__waiting_for_ack:
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], 1
mov qword [rsp + 0xb8], 0
lea rax, [rsp + 0x88]
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xb0], 1
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rbx
lea rax, [0x14017b0b0]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x28]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 1
mov qword [rsp + 0x50], rdx
lea rdx, [rsp + 0x40]
call fcn.1400dde50
jmp 0x140047fd6
mov byte [rsp + 0x98], al
lea rax, [0x14017b610]
jmp 0x14004824d
mov byte [rsp + 0x98], al
lea rax, [0x14017b730]
mov qword [rsp + 0x20], rax
lea rcx, str.invalid_settings_frame
lea r9, [0x14017b798]
lea r8, [rsp + 0x98]
mov edx, 0x16
call fcn.14016b090
lea rcx, str.assertion_failed:_val___frame::MAX_MAX_FRAME_SIZE_as_usizeC:UsersN1nhpro.cargo_registry_srcindex.crates.io_6f17d22bba15001fh2_0.3.26_srccodec_framed_write.rs
lea r8, [0x14017b718]
mov edx, 0x3b
call fcn.14016ad00
lea rcx, [0x14017afd4]
lea r8, [0x14017b628]
mov edx, 0x22
call fcn.14016ac00
lea rcx, [0x14017afd4]
lea r8, [0x14017b748]
mov edx, 0x22
call fcn.14016ac00
int3