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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x405865
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x409008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x58], ecx
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x40], 0xf
movups xmmword [ebp - 0x3c], xmm0
mov byte [ebp - 0x54], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
mov dword [ebp - 0x24], 0xfff1
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
mov eax, 0x78787879
mov ecx, dword [0x409434]
sub ecx, dword [0x409430]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [0x409420], eax
mov edx, dword [eax*4 + 0x4064e0]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402b44
sub eax, esi
lea ecx, [ebp - 0x54]
push eax
push edx
call fcn.00403130
push 0x12
push str.hi_This_is_Server_
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x24], 0xfff9
call fcn.00403130
mov ecx, dword [0x409434]
mov eax, 0x78787879
sub ecx, dword [0x409430]
imul ecx
push 0x252
sar edx, 5
mov eax, edx
add edx, 0xa1
shr eax, 0x1f
add eax, edx
push 1
mov dword [ebp - 0x1c], eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov edi, eax
mov eax, 0xfe
lea esi, [edi + 4]
mov dword [edi], 0x252
mov ecx, dword [ebp - 0x44]
cmp ecx, eax
cmova ecx, eax
lea eax, [ebp - 0x54]
push ecx
mov byte [esi + ecx], 0
cmp dword [ebp - 0x40], 0x10
cmovae eax, dword [ebp - 0x54]
push eax
push esi
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 0x2c]
mov eax, 0xfe
cmp ecx, 0xfe
cmova ecx, eax
lea eax, [ebp - 0x3c]
push ecx
mov byte [esi + ecx + 0xff], 0
cmp dword [ebp - 0x28], 0x10
cmovae eax, dword [ebp - 0x3c]
push eax
lea eax, [esi + 0xff]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x14]
add esp, 0x20
mov dword [esi + 0x24a], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x242], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x246], eax
mov eax, dword [ebp - 0x24]
push 0
mov dword [esi + 0x1fe], eax
mov esi, dword [ebp - 0x58]
push 0x252
push edi
push dword [esi + 0x34]
call dword [sym.imp.WS2_32.dll_send]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [esi + 0x34]
add esp, 4
mov esi, dword [0x409434]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x54]
push eax
cmp esi, dword [0x409438]
je 0x402ca3
mov ecx, esi
mov dword [ebp - 0x58], esi
call fcn.00402ec0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 1
push eax
lea ecx, [esi + 0x18]
call fcn.00402ec0
mov eax, dword [ebp - 0x24]
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x34], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x38], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x3c], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x40], eax
mov byte [ebp - 4], 0
add dword [0x409434], 0x44
jmp 0x402cae
push esi
mov ecx, 0x409430
call fcn.00404340
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x4064c8
call fcn.00403710
cmp dword [ebp - 0x40], 0x10
lea edx, [ebp - 0x54]
push dword [ebp - 0x44]
cmovae edx, dword [ebp - 0x54]
mov ecx, eax
call fcn.00403c30
add esp, 4
mov edx, 0x4063f0
mov ecx, eax
push 0x403930
push dword [ebp - 0x1c]
call fcn.00403710
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int_]
mov edx, 0x4064bc
mov ecx, eax
call fcn.00403710
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea ecx, [ebp - 0x54]
call fcn.00401b00
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004049ca
mov esp, ebp
pop ebp
ret