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

Disassembly:
push ebp
lea ebp, [esp - 0x8a8]
sub esp, 0x928
mov eax, dword [0x4bf070]
xor eax, ebp
mov dword [ebp + 0x8a4], eax
mov al, byte [0x4cc855]
mov byte [ebp + 0x7a4], al
push 0x7f
push 0
lea eax, [ebp + 0x7a5]
push eax
call fcn.004179d0
add esp, 0xc
mov al, byte [0x4cc856]
mov byte [ebp + 0x824], al
push 0x7f
push 0
lea eax, [ebp + 0x825]
push eax
call fcn.004179d0
add esp, 0xc
mov eax, dword [ebp + 0x8b0]
mov eax, dword [eax]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov eax, dword [eax + 0x150]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x64]
mov eax, dword [eax + 0x1eb4]
sub eax, dword [ecx + 0x1eb0]
inc eax
inc eax
push eax
mov eax, dword [ebp - 0x64]
add eax, 0x1cb0
push eax
push 0x3c
push dword [ebp - 0x68]
call fcn.0047b707
add esp, 0x10
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x1eb0]
movzx eax, byte [eax]
and eax, 0xff
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x1eb0]
inc eax
mov ecx, dword [ebp - 0x64]
mov dword [ecx + 0x1eb0], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x18
je 0x47b081
cmp dword [ebp - 0x78], 0x23
je 0x47b136
cmp dword [ebp - 0x78], 0x27
je 0x47b1eb
jmp 0x47b345
mov eax, dword [ebp - 0x64]
add eax, 0x1c08
push eax
call fcn.00421050
pop ecx
add eax, 6
mov dword [ebp - 0x60], eax
push 0xf0
push 0xff
mov eax, dword [ebp - 0x64]
add eax, 0x1c08
push eax
push 0
push 0x18
push 0xfa
push 0xff
push 0x4c7e78
push 0x800
lea eax, [ebp - 0x5c]
push eax
call fcn.00466e9a
add esp, 0x28
push 0
push dword [ebp - 0x60]
lea eax, [ebp - 0x5c]
push eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp + 0x8b0]
push dword [ecx + eax + 0x1a8]
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
jge 0x47b114
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x74], eax
push dword [ebp - 0x74]
push 0x4c7e88
push dword [ebp - 0x68]
call fcn.004465bf
add esp, 0xc
mov eax, dword [ebp - 0x60]
dec eax
dec eax
push eax
xor eax, eax
inc eax
shl eax, 1
lea eax, [ebp + eax - 0x5c]
push eax
push 0x3e
push dword [ebp - 0x68]
call fcn.0047b707
add esp, 0x10
jmp 0x47b345
mov eax, dword [ebp - 0x64]
add eax, 0x1c28
push eax
call fcn.00421050
pop ecx
add eax, 6
mov dword [ebp - 0x60], eax
push 0xf0
push 0xff
mov eax, dword [ebp - 0x64]
add eax, 0x1c28
push eax
push 0
push 0x23
push 0xfa
push 0xff
push str._c_c_c_c_s_c_c
push 0x800
lea eax, [ebp - 0x5c]
push eax
call fcn.00466e9a
add esp, 0x28
push 0
push dword [ebp - 0x60]
lea eax, [ebp - 0x5c]
push eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp + 0x8b0]
push dword [ecx + eax + 0x1a8]
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
jge 0x47b1c9
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x74], eax
push dword [ebp - 0x74]
push 0x4c7eb4
push dword [ebp - 0x68]
call fcn.004465bf
add esp, 0xc
mov eax, dword [ebp - 0x60]
dec eax
dec eax
push eax
xor eax, eax
inc eax
shl eax, 1
lea eax, [ebp + eax - 0x5c]
push eax
push 0x3e
push dword [ebp - 0x68]
call fcn.0047b707
add esp, 0x10
jmp 0x47b345
push 0
push 0x27
push 0xfa
push 0xff
push 0x4c7ed0
push 0x800
lea eax, [ebp - 0x5c]
push eax
call fcn.00466e9a
add esp, 0x1c
mov dword [ebp - 0x60], 4
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x1cac]
mov dword [ebp - 0x6c], eax
jmp 0x47b22d
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x47b2b1
mov eax, dword [ebp - 0x6c]
push dword [eax]
call fcn.00421050
pop ecx
inc eax
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x60]
add eax, dword [ebp - 0x7c]
cmp eax, 0x7fa
jae 0x47b2ac
lea eax, [ebp + 0x824]
push eax
lea eax, [ebp + 0x7a4]
push eax
push str._127_____127s
mov eax, dword [ebp - 0x6c]
push dword [eax]
call fcn.004141a0
add esp, 0x10
test eax, eax
je 0x47b2ac
lea eax, [ebp + 0x824]
push eax
push 1
lea eax, [ebp + 0x7a4]
push eax
push 0
push str._c_s_c_s
mov eax, 0x800
sub eax, dword [ebp - 0x60]
push eax
mov eax, dword [ebp - 0x60]
lea eax, [ebp + eax - 0x5c]
push eax
call fcn.00466e9a
add esp, 0x1c
mov eax, dword [ebp - 0x60]
add eax, dword [ebp - 0x7c]
mov dword [ebp - 0x60], eax
jmp 0x47b224
push 0xf0
push 0xff
push 0x4c7ef8
mov eax, 0x800
sub eax, dword [ebp - 0x60]
push eax
mov eax, dword [ebp - 0x60]
lea eax, [ebp + eax - 0x5c]
push eax
call fcn.00466e9a
add esp, 0x14
mov eax, dword [ebp - 0x60]
inc eax
inc eax
mov dword [ebp - 0x60], eax
push 0
push dword [ebp - 0x60]
lea eax, [ebp - 0x5c]
push eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp + 0x8b0]
push dword [ecx + eax + 0x1a8]
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
jge 0x47b328
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x74], eax
push dword [ebp - 0x74]
push 0x4c7f00
push dword [ebp - 0x68]
call fcn.004465bf
add esp, 0xc
mov eax, dword [ebp - 0x60]
dec eax
dec eax
push eax
xor eax, eax
inc eax
shl eax, 1
lea eax, [ebp + eax - 0x5c]
push eax
push 0x3e
push dword [ebp - 0x68]
call fcn.0047b707
add esp, 0x10
mov ecx, dword [ebp + 0x8a4]
xor ecx, ebp
call fcn.0041553e
add ebp, 0x8a8
mov esp, ebp
pop ebp
ret