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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov eax, dword [0x6dc3a848]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
cmp eax, 0x6dc3a848
je 0x6dc09796
test dword [eax + 0x1c], 0x100
jne 0x6dc1dfe8
lea esi, [edi + 0xe0]
and byte [esi + 3], 0xbf
xor edx, edx
cmp ebx, edx
je 0x6dc097ad
push ebx
push edi
call fcn.6dc093c9
mov eax, dword [edi + 0xa8]
mov dword [ebp + 0xc], eax
cmp dword [edi + 0xd8], edx
jne 0x6dc1e00d
mov eax, dword [ebp + 0xc]
sub eax, esi
movzx ebx, ax
mov eax, dword [edi + 0xd8]
mov dword [ebp + 8], ebx
test eax, eax
jne 0x6dc1e072
xor eax, eax
mov byte [edi + 0xcf], al
rol word [esi], 8
rol word [esi + 4], 8
rol word [esi + 6], 8
rol word [esi + 8], 8
rol word [esi + 0xa], 8
cmp byte [edi + 0xc8], 0
jne 0x6dc15f12
push 0
lea ebx, [edi + 0x10]
push ebx
call fcn.6dc094f8
push edi
mov dword [ebp + 0x10], eax
call fcn.6dc0944e
test eax, eax
je 0x6dc189d8
cmp dword [ebp + 0x10], 0
jne 0x6dc0f77d
push dword [edi + 0x30]
movzx eax, word [ebp + 8]
push ebx
push 0
push eax
push esi
push dword [edi + 0x98]
call dword [sym.imp.WS2_32.dll_sendto]
cmp eax, 0xffffffff
je 0x6dc17ff4
and dword [ebp + 0x14], 0
rol word [esi], 8
rol word [esi + 4], 8
rol word [esi + 6], 8
mov ax, word [esi + 0xa]
rol word [esi + 8], 8
rol ax, 8
cmp dword [ebp - 4], 0
movzx eax, ax
movzx ecx, ax
mov word [esi + 0xa], ax
jne 0x6dc1e083
push dword [ebp + 0x14]
push edi
call fcn.6dc0989a
mov eax, dword [ebp + 0x14]
pop edi
pop esi
pop ebx
leave
ret 0x10
cmp dword [ebp + 0x14], 0
je 0x6dc0f7a0
push dword [ebp + 0x14]
movzx eax, word [ebx]
push eax
push dword [edi + 0x98]
call sym.DNSAPI.dll_Socket_SetMulticastInterface
mov dword [ebp + 0x14], eax
test eax, eax
jne 0x6dc09853
movzx eax, word [ebx]
push 1
push 1
push eax
push dword [edi + 0x98]
call sym.DNSAPI.dll_Socket_SetTtl
mov dword [ebp + 0x14], eax
test eax, eax
je 0x6dc0982e
jmp 0x6dc09853
push ebx
call dword [sym.imp.WS2_32.dll_htons]
lea ecx, [edi + 0xde]
inc ebx
mov word [ecx], ax
inc ebx
mov dword [ebp + 0x14], ecx
test bx, bx
je 0x6dc0984f
push 0
movzx eax, bx
push eax
push dword [ebp + 0x14]
push dword [edi + 0x98]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
je 0x6dc17ff4
cmp eax, 0xffffffff
je 0x6dc17ff4
sub ebx, eax
add dword [ebp + 0x14], eax
jmp 0x6dc15f27
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp + 0x14], eax
jmp 0x6dc09853
call dword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_GetLastError]
mov dword [ebp + 0x14], eax
test eax, eax
jne 0x6dc09853
mov dword [ebp + 0x14], 0x273b
jmp 0x6dc09853
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
push dword [edi + 0x98]
push edi
push 0x6dc08d00
push 0x24
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.6dc2be41
jmp 0x6dc09796
test dword [edi + 0xd0], 0x1000000
jne 0x6dc097c2
cmp dword [ebp + 0x10], edx
jne 0x6dc1e054
cmp dword [0x6dc393f0], edx
jne 0x6dc1e032
cmp byte [edi + 0xca], dl
je 0x6dc1e054
mov al, byte [edi + 0xe2]
and al, 0x78
cmp al, 0x28
je 0x6dc1e054
cmp ebx, edx
je 0x6dc097c2
push ebx
call fcn.6dc2bacd
test eax, eax
je 0x6dc097c2
mov eax, dword [edi + 0xd8]
mov dword [ebp + 0xc], eax
mov eax, 0xffff
add word [esi + 0xa], ax
mov dword [ebp - 4], 1
jmp 0x6dc097c2
cmp dword [ebp + 0xc], eax
je 0x6dc097db
xor eax, eax
inc eax
jmp 0x6dc097dd
inc ecx
mov word [esi + 0xa], cx
jmp 0x6dc09882