Function at 0x40e090
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5be3b9
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push ebp
push esi
push edi
mov eax, dword [0x63727c]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
mov edx, dword [eax + 0x60]
call edx
push eax
lea ecx, [edi + 0x170]
call dword [sym.imp.soui.dll_public:_int___thiscall_SOUI::SLayoutSize::toPixelSize_int_const]
cmp dword [edi + 0x374], 0xfffffff6
mov ebp, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x18], 0
jne 0x40e0ec
mov dword [esp + 0x18], 1
cmp dword [edi + 0x19c], 0
mov esi, dword [esp + 0x70]
mov ebx, dword [esp + 0x6c]
je 0x40e165
mov ecx, dword [edi + 0x19c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
lea edx, [esp + 0x24]
push edx
call eax
mov ecx, dword [esi]
mov eax, ebp
sub eax, dword [esp + 0x28]
mov ebp, dword [esi + 8]
cdq
sub eax, edx
mov edx, dword [esi + 4]
mov dword [esp + 0x34], ebp
mov ebp, dword [esi + 0xc]
sar eax, 1
add ecx, eax
mov dword [esp + 0x38], ebp
mov ebp, dword [esp + 0x24]
add edx, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x2c], ecx
add ebp, ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x30], edx
add edx, ecx
mov ecx, dword [edi + 0x19c]
push eax
mov dword [esp + 0x3c], edx
lea eax, [esp + 0x30]
mov dword [esp + 0x38], ebp
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
push eax
push ebx
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0xc8]
mov ecx, ebx
call edx
mov ebp, eax
mov eax, dword [ebx]
mov edx, dword [eax + 0xcc]
push ebp
mov ecx, ebx
call edx
lea ecx, [esp + 0x14]
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_void_]
movzx eax, word [edi + 0x37a]
movzx ecx, word [edi + 0x378]
push eax
push ecx
push str._04d__d
lea edx, [esp + 0x7c]
push edx
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x78], 0
call dword [sym.imp.utilities.dll_public:_class_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits____cdecl_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::Format_wchar_t_const__]
add esp, 0x14
lea ecx, [esp + 0x70]
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
mov eax, dword [esi + 8]
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x54], eax
push 0x25
lea eax, [esp + 0x50]
mov dword [esp + 0x54], edx
mov edx, dword [ebx]
push eax
mov dword [esp + 0x60], ecx
push 0xffffffffffffffff
lea ecx, [esp + 0x20]
mov dword [esp + 0x7c], edx
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]
mov edx, dword [esp + 0x7c]
push eax
mov eax, dword [edx + 0x54]
mov ecx, ebx
call eax
mov edx, dword [ebx]
mov eax, dword [edx + 0xcc]
push ebp
mov ecx, ebx
call eax
cmp dword [edi + 0x374], 0xfffffff5
mov dword [esp + 0x70], 0
jne 0x40e22a
mov dword [esp + 0x70], 1
cmp dword [edi + 0x1a0], 0
je 0x40e29b
mov ecx, dword [edi + 0x1a0]
mov edx, dword [ecx]
mov edx, dword [edx + 0x14]
lea eax, [esp + 0x18]
push eax
call edx
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov ecx, dword [esi]
mov edi, dword [edi + 0x1a0]
sub eax, ebp
cdq
sub eax, edx
mov edx, dword [esi + 4]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esi + 8]
mov esi, dword [esi + 0xc]
sar eax, 1
sub ecx, eax
mov dword [esp + 0x44], ecx
sub ecx, dword [esp + 0x18]
add edx, eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x40], edx
mov dword [esp + 0x3c], ecx
add edx, ebp
mov dword [esp + 0x48], esi
push eax
mov dword [esp + 0x4c], edx
mov edx, dword [edi]
mov edx, dword [edx + 0xc]
lea ecx, [esp + 0x40]
push ecx
push ebx
mov ecx, edi
call edx
lea ecx, [esp + 0x14]
mov dword [esp + 0x64], 0xffffffff
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8