Function at 0x40e600
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5be45b
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x63727c]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebx, ecx
mov ebp, dword [esp + 0x30]
mov eax, dword [ebp]
mov edx, dword [eax + 0xc8]
mov ecx, ebp
call edx
mov dword [esp + 0x1c], eax
xor eax, eax
cmp dword [ebx + 0x374], 0x2a
jne 0x40e662
mov ecx, dword [ebx + 0x198]
mov eax, dword [ebp]
mov edx, dword [eax + 0xcc]
push ecx
mov ecx, ebp
call edx
mov eax, 1
mov ecx, dword [ebx + 0x1a8]
mov edi, dword [esp + 0x34]
test ecx, ecx
je 0x40e67a
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0xc]
push edi
push ebp
call eax
lea ecx, [esp + 0x30]
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_void_]
movzx ecx, word [ebx + 0x382]
movzx edx, word [ebx + 0x37e]
movzx eax, word [ebx + 0x37c]
push ecx
push edx
push eax
push str.2304008_04d__d__d
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x44]
push edx
mov dword [esp + 0x40], 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, 0x18
lea ecx, [esp + 0x34]
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
push str.SCalendarEx
lea ecx, [esp + 0x38]
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0x34], 1
call dword [sym.imp.soui.dll_public:_static_class_SOUI::SApplication____cdecl_SOUI::SSingleton_class_SOUI::SApplication_::getSingleton_void_]
mov ecx, eax
call dword [sym.imp.soui.dll_public:_class_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits____thiscall_SOUI::SApplication::tr_class_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits__const___class_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits__const__]
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 2
call dword [sym.imp.utilities.dll_public:_class_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_____thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::operator_class_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits__const__]
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 1
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
lea ecx, [esp + 0x34]
mov byte [esp + 0x28], 0
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
mov eax, dword [edi]
mov dword [ebx + 0x360], eax
mov ecx, dword [edi + 4]
lea esi, [ebx + 0x360]
mov dword [esi + 4], ecx
mov edx, dword [edi + 8]
mov dword [esi + 8], edx
mov eax, dword [edi + 0xc]
push 0x425
mov dword [esi + 0xc], eax
mov ecx, dword [ebp]
push esi
mov dword [esp + 0x20], ecx
push 0xffffffffffffffff
lea ecx, [esp + 0x3c]
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 + 0x24]
push eax
mov eax, dword [edx + 0x54]
mov ecx, ebp
call eax
mov ecx, dword [ebx + 0x364]
sub ecx, dword [edi + 4]
push 0
add ecx, dword [edi + 0xc]
mov dword [ebx + 0x36c], ecx
mov eax, dword [edi + 8]
sub eax, dword [esi + 8]
sub eax, dword [edi]
add eax, dword [esi]
cdq
sub eax, edx
sar eax, 1
push eax
push esi
call dword [sym.imp.USER32.dll_OffsetRect]
mov edi, dword [ebp]
push 0x25
push esi
push 0xffffffffffffffff
lea ecx, [esp + 0x3c]
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 [edi + 0x54]
push eax
mov ecx, ebp
call edx
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebp]
mov edx, dword [eax + 0xcc]
push ecx
mov ecx, ebp
call edx
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 8