Function at 0x410680
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4edf8e
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x54c000]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ecx, dword [sym.imp.ScCore.dll_const_ScCore::Listener::vftable]
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x2c], eax
mov dword [ebx], ecx
xor edi, edi
lea ecx, [ebx + 4]
mov dword [ebp - 4], edi
call dword [sym.imp.ScCore.dll_protected:_void___thiscall_ScCore::Refcountable::constructor_void_]
mov dword [ebx + 0xc], edi
mov dword [ebx + 0x10], edi
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 4], 1
mov dword [ebx], vtable.SAF::Workspace.0
mov dword [ebx + 4], vtable.SAF::Workspace.1.0
mov dword [ebx + 0x14], edx
mov dword [ebx + 0x18], edi
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x20], edi
mov dword [ebx + 0x24], edi
mov dword [ebx + 0x28], edi
mov dword [ebx + 0x2c], edi
mov dword [ebx + 0x30], edi
mov dword [ebx + 0x34], edi
mov dword [ebx + 0x38], edi
mov dword [ebx + 0x50], edi
mov dword [ebx + 0x54], edi
mov word [ebx + 0x58], di
mov byte [ebx + 0x5a], 0
mov dword [ebx + 0x5c], edi
mov byte [ebx + 0x60], 0
mov dword [ebx + 0x74], edi
mov dword [ebx + 0x78], edi
mov dword [ebx + 0x7c], edi
mov dword [ebx + 0x80], edi
mov dword [ebx + 0x84], edi
mov dword [ebx + 0x88], edi
mov dword [ebx + 0x8c], edi
mov byte [ebp - 4], 2
mov eax, dword [0x54f600]
mov eax, dword [eax + 0x28]
mov esi, dword [eax + 0x20]
push str.Workspace
lea ecx, [ebp - 0x24]
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::String::constructor_char_const__]
lea ecx, [ebp - 0x24]
push ecx
push esi
mov byte [ebp - 4], 3
call fcn.00419d30
add esp, 8
lea ecx, [ebp - 0x24]
mov esi, eax
mov byte [ebp - 4], 2
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::String::destructor_void_]
fld dword [0x514af0]
mov eax, dword [ebp - 0x2c]
fst dword [ebx + 0x40]
cmp esi, edi
fst dword [ebx + 0x44]
mov dword [ebp - 0x44], edi
fst dword [ebx + 0x48]
setne dl
fstp dword [ebx + 0x4c]
mov dword [ebp - 0x44], eax
mov dword [ebx + 0x1c], eax
mov eax, dword [0x54f600]
mov dword [ebp - 0x48], edi
mov byte [ebx + 0x58], dl
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x48], 3
cmp byte [eax + 0x36], 0
je 0x4107c5
lea ecx, [ebp - 0x48]
push ecx
call dword [sym.imp.AdobeOwl.dll_OWLInitialize]
add esp, 4
push 1
push edi
mov esi, ebx
call fcn.004112e0
mov edx, dword [0x54f600]
mov byte [ebx + 0x5a], 1
cmp byte [edx + 0x36], 0
je 0x4107ec
lea eax, [ebx + 0x64]
push eax
call dword [sym.imp.AdobeOwl.dll_OWLGetDocumentArea]
add esp, 4
mov ecx, dword [0x54f600]
cmp byte [ecx + 0x36], 0
je 0x410805
lea eax, [ebx + 0x18]
push eax
call dword [sym.imp.AdobeOwl.dll_OWLGetWorkspaceTarget]
add esp, 4
push ebx
lea esi, [ebp - 0x20]
call fcn.004144a0
mov ecx, dword [0x54f600]
mov edx, dword [ecx]
mov eax, dword [edx + 0x68]
call eax
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x24], eax
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::String::constructor_void_]
mov byte [ebp - 4], 7
fld dword [ebp - 0x14]
sub esp, 0x20
fstp qword [esp + 0x18]
lea ecx, [ebp - 0x34]
fld dword [ebp - 0x18]
fstp qword [esp + 0x10]
fld dword [ebp - 0x1c]
fstp qword [esp + 8]
fld dword [ebp - 0x20]
fstp qword [esp]
push str.Initial_Application_Frame_rect:_x_f_y_f_w_f_h_f
push ecx
call dword [sym.imp.ScCore.dll_public:_void___cdecl_ScCore::String::print_char_const__]
mov esi, dword [0x54f600]
add esp, 0x28
push 1
push ecx
lea edx, [ebp - 0x34]
mov ecx, esp
mov dword [ebp - 0x28], esp
push edx
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::String::constructor_class_ScCore::String_const__]
mov eax, dword [esi]
mov edx, dword [eax + 0x98]
mov ecx, esi
call edx
mov eax, dword [0x54f600]
cmp byte [eax + 0x36], 0
je 0x4108a4
mov edx, dword [ebp - 0x24]
lea eax, [ebx + 0x14]
push eax
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x20]
push ecx
push edx
push edi
push eax
call dword [sym.imp.AdobeOwl.dll_OWLWin32ApplicationContainerCreate]
add esp, 0x14
cmp byte [ebx + 0x60], 0
jne 0x4108b5
push 1
push 2
mov ecx, ebx
call fcn.004115c0
lea ecx, [ebp - 0x30]
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::FileSpec::constructor_void_]
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 8
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::FileSpec::constructor_void_]
mov byte [ebp - 4], 9
mov ecx, dword [0x54f600]
mov edx, dword [ecx]
mov edx, dword [edx + 0x60]
lea eax, [ebp - 0x30]
push eax
call edx
mov ecx, dword [0x54f600]
mov eax, dword [ecx]
mov eax, dword [eax + 0x64]
lea edx, [ebp - 0x38]
push edx
call eax
mov esi, dword [sym.imp.ScCore.dll_public:_static_void____cdecl_ScCore::Heap::operator_new_unsigned_int_]
push 0x34
call esi
add esp, 4
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 0xa
cmp eax, edi
je 0x41091a
lea ecx, [ebp - 0x38]
push ecx
lea edx, [ebp - 0x30]
push edx
push ebx
push eax
call fcn.00415e50
jmp 0x41091c
xor eax, eax
mov byte [ebp - 4], 9
push 0x34
mov dword [ebx + 0x74], eax
call esi
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
mov byte [ebp - 4], 0xb
cmp esi, edi
je 0x410977
push str.default
lea ecx, [ebp - 0x24]
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::String::constructor_char_const__]
mov byte [ebp - 4], 0xc
mov eax, dword [ebx + 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
mov ecx, esi
call fcn.0049f81f
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xe
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::String::destructor_void_]
mov dword [esi], vtable.SAF::UIWorkspace.0
mov dword [esi + 0x14], vtable.SAF::UIWorkspace.1.0
mov dword [esi + 0x30], ebx
jmp 0x410979
xor esi, esi
mov byte [ebp - 4], 9
cmp esi, edi
je 0x410989
mov ecx, esi
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Refcountable::addRef_void_const]
mov ecx, dword [ebx + 0x8c]
cmp ecx, edi
je 0x41099a
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
push str.default
lea ecx, [ebp - 0x24]
mov dword [ebx + 0x8c], esi
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::String::constructor_char_const__]
mov byte [ebp - 4], 0xf
mov ecx, dword [0x54dc00]
mov eax, dword [ebx + 0x8c]
mov edx, dword [ecx]
push edi
lea esi, [ebp - 0x24]
push esi
push eax
mov eax, dword [edx + 0xac]
call eax
mov ecx, esi
mov byte [ebp - 4], 9
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::String::destructor_void_]
mov ecx, dword [0x54dc00]
mov eax, dword [ebx + 0x8c]
mov edx, dword [ecx]
push edi
push eax
mov eax, dword [edx + 0xd0]
call eax
mov ecx, dword [0x54f600]
mov esi, dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Broadcaster::addListener_class_ScCore::Listener___int_]
push 0xce
push ebx
add ecx, 0x14
call esi
mov ecx, dword [0x54f600]
push 0xd9
push ebx
add ecx, 0x14
call esi
push 0x28
call dword [sym.imp.ScCore.dll_public:_static_void____cdecl_ScCore::Heap::operator_new_unsigned_int_]
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
mov byte [ebp - 4], 0x10
cmp esi, edi
je 0x410a4d
mov edi, dword [ebx + 0x18]
push ebx
push esi
call fcn.004085a0
mov dword [esi], vtable.SAF::ApplicationMessageTarget.0
mov dword [esi + 4], vtable.SAF::ApplicationMessageTarget.1.0
xor edi, edi
jmp 0x410a4f
xor esi, esi
mov byte [ebp - 4], 9
push 0x28
mov dword [ebx + 0x38], esi
call dword [sym.imp.ScCore.dll_public:_static_void____cdecl_ScCore::Heap::operator_new_unsigned_int_]
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
mov byte [ebp - 4], 0x11
cmp esi, edi
je 0x410a87
mov edi, dword [ebx + 0x14]
push ebx
push esi
call fcn.004085a0
mov dword [esi], vtable.SAF::ApplicationMessageTarget.0
mov dword [esi + 4], vtable.SAF::ApplicationMessageTarget.1.0
mov edi, esi
mov byte [ebp - 4], 8
mov esi, dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::FileSpec::destructor_void_]
lea ecx, [ebp - 0x38]
mov dword [ebx + 0x3c], edi
call esi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 7
call esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::String::destructor_void_]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c708b
mov esp, ebp
pop ebp
ret 4