Function at 0x44d546
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x534
mov eax, dword [0x5f2e68]
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.005306b0
add esp, 0xc
cmp esi, ebx
mov dword [ebp - 0x51c], ebx
je 0x44d806
add esi, 0x1094
mov ecx, esi
mov dword [ebp - 0x520], esi
call fcn.004d613b
cmp eax, ebx
mov dword [ebp - 0x514], eax
jne 0x44d5c9
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.0043dc3e
add esp, 0x1c
jmp 0x44d806
call fcn.004184ad
test eax, eax
je 0x44d612
xor eax, eax
push 2
inc eax
call fcn.00468c65
pop ecx
push eax
push ebx
push ebx
call fcn.00493030
pop ecx
pop ecx
push eax
push str._sSoundsIntroTelNet_d.wav
push ebx
call fcn.004ce595
mov esi, eax
push esi
push str.:2:Last_sound_played_for_Todd_Franks_for_TelNet_session:___s_
call fcn.0042bd38
add esp, 0x18
push 0x20001
push ebx
push esi
call dword [sym.imp.WINMM.dll_PlaySoundA]
jmp 0x44d619
push ebx
call fcn.004ca282
pop ecx
cmp dword [ebp + 8], ebx
je 0x44d6b3
push 0x103
lea eax, [ebp - 0x10f]
push ebx
push eax
mov byte [ebp - 0x110], bl
call fcn.005306b0
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 0x984
stosw word es:[edi], ax
lea eax, [ebp - 0x530]
push str..MainPAULA.c
push eax
call fcn.004fb92f
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.004fa177
add esp, 0x10
push eax
push ebx
push ebx
call fcn.00493154
pop ecx
pop ecx
push eax
push str._s_s_TelNetDebug.txt
lea eax, [ebp - 0x110]
push 0x104
push eax
call fcn.004ce4e5
mov edi, dword [ebp - 0x514]
add esp, 0x14
lea eax, [ebp - 0x110]
push eax
call fcn.004d7df3
pop ecx
mov esi, dword [ebp - 0x514]
call fcn.004d4cc6
call fcn.004d5edc
mov ebx, esi
call fcn.004d4ecf
mov eax, dword [ebp - 0x518]
push dword [eax + 0xd90]
push 3
pop eax
call fcn.00469110
pop ecx
push eax
push eax
push eax
lea eax, [ebp - 0x510]
push str._d____________________________________________________________________________d____________________________________________________________________________d
push eax
call fcn.00531b2f
add esp, 0x14
lea eax, [ebp - 0x510]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov bx, 0x1f
mov edi, esi
call fcn.004d4f4f
mov edi, 0x132
call fcn.00416142
mov esi, str.Printer.cfg
push esi
xor ebx, ebx
push ebx
call fcn.00493030
pop ecx
pop ecx
mov edi, eax
call fcn.00432263
test eax, eax
je 0x44d74e
push esi
push ebx
call fcn.00493030
push dword [ebp - 0x514]
mov ecx, eax
call fcn.004d5a6a
add esp, 0xc
test eax, eax
jne 0x44d75b
mov ecx, dword [ebp - 0x514]
push ebx
call fcn.004d56d3
pop ecx
mov esi, dword [ebp - 0x514]
call fcn.004d4d92
mov edi, dword [sym.imp.KERNEL32.dll_SetConsoleActiveScreenBuffer]
push eax
call edi
cmp dword [ebp + 0xc], ebx
je 0x44d827
mov ecx, dword [ebp - 0x518]
mov eax, dword [ecx + 0x2150]
call fcn.0052b5d7
push ebx
push ebx
lea esi, [ecx + 0x149c]
push esi
push str.sales
push dword [ebp - 0x514]
call fcn.0052b5ee
add esp, 0x14
cmp eax, ebx
mov dword [ebp - 0x518], eax
je 0x44d84e
push eax
push esi
push dword [ebp - 0x520]
push str.:8:TamsTelNetSession___s___FAILED:_TelNetTAMSLogon___s___FAILED:_error__ld.
call fcn.0042b70b
add esp, 0x10
call fcn.00414d12
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.0043dc3e
add esp, 0x1c
call fcn.004cca6a
cmp eax, 0x43
je 0x44d817
mov eax, dword [ebp - 0x514]
call fcn.004d66c5
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.005317e7
leave
ret
mov esi, dword [ebp - 0x514]
call fcn.004d4d92
push eax
call edi
jmp 0x44d84e
mov eax, 0x1388
push eax
push eax
push str.Log_n:
xor eax, eax
mov edi, esi
call fcn.004d72f9
add esp, 0xc
push str.salesM
push ebx
push edi
call fcn.004d4fec
add esp, 0xc
mov ebx, dword [ebp - 0x514]
call fcn.004d4ecf
call fcn.0041190c
test eax, eax
je 0x44da39
call fcn.004119b0
test eax, eax
mov dword [ebp - 0x518], eax
jne 0x44d895
mov byte [ebp - 0x510], 0x1e
call fcn.004119b0
add al, 0x36
mov byte [ebp - 0x50f], al
mov byte [ebp - 0x50e], 0
jmp 0x44da22
cmp eax, 0xe0
jne 0x44d904
call fcn.004119b0
mov esi, eax
cmp esi, 0x77
jne 0x44d8c1
mov ecx, dword [ebp - 0x514]
xor edx, edx
call fcn.0052f381
test eax, eax
je 0x44d859
push 0x30
call dword [sym.imp.USER32.dll_MessageBeep]
cmp esi, 0x85
jne 0x44d8de
push 0x5777b4
push 0
push dword [ebp - 0x514]
call fcn.004d4fec
add esp, 0xc
cmp esi, 0x86
jne 0x44d859
push 0x5777b8
push 0
push dword [ebp - 0x514]
call fcn.004d4fec
add esp, 0xc
jmp 0x44d859
cmp eax, 0x10
mov ebx, str.Printer.cfg
jne 0x44d956
push ebx
push 0
call fcn.00493030
pop ecx
pop ecx
mov edi, eax
call fcn.00432263
test eax, eax
je 0x44d93b
push ebx
push 0
call fcn.00493030
push dword [ebp - 0x514]
mov ecx, eax
call fcn.004d5a6a
add esp, 0xc
mov esi, dword [ebp - 0x514]
call fcn.004d4dcf
push 0xffffffffffffffff
mov ecx, esi
mov dword [ebp - 0x51c], eax
call fcn.004d5243
pop ecx
cmp dword [ebp - 0x518], 1
jne 0x44d996
mov esi, dword [ebp - 0x514]
push dword [ebp - 0x51c]
mov ecx, esi
call fcn.004d5243
pop ecx
push 1
push 0xffffffffffffffff
push dword [ebp - 0x51c]
mov eax, str.E:User_MainVirtual_PrintTelKomm_DUMP.txt
push esi
call fcn.004d7a60
add esp, 0x10
call fcn.004d4dcf
mov dword [ebp - 0x51c], eax
cmp dword [ebp - 0x518], 0xf
jne 0x44d9f5
push ebx
push 0
call fcn.00493030
pop ecx
pop ecx
mov edi, eax
call fcn.00432263
test eax, eax
je 0x44d9cc
push ebx
push 0
call fcn.00493030
push dword [ebp - 0x514]
mov ecx, eax
call fcn.004d5a6a
add esp, 0xc
mov ecx, dword [ebp - 0x514]
push 1
call fcn.004d56d3
test eax, eax
pop ecx
je 0x44da0f
push ebx
push 0
call fcn.00493030
mov esi, dword [ebp - 0x514]
push eax
call fcn.004d589f
add esp, 0xc
push 0xa
pop eax
cmp dword [ebp - 0x518], eax
je 0x44da09
cmp dword [ebp - 0x518], 0xd
jne 0x44da0f
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.004d4fec
add esp, 0xc
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x44d859