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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
mov dword [eax + 0x5c], 0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 8]
mov dword [edx + 0x58], 0
mov eax, dword [ebp + 0xc]
mov dword [eax + 4], 0
mov ecx, 1
imul edx, ecx, 6
mov eax, dword [ebp + 0xc]
lea ecx, [eax + edx + 0x1c]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
mov ecx, dword [edx + 0x10]
cmp ecx, dword [eax + 0x18]
jle 0x41ca5a
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
mov dword [eax + 0x58], 0xffffff34
mov eax, 1
jmp 0x41cc8b
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 8]
cmp dword [edx + 0x60], 0xa
jle 0x41ca7d
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
mov dword [ecx + 0x58], 0xffffff31
mov eax, 1
jmp 0x41cc8b
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
cmp dword [eax + 0x70], 0
je 0x41cad2
mov ecx, dword [ebp + 0xc]
cmp dword [ecx], 1
jne 0x41caa5
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp + 0xc]
lea edx, [ecx + eax + 0x1c]
mov dword [ebp - 0x14], edx
jmp 0x41cab7
mov eax, 1
imul ecx, eax, 6
mov edx, dword [ebp + 0xc]
lea eax, [edx + ecx + 0x1c]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call fcn.0041e850
add esp, 0x10
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
jne 0x41cbac
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp + 0xc]
lea ecx, [eax + edx + 0x1c]
mov dword [ebp - 4], ecx
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp - 4]
mov byte [ecx + eax], 1
mov edx, 1
shl edx, 0
mov eax, dword [ebp - 4]
mov byte [eax + edx], 0
mov ecx, dword [ebp - 8]
and ecx, 0xff
mov edx, 1
shl edx, 1
mov eax, dword [ebp - 4]
mov byte [eax + edx], cl
mov ecx, 1
imul edx, ecx, 3
mov eax, dword [ebp - 4]
mov byte [eax + edx], 0
cmp dword [ebp - 8], 0xff
jle 0x41cb56
mov ecx, dword [ebp - 8]
sar ecx, 8
and ecx, 0xff
mov edx, 1
imul eax, edx, 3
mov edx, dword [ebp - 4]
mov byte [edx + eax], cl
push 0
mov eax, dword [ebp + 0xc]
add eax, 0x1c
push eax
call fcn.0041dfd0
add esp, 8
mov ecx, 1
shl ecx, 2
mov edx, dword [ebp - 4]
mov byte [edx + ecx], al
push 5
mov eax, dword [ebp - 4]
push eax
call fcn.0041dfd0
add esp, 8
mov ecx, 1
imul edx, ecx, 5
mov ecx, dword [ebp - 4]
mov byte [ecx + edx], al
mov edx, dword [ebp - 8]
add edx, 6
mov dword [ebp - 8], edx
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 0xc]
lea eax, [edx + ecx + 0x1c]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 8]
and eax, 4
je 0x41cc00
push 0x10
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 8]
add edx, 0x8090
push edx
push 0
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
mov ecx, dword [eax + 0x80]
push ecx
call dword [sym.imp.WS2_32.dll_sendto]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jge 0x41cbfe
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x41cbfe
jmp 0x41cbba
jmp 0x41cc3e
mov dword [ebp - 0x18], 0
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
mov ecx, dword [eax + 0x80]
push ecx
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jge 0x41cc3e
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x41cc3e
jmp 0x41cc07
cmp dword [ebp - 0xc], 0xffffffff
jne 0x41cc7c
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
mov dword [eax + 0x58], 0xffffff2a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 8]
mov dword [edx + 0x5c], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0x60]
add edx, 1
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
mov dword [ecx + 0x60], edx
mov eax, 2
jmp 0x41cc8b
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
mov dword [eax + 0x60], 0
xor eax, eax
mov esp, ebp
pop ebp
ret