Function at 0x434eca
Capabilities:
Terminate process

Disassembly:
push 0x110
push 0x4ff930
call fcn.004c129c
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.004a8c80
add esp, 0xc
mov dword [ebp - 4], ebx
cmp esi, ebx
je 0x434f5d
cmp dword [ebp + 0xc], ebx
je 0x434f2a
mov edi, dword [0x51c5f0]
cmp edi, ebx
jne 0x434f21
mov dword [ebp - 4], 0xfffffffe
jmp 0x43523a
mov ebx, esi
call fcn.0046a598
jmp 0x434f15
mov eax, dword [0x51c5f0]
cmp eax, ebx
jne 0x434f41
call fcn.0046a3c9
mov dword [0x51c5f0], eax
cmp eax, ebx
je 0x434f15
mov ebx, esi
mov edi, eax
call fcn.0046a752
test eax, eax
jne 0x434f15
push esi
mov ebx, dword [0x51c5f0]
call fcn.0046a47b
pop ecx
jmp 0x434f15
cmp dword [0x5f6374], ebx
jle 0x434f6f
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x434f5d
inc dword [0x5f6374]
push str._nCleaning_up...
call fcn.00410436
pop ecx
xor ecx, ecx
call fcn.0043d9a2
call fcn.00473333
test eax, eax
je 0x434f98
push 1
call fcn.004760af
pop ecx
call fcn.0049a965
mov dword [ebp - 0x120], eax
push str._nStopping_PAULA_session_flag...
call fcn.00410436
call fcn.00473389
mov edi, 0x4d72ec
push edi
call fcn.00410436
push str._nSaving_session...
call fcn.00410436
mov esi, str.Counting_Dumps_
push esi
push ebx
call fcn.0045ba18
push eax
call fcn.00419eca
add esp, 0x18
test eax, eax
je 0x434ff0
push esi
push ebx
call fcn.0045ba18
pop ecx
pop ecx
mov ecx, eax
call fcn.004190f8
push 0x3a02
mov esi, str..MainPAULA.c
push esi
push 0x999
call fcn.00445dad
push 0x3a03
push esi
push 0x400
call fcn.0044337f
push edi
call fcn.00410436
push str._nStopping_TelNet_sessions...
call fcn.00410436
call fcn.0044f743
push edi
call fcn.00410436
push str._nPerforming_misc_cleanup...
call fcn.00410436
push 0x64
pop eax
call fcn.0040d28d
mov ecx, 0x4db038
call fcn.0040d2e3
push 4
call fcn.0040e927
call fcn.0040ab1f
push edi
call fcn.00410436
push str._nClosing_FTP...
call fcn.00410436
push ebx
push 0xfa
push ebx
push ebx
push 1
call fcn.0043ec18
add esp, 0x48
push edi
call fcn.00410436
mov dword [esp], str._nDeleting_String_Lists...
call fcn.00410436
lea eax, [ebp - 0x11c]
push eax
call fcn.0047a774
push edi
call fcn.00410436
push str._nDeleting_invoice_archive...
call fcn.00410436
call fcn.00459b2b
push edi
call fcn.00410436
push str._nDeleting_Message_Handles...
call fcn.00410436
call fcn.0043c897
push edi
call fcn.00410436
add esp, 0x1c
cmp dword [0x51c5f8], ebx
je 0x4350ec
push str._nRestoring_Volume...
call fcn.00410436
pop ecx
push 0x64
call fcn.00476173
push edi
call fcn.00410436
pop ecx
push str._nDeleting_Sounds...
call fcn.00410436
call fcn.00474af5
xor eax, eax
call fcn.00475945
push edi
call fcn.00410436
push str._nDeleting_Printer_Handles...
call fcn.00410436
call fcn.0045e03f
push edi
call fcn.00410436
push str._nDeleting_Console_Fields...
call fcn.00410436
call fcn.0041070f
push edi
call fcn.00410436
push str._nDeleting_Sprites...
call fcn.00410436
call fcn.00476762
push edi
call fcn.00410436
add esp, 0x20
cmp dword [0x51c5f0], ebx
je 0x435193
push str._nDeleting_PAULA_objects...
call fcn.00410436
pop ecx
mov eax, dword [0x51c5f0]
call fcn.0046a615
cmp eax, ebx
je 0x435177
call fcn.00423bda
push 0x4c73c0
jmp 0x435157
mov esi, dword [0x51c5f0]
cmp esi, ebx
je 0x43518c
call fcn.0046a43e
mov dword [0x51c5f0], ebx
push edi
call fcn.00410436
pop ecx
push str._nFreeing_console_window...
call fcn.00410436
call fcn.0046af71
mov esi, str.Done.
push esi
call fcn.00410436
push str._nClosing_Console_Tools...
call fcn.00410436
call fcn.00415533
push esi
call fcn.00410436
push str._nFreeing_misc_resources...
call fcn.00410436
push ebx
call fcn.0040e490
call fcn.004a3c37
call fcn.0046a377
push esi
call fcn.00410436
push str._n_nClean_up_is_complete.
call fcn.00410436
add esp, 0x20
dec dword [0x5f6374]
jmp 0x4351fe
mov dword [ebp - 4], 0xfffffffe
call fcn.0040faf0
test eax, eax
je 0x43523a
call fcn.0040fd38
test eax, eax
jne 0x43523a
call fcn.0049a965
mov esi, 0x2ee
jmp 0x435230
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.0049a965
sub eax, dword [ebp - 0x120]
cmp eax, esi
jb 0x435223
call fcn.004c12e4
ret