Function at 0x451de3
Capabilities:
Terminate process

Disassembly:
push 0x110
push 0x4815b0
call fcn.004698d0
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x120], ebx
mov byte [ebp - 0x11c], bl
push 0xff
push ebx
lea eax, [ebp - 0x11b]
push eax
call fcn.00401f80
add esp, 0xc
mov dword [ebp - 4], ebx
cmp esi, ebx
je 0x451e76
cmp dword [ebp + 0xc], ebx
je 0x451e43
mov edi, dword [0x49dde0]
cmp edi, ebx
jne 0x451e3a
mov dword [ebp - 4], 0xfffffffe
jmp 0x4520fa
mov ebx, esi
call fcn.0042f069
jmp 0x451e2e
mov eax, dword [0x49dde0]
cmp eax, ebx
jne 0x451e5a
call fcn.0042edb6
mov dword [0x49dde0], eax
cmp eax, ebx
je 0x451e2e
mov ebx, esi
mov edi, eax
call fcn.0042ef48
test eax, eax
jne 0x451e2e
push esi
mov ebx, dword [0x49dde0]
call fcn.0042ed65
pop ecx
jmp 0x451e2e
cmp dword [0x577a4c], ebx
jle 0x451e88
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x451e76
inc dword [0x577a4c]
push str._nCleaning_up...
call fcn.0045dbd8
pop ecx
xor ecx, ecx
call fcn.0044696a
call fcn.0042bae7
test eax, eax
je 0x451eae
call fcn.0046273d
call fcn.004182de
mov dword [ebp - 0x120], eax
push str._nStopping_PAULA_session_flag...
call fcn.0045dbd8
call fcn.0042bbff
mov edi, 0x4721bc
push edi
call fcn.0045dbd8
push str._nSaving_session...
call fcn.0045dbd8
mov esi, str.Counting_Dumps_
push esi
push ebx
call fcn.0043b1b7
push eax
call fcn.00457831
add esp, 0x18
test eax, eax
je 0x451f06
push esi
push ebx
call fcn.0043b1b7
pop ecx
pop ecx
mov ecx, eax
call fcn.00459dff
push edi
call fcn.0045dbd8
mov dword [esp], str._nStopping_TelNet_sessions...
call fcn.0045dbd8
call fcn.0045afb9
call fcn.0042693e
call fcn.0045afa1
call fcn.00444a7e
push edi
call fcn.0045dbd8
push str._nPerforming_misc_cleanup...
call fcn.0045dbd8
push 0x64
pop eax
call fcn.0045ee48
mov ecx, 0x470c5c
call fcn.0045d3e7
push 4
call fcn.0045f97a
push edi
call fcn.0045dbd8
push str._nClosing_FTP...
call fcn.0045dbd8
push edi
call fcn.0045dbd8
push str._nDeleting_String_Lists...
call fcn.0045dbd8
lea eax, [ebp - 0x11c]
push eax
call fcn.00427a5b
push edi
call fcn.0045dbd8
push str._nDeleting_invoice_archive...
call fcn.0045dbd8
call fcn.0043da05
push edi
call fcn.0045dbd8
push str._nDeleting_Message_Handles...
call fcn.0045dbd8
call fcn.00463f33
push edi
call fcn.0045dbd8
add esp, 0x38
cmp dword [0x49dde4], ebx
je 0x451fce
push str._nRestoring_Volume...
call fcn.0045dbd8
push edi
call fcn.0045dbd8
pop ecx
pop ecx
push str._nDeleting_Sounds...
call fcn.0045dbd8
call fcn.00462bc2
xor eax, eax
call fcn.00462213
push edi
call fcn.0045dbd8
push str._nDeleting_Printer_Handles...
call fcn.0045dbd8
call fcn.004381fe
push edi
call fcn.0045dbd8
push str._nDeleting_Console_Fields...
call fcn.0045dbd8
push edi
call fcn.0045dbd8
push str._nDeleting_Sprites...
call fcn.0045dbd8
call fcn.0042ba6a
push edi
call fcn.0045dbd8
add esp, 0x20
cmp dword [0x49dde0], ebx
je 0x45206b
push str._nDeleting_PAULA_objects...
call fcn.0045dbd8
pop ecx
call fcn.0042f0e6
cmp eax, ebx
je 0x45204f
call fcn.0045030e
push 0x46f60c
jmp 0x452034
mov esi, dword [0x49dde0]
cmp esi, ebx
je 0x452064
call fcn.0042ed79
mov dword [0x49dde0], ebx
push edi
call fcn.0045dbd8
pop ecx
push str._nFreeing_console_window...
call fcn.0045dbd8
call fcn.0042e789
mov esi, str.Done.
push esi
call fcn.0045dbd8
push str._nClosing_Console_Tools...
call fcn.0045dbd8
push esi
call fcn.0045dbd8
push str._nFreeing_misc_resources...
call fcn.0045dbd8
push ebx
call fcn.0045f0d4
push esi
call fcn.0045dbd8
push str._n_nClean_up_is_complete.
call fcn.0045dbd8
add esp, 0x20
dec dword [0x577a4c]
jmp 0x4520c7
mov dword [ebp - 4], 0xfffffffe
call fcn.0045dc4a
test eax, eax
jne 0x4520fa
call fcn.004182de
mov esi, 0x2ee
jmp 0x4520f0
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.004182de
sub eax, dword [ebp - 0x120]
cmp eax, esi
jb 0x4520e3
call fcn.00469918
ret