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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ba80f
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4eac74]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x34], eax
cmp dword [eax + 0x5c], 0
mov ecx, dword [ebp + 8]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x30], ecx
je 0x42feab
mov esi, 0x14
test edi, edi
je 0x42fc4e
mov ecx, dword [edi + 4]
mov eax, 0x66666667
sub ecx, dword [edi]
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea esi, [eax*4 + 0x14]
push 0x14
call fcn.00495ca1
mov ebx, eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], 0
add esi, dword [ebp - 0x2c]
mov dword [ebx + 4], esi
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
lea eax, [esi + 4]
push eax
call fcn.00495cdf
mov edx, eax
add esp, 8
mov dword [ebx], edx
mov eax, dword [ebx + 8]
lea ecx, [eax + 4]
cmp ecx, dword [ebx + 4]
jle 0x42fc9b
mov dword [ebx + 0x10], 1
mov ecx, eax
jmp 0x42fcb5
mov dword [eax + edx], 0xdeadbeef
mov eax, dword [ebx + 8]
add eax, 4
mov ecx, eax
mov dword [ebx + 8], eax
cmp dword [ebx + 0xc], eax
jge 0x42fcb5
mov dword [ebx + 0xc], eax
add eax, 4
cmp eax, dword [ebx + 4]
jle 0x42fcc6
mov dword [ebx + 0x10], 1
jmp 0x42fcdc
mov eax, dword [ebx]
mov dword [eax + ecx], esi
mov ecx, dword [ebx + 8]
add ecx, 4
mov dword [ebx + 8], ecx
cmp dword [ebx + 0xc], ecx
jge 0x42fcdc
mov dword [ebx + 0xc], ecx
lea eax, [ecx + 4]
cmp eax, dword [ebx + 4]
jle 0x42fced
mov dword [ebx + 0x10], 1
jmp 0x42fd07
mov eax, dword [ebx]
mov dword [eax + ecx], 2
mov ecx, dword [ebx + 8]
add ecx, 4
mov dword [ebx + 8], ecx
cmp dword [ebx + 0xc], ecx
jge 0x42fd07
mov dword [ebx + 0xc], ecx
test edi, edi
je 0x42fdc7
mov edx, dword [edi + 4]
mov eax, 0x66666667
sub edx, dword [edi]
imul edx
lea eax, [ecx + 4]
sar edx, 1
mov esi, edx
shr esi, 0x1f
add esi, edx
cmp eax, dword [ebx + 4]
jle 0x42fd35
mov dword [ebx + 0x10], 1
jmp 0x42fd4b
mov eax, dword [ebx]
mov dword [eax + ecx], esi
mov ecx, dword [ebx + 8]
add ecx, 4
mov dword [ebx + 8], ecx
cmp dword [ebx + 0xc], ecx
jge 0x42fd4b
mov dword [ebx + 0xc], ecx
mov esi, dword [edi]
xor edx, edx
mov dword [ebp - 0x28], edx
mov eax, 0x66666667
mov edx, dword [edi + 4]
sub edx, esi
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x42fdf2
xor eax, eax
mov dword [ebp - 0x24], eax
mov edx, dword [eax + esi]
lea eax, [ecx + 4]
cmp eax, dword [ebx + 4]
jle 0x42fd89
mov ecx, dword [ebx + 8]
mov dword [ebx + 0x10], 1
jmp 0x42fd9f
mov eax, dword [ebx]
mov dword [eax + ecx], edx
mov ecx, dword [ebx + 8]
add ecx, 4
mov dword [ebx + 8], ecx
cmp dword [ebx + 0xc], ecx
jge 0x42fd9f
mov dword [ebx + 0xc], ecx
mov edx, dword [edi + 4]
mov eax, 0x66666667
mov esi, dword [edi]
sub edx, esi
inc dword [ebp - 0x28]
add dword [ebp - 0x24], 5
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
jb 0x42fd72
jmp 0x42fdf2
lea eax, [ecx + 4]
cmp eax, dword [ebx + 4]
jle 0x42fdd8
mov dword [ebx + 0x10], 1
jmp 0x42fdf2
mov eax, dword [ebx]
mov dword [eax + ecx], 0
mov ecx, dword [ebx + 8]
add ecx, 4
mov dword [ebx + 8], ecx
cmp dword [ebx + 0xc], ecx
jge 0x42fdf2
mov dword [ebx + 0xc], ecx
mov esi, dword [ebp - 0x2c]
lea eax, [ecx + 4]
cmp eax, dword [ebx + 4]
jle 0x42fe06
mov dword [ebx + 0x10], 1
jmp 0x42fe1c
mov eax, dword [ebx]
mov dword [eax + ecx], esi
mov ecx, dword [ebx + 8]
add ecx, 4
mov dword [ebx + 8], ecx
cmp dword [ebx + 0xc], ecx
jge 0x42fe1c
mov dword [ebx + 0xc], ecx
lea eax, [ecx + esi]
cmp eax, dword [ebx + 4]
jle 0x42fe2d
mov dword [ebx + 0x10], 1
jmp 0x42fe4c
mov eax, dword [ebx]
push esi
push dword [ebp - 0x30]
add eax, ecx
push eax
call fcn.00498860
add dword [ebx + 8], esi
add esp, 0xc
mov eax, dword [ebx + 8]
cmp dword [ebx + 0xc], eax
jge 0x42fe4c
mov dword [ebx + 0xc], eax
test byte [ebp + 0x10], 1
je 0x42fec9
mov eax, dword [0x4ffd54]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x42fe97
mov ecx, dword [ebp - 0x34]
mov eax, 2
mov esi, dword [ebx + 0xc]
mov edi, dword [ebx]
mov word [ebp - 0x20], ax
mov eax, dword [ecx + 0x28]
push dword [ecx + 0x24]
mov dword [ebp - 0x1c], eax
call dword [sym.imp.WS2_32.dll_htons]
push 0x10
mov word [ebp - 0x1e], ax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x30]
push 0
push esi
push edi
push dword [eax]
call dword [sym.imp.WS2_32.dll_sendto]
push 1
push dword [ebx]
call fcn.00495cd1
push 0x14
push ebx
call fcn.00495cd1
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00495a90
mov esp, ebp
pop ebp
ret 0x10
mov esi, dword [ebp - 0x34]
push 0
push dword [ebx + 0xc]
mov eax, dword [esi + 0x5c]
push dword [ebx]
push dword [eax]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x42fe97
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
lea ecx, [esi + 0x60]
call fcn.00430370
cmp al, 1
je 0x42fe97
push ebx
lea ecx, [esi + 0x60]
call fcn.00430270
jmp 0x42feab