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

Disassembly:
push 0x12c
mov eax, 0x1014b508
call fcn.10143748
mov edi, ecx
mov dword [ebp - 0x80], edi
xor ebx, ebx
lea ecx, [ebp - 0x14]
mov eax, ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x20], eax
mov esi, dword [sym.imp.sccore.dll_public:_void___thiscall_ScCore::String::constructor_void_]
mov dword [ebp - 0x3c], eax
call esi
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], ebx
call esi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call dword [sym.imp.sccore.dll_public:_void___thiscall_ScCore::Error::constructor_void_]
mov ecx, dword [edi + 8]
mov esi, ebx
mov ebx, dword [sym.imp.sccore.dll_public:_void___thiscall_ScCore::String::destructor_void_]
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], esi
mov eax, dword [ecx + 0x20]
cmp dword [eax], esi
mov eax, dword [reloc.sccore.dll___4String_ScCore__QAEAAV01_ABV01__Z]
mov dword [ebp - 0x30], eax
jne 0x10095a07
mov eax, dword [ebp + 8]
add ecx, 0x10
push dword [eax + 0x20]
push dword [eax + 0x1c]
call fcn.10038cdf
push str.ProtocolVersion
push dword [ebp + 8]
lea eax, [ebp - 0x4c]
push eax
call fcn.10094cc7
add esp, 0xc
mov ecx, dword [edi + 8]
push eax
push 0x20
pop eax
add ecx, eax
mov byte [ebp - 4], 3
call dword [ebp - 0x30]
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
call ebx
push str.Command
push dword [ebp + 8]
lea eax, [ebp - 0x4c]
push eax
call fcn.10094cc7
add esp, 0xc
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call dword [ebp - 0x30]
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
call ebx
mov eax, dword [ebp - 0x14]
mov byte [ebp - 0xd], 0
cmp dword [eax], 0
mov eax, dword [sym.imp.sccore.dll_public:_void___thiscall_ScCore::String::constructor_char_const__]
mov dword [ebp - 0x2c], eax
jne 0x10095ab4
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x78]
mov dword [ebp - 0x4c], ecx
test ecx, ecx
je 0x10095ab4
mov esi, dword [eax + 0x74]
call dword [sym.imp.sccore.dll_public:_static_class_ScCore::Encoder_const____cdecl_ScCore::Encoder::getUtf8_void_]
push eax
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x14]
push esi
call dword [sym.imp.sccore.dll_public:_int___thiscall_ScCore::String::decode_char_const___int__class_ScCore::Encoder_const__]
push 1
xor eax, eax
push 1
push eax
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.sccore.dll_public:_static_class_ScCore::XML____cdecl_ScCore::XML::parse_class_ScCore::String_const___int___class_ScCore::Error___bool__bool__bool_]
mov ecx, eax
add esp, 0x18
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x34], ecx
mov esi, dword [eax]
test esi, esi
je 0x10095a9d
mov esi, dword [esi + 0x28]
mov dword [ebp - 0x18], esi
test esi, esi
jne 0x10095b18
lea eax, [ecx + 8]
push eax
lea ecx, [ebp - 0x14]
call dword [ebp - 0x30]
mov byte [ebp - 0xd], 1
jmp 0x10095b18
push 0x28
call dword [sym.imp.sccore.dll_public:_static_void____cdecl_ScCore::Heap::operator_new_unsigned_int_]
pop ecx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x10095afb
push 0x10161c24
lea ecx, [ebp - 0x68]
call dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x34]
xor eax, eax
inc eax
mov byte [ebp - 4], 6
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.sccore.dll_public:_void___thiscall_ScCore::XML::constructor_class_ScCore::String_const__]
mov eax, dword [ebp - 0x34]
mov dword [eax], vtable.ScCore::XML.0
jmp 0x10095aff
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 4], 2
test al, 1
je 0x10095b18
and eax, 0xfffffffe
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x3c], eax
call ebx
xor eax, eax
mov dword [ebp - 0x54], 0x1001
mov dword [ebp - 0x48], eax
push dword [eax*8 + 0x1018eb30]
lea ecx, [ebp - 0x14]
call dword [sym.imp.sccore.dll_public:_int___thiscall_ScCore::String::cmp_char_const__const]
test eax, eax
mov eax, dword [ebp - 0x48]
je 0x10095b46
inc eax
mov dword [ebp - 0x48], eax
cmp eax, 0x25
jb 0x10095b24
jmp 0x10095b57
mov eax, dword [eax*8 + 0x1018eb34]
mov dword [ebp - 0x54], eax
cmp eax, 0x1001
jne 0x10095b64
cmp byte [ebp - 0xd], 0
push 0x20
pop eax
cmove esi, eax
mov dword [ebp - 0x18], esi
push str.Engine
push dword [ebp + 8]
lea eax, [ebp - 0x40]
push eax
call fcn.10094cc7
add esp, 0xc
cmp byte [ebp - 0xd], 0
mov byte [ebp - 4], 8
je 0x10095bbb
push str._engine
lea ecx, [ebp - 0x48]
call dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 9
push eax
call dword [sym.imp.sccore.dll_public:_class_ScCore::String___thiscall_ScCore::XML::getText_class_ScCore::String_const__]
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xa
call dword [ebp - 0x30]
lea ecx, [ebp - 0x4c]
call ebx
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 8
call ebx
mov ecx, dword [edi + 8]
lea eax, [ebp - 0x40]
push eax
call fcn.10038cdf
xor ecx, ecx
mov esi, eax
mov eax, dword [sym.imp.extendscript.dll_public:_class_ScCore::String_const____thiscall_ScScript::Engine::getName_void_const]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x18], ecx
jne 0x10095cc9
test esi, esi
jne 0x10095cc9
mov ecx, dword [ebp - 0x54]
cmp ecx, 0x2000
jge 0x10095c62
cmp ecx, 0x1005
jne 0x10095c04
mov eax, dword [ebp - 0x40]
cmp dword [eax], esi
jg 0x10095c62
cmp ecx, 0x1000
jge 0x10095cc9
call dword [sym.imp.extendscript.dll_public:_static_class_ScScript::Engine____cdecl_ScScript::Engine::getCurrent_void_]
test eax, eax
je 0x10095c5a
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.extendscript.dll_public:_static_class_ScScript::Engine____cdecl_ScScript::Engine::getCurrent_void_]
mov ecx, eax
call dword [ebp - 0x70]
mov ecx, eax
call dword [sym.imp.sccore.dll_public:_bool___thiscall_ScCore::String::operator_class_ScCore::String_const__const]
test al, al
je 0x10095c5a
push 0x22
call dword [sym.imp.sccore.dll_public:_static_void____cdecl_ScCore::Heap::operator_new_unsigned_int_]
mov esi, eax
pop ecx
mov dword [ebp - 0x5c], esi
mov byte [ebp - 4], 0xc
test esi, esi
je 0x10095cb6
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.extendscript.dll_public:_static_class_ScScript::Engine____cdecl_ScScript::Engine::getCurrent_void_]
push eax
mov ecx, esi
jmp 0x10095ca9
push 0x20
pop eax
mov dword [ebp - 0x18], eax
jmp 0x10095cc9
mov eax, dword [edi + 8]
lea ecx, [ebp - 0x40]
push ecx
mov ecx, edi
inc dword [eax + 0x3c]
mov eax, dword [edi]
call dword [eax + 0x2c]
mov ecx, eax
mov eax, dword [edi + 8]
mov dword [ebp - 0x48], ecx
dec dword [eax + 0x3c]
test ecx, ecx
jne 0x10095c8b
mov dword [ebp - 0x18], 0x39
jmp 0x10095cc9
push 0x22
call dword [sym.imp.sccore.dll_public:_static_void____cdecl_ScCore::Heap::operator_new_unsigned_int_]
pop ecx
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 0xb
test eax, eax
je 0x10095cb6
lea ecx, [ebp - 0x40]
push ecx
mov ecx, dword [ebp - 0x48]
push ecx
mov ecx, eax
push edi
call fcn.100937a9
mov esi, eax
mov dword [ebp - 0x20], eax
jmp 0x10095cbb
xor esi, esi
mov dword [ebp - 0x20], esi
mov ecx, dword [edi + 8]
push esi
mov byte [ebp - 4], 8
call dword [sym.imp.sccore.dll_public:_void___thiscall_ScCore::SimpleArray::append_int_]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.sccore.dll_public:_void___thiscall_ScCore::String::constructor_void_]
xor eax, eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x18], eax
mov dword [ebp - 0x38], eax
mov eax, dword [sym.imp.sccore.dll_public:_char_const____thiscall_ScCore::String::encode_class_ScCore::Encoder_const__const]
mov dword [ebp - 0x4c], eax
mov eax, dword [sym.imp.sccore.dll_public:_class_ScCore::XML____thiscall_ScCore::XML::put_class_ScCore::String_const___class_ScCore::String_const__]
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x50], eax
jne 0x10096984
mov eax, dword [ebp - 0x54]
mov ecx, 0x1006
cmp eax, ecx
jg 0x100963df
je 0x1009638f
mov ecx, 0x102
cmp eax, ecx
jg 0x10095e78
je 0x10095e39
cmp eax, 0x21
je 0x10095d40
cmp eax, 0x62
je 0x10095d40
cmp eax, 0x69
je 0x10095d40
cmp eax, 0x6f
je 0x10095d40
add eax, 0xffffff8e
cmp eax, 1
ja 0x1009652b
cmp byte [ebp - 0xd], 0
je 0x10095d9c
push str._shutdown
lea ecx, [ebp + 8]
call dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x34]
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 0x41
call dword [sym.imp.sccore.dll_public:_bool___thiscall_ScCore::XML::getBool_class_ScCore::String_const__const]
mov ecx, dword [edi + 8]
mov byte [ebp - 4], 0xe
mov byte [ecx + 0x41], al
lea ecx, [ebp + 8]
call ebx
mov eax, dword [ebp - 0x54]
cmp eax, 0x62
je 0x10095d82
cmp eax, 0x21
je 0x10095d82
xor al, al
jmp 0x10095d84
mov al, 1
mov ecx, dword [esi + 0x10]
mov byte [esi + 0x20], al
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x34]
call dword [sym.imp.extendscript.dll_public:_class_ScCore::XML____thiscall_ScScript::DebugAPI::executeXML_class_ScCore::XML_const___class_ScCore::Error__]
jmp 0x10095e30
push str.Shutdown
push dword [ebp + 8]
call fcn.10094d35
test eax, eax
mov eax, dword [edi + 8]
push str.Profiling
push dword [ebp + 8]
setne cl
mov byte [eax + 0x41], cl
call fcn.10094d35
mov ecx, dword [esi + 8]
add esp, 0x10
push eax
call dword [sym.imp.extendscript.dll_public:_void___thiscall_ScScript::Engine::setProfilingLevel_int_]
mov eax, dword [esi + 8]
push str.DebugFlags
push dword [ebp + 8]
mov esi, dword [eax + 0x18]
call fcn.10094d35
pop ecx
pop ecx
mov ecx, eax
and esi, 0xfffffbfc
or ecx, esi
mov esi, dword [ebp - 0x20]
mov eax, dword [esi + 8]
mov dword [eax + 0x18], ecx
mov eax, dword [ebp - 0x54]
cmp eax, 0x62
je 0x10095e07
cmp eax, 0x21
je 0x10095e07
xor al, al
jmp 0x10095e09
mov al, 1
push str.IgnoreErrors
push dword [ebp + 8]
mov byte [esi + 0x20], al
call fcn.10094d35
test eax, eax
pop ecx
pop ecx
mov ecx, dword [esi + 0x10]
setne al
movzx eax, al
push eax
push dword [ebp - 0x54]
call dword [sym.imp.extendscript.dll_public:_void___thiscall_ScScript::DebugAPI::command_enum_ScScript::DebugAPI::Cmd__bool_]
mov byte [esi + 0x21], 0
jmp 0x10096984
mov eax, dword [edi + 8]
lea ecx, [ebp - 0x14]
push dword [eax + 0x34]
mov eax, dword [ebp + 8]
push 0xffffffffffffffff
push dword [eax + 0x74]
call dword [sym.imp.sccore.dll_public:_int___thiscall_ScCore::String::decode_char_const___int__class_ScCore::Encoder_const__]
mov eax, dword [ebp - 0x14]
add eax, 0xc
push eax
call dword [sym.imp.sccore.dll_public:_static_int___cdecl_ScCore::UnicodeUtils::watol_unsigned_short_int_const__]
pop ecx
mov ecx, dword [esi + 0x10]
push eax
call dword [sym.imp.extendscript.dll_public:_void___thiscall_ScScript::DebugAPI::setContextLevel_int_]
push esi
push dword [edi + 8]
call fcn.1009711c
pop ecx
pop ecx
jmp 0x10096984
sub eax, 0x1002
je 0x10096251
sub eax, 1
je 0x10096166
sub eax, 1
je 0x1009612f
sub eax, 1
jne 0x1009652b
call dword [sym.imp.extendscript.dll_public:_static_class_ScScript::Engine____cdecl_ScScript::Engine::getCurrent_void_]
test esi, esi
je 0x1009601f
cmp eax, dword [esi + 8]
jne 0x10095ef5
push str.ENGINE_BUSY
lea ecx, [ebp + 8]
call dword [ebp - 0x2c]
mov byte [ebp - 4], 0x13
push 1
push 0
push eax
push 1
lea ecx, [ebp - 0x24]
call dword [sym.imp.sccore.dll_public:_void___thiscall_ScCore::Error::push_int__class_ScCore::String_const___class_ScCore::Cloneable_const___bool_]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xe
call ebx
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
test eax, eax
jne 0x10095eea
and dword [ebp - 0x18], eax
jmp 0x10096984
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x18], eax
jmp 0x10096984
cmp byte [ebp - 0xd], 0
je 0x10095f25
push str.eval
lea ecx, [ebp + 8]
call dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x34]
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 0x14
call dword [sym.imp.sccore.dll_public:_bool___thiscall_ScCore::XML::setName_class_ScCore::String_const__]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xe
call ebx
jmp 0x1009652b
lea ecx, [ebp - 0x138]
call fcn.1009a016
push str.Eval
push str.Command
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], 0x15
call fcn.1009be83
push str.File
push dword [ebp + 8]
lea eax, [ebp - 0x28]
push eax
call fcn.10094cc7
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 0x16
call dword [sym.imp.sccore.dll_public:_static_class_ScCore::Encoder_const____cdecl_ScCore::Encoder::getUtf8_void_]
mov ecx, esi
mov esi, dword [ebp - 0x4c]
push eax
call esi
push eax
push str.ScriptID
lea ecx, [ebp - 0x138]
call fcn.1009be83
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x15
call ebx
mov ecx, dword [edi + 8]
push 0
add ecx, 0xc
call esi
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x130]
call fcn.10038cdf
mov eax, dword [edi + 8]
lea ecx, [ebp - 0x120]
push dword [eax + 0x18]
push dword [eax + 0x14]
call fcn.10038cdf
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0xc8]
push dword [eax + 0x78]
push dword [eax + 0x74]
call fcn.10038cdf
mov eax, dword [edi]
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x138]
push ecx
mov ecx, dword [ebp - 0x20]
push dword [ecx + 8]
lea ecx, [ebp + 8]
push ecx
mov ecx, edi
call dword [eax + 0x48]
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x17
call dword [ebp - 0x30]
lea ecx, [ebp + 8]
call ebx
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
test eax, eax
jne 0x10096005
and dword [ebp - 0x18], eax
jmp 0x1009600b
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], 0xe
call fcn.1009a1c2
jmp 0x10096984
test eax, eax
je 0x10096037
push str.ENGINE_BUSY
lea ecx, [ebp + 8]
call dword [ebp - 0x2c]
mov byte [ebp - 4], 0x18
jmp 0x10095ec0
cmp byte [ebp - 0xd], 0
je 0x100960d9
push str.source
lea ecx, [ebp + 8]
call dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x34]
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x19
push eax
call dword [sym.imp.sccore.dll_public:_class_ScCore::String___thiscall_ScCore::XML::getText_class_ScCore::String_const__]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x1a
call dword [ebp - 0x30]
lea ecx, [ebp - 0x28]
call ebx
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xe
call ebx
push str._file
lea ecx, [ebp + 8]
call dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x34]
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x1b
push eax
call dword [sym.imp.sccore.dll_public:_class_ScCore::String___thiscall_ScCore::XML::getText_class_ScCore::String_const__]
push 0
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x1c
call dword [sym.imp.sccore.dll_public:_void___thiscall_ScCore::FileSpec::constructor_class_ScCore::String_const___bool_]
lea ecx, [ebp - 0x28]
call ebx
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x1f
call ebx
mov eax, dword [edi]
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x20]
push ecx
mov ecx, edi
call dword [eax + 0x40]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xe
call dword [sym.imp.sccore.dll_public:_void___thiscall_ScCore::FileSpec::destructor_void_]
jmp 0x10096984
mov eax, dword [edi + 8]
lea ecx, [ebp - 0x14]
mov esi, dword [ebp + 8]
push dword [eax + 0x34]
push 0xffffffffffffffff
push dword [esi + 0x74]
call dword [sym.imp.sccore.dll_public:_int___thiscall_ScCore::String::decode_char_const___int__class_ScCore::Encoder_const__]
push str.File
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.10094cc7
add esp, 0xc
push 0
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x20
call dword [sym.imp.sccore.dll_public:_void___thiscall_ScCore::FileSpec::constructor_class_ScCore::String_const___bool_]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x22
call ebx
mov eax, dword [edi]
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp + 8]
push ecx
mov ecx, edi
call dword [eax + 0x40]
lea ecx, [ebp + 8]
jmp 0x100960ca
cmp byte [ebp - 0xd], 0
mov eax, dword [edi + 8]
je 0x1009614d
mov byte [eax + 0x42], 1
push dword [edi + 8]
call fcn.100955e9
pop ecx
mov dword [ebp - 0x38], eax
jmp 0x10096984
inc dword [eax + 0x3c]
lea ecx, [ebp - 0x1c]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x28]
mov eax, dword [edi + 8]
dec dword [eax + 0x3c]
jmp 0x10096984
cmp byte [ebp - 0xd], 0
je 0x100961e0
push 0x10161c80
lea ecx, [ebp + 8]
call dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x34]
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x3c
push eax
call dword [sym.imp.sccore.dll_public:_class_ScCore::String___thiscall_ScCore::XML::getText_class_ScCore::String_const__]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x3d
call dword [ebp - 0x30]
lea ecx, [ebp - 0x28]
call ebx
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xe
call ebx
push str.source
lea ecx, [ebp - 0x20]
call dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 0x3e
push eax
call dword [sym.imp.sccore.dll_public:_class_ScCore::String___thiscall_ScCore::XML::getText_class_ScCore::String_const__]
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x3f
call dword [ebp - 0x30]
lea ecx, [ebp + 8]
call ebx
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xe
call ebx
jmp 0x1009621d
mov esi, dword [ebp + 8]
lea eax, [ebp + 8]
push str.ScriptID
push esi
push eax
call fcn.10094cc7
add esp, 0xc
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x40
call dword [ebp - 0x30]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xe
call ebx
mov eax, dword [edi + 8]
lea ecx, [ebp - 0x44]
push dword [eax + 0x34]
push 0xffffffffffffffff
push dword [esi + 0x74]
call dword [sym.imp.sccore.dll_public:_int___thiscall_ScCore::String::decode_char_const___int__class_ScCore::Encoder_const__]
mov eax, dword [edi]
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x40]
push ecx
mov ecx, edi
call dword [eax + 0x24]
mov esi, eax
test esi, esi
je 0x10096987
push 1
push 0
lea eax, [ebp - 0x14]
push eax
push esi
lea ecx, [ebp - 0x24]
call dword [sym.imp.sccore.dll_public:_void___thiscall_ScCore::Error::push_int__class_ScCore::String_const___class_ScCore::Cloneable_const___bool_]
jmp 0x10096987
cmp byte [ebp - 0xd], 0
je 0x1009634f
push 0x10161c80
lea ecx, [ebp + 8]
call dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x34]
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x35
push eax
call dword [sym.imp.sccore.dll_public:_class_ScCore::String___thiscall_ScCore::XML::getText_class_ScCore::String_const__]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x36
call dword [ebp - 0x30]
lea ecx, [ebp - 0x28]
call ebx
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xe
call ebx
mov eax, dword [edi]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x40]
push ecx
mov ecx, edi
call dword [eax + 0x20]
push 0x28
mov esi, eax
call dword [sym.imp.sccore.dll_public:_static_void____cdecl_ScCore::Heap::operator_new_unsigned_int_]
pop ecx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x80], eax
mov byte [ebp - 4], 0x37
test eax, eax
je 0x100962f3
push str.script
lea ecx, [ebp + 8]
call dword [ebp - 0x2c]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
or eax, 4
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x20], eax
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 0x38
call dword [sym.imp.sccore.dll_public:_void___thiscall_ScCore::XML::constructor_class_ScCore::String_const__]
mov eax, dword [ebp - 0x38]
mov dword [eax], vtable.ScCore::XML.0
jmp 0x100962f7
and dword [ebp - 0x38], 0
test byte [ebp - 0x3c], 4
mov dword [ebp - 4], 0xe
je 0x10096309
lea ecx, [ebp + 8]
call ebx
push 0x10161c80
lea ecx, [ebp - 0x20]
call dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0x3a
push eax
call dword [ebp - 0x50]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xe
call ebx
push 1
lea eax, [ebp - 0x1c]
push 0x7fffffff
push eax
call fcn.10093daf
pop ecx
mov ecx, dword [ebp - 0x38]
push eax
call dword [sym.imp.sccore.dll_public:_bool___thiscall_ScCore::XML::insert_class_ScCore::XML_const___int__bool_]
jmp 0x10096987
push str.ScriptID
push dword [ebp + 8]
lea eax, [ebp + 8]
push eax
call fcn.10094cc7
add esp, 0xc
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x3b
call dword [ebp - 0x30]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xe
call ebx
mov eax, dword [edi]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x40]
push ecx
mov ecx, edi
call dword [eax + 0x20]
jmp 0x100964ec
push str.4.5.5
lea ecx, [ebp - 0x1c]
call dword [0x101514c8]
push 0xa
lea ecx, [ebp - 0x1c]
call dword [sym.imp.sccore.dll_public:_class_ScCore::String____thiscall_ScCore::String::operator_char_]
xor esi, esi
test esi, esi
je 0x100963b9
push 0x2c
lea ecx, [ebp - 0x1c]
call dword [sym.imp.sccore.dll_public:_class_ScCore::String____thiscall_ScCore::String::operator_char_]
push dword [esi*8 + 0x1018eb30]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.sccore.dll_public:_class_ScCore::String____thiscall_ScCore::String::operator_char_const__]
inc esi
cmp esi, 0x25
jb 0x100963aa
push 0xa
lea ecx, [ebp - 0x1c]
call dword [sym.imp.sccore.dll_public:_class_ScCore::String____thiscall_ScCore::String::operator_char_]
jmp 0x10096984
mov ecx, 0x1103
cmp eax, ecx
jg 0x10096507
je 0x100964f3
sub eax, 0x1007
je 0x100964de
sub eax, 1
je 0x1009647a
sub eax, 1
je 0x1009644d
sub eax, 7
je 0x10096441
sub eax, 0xf2
jne 0x1009652b
push str.get_package
lea ecx, [ebp + 8]
call dword [ebp - 0x2c]
mov byte [ebp - 4], 0x46
mov ecx, dword [ebp - 0x34]
lea eax, [ebp + 8]
push eax
call dword [sym.imp.sccore.dll_public:_bool___thiscall_ScCore::XML::setName_class_ScCore::String_const__]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xe
call ebx
jmp 0x10096535
mov eax, dword [edi + 8]
mov byte [eax + 0x42], 1
jmp 0x10096984
lea eax, [ebp - 0x40]
push eax
push esi
push dword [edi + 8]
lea eax, [ebp + 8]
push eax
call fcn.10094d77
add esp, 0x10
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x23
call dword [ebp - 0x30]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xe
call ebx
jmp 0x10096984
push str.tofront
lea ecx, [ebp - 0x20]
call dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 0x42
call dword [sym.imp.sccore.dll_public:_bool___thiscall_ScCore::XML::setName_class_ScCore::String_const__]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xe
call ebx
push 0x10161c80
lea ecx, [ebp - 0x3c]
call dword [ebp - 0x2c]
push 0x10161cc8
push dword [ebp + 8]
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x43
push eax
call fcn.10094cc7
add esp, 0xc
mov ecx, dword [ebp - 0x34]
push eax
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0x44
push eax
call dword [ebp - 0x50]
lea ecx, [ebp - 0x28]
call ebx
lea ecx, [ebp - 0x3c]
jmp 0x10096436
mov eax, dword [edi]
lea ecx, [ebp - 0x1c]
push ecx
push dword [ebp + 8]
mov ecx, edi
call dword [eax + 0x44]
mov esi, eax
jmp 0x10096987
push str.get_map
lea ecx, [ebp + 8]
call dword [ebp - 0x2c]
mov byte [ebp - 4], 0x45
jmp 0x10096426
sub eax, 0x2001
je 0x10096640
sub eax, 1
je 0x100965ca
sub eax, 1
je 0x1009655a
sub eax, 0x102
je 0x100965ca
cmp byte [ebp - 0xd], 0
je 0x10096984
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x34]
test esi, esi
jne 0x1009654c
call dword [sym.imp.extendscript.dll_public:_static_class_ScCore::XML____cdecl_ScScript::DebugAPI::executeStaticXML_class_ScCore::XML_const___class_ScCore::Error__]
pop ecx
jmp 0x10096144
mov ecx, dword [esi + 0x10]
call dword [sym.imp.extendscript.dll_public:_class_ScCore::XML____thiscall_ScScript::DebugAPI::executeXML_class_ScCore::XML_const___class_ScCore::Error__]
jmp 0x10096145
mov eax, dword [edi + 8]
lea ecx, [ebp - 0x14]
mov esi, dword [ebp + 8]
push dword [eax + 0x34]
push 0xffffffffffffffff
push dword [esi + 0x74]
call dword [sym.imp.sccore.dll_public:_int___thiscall_ScCore::String::decode_char_const___int__class_ScCore::Encoder_const__]
push str.Exclude
lea eax, [ebp - 0x58]
push esi
push eax
call fcn.10094cc7
add esp, 0xc
mov esi, eax
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0x11
push eax
push str.MaxArrayElements
push dword [ebp + 8]
call fcn.10094d35
pop ecx
pop ecx
mov ecx, dword [ebp - 0x20]
push eax
push esi
lea eax, [ebp - 0x14]
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
call fcn.100952d7
add esp, 0x18
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x12
call dword [ebp - 0x30]
lea ecx, [ebp - 0x28]
call ebx
lea ecx, [ebp - 0x58]
jmp 0x1009646f
mov eax, dword [esi + 8]
mov dword [ebp - 0x28], eax
call dword [sym.imp.extendscript.dll_public:_static_class_ScScript::Engine____cdecl_ScScript::Engine::getCurrent_void_]
mov ecx, dword [ebp - 0x28]
cmp eax, ecx
jne 0x10096620
cmp byte [esi + 0x21], 0
jne 0x10096620
push str.ENGINE_BUSY
lea ecx, [ebp + 8]
call dword [ebp - 0x2c]
push 1
push 0
push eax
push 1
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xf
call dword [sym.imp.sccore.dll_public:_void___thiscall_ScCore::Error::push_int__class_ScCore::String_const___class_ScCore::Cloneable_const___bool_]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xe
call ebx
mov eax, dword [ebp - 0x24]
mov esi, dword [eax]
test esi, esi
je 0x10096987
mov esi, dword [esi + 0x28]
jmp 0x10096987
mov eax, dword [edi]
lea edx, [ebp - 0x24]
push edx
push dword [ebp + 8]
push ecx
lea ecx, [ebp + 8]
push ecx
mov ecx, edi
call dword [eax + 0x48]
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x10
call dword [ebp - 0x30]
jmp 0x10096602
mov eax, dword [edi]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x40]
push ecx
mov ecx, edi
call dword [eax + 0x1c]
mov ecx, dword [esi + 8]
push 0x70617273
mov eax, dword [ecx]
call dword [eax + 0xb8]
mov ecx, eax
call dword [sym.imp.extendscript.dll_public:_class_ScCore::String_const____thiscall_ScScript::ParserAPI::getIncludePath_void_const]
push eax
lea ecx, [ebp - 0x14]
call dword [ebp - 0x30]
cmp byte [ebp - 0xd], 0
je 0x10096939
push 0x28
call dword [sym.imp.sccore.dll_public:_static_void____cdecl_ScCore::Heap::operator_new_unsigned_int_]
mov esi, eax
mov dword [ebp - 0x38], eax
pop ecx
mov dword [ebp + 8], esi
mov byte [ebp - 4], 0x24
test esi, esi
je 0x100966c0
push str.scripts
lea ecx, [ebp - 0x6c]
call dword [ebp - 0x2c]
mov eax, dword [ebp - 0x3c]
mov ecx, esi
or eax, 2
mov byte [ebp - 4], 0x25
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.sccore.dll_public:_void___thiscall_ScCore::XML::constructor_class_ScCore::String_const__]
mov dword [esi], vtable.ScCore::XML.0
jmp 0x100966c5
xor esi, esi
mov dword [ebp - 0x38], esi
test byte [ebp - 0x3c], 2
mov dword [ebp - 4], 0xe
je 0x100966d7
lea ecx, [ebp - 0x6c]
call ebx
push str._includepath
lea ecx, [ebp + 8]
call dword [ebp - 0x2c]
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0x27
push eax
lea eax, [ebp + 8]
mov ecx, esi
push eax
call dword [ebp - 0x50]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xe
call ebx
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0
je 0x10096984
mov edi, dword [ebp - 0x2c]
push 0xa
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x1c]
call dword [sym.imp.sccore.dll_public:_class_ScCore::String___thiscall_ScCore::String::split_char_]
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x28
call dword [ebp - 0x30]
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0xe
call ebx
push str.script
lea ecx, [ebp - 0x20]
call edi
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0x29
push eax
mov ecx, esi
call dword [sym.imp.sccore.dll_public:_class_ScCore::XML____thiscall_ScCore::XML::add_class_ScCore::String_const__]
lea ecx, [ebp - 0x20]
mov dword [ebp + 8], eax
mov byte [ebp - 4], 0xe
call ebx
push str._name
lea ecx, [ebp - 0x3c]
call edi
push 0x2c
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 0x2a
push eax
lea ecx, [ebp - 0x44]
call dword [sym.imp.sccore.dll_public:_class_ScCore::String___thiscall_ScCore::String::split_char_]
mov ecx, dword [ebp + 8]
push eax
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0x2b
push eax
call dword [ebp - 0x50]
lea ecx, [ebp - 0x98]
call ebx
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xe
call ebx
push 0x10161c80
lea ecx, [ebp - 0x74]
call edi
push 0x2c
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x2c
push eax
lea ecx, [ebp - 0x44]
call dword [sym.imp.sccore.dll_public:_class_ScCore::String___thiscall_ScCore::String::split_char_]
mov ecx, dword [ebp + 8]
push eax
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 0x2d
push eax
call dword [ebp - 0x50]
lea ecx, [ebp - 0x88]
call ebx
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0xe
call ebx
push 0x2c
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x44]
call dword [sym.imp.sccore.dll_public:_class_ScCore::String___thiscall_ScCore::String::split_char_]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x2e
call dword [ebp - 0x30]
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x8c]
call ebx
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
jne 0x10096819
push str.exec
lea ecx, [ebp - 0x14]
call dword [0x101514c8]
push str._state
lea ecx, [ebp - 0x7c]
call edi
mov ecx, dword [ebp + 8]
push 0x2f
pop eax
mov byte [ebp - 4], al
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x7c]
push eax
call dword [ebp - 0x50]
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0xe
call ebx
mov eax, dword [ebp - 0x44]
cmp dword [eax], 0
jne 0x100968e8
push 0x10161c80
lea ecx, [ebp - 0x84]
call edi
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 0x30
push eax
call dword [sym.imp.sccore.dll_public:_class_ScCore::String___thiscall_ScCore::XML::getText_class_ScCore::String_const__]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x31
call dword [ebp - 0x30]
lea ecx, [ebp - 0x60]
call ebx
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0xe
call ebx
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
je 0x100968e8
movzx eax, word [eax + 0xc]
push 0x2f
pop ecx
cmp ax, cx
je 0x100968a6
cmp eax, 0x7e
jne 0x100968e8
push 0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x64]
call dword [sym.imp.sccore.dll_public:_void___thiscall_ScCore::FileSpec::constructor_class_ScCore::String_const___bool_]
xor eax, eax
mov byte [ebp - 4], 0x32
push eax
push eax
lea ecx, [ebp - 0x64]
call dword [sym.imp.sccore.dll_public:_short_int___thiscall_ScCore::FileSpec::getAttributes_int___int__const]
shr eax, 5
test al, 1
je 0x100968db
push str.true
lea ecx, [ebp - 0x44]
call dword [0x101514c8]
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xe
call dword [sym.imp.sccore.dll_public:_void___thiscall_ScCore::FileSpec::destructor_void_]
mov eax, dword [ebp - 0x44]
cmp dword [eax], 0
je 0x10096928
push str.true
lea ecx, [ebp - 0x28]
call edi
push str._readonly
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x33
call edi
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0x34
push eax
call dword [ebp - 0x50]
lea ecx, [ebp - 0x58]
call ebx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xe
call ebx
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0
jne 0x1009670b
mov edi, dword [ebp - 0x80]
jmp 0x10096984
mov eax, dword [ebp - 0x1c]
mov esi, dword [sym.imp.sccore.dll_public:_class_ScCore::String____thiscall_ScCore::String::operator_char_]
mov ecx, dword [eax]
test ecx, ecx
je 0x10096958
push 0xa
pop edx
cmp word [eax + ecx*2 + 0xa], dx
je 0x10096958
push edx
lea ecx, [ebp - 0x1c]
call esi
push 0xa
pop eax
push eax
lea ecx, [ebp - 0x1c]
call esi
lea eax, [ebp - 0x14]
push 0xffffffffffffffff
push eax
call fcn.100942bc
pop ecx
pop ecx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x1c]
call dword [sym.imp.sccore.dll_public:_class_ScCore::String____thiscall_ScCore::String::operator_class_ScCore::String_const__]
push 0xa
pop eax
push eax
lea ecx, [ebp - 0x1c]
call esi
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x10096993
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x38], 0
je 0x100969ea
push str._engine
lea ecx, [ebp - 0x28]
call dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x47
push eax
call dword [ebp - 0x50]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xe
call ebx
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x60]
push 0xffffffffffffffff
push eax
call dword [sym.imp.sccore.dll_public:_class_ScCore::String___thiscall_ScCore::XML::toXMLString_int_]
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x48
call dword [ebp - 0x30]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0xe
call ebx
mov ecx, dword [ebp - 0x38]
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x54], 0x1007
je 0x10096a2e
test esi, esi
je 0x10096a12
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
test eax, eax
je 0x10096a06
cmp dword [eax + 0x28], 0
jne 0x10096a12
push 0
push esi
lea ecx, [ebp - 0x24]
call dword [sym.imp.sccore.dll_public:_void___thiscall_ScCore::Error::push_int__class_ScCore::Cloneable_const__]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
test eax, eax
je 0x10096a2e
cmp dword [eax + 0x28], 0
je 0x10096a2e
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x24]
call dword [sym.imp.sccore.dll_public:_void___thiscall_ScCore::Error::getFullText_class_ScCore::String__const]
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x10096a72
mov ecx, eax
call dword [ebp - 0x70]
mov ecx, dword [edi + 8]
push eax
call fcn.10038cdf
mov esi, eax
test esi, esi
je 0x10096a5b
mov ecx, dword [edi + 8]
push esi
call dword [sym.imp.sccore.dll_public:_void___thiscall_ScCore::SimpleArray::remove_int_]
mov edx, dword [esi]
mov ecx, esi
push 1
call dword [edx]
mov eax, dword [edi + 8]
mov ecx, dword [ebp - 0x48]
push ecx
mov ecx, edi
inc dword [eax + 0x3c]
mov eax, dword [edi]
call dword [eax + 0x30]
mov eax, dword [edi + 8]
dec dword [eax + 0x3c]
mov eax, dword [edi + 8]
lea ecx, [ebp - 0x1c]
push dword [eax + 0x34]
call dword [ebp - 0x4c]
mov ecx, dword [ebp + 0xc]
push 0xffffffffffffffff
push eax
call fcn.10038cdf
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
test eax, eax
je 0x10096a98
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x78], eax
lea ecx, [ebp - 0x5c]
call fcn.10038cdf
lea ecx, [ebp - 0x1c]
call ebx
lea ecx, [ebp - 0x40]
call ebx
lea ecx, [ebp - 0x24]
call dword [sym.imp.sccore.dll_public:_void___thiscall_ScCore::Error::destructor_void_]
lea ecx, [ebp - 0x44]
call ebx
lea ecx, [ebp - 0x14]
call ebx
mov eax, dword [ebp - 0x78]
call fcn.10143711
ret 8