Function at 0x10050920
Capabilities:
Hide graphical window

Disassembly:
push 0x110
mov eax, 0x100812cc
call fcn.1005b150
mov ebx, ecx
lea ecx, [ebp + 8]
call dword [sym.imp.utilities.dll_public:_bool___thiscall_pugi::xml_node::operator__void_const]
test al, al
je 0x10050945
xor eax, eax
jmp 0x100510ed
push dword [ebx + 0x25c]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1005093e
lea edi, [ebx + 0x3d0]
xor esi, esi
cmp dword [edi], esi
je 0x100509bd
mov ecx, ebx
lea eax, [ebx + 4]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
lea ecx, [ebp - 0xdc]
call sym.soui.dll_public:_void___thiscall_SOUI::EventArgs::constructor_class_SOUI::SObjectImpl_struct_SOUI::IObject___
mov dword [ebp - 0xdc], vtable.SOUI::EventExit.0
mov dword [ebp - 0xd4], vtable.SOUI::EventExit.1.0
lea ecx, [ebx + 4]
mov dword [ebp - 4], esi
mov eax, dword [ecx]
lea edx, [ebp - 0xdc]
push edx
call dword [eax + 0x8c]
mov ecx, dword [edi]
test ecx, ecx
je 0x100509ae
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [edi], esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xdc]
call sym.soui.dll_public_virtual:_void___thiscall_SOUI::EventArgs::destructor_void_
push esi
push esi
push esi
lea ecx, [ebx + 4]
push 2
call sym.soui.dll_public:_long_int___thiscall_SOUI::SWindow::SSendMessage_unsigned_int__unsigned_int__long_int__int__
mov ecx, dword [sym.soui.dll_class_SOUI::SApplication__SOUI::SSingleton_class_SOUI::SApplication_::ms_Singleton]
push edi
call sym.soui.dll_public:_long_int___thiscall_SOUI::SApplication::CreateScriptModule_struct_SOUI::IScriptModule___
mov ecx, dword [ebx + 0x378]
mov eax, dword [ecx + 8]
cmp dword [eax + 4], 0
je 0x100509fb
call sym.soui.dll_public:_void___thiscall_SOUI::SCmnMap_class_pugi::xml_node__class_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits__::RemoveAll_void_
push dword [ebx + 0x378]
mov ecx, dword [sym.soui.dll_class_SOUI::SStylePoolMgr__SOUI::SSingleton_class_SOUI::SStylePoolMgr_::ms_Singleton]
call sym.soui.dll_public:_class_SOUI::SStylePool____thiscall_SOUI::SStylePoolMgr::PopStylePool_class_SOUI::SStylePool__
mov esi, dword [ebx + 0x378]
lea eax, [ebp - 0xb4]
push 0
push 0x10086428
push eax
lea ecx, [ebp + 8]
call dword [sym.imp.utilities.dll_public:_class_pugi::xml_node___thiscall_pugi::xml_node::child_wchar_t_const___bool_]
mov ecx, esi
push dword [eax]
call sym.soui.dll_public:_int___thiscall_SOUI::SStylePool::Init_class_pugi::xml_node_
mov ecx, dword [ebx + 0x378]
mov eax, dword [ecx + 8]
cmp dword [eax + 4], 0
je 0x10050a3c
push ecx
mov ecx, dword [sym.soui.dll_class_SOUI::SStylePoolMgr__SOUI::SSingleton_class_SOUI::SStylePoolMgr_::ms_Singleton]
call sym.soui.dll_public:_void___thiscall_SOUI::SSkinPoolMgr::PushSkinPool_class_SOUI::SSkinPool__
mov ecx, dword [ebx + 0x37c]
mov eax, dword [ecx + 8]
cmp dword [eax + 4], 0
je 0x10050a61
call sym.soui.dll_public:_void___thiscall_SOUI::SCmnMap_class_SOUI::ISkinObj___class_SOUI::SkinKey_::RemoveAll_void_
push dword [ebx + 0x37c]
mov ecx, dword [sym.soui.dll_class_SOUI::SSkinPoolMgr__SOUI::SSingleton_class_SOUI::SSkinPoolMgr_::ms_Singleton]
call sym.soui.dll_public:_class_SOUI::SSkinPool____thiscall_SOUI::SSkinPoolMgr::PopSkinPool_class_SOUI::SSkinPool__
mov esi, dword [ebx + 0x37c]
lea eax, [ebp - 0xb4]
push 0
push 0x10082bf4
push eax
lea ecx, [ebp + 8]
call dword [sym.imp.utilities.dll_public:_class_pugi::xml_node___thiscall_pugi::xml_node::child_wchar_t_const___bool_]
mov ecx, esi
push dword [eax]
call sym.soui.dll_public:_int___thiscall_SOUI::SSkinPool::LoadSkins_class_pugi::xml_node_
mov ecx, dword [ebx + 0x37c]
mov eax, dword [ecx + 8]
cmp dword [eax + 4], 0
je 0x10050aa2
push ecx
mov ecx, dword [sym.soui.dll_class_SOUI::SSkinPoolMgr__SOUI::SSingleton_class_SOUI::SSkinPoolMgr_::ms_Singleton]
call sym.soui.dll_public:_void___thiscall_SOUI::SSkinPoolMgr::PushSkinPool_class_SOUI::SSkinPool__
xor esi, esi
lea eax, [ebp - 0xbc]
push esi
push str.script
push eax
lea ecx, [ebp + 8]
call dword [sym.imp.utilities.dll_public:_class_pugi::xml_node___thiscall_pugi::xml_node::child_wchar_t_const___bool_]
cmp dword [edi], esi
je 0x10050cc3
lea ecx, [ebp - 0xbc]
call dword [sym.imp.utilities.dll_public:_void____cdecl___class_pugi::xml_node_______thiscall_pugi::xml_node::operator_void____cdecl___class_pugi::xml_node_____void_const]
test eax, eax
je 0x10050cc3
push esi
push 0x10085654
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp - 0xbc]
call dword [sym.imp.utilities.dll_public:_class_pugi::xml_attribute___thiscall_pugi::xml_node::attribute_wchar_t_const___bool_]
lea ecx, [ebp - 0xb4]
call dword [sym.imp.utilities.dll_public:_void____cdecl___class_pugi::xml_attribute_______thiscall_pugi::xml_attribute::operator_void____cdecl___class_pugi::xml_attribute_____void_const]
test eax, eax
je 0x10050c34
lea ecx, [ebp - 0xb4]
call dword [sym.imp.utilities.dll_public:_wchar_t_const____thiscall_pugi::xml_attribute::value_void_const]
push eax
lea ecx, [ebp - 0xb0]
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
push esi
lea eax, [ebp - 0xb0]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0xb8]
push eax
call dword [sym.imp.utilities.dll_public:_static_class_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits____cdecl_SOUI::SStrCpCvt::CvtW2W_class_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits__const___unsigned_int_]
add esp, 0xc
lea ecx, [ebp - 0xb0]
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
mov dword [ebp - 0xcc], esi
mov dword [ebp - 0xc8], esi
mov dword [ebp - 0xc4], esi
mov dword [ebp - 0xc0], esi
lea eax, [ebp - 0xcc]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.1000b425
pop ecx
pop ecx
cmp eax, 2
jne 0x10050c1e
mov edi, dword [ebp - 0xcc]
mov esi, dword [sym.soui.dll_class_SOUI::SApplication__SOUI::SSingleton_class_SOUI::SApplication_::ms_Singleton]
lea ecx, [edi + 4]
call dword [sym.imp.utilities.dll_public:_wchar_t_const____thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::operator_wchar_t_const__void_const]
push eax
mov ecx, edi
call dword [sym.imp.utilities.dll_public:_wchar_t_const____thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::operator_wchar_t_const__void_const]
push eax
lea ecx, [esi + 0x10]
call sym.soui.dll_public:_unsigned_int___thiscall_SOUI::SResProviderMgr::GetRawBufferSize_wchar_t_const___wchar_t_const__
mov dword [ebp - 0xb0], eax
test eax, eax
je 0x10050c1e
and dword [ebp - 0xac], 0
lea ecx, [ebp - 0xac]
push eax
call fcn.1002e95b
mov edi, dword [ebp - 0xcc]
push dword [ebp - 0xb0]
mov esi, dword [sym.soui.dll_class_SOUI::SApplication__SOUI::SSingleton_class_SOUI::SApplication_::ms_Singleton]
push dword [ebp - 0xac]
lea ecx, [edi + 4]
mov byte [ebp - 4], 5
call dword [sym.imp.utilities.dll_public:_wchar_t_const____thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::operator_wchar_t_const__void_const]
push eax
mov ecx, edi
call dword [sym.imp.utilities.dll_public:_wchar_t_const____thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::operator_wchar_t_const__void_const]
push eax
lea ecx, [esi + 0x10]
call sym.soui.dll_public:_int___thiscall_SOUI::SResProviderMgr::GetRawBuffer_wchar_t_const___wchar_t_const___void___unsigned_int_
mov ecx, dword [ebx + 0x3d0]
push dword [ebp - 0xb0]
push dword [ebp - 0xac]
mov eax, dword [ecx]
call dword [eax + 0x14]
lea ecx, [ebp - 0xac]
call fcn.1002ef56
lea ecx, [ebp - 0xcc]
call fcn.10007223
lea ecx, [ebp - 0xb8]
jmp 0x10050cb9
lea ecx, [ebp - 0xbc]
call dword [sym.imp.utilities.dll_public:_wchar_t_const____thiscall_pugi::xml_node::child_value_void_const]
push eax
lea ecx, [ebp - 0xb0]
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
lea ecx, [ebp - 0xb0]
mov dword [ebp - 4], 6
call dword [sym.imp.utilities.dll_public:_bool___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::IsEmpty_void_const]
test al, al
jne 0x10050cb3
push 0xfde9
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0xb8]
push eax
call dword [sym.imp.utilities.dll_public:_static_class_SOUI::TStringT_char__struct_SOUI::char_traits____cdecl_SOUI::SStrCpCvt::CvtW2A_class_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits__const___unsigned_int_]
add esp, 0xc
mov esi, dword [edi]
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 7
mov edi, dword [esi]
call dword [sym.imp.utilities.dll_public:_int___thiscall_SOUI::TStringT_char__struct_SOUI::char_traits_::GetLength_void_const]
push eax
lea ecx, [ebp - 0xb8]
call dword [sym.imp.utilities.dll_public:_char_const____thiscall_SOUI::TStringT_char__struct_SOUI::char_traits_::operator_char_const__void_const]
push eax
mov ecx, esi
call dword [edi + 0x14]
lea ecx, [ebp - 0xb8]
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_char__struct_SOUI::char_traits_::destructor_void_]
lea ecx, [ebp - 0xb0]
or dword [ebp - 4], 0xffffffff
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
mov esi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffff0
push dword [ebx + 0x25c]
call esi
push 0xffffffffffffffec
push dword [ebx + 0x25c]
mov edi, eax
call esi
lea esi, [ebx + 0x288]
mov dword [ebp - 0xb0], eax
mov ecx, esi
call fcn.1004e780
mov edx, dword [esi]
mov ecx, esi
push dword [ebp + 8]
call dword [edx + 0x28]
mov edx, dword [ebx + 0x320]
mov eax, 0x20000
mov ecx, edx
and ecx, 0x10000
neg ecx
sbb ecx, ecx
and ecx, 0x50000
add ecx, eax
or ecx, edi
test eax, edx
mov eax, dword [ebp - 0xb0]
mov edi, 0x80000
je 0x10050d35
or ecx, edi
or eax, 0x40000
jmp 0x10050d42
test edx, 0x40000
je 0x10050d42
or eax, 0x80
mov esi, eax
or esi, edi
and edx, edi
cmove esi, eax
mov eax, dword [ebx + 0x324]
test eax, eax
je 0x10050d5d
mov ecx, eax
and ecx, 0xefffffff
mov eax, dword [ebx + 0x328]
lea edi, [ebx + 0x250]
push 0
push ecx
test eax, eax
mov ecx, edi
push 0
cmovne esi, eax
call sym.soui.dll_public:_int___thiscall_SOUI::CSimpleWnd::ModifyStyle_unsigned_long_int__unsigned_long_int__unsigned_int_
push 0
push esi
push 0
mov ecx, edi
call sym.soui.dll_public:_int___thiscall_SOUI::CSimpleWnd::ModifyStyleEx_unsigned_long_int__unsigned_long_int__unsigned_int_
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebx + 0x330]
call sym.soui.dll_public:_class_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits____thiscall_SOUI::STrText::GetText_void_
mov ecx, eax
mov dword [ebp - 4], 8
call dword [sym.imp.utilities.dll_public:_wchar_t_const____thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::operator_wchar_t_const__void_const]
push eax
push dword [ebx + 0x25c]
call dword [sym.imp.USER32.dll_SetWindowTextW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb4]
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
mov eax, dword [ebx + 0x320]
mov ecx, 0x80000
test ecx, eax
je 0x10050e62
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xffffffffffffffec
push dword [ebx + 0x25c]
call edi
mov esi, dword [sym.imp.USER32.dll_SetWindowLongW]
or eax, 0x80000
push eax
push 0xffffffffffffffec
push dword [ebx + 0x25c]
call esi
xor eax, eax
lea ecx, [ebx + 0x268]
push eax
push dword [ebx + 0x25c]
push 0xa
push 0xa
push eax
push eax
push 0x8000080
push SysReAllocString
push str.SOUI_DUMMY_WND
call sym.soui.dll_public:_struct_HWND______thiscall_SOUI::CSimpleWnd::Create_wchar_t_const___unsigned_long_int__unsigned_long_int__int__int__int__int__struct_HWND_____void__
push 0xffffffffffffffec
push dword [ebx + 0x274]
call edi
or eax, 0x80000
push eax
push 0xffffffffffffffec
push dword [ebx + 0x274]
call esi
push 2
push 0
push 0
push dword [ebx + 0x274]
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
push 4
push dword [ebx + 0x274]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x10050e8e
test ecx, esi
jne 0x10050e76
cmp al, 0xff
je 0x10050e8e
push 0
push ecx
push 0
mov ecx, edi
call sym.soui.dll_public:_int___thiscall_SOUI::CSimpleWnd::ModifyStyleEx_unsigned_long_int__unsigned_long_int__unsigned_int_
movzx eax, byte [ebx + 0x320]
push 2
push eax
push 0
push dword [ebx + 0x25c]
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov eax, dword [ebx + 0x33c]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x10050eae
push eax
push 0
push 0x80
push dword [ebx + 0x25c]
call esi
mov eax, dword [ebx + 0x340]
test eax, eax
je 0x10050ec8
push eax
push 1
push 0x80
push dword [ebx + 0x25c]
call esi
push 0
push str.root
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp + 8]
call dword [sym.imp.utilities.dll_public:_class_pugi::xml_node___thiscall_pugi::xml_node::child_wchar_t_const___bool_]
lea ecx, [ebx + 4]
push dword [eax]
call sym.soui.dll_public_virtual:_int___thiscall_SOUI::SWindow::InitFromXml_class_pugi::xml_node_
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x7c]
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x10050f18
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x84]
push eax
lea ecx, [ebx + 0x2d8]
call sym.soui.dll_public:_int___thiscall_SOUI::SLayoutSize::toPixelSize_int_const
mov edi, eax
test edi, edi
jg 0x10050f32
or edi, 0xffffffff
jmp 0x10050f32
movd xmm0, edi
cvtdq2ps xmm0, xmm0
push 0
push ecx
lea ecx, [ebx + 0x2d8]
movss dword [esp], xmm0
call sym.soui.dll_public:_void___thiscall_SOUI::SLayoutSize::setSize_float__enum_SOUI::SLayoutSize::Unit_
mov esi, dword [ebp + 0x10]
test esi, esi
jne 0x10050f5a
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x84]
push eax
lea ecx, [ebx + 0x2e4]
call sym.soui.dll_public:_int___thiscall_SOUI::SLayoutSize::toPixelSize_int_const
mov esi, eax
test esi, esi
jg 0x10050f74
or esi, 0xffffffff
jmp 0x10050f74
movd xmm0, esi
cvtdq2ps xmm0, xmm0
push 0
push ecx
lea ecx, [ebx + 0x2e4]
movss dword [esp], xmm0
call sym.soui.dll_public:_void___thiscall_SOUI::SLayoutSize::setSize_float__enum_SOUI::SLayoutSize::Unit_
test edi, edi
jle 0x10050f80
test esi, esi
jg 0x10051048
lea ecx, [ebx + 4]
mov eax, dword [ecx]
lea edx, [ebp - 0xe4]
push esi
push edi
push edx
call dword [eax + 0xb0]
push ebx
cmp edi, 0xffffffff
lea eax, [ebp - 0x11c]
push 0
cmove edi, dword [ebp - 0xe4]
cmp esi, 0xffffffff
push sym.soui.dll_protected:_bool___thiscall_SOUI::SHostWnd::onRootResize_class_SOUI::EventArgs__
cmove esi, dword [ebp - 0xe0]
push eax
call fcn.1004d5ef
add esp, 0x10
push eax
push 0x1fa8
lea ecx, [ebx + 0x34]
mov dword [ebp - 4], 9
call sym.soui.dll_public:_bool___thiscall_SOUI::SEventSet::subscribeEvent_unsigned_long_int__struct_SOUI::ISlotFunctor_const__
or dword [ebp - 4], 0xffffffff
lea ecx, [ebx + 0x2d8]
mov dword [ebp - method.SOUI::ISlotFunctor.virtual_0], vtable.SOUI::ISlotFunctor.0
call sym.soui.dll_public:_bool___thiscall_SOUI::SLayoutSize::isWrapContent_void_const
test al, al
je 0x10051015
push 0
push ecx
and dword [esp], 0
lea ecx, [ebx + 0x290]
call sym.soui.dll_public:_void___thiscall_SOUI::SLayoutSize::setSize_float__enum_SOUI::SLayoutSize::Unit_
push 0
push ecx
and dword [esp], 0
lea ecx, [ebx + 0x2a8]
call sym.soui.dll_public:_void___thiscall_SOUI::SLayoutSize::setSize_float__enum_SOUI::SLayoutSize::Unit_
lea ecx, [ebx + 0x2e4]
call sym.soui.dll_public:_bool___thiscall_SOUI::SLayoutSize::isWrapContent_void_const
test al, al
je 0x10051048
push 0
push ecx
and dword [esp], 0
lea ecx, [ebx + 0x29c]
call sym.soui.dll_public:_void___thiscall_SOUI::SLayoutSize::setSize_float__enum_SOUI::SLayoutSize::Unit_
push 0
push ecx
and dword [esp], 0
lea ecx, [ebx + 0x2b4]
call sym.soui.dll_public:_void___thiscall_SOUI::SLayoutSize::setSize_float__enum_SOUI::SLayoutSize::Unit_
push 0x16
push esi
push edi
xor eax, eax
push eax
push eax
push eax
push dword [ebx + 0x25c]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push dword [ebx + 0x25c]
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
lea esi, [ebx + 4]
mov eax, dword [esi]
lea ecx, [ebp - 0x20]
push ecx
mov ecx, esi
call dword [eax + 0xa8]
mov ecx, dword [ebx + 0x36c]
xor edi, edi
inc edi
mov dword [ebx + 0x364], edi
mov dword [ebx + 0x360], edi
mov eax, dword [ecx]
call dword [eax + 0x64]
xor ecx, ecx
mov eax, esi
test ebx, ebx
cmove eax, ecx
lea ecx, [ebp - 0x104]
push eax
call sym.soui.dll_public:_void___thiscall_SOUI::EventArgs::constructor_class_SOUI::SObjectImpl_struct_SOUI::IObject___
mov dword [ebp - method.SOUI::TObjRefImpl_struct_IObjRef_.virtual_0], vtable.SOUI::EventInit.0
mov dword [ebp - 0xfc], vtable.SOUI::EventInit.1.0
mov edx, dword [esi]
lea ecx, [ebp - 0x104]
push ecx
mov ecx, esi
mov dword [ebp - 4], 0xa
call dword [edx + 0x8c]
lea ecx, [ebp - 0x104]
call sym.soui.dll_public_virtual:_void___thiscall_SOUI::EventArgs::destructor_void_
mov eax, edi
call fcn.1005b10b
ret 0xc