Function at 0x424450
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ea584
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x54c000]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::String::constructor_void_]
lea ecx, [ebp - 0x10]
call esi
cmp byte [ebp + 0xc], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
je 0x42449a
push str.____ESToolkit_Alerts_SaveAllSome_open_documents_are_modified.nDo_you_want_to_save_them_
jmp 0x42449f
push str.____ESToolkit_Alerts_SaveChangesDo_you_want_to_save_changes_to__1_
call dword [0x4efd9c]
lea ecx, [ebp - 0x20]
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Array::constructor_void_]
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call dword [sym.imp.ScCore.dll_public:_class_ScCore::Array____thiscall_ScCore::Array::operator_class_ScCore::String_const__]
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x10]
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::String::localize_class_ScCore::Array_const__]
lea ecx, [ebp - 0x14]
call esi
mov bl, 2
mov byte [ebp - 4], bl
mov edx, dword [0x54f600]
mov eax, dword [edx + 0x44]
mov esi, dword [eax + 0x14]
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
test edi, edi
jle 0x42450a
push edi
push 0x20
lea ecx, [ebp - 0x14]
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::String::setup_unsigned_short_int__int_]
mov ecx, dword [ebp - 0x14]
push edi
add ecx, 0xc
push ecx
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [ebp - 0x18]
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::DialogModality::constructor_void_]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
push 0x23
add eax, 0xc
push eax
add ecx, 0xc
push ecx
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x18]
cmp eax, 6
jne 0x42457a
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::DialogModality::destructor_void_]
mov byte [ebp - 4], 1
mov esi, dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::String::destructor_void_]
lea ecx, [ebp - 0x14]
call esi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call dword [sym.imp.ScCore.dll_public_virtual:_void___thiscall_ScCore::Array::destructor_void_]
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call esi
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 7
jne 0x4245c1
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::DialogModality::destructor_void_]
mov byte [ebp - 4], 1
mov esi, dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::String::destructor_void_]
lea ecx, [ebp - 0x14]
call esi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call dword [sym.imp.ScCore.dll_public_virtual:_void___thiscall_ScCore::Array::destructor_void_]
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call esi
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::DialogModality::destructor_void_]
mov byte [ebp - 4], 1
mov esi, dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::String::destructor_void_]
lea ecx, [ebp - 0x14]
call esi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call dword [sym.imp.ScCore.dll_public_virtual:_void___thiscall_ScCore::Array::destructor_void_]
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call esi
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret