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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x940
push esi
push edi
lea edi, [ebp - 0x940]
mov ecx, 0x250
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x4cfaa8]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [0x4d1fb1]
mov byte [ebp - 0x8a4], al
push 0x7f
push 0
lea ecx, [ebp - 0x8a3]
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dl, byte [0x4d1fb2]
mov byte [ebp - 0x92c], dl
push 0x7f
push 0
lea eax, [ebp - 0x92b]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [ebp - 0x934], edx
mov eax, dword [ebp - 0x934]
mov ecx, dword [eax + 0x150]
mov dword [ebp - 0x938], ecx
mov edx, dword [ebp - 0x938]
mov eax, dword [ebp - 0x938]
mov ecx, dword [edx + 0x1eb4]
sub ecx, dword [eax + 0x1eb0]
add ecx, 2
push ecx
mov edx, dword [ebp - 0x938]
add edx, 0x1cb0
push edx
push 0x3c
mov eax, dword [ebp - 0x934]
push eax
call fcn.0046f000
add esp, 0x10
mov ecx, dword [ebp - 0x938]
mov edx, dword [ecx + 0x1eb0]
movzx eax, byte [edx]
and eax, 0xff
mov dword [ebp - 0x93c], eax
mov ecx, dword [ebp - 0x938]
mov edx, dword [ecx + 0x1eb0]
add edx, 1
mov eax, dword [ebp - 0x938]
mov dword [eax + 0x1eb0], edx
mov ecx, dword [ebp - 0x93c]
mov dword [ebp - 0x940], ecx
cmp dword [ebp - 0x940], 0x18
je 0x46f604
cmp dword [ebp - 0x940], 0x23
je 0x46f6ff
cmp dword [ebp - 0x940], 0x27
je 0x46f7fa
jmp 0x46f9c9
mov edx, dword [ebp - 0x938]
add edx, 0x1c08
push edx
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 eax, dword [ebp - 0x938]
add eax, 0x1c08
push eax
push 0
push 0x18
push 0xfa
push 0xff
push 0x4cbf68
push 0x800
lea ecx, [ebp - 0x80c]
push ecx
call fcn.00442260
add esp, 0x28
mov esi, esp
push 0
mov edx, dword [ebp - 0x818]
push edx
lea eax, [ebp - 0x80c]
push eax
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + edx + 0x1a8]
push ecx
call dword [sym.imp.WS2_32.dll_send]
cmp esi, esp
call fcn.004a9923
mov dword [ebp - 0x814], eax
cmp dword [ebp - 0x814], 0
jge 0x46f6d0
mov esi, esp
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp esi, esp
call fcn.004a9923
mov dword [ebp - 0x820], eax
mov edx, dword [ebp - 0x820]
push edx
push 0x4cbf78
mov eax, dword [ebp - 0x934]
push eax
call fcn.0043e100
add esp, 0xc
mov ecx, dword [ebp - 0x818]
sub ecx, 2
push ecx
mov edx, 1
shl edx, 1
lea eax, [ebp + edx - 0x80c]
push eax
push 0x3e
mov ecx, dword [ebp - 0x934]
push ecx
call fcn.0046f000
add esp, 0x10
jmp 0x46f9c9
mov edx, dword [ebp - 0x938]
add edx, 0x1c28
push edx
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 eax, dword [ebp - 0x938]
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 ecx, [ebp - 0x80c]
push ecx
call fcn.00442260
add esp, 0x28
mov esi, esp
push 0
mov edx, dword [ebp - 0x818]
push edx
lea eax, [ebp - 0x80c]
push eax
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + edx + 0x1a8]
push ecx
call dword [sym.imp.WS2_32.dll_send]
cmp esi, esp
call fcn.004a9923
mov dword [ebp - 0x814], eax
cmp dword [ebp - 0x814], 0
jge 0x46f7cb
mov esi, esp
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp esi, esp
call fcn.004a9923
mov dword [ebp - 0x820], eax
mov edx, dword [ebp - 0x820]
push edx
push 0x4cbfa4
mov eax, dword [ebp - 0x934]
push eax
call fcn.0043e100
add esp, 0xc
mov ecx, dword [ebp - 0x818]
sub ecx, 2
push ecx
mov edx, 1
shl edx, 1
lea eax, [ebp + edx - 0x80c]
push eax
push 0x3e
mov ecx, dword [ebp - 0x934]
push ecx
call fcn.0046f000
add esp, 0x10
jmp 0x46f9c9
push 0
push 0x27
push 0xfa
push 0xff
push str._c_c_c_c
push 0x800
lea edx, [ebp - 0x80c]
push edx
call fcn.00442260
add esp, 0x1c
mov dword [ebp - 0x818], 4
mov eax, dword [ebp - 0x938]
mov ecx, dword [eax + 0x1cac]
mov dword [ebp - 8], ecx
jmp 0x46f845
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x46f8ee
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
push edx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
add eax, 1
mov dword [ebp - 0x81c], eax
mov eax, dword [ebp - 0x818]
add eax, dword [ebp - 0x81c]
cmp eax, 0x7fa
jae 0x46f8e9
lea ecx, [ebp - 0x92c]
push ecx
lea edx, [ebp - 0x8a4]
push edx
push str._127_____127s
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
call fcn.0042b5b0
add esp, 0x10
test eax, eax
je 0x46f8e9
lea edx, [ebp - 0x92c]
push edx
push 1
lea eax, [ebp - 0x8a4]
push eax
push 0
push str._c_s_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.00442260
add esp, 0x1c
mov ecx, dword [ebp - 0x818]
add ecx, dword [ebp - 0x81c]
mov dword [ebp - 0x818], ecx
jmp 0x46f83c
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.00442260
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 + 8]
mov edx, dword [ecx + eax + 0x1a8]
push edx
call dword [sym.imp.WS2_32.dll_send]
cmp esi, esp
call fcn.004a9923
mov dword [ebp - 0x814], eax
cmp dword [ebp - 0x814], 0
jge 0x46f99f
mov esi, esp
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp esi, esp
call fcn.004a9923
mov dword [ebp - 0x820], eax
mov eax, dword [ebp - 0x820]
push eax
push 0x4cbff0
mov ecx, dword [ebp - 0x934]
push ecx
call fcn.0043e100
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 - 0x934]
push edx
call fcn.0046f000
add esp, 0x10
push edx
mov ecx, ebp
push eax
lea edx, [0x46f9f8]
call fcn.004a98cf
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a93ad
add esp, 0x940
cmp ebp, esp
call fcn.004a9923
mov esp, ebp
pop ebp
ret