Function at 0x402880
Capabilities:
Print debug messages

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5aa9bd
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x250
mov eax, dword [0x6360c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x244], esi
lea ecx, [esi + 0x3c0]
push 0
call dword [sym.imp.utilities.dll_public:_wchar_t____thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::GetBuffer_int_]
mov edx, eax
mov dword [ebp - 0x220], 0
mov ecx, edx
mov dword [ebp - 0x21c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x230], xmm0
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402900
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x230]
call fcn.00401950
sub esp, 0x18
mov dword [ebp - 4], 0
lea eax, [ebp - 0x230]
mov dword [ebp - 0x23c], esp
mov ecx, esp
push eax
call fcn.00403ed0
mov byte [ebp - 4], 1
call fcn.0040d450
mov ecx, eax
mov byte [ebp - 4], 0
call fcn.0040e980
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x21c]
cmp ecx, 7
jbe 0x402995
mov edx, dword [ebp - 0x230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40298b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402c37
push ecx
push edx
call fcn.0042dc6f
add esp, 8
lea eax, [esi + 4]
sub esp, 8
mov ecx, eax
mov dword [ebp - 0x240], eax
call fcn.00404220
mov dword [esi + 0x394], eax
lea edi, [esi + 0x398]
xor eax, eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], eax
xor esi, esi
push esi
push eax
lea eax, [ebp - 0x218]
push str.cb__d_d
push eax
call fcn.00404390
mov ecx, dword [ebp - 0x240]
lea eax, [ebp - 0x218]
add esp, 0xc
push eax
call fcn.004043b0
mov dword [edi], eax
test eax, eax
je 0x402acc
lea ecx, [ebp - 0x230]
call dword [sym.imp.soui.dll_public:_void___thiscall_SOUI::ISlotFunctor::constructor_void_]
mov eax, dword [ebp - 0x244]
mov dword [ebp - method.SOUI::MemberFunctionSlot_class_CMainDlg__class_SOUI::EventArgs_.virtual_0], vtable.SOUI::MemberFunctionSlot_class_CMainDlg__class_SOUI::EventArgs_.0
mov dword [ebp - 0x228], 0x402c80
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 2
mov ecx, dword [edi]
push eax
push 0x2710
add ecx, 0x30
call dword [sym.imp.soui.dll_public:_bool___thiscall_SOUI::SEventSet::subscribeEvent_unsigned_long_int__struct_SOUI::ISlotFunctor_const__]
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.soui.dll_public_virtual:_void___thiscall_SOUI::ISlotFunctor::destructor_void_]
mov ecx, dword [edi]
lea edx, [ebp - 0x23c]
push 0
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x3c]
call eax
push 0
mov ecx, eax
mov dword [ebp - 4], 3
call dword [sym.imp.utilities.dll_public:_wchar_t____thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::GetBuffer_int_]
push eax
push esi
push dword [ebp - 0x234]
lea eax, [ebp - 0x218]
push dword [ebp - 0x238]
push str.__d__cb__d_d__s_n
push eax
call fcn.00404390
inc dword [ebp - 0x238]
lea ecx, [ebp - 0x23c]
add esp, 0x18
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp - 0x234]
inc esi
add edi, 4
cmp esi, 3
jl 0x4029c8
inc eax
mov dword [ebp - 0x234], eax
cmp eax, 2
jl 0x4029c6
push ecx
mov ecx, dword [ebp - 0x240]
push str.open_edt_msg
call fcn.004043b0
mov esi, dword [ebp - 0x244]
mov dword [esi + 0x3bc], eax
test eax, eax
je 0x402b75
lea ecx, [ebp - 0x260]
call dword [sym.imp.soui.dll_public:_void___thiscall_SOUI::ISlotFunctor::constructor_void_]
mov dword [ebp - method.SOUI::MemberFunctionSlot_class_CMainDlg__class_SOUI::EventArgs_.virtual_0], vtable.SOUI::MemberFunctionSlot_class_CMainDlg__class_SOUI::EventArgs_.0
mov dword [ebp - 0x258], 0x402c80
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x250], esi
lea eax, [ebp - 0x260]
mov dword [ebp - 4], 4
mov ecx, dword [esi + 0x3bc]
push eax
push 0x2710
add ecx, 0x30
call dword [sym.imp.soui.dll_public:_bool___thiscall_SOUI::SEventSet::subscribeEvent_unsigned_long_int__struct_SOUI::ISlotFunctor_const__]
lea ecx, [ebp - 0x260]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.soui.dll_public_virtual:_void___thiscall_SOUI::ISlotFunctor::destructor_void_]
sub esp, 0x28
lea edx, [esi + 0x3b1]
mov eax, esp
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__lambda_0b58e4e35b332687f8e44cbac0e7dcf4___int__enum_YB_STATE__int_.0
mov dword [eax + 4], esi
mov dword [eax + 0x24], eax
call fcn.00406c10
add esp, 0x28
test al, al
jne 0x402ba2
mov ecx, esi
call dword [sym.imp.soui.dll_public:_int___thiscall_SOUI::SHostWnd::DestroyWindow_void_]
jmp 0x402c15
mov eax, dword [esi + 0x3c0]
lea ecx, [esi + 0x3c0]
mov dword [esi + 0x3c4], 0
cmp dword [eax - 8], 0
je 0x402bd9
push 0
push str._silent
call dword [sym.imp.utilities.dll_public:_int___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::Find_wchar_t_const___int_const]
test eax, eax
js 0x402bd9
mov dword [esi + 0x3c4], 1
cmp dword [esi + 0x3c4], 0
je 0x402bf9
push 0
push 0
push 0x7ea
push dword [esi + 0x248]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x402c0b
push 0x1f4
push 0x2711
mov ecx, esi
call dword [sym.imp.soui.dll_public:_unsigned_int___thiscall_SOUI::SHostWnd::SetTimer_unsigned_int__unsigned_int_]
mov dword [esi + 0x38c], 1
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0042d9e0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.0047a870
int3