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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x838
push esi
push edi
lea edi, [ebp - 0x838]
mov ecx, 0x20e
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x4b965c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x11c]
mov dword [ebp - 0x820], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x824], eax
mov ecx, dword [ebp - 0x820]
mov edx, dword [ebp - 0x820]
mov eax, dword [ecx + 0x1eb8]
sub eax, dword [edx + 0x1eb4]
add eax, 2
push eax
mov ecx, dword [ebp - 0x820]
add ecx, 0x1cb4
push ecx
push 0x3c
mov edx, dword [ebp + 8]
push edx
call fcn.0046fee0
add esp, 0x10
mov eax, dword [ebp - 0x820]
mov ecx, dword [eax + 0x1eb4]
movzx edx, byte [ecx]
and edx, 0xff
mov dword [ebp - 0x834], edx
mov eax, dword [ebp - 0x820]
mov ecx, dword [eax + 0x1eb4]
add ecx, 1
mov edx, dword [ebp - 0x820]
mov dword [edx + 0x1eb4], ecx
mov eax, dword [ebp - 0x834]
mov dword [ebp - 0x838], eax
cmp dword [ebp - 0x838], 0x18
je 0x470493
cmp dword [ebp - 0x838], 0x23
je 0x47058c
cmp dword [ebp - 0x838], 0x27
je 0x470685
jmp 0x4708ad
mov ecx, dword [ebp - 0x820]
add ecx, 0x1c08
push ecx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
add eax, 6
mov dword [ebp - 0x818], eax
push 0xf0
push 0xff
mov edx, dword [ebp - 0x820]
add edx, 0x1c08
push edx
push 0
push 0x18
push 0xfa
push 0xff
push 0x4b4ba8
push 0x800
lea eax, [ebp - 0x80c]
push eax
call fcn.00436270
add esp, 0x28
mov esi, esp
push 0
mov ecx, dword [ebp - 0x818]
push ecx
lea edx, [ebp - 0x80c]
push edx
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 0x824]
mov eax, dword [edx + ecx + 0x140]
push eax
call dword [sym.imp.WS2_32.dll_send]
cmp esi, esp
call fcn.004a09b1
mov dword [ebp - 0x814], eax
cmp dword [ebp - 0x814], 0
jge 0x470560
mov esi, esp
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp esi, esp
call fcn.004a09b1
mov dword [ebp - 0x81c], eax
mov ecx, dword [ebp - 0x81c]
push ecx
push 0x4b4bb8
mov edx, dword [ebp + 8]
push edx
call fcn.0042e770
add esp, 0xc
mov eax, dword [ebp - 0x818]
sub eax, 2
push eax
mov ecx, 1
shl ecx, 1
lea edx, [ebp + ecx - 0x80c]
push edx
push 0x3e
mov eax, dword [ebp + 8]
push eax
call fcn.0046fee0
add esp, 0x10
jmp 0x4708ad
mov ecx, dword [ebp - 0x820]
add ecx, 0x1c28
push ecx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
add eax, 6
mov dword [ebp - 0x818], eax
push 0xf0
push 0xff
mov edx, dword [ebp - 0x820]
add edx, 0x1c28
push edx
push 0
push 0x23
push 0xfa
push 0xff
push str._c_c_c_c_s_c_c
push 0x800
lea eax, [ebp - 0x80c]
push eax
call fcn.00436270
add esp, 0x28
mov esi, esp
push 0
mov ecx, dword [ebp - 0x818]
push ecx
lea edx, [ebp - 0x80c]
push edx
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 0x824]
mov eax, dword [edx + ecx + 0x140]
push eax
call dword [sym.imp.WS2_32.dll_send]
cmp esi, esp
call fcn.004a09b1
mov dword [ebp - 0x814], eax
cmp dword [ebp - 0x814], 0
jge 0x470659
mov esi, esp
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp esi, esp
call fcn.004a09b1
mov dword [ebp - 0x81c], eax
mov ecx, dword [ebp - 0x81c]
push ecx
push 0x4b4be4
mov edx, dword [ebp + 8]
push edx
call fcn.0042e770
add esp, 0xc
mov eax, dword [ebp - 0x818]
sub eax, 2
push eax
mov ecx, 1
shl ecx, 1
lea edx, [ebp + ecx - 0x80c]
push edx
push 0x3e
mov eax, dword [ebp + 8]
push eax
call fcn.0046fee0
add esp, 0x10
jmp 0x4708ad
push 0
push 0x27
push 0xfa
push 0xff
push str._c_c_c_c
push 0x800
lea ecx, [ebp - 0x80c]
push ecx
call fcn.00436270
add esp, 0x1c
mov dword [ebp - 0x818], 4
mov edx, dword [ebp - 0x820]
mov eax, dword [edx + 0x1cb0]
mov dword [ebp - 8], eax
jmp 0x4706d0
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0
je 0x4707d5
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
add eax, 1
mov dword [ebp - 0x828], eax
mov edx, dword [ebp - 0x818]
add edx, dword [ebp - 0x828]
cmp edx, 0x7fa
jae 0x4707d0
push 0x2c
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
call sub.VCRUNTIME140.dll_strchr
add esp, 8
mov dword [ebp - 0x82c], eax
cmp dword [ebp - 0x82c], 0
jne 0x470765
mov edx, dword [ebp - 8]
mov eax, dword [edx]
push eax
push 0
push str._c_s
mov ecx, 0x800
sub ecx, dword [ebp - 0x818]
push ecx
mov edx, dword [ebp - 0x818]
lea eax, [ebp + edx - 0x80c]
push eax
call fcn.00436270
add esp, 0x14
add eax, dword [ebp - 0x818]
mov dword [ebp - 0x818], eax
jmp 0x4707d0
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x82c]
sub edx, dword [ecx]
mov dword [ebp - 0x830], edx
mov eax, dword [ebp - 0x82c]
add eax, 1
mov dword [ebp - 0x82c], eax
mov ecx, dword [ebp - 0x82c]
push ecx
push 1
mov edx, dword [ebp - 8]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x830]
push ecx
push 0
push str._c_.s_c_s
mov edx, 0x800
sub edx, dword [ebp - 0x818]
push edx
mov eax, dword [ebp - 0x818]
lea ecx, [ebp + eax - 0x80c]
push ecx
call fcn.00436270
add esp, 0x20
add eax, dword [ebp - 0x818]
mov dword [ebp - 0x818], eax
jmp 0x4706c7
push 0xf0
push 0xff
push str._c_c
mov edx, 0x800
sub edx, dword [ebp - 0x818]
push edx
mov eax, dword [ebp - 0x818]
lea ecx, [ebp + eax - 0x80c]
push ecx
call fcn.00436270
add esp, 0x14
mov edx, dword [ebp - 0x818]
add edx, 2
mov dword [ebp - 0x818], edx
mov esi, esp
push 0
mov eax, dword [ebp - 0x818]
push eax
lea ecx, [ebp - 0x80c]
push ecx
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp - 0x824]
mov edx, dword [ecx + eax + 0x140]
push edx
call dword [sym.imp.WS2_32.dll_send]
cmp esi, esp
call fcn.004a09b1
mov dword [ebp - 0x814], eax
cmp dword [ebp - 0x814], 0
jge 0x470886
mov esi, esp
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp esi, esp
call fcn.004a09b1
mov dword [ebp - 0x81c], eax
mov eax, dword [ebp - 0x81c]
push eax
push 0x4b4c28
mov ecx, dword [ebp + 8]
push ecx
call fcn.0042e770
add esp, 0xc
mov edx, dword [ebp - 0x818]
sub edx, 2
push edx
mov eax, 1
shl eax, 1
lea ecx, [ebp + eax - 0x80c]
push ecx
push 0x3e
mov edx, dword [ebp + 8]
push edx
call fcn.0046fee0
add esp, 0x10
push edx
mov ecx, ebp
push eax
lea edx, [0x4708dc]
call fcn.004a095d
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a039d
add esp, 0x838
cmp ebp, esp
call fcn.004a09b1
mov esp, ebp
pop ebp
ret