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

Disassembly:
mov eax, 0x50d4
call fcn.004c6360
mov eax, dword [0x54e864]
xor eax, esp
mov dword [esp + 0x50d0], eax
mov eax, dword [esp + 0x50e0]
push ebx
push ebp
mov ebp, dword [esp + 0x50e0]
push esi
push edi
mov edi, dword [esp + 0x50f4]
push 0x5000
lea ecx, [esp + 0xe4]
push 0
push ecx
mov dword [esp + 0x20], eax
call sub.MSVCR100.dll_memset
mov esi, dword [sym.imp.MSVCR100.dll_rand]
add esp, 0xc
call esi
cdq
mov ecx, 0xe
idiv ecx
lea ebx, [edx + 0x11]
mov byte [esp + 0x13], bl
call esi
and eax, 0x800000ff
jns 0x46fec3
dec eax
or eax, 0xffffff00
inc eax
mov ecx, ebp
mov byte [esp + 0x12], al
mov byte [esp + 0xe0], bl
mov byte [esp + 0xe1], al
call fcn.00464db0
mov bl, byte [esp + 0x50ec]
cmp eax, 0x5a0
jne 0x46ff05
movzx edx, bl
mov word [esp + 0xe2], di
mov dword [esp + 0xe4], edx
lea esi, [esp + 0xe8]
jmp 0x46ff3e
lea eax, [edi + 9]
mov ecx, 0xffff
mov word [esp + 0xe2], ax
mov word [esp + 0xe4], cx
mov dword [esp + 0xe6], 0
mov byte [esp + 0xea], bl
mov word [esp + 0xeb], di
lea esi, [esp + 0xed]
test edi, edi
je 0x46ff53
mov edx, dword [esp + 0x14]
push edi
push edx
push esi
call sub.MSVCR100.dll_memcpy
add esp, 0xc
add esi, edi
movzx eax, byte [esp + 0x12]
movzx ecx, byte [esp + 0x13]
push eax
lea eax, [esp + 0xe4]
sub ecx, 0x10
mov edx, esi
push ecx
sub edx, eax
sub edx, 4
push edx
lea ecx, [esp + 0xf0]
push ecx
call fcn.00457de0
lea eax, [esp + 0xf0]
mov dx, si
sub dx, ax
movzx ecx, dx
push ecx
mov edx, eax
push edx
call fcn.0042a430
mov byte [esi], al
add esp, 0x18
lea eax, [esp + 0xe0]
inc esi
push 0
sub esi, eax
mov ecx, eax
push esi
push ecx
mov ecx, ebp
call fcn.00464c90
push eax
call dword [sym.imp.WSOCK32.dll_send]
cmp eax, esi
jne 0x46ffc5
mov al, 1
jmp 0x4700e0
cmp eax, 0xffffffff
jne 0x47009f
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push 0
push 0xc8
lea edx, [esp + 0x20]
push edx
push 0
mov esi, eax
push esi
push 0
push 0x1000
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
test eax, eax
je 0x47005e
lea eax, [esp + 0x18]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x470000
sub eax, edx
cmp eax, 2
jb 0x470012
mov byte [esp + eax + 0x16], cl
test edi, edi
je 0x470045
lea eax, [esp + 0x18]
push eax
mov ecx, ebp
call fcn.00464c90
mov ecx, dword [esp + 0x18]
movzx edx, byte [ecx]
push eax
push edi
push edx
movzx eax, bl
push eax
push esi
push str.Red:_Error__d_enviando_mensaje__d___d__de__d_bytes_a_la_conexion__d.__s
push 0
call fcn.0042a000
add esp, 0x20
jmp 0x4700de
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebp
call fcn.00464c90
push eax
movzx edx, bl
push edx
push esi
push str.Red:_Error__d_enviando_mensaje__d_a_la_conexion__d.__s
jmp 0x4700d4
mov ecx, ebp
call fcn.00464c90
push eax
test edi, edi
je 0x470089
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax]
push edi
push ecx
movzx edx, bl
push edx
push esi
push str.Red:_Error__d_enviando_mensaje__d___d__de__d_bytes_a_la_conexion__d.
push 0
call fcn.0042a000
add esp, 0x1c
jmp 0x4700de
movzx eax, bl
push eax
push esi
push str.Red:_Error__d_enviando_mensaje__d_a_la_conexion__d.
push 0
call fcn.0042a000
add esp, 0x14
jmp 0x4700de
push esi
mov ecx, ebp
push eax
call fcn.00464c90
push eax
test edi, edi
je 0x4700cb
mov ecx, dword [esp + 0x20]
movzx edx, byte [ecx]
push edi
push edx
movzx eax, bl
push eax
push str.Red:_Error_enviando_mensaje__d___d__de__d_bytes_a_la_conexion__d._No_se_ha_enviado_toda_la_informacion___d__d_.
push 0
call fcn.0042a000
add esp, 0x20
jmp 0x4700de
movzx ecx, bl
push ecx
push str.Red:_Error_enviando_mensaje__d_a_la_conexion__d._No_se_ha_enviado_toda_la_informacion___d__d_.
push 0
call fcn.0042a000
add esp, 0x18
xor al, al
mov ecx, dword [esp + 0x50e0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004c6212
add esp, 0x50d4
ret 0x10