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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb64
mov eax, dword [0x581900]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004e69c0
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.004e69c0
push 0x800
lea eax, [ebp - 0xb10]
push 0
push eax
call fcn.004e69c0
push 0x44
lea eax, [ebp - 0xb64]
xorps xmm0, xmm0
push 0
push eax
movups xmmword [ebp - 0xb20], xmm0
call fcn.004e69c0
add esp, 0x30
push str.PAULA_Initialization...
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov ebx, dword [ebp + 8]
mov eax, dword [0x5852c0]
test ebx, ebx
jne 0x4129d2
xor esi, esi
test eax, eax
jle 0x4129d2
nop dword [eax]
push 0x5102a0
push dword [esi*4 + 0x5852c8]
call fcn.004a96a0
add esp, 8
test eax, eax
je 0x412ec1
push str._Spawned
push dword [esi*4 + 0x5852c8]
call fcn.004a96a0
add esp, 8
test eax, eax
je 0x412ec1
push 0x5102b8
push dword [esi*4 + 0x5852c8]
call fcn.004a96a0
add esp, 8
test eax, eax
je 0x412a1b
push str._CreateTerminal
push dword [esi*4 + 0x5852c8]
call fcn.004a96a0
add esp, 8
test eax, eax
je 0x412a1b
mov eax, dword [0x5852c0]
inc esi
cmp esi, eax
jl 0x412960
xor edi, edi
xor esi, esi
test eax, eax
jle 0x412a36
nop word [eax + eax]
push 0x5102d8
push dword [esi*4 + 0x5852c8]
call fcn.004a96a0
add esp, 8
test eax, eax
je 0x412a31
push str._TelNet
push dword [esi*4 + 0x5852c8]
call fcn.004a96a0
add esp, 8
test eax, eax
je 0x412a31
inc esi
cmp esi, dword [0x5852c0]
jl 0x4129e0
jmp 0x412a36
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e50dc
mov esp, ebp
pop ebp
ret
mov edi, 1
test ebx, ebx
mov esi, 1
push 0
push 0
cmovne edi, esi
call fcn.0047dbc0
push eax
call fcn.004289f0
add esp, 0xc
test eax, eax
jne 0x412a6a
push eax
push eax
push eax
call fcn.0047dbc0
add esp, 8
push eax
call fcn.00427800
add esp, 8
push 0
push 0
call fcn.0047d960
add esp, 8
push eax
push 0
push 0
call fcn.0047dbc0
add esp, 8
push eax
call fcn.004a96e0
add esp, 8
test eax, eax
jne 0x412ab8
push eax
push eax
call fcn.0047d960
push eax
call fcn.004289f0
add esp, 0xc
test eax, eax
jne 0x412ab8
push eax
push eax
push eax
call fcn.0047d960
add esp, 8
push eax
call fcn.00427800
add esp, 8
push str.BETTY.exe
push 0
push 0
call fcn.0047d960
add esp, 8
push eax
push 0x50d2e0
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004a94b0
lea eax, [ebp - 0x20c]
push eax
call fcn.004289f0
add esp, 0x18
test eax, eax
jne 0x412b5d
push 0x5dc
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x20c]
push eax
call fcn.004289f0
add esp, 4
test eax, eax
jne 0x412b5d
lea eax, [ebp - 0x20c]
push eax
push dword [0x5852c8]
push str.:8:SpawnPaulaExe___has_determined_that_the_default_PAULA_exe_does_not_exist___Had_to_CopyFile___s_____s___TRUE__
call fcn.00424fd0
push 1
lea eax, [ebp - 0x20c]
push eax
push dword [0x5852c8]
call fcn.00429860
add esp, 0x18
test eax, eax
jne 0x412b5d
lea eax, [ebp - 0x20c]
push eax
push dword [0x5852c8]
push str.:9:SpawnPaulaExe___FAILED:_CopyFile___s_____s___TRUE__FAILED:_Could_not_create_the_default_PAULA_exe_
call fcn.00424fd0
add esp, 0xc
push dword [0x5852c8]
call fcn.004289f0
add esp, 4
test eax, eax
je 0x412c3b
push 0x104
push dword [0x5852c8]
lea eax, [ebp - 0x20c]
push eax
call fcn.004a9a20
push 0x104
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.004a9a20
lea eax, [ebp - 0x108]
push eax
call fcn.004a85d0
lea eax, [ebp - 0x108]
push str.PAULA.st
push eax
call fcn.004eeba8
add esp, 0x24
test eax, eax
jne 0x412c2a
push str.BETTY.exe
push eax
push eax
call fcn.0047d960
add esp, 8
push eax
push 0x50d2e0
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.004a94b0
lea eax, [ebp - 0x108]
push eax
call fcn.004289f0
add esp, 0x18
test eax, eax
je 0x412c2a
push str.BETTY.exe
push 0
push 0
call fcn.0047d960
add esp, 8
push eax
push 0x50d2e0
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004a94b0
add esp, 0x14
lea eax, [ebp - 0x108]
push eax
call fcn.004a55e0
add esp, 4
jmp 0x412c66
push str.BETTY.exe
push 0
push 0
call fcn.0047d960
add esp, 8
push eax
push 0x50d2e0
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004a94b0
add esp, 0x14
test edi, edi
je 0x412d93
push str.ttcon.dat
push 0
push 0
mov ebx, esi
call fcn.0047d960
add esp, 8
push eax
push 0x50d2e0
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004a94b0
push 0
push 0
call fcn.0047dbc0
push eax
push str._sTelKomm
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.004a94b0
lea eax, [ebp - 0x20c]
push eax
call fcn.004289f0
add esp, 0x30
test eax, eax
jne 0x412d19
lea eax, [ebp - 0x20c]
push eax
push str.:7:SpawnPaulaExe___FAILED:___s__does_not_exist_to_create_TelKomm_session.
call fcn.00424a90
add esp, 8
call fcn.004245b0
call fcn.00424590
cmp dword [0x5857a0], 0
jne 0x412d0f
call fcn.004245b0
call fcn.00424590
cmp dword [0x5857a4], 0
je 0x412d4a
call fcn.00424600
call fcn.004245c0
call fcn.00424600
call fcn.004245c0
push 0
push 0
push 0
call fcn.0045c1f0
push eax
lea eax, [ebp - 0x108]
push eax
push str.__s___s__Spawned
lea eax, [ebp - 0xb10]
push 0x800
push eax
call fcn.004a94b0
add esp, 0x20
jmp 0x412e47
call fcn.00424600
call fcn.004245c0
call fcn.00424600
call fcn.004245c0
mov eax, dword [0x585798]
test eax, eax
jne 0x412d6d
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push 0x10
push str.__ERROR__
push str.The_TelKomm_dependency_file_is_missing_
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e50dc
mov esp, ebp
pop ebp
ret
push str.BETTY.exe
call fcn.004a5c30
add esp, 4
push eax
push 0
push 0
call fcn.0047dbc0
add esp, 8
push eax
push 0x50d2e0
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.004a94b0
lea eax, [ebp - 0x108]
push eax
push str.__s___Spawned
lea eax, [ebp - 0xb10]
push 0x800
push eax
call fcn.004a94b0
add esp, 0x24
cmp dword [0x5852c0], esi
jle 0x412e45
nop dword [eax]
push 0x800
lea eax, [ebp - 0xb10]
push 0x510494
push eax
call fcn.004a98f0
push 0x800
push dword [esi*4 + 0x5852c8]
lea eax, [ebp - 0xb10]
push eax
call fcn.004a98f0
push 0x800
lea eax, [ebp - 0xb10]
push 0x510498
push eax
call fcn.004a98f0
inc esi
add esp, 0x24
cmp esi, dword [0x5852c0]
jl 0x412df0
mov esi, 1
xor ebx, ebx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 1
je 0x412e69
and eax, 0xfffffffe
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test edi, edi
je 0x412e89
test ebx, ebx
je 0x412e89
push 1
lea eax, [ebp - 0x108]
push eax
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.004265e0
jmp 0x412e9f
push 1
lea eax, [ebp - 0x108]
push eax
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00426600
add esp, 0x10
test eax, eax
lea eax, [ebp - 0x108]
push eax
jne 0x412ed4
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.00424a90
add esp, 0xc
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e50dc
mov esp, ebp
pop ebp
ret
call fcn.004289f0
add esp, 4
test eax, eax
jne 0x412ef4
lea eax, [ebp - 0x108]
push eax
push str.:8:SpawnPaulaExe___FAILED:_The_spawned_exe___s__did_not_exist_after_creation_
call fcn.00424a90
add esp, 8
test edi, edi
je 0x412f0c
push 0
push str.TelKomm
call fcn.0040d1a0
add esp, 8
cmp eax, 0x19
jmp 0x412f55
push 0x104
lea eax, [ebp - 0x310]
push 0
push eax
call fcn.004e69c0
add esp, 0xc
push 0x104
push str.BETTY.exe
call fcn.004a5c30
add esp, 4
push eax
lea eax, [ebp - 0x310]
push eax
call fcn.004a9a20
lea eax, [ebp - 0x310]
push 0
push eax
call fcn.0040d1a0
add esp, 0x14
cmp eax, 0x14
jg 0x412ec1
xorps xmm0, xmm0
mov dword [ebp - 0xb64], 0x44
xor eax, eax
movlpd qword [ebp - 0xb60], xmm0
mov word [ebp - 0xb22], ax
lea eax, [ebp - 0x108]
push eax
movups xmmword [ebp - 0xb20], xmm0
mov dword [ebp - 0xb38], 1
movlpd qword [ebp - 0xb58], xmm0
movlpd qword [ebp - 0xb50], xmm0
movlpd qword [ebp - 0xb48], xmm0
movlpd qword [ebp - 0xb40], xmm0
movlpd qword [ebp - 0xb32], xmm0
movlpd qword [ebp - 0xb2a], xmm0
mov word [ebp - 0xb34], si
call fcn.00410900
add esp, 4
lea eax, [ebp - 0xb20]
push eax
lea eax, [ebp - 0xb64]
push eax
push 0
push 0
call fcn.0047d960
add esp, 8
push eax
push 0
push 0x28
push 0
push 0
push 0
lea eax, [ebp - 0xb10]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.0040d2f0
add esp, 0x28
test eax, eax
jne 0x41303b
push str._GetLastError_
lea eax, [ebp - 0x108]
push eax
push str.:8:SpawnPaulaExe___FAILED_to_start_the_Paula_Session_Process:___s__Spawned_:__s
call fcn.00424a90
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e50dc
mov esp, ebp
pop ebp
ret
push 0xd1a
push str.C:UsersOfficeDocumentsVisual_StudioPAULAConsole.c
push str.SpawnPaulaExe
push dword [ebp - 0xb1c]
call fcn.00426230
push 0xd1b
push str.C:UsersOfficeDocumentsVisual_StudioPAULAConsole.c
push str.SpawnPaulaExe
push dword [ebp - 0xb20]
call fcn.00426230
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e50dc
mov esp, ebp
pop ebp
ret