Function at 0x433be3
Capabilities:
Check for time delay via gettickcount
Check for unmoving mouse cursor

Disassembly:
push 0x1dc
mov eax, 0x4fd865
call fcn.004cda1c
mov ebx, ecx
mov dword [ebp - 0x1cc], ebx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1a8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1c0], eax
xor eax, eax
mov dword [ebp - 0x1bc], eax
cmp dword [ebx + 0x84], eax
je 0x435d72
lea ecx, [ebx + 0x2e4]
mov dword [ebp - 0x1c4], eax
call sym.RedAlert.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
mov esi, dword [ebp + 8]
xor edx, edx
mov edi, dword [ebp - 0x1a8]
inc edx
test eax, eax
jle 0x433c9f
mov ecx, dword [ebp - 0x1c4]
push ecx
lea ecx, [ebx + 0x2e4]
mov byte [ebp - 0x1c5], 0
call sym.RedAlert.exe_public:_void____thiscall_DuiLib::CDuiPtrArray::operator___int_const
lea ecx, [ebp - 0x1c5]
push ecx
push edi
push dword [ebp - 0x1ac]
mov edx, dword [eax]
mov ecx, eax
push esi
call dword [edx]
cmp byte [ebp - 0x1c5], 0
jne 0x433cf8
inc dword [ebp - 0x1c4]
lea ecx, [ebx + 0x2e4]
call sym.RedAlert.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
mov ecx, dword [ebp - 0x1c4]
cmp ecx, eax
jl 0x433c50
xor edx, edx
inc edx
cmp byte [ebx + 0x14d], 0
je 0x433d95
mov eax, esi
sub eax, 0x83
je 0x433d87
dec eax
sub eax, 1
je 0x433d87
sub eax, 1
jne 0x433d95
push dword [ebx + 0x84]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x435d72
cmp dword [ebp - 0x1ac], eax
sete al
mov ecx, dword [ebp - 0x1c0]
mov dword [ecx], eax
mov al, 1
jmp 0x435d74
mov ecx, dword [ebp - 0x1c0]
mov dword [ecx], eax
sub esi, 0x7b
je 0x433d21
sub esi, 0x185
je 0x433d69
sub esi, 1
je 0x433d69
sub esi, 1
je 0x433d69
sub esi, 1
je 0x433d69
sub esi, 7
jne 0x433cf1
mov ecx, dword [ebp - 0x1a8]
movsx eax, cx
mov dword [ebp - 0x1b4], eax
shr ecx, 0x10
movsx eax, cx
mov dword [ebp - 0x1b0], eax
lea eax, [ebp - 0x1b4]
push eax
push dword [ebx + 0x84]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x1b4]
mov ecx, dword [ebp - 0x1b0]
mov dword [ebx + 0xfc], eax
mov dword [ebx + 0x100], ecx
jmp 0x433cf1
mov eax, dword [ebp - 0x1a8]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [ebx + 0xfc], ecx
mov dword [ebx + 0x100], eax
jmp 0x433cf1
mov ecx, dword [ebp - 0x1c0]
and dword [ecx], 0
jmp 0x433cf1
mov eax, 0x111
cmp esi, eax
ja 0x434fd6
je 0x434fb7
cmp esi, 0x21
ja 0x434d05
je 0x434ce7
sub esi, 5
je 0x434c63
sub esi, 3
je 0x434bbc
sub esi, 7
je 0x433fd3
sub esi, 1
je 0x433ee7
sub esi, 4
je 0x433ed7
sub esi, 0xc
jne 0x435d72
cmp dword [ebx + 0xe4], esi
je 0x435d72
cmp di, dx
jne 0x435d72
cmp byte [ebx + 0x2b9], 0
jne 0x433cf1
lea eax, [ebp - 0x1d8]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x1d8], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x1d8]
push eax
push dword [ebx + 0x84]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0x1d4]
mov ecx, ebx
push dword [ebp - 0x1d8]
call sym.RedAlert.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_struct_tagPOINT_const
mov esi, eax
test esi, esi
je 0x435d72
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
test al, 2
je 0x435d72
mov ecx, dword [ebp - 0x1d4]
xor eax, eax
mov word [ebp - 0x8c], ax
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x1d8]
mov dword [ebp - 0xa0], 0x17
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], ecx
call fcn.00433b97
mov word [ebp - 0x8a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x98], eax
mov ecx, esi
mov edx, dword [esi]
lea eax, [ebp - 0xa0]
push eax
call dword [edx + 0x11c]
jmp 0x433cf1
mov ecx, dword [ebp - 0x1c0]
xor eax, eax
inc eax
mov dword [ecx], eax
jmp 0x435d74
mov ecx, dword [ebx + 0x100]
xor eax, eax
xorps xmm0, xmm0
mov word [ebp - 0x2c], ax
mov eax, dword [ebx + 0xfc]
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x28], xmm0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
call fcn.00433b97
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0xec]
mov dword [ebp - 0x38], eax
test ecx, ecx
je 0x433f3e
mov dword [ebp - 0x40], 0xa
lea edx, [ebp - 0x40]
mov dword [ebp - 0x3c], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x11c]
mov ecx, dword [ebx + 0xf0]
test ecx, ecx
je 0x433f5e
mov dword [ebp - 0x40], 0xe
lea edx, [ebp - 0x40]
mov dword [ebp - 0x3c], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x11c]
push 1
push 0
mov ecx, ebx
call sym.RedAlert.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SetFocus_class_DuiLib::CControlUI___bool_
mov esi, dword [ebx + 0x84]
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, esi
jne 0x433fb2
push 4
push esi
call dword [sym.imp.USER32.dll_GetWindow]
push 0xfffffffffffffff0
push dword [ebx + 0x84]
mov esi, eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x40000000
je 0x433fa7
push dword [ebx + 0x84]
call dword [sym.imp.USER32.dll_GetParent]
mov esi, eax
test esi, esi
je 0x433fb2
push esi
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebx + 0xac]
test eax, eax
je 0x435d72
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
and dword [ebx + 0xac], 0
jmp 0x435d72
mov esi, dword [ebx + 0x84]
xor eax, eax
cmp dword [ebx + 0xe4], eax
jne 0x434029
push 0x40
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.004cf400
add esp, 0xc
lea eax, [ebp - 0x60]
push eax
push esi
call dword [sym.imp.USER32.dll_BeginPaint]
push 0xff000000
lea eax, [ebp - 0x58]
push eax
push dword [ebx + 0x88]
call sym.RedAlert.exe_public:_static_void___cdecl_DuiLib::CRenderEngine::DrawColor_struct_HDC_____struct_tagRECT_const___unsigned_long_int_
add esp, 0xc
lea eax, [ebp - 0x60]
push eax
push dword [ebx + 0x84]
call dword [sym.imp.USER32.dll_EndPaint]
jmp 0x433cf1
xor eax, eax
lea edi, [ebp - 0x194]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x194]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
xor eax, eax
lea edi, [ebp - 0x70]
cmp byte [ebx + 0x14d], 0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
je 0x4340db
lea eax, [ebx + 0x164]
mov byte [ebx + 0x14b], 1
mov esi, eax
lea edi, [ebp - 0x70]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x4340ab
push 0x40
lea eax, [ebp - 0xc0]
push 0
push eax
call fcn.004cf400
add esp, 0xc
lea eax, [ebp - 0xc0]
push eax
push dword [ebx + 0x84]
call dword [sym.imp.USER32.dll_BeginPaint]
lea eax, [ebp - 0xc0]
jmp 0x434017
mov eax, dword [ebp - 0x68]
lea edi, [ebx + 0x164]
mov edx, dword [ebp - 0x18c]
cmp eax, edx
mov ecx, dword [ebp - 0x188]
cmovg eax, edx
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x64]
cmp eax, ecx
cmovg eax, ecx
mov dword [ebp - 0x64], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
jmp 0x434101
push 0
lea eax, [ebp - 0x70]
push eax
push dword [ebx + 0x84]
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
je 0x433cf1
mov ecx, dword [ebp - 0x188]
mov edx, dword [ebp - 0x18c]
cmp byte [ebx + 0x14a], 0
je 0x43411f
push 1
mov ecx, ebx
call sym.RedAlert.exe_public:_bool___thiscall_DuiLib::CPaintManagerUI::SetNextTabControl_bool_
mov ecx, dword [ebp - 0x188]
mov edx, dword [ebp - 0x18c]
cmp byte [ebx + 0x149], 0
mov byte [ebx + 0x2ba], 1
je 0x434313
lea eax, [ebp - 0x194]
mov byte [ebx + 0x149], 0
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x434397
mov ecx, dword [ebx + 0xe4]
call sym.RedAlert.exe_public:_bool___thiscall_DuiLib::CControlUI::IsUpdateNeeded_void_const
test al, al
je 0x434217
mov eax, dword [ebx + 0x8c]
lea esi, [ebp - 0x194]
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
test eax, eax
je 0x434180
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebx + 0x90]
test eax, eax
je 0x434191
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebx + 0x94]
test eax, eax
je 0x4341a2
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebx + 0x9c]
test eax, eax
je 0x4341b3
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
xor eax, eax
mov dword [ebx + 0x8c], eax
mov dword [ebx + 0x90], eax
mov dword [ebx + 0x94], eax
mov dword [ebx + 0x9c], eax
cmp byte [ebx + 0x14d], al
je 0x4341f9
mov eax, dword [ebx + 0x150]
add dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x154]
add dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x158]
sub dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x15c]
sub dword [ebp - 0x14], eax
mov ecx, dword [ebx + 0xe4]
lea esi, [ebp - 0x20]
push 1
sub esp, 0x10
mov edi, esp
mov eax, dword [ecx]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x4c]
jmp 0x4342ba
lea edi, [ebx + 0x32c]
mov ecx, edi
mov dword [ebp - 0x1b8], edi
call sym.RedAlert.exe_public:_void___thiscall_DuiLib::CDuiPtrArray::Empty_void_
mov ecx, dword [ebx + 0xe4]
xor esi, esi
push reloc.WS2_32.dll_htons
push esi
push sym.RedAlert.exe_private:_static_class_DuiLib::CControlUI____stdcall_DuiLib::CPaintManagerUI::__FindControlsFromUpdate_class_DuiLib::CControlUI___void__
mov eax, dword [ecx]
call dword [eax + 0x110]
mov ecx, edi
call sym.RedAlert.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
test eax, eax
jle 0x4342ba
xor ebx, ebx
push ebx
mov ecx, edi
call sym.RedAlert.exe_public:_void____thiscall_DuiLib::CDuiPtrArray::operator___int_const
mov esi, eax
mov ecx, esi
mov dword [ebp - 0x1bc], esi
mov edx, dword [esi]
call dword [edx + 0x108]
mov edx, dword [esi]
mov ecx, esi
mov dword [ebp - 0x1c4], edx
test al, al
jne 0x43427f
call dword [edx + 0x40]
jmp 0x434286
lea eax, [ebp - 0x80]
push eax
call dword [edx + 0x44]
mov ecx, dword [ebp - 0x1bc]
mov esi, eax
mov eax, dword [ebp - 0x1c4]
push 1
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x4c]
mov edi, dword [ebp - 0x1b8]
inc ebx
mov ecx, edi
call sym.RedAlert.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
cmp ebx, eax
jl 0x434252
mov ebx, dword [ebp - 0x1cc]
cmp byte [ebx + 0x148], 0
je 0x434397
push 1
xor eax, eax
mov ecx, ebx
push eax
push eax
push eax
push str.windowinit
push dword [ebx + 0xe4]
mov byte [ebx + 0x148], al
call sym.RedAlert.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool__bool_
cmp byte [ebx + 0x14d], 0
je 0x434397
cmp byte [ebx + 0x160], 0
je 0x434397
mov ecx, ebx
call sym.RedAlert.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::Invalidate_void_
mov byte [ebx + 0x2ba], 0
jmp 0x433cf1
cmp byte [ebx + 0x14d], 0
je 0x434397
cmp byte [ebx + 0x160], 0
je 0x434397
mov eax, dword [ebx + 0x98]
lea esi, [ebp - 0x194]
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
test eax, eax
je 0x43435a
sub ecx, dword [ebp - 0x190]
sub edx, dword [ebp - 0x194]
imul ecx, edx
shl ecx, 2
push ecx
push 0
push eax
call fcn.004cf400
add esp, 0xc
mov eax, dword [ebx + 0x150]
lea esi, [ebp - 0x20]
add dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x154]
add dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x158]
sub dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x15c]
sub dword [ebp - 0x14], eax
mov ecx, dword [ebx + 0xe4]
push 1
sub esp, 0x10
mov edi, esp
mov eax, dword [ecx]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x4c]
xor esi, esi
cmp byte [ebx + 0x14b], 0
je 0x43441e
cmp dword [ebx + 0x94], esi
jne 0x43441e
push dword [ebx + 0x88]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
cmp byte [ebx + 0x14d], 0
mov ecx, dword [ebx + 0x88]
mov dword [ebx + 0x8c], eax
je 0x4343f7
lea eax, [ebx + 0x98]
push eax
mov eax, dword [ebp - 0x188]
sub eax, dword [ebp - 0x190]
push eax
mov eax, dword [ebp - 0x18c]
sub eax, dword [ebp - 0x194]
push eax
push ecx
call sym.RedAlert.exe_public:_static_struct_HBITMAP______cdecl_DuiLib::CRenderEngine::CreateARGB32Bitmap_struct_HDC_____int__int__unsigned_long_int___
add esp, 0x10
jmp 0x434418
mov eax, dword [ebp - 0x188]
sub eax, dword [ebp - 0x190]
push eax
mov eax, dword [ebp - 0x18c]
sub eax, dword [ebp - 0x194]
push eax
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebx + 0x94], eax
push 0x40
lea eax, [ebp - 0x100]
push esi
push eax
call fcn.004cf400
add esp, 0xc
lea eax, [ebp - 0x100]
push eax
push dword [ebx + 0x84]
call dword [sym.imp.USER32.dll_BeginPaint]
cmp byte [ebx + 0x14b], 0
je 0x434b5b
push dword [ebx + 0x94]
push dword [ebx + 0x8c]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebx + 0x8c]
mov dword [ebp - 0x1b0], eax
call dword [sym.imp.GDI32.dll_SaveDC]
xor edx, edx
mov dword [ebp - 0x1a8], eax
cmp byte [ebx + 0x14d], dl
je 0x4344d1
cmp dword [ebx + 0x280], edx
jne 0x4344d1
mov ecx, dword [ebp - 0x188]
mov esi, ecx
sub esi, dword [ebp - 0x64]
jmp 0x4344c8
mov edi, dword [ebp - 0x70]
cmp edi, dword [ebp - 0x68]
jge 0x4344c7
mov ecx, dword [ebp - 0x18c]
sub ecx, dword [ebp - 0x194]
mov eax, dword [ebx + 0x98]
imul ecx, esi
add ecx, edi
inc edi
mov dword [eax + ecx*4], edx
cmp edi, dword [ebp - 0x68]
jl 0x4344a1
mov ecx, dword [ebp - 0x188]
inc esi
mov eax, ecx
sub eax, dword [ebp - 0x6c]
cmp esi, eax
jl 0x434499
mov ecx, dword [ebx + 0xe4]
push edx
lea edx, [ebp - 0x70]
push edx
mov eax, dword [ecx]
push dword [ebx + 0x8c]
call dword [eax + 0x138]
cmp byte [ebx + 0x14d], 0
je 0x43472d
lea ecx, [ebx + 0x2fc]
xor esi, esi
call sym.RedAlert.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
test eax, eax
jle 0x43472d
push esi
lea ecx, [ebx + 0x2fc]
call sym.RedAlert.exe_public:_void____thiscall_DuiLib::CDuiPtrArray::operator___int_const
mov edi, eax
push edi
mov dword [ebp - 0x1b8], edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x43454c
push 1
push esi
lea ecx, [ebx + 0x2fc]
call sym.RedAlert.exe_public:_bool___thiscall_DuiLib::CDuiPtrArray::Remove_int__int_
push 1
push esi
lea ecx, [ebx + 0x308]
call sym.RedAlert.exe_public:_bool___thiscall_DuiLib::CDuiPtrArray::Remove_int__int_
jmp 0x43471a
inc esi
push edi
mov dword [ebp - 0x1ac], esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x43471a
push edi
lea eax, [ebp - 0x1a4]
mov ecx, ebx
push eax
call sym.RedAlert.exe_public:_struct_tagRECT___thiscall_DuiLib::CPaintManagerUI::GetNativeWindowRect_struct_HWND____
xor eax, eax
lea edi, [ebp - 0x80]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x1a4]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x43471a
push dword [ebx + 0x8c]
and dword [ebp - 0x1bc], 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [ebp - 0x198]
mov esi, eax
sub ecx, dword [ebp - 0x1a0]
lea eax, [ebp - 0x1bc]
push eax
push ecx
mov ecx, dword [ebp - 0x19c]
sub ecx, dword [ebp - 0x1a4]
push ecx
push esi
mov dword [ebp - 0x1c0], esi
call sym.RedAlert.exe_public:_static_struct_HBITMAP______cdecl_DuiLib::CRenderEngine::CreateARGB32Bitmap_struct_HDC_____int__int__unsigned_long_int___
mov edx, dword [ebp - 0x19c]
mov edi, eax
mov ecx, dword [ebp - 0x198]
sub edx, dword [ebp - 0x1a4]
sub ecx, dword [ebp - 0x1a0]
imul edx, ecx
mov dword [ebp - 0x1d4], edi
shl edx, 2
push edx
push 0
push dword [ebp - 0x1bc]
call fcn.004cf400
add esp, 0x1c
push edi
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x35
push esi
push 0x317
push dword [ebp - 0x1b8]
mov dword [ebp - 0x1d0], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [ebp - 0x198]
xor edx, edx
mov eax, dword [ebp - 0x1a0]
mov ecx, edi
mov esi, dword [ebp - 0x1a4]
sub ecx, eax
test ecx, ecx
mov dword [ebp - 0x1c4], edx
mov ecx, dword [ebp - 0x19c]
jle 0x4346cd
mov eax, ecx
mov ebx, edx
sub eax, esi
test eax, eax
jle 0x4346a8
mov edi, dword [ebp - 0x1bc]
mov eax, ecx
sub eax, esi
imul eax, dword [ebp - 0x1c4]
add eax, ebx
mov edi, dword [edi + eax*4]
test edi, edi
je 0x434699
mov ecx, dword [ebp - 0x1bc]
or edi, 0xff000000
mov dword [ecx + eax*4], edi
mov ecx, dword [ebp - 0x19c]
mov esi, dword [ebp - 0x1a4]
mov eax, ecx
inc ebx
sub eax, esi
cmp ebx, eax
jl 0x434664
mov edi, dword [ebp - 0x198]
mov ebx, dword [ebp - 0x1c4]
mov eax, edi
sub eax, dword [ebp - 0x1a0]
inc ebx
mov dword [ebp - 0x1c4], ebx
cmp ebx, eax
jl 0x43465a
mov ebx, dword [ebp - 0x1cc]
mov eax, dword [ebp - 0x1a0]
push 0xcc0020
push edx
push edx
push dword [ebp - 0x1c0]
sub edi, eax
sub ecx, esi
push edi
push ecx
push eax
push esi
push dword [ebx + 0x8c]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x1d0]
mov esi, dword [ebp - 0x1c0]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x1d4]
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov esi, dword [ebp - 0x1ac]
lea ecx, [ebx + 0x2fc]
call sym.RedAlert.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
cmp esi, eax
jl 0x43450c
lea edi, [ebx + 0x2f0]
xor esi, esi
mov ecx, edi
call sym.RedAlert.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
test eax, eax
jle 0x434768
push esi
mov ecx, edi
call sym.RedAlert.exe_public:_void____thiscall_DuiLib::CDuiPtrArray::operator___int_const
lea ecx, [ebp - 0x70]
push ecx
push dword [ebx + 0x8c]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x154]
mov ecx, edi
inc esi
call sym.RedAlert.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
cmp esi, eax
jl 0x434740
push dword [ebp - 0x1a8]
push dword [ebx + 0x8c]
call dword [sym.imp.GDI32.dll_RestoreDC]
cmp byte [ebx + 0x14d], 0
je 0x434abc
xor eax, eax
lea edi, [ebp - 0x80]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x80]
push eax
push dword [ebx + 0x84]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x18c]
lea esi, [ebp - 0x194]
sub eax, dword [ebp - 0x194]
lea edi, [ebp - 0x20]
mov edx, dword [ebp - 0x188]
xor ecx, ecx
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x1c0], eax
mov eax, edx
sub eax, dword [ebp - 0x190]
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebx + 0x150]
add eax, dword [ebp - 0x194]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x154]
add dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x158]
sub dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x15c]
sub dword [ebp - 0x14], eax
cmp dword [ebx + 0x280], ecx
je 0x434a31
cmp dword [ebx + 0x9c], ecx
jne 0x43487b
push dword [ebx + 0x88]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, dword [ebp - 0x1c0]
lea esi, [ebx + 0xa0]
push esi
push dword [ebp - 0x1ac]
mov dword [ebx + 0x90], eax
push edi
push dword [ebx + 0x88]
call sym.RedAlert.exe_public:_static_struct_HBITMAP______cdecl_DuiLib::CRenderEngine::CreateARGB32Bitmap_struct_HDC_____int__int__unsigned_long_int___
mov dword [ebx + 0x9c], eax
mov eax, dword [ebp - 0x1ac]
imul eax, edi
shl eax, 2
push eax
push 0
push dword [esi]
call fcn.004cf400
add esp, 0x1c
push dword [ebx + 0x9c]
push dword [ebx + 0x90]
call dword [sym.imp.GDI32.dll_SelectObject]
and dword [ebp - 4], 0
jmp 0x4348aa
cmp byte [ebx + 0x160], cl
je 0x4348f2
mov eax, dword [ebp - 0x1ac]
imul eax, dword [ebp - 0x1c0]
shl eax, 2
push eax
push ecx
push dword [ebx + 0xa0]
call fcn.004cf400
add esp, 0xc
mov dword [ebp - 4], 1
lea eax, [ebp - 0x3c]
push eax
sub esp, 0x10
lea esi, [ebp - 0x20]
mov edi, esp
push dword [ebx + 0x90]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call sym.RedAlert.exe_public:_static_void___cdecl_DuiLib::CRenderClip::GenerateClip_struct_HDC_____struct_tagRECT__class_DuiLib::CRenderClip__
lea eax, [ebx + 0x174]
push eax
lea eax, [ebp - 0x20]
push eax
push eax
push ebx
push dword [ebx + 0x90]
call sym.RedAlert.exe_public:_static_bool___cdecl_DuiLib::CRenderEngine::DrawImage_struct_HDC_____class_DuiLib::CPaintManagerUI___struct_tagRECT_const___struct_tagRECT_const___struct_DuiLib::tagTDrawInfo__
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
add esp, 0x2c
call sym.RedAlert.exe_public:_void___thiscall_DuiLib::CRenderClip::destructor_void_
mov edx, dword [ebp - 0x188]
mov eax, dword [ebx + 0x280]
cmp byte [eax + 0x14], 0
je 0x434a31
mov edi, dword [ebp - 0x6c]
mov ecx, edx
sub ecx, dword [ebp - 0x64]
mov eax, edx
sub eax, edi
mov dword [ebp - 0x1b8], ecx
cmp ecx, eax
jge 0x434a31
mov esi, dword [ebp - 0x1c0]
mov eax, ecx
imul eax, esi
mov dword [ebp - 0x1d4], 0xff
mov dword [ebp - 0x1c4], eax
mov ebx, dword [ebp - 0x70]
cmp ebx, dword [ebp - 0x68]
mov dword [ebp - 0x1bc], ebx
mov ebx, dword [ebp - 0x1cc]
jge 0x434a10
mov ecx, dword [ebp - 0x1bc]
lea edx, [ecx + eax]
shl edx, 2
mov dword [ebp - 0x1d0], edx
mov ebx, dword [ebx + 0x98]
add ecx, eax
mov eax, dword [ebp - 0x1cc]
add ebx, edx
xor edx, edx
mov eax, dword [eax + 0xa0]
movzx edi, byte [eax + ecx*4 + 3]
mov ecx, dword [ebx]
mov eax, ecx
shr eax, 0x10
movzx eax, al
imul eax, edi
shr ecx, 8
div dword [ebp - 0x1d4]
xor edx, edx
movzx esi, al
movzx eax, cl
imul eax, edi
shl esi, 8
mov ecx, dword [ebp - 0x1bc]
div dword [ebp - 0x1d4]
xor edx, edx
movzx eax, al
or esi, eax
movzx eax, byte [ebx]
imul eax, edi
shl esi, 8
shl edi, 0x18
div dword [ebp - 0x1d4]
mov edx, dword [ebp - 0x1d0]
movzx eax, al
add edx, 4
or esi, eax
mov dword [ebp - 0x1d0], edx
mov eax, dword [ebp - 0x1c4]
add esi, edi
inc ecx
mov dword [ebx], esi
mov ebx, dword [ebp - 0x1cc]
mov dword [ebp - 0x1bc], ecx
cmp ecx, dword [ebp - 0x68]
jl 0x434961
mov edx, dword [ebp - 0x188]
mov edi, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x1b8]
mov esi, dword [ebp - 0x1c0]
add eax, esi
inc ecx
mov dword [ebp - 0x1c4], eax
mov eax, edx
sub eax, edi
mov dword [ebp - 0x1b8], ecx
cmp ecx, eax
mov eax, dword [ebp - 0x1c4]
jl 0x434937
mov al, byte [ebx + 0x14c]
xor ecx, ecx
mov byte [ebp - 0x1a6], al
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x19c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x198], eax
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x1e8], eax
mov eax, dword [ebp - 0x1ac]
push 2
mov dword [ebp - 0x1e4], eax
lea eax, [ebp - 0x1a8]
push eax
push ecx
lea eax, [ebp - 0x1e0]
mov word [ebp - 0x1a8], cx
push eax
push dword [ebx + 0x8c]
lea eax, [ebp - 0x1e8]
mov byte [ebp - 0x1a5], 1
push eax
lea eax, [ebp - 0x19c]
mov dword [ebp - 0x1e0], ecx
push eax
push dword [ebx + 0x88]
mov dword [ebp - 0x1dc], ecx
push dword [ebx + 0x84]
call dword [0x556a38]
jmp 0x434aed
mov eax, dword [ebp - 0x64]
sub eax, dword [ebp - 0x6c]
push 0xcc0020
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
push dword [ebx + 0x8c]
push eax
mov eax, dword [ebp - 0x68]
sub eax, dword [ebp - 0x70]
push eax
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
push dword [ebx + 0x88]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x1b0]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebx + 0x8c]
call edi
cmp byte [ebx + 0xe1], 0
je 0x434b90
cmp byte [ebx + 0x14d], 0
jne 0x434b90
push dword [0x556a3c]
push dword [ebx + 0x88]
call edi
push 5
mov esi, eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push dword [ebx + 0x88]
call edi
push dword [ebp - 0x64]
push dword [ebp - 0x68]
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
push dword [ebx + 0x88]
call dword [sym.imp.GDI32.dll_Rectangle]
push esi
push dword [ebx + 0x88]
call edi
jmp 0x434b90
push dword [ebx + 0x88]
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [ebx + 0xe4]
mov esi, eax
push 0
lea eax, [ebp - 0x70]
push eax
mov edx, dword [ecx]
push dword [ebx + 0x88]
call dword [edx + 0x138]
push esi
push dword [ebx + 0x88]
call dword [sym.imp.GDI32.dll_RestoreDC]
lea eax, [ebp - 0x100]
push eax
push dword [ebx + 0x84]
call dword [sym.imp.USER32.dll_EndPaint]
xor eax, eax
cmp byte [ebx + 0x149], al
mov byte [ebx + 0x2ba], al
mov byte [ebx + 0x160], al
jmp 0x434cd5
cmp dword [ebp - 0x1ac], 0
je 0x435d72
call dword [sym.imp.USER32.dll_GetFocus]
mov esi, eax
mov dword [ebp - 0x1b8], esi
push esi
mov esi, dword [sym.imp.USER32.dll_GetParent]
jmp 0x434bef
cmp dword [ebx + 0x84], eax
je 0x434bfa
mov dword [ebp - 0x1b8], eax
push eax
call esi
test eax, eax
jne 0x434be0
jmp 0x435d72
lea edi, [ebx + 0x2fc]
xor esi, esi
mov ecx, edi
call sym.RedAlert.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
test eax, eax
jle 0x435d72
push esi
mov ecx, edi
call sym.RedAlert.exe_public:_void____thiscall_DuiLib::CDuiPtrArray::operator___int_const
cmp eax, dword [ebp - 0x1b8]
je 0x434c32
mov ecx, edi
inc esi
call sym.RedAlert.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
cmp esi, eax
jl 0x434c11
jmp 0x435d72
lea edi, [ebx + 0x308]
push esi
mov ecx, edi
call sym.RedAlert.exe_public:_void____thiscall_DuiLib::CDuiPtrArray::operator___int_const
cmp eax, dword [ebx + 0xe8]
je 0x435d72
push 0
push esi
mov ecx, edi
call sym.RedAlert.exe_public:_void____thiscall_DuiLib::CDuiPtrArray::operator___int_const
push eax
mov ecx, ebx
call sym.RedAlert.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SetFocus_class_DuiLib::CControlUI___bool_
jmp 0x435d72
mov eax, dword [ebx + 0xe8]
test eax, eax
je 0x434cbf
xor ecx, ecx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x1ac]
mov word [ebp - 0x2c], cx
mov dword [ebp - 0x40], 0x16
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x100]
mov dword [ebp - 0x38], eax
mov eax, dword [ebx + 0xfc]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
call fcn.00433b97
mov ecx, dword [ebx + 0xe8]
lea edx, [ebp - 0x40]
mov word [ebp - 0x2a], ax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
mov ecx, dword [ebx + 0xe4]
test ecx, ecx
je 0x434cce
call sym.RedAlert.exe_public:_void___thiscall_DuiLib::CControlUI::NeedUpdate_void_
cmp byte [ebx + 0x14d], 0
je 0x433cf1
mov ecx, ebx
call sym.RedAlert.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::Invalidate_void_
jmp 0x433cf1
cmp byte [ebx + 0xe0], 0
je 0x435d72
mov ecx, dword [ebp - 0x1c0]
mov dword [ecx], 3
jmp 0x433cf1
mov eax, esi
sub eax, 0x24
je 0x434f74
sub eax, 0x2a
je 0x434f4b
sub eax, 0x2d
je 0x434e91
sub eax, 0x85
je 0x434e15
sub eax, 1
je 0x434d9e
sub eax, 1
jne 0x435d72
cmp dword [ebx + 0xe4], eax
je 0x435d72
mov eax, dword [ebx + 0xe8]
test eax, eax
je 0x435d72
mov ecx, dword [ebx + 0x100]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x28], eax
mov word [ebp - 0x2c], ax
mov eax, dword [ebx + 0xfc]
mov dword [ebp - 0x40], 5
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
call fcn.00433b97
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0xe8]
mov dword [ebp - 0x38], eax
jmp 0x435502
cmp dword [ebx + 0xe4], 0
je 0x435d72
mov eax, dword [ebx + 0xf4]
test eax, eax
je 0x435d72
mov ecx, dword [ebx + 0x100]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x28], eax
mov word [ebp - 0x2c], ax
mov eax, dword [ebx + 0xfc]
mov dword [ebp - 0x40], 4
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
call fcn.00433b97
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0xf4]
lea edx, [ebp - 0x40]
mov dword [ebp - 0x38], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
and dword [ebx + 0xf4], 0
jmp 0x435d72
cmp dword [ebx + 0xe4], 0
je 0x435d72
mov eax, dword [ebx + 0xe8]
test eax, eax
je 0x435d72
mov ecx, dword [ebx + 0x100]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x28], eax
mov word [ebp - 0x2c], ax
mov eax, dword [ebx + 0xfc]
mov dword [ebp - 0x40], 3
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
call fcn.00433b97
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0xe8]
lea edx, [ebp - 0x40]
mov dword [ebp - 0x38], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
mov eax, dword [ebx + 0xe8]
mov dword [ebx + 0xf4], eax
jmp 0x435d72
cmp dword [ebx + 0xe4], 0
je 0x435d72
cmp byte [ebx + 0x2b9], 0
jne 0x435d72
mov ecx, dword [ebp - 0x1a8]
movsx eax, cx
mov dword [ebp - 0x1b4], eax
shr ecx, 0x10
movsx eax, cx
mov dword [ebp - 0x1b0], eax
lea eax, [ebp - 0x1b4]
push eax
push dword [ebx + 0x84]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [ebx + 0xf0]
mov eax, dword [ebp - 0x1b4]
mov edx, dword [ebp - 0x1b0]
mov dword [ebx + 0xfc], eax
mov dword [ebx + 0x100], edx
test ecx, ecx
je 0x435d72
xor esi, esi
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x1ac]
and dword [ebp - 0x28], esi
mov word [ebp - 0x2c], si
mov dword [ebp - 0x40], 0x11
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x30], edx
mov word [ebp - 0x2a], ax
mov dword [ebp - 0x24], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0xf0]
lea edx, [ebp - 0x40]
mov dword [ebp - 0x38], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
and dword [ebx + 0xf0], esi
jmp 0x435d72
mov ecx, dword [ebp - 0x1a8]
test ecx, ecx
je 0x433cf1
push ecx
push dword [ebp - 0x1ac]
lea eax, [esi + 0x2000]
push eax
push dword [ecx]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x433ce9
mov ecx, dword [ebx + 0x104]
mov eax, dword [ebp - 0x1a8]
test ecx, ecx
jle 0x434f87
mov dword [eax + 0x18], ecx
mov ecx, dword [ebx + 0x108]
test ecx, ecx
jle 0x434f94
mov dword [eax + 0x1c], ecx
mov ecx, dword [ebx + 0x10c]
test ecx, ecx
jle 0x434fa1
mov dword [eax + 0x20], ecx
mov ecx, dword [ebx + 0x110]
test ecx, ecx
jle 0x435d72
mov dword [eax + 0x24], ecx
jmp 0x435d72
mov ecx, dword [ebp - 0x1a8]
test ecx, ecx
je 0x435d72
push ecx
push dword [ebp - 0x1ac]
lea eax, [esi + 0x2000]
push eax
push ecx
jmp 0x434f69
mov eax, 0x203
cmp esi, eax
ja 0x4355a9
je 0x435513
mov eax, esi
sub eax, 0x113
je 0x4353f3
sub eax, 0x20
je 0x434fb7
sub eax, 5
je 0x434fb7
sub eax, 0xc8
je 0x43517b
sub eax, 1
je 0x4350a9
sub eax, 1
jne 0x435d72
mov eax, dword [ebp - 0x1a8]
movsx esi, ax
shr eax, 0x10
cmp dword [ebx + 0xf0], 0
cwde
mov dword [ebp - 0x1b0], eax
mov dword [ebx + 0xfc], esi
mov dword [ebx + 0x100], eax
je 0x435d72
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [ebp - 0x1b0]
xor eax, eax
mov edi, dword [ebp - 0x1a8]
mov word [ebp - 0x2c], ax
mov eax, dword [ebx + 0xf0]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x1ac]
mov byte [ebx + 0x2b9], 0
mov dword [ebp - 0x40], 0xe
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], ecx
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0xf0]
and dword [ebx + 0xf0], 0
mov dword [ebp - 0x38], eax
jmp 0x435502
cmp byte [ebx + 0xe0], 0
jne 0x4350be
push dword [ebx + 0x84]
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [ebx + 0xe4], 0
je 0x435d72
mov eax, dword [ebp - 0x1a8]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x1b0], ecx
mov dword [ebx + 0xfc], ecx
push ecx
mov ecx, ebx
mov dword [ebp - 0x1b8], eax
mov dword [ebx + 0x100], eax
call sym.RedAlert.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_struct_tagPOINT_const
mov esi, eax
test esi, esi
je 0x435d72
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x24]
cmp eax, ebx
jne 0x435d72
mov dword [ebx + 0xf0], esi
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x104]
push dword [ebx + 0x84]
call dword [sym.imp.USER32.dll_SetCapture]
mov ecx, dword [ebp - 0x1b0]
xor eax, eax
mov edi, dword [ebp - 0x1a8]
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x1b8]
mov byte [ebx + 0x2b9], 1
mov dword [ebp - 0x40], 0xd
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x30], ecx
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x38], eax
jmp 0x4353e6
xor ecx, ecx
cmp dword [ebx + 0xe4], ecx
je 0x435d72
push 3
pop edx
cmp byte [ebx + 0x2b8], cl
jne 0x4351db
mov eax, dword [ebx + 0x84]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0xac]
mov dword [ebp - 0x20], 0x10
mov dword [ebp - 0x1c], edx
test eax, eax
jne 0x4351b9
mov eax, dword [ebx + 0xdc]
jmp 0x4351c7
push ecx
push edx
push 0x415
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
mov byte [ebx + 0x2b8], 1
mov eax, dword [ebp - 0x1a8]
mov ecx, ebx
movsx edi, ax
shr eax, 0x10
cwde
push eax
push edi
mov dword [ebp - 0x1b0], edi
mov dword [ebp - 0x1b8], eax
mov dword [ebx + 0xfc], edi
mov dword [ebx + 0x100], eax
call sym.RedAlert.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_struct_tagPOINT_const
mov esi, eax
test esi, esi
je 0x43521e
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x24]
cmp eax, ebx
jne 0x435d72
xor eax, eax
mov dword [ebp - 0x34], edi
mov edi, dword [ebp - 0x1a8]
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x38], eax
call fcn.00433b97
cmp byte [ebx + 0x2b9], 0
mov word [ebp - 0x2a], ax
jne 0x4353bb
push dword [ebp - 0x1b8]
mov ecx, ebx
push dword [ebp - 0x1b0]
call sym.RedAlert.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_struct_tagPOINT_const
mov esi, eax
mov dword [ebp - 0x1b0], esi
test esi, esi
je 0x43528f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
cmp eax, ebx
jne 0x435d72
mov eax, dword [ebx + 0xec]
cmp esi, eax
je 0x435391
test eax, eax
je 0x435391
lea esi, [ebx + 0x338]
mov dword [ebp - 0x40], 0xa
mov ecx, esi
mov dword [ebp - 0x3c], eax
call sym.RedAlert.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
push eax
lea ecx, [ebp - 0x1a0]
call sym.RedAlert.exe_public:_void___thiscall_DuiLib::CDuiPtrArray::constructor_int_
mov ecx, esi
mov dword [ebp - 4], 3
call sym.RedAlert.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
push eax
lea ecx, [ebp - 0x1a0]
call sym.RedAlert.exe_public:_void___thiscall_DuiLib::CDuiPtrArray::Resize_int_
mov ecx, esi
call sym.RedAlert.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
shl eax, 2
mov ecx, esi
push eax
call sym.RedAlert.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
lea ecx, [ebp - 0x1a0]
call sym.RedAlert.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
call fcn.004cee80
add esp, 0xc
lea ecx, [ebp - 0x1a0]
xor esi, esi
call sym.RedAlert.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
test eax, eax
jle 0x435344
push esi
lea ecx, [ebp - 0x1a0]
call sym.RedAlert.exe_public:_void____thiscall_DuiLib::CDuiPtrArray::operator___int_const
lea ecx, [ebp - 0x40]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x11c]
lea ecx, [ebp - 0x1a0]
inc esi
call sym.RedAlert.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
cmp esi, eax
jl 0x43531a
mov ecx, dword [ebx + 0xec]
lea edx, [ebp - 0x40]
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
mov edx, dword [ebx + 0xac]
xor ecx, ecx
mov dword [ebx + 0xec], ecx
test edx, edx
je 0x43537c
lea eax, [ebx + 0xb0]
push eax
push ecx
push 0x411
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1a0]
call sym.RedAlert.exe_public:_void___thiscall_DuiLib::CDuiPtrArray::destructor_void_
mov esi, dword [ebp - 0x1b0]
cmp esi, dword [ebx + 0xec]
je 0x4353bb
test esi, esi
je 0x4353bb
mov dword [ebp - 0x40], 0xb
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x3c], esi
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x11c]
mov dword [ebx + 0xec], esi
mov ecx, dword [ebx + 0xf0]
test ecx, ecx
je 0x4353d4
mov dword [ebp - 0x40], 9
mov dword [ebp - 0x3c], ecx
jmp 0x435502
test esi, esi
je 0x435d72
mov dword [ebp - 0x40], 9
mov dword [ebp - 0x3c], esi
mov eax, dword [esi]
lea ecx, [ebp - 0x40]
push ecx
mov ecx, esi
jmp 0x435508
mov eax, dword [ebp - 0x1ac]
mov ecx, 0x2000
movzx eax, ax
mov dword [ebp - 0x1b0], eax
cmp ax, cx
jne 0x435459
cmp byte [ebx + 0x14d], 0
je 0x435459
lea eax, [ebx + 0x164]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x435459
push dword [ebx + 0x84]
and dword [ebp - 0x1b0], eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x435d72
lea eax, [ebp - 0x1b0]
mov ecx, ebx
push eax
xor eax, eax
push eax
push eax
push 0xf
call sym.RedAlert.exe_public:_bool___thiscall_DuiLib::CPaintManagerUI::MessageHandler_unsigned_int__unsigned_int__long_int__long_int__
jmp 0x435d72
lea esi, [ebx + 0x2cc]
mov ecx, esi
call sym.RedAlert.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
test eax, eax
jle 0x435d72
push dword [ebp - 0x1bc]
mov ecx, esi
call sym.RedAlert.exe_public:_void____thiscall_DuiLib::CDuiPtrArray::operator___int_const
mov esi, eax
mov ecx, dword [esi + 8]
cmp ecx, dword [ebx + 0x84]
jne 0x43549c
mov eax, dword [ebp - 0x1b0]
movzx ecx, ax
cmp dword [esi + 0xc], ecx
jne 0x43549c
cmp byte [esi + 0x10], 0
je 0x4354c1
inc dword [ebp - 0x1bc]
lea ecx, [ebx + 0x2cc]
call sym.RedAlert.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
cmp dword [ebp - 0x1bc], eax
jge 0x435d72
lea esi, [ebx + 0x2cc]
jmp 0x43546e
xor eax, eax
mov dword [ebp - 0x40], 0x18
mov word [ebp - 0x2c], ax
mov eax, dword [esi]
mov dword [ebp - 0x3c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x100]
mov dword [ebp - 0x38], eax
mov eax, dword [ebx + 0xfc]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
call fcn.00433b97
mov ecx, dword [esi]
mov word [ebp - 0x2a], ax
mov eax, dword [esi + 4]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edi
mov eax, dword [ecx]
lea edx, [ebp - 0x40]
push edx
call dword [eax + 0x11c]
jmp 0x435d72
cmp byte [ebx + 0xe0], 0
jne 0x435528
push dword [ebx + 0x84]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x1a8]
mov ecx, ebx
movsx edi, ax
shr eax, 0x10
cwde
push eax
push edi
mov dword [ebp - 0x1b0], eax
mov dword [ebx + 0xfc], edi
mov dword [ebx + 0x100], eax
call sym.RedAlert.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_struct_tagPOINT_const
mov esi, eax
test esi, esi
je 0x435d72
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x24]
cmp eax, ebx
jne 0x435d72
push dword [ebx + 0x84]
call dword [sym.imp.USER32.dll_SetCapture]
xor eax, eax
mov byte [ebx + 0x2b9], 1
mov word [ebp - 0x2c], ax
xorps xmm0, xmm0
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x1ac]
movlpd qword [ebp - 0x28], xmm0
mov dword [ebp - 0x40], 0x10
mov word [ebp - 0x2a], ax
jmp 0x435d4f
sub esi, 0x204
je 0x435ccb
sub esi, 6
je 0x435bcd
sub esi, 0x97
je 0x435903
dec esi
sub esi, 1
je 0x4357e0
sub esi, 0x75
je 0x4356f0
sub esi, 0x7ce9
jne 0x435d72
xor eax, eax
lea edi, [ebx + 0x320]
push eax
mov ecx, edi
mov byte [ebx + 0x2bc], al
mov dword [ebp - 0x1b0], edi
call sym.RedAlert.exe_public:_void____thiscall_DuiLib::CDuiPtrArray::GetAt_int_const
mov esi, eax
test esi, esi
je 0x4356b7
lea eax, [ebx + 0x2c0]
mov dword [ebp - 0x1bc], eax
xor eax, eax
inc eax
xor ebx, ebx
push eax
push ebx
mov ecx, edi
call sym.RedAlert.exe_public:_bool___thiscall_DuiLib::CDuiPtrArray::Remove_int__int_
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x43564e
add ecx, 0x38
call sym.RedAlert.exe_public:_bool___thiscall_DuiLib::CEventSource::operator_bool_void_
test al, al
je 0x43564e
mov ecx, dword [esi + 0x108]
push esi
add ecx, 0x38
call sym.RedAlert.exe_public:_bool___thiscall_DuiLib::CEventSource::operator___void__
mov ecx, dword [ebp - 0x1bc]
mov edi, ebx
call sym.RedAlert.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
test eax, eax
jle 0x435682
mov ecx, dword [ebp - 0x1bc]
push edi
call sym.RedAlert.exe_public:_void____thiscall_DuiLib::CDuiPtrArray::operator___int_const
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, dword [ebp - 0x1bc]
inc edi
call sym.RedAlert.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
cmp edi, eax
jl 0x43565f
mov ecx, esi
call sym.RedAlert.exe_public:_void___thiscall_DuiLib::tagTDrawInfo::destructor_void_
push 0x120
push esi
call fcn.004cd29e
mov edi, dword [ebp - 0x1b0]
pop ecx
pop ecx
push ebx
mov ecx, edi
call sym.RedAlert.exe_public:_void____thiscall_DuiLib::CDuiPtrArray::GetAt_int_const
mov esi, eax
push 1
pop eax
test esi, esi
jne 0x435620
mov ebx, dword [ebp - 0x1cc]
lea esi, [ebx + 0x314]
mov ecx, esi
call sym.RedAlert.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
test eax, eax
jle 0x4356e4
xor ebx, ebx
push ebx
mov ecx, esi
call sym.RedAlert.exe_public:_void____thiscall_DuiLib::CDuiPtrArray::operator___int_const
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, esi
inc ebx
call sym.RedAlert.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
cmp ebx, eax
jl 0x4356ca
mov ecx, esi
call sym.RedAlert.exe_public:_void___thiscall_DuiLib::CDuiPtrArray::Empty_void_
jmp 0x435d72
cmp dword [ebx + 0xe4], 0
je 0x435d72
lea eax, [ebp - 0x80]
push eax
push dword [ebx + 0x84]
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [ebp - 0x1ac]
push esi
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [ebx + 0xe4]
mov dword [ebp - 0x1b0], eax
lea eax, [ebp - 0x80]
push 0
push eax
mov edx, dword [ecx]
push esi
call dword [edx + 0x138]
test byte [ebp - 0x1a8], 0x10
je 0x4357ce
push 5
push dword [ebx + 0x84]
call dword [sym.imp.USER32.dll_GetWindow]
mov ecx, eax
mov dword [ebp - 0x1b8], ecx
test ecx, ecx
je 0x4357ce
or dword [ebp - 0x1a8], 2
xor eax, eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x20]
push eax
push dword [ebx + 0x84]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x1c]
push 0
neg eax
push eax
mov eax, dword [ebp - 0x20]
neg eax
push eax
push esi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
push dword [ebp - 0x1a8]
mov edi, dword [ebp - 0x1b8]
push esi
push 0x317
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov ecx, eax
mov dword [ebp - 0x1b8], eax
test ecx, ecx
jne 0x435763
push dword [ebp - 0x1b0]
push esi
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp 0x435d72
xor ecx, ecx
cmp dword [ebx + 0xe4], ecx
je 0x435d72
mov edx, dword [ebx + 0xac]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test edx, edx
je 0x43580e
lea eax, [ebx + 0xb0]
push eax
push ecx
push 0x411
push edx
call esi
cmp byte [ebx + 0x2b8], 0
je 0x4358f7
xor eax, eax
lea edi, [ebp - 0x80]
stosd dword es:[edi], eax
xorps xmm0, xmm0
movlpd qword [ebp - 0x1b4], xmm0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x1b4]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x80]
push eax
push dword [ebx + 0x84]
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [ebx + 0x84]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x4358e6
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx + 0x84]
jne 0x4358e6
push dword [ebp - 0x1b0]
lea eax, [ebp - 0x80]
push dword [ebp - 0x1b4]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4358e6
movzx ecx, word [ebp - 0x1b0]
movzx eax, word [ebp - 0x1b4]
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x84
push dword [ebx + 0x84]
call esi
mov ecx, dword [ebx + 0x84]
cmp eax, 1
jne 0x4358da
lea eax, [ebp - 0x1b4]
push eax
push ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
movzx ecx, word [ebp - 0x1b0]
movzx eax, word [ebp - 0x1b4]
shl ecx, 0x10
or ecx, eax
push ecx
jmp 0x4358e8
push 0xffffffffffffffff
push 0
push 0x200
push ecx
jmp 0x4358f5
push 0xffffffffffffffff
push 0
push 0x200
push dword [ebx + 0x84]
call esi
mov byte [ebx + 0x2b8], 0
jmp 0x435d72
xor eax, eax
cmp dword [ebx + 0xe4], eax
je 0x435d72
mov byte [ebx + 0x2b8], al
mov ecx, ebx
mov eax, dword [ebp - 0x1a8]
movsx edi, ax
shr eax, 0x10
cwde
push eax
push edi
mov dword [ebp - 0x1b0], edi
mov dword [ebp - 0x1d0], eax
call sym.RedAlert.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_struct_tagPOINT_const
mov esi, eax
mov dword [ebp - 0x1b8], esi
test esi, esi
je 0x435d72
mov eax, dword [ebx + 0xec]
test eax, eax
je 0x4359a5
mov dword [ebp - 0x3c], eax
xor ecx, ecx
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1a8]
mov word [ebp - 0x2c], cx
mov dword [ebp - 0x40], 0xc
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x1d0]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], eax
call fcn.00433b97
mov ecx, dword [ebx + 0xec]
lea edx, [ebp - 0x40]
mov word [ebp - 0x2a], ax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
mov eax, dword [esi]
lea ecx, [ebp - 0x184]
push ecx
mov ecx, esi
call dword [eax + 0xac]
lea ecx, [ebp - 0x184]
mov dword [ebp - 4], 2
call sym.RedAlert.exe_public:_bool___thiscall_DuiLib::CDuiString::IsEmpty_void_const
test al, al
je 0x4359dc
lea ecx, [ebp - 0x184]
call sym.RedAlert.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
jmp 0x433cf1
lea eax, [ebp - 0x184]
push eax
call sym.RedAlert.exe_public:_static_void___cdecl_DuiLib::CPaintManagerUI::ProcessMultiLanguageTokens_class_DuiLib::CDuiString__
xor eax, eax
mov dword [ebx + 0xc0], eax
mov dword [ebx + 0xc4], eax
mov dword [ebx + 0xc8], eax
mov dword [ebx + 0xcc], eax
mov dword [ebx + 0xd0], eax
mov dword [ebx + 0xd4], eax
mov dword [ebx + 0xd8], eax
mov eax, dword [ebx + 0x84]
pop ecx
mov dword [ebx + 0xb0], 0x2c
lea ecx, [ebp - 0x184]
mov dword [ebx + 0xb4], 1
mov dword [ebx + 0xb8], eax
mov dword [ebx + 0xbc], eax
mov eax, dword [sym.RedAlert.exe_struct_HINSTANCE____DuiLib::CPaintManagerUI::m_hInstance]
mov dword [ebx + 0xd0], eax
call sym.RedAlert.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
mov dword [ebx + 0xd4], eax
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x40]
mov esi, eax
lea edi, [ebx + 0xc0]
xor eax, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebx + 0xac], eax
jne 0x435b0d
push eax
push dword [sym.RedAlert.exe_struct_HINSTANCE____DuiLib::CPaintManagerUI::m_hInstance]
mov ecx, accept
push eax
push dword [ebx + 0x84]
push ecx
push ecx
push ecx
push ecx
push reloc.WS2_32.dll_closesocket
push eax
push str.tooltips_class32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
lea ecx, [ebx + 0xb0]
mov dword [ebx + 0xac], eax
push ecx
xor esi, esi
push esi
push 0x432
push eax
call edi
mov esi, dword [ebp - 0x1b8]
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0xb8]
push eax
push 0
push 0x418
push dword [ebx + 0xac]
call edi
lea eax, [ebx + 0xb0]
push eax
push 0
push 0x436
push dword [ebx + 0xac]
call edi
lea eax, [ebx + 0xb0]
push eax
push 1
push 0x411
push dword [ebx + 0xac]
call edi
jmp 0x435b13
mov esi, dword [ebp - 0x1b8]
mov ecx, dword [ebx + 0xf8]
test ecx, ecx
jne 0x435b25
mov dword [ebx + 0xf8], esi
jmp 0x435ba1
mov eax, dword [esi]
cmp ecx, esi
mov ecx, esi
mov eax, dword [eax + 0xb8]
jne 0x435b69
call eax
cmp dword [ebx + 0xa8], eax
je 0x435b7b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xb8]
push eax
push 0
push 0x418
push dword [ebx + 0xac]
call edi
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xb8]
mov dword [ebx + 0xa8], eax
jmp 0x435b7b
call eax
push eax
push 0
push 0x418
push dword [ebx + 0xac]
call edi
lea esi, [ebx + 0xb0]
push esi
push 0
push 0x436
push dword [ebx + 0xac]
call edi
push esi
push 1
push 0x411
push dword [ebx + 0xac]
call edi
mov eax, dword [ebp - 0x1d0]
movzx ecx, ax
mov eax, dword [ebp - 0x1b0]
shl ecx, 0x10
movzx eax, ax
or ecx, eax
push ecx
push 0
push 0x412
push dword [ebx + 0xac]
call edi
jmp 0x4359cc
cmp dword [ebx + 0xe4], 0
je 0x435d72
mov ecx, dword [ebp - 0x1a8]
movsx eax, cx
mov dword [ebp - 0x1b4], eax
mov eax, ecx
shr eax, 0x10
cwde
mov dword [ebp - 0x1b0], eax
lea eax, [ebp - 0x1b4]
push eax
push dword [ebx + 0x84]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x1b0]
mov ecx, dword [ebp - 0x1b4]
push eax
mov dword [ebx + 0xfc], ecx
push ecx
mov ecx, ebx
mov dword [ebx + 0x100], eax
call sym.RedAlert.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_struct_tagPOINT_const
mov esi, eax
test esi, esi
je 0x435d72
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x24]
cmp eax, ebx
jne 0x435d72
mov ecx, dword [ebx + 0x100]
xor eax, eax
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x1ac]
shr eax, 0x10
movzx eax, ax
shr eax, 0xf
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1a8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0xfc]
mov dword [ebp - 0x40], 0x12
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
call fcn.00433b97
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x40]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x11c]
movzx ecx, word [ebx + 0x100]
movzx eax, word [ebx + 0xfc]
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x200
push dword [ebx + 0x84]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x435d72
cmp byte [ebx + 0xe0], 0
jne 0x435ce0
push dword [ebx + 0x84]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x1a8]
mov ecx, ebx
movsx edi, ax
shr eax, 0x10
cwde
push eax
push edi
mov dword [ebp - 0x1b0], eax
mov dword [ebx + 0xfc], edi
mov dword [ebx + 0x100], eax
call sym.RedAlert.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_struct_tagPOINT_const
mov esi, eax
test esi, esi
je 0x435d72
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x24]
cmp eax, ebx
jne 0x435d72
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x104]
mov ecx, dword [ebp - 0x1ac]
xor eax, eax
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x1a8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x40], 0xf
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x30], eax
mov word [ebp - 0x2a], cx
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x34], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x40]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x11c]
mov dword [ebx + 0xf0], esi
xor al, al
call fcn.004cd9da
ret 0x10