Function at 0x1000c070
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10066449
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x1009a8a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
lea ecx, [ebp - 0x14]
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::SimpleArray::constructor_void_]
mov eax, dword [esi + 0x10]
mov dword [ebp - 4], 0
test eax, eax
je 0x1000c164
cmp dword [eax + 0x1c], 0
je 0x1000c164
mov eax, dword [esi + 0x1a]
cmp eax, 0xffffffff
je 0x1000c0d3
cmp eax, 0xfffffffe
jne 0x1000c164
push dword [ebp + 8]
lea ecx, [ebp - 0x40]
call sym.ExtendScript.dll_private:_bool___thiscall_ScScript::Preprocessor::directive_struct_ScScript::Preprocessor::ProcData__
mov eax, dword [esi + 0x10]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
mov esi, dword [eax + 0x1c]
add esi, 4
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Heap::constructor_void_]
mov ecx, esi
mov dword [ebp - 0x20], esi
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Lockable::lock_void_const]
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp + 0x10]
push ebx
mov byte [ebp - 4], 2
mov eax, dword [esi + 0x10]
mov edi, dword [eax + 0x1c]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x40]
push eax
mov esi, dword [edi]
mov esi, dword [esi + 0x20]
mov ecx, esi
call dword [0x10071a38]
mov ecx, edi
call esi
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 3
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Lockable::unlock_void_const]
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push 0
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::SimpleArray::merge_class_ScCore::SimpleArray_const___bool_]
lea ecx, [ebp - 0x14]
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::SimpleArray::erase_void_]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Variant::destructor_void_]
mov esi, dword [ebp - 0x18]
jmp 0x1000c167
mov ebx, dword [ebp + 0x10]
mov edi, dword [esi + 0x14]
mov dword [ebp - 0x24], edi
test edi, edi
je 0x1000c2bc
lea ecx, [ebp - 0x1c]
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::String::constructor_void_]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Heap::constructor_void_]
mov ecx, edi
mov dword [ebp - 0x20], edi
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Refcountable::addRef_void_const]
lea ecx, [edi + 8]
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Lockable::lock_void_const]
mov eax, dword [edi]
lea ecx, [ebp - 0x14]
push ebx
push ecx
mov byte [ebp - 4], 5
mov esi, dword [eax + 0x68]
mov ecx, esi
call dword [0x10071a38]
mov ecx, edi
call esi
mov ecx, eax
test ecx, ecx
jne 0x1000c270
lea ecx, [ebp - 0x14]
xor edi, edi
call dword [sym.imp.ScCore.dll_public:_int___thiscall_ScCore::SimpleArray::length_void_const]
test eax, eax
jle 0x1000c288
mov ebx, dword [ebp - 0x24]
nop dword [eax]
mov esi, dword [ebx]
lea ecx, [ebp - 0x14]
push edi
call dword [sym.imp.ScCore.dll_public:_int____thiscall_ScCore::SimpleArray::operator___int_]
mov esi, dword [esi + 0x54]
lea ecx, [ebp - 0x1c]
push 0x10000
push ecx
push dword [eax]
mov ecx, esi
call dword [0x10071a38]
mov ecx, ebx
call esi
test eax, eax
jne 0x1000c259
lea ecx, [ebp - 0x1c]
call dword [sym.imp.ScCore.dll_public:_unsigned_short_int_const____thiscall_ScCore::String::operator_unsigned_short_int_const__void_const]
mov ecx, dword [0x1009bdcc]
push eax
call sym.ExtendScript.dll_private:_bool___thiscall_ScScript::Preprocessor::directive_struct_ScScript::Preprocessor::ProcData__
mov ecx, dword [ebp + 0xc]
push eax
call dword [sym.imp.ScCore.dll_public:_class_ScCore::SimpleArray____thiscall_ScCore::SimpleArray::operator_int_]
mov esi, dword [ebp - 0x18]
lea ecx, [ebp - 0x1c]
push 0x40
mov esi, dword [esi]
call dword [sym.imp.ScCore.dll_public:_unsigned_short_int_const____thiscall_ScCore::String::operator_unsigned_short_int_const__void_const]
mov ecx, dword [0x1009bdcc]
push eax
call sym.ExtendScript.dll_private:_bool___thiscall_ScScript::Preprocessor::directive_struct_ScScript::Preprocessor::ProcData__
mov esi, dword [esi + 0x90]
mov ecx, esi
push eax
call dword [0x10071a38]
mov ecx, dword [ebp - 0x18]
call esi
lea ecx, [ebp - 0x14]
inc edi
call dword [sym.imp.ScCore.dll_public:_int___thiscall_ScCore::SimpleArray::length_void_const]
cmp edi, eax
jl 0x1000c1e0
mov ebx, dword [ebp + 0x10]
jmp 0x1000c288
mov eax, dword [ebp - 0x18]
push ecx
mov edi, dword [eax + 0x6a]
mov eax, dword [edi]
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [0x10071a38]
mov ecx, edi
call esi
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 6
lea ecx, [ecx + 8]
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Lockable::unlock_void_const]
mov esi, dword [ebp - 0x20]
mov eax, dword [esi]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x10071a38]
mov ecx, esi
call edi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::String::destructor_void_]
mov esi, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::SimpleArray::erase_void_]
push dword [esi + 0x7a]
lea ecx, [ebp - 0x14]
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::SimpleArray::setSize_int_]
xor al, al
mov ecx, 0x10
mov byte [ebp - 0xd], al
mov dword [ebp - 0x20], eax
lea eax, [esi + 0x2a]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], ecx
nop word [eax + eax]
mov edi, dword [eax]
test edi, edi
je 0x1000c423
nop word [eax + eax]
mov eax, dword [edi + 0x24]
test eax, 0x4000000
je 0x1000c313
test bl, 0x10
je 0x1000c40f
test ebx, 0x2000000
je 0x1000c326
test eax, 0x8000000
jne 0x1000c40f
push dword [edi + 0x1c]
mov ecx, dword [ebp + 0xc]
call dword [sym.imp.ScCore.dll_public:_int___thiscall_ScCore::SimpleArray::indexOf_int_const]
test eax, eax
jns 0x1000c40f
mov ebx, dword [edi + 0x24]
mov eax, dword [ebp + 0x10]
test ebx, ebx
jne 0x1000c38d
test eax, eax
jns 0x1000c38d
mov eax, dword [edi]
push ebx
push esi
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x10071a38]
mov ecx, edi
call esi
cmp dword [eax + 0x10], 5
jne 0x1000c38a
mov eax, dword [eax + 8]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x1000c38a
mov eax, dword [eax]
mov esi, dword [eax + 0x84]
mov ecx, esi
call dword [0x10071a38]
mov ecx, dword [ebp - 0x28]
call esi
test eax, eax
mov eax, 0x20
cmovne ebx, eax
mov eax, dword [ebp + 0x10]
test eax, 0x10000000
jne 0x1000c39c
test ebx, 0x1000
jne 0x1000c40c
test eax, 0x8000000
jne 0x1000c3a8
test bl, 2
jne 0x1000c40c
test bl, 0x20
je 0x1000c3bb
mov ebx, dword [ebp + 0x10]
mov eax, ebx
shr eax, 0x1f
test al, al
je 0x1000c40f
jmp 0x1000c3db
test eax, 0x20000000
je 0x1000c3c7
test bl, 1
je 0x1000c3d8
test eax, 0x40000000
je 0x1000c40c
test bl, 1
mov ebx, dword [ebp + 0x10]
je 0x1000c40f
jmp 0x1000c3db
mov ebx, dword [ebp + 0x10]
mov esi, dword [edi + 0x1c]
test esi, esi
jne 0x1000c3e8
mov byte [ebp - 0xd], 1
jmp 0x1000c40f
mov eax, dword [ebp - 0x20]
cmp esi, 0x74
push dword [edi + 0x30]
movzx eax, al
mov ecx, 1
cmove eax, ecx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x20], eax
call dword [sym.imp.ScCore.dll_public:_int____thiscall_ScCore::SimpleArray::operator___int_]
mov dword [eax], esi
jmp 0x1000c40f
mov ebx, dword [ebp + 0x10]
mov edi, dword [edi + 0x2c]
mov esi, dword [ebp - 0x18]
test edi, edi
jne 0x1000c300
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
add eax, 4
sub ecx, 1
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], ecx
jne 0x1000c2f0
cmp byte [ebp - 0x20], 0
jne 0x1000c47e
and ebx, 0x88000000
cmp ebx, 0x8000000
jne 0x1000c47e
cmp dword [esi + 0x6e], 0x20000089
je 0x1000c473
mov edi, dword [esi + 0x14]
test edi, edi
je 0x1000c47e
mov eax, dword [edi]
push 0x20636f6c
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x10071a38]
mov ecx, edi
call esi
test eax, eax
je 0x1000c47e
push 0x74
lea ecx, [ebp - 0x14]
call dword [sym.imp.ScCore.dll_public:_class_ScCore::SimpleArray____thiscall_ScCore::SimpleArray::operator_int_]
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push 0
push eax
mov ecx, ebx
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::SimpleArray::merge_class_ScCore::SimpleArray_const___bool_]
cmp byte [ebp - 0xd], 0
je 0x1000c49f
push 0
mov ecx, ebx
call dword [sym.imp.ScCore.dll_public:_class_ScCore::SimpleArray____thiscall_ScCore::SimpleArray::operator_int_]
lea ecx, [ebp - 0x14]
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::SimpleArray::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc