Function at 0x100780c0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
lea ebp, [esp - 0x104]
sub esp, 0x104
push 0xffffffffffffffff
push 0x100fd93d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x10143964]
xor eax, ebp
mov dword [ebp + 0x100], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ebx, dword [ebp + 0x10c]
mov eax, dword [ebx]
mov esi, dword [eax + 4]
mov edi, dword [eax]
sub esi, edi
je 0x1007812d
nop dword [eax]
push 0
push esi
push edi
push dword [ecx + 0x10c]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
js 0x10078189
mov ecx, dword [ebp - 0x10]
add edi, eax
sub esi, eax
jne 0x10078110
mov edi, dword [ebx + 4]
mov dword [ebx], 0
mov dword [ebx + 4], 0
test edi, edi
je 0x10078162
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x10078162
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x10078162
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x100]
xor ecx, ebp
call fcn.100f06e3
lea esp, [ebp + 0x104]
pop ebp
ret 4
mov edi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call edi
cmp eax, 0x2733
je 0x100781a5
call edi
cmp eax, 0x2733
jne 0x1007823e
mov eax, dword [ebx]
sub esp, 8
mov edx, dword [eax + 4]
mov eax, esp
push 0
push 0
mov ecx, edx
push edx
sub ecx, esi
mov dword [eax], 0
mov dword [eax + 4], 0
lea eax, [ebp - 0x14]
push ecx
push eax
call fcn.1004bfb0
add esp, 0x1c
or esi, 0xffffffff
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [eax], 0
mov dword [eax + 4], 0
mov edi, dword [ebx + 4]
mov dword [ebx], ecx
mov dword [ebx + 4], edx
test edi, edi
je 0x10078212
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x10078212
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x10078212
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov edi, dword [ebp - 0x10]
test edi, edi
je 0x10078237
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x10078237
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x10078237
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
xor al, al
jmp 0x10078164
call fcn.10004650
test eax, eax
je 0x100782b9
push 2
mov ecx, eax
call fcn.10007ab0
test al, al
je 0x100782b9
push 0
push 0
push 0x101008a0
push 0x121
push str.rtc::impl::TcpTransport::trySendMessage
push 2
lea ecx, [ebp]
call fcn.10005670
mov ecx, eax
mov dword [ebp - 4], 0
call sym.datachannel.dll_private:_class_std::allocator_class_std::shared_ptr_struct_rtc::NalUnit______thiscall_std::vector_class_std::shared_ptr_struct_rtc::NalUnit___class_std::allocator_class_std::shared_ptr_struct_rtc::NalUnit___::_Getal_void_
push str.Connection_closed__errno
mov ecx, eax
call fcn.10028490
mov esi, eax
call edi
mov dword [ebp - 0x10], eax
mov ecx, esi
lea eax, [ebp - 0x10]
push eax
call fcn.10038820
push eax
call fcn.10004650
mov ecx, eax
call fcn.10006c30
lea ecx, [ebp]
mov dword [ebp - 4], 0xffffffff
call fcn.10006040
push str.Connection_closed
lea ecx, [ebp - 0x18]
call fcn.10025c30
push 0x10124fbc
lea eax, [ebp - 0x18]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3