Function at 0x411840
Capabilities:
Link many functions at runtime
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42d32f
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x44d034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x24
mov dword [ebp - 4], 0
call fcn.00414e00
mov edi, eax
add esp, 4
mov dword [ebp - 0x44], edi
xorps xmm0, xmm0
lea edx, [edi + 0xc]
movups xmmword [edi], xmm0
mov ecx, 1
movups xmmword [edi + 0x10], xmm0
mov dword [edi + 0x20], 0
mov eax, ecx
mov dword [edi + 8], 0x44f70c
mov dword [edi + 4], vtable.sciter::om::asset_struct_sciter::event_handler_.0
mov dword [edi + 0xc], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [edi], vtable.sciter::event_handler.0
mov dword [edi + 4], vtable.sciter::event_handler.1.0
lock xadd dword [edx], eax
mov byte [ebp - 4], 2
mov dword [edi + 0x10], vtable.sciter::host_class_sciter::window_.0
mov dword [edi], vtable.sciter::window.0
mov dword [edi + 4], vtable.sciter::window.2.0
mov dword [edi + 0x10], vtable.sciter::window.1.0
mov word [edi + 0x18], 0
lock xadd dword [edx], ecx
mov eax, dword [ebp - 0x20]
lea esi, [ebp - 0x28]
sub eax, dword [ebp - 0x28]
xor ecx, ecx
test eax, eax
mov eax, dword fs:[0x2c]
cmovle esi, ecx
mov dword [ebp - 0x14], esi
mov ecx, dword [eax]
mov eax, dword [0x451dbc]
mov dword [ebp - 0x40], ecx
cmp eax, dword [ecx + 4]
jle 0x411996
push 0x451dbc
call fcn.00414f6c
add esp, 4
cmp dword [0x451dbc], 0xffffffff
jne 0x411996
mov byte [ebp - 4], 3
mov eax, dword [0x451db8]
test eax, eax
jne 0x411980
push 0x43433c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x41196d
push str.SciterAPI
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x411966
call eax
mov dword [0x451db8], eax
jmp 0x411972
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x451db8]
test eax, eax
jne 0x41197d
push 0xffffffffffffffff
call fcn.0041a4c3
mov esi, dword [ebp - 0x14]
push 0x451dbc
mov dword [0x451dc0], eax
mov byte [ebp - 4], 2
call fcn.00414f2d
add esp, 4
mov eax, dword [0x451dc0]
push 0
push edi
push 0x4116d0
mov eax, dword [eax + 0x7c]
push esi
push 0xac
call eax
mov dword [edi + 0x14], eax
mov dword [edi], vtable.CSCDTSecurityDomain.2.0
mov dword [edi + 4], vtable.CSCDTSecurityDomain.1.0
mov dword [edi + 0x10], vtable.CSCDTSecurityDomain.0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 1
mov byte [ebp - 4], 0
cmp dword [0x451280], 0
je 0x4119fa
push edi
push str.RunSCDTSecurityDomain_1___p_
push 0x434f94
push 0xffffffffffffffff
push 0x4511f4
call fcn.00406390
add esp, 0x14
mov eax, dword [edi + 8]
lea esi, [edi + 8]
push esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x44], esi
mov eax, dword [eax]
call eax
add esp, 4
mov byte [ebp - 4], 4
call fcn.0040eb30
test eax, eax
jne 0x4121ac
mov ecx, edi
call fcn.0040e9d0
test eax, eax
je 0x4121ac
cmp dword [0x44f6cc], 2
je 0x411a84
push 0
push 1
mov dword [0x44f6cc], 2
mov dword [0x44f6d0], 0x40e050
mov dword [0x44f6d4], edi
call fcn.004134a0
cmp dword [0x451280], 0
je 0x411a84
push edi
push 0x40e050
push 2
push str.CUITcpHelper::SetCallback____08x____p____p_
push 0x4481a8
push 0xffffffffffffffff
push 0x4511f4
call fcn.00406390
add esp, 0x1c
push edi
sub esp, 8
call fcn.004142b0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x28], 2
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x34], 0x3f0e9
mov dword [ebp - 0x38], 0x4d4f
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], eax
call fcn.00403350
push 2
mov byte [ebp - 4], 5
call fcn.00413750
lea ecx, [ebp - 0x14]
mov esi, eax
call fcn.00403810
push eax
lea edx, [ebp - 0x38]
mov ecx, esi
call fcn.0040c7e0
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
call fcn.00403420
cmp dword [0x451280], 0
je 0x411b1d
push str.CSCDTSecurityDomain::Initialize_______
push str.SCDT
push 0xffffffffffffffff
push 0x4511f4
call fcn.00406390
add esp, 0x10
mov ecx, dword [ebp - 0x40]
mov eax, dword [0x451dbc]
mov esi, dword [edi + 0x14]
mov dword [ebp - 0x3c], esi
cmp eax, dword [ecx + 4]
jle 0x411bb0
push 0x451dbc
call fcn.00414f6c
add esp, 4
cmp dword [0x451dbc], 0xffffffff
jne 0x411bb0
mov byte [ebp - 4], 8
mov eax, dword [0x451db8]
test eax, eax
jne 0x411b9a
push 0x43433c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x411b87
push str.SciterAPI
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x411b80
call eax
mov dword [0x451db8], eax
jmp 0x411b8c
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x451db8]
test eax, eax
jne 0x411b97
push 0xffffffffffffffff
call fcn.0041a4c3
mov esi, dword [ebp - 0x3c]
push 0x451dbc
mov dword [0x451dc0], eax
mov byte [ebp - 4], 4
call fcn.00414f2d
add esp, 4
mov eax, dword [0x451dc0]
push str.desktop_scdt_securitydomain
push esi
mov eax, dword [eax + 0x34]
call eax
cmp dword [edi + 0x14], 0
je 0x411d42
cmp byte [edi + 0x18], 0
jne 0x411d42
xor eax, eax
mov byte [edi + 0x18], 1
lea ecx, [edi + 0x10]
mov esi, edi
test ecx, ecx
cmove esi, eax
xor edx, edx
test ecx, ecx
mov dword [ebp - 0x3c], esi
mov eax, edi
cmove eax, edx
mov ecx, dword [eax + 0x14]
mov eax, dword [0x451dbc]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x40]
cmp eax, dword [ecx + 4]
jle 0x411c83
push 0x451dbc
call fcn.00414f6c
add esp, 4
cmp dword [0x451dbc], 0xffffffff
jne 0x411c83
mov byte [ebp - 4], 9
mov eax, dword [0x451db8]
test eax, eax
jne 0x411c6d
push 0x43433c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x411c5a
push str.SciterAPI
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x411c53
call eax
mov dword [0x451db8], eax
jmp 0x411c5f
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x451db8]
test eax, eax
jne 0x411c6a
push 0xffffffffffffffff
call fcn.0041a4c3
mov esi, dword [ebp - 0x3c]
push 0x451dbc
mov dword [0x451dc0], eax
mov byte [ebp - 4], 4
call fcn.00414f2d
add esp, 4
mov eax, dword [0x451dc0]
push esi
push 0x412d30
push dword [ebp - 0x14]
mov eax, dword [eax + 0x24]
call eax
mov ecx, dword [ebp - 0x40]
mov eax, dword [0x451dbc]
mov esi, dword [edi + 0x14]
mov dword [ebp - 0x3c], esi
cmp eax, dword [ecx + 4]
jle 0x411d29
push 0x451dbc
call fcn.00414f6c
add esp, 4
cmp dword [0x451dbc], 0xffffffff
jne 0x411d29
mov byte [ebp - 4], 0xa
mov eax, dword [0x451db8]
test eax, eax
jne 0x411d13
push 0x43433c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x411d00
push str.SciterAPI
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x411cf9
call eax
mov dword [0x451db8], eax
jmp 0x411d05
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x451db8]
test eax, eax
jne 0x411d10
push 0xffffffffffffffff
call fcn.0041a4c3
mov esi, dword [ebp - 0x3c]
push 0x451dbc
mov dword [0x451dc0], eax
mov byte [ebp - 4], 4
call fcn.00414f2d
add esp, 4
mov eax, dword [0x451dc0]
push 0xffff
push edi
push 0x410bc0
mov eax, dword [eax + 0x14c]
push esi
call eax
mov ecx, dword [ebp - 0x40]
mov eax, dword [0x451dbc]
mov esi, dword [edi + 0x14]
mov dword [ebp - 0x3c], esi
cmp eax, dword [ecx + 4]
jle 0x411dd5
push 0x451dbc
call fcn.00414f6c
add esp, 4
cmp dword [0x451dbc], 0xffffffff
jne 0x411dd5
mov byte [ebp - 4], 0xb
mov eax, dword [0x451db8]
test eax, eax
jne 0x411dbf
push 0x43433c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x411dac
push str.SciterAPI
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x411da5
call eax
mov dword [0x451db8], eax
jmp 0x411db1
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x451db8]
test eax, eax
jne 0x411dbc
push 0xffffffffffffffff
call fcn.0041a4c3
mov esi, dword [ebp - 0x3c]
push 0x451dbc
mov dword [0x451dc0], eax
mov byte [ebp - 4], 4
call fcn.00414f2d
add esp, 4
mov eax, dword [0x451dc0]
push str.this:__app_scdt_securitydomain_main.htm
push esi
mov eax, dword [eax + 0x1c]
call eax
cmp dword [edi + 0x14], 0
je 0x411f67
cmp byte [edi + 0x18], 0
jne 0x411f67
xor eax, eax
mov byte [edi + 0x18], 1
lea ecx, [edi + 0x10]
mov esi, edi
test ecx, ecx
cmove esi, eax
xor edx, edx
test ecx, ecx
mov dword [ebp - 0x3c], esi
mov eax, edi
cmove eax, edx
mov ecx, dword [eax + 0x14]
mov eax, dword [0x451dbc]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x40]
cmp eax, dword [ecx + 4]
jle 0x411ea8
push 0x451dbc
call fcn.00414f6c
add esp, 4
cmp dword [0x451dbc], 0xffffffff
jne 0x411ea8
mov byte [ebp - 4], 0xc
mov eax, dword [0x451db8]
test eax, eax
jne 0x411e92
push 0x43433c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x411e7f
push str.SciterAPI
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x411e78
call eax
mov dword [0x451db8], eax
jmp 0x411e84
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x451db8]
test eax, eax
jne 0x411e8f
push 0xffffffffffffffff
call fcn.0041a4c3
mov esi, dword [ebp - 0x3c]
push 0x451dbc
mov dword [0x451dc0], eax
mov byte [ebp - 4], 4
call fcn.00414f2d
add esp, 4
mov eax, dword [0x451dc0]
push esi
push 0x412d30
push dword [ebp - 0x14]
mov eax, dword [eax + 0x24]
call eax
mov ecx, dword [ebp - 0x40]
mov eax, dword [0x451dbc]
mov esi, dword [edi + 0x14]
mov dword [ebp - 0x3c], esi
cmp eax, dword [ecx + 4]
jle 0x411f4e
push 0x451dbc
call fcn.00414f6c
add esp, 4
cmp dword [0x451dbc], 0xffffffff
jne 0x411f4e
mov byte [ebp - 4], 0xd
mov eax, dword [0x451db8]
test eax, eax
jne 0x411f38
push 0x43433c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x411f25
push str.SciterAPI
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x411f1e
call eax
mov dword [0x451db8], eax
jmp 0x411f2a
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x451db8]
test eax, eax
jne 0x411f35
push 0xffffffffffffffff
call fcn.0041a4c3
mov esi, dword [ebp - 0x3c]
push 0x451dbc
mov dword [0x451dc0], eax
mov byte [ebp - 4], 4
call fcn.00414f2d
add esp, 4
mov eax, dword [0x451dc0]
push 0xffff
push edi
push 0x410bc0
mov eax, dword [eax + 0x14c]
push esi
call eax
mov esi, dword [ebp - 0x40]
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x3c], eax
mov eax, dword [0x451dbc]
cmp eax, dword [esi + 4]
jle 0x411ffa
push 0x451dbc
call fcn.00414f6c
add esp, 4
cmp dword [0x451dbc], 0xffffffff
jne 0x411ffa
mov byte [ebp - 4], 0xe
mov eax, dword [0x451db8]
test eax, eax
jne 0x411fe4
push 0x43433c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x411fd1
push str.SciterAPI
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x411fca
call eax
mov dword [0x451db8], eax
jmp 0x411fd6
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x451db8]
test eax, eax
jne 0x411fe1
push 0xffffffffffffffff
call fcn.0041a4c3
mov esi, dword [ebp - 0x40]
push 0x451dbc
mov dword [0x451dc0], eax
mov byte [ebp - 4], 4
call fcn.00414f2d
add esp, 4
mov eax, dword [0x451dc0]
push 0
push 1
push 1
push dword [ebp - 0x3c]
mov eax, dword [eax + 0x2e4]
call eax
mov byte [edi + 0x19], 1
cmp dword [ebp + 0x2c], 0
jne 0x41201f
call fcn.00415b28
mov eax, dword [0x451dbc]
cmp eax, dword [esi + 4]
jle 0x4120a6
push 0x451dbc
call fcn.00414f6c
add esp, 4
cmp dword [0x451dbc], 0xffffffff
jne 0x4120a6
mov byte [ebp - 4], 0xf
mov eax, dword [0x451db8]
test eax, eax
jne 0x412090
push 0x43433c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x412080
push str.SciterAPI
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x412079
call eax
mov dword [0x451db8], eax
jmp 0x412085
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x451db8]
test eax, eax
jne 0x412090
push 0xffffffffffffffff
call fcn.0041a4c3
push 0x451dbc
mov dword [0x451dc0], eax
mov byte [ebp - 4], 4
call fcn.00414f2d
add esp, 4
mov eax, dword [0x451dc0]
push 0
push 0
push 1
mov eax, dword [eax + 0x2e0]
call eax
push ecx
mov edi, eax
call fcn.004143c0
cmp dword [0x44f6cc], 2
jne 0x41210a
cmp dword [0x451280], 0
mov dword [0x44f6cc], 0
mov dword [0x44f6d0], 0
mov dword [0x44f6d4], 0
je 0x41210a
push str.CUITcpHelper::DelCallback_
push 0x4481a8
push 0xffffffffffffffff
push 0x4511f4
call fcn.00406390
add esp, 0x10
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x28], 2
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x34], 0x5f0e9
mov dword [ebp - 0x38], 0x4d4f
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
call fcn.00403350
push 2
mov byte [ebp - 4], 0x10
call fcn.00413750
lea ecx, [ebp - 0x14]
mov esi, eax
call fcn.00403810
push eax
lea edx, [ebp - 0x38]
mov ecx, esi
call fcn.0040c7e0
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
call fcn.00403420
cmp dword [0x451280], 0
je 0x412198
push str.CSCDTSecurityDomain::UnInitialize___
push str.SCDT
push 0xffffffffffffffff
push 0x4511f4
call fcn.00406390
add esp, 0x10
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x44]
push ecx
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
add esp, 4
jmp 0x4121c4
mov ecx, edi
call fcn.004115d0
mov byte [ebp - 4], 7
mov eax, dword [esi]
push esi
mov eax, dword [eax + 4]
call eax
add esp, 4
xor edi, edi
mov byte [ebp - 4], 0
cmp dword [0x451280], 0
je 0x4121eb
push edi
push str.RunSCDTSecurityDomain____d_
push 0x434f94
push 0xffffffffffffffff
push 0x4511f4
call fcn.00406390
add esp, 0x14
mov ecx, dword [ebp + 0x2c]
test ecx, ecx
je 0x412213
lea eax, [ebp + 8]
mov dword [ecx], vtable.std::_Func_impl_class__lambda_b61b87b9a8c2730a2b60da767491b5a3___class_std::allocator_int___int___.0
cmp ecx, eax
mov dword [ecx], vtable.std::_Func_base_int___.0
sete al
test al, al
jne 0x412213
push ecx
call fcn.00415070
add esp, 4
mov eax, edi
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.0041494e
mov esp, ebp
pop ebp
ret