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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ba65f
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 0x42ff59
mov esi, 0x14
test edi, edi
je 0x42fcee
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.00495af1
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.00495b2f
mov edx, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebx], edx
add esp, 8
mov eax, dword [ebx + 8]
lea ecx, [eax + 4]
cmp ecx, dword [ebx + 4]
jle 0x42fd42
mov dword [ebx + 0x10], 1
mov ecx, eax
jmp 0x42fd5c
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 0x42fd5c
mov dword [ebx + 0xc], eax
add eax, 4
cmp eax, dword [ebx + 4]
jle 0x42fd6d
mov dword [ebx + 0x10], 1
jmp 0x42fd83
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 0x42fd83
mov dword [ebx + 0xc], ecx
lea eax, [ecx + 4]
cmp eax, dword [ebx + 4]
jle 0x42fd94
mov dword [ebx + 0x10], 1
jmp 0x42fdae
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 0x42fdae
mov dword [ebx + 0xc], ecx
test edi, edi
je 0x42fe75
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 0x42fddc
mov dword [ebx + 0x10], 1
jmp 0x42fdf2
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 0x42fdf2
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 0x42fea0
xor eax, eax
mov dword [ebp - 0x24], eax
nop dword [eax]
mov edx, dword [eax + esi]
lea eax, [ecx + 4]
cmp eax, dword [ebx + 4]
jle 0x42fe37
mov ecx, dword [ebx + 8]
mov dword [ebx + 0x10], 1
jmp 0x42fe4d
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 0x42fe4d
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 0x42fe20
jmp 0x42fea0
lea eax, [ecx + 4]
cmp eax, dword [ebx + 4]
jle 0x42fe86
mov dword [ebx + 0x10], 1
jmp 0x42fea0
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 0x42fea0
mov dword [ebx + 0xc], ecx
mov esi, dword [ebp - 0x2c]
lea eax, [ecx + 4]
cmp eax, dword [ebx + 4]
jle 0x42feb4
mov dword [ebx + 0x10], 1
jmp 0x42feca
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 0x42feca
mov dword [ebx + 0xc], ecx
lea eax, [esi + ecx]
cmp eax, dword [ebx + 4]
jle 0x42fedb
mov dword [ebx + 0x10], 1
jmp 0x42fefa
mov eax, dword [ebx]
push esi
push dword [ebp - 0x30]
add eax, ecx
push eax
call fcn.004986b0
add dword [ebx + 8], esi
add esp, 0xc
mov eax, dword [ebx + 8]
cmp dword [ebx + 0xc], eax
jge 0x42fefa
mov dword [ebx + 0xc], eax
test byte [ebp + 0x10], 1
je 0x42ff77
mov eax, dword [0x4ffd54]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x42ff45
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.00495b21
push 0x14
push ebx
call fcn.00495b21
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.004958e0
mov esp, ebp
pop ebp
ret 0x10
push dword [ebx + 0xc]
mov esi, dword [ebp - 0x34]
push dword [ebx]
mov ecx, dword [esi + 0x5c]
call fcn.00430e60
test al, al
jne 0x42ff45
lea ecx, [esi + 0x60]
call fcn.00430420
cmp al, 1
je 0x42ff45
push ebx
lea ecx, [esi + 0x60]
call fcn.00430320
jmp 0x42ff59