Function at 0x4ccd85
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x5c4e68]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
xor eax, eax
lea edi, [ebp - 0x116]
push 0x103
mov word [ebp - 0x118], bx
stosw word es:[edi], ax
lea eax, [ebp - 0x10f]
mov esi, ecx
push ebx
push eax
mov dword [ebp - 0x120], esi
mov byte [ebp - 0x110], bl
call fcn.005117f0
add esp, 0xc
mov edx, esi
call fcn.004c3b34
test eax, eax
je 0x4ccdec
push str.:7:Empty_string_was_passed_into_OpenTelNetSession__.
call fcn.00426c01
pop ecx
jmp 0x4cd271
push esi
mov ecx, 0x104
lea eax, [ebp - 0x110]
call fcn.004c3b66
pop ecx
mov esi, 0x53deb8
push esi
push eax
mov dword [ebp - 0x11c], ebx
call fcn.00512350
test eax, eax
pop ecx
pop ecx
je 0x4cce53
push esi
lea eax, [ebp - 0x114]
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x114], ebx
call fcn.004c5846
cmp eax, ebx
pop ecx
je 0x4cce53
push esi
lea eax, [ebp - 0x114]
xor ecx, ecx
call fcn.004c5846
cmp eax, ebx
pop ecx
je 0x4cce53
push eax
call fcn.00512917
pop ecx
mov dword [ebp - 0x11c], eax
mov edi, 0x6db880
mov eax, edi
call fcn.004c3ab2
push dword [ebp + 8]
lea ecx, [ebp - 0x110]
push dword [ebp - 0x11c]
call fcn.004cf90e
mov esi, eax
cmp esi, 0xffffffff
pop ecx
pop ecx
mov dword [ebp - 0x114], esi
jne 0x4ccf65
call fcn.00415b45
test eax, eax
jne 0x4cd271
call fcn.0048a53c
test eax, eax
jne 0x4cd271
call fcn.00415e85
test eax, eax
je 0x4cceb8
inc dword [0x6db9a0]
cmp dword [0x6db9a0], 3
jg 0x4cceca
push dword [ebp - 0x120]
push str.OpenTelNetSession___FAILED_to_connect_to___s_
call fcn.00426c01
pop ecx
pop ecx
call fcn.00466228
test eax, eax
je 0x4cd271
push ebx
mov esi, str.NAVAPSVC.EXE
call fcn.004111f6
test eax, eax
pop ecx
jle 0x4ccef0
push str.Norton_AntiVirus
mov eax, edi
jmp 0x4ccf35
push ebx
mov esi, str.Mcshield.exe
call fcn.004111f6
test eax, eax
pop ecx
jle 0x4ccf07
push str.McAfee_AntiVirus
jmp 0x4cceec
push ebx
mov esi, str.MsMpEng.exe
call fcn.004111f6
test eax, eax
pop ecx
jle 0x4ccf1e
push str.Windows_Defender
jmp 0x4cceec
push ebx
mov esi, str.Kavss.exe
call fcn.004111f6
test eax, eax
pop ecx
mov eax, edi
jle 0x4ccf40
push str.Kaspersky_AntiVirus
push 0x20
pop ecx
call fcn.004c3b66
pop ecx
jmp 0x4ccf45
call fcn.004c3ab2
mov edx, edi
call fcn.004c3b34
test eax, eax
jne 0x4cd271
push edi
push str.:5:_s_may_be_blocking_TAMS_TelNet_access.
call fcn.00426c01
pop ecx
jmp 0x4ccde6
push ebx
push 1
push ebx
push 3
push 0xc0000000
call dword [sym.imp.KERNEL32.dll_CreateConsoleScreenBuffer]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4ccf98
push str.OpenTelNetSession___FAILED:_Could_not_create_console_screen_buffer___GetLastError_
call fcn.004265da
pop ecx
push esi
call sub.WSOCK32.dll_closesocket
call sub.WSOCK32.dll_WSACleanup
jmp 0x4cd271
mov word [ebp - 0x118], 0x50
mov word [ebp - 0x116], 0xfb
push dword [ebp - 0x118]
mov ebx, edi
call fcn.00412aeb
test eax, eax
pop ecx
jne 0x4ccfdd
push 0xfb
push 0x50
push str.OpenTelNetSession___FAILED:_Could_not_create_screen_buffer_of_size__dx_d_
call fcn.004265da
add esp, 0xc
push esi
call sub.WSOCK32.dll_closesocket
call fcn.0042dbeb
jmp 0x4ccf8e
push 3
push edi
call dword [sym.imp.KERNEL32.dll_SetConsoleMode]
push 1
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
push 1
mov esi, 0x1050
push esi
call fcn.00511988
mov ebx, eax
test ebx, ebx
pop ecx
pop ecx
jne 0x4cd01d
push 1
push esi
push str.OpenTelNetSession___FAILED:_Could_not_calloc__d___d__
call fcn.004265da
add esp, 0xc
push dword [ebp - 0x114]
jmp 0x4ccfd1
push esi
push 0
push ebx
call fcn.005117f0
mov ecx, dword [ebp - 0x114]
and dword [ebx + 0xaa8], 0
and dword [ebx + 0xd2c], 0
add esp, 0xc
push 0x50
pop eax
mov dword [ebx + 0x104], edi
mov dword [ebx + 0xe8], eax
mov dword [ebx + 0xd8], eax
mov edi, str..TelNet.c
lea eax, [ebx + 0xb20]
push edi
push eax
mov dword [ebx + 0xec], 0xfb
mov dword [ebx + 0xacc], ecx
mov dword [ebx + 0xdc], 0x19
mov word [ebx + 0x100], 7
call fcn.0043266e
test eax, eax
pop ecx
pop ecx
jne 0x4cd098
push str.:5:OpenTelNetSession_Sub___EAP:_InitializeLock_LockParams__FAILED.
call fcn.004265da
pop ecx
mov esi, str.A_TelNet_handle_had_to_be_forced_to_unlock___
lea eax, [ebx + 0xb20]
call fcn.0043296d
mov eax, 0xfa0
lea ecx, [ebx + 0xb20]
call fcn.004329aa
lea eax, [ebx + 0xd44]
push edi
push eax
call fcn.0043266e
test eax, eax
pop ecx
pop ecx
jne 0x4cd0d6
push str.:5:OpenTelNetSession_Sub___EAP:_InitializeLock_LockParamsConsole__FAILED.
call fcn.004265da
pop ecx
lea edi, [ebx + 0xd44]
mov esi, str.A_TelNet_handles_CONSOLE_had_to_be_forced_to_unlock___
mov eax, edi
call fcn.0043296d
mov eax, 0xbb8
mov ecx, edi
call fcn.004329aa
push 0x50
lea eax, [ebp - 0x110]
push ebx
push eax
call fcn.00467d56
add esp, 0xc
test eax, eax
jne 0x4cd12f
lea eax, [ebp - 0x110]
push eax
push str.:4:OpenTelNetSession__:_ResolveHostNameToIP___s___FAILED.
call fcn.00426c01
lea eax, [ebp - 0x110]
push eax
push 0x50
pop ecx
mov eax, ebx
call fcn.004c3b66
add esp, 0xc
mov eax, dword [ebp - 0x11c]
xor edi, edi
mov dword [ebx + 0x54], eax
mov esi, 0x61a80
mov dword [ebx + 0xa80], edi
mov dword [ebx + 0xa84], edi
lea eax, [esi + 1]
push eax
push 1
call fcn.00511988
cmp eax, edi
pop ecx
pop ecx
mov dword [ebx + 0xa80], eax
je 0x4cd179
lea eax, [esi + 1]
push eax
push 4
call fcn.00511988
cmp eax, edi
pop ecx
pop ecx
mov dword [ebx + 0xa84], eax
jne 0x4cd1d9
mov eax, dword [ebx + 0xa80]
shr esi, 1
cmp eax, edi
je 0x4cd192
push eax
call fcn.00511758
pop ecx
mov dword [ebx + 0xa80], edi
mov eax, dword [ebx + 0xa84]
cmp eax, edi
je 0x4cd1a9
push eax
call fcn.00511758
pop ecx
mov dword [ebx + 0xa84], edi
cmp esi, 0x9c40
jb 0x4cd25f
push esi
push 0x50
pop ecx
xor edx, edx
mov eax, esi
div ecx
push 0x19
pop ecx
xor edx, edx
div ecx
push eax
push str.OpenTelNetSession___could_not_create_a__ld_page_receive_buffer_of_size__ld_bytes:__OUT_OF_MEMORY__
call fcn.00426c01
add esp, 0xc
jmp 0x4cd14b
mov dword [ebx + 0xa88], esi
mov dword [ebx + 0xa8c], edi
mov dword [eax + esi*4 - 4], edi
mov eax, dword [0x6db870]
cmp eax, edi
mov dword [ebx + 0xd0], edi
mov dword [ebx + 0xd4], edi
jne 0x4cd208
call fcn.004a8f27
mov dword [0x6db870], eax
push ebx
call fcn.004a9020
pop ecx
mov eax, ebx
call fcn.004cf6f8
test eax, eax
jne 0x4cd24f
mov eax, ebx
call fcn.004cd2f9
mov eax, dword [0x6db870]
call fcn.004a9192
mov esi, dword [0x6db870]
call fcn.004a93f4
test eax, eax
jg 0x4cd271
push dword [0x6db870]
call fcn.004a8fca
and dword [0x6db870], 0
pop ecx
jmp 0x4cd271
mov esi, ebx
call fcn.004cd2b7
call fcn.004cba84
mov eax, ebx
jmp 0x4cd273
push str.OpenTelNetSession___FAILED:_Could_not_create_20_page_data_receive_buffer:__OUT_OF_MEMORY__
call fcn.004265da
pop ecx
mov eax, ebx
call fcn.004cd2f9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0051291c
leave
ret