Function at 0x40fc9a
Capabilities:
Get file attributes
Set console window title
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb68
mov eax, dword [0x55f900]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, 0x104
lea eax, [ebp - 0x20c]
push ebx
push 0
push eax
call fcn.004c37f0
push ebx
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.004c37f0
push 0x800
lea eax, [ebp - 0xb10]
push 0
push eax
call fcn.004c37f0
xor eax, eax
lea edi, [ebp - 0xb24]
stosd dword es:[edi], eax
push 0x44
push 0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0xb68]
push eax
call fcn.004c37f0
and dword [ebp - 0xb14], 0
add esp, 0x30
push str.PAULA_Initialization...
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov ebx, dword [ebp + 8]
mov eax, dword [0x5632c0]
test ebx, ebx
jne 0x40fd9f
xor esi, esi
test eax, eax
jle 0x40fd9f
push 0x4ed4d0
push dword [esi*4 + 0x5632c8]
call fcn.0048daa5
pop ecx
pop ecx
test eax, eax
je 0x4101e4
push str._Spawned
push dword [esi*4 + 0x5632c8]
call fcn.0048daa5
pop ecx
pop ecx
test eax, eax
je 0x4101e4
push 0x4ed510
push dword [esi*4 + 0x5632c8]
call fcn.0048daa5
pop ecx
pop ecx
test eax, eax
je 0x410089
push str._CreateTerminal
push dword [esi*4 + 0x5632c8]
call fcn.0048daa5
pop ecx
pop ecx
test eax, eax
je 0x410089
mov eax, dword [0x5632c0]
inc esi
cmp esi, eax
jl 0x40fd29
xor edi, edi
xor esi, esi
test eax, eax
jle 0x40fde5
push 0x4ed530
push dword [esi*4 + 0x5632c8]
call fcn.0048daa5
pop ecx
pop ecx
test eax, eax
je 0x40fde0
push str._TelNet
push dword [esi*4 + 0x5632c8]
call fcn.0048daa5
pop ecx
pop ecx
test eax, eax
je 0x40fde0
inc esi
cmp esi, dword [0x5632c0]
jl 0x40fda7
jmp 0x40fde5
xor eax, eax
lea edi, [eax + 1]
push 1
test ebx, ebx
pop ebx
cmovne edi, ebx
xor esi, esi
push esi
push esi
call fcn.0046aa0e
push eax
call fcn.0041fc00
add esp, 0xc
test eax, eax
jne 0x40fe15
push esi
push esi
push esi
call fcn.0046aa0e
pop ecx
pop ecx
push eax
call fcn.0041edcd
pop ecx
pop ecx
push esi
push esi
call fcn.0046a855
pop ecx
pop ecx
push eax
push esi
push esi
call fcn.0046aa0e
pop ecx
pop ecx
push eax
call fcn.0048dada
pop ecx
pop ecx
test eax, eax
jne 0x40fe5a
push esi
push esi
call fcn.0046a855
push eax
call fcn.0041fc00
add esp, 0xc
test eax, eax
jne 0x40fe5a
push esi
push esi
push esi
call fcn.0046a855
pop ecx
pop ecx
push eax
call fcn.0041edcd
pop ecx
pop ecx
push str.BETTY.exe
push esi
push esi
call fcn.0046a855
pop ecx
pop ecx
push eax
push 0x4ea498
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0048d960
lea eax, [ebp - 0x20c]
push eax
call fcn.0041fc00
add esp, 0x18
test eax, eax
jne 0x40fef9
push 0x5dc
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x20c]
push eax
call fcn.0041fc00
pop ecx
test eax, eax
jne 0x40fef9
lea eax, [ebp - 0x20c]
push eax
push dword [0x5632c8]
push str.:8:SpawnPaulaExe___has_determined_that_the_default_PAULA_exe_does_not_exist___Had_to_CopyFile___s_____s___TRUE__
call fcn.0041cce9
push ebx
lea eax, [ebp - 0x20c]
push eax
push dword [0x5632c8]
call fcn.0042078a
add esp, 0x18
test eax, eax
jne 0x40fef9
lea eax, [ebp - 0x20c]
push eax
push dword [0x5632c8]
push str.:9:SpawnPaulaExe___FAILED:_CopyFile___s_____s___TRUE__FAILED:_Could_not_create_the_default_PAULA_exe_
call fcn.0041cce9
add esp, 0xc
push dword [0x5632c8]
call fcn.0041fc00
pop ecx
test eax, eax
je 0x40ffcf
push 0x104
push dword [0x5632c8]
lea eax, [ebp - 0x20c]
push eax
call fcn.0048dd2a
push 0x104
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.0048dd2a
lea eax, [ebp - 0x108]
push eax
call fcn.0048ce46
lea eax, [ebp - 0x108]
push str.PAULA.st
push eax
call fcn.004cd1a7
add esp, 0x24
test eax, eax
jne 0x40ffc0
push str.BETTY.exe
push esi
push esi
call fcn.0046a855
pop ecx
pop ecx
push eax
push 0x4ea498
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.0048d960
lea eax, [ebp - 0x108]
push eax
call fcn.0041fc00
add esp, 0x18
test eax, eax
je 0x40ffc0
push str.BETTY.exe
push esi
push esi
call fcn.0046a855
pop ecx
pop ecx
push eax
push 0x4ea498
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0048d960
add esp, 0x14
lea eax, [ebp - 0x108]
push eax
call fcn.0048b21b
pop ecx
jmp 0x40fff7
push str.BETTY.exe
push esi
push esi
call fcn.0046a855
pop ecx
pop ecx
push eax
push 0x4ea498
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0048d960
add esp, 0x14
test edi, edi
je 0x4100bf
push str.ttcon.dat
push esi
push esi
call fcn.0046a855
pop ecx
pop ecx
push eax
push 0x4ea498
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0048d960
push esi
push esi
call fcn.0046aa0e
push eax
push str._sTelKomm
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.0048d960
lea eax, [ebp - 0x20c]
push eax
call fcn.0041fc00
add esp, 0x30
test eax, eax
jne 0x410091
lea eax, [ebp - 0x20c]
push eax
push str.:7:SpawnPaulaExe___FAILED:___s__does_not_exist_to_create_TelKomm_session.
call fcn.0041c80a
pop ecx
pop ecx
call fcn.0040d344
test eax, eax
jne 0x410091
push 0x10
push str.__ERROR__
push str.The_TelKomm_dependency_file_is_missing_
call fcn.0040cd58
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
inc eax
jmp 0x410322
push esi
push esi
push esi
call fcn.0044d7e5
push eax
lea eax, [ebp - 0x108]
push eax
push str.__s___s__Spawned
lea eax, [ebp - 0xb10]
push 0x800
push eax
call fcn.0048d960
add esp, 0x20
jmp 0x410166
push str.BETTY.exe
call fcn.0048b582
pop ecx
push eax
push esi
push esi
call fcn.0046aa0e
pop ecx
pop ecx
push eax
push 0x4ea498
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.0048d960
lea eax, [ebp - 0x108]
push eax
push str.__s___Spawned
lea eax, [ebp - 0xb10]
push 0x800
push eax
call fcn.0048d960
add esp, 0x24
mov esi, ebx
cmp dword [0x5632c0], ebx
jle 0x41015e
mov ebx, 0x800
push ebx
lea eax, [ebp - 0xb10]
push 0x4ed6ec
push eax
call fcn.0048dc3d
push ebx
push dword [esi*4 + 0x5632c8]
lea eax, [ebp - 0xb10]
push eax
call fcn.0048dc3d
push ebx
lea eax, [ebp - 0xb10]
push 0x4ed6f0
push eax
call fcn.0048dc3d
add esp, 0x24
inc esi
cmp esi, dword [0x5632c0]
jl 0x41011a
mov ebx, dword [ebp - 0xb14]
xor esi, esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 1
je 0x410188
and eax, 0xfffffffe
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test edi, edi
je 0x4101aa
test ebx, ebx
je 0x4101aa
xor ebx, ebx
lea eax, [ebp - 0x108]
inc ebx
push ebx
push eax
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0041df60
jmp 0x4101c2
xor ebx, ebx
lea eax, [ebp - 0x108]
inc ebx
push ebx
push eax
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0041df7b
add esp, 0x10
test eax, eax
lea eax, [ebp - 0x108]
push eax
jne 0x4101eb
lea eax, [ebp - 0x20c]
push eax
push str.:9:SpawnPaulaExe___CRITICALLY_FAILED:_CopyFileEnumerated___s_____s___TRUE__FAILED:_The_real_PAULA_exe_will_have_to_be_used_instead_of_the_spawn___
call fcn.0041c80a
add esp, 0xc
xor eax, eax
jmp 0x410322
call fcn.0041fc00
pop ecx
test eax, eax
jne 0x410208
lea eax, [ebp - 0x108]
push eax
push str.:8:SpawnPaulaExe___FAILED:_The_spawned_exe___s__did_not_exist_after_creation_
call fcn.0041c80a
pop ecx
pop ecx
test edi, edi
je 0x41021e
push esi
push str.TelKomm
call fcn.0040bf99
pop ecx
pop ecx
cmp eax, 0x19
jmp 0x410260
mov edi, 0x104
lea eax, [ebp - 0x310]
push edi
push esi
push eax
call fcn.004c37f0
add esp, 0xc
push edi
push str.BETTY.exe
call fcn.0048b582
pop ecx
push eax
lea eax, [ebp - 0x310]
push eax
call fcn.0048dd2a
lea eax, [ebp - 0x310]
push esi
push eax
call fcn.0040bf99
add esp, 0x14
cmp eax, 0x14
jg 0x4101e4
push 0x10
lea eax, [ebp - 0xb24]
push esi
push eax
call fcn.004c37f0
push 0x44
pop edi
push edi
lea eax, [ebp - 0xb68]
push esi
push eax
call fcn.004c37f0
lea eax, [ebp - 0x108]
mov dword [ebp - 0xb68], edi
push eax
mov dword [ebp - 0xb3c], ebx
mov word [ebp - 0xb38], bx
call fcn.0040ea2a
add esp, 0x1c
lea eax, [ebp - 0xb24]
push eax
lea eax, [ebp - 0xb68]
push eax
push esi
push esi
call fcn.0046a855
pop ecx
pop ecx
push eax
push esi
push 0x28
push esi
push esi
push esi
lea eax, [ebp - 0xb10]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.0040c0a7
add esp, 0x28
test eax, eax
jne 0x4102f2
push str._GetLastError_
lea eax, [ebp - 0x108]
push eax
push str.:8:SpawnPaulaExe___FAILED_to_start_the_Paula_Session_Process:___s__Spawned_:__s
jmp 0x4101dc
push 0xd2f
mov edi, str.C:UsersOfficeDocumentsVisual_StudioPAULAConsole.c
mov esi, str.SpawnPaulaExe
push edi
push esi
push dword [ebp - 0xb20]
call fcn.0041dd98
push 0xd30
push edi
push esi
push dword [ebp - 0xb24]
call fcn.0041dd98
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c2120
leave
ret