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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x55e5f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x10], ecx
push 0x10f
push 0
mov edx, dword [ebp - 0x10]
push edx
call fcn.004f91d0
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x30]
mov ax, word [edx + 0xc]
mov word [ecx], ax
push 0x100
call dword [sym.imp.WS2_32.dll_htons]
mov ecx, dword [ebp - 0x1c]
mov word [ecx + 2], ax
push 1
call dword [sym.imp.WS2_32.dll_htons]
mov edx, dword [ebp - 0x1c]
mov word [edx + 4], ax
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov word [ecx + 6], ax
xor edx, edx
mov eax, dword [ebp - 0x1c]
mov word [eax + 8], dx
xor ecx, ecx
mov edx, dword [ebp - 0x1c]
mov word [edx + 0xa], cx
push 1
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 8], ax
push 1
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0xc], ax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x24]
mov al, byte [edx]
mov byte [ebp - 0x11], al
add dword [ebp - 0x24], 1
cmp byte [ebp - 0x11], 0
jne 0x411cb5
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], ecx
mov dx, word [ebp - 0x3c]
mov word [ebp - 0x20], dx
movzx eax, word [ebp - 0x20]
xor ecx, ecx
add eax, 2
setb cl
neg ecx
or ecx, eax
push ecx
call fcn.004fd222
add esp, 4
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x411d01
xor eax, eax
jmp 0x411de3
movzx edx, word [ebp - 0x20]
add edx, 2
push edx
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp - 0x30]
call fcn.00411440
test eax, eax
jne 0x411d24
xor eax, eax
jmp 0x411de3
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x28]
mov dl, byte [ecx]
mov byte [ebp - 0x12], dl
add dword [ebp - 0x28], 1
cmp byte [ebp - 0x12], 0
jne 0x411d33
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
add ecx, 1
mov word [ebp - 0x18], cx
mov edx, dword [ebp - 0x10]
add edx, 0xc
mov dword [ebp - 0x10], edx
movzx eax, word [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.004f86d0
add esp, 0xc
movzx eax, word [ebp - 0x18]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov dx, word [ebp - 8]
mov word [ecx], dx
mov eax, dword [ebp - 0x10]
add eax, 2
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov dx, word [ebp - 0xc]
mov word [ecx], dx
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004fd207
add esp, 4
movzx ecx, word [ebp - 0x18]
add ecx, 0x10
mov word [ebp - 0x34], cx
push 0x10
lea edx, [ebp + 8]
push edx
push 0
movzx eax, word [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.WS2_32.dll_sendto]
cmp eax, 0xffffffff
jne 0x411dde
xor eax, eax
jmp 0x411de3
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f4e42
mov esp, ebp
pop ebp
ret 0x14