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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffacc
push esi
push edi
mov dword [ebp - 4], eax
mov esi, 0x4cc2d4
lea edi, [ebp - 0x110]
mov ecx, 0x41
rep movsd dword es:[edi], dword [esi]
push 0x4cd62f
call fcn.0049daf8
pop ecx
push eax
push 0x4cd62c
push 0x4cd61f
push 0x4cd606
call fcn.0049aac4
add esp, 0x10
push 0x4cd65e
call fcn.0049daf8
pop ecx
push eax
push 0x4cd65b
push 0x4cd64b
push 0x4cd632
call fcn.0049aac4
add esp, 0x10
mov esi, 0x4cc3d8
lea edi, [ebp - 0x120]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
mov esi, 0x4cc3e8
lea edi, [ebp - 0x130]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x120]
push eax
lea edx, [ebp + 0x346]
push edx
call fcn.0049b334
add esp, 8
lea ecx, [ebp - 0x130]
push ecx
lea eax, [ebp + 0x378]
push eax
call fcn.0049b334
add esp, 8
push 0
push 0x4cd677
call fcn.0049daf8
pop ecx
push eax
push 0x4cd661
push 0x10
lea edx, [ebp - 0x120]
push edx
lea ecx, [ebp - 0x120]
push ecx
call fcn.0046c708
add esp, 0x18
push 0
push 0x4cd6a3
call fcn.0049daf8
pop ecx
push eax
push 0x4cd68d
push 0x10
lea eax, [ebp - 0x130]
push eax
lea edx, [ebp - 0x130]
push edx
call fcn.0046c708
add esp, 0x18
push 0x10
lea ecx, [ebp - 0x120]
push ecx
push 0x4cd6d2
push 0x4cd6b9
call fcn.0049ab3c
add esp, 0x10
push 0x10
lea eax, [ebp - 0x130]
push eax
push 0x4cd6f9
push 0x4cd6e0
call fcn.0049ab3c
add esp, 0x10
mov edx, dword [ebp - 4]
add edx, 0xb24
lea eax, [ebp + 0x7c0]
call fcn.0048434c
mov edx, dword [sym.terminal.exe__MainForm]
mov ecx, dword [edx]
add ecx, 0xd7d
push ecx
lea eax, [ebp + 0x8c4]
push eax
call fcn.0049dac8
add esp, 8
mov esi, 0x4cc3f8
lea edi, [ebp - 0x234]
mov ecx, 0x41
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x234]
push eax
mov edx, dword [sym.terminal.exe__MainForm]
push dword [edx]
call fcn.00404c80
add esp, 8
push 0x738
lea ecx, [ebp + 0x3ac]
push ecx
mov eax, dword [sym.terminal.exe__MainForm]
push dword [eax]
call fcn.00404bf4
pop ecx
push eax
lea edx, [ebp - 0x234]
push edx
call fcn.0040bfc8
add esp, 0x10
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
test ecx, ecx
jle 0x40e893
push 0
push 0x3a2
lea eax, [ebp + 8]
push eax
push dword [ebp - 8]
call sub.WSOCK32.DLL_send
mov edx, dword [ebp - 4]
add edx, 0x724
push edx
push 0x4cd707
lea ecx, [ebp - 0x110]
push ecx
call fcn.0040d5c4
add esp, 0xc
mov eax, dword [ebp - 8]
test eax, eax
jle 0x40e982
push 5
push 0x4cd713
push dword [ebp - 8]
call fcn.0040c6a0
add esp, 0xc
test eax, eax
jl 0x40e982
push 5
push 0x300
lea edx, [ebp - 0x534]
push edx
push dword [ebp - 8]
call fcn.0040ce4c
add esp, 0x10
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
cmp ecx, 0x300
jne 0x40e948
push dword [ebp - 8]
call sub.WSOCK32.DLL_closesocket
push 0x40
lea eax, [ebp - 0x110]
push eax
mov edx, dword [ebp - 4]
add edx, 0x724
push edx
push str.PROMPT_SEND_APPLY_SUCCEED
mov ecx, dword [ebp - 4]
add ecx, 0x324
push ecx
call fcn.0040d5c4
add esp, 0xc
push eax
mov eax, dword [ebp - 4]
call fcn.0044a5e4
push eax
call sub.USER32.DLL_MessageBoxA
mov eax, dword [ebp - 4]
call fcn.00434ce0
jmp 0x40e9c2
push 0x40
lea edx, [ebp - 0x110]
push edx
mov ecx, dword [ebp - 4]
add ecx, 0x724
push ecx
push 0x4cd72f
mov eax, dword [ebp - 4]
add eax, 0x324
push eax
call fcn.0040d5c4
add esp, 0xc
push eax
mov eax, dword [ebp - 4]
call fcn.0044a5e4
push eax
call sub.USER32.DLL_MessageBoxA
jmp 0x40e9ba
push 0x40
lea edx, [ebp - 0x110]
push edx
mov ecx, dword [ebp - 4]
add ecx, 0x724
push ecx
push 0x4cd743
mov eax, dword [ebp - 4]
add eax, 0x324
push eax
call fcn.0040d5c4
add esp, 0xc
push eax
mov eax, dword [ebp - 4]
call fcn.0044a5e4
push eax
call sub.USER32.DLL_MessageBoxA
push dword [ebp - 8]
call sub.WSOCK32.DLL_closesocket
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xadc