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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push esi
push edi
lea edi, [ebp - 0x4c]
mov ecx, 0x13
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x5a2184]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x18], 0
jmp 0x4f54a6
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp + 0x10]
jge 0x4f54e0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + edx*8 + 4]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x10], 0xffffffff
jbe 0x4f54de
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
jmp 0x4f54c4
jmp 0x4f549d
cmp dword [ebp - 0x14], 0x32
jg 0x4f5518
mov edx, dword [ebp - 0x14]
shl edx, 3
add edx, 0x24
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
call fcn.005299b0
mov dword [ebp - 0x44], esp
lea eax, [ebp - 0x38]
push eax
mov edx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x44]
call fcn.005235c9
add dword [ebp - 0x44], 0x20
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x48], ecx
jmp 0x4f552a
mov edx, dword [ebp - 0x14]
shl edx, 3
push edx
call fcn.0052658c
add esp, 4
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x4f5540
mov eax, 0xc
jmp 0x4f5666
mov dword [ebp - 0x18], 0
jmp 0x4f5552
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp + 0x10]
jge 0x4f55df
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + eax*8]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + eax*8 + 4]
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0xffffffff
jbe 0x4f55ab
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
mov dword [ecx + eax*8 + 4], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + eax*8], 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x30]
sub eax, 1
mov dword [ebp - 0x30], eax
jmp 0x4f55cb
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
mov dword [edx + ecx*8 + 4], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x10]
mov dword [edx + ecx*8], eax
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x10], 0
ja 0x4f5577
jmp 0x4f5549
mov esi, esp
push 0
push 0
push 0
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.WS2_32.dll_WSASend]
cmp esi, esp
call fcn.0052354c
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x4f5649
mov esi, esp
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp esi, esp
call fcn.0052354c
test eax, eax
jne 0x4f562c
mov dword [ebp - 0x4c], 0
jmp 0x4f5643
mov esi, esp
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp esi, esp
call fcn.0052354c
add eax, 0xafc80
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 8], ecx
cmp dword [ebp - 0x14], 0x32
jle 0x4f565b
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00523494
add esp, 4
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
mov eax, dword [ebp - 8]
push edx
mov ecx, ebp
push eax
lea edx, [0x4f5690]
push dword [ebp - 0x38]
call fcn.005235f6
pop eax
pop edx
lea esp, [ebp - 0x54]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00522672
mov esp, ebp
pop ebp
ret 0x10