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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb68
mov eax, dword [0x59a240]
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.004e4da0
push ebx
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.004e4da0
push 0x800
lea eax, [ebp - 0xb10]
push 0
push eax
call fcn.004e4da0
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.004e4da0
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 [0x59dc08]
test ebx, ebx
jne 0x411998
xor esi, esi
test eax, eax
jle 0x411998
push 0x5105b0
push dword [esi*4 + 0x59dc10]
call fcn.004a0f20
pop ecx
pop ecx
test eax, eax
je 0x411dfa
push str._Spawned
push dword [esi*4 + 0x59dc10]
call fcn.004a0f20
pop ecx
pop ecx
test eax, eax
je 0x411dfa
push 0x5105c8
push dword [esi*4 + 0x59dc10]
call fcn.004a0f20
pop ecx
pop ecx
test eax, eax
je 0x411c8b
push str._CreateTerminal
push dword [esi*4 + 0x59dc10]
call fcn.004a0f20
pop ecx
pop ecx
test eax, eax
je 0x411c8b
mov eax, dword [0x59dc08]
inc esi
cmp esi, eax
jl 0x411922
xor edi, edi
xor esi, esi
test eax, eax
jle 0x4119de
push 0x5105e8
push dword [esi*4 + 0x59dc10]
call fcn.004a0f20
pop ecx
pop ecx
test eax, eax
je 0x4119d9
push str._TelNet
push dword [esi*4 + 0x59dc10]
call fcn.004a0f20
pop ecx
pop ecx
test eax, eax
je 0x4119d9
inc esi
cmp esi, dword [0x59dc08]
jl 0x4119a0
jmp 0x4119de
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.0047ced0
push eax
call fcn.0042916f
add esp, 0xc
test eax, eax
jne 0x411a0e
push esi
push esi
push esi
call fcn.0047ced0
pop ecx
pop ecx
push eax
call fcn.004280f8
pop ecx
pop ecx
push esi
push esi
call fcn.0047cdb0
pop ecx
pop ecx
push eax
push esi
push esi
call fcn.0047ced0
pop ecx
pop ecx
push eax
call fcn.004a0f55
pop ecx
pop ecx
test eax, eax
jne 0x411a53
push esi
push esi
call fcn.0047cdb0
push eax
call fcn.0042916f
add esp, 0xc
test eax, eax
jne 0x411a53
push esi
push esi
push esi
call fcn.0047cdb0
pop ecx
pop ecx
push eax
call fcn.004280f8
pop ecx
pop ecx
push str.PAULA.exe
push esi
push esi
call fcn.0047cdb0
pop ecx
pop ecx
push eax
push 0x50d2a0
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004a0ddb
lea eax, [ebp - 0x20c]
push eax
call fcn.0042916f
add esp, 0x18
test eax, eax
jne 0x411af2
push 0x5dc
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x20c]
push eax
call fcn.0042916f
pop ecx
test eax, eax
jne 0x411af2
lea eax, [ebp - 0x20c]
push eax
push dword [0x59dc10]
push str.:8:SpawnPaulaExe___has_determined_that_the_default_PAULA_exe_does_not_exist___Had_to_CopyFile___s_____s___TRUE__
call fcn.00425c08
push ebx
lea eax, [ebp - 0x20c]
push eax
push dword [0x59dc10]
call fcn.00429cf7
add esp, 0x18
test eax, eax
jne 0x411af2
lea eax, [ebp - 0x20c]
push eax
push dword [0x59dc10]
push str.:9:SpawnPaulaExe___FAILED:_CopyFile___s_____s___TRUE__FAILED:_Could_not_create_the_default_PAULA_exe_
call fcn.00425c08
add esp, 0xc
push dword [0x59dc10]
call fcn.0042916f
pop ecx
test eax, eax
je 0x411bd1
push 0x104
push dword [0x59dc10]
lea eax, [ebp - 0x20c]
push eax
call fcn.004a11a5
push 0x104
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.004a11a5
lea eax, [ebp - 0x108]
push eax
call fcn.004a025a
lea eax, [ebp - 0x108]
push str.PAULA.st
push eax
call fcn.004ee718
add esp, 0x24
test eax, eax
jne 0x411bc2
push str.PAULA.exe
push esi
push esi
call fcn.0047cdb0
pop ecx
pop ecx
push eax
push 0x50d2a0
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.004a0ddb
lea eax, [ebp - 0x108]
push eax
call fcn.0042916f
add esp, 0x18
test eax, eax
je 0x411bc2
call fcn.0047d25f
test eax, eax
jne 0x411bc2
push str.PAULA.exe
push esi
push esi
call fcn.0047cdb0
pop ecx
pop ecx
push eax
push 0x50d2a0
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004a0ddb
add esp, 0x14
lea eax, [ebp - 0x108]
push eax
call fcn.0049e2d6
pop ecx
jmp 0x411bf9
push str.PAULA.exe
push esi
push esi
call fcn.0047cdb0
pop ecx
pop ecx
push eax
push 0x50d2a0
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004a0ddb
add esp, 0x14
test edi, edi
je 0x411cd5
push str.ttcon.dat
push esi
push esi
call fcn.0047cdb0
pop ecx
pop ecx
push eax
push 0x50d2a0
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004a0ddb
push esi
push esi
call fcn.0047ced0
push eax
push str._sTelKomm
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.004a0ddb
lea eax, [ebp - 0x20c]
push eax
call fcn.0042916f
add esp, 0x30
test eax, eax
jne 0x411c93
lea eax, [ebp - 0x20c]
push eax
push str.:7:SpawnPaulaExe___FAILED:___s__does_not_exist_to_create_TelKomm_session.
call fcn.004255b9
pop ecx
pop ecx
call fcn.0040ead4
test eax, eax
jne 0x411c93
push 0x10
push str.__ERROR__
push str.The_TelKomm_dependency_file_is_missing_
call fcn.0040e037
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
inc eax
jmp 0x411f38
call fcn.0047d25f
push esi
test eax, eax
je 0x411ca5
call fcn.0047c976
pop ecx
jmp 0x411caf
push esi
push esi
call fcn.0045edb2
add esp, 0xc
push eax
lea eax, [ebp - 0x108]
push eax
push str.__s___s__Spawned
lea eax, [ebp - 0xb10]
push 0x800
push eax
call fcn.004a0ddb
add esp, 0x14
jmp 0x411d7c
push str.PAULA.exe
call fcn.0049e6fe
pop ecx
push eax
push esi
push esi
call fcn.0047ced0
pop ecx
pop ecx
push eax
push 0x50d2a0
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.004a0ddb
lea eax, [ebp - 0x108]
push eax
push str.__s___Spawned
lea eax, [ebp - 0xb10]
push 0x800
push eax
call fcn.004a0ddb
add esp, 0x24
mov esi, ebx
cmp dword [0x59dc08], ebx
jle 0x411d74
mov ebx, 0x800
push ebx
lea eax, [ebp - 0xb10]
push 0x5107a4
push eax
call fcn.004a10b8
push ebx
push dword [esi*4 + 0x59dc10]
lea eax, [ebp - 0xb10]
push eax
call fcn.004a10b8
push ebx
lea eax, [ebp - 0xb10]
push 0x50fd24
push eax
call fcn.004a10b8
add esp, 0x24
inc esi
cmp esi, dword [0x59dc08]
jl 0x411d30
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 0x411d9e
and eax, 0xfffffffe
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test edi, edi
je 0x411dc0
test ebx, ebx
je 0x411dc0
xor ebx, ebx
lea eax, [ebp - 0x108]
inc ebx
push ebx
push eax
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00427174
jmp 0x411dd8
xor ebx, ebx
lea eax, [ebp - 0x108]
inc ebx
push ebx
push eax
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0042718f
add esp, 0x10
test eax, eax
lea eax, [ebp - 0x108]
push eax
jne 0x411e01
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.004255b9
add esp, 0xc
xor eax, eax
jmp 0x411f38
call fcn.0042916f
pop ecx
test eax, eax
jne 0x411e1e
lea eax, [ebp - 0x108]
push eax
push str.:8:SpawnPaulaExe___FAILED:_The_spawned_exe___s__did_not_exist_after_creation_
call fcn.004255b9
pop ecx
pop ecx
test edi, edi
je 0x411e34
push esi
push str.TelKomm
call fcn.0040d184
pop ecx
pop ecx
cmp eax, 0x19
jmp 0x411e76
mov edi, 0x104
lea eax, [ebp - 0x310]
push edi
push esi
push eax
call fcn.004e4da0
add esp, 0xc
push edi
push str.PAULA.exe
call fcn.0049e6fe
pop ecx
push eax
lea eax, [ebp - 0x310]
push eax
call fcn.004a11a5
lea eax, [ebp - 0x310]
push esi
push eax
call fcn.0040d184
add esp, 0x14
cmp eax, 0x14
jg 0x411dfa
push 0x10
lea eax, [ebp - 0xb24]
push esi
push eax
call fcn.004e4da0
push 0x44
pop edi
push edi
lea eax, [ebp - 0xb68]
push esi
push eax
call fcn.004e4da0
lea eax, [ebp - 0x108]
mov dword [ebp - 0xb68], edi
push eax
mov dword [ebp - 0xb3c], ebx
mov word [ebp - 0xb38], bx
call fcn.004101d6
add esp, 0x1c
lea eax, [ebp - 0xb24]
push eax
lea eax, [ebp - 0xb68]
push eax
push esi
push esi
call fcn.0047cdb0
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.0040d292
add esp, 0x28
test eax, eax
jne 0x411f08
push str._GetLastError_
lea eax, [ebp - 0x108]
push eax
push str.:8:SpawnPaulaExe___FAILED_to_start_the_Paula_Session_Process:___s__Spawned_:__s
jmp 0x411df2
push 0xd3c
mov edi, str.E:UserskerryDocumentsVisual_Studio_2022ProjectsPAULA__TEMP_COPY_Console.c
mov esi, str.SpawnPaulaExe
push edi
push esi
push dword [ebp - 0xb20]
call fcn.00426fac
push 0xd3d
push edi
push esi
push dword [ebp - 0xb24]
call fcn.00426fac
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e3632
leave
ret