Function at 0x4456ef
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x534
mov eax, dword [0x5c4e68]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x3ff
lea eax, [ebp - 0x50f]
mov esi, ecx
push ebx
push eax
mov dword [ebp - 0x518], esi
mov byte [ebp - 0x510], bl
call fcn.005117f0
add esp, 0xc
cmp esi, ebx
mov dword [ebp - 0x51c], ebx
je 0x4459af
add esi, 0x1094
mov ecx, esi
mov dword [ebp - 0x520], esi
call fcn.004ccd6f
cmp eax, ebx
mov dword [ebp - 0x514], eax
jne 0x445772
push esi
push str.The_TAMS_server_could_not_be_found._nFailed_to_connect_to__s._n_nPress_any_key_to_exit...
push str.__Failed_To_Connect___
push ebx
push ebx
push ebx
push 1
call fcn.00436110
add esp, 0x1c
jmp 0x4459af
call fcn.00415b8f
test eax, eax
je 0x4457bb
xor eax, eax
push 2
inc eax
call fcn.004603fd
pop ecx
push eax
push ebx
push ebx
call fcn.00489f49
pop ecx
pop ecx
push eax
push str._sSoundsIntroTelNet_d.wav
push ebx
call fcn.004c5467
mov esi, eax
push esi
push str.:2:Last_sound_played_for_Todd_Franks_for_TelNet_session:___s_
call fcn.00426c01
add esp, 0x18
push 0x20001
push ebx
push esi
call dword [sym.imp.WINMM.dll_PlaySoundA]
jmp 0x4457c2
push ebx
call fcn.004c11ca
pop ecx
cmp dword [ebp + 8], ebx
je 0x44585c
push 0x103
lea eax, [ebp - 0x10f]
push ebx
push eax
mov byte [ebp - 0x110], bl
call fcn.005117f0
xor eax, eax
mov word [ebp - 0x530], bx
lea edi, [ebp - 0x52e]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
push 0x99c
stosw word es:[edi], ax
lea eax, [ebp - 0x530]
push str..MainPAULA.c
push eax
call fcn.004f2709
push ecx
lea esi, [ebp - 0x530]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004f0ff9
add esp, 0x10
push eax
push ebx
push ebx
call fcn.0048a119
pop ecx
pop ecx
push eax
push str._s_s_TelNetDebug.txt
lea eax, [ebp - 0x110]
push 0x104
push eax
call fcn.004c53b7
mov edi, dword [ebp - 0x514]
add esp, 0x14
lea eax, [ebp - 0x110]
push eax
call fcn.004cea27
pop ecx
mov esi, dword [ebp - 0x514]
call fcn.004cb8fa
call fcn.004ccb10
mov ebx, esi
call fcn.004cbb03
mov eax, dword [ebp - 0x518]
push dword [eax + 0xd90]
push 3
pop eax
call fcn.004608a8
pop ecx
push eax
push eax
push eax
lea eax, [ebp - 0x510]
push str._d____________________________________________________________________________d____________________________________________________________________________d
push eax
call fcn.00511173
add esp, 0x14
lea eax, [ebp - 0x510]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov bx, 0x1f
mov edi, esi
call fcn.004cbb83
mov edi, 0x132
call fcn.00414181
mov esi, str.Printer.cfg
push esi
xor ebx, ebx
push ebx
call fcn.00489f49
pop ecx
pop ecx
mov edi, eax
call fcn.0042ad00
test eax, eax
je 0x4458f7
push esi
push ebx
call fcn.00489f49
push dword [ebp - 0x514]
mov ecx, eax
call fcn.004cc69e
add esp, 0xc
test eax, eax
jne 0x445904
mov ecx, dword [ebp - 0x514]
push ebx
call fcn.004cc307
pop ecx
mov esi, dword [ebp - 0x514]
call fcn.004cb9c6
mov edi, dword [sym.imp.KERNEL32.dll_SetConsoleActiveScreenBuffer]
push eax
call edi
cmp dword [ebp + 0xc], ebx
je 0x4459d0
mov ecx, dword [ebp - 0x518]
mov eax, dword [ecx + 0x2150]
call fcn.0050c4f7
push ebx
push ebx
lea esi, [ecx + 0x149c]
push esi
push str.sales
push dword [ebp - 0x514]
call fcn.0050c50e
add esp, 0x14
cmp eax, ebx
mov dword [ebp - 0x518], eax
je 0x4459f7
push eax
push esi
push dword [ebp - 0x520]
push str.:8:TamsTelNetSession___s___FAILED:_TelNetTAMSLogon___s___FAILED:_error__ld.
call fcn.004265da
add esp, 0x10
call fcn.00412d51
push eax
call edi
push dword [ebp - 0x518]
push str.Could_not_login_to_TAMS__nLogin_error__ld_has_occurred._n_nPress_C_to_continue_anyway..._nPress__SPACE_BAR__to_exit...
push str.__TAMS_Login_Failed___
push ebx
push str._cC_27_
push ebx
push 1
call fcn.00436110
add esp, 0x1c
call fcn.004c39b2
cmp eax, 0x43
je 0x4459c0
mov eax, dword [ebp - 0x514]
call fcn.004cd2f9
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0051291c
leave
ret
mov esi, dword [ebp - 0x514]
call fcn.004cb9c6
push eax
call edi
jmp 0x4459f7
mov eax, 0x1388
push eax
push eax
push str.Log_n:
xor eax, eax
mov edi, esi
call fcn.004cdf2d
add esp, 0xc
push str.salesM
push ebx
push edi
call fcn.004cbc20
add esp, 0xc
mov ebx, dword [ebp - 0x514]
call fcn.004cbb03
call fcn.0040fcf6
test eax, eax
je 0x445be2
call fcn.0040fd9a
test eax, eax
mov dword [ebp - 0x518], eax
jne 0x445a3e
mov byte [ebp - 0x510], 0x1e
call fcn.0040fd9a
add al, 0x36
mov byte [ebp - 0x50f], al
mov byte [ebp - 0x50e], 0
jmp 0x445bcb
cmp eax, 0xe0
jne 0x445aad
call fcn.0040fd9a
mov esi, eax
cmp esi, 0x77
jne 0x445a6a
mov ecx, dword [ebp - 0x514]
xor edx, edx
call fcn.005102a1
test eax, eax
je 0x445a02
push 0x30
call dword [sym.imp.USER32.dll_MessageBeep]
cmp esi, 0x85
jne 0x445a87
push 0x554aec
push 0
push dword [ebp - 0x514]
call fcn.004cbc20
add esp, 0xc
cmp esi, 0x86
jne 0x445a02
push 0x554af0
push 0
push dword [ebp - 0x514]
call fcn.004cbc20
add esp, 0xc
jmp 0x445a02
cmp eax, 0x10
mov ebx, str.Printer.cfg
jne 0x445aff
push ebx
push 0
call fcn.00489f49
pop ecx
pop ecx
mov edi, eax
call fcn.0042ad00
test eax, eax
je 0x445ae4
push ebx
push 0
call fcn.00489f49
push dword [ebp - 0x514]
mov ecx, eax
call fcn.004cc69e
add esp, 0xc
mov esi, dword [ebp - 0x514]
call fcn.004cba03
push 0xffffffffffffffff
mov ecx, esi
mov dword [ebp - 0x51c], eax
call fcn.004cbe77
pop ecx
cmp dword [ebp - 0x518], 1
jne 0x445b3f
mov esi, dword [ebp - 0x514]
push dword [ebp - 0x51c]
mov ecx, esi
call fcn.004cbe77
pop ecx
push 1
push 0xffffffffffffffff
push dword [ebp - 0x51c]
mov eax, str.E:User_MainVirtual_PrintTelKomm_DUMP.txt
push esi
call fcn.004ce694
add esp, 0x10
call fcn.004cba03
mov dword [ebp - 0x51c], eax
cmp dword [ebp - 0x518], 0xf
jne 0x445b9e
push ebx
push 0
call fcn.00489f49
pop ecx
pop ecx
mov edi, eax
call fcn.0042ad00
test eax, eax
je 0x445b75
push ebx
push 0
call fcn.00489f49
push dword [ebp - 0x514]
mov ecx, eax
call fcn.004cc69e
add esp, 0xc
mov ecx, dword [ebp - 0x514]
push 1
call fcn.004cc307
test eax, eax
pop ecx
je 0x445bb8
push ebx
push 0
call fcn.00489f49
mov esi, dword [ebp - 0x514]
push eax
call fcn.004cc4d3
add esp, 0xc
push 0xa
pop eax
cmp dword [ebp - 0x518], eax
je 0x445bb2
cmp dword [ebp - 0x518], 0xd
jne 0x445bb8
mov dword [ebp - 0x518], eax
mov al, byte [ebp - 0x518]
mov byte [ebp - 0x510], al
mov byte [ebp - 0x50f], 0
lea eax, [ebp - 0x510]
push eax
push 0
push dword [ebp - 0x514]
call fcn.004cbc20
add esp, 0xc
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x445a02