Function at 0x45d150
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x61cadc
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x786f54]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebx, dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::String::constructor_char_const__]
push str.devicecentral_1.0
lea ecx, [esp + 0x1c]
call ebx
lea eax, [esp + 0x18]
push 1
push eax
mov dword [esp + 0x40], 0
call fcn.0051b2b8
mov esi, dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::String::destructor_void_]
or ebp, 0xffffffff
add esp, 8
lea ecx, [esp + 0x18]
mov byte [esp + 0x17], al
mov dword [esp + 0x38], ebp
call esi
push ebp
push 0x6ffc08
lea ecx, [esp + 0x28]
call fcn.00517254
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x3c], 1
call fcn.0051be13
add esp, 4
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], ebp
call fcn.00516ecb
push 0x10000
call dword [sym.imp.ExtendScript.dll_public:_static_class_ScScript::Engine____cdecl_ScScript::Engine::createEngine_enum_ScScript::Engine::Type_]
add esp, 4
push str.DCEngine
lea ecx, [esp + 0x1c]
mov dword [0x7982b8], eax
call ebx
mov ecx, dword [0x7982b8]
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x3c], 2
call dword [sym.imp.ExtendScript.dll_public:_bool___thiscall_ScScript::Engine::setName_class_ScCore::String_const__]
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], ebp
call esi
mov edi, dword [sym.imp.ScCore.dll_public:_static_void____cdecl_ScCore::Heap::operator_new_unsigned_int_]
push 0x16
call edi
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
test esi, esi
mov dword [esp + 0x38], 3
je 0x45d257
mov ecx, esi
call dword [sym.imp.ExtendScript.dll_public:_void___thiscall_ScScript::FileDisp::constructor_void_]
mov dword [esi], vtable.ScScript::FileDisp.0
jmp 0x45d259
xor esi, esi
mov ecx, dword [0x7982b8]
mov eax, dword [ecx]
mov edx, dword [eax + 0x94]
push 0
push esi
mov dword [esp + 0x40], ebp
mov dword [0x7982c8], esi
call edx
push 0x1e
call edi
mov edi, eax
add esp, 4
mov dword [esp + 0x1c], edi
test edi, edi
mov dword [esp + 0x38], 4
je 0x45d29f
mov ecx, edi
call dword [sym.imp.ExtendScript.dll_public:_void___thiscall_ScScript::GlobalDialogs::constructor_void_]
mov dword [edi], vtable.ScScript::GlobalDialogs.0
jmp 0x45d2a1
xor edi, edi
mov ecx, dword [0x7982b8]
mov eax, dword [ecx]
mov edx, dword [eax + 0xb8]
push 0x6c697665
mov dword [esp + 0x3c], ebp
call edx
mov ecx, eax
call dword [sym.imp.ExtendScript.dll_public:_class_ScCore::LiveObject____thiscall_ScScript::LiveObjectAPI::getGlobalObject_void_const]
mov esi, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x40]
push edi
mov ecx, esi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
call edx
push 0x28
call dword [sym.imp.ScCore.dll_public:_static_void____cdecl_ScCore::Heap::operator_new_unsigned_int_]
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov dword [esp + 0x38], 5
je 0x45d2fd
mov ecx, eax
call fcn.0045dc60
mov edi, eax
jmp 0x45d2ff
xor edi, edi
mov eax, dword [esi]
mov edx, dword [eax + 0x40]
push edi
mov ecx, esi
mov dword [esp + 0x3c], ebp
call edx
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
call edx
push str.devicecentral_1.0
lea ecx, [esp + 0x1c]
call ebx
mov eax, dword [0x7982b8]
push 0
push 0
push eax
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x48], 6
call fcn.0051b3ef
mov esi, dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::String::destructor_void_]
add esp, 0x10
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], ebp
call esi
push str.BridgeTalk.onReceive__function__msg___if___msg.type__ExtendScript____app.lastSender__msg.sender__return_eval__msg.body______n
lea ecx, [esp + 0x20]
call ebx
mov ecx, dword [0x7982b8]
mov edx, dword [ecx]
mov edx, dword [edx + 0x7c]
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x54], 7
call edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], ebp
call esi
push 8
call sub.MSVCR80.dll_malloc
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov dword [esp + 0x38], 8
je 0x45d3b5
mov ecx, dword [0x7982b8]
push ecx
mov ecx, eax
call fcn.00518d82
jmp 0x45d3b7
xor eax, eax
push 0xc
mov dword [esp + 0x3c], ebp
mov dword [0x7982bc], eax
call sub.MSVCR80.dll_malloc
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov dword [esp + 0x38], 9
je 0x45d3f3
mov edx, dword [0x7982bc]
push 0
push 1
push edx
push str.devicecentral_1.0
mov ecx, eax
call fcn.00524f5f
jmp 0x45d3f5
xor eax, eax
push 0xc
mov dword [esp + 0x3c], ebp
mov dword [0x7982c0], eax
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov dword [esp + 0x38], 0xa
je 0x45d423
push 0
mov ecx, eax
call fcn.0051ffb1
jmp 0x45d425
xor eax, eax
mov ecx, dword [0x7982b8]
mov edx, dword [ecx]
mov dword [0x7982c4], eax
push eax
mov eax, dword [edx + 0xb4]
mov dword [esp + 0x3c], ebp
call eax
push 0x20
call sub.SCL.dll_Ordinal_5366
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
test esi, esi
mov dword [esp + 0x38], 0xb
je 0x45d46c
mov ecx, esi
call sub.SCL.dll_Ordinal_5633
mov dword [esi], vtable.MCBridgeTalk.0
mov ecx, esi
jmp 0x45d46e
xor ecx, ecx
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
mov dword [esp + 0x38], ebp
mov dword [0x7982b4], ecx
call eax
call sub.SCL.dll_Ordinal_213
mov ecx, dword [0x7982b4]
mov edx, dword [eax]
mov edx, dword [edx + 0x190]
push ecx
mov ecx, eax
call edx
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret