Function at 0x4273d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ea49d
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x54c000]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, dword [ebp + 8]
lea eax, [ecx - 0x32]
xor edi, edi
cmp eax, 3
ja case.default.0x42740f
jmp dword [eax*4 + 0x4277c8]
cmp byte [ebx + 0x34], 0
jne 0x4274a7
push 0x48
call dword [sym.imp.ScCore.dll_public:_static_void____cdecl_ScCore::Heap::operator_new_unsigned_int_]
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
mov dword [esp + 0x78], edi
cmp esi, edi
je 0x42744a
call dword [sym.imp.ExtendScript.dll_public:_static_class_ScScript::Engine____cdecl_ScScript::Engine::getCurrent_void_]
push eax
push esi
call fcn.00428930
mov esi, eax
jmp 0x42744c
xor esi, esi
push 0
push 0x54d40c
mov dword [esp + 0x80], 0xffffffff
mov eax, dword [0x54f600]
mov eax, dword [eax + 0x24]
push 0x54ca1c
push 0
push eax
call sub.MSVCR100.dll___RTDynamicCast
mov ecx, dword [eax + 0x40]
mov edx, dword [ecx]
mov eax, dword [edx + 0xb8]
add esp, 0x14
push 0x6c697665
call eax
mov ecx, eax
call dword [sym.imp.ExtendScript.dll_public:_class_ScCore::LiveObject____thiscall_ScScript::LiveObjectAPI::getGlobalObject_void_const]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x40]
push esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
mov byte [ebx + 0x34], 1
mov eax, edi
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [0x54f600]
mov eax, dword [ecx + 0x24]
mov esi, dword [eax + 0x20]
lea ecx, [esp + 0x2c]
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Array::constructor_void_]
mov dword [esp + 0x78], 1
mov ebx, dword [sym.imp.ScCore.dll_public:_class_ScCore::Variant_const____thiscall_ScCore::BasicArray::operator___unsigned_int_const]
cmp esi, edi
mov edi, dword [ebp + 0xc]
je 0x42753e
push 0
mov ecx, edi
call ebx
cmp dword [eax + 0x10], 5
jne 0x42753e
push str.Array
push 0
mov ecx, edi
call ebx
mov ecx, eax
call dword [sym.imp.ScCore.dll_public:_class_ScCore::String_const____thiscall_ScCore::Variant::getString_void_const]
mov ecx, eax
call dword [sym.imp.ScCore.dll_public:_bool___thiscall_ScCore::String::operator_char_const__const]
test al, al
je 0x42753e
mov eax, dword [esi]
push 0x3e8
push 0
lea edx, [esp + 0x34]
push edx
add eax, 0x84
push 0
mov ecx, edi
mov dword [esp + 0x2c], eax
call ebx
push eax
mov eax, dword [esp + 0x2c]
mov edx, dword [eax]
mov ecx, esi
call edx
jmp 0x42759b
push 0
mov ecx, edi
call ebx
mov ecx, eax
call dword [sym.imp.ScCore.dll_public:_class_ScCore::Array_const____thiscall_ScCore::Variant::getArray_void_const]
mov ecx, edi
test eax, eax
je 0x42756b
push 0
call ebx
mov ecx, eax
call dword [sym.imp.ScCore.dll_public:_class_ScCore::Array_const____thiscall_ScCore::Variant::getArray_void_const]
push eax
lea ecx, [esp + 0x30]
call dword [sym.imp.ScCore.dll_public:_class_ScCore::Array____thiscall_ScCore::Array::operator_class_ScCore::Array_const__]
jmp 0x42759b
lea eax, [esp + 0x24]
push eax
push 0
call ebx
mov ecx, eax
call dword [sym.imp.ScCore.dll_public:_class_ScCore::String___thiscall_ScCore::Variant::toString_void_]
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x7c], 2
call dword [sym.imp.ScCore.dll_public:_class_ScCore::Array____thiscall_ScCore::Array::operator_class_ScCore::String_const__]
lea ecx, [esp + 0x24]
mov byte [esp + 0x78], 1
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::String::destructor_void_]
push 0x5083d3
lea ecx, [esp + 0x18]
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::String::constructor_char_const__]
push 0
lea ecx, [esp + 0x18]
push ecx
push 0xffffffffffffffff
lea ecx, [esp + 0x60]
mov byte [esp + 0x84], 3
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Variant::constructor_int__class_ScCore::String_const___class_ScCore::Root__]
lea ecx, [esp + 0x14]
mov byte [esp + 0x78], 5
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::String::destructor_void_]
lea ecx, [esp + 0x2c]
xor edi, edi
call dword [sym.imp.ScCore.dll_public_virtual:_unsigned_int___thiscall_ScCore::Array::length_void_const]
test eax, eax
je 0x427646
lea edx, [esp + 0x28]
push edx
push edi
lea ecx, [esp + 0x34]
call dword [sym.imp.ScCore.dll_public:_class_ScCore::Variant____thiscall_ScCore::Array::operator___unsigned_int_]
mov ecx, eax
call dword [sym.imp.ScCore.dll_public:_class_ScCore::String___thiscall_ScCore::Variant::toString_void_]
push 0
push 0
lea ecx, [esp + 0x5c]
push ecx
mov ecx, dword [ebp + 0x10]
push 0x10
push 0
mov byte [esp + 0x8c], 6
mov edx, dword [esi]
mov edx, dword [edx + 0x7c]
push ecx
push eax
mov ecx, esi
call edx
test al, al
lea ecx, [esp + 0x28]
sete bl
mov byte [esp + 0x78], 5
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::String::destructor_void_]
test bl, bl
jne 0x427646
lea ecx, [esp + 0x2c]
inc edi
call dword [sym.imp.ScCore.dll_public_virtual:_unsigned_int___thiscall_ScCore::Array::length_void_const]
cmp edi, eax
jb 0x4275e4
mov eax, dword [esi]
mov edx, dword [eax + 0x34]
mov ecx, esi
call edx
mov eax, dword [eax]
cmp dword [eax], 0
jne 0x427660
mov dword [esp + 0x1c], 0
jmp 0x427669
mov eax, dword [eax]
mov ecx, dword [eax + 0x28]
mov dword [esp + 0x1c], ecx
mov edi, dword [ebp + 0x10]
cmp dword [edi + 0x10], 5
mov ebx, dword [sym.imp.ScCore.dll_public_virtual:_void___thiscall_ScCore::Array::destructor_void_]
jne 0x42770d
lea ecx, [esp + 0x34]
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Array::constructor_void_]
xor eax, eax
xor edx, edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov word [esp + 0x50], dx
mov byte [esp + 0x78], 8
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
push str.toString
lea ecx, [esp + 0x1c]
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::String::constructor_char_const__]
push 0
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x3c]
push edx
mov byte [esp + 0x84], 9
mov eax, dword [esi]
mov edx, dword [eax + 0x68]
lea ecx, [esp + 0x24]
push ecx
push edi
mov ecx, esi
call edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x78], 8
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::String::destructor_void_]
lea eax, [esp + 0x3c]
push eax
mov ecx, edi
call dword [sym.imp.ScCore.dll_public:_class_ScCore::Variant____thiscall_ScCore::Variant::operator_class_ScCore::Variant_const__]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x78], 7
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Variant::destructor_void_]
lea ecx, [esp + 0x34]
mov byte [esp + 0x78], 5
call ebx
lea ecx, [esp + 0x54]
mov byte [esp + 0x78], 1
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Variant::destructor_void_]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x78], 0xffffffff
call ebx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [0x54f600]
mov word [eax + 0x37], 1
jmp 0x4274a7
push str.clearConsole
lea ecx, [esp + 0x24]
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::String::constructor_char_const__]
mov dword [esp + 0x78], 0xa
mov ecx, dword [0x54f600]
mov eax, dword [ecx]
push edi
lea edx, [esp + 0x24]
push edx
mov edx, dword [eax + 0x10]
push edi
call edx
mov ecx, eax
call dword [sym.imp.ScCore.dll_public:_int___thiscall_ScCore::LiveObject::invoke_class_ScCore::String_const___class_ScCore::Error__const]
lea ecx, [esp + 0x20]
mov dword [esp + 0x78], 0xffffffff
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::String::destructor_void_]
jmp 0x4274a7
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push edx
push eax
push ecx
mov ecx, ebx
call dword [sym.imp.ScCore.dll_public_virtual:_int___thiscall_ScCore::LiveObject::call_int__class_ScCore::Array_const___class_ScCore::Variant___class_ScCore::Error__]
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10