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

Disassembly:
lea r12, [rsp - 0x128]
cmp r12, qword [r14 + 0x10]
jbe 0x50da3b
push rbp
mov rbp, rsp
sub rsp, 0x1a0
mov qword [rsp + 0x1c0], rsi
mov qword [rsp + 0x1b0], rax
mov qword [rsp + 0x1d8], r10
mov byte [rsp + 0x37], cl
mov byte [rsp + 0x36], bl
mov qword [rsp + 0x1e0], r11
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x48], r9
mov qword [rsp + 0x40], r8
mov dword [rsp + 0x3c], edi
mov edx, 1
lock xadd dword [rax + 0xe8], edx
mov dword [rsp + 0x38], edx
lea rax, [0x00603560]
mov ebx, 1
call sym.runtime.makechan
mov ecx, dword [rsp + 0x38]
inc ecx
movups xmmword [rsp + 0xb0], xmm15
movups xmmword [rsp + 0xb8], xmm15
movups xmmword [rsp + 0xc8], xmm15
movups xmmword [rsp + 0xd8], xmm15
mov rdx, qword [rsp + 0x1e0]
mov qword [rsp + 0xb0], rdx
movzx edx, byte [rsp + 0x36]
mov byte [rsp + 0xb8], dl
movzx edx, byte [rsp + 0x37]
mov byte [rsp + 0xb9], dl
mov edx, dword [rsp + 0x3c]
mov dword [rsp + 0xbc], edx
mov rdx, qword [rsp + 0x70]
mov qword [rsp + 0xc0], rdx
mov rdx, qword [rsp + 0x40]
mov qword [rsp + 0xc8], rdx
mov rdx, qword [rsp + 0x48]
mov qword [rsp + 0xd0], rdx
mov dword [rsp + 0xd8], ecx
mov qword [rsp + 0xe0], rax
mov rcx, qword [rsp + 0x1b0]
mov rdx, qword [rcx + 0xf0]
mov rsi, qword [rsp + 0xb0]
mov qword [rsp + 0xe8], rsi
movups xmm0, xmmword [rsp + 0xb8]
movups xmmword [rsp + 0xf0], xmm0
movups xmm0, xmmword [rsp + 0xc8]
movups xmmword [rsp + 0x100], xmm0
movups xmm0, xmmword [rsp + 0xd8]
movups xmmword [rsp + 0x110], xmm0
mov rsi, qword [rcx + 0x40]
mov rdi, qword [rcx + 0x80]
movups xmmword [rsp + 0x160], xmm15
movups xmmword [rsp + 0x170], xmm15
movups xmmword [rsp + 0x180], xmm15
movups xmmword [rsp + 0x190], xmm15
mov qword [rsp + 0x160], rdx
lea rdx, [rsp + 0xe8]
mov qword [rsp + 0x168], rdx
mov qword [rsp + 0x190], rsi
mov qword [rsp + 0x180], rdi
mov rdx, qword [rsp + 0x1d8]
mov qword [rsp + 0x170], rdx
lea rax, [rsp + 0x160]
lea rbx, [rsp + 0x60]
mov edi, 1
mov esi, 3
mov r8d, 1
xor ecx, ecx
call sym.runtime.selectgo
test rax, rax
je 0x50d8b6
cmp rax, 1
je 0x50d89d
nop word [rax + rax]
cmp rax, 2
jne 0x50d884
movups xmmword [rsp + 0x88], xmm15
mov rcx, qword [rsp + 0x1b0]
mov rdx, qword [rcx + 0x68]
nop dword [rax + rax]
test rdx, rdx
je 0x50d847
lea rsi, [0x0083b063]
cmp rdx, rsi
je 0x50d847
mov rcx, qword [rcx + 0x70]
mov qword [rsp + 0x88], rdx
mov qword [rsp + 0x90], rcx
jmp 0x50d850
movups xmmword [rsp + 0x88], xmm15
mov rbx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x90]
mov qword [rsp + 0x70], rcx
lea rax, [0x0060dce0]
call sym.runtime.assertE2I
mov rbx, rax
mov rcx, qword [rsp + 0x70]
xor eax, eax
add rsp, 0x1a0
pop rbp
ret
mov rbx, qword [0x007d6f80]
mov rcx, qword [0x007d6f88]
xor eax, eax
add rsp, 0x1a0
pop rbp
ret
mov rbx, qword [0x007d6e90]
mov rcx, qword [0x007d6e98]
xor eax, eax
add rsp, 0x1a0
pop rbp
ret
mov rdx, qword [rsp + 0xe0]
mov qword [rsp + 0x98], 0
movups xmmword [rsp + 0xa0], xmm15
mov r9, qword [rsp + 0x1b0]
mov r10, qword [r9 + 0x40]
mov r11, qword [r9 + 0x80]
movups xmmword [rsp + 0x120], xmm15
movups xmmword [rsp + 0x130], xmm15
movups xmmword [rsp + 0x140], xmm15
movups xmmword [rsp + 0x150], xmm15
mov qword [rsp + 0x150], rdx
lea rdx, [rsp + 0x98]
mov qword [rsp + 0x158], rdx
mov qword [rsp + 0x140], r10
mov qword [rsp + 0x130], r11
mov rdx, qword [rsp + 0x1d8]
mov qword [rsp + 0x120], rdx
lea rax, [rsp + 0x120]
lea rbx, [rsp + 0x50]
xor ecx, ecx
xor edi, edi
mov esi, 4
mov r8d, 1
nop
call sym.runtime.selectgo
test rax, rax
je 0x50da22
cmp rax, 1
jne 0x50d9e1
movups xmmword [rsp + 0x78], xmm15
mov rcx, qword [rsp + 0x1b0]
mov rdx, qword [rcx + 0x68]
test rdx, rdx
je 0x50d9aa
lea rsi, [0x0083b063]
cmp rdx, rsi
je 0x50d9aa
mov rcx, qword [rcx + 0x70]
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x80], rcx
jmp 0x50d9b0
movups xmmword [rsp + 0x78], xmm15
mov rbx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x70], rcx
lea rax, [0x0060dce0]
call sym.runtime.assertE2I
mov rbx, rax
mov rcx, qword [rsp + 0x70]
xor eax, eax
add rsp, 0x1a0
pop rbp
ret
cmp rax, 2
jne 0x50da01
mov rbx, qword [0x007d6f80]
mov rcx, qword [0x007d6f88]
xor eax, eax
add rsp, 0x1a0
pop rbp
nop
ret
mov rax, qword [rsp + 0x98]
mov rbx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xa8]
add rsp, 0x1a0
pop rbp
ret
mov rbx, qword [0x007d6e90]
mov rcx, qword [0x007d6e98]
xor eax, eax
add rsp, 0x1a0
pop rbp
ret
mov qword [rsp + 8], rax
mov byte [rsp + 0x10], bl
mov byte [rsp + 0x11], cl
mov dword [rsp + 0x14], edi
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], r8
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x30], r10
mov qword [rsp + 0x38], r11
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
movzx ebx, byte [rsp + 0x10]
movzx ecx, byte [rsp + 0x11]
mov edi, dword [rsp + 0x14]
mov rsi, qword [rsp + 0x18]
mov r8, qword [rsp + 0x20]
mov r9, qword [rsp + 0x28]
mov r10, qword [rsp + 0x30]
mov r11, qword [rsp + 0x38]
jmp sym.github.com_xtaci_smux._Session_.writeFrameInternal