Function at 0x489b30
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x6fb448]
xor eax, ebp
mov dword [ebp - 8], eax
mov byte [ebp - 0x110], 0
push 0x103
push 0
lea eax, [ebp - 0x10f]
push eax
call fcn.005b02a0
add esp, 0xc
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
mov dword [ebp + 8], ecx
push 5
call fcn.00401c2b
add esp, 4
call fcn.0040123f
test eax, eax
je case.0x489baf.3
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x114], eax
mov ecx, dword [ebp - 0x114]
sub ecx, 1
mov dword [ebp - 0x114], ecx
cmp dword [ebp - 0x114], 4
ja case.0x489baf.1
mov edx, dword [ebp - 0x114]
jmp dword [edx*4 + 0x489e14]
push 0
push 0
call fcn.004022b6
add esp, 8
push eax
push 0x6894f4
lea eax, [ebp - 0x110]
push eax
call fcn.005b6660
add esp, 0xc
lea ecx, [ebp - 0x110]
push ecx
call fcn.004028ab
add esp, 4
test eax, eax
je 0x489c20
mov edx, 1
test edx, edx
je 0x489c20
push 1
call fcn.00401654
add esp, 4
test eax, eax
je 0x489c0c
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x20001
push 0
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.WINMM.dll_PlaySoundA]
push 0x68950c
call fcn.00401c2b
add esp, 4
push 0x68954c
call fcn.00401c2b
add esp, 4
push str._n___You_will_have_to_reclick_Paula_to_get_her_to_come_back.
call fcn.00401c2b
add esp, 4
push str._n___Press_any_key_to_close_this_window...
call fcn.00401c2b
add esp, 4
push 0x6895f0
call fcn.00401c2b
add esp, 4
push 0x689630
call fcn.00401c2b
add esp, 4
push 0xea60
call fcn.00401c44
add esp, 4
jmp case.0x489baf.3
push 0
push 0
call fcn.004022b6
add esp, 8
push eax
push 0x689650
lea ecx, [ebp - 0x110]
push ecx
call fcn.005b6660
add esp, 0xc
lea edx, [ebp - 0x110]
push edx
call fcn.004028ab
add esp, 4
test eax, eax
je 0x489cea
mov eax, 1
test eax, eax
je 0x489cea
push 1
call fcn.00401654
add esp, 4
test eax, eax
je 0x489cd6
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x20001
push 0
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.WINMM.dll_PlaySoundA]
push 0x689668
call fcn.00401c2b
add esp, 4
push str._n___Paula_has_left_the_building.__She_is_no_longer_here.
call fcn.00401c2b
add esp, 4
push str._n___Please_press_any_key_to_terminate_this_window...
call fcn.00401c2b
add esp, 4
push str._n_n_n_n
call fcn.00401c2b
add esp, 4
push str.Press_any_key_to_exit..._n_n_n_n_n_n_n
call fcn.00401c2b
add esp, 4
push 0xea60
call fcn.00401c44
add esp, 4
jmp case.0x489baf.3
push 0
push 0
call fcn.004022b6
add esp, 8
push eax
push str._sSoundsPaulaLeft.wav
lea edx, [ebp - 0x110]
push edx
call fcn.005b6660
add esp, 0xc
lea eax, [ebp - 0x110]
push eax
call fcn.004028ab
add esp, 4
test eax, eax
je 0x489da7
mov ecx, 1
test ecx, ecx
je 0x489da7
push 1
call fcn.00401654
add esp, 4
test eax, eax
je 0x489d93
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x20001
push 0
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.WINMM.dll_PlaySoundA]
call fcn.004024a5
push str._n_nPAULA_has_left..._n
call fcn.0040238d
add esp, 4
mov dword [ebp - 4], 3
jmp 0x489dcb
mov eax, dword [ebp - 4]
sub eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jle case.0x489baf.3
mov ecx, dword [ebp - 4]
push ecx
push str._rThis_screen_will_terminate_in__d_seconds.
call fcn.0040238d
add esp, 8
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x489dc2
call fcn.00402c39
cmp dword [ebp + 0xc], 5
je 0x489e03
mov edx, dword [ebp + 0xc]
push edx
call fcn.005bbbb0
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.005b0290
mov esp, ebp
pop ebp
ret