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

Disassembly:
push 0x1d8
mov eax, 0x5bc4b1
call fcn.0056fe77
mov esi, ecx
mov dword [ebp - 0x1ac], esi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1cc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1b0], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1c4], eax
xor eax, eax
mov dword [ebp - 0x19c], eax
cmp dword [esi + 0xa8], eax
je 0x51fd7e
lea ecx, [esi + 0x418]
mov dword [ebp - 0x1bc], eax
call sym.yuntun.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
mov edi, dword [ebp - 0x1b0]
test eax, eax
jle 0x51d579
mov ecx, dword [ebp - 0x1bc]
push ecx
lea ecx, [esi + 0x418]
mov byte [ebp - 0x1a5], 0
call sym.yuntun.exe_public:_void____thiscall_DuiLib::CStdPtrArray::operator___int_const
mov ecx, dword [eax]
mov edx, dword [ecx]
lea ecx, [ebp - 0x1a5]
push ecx
push edi
push dword [ebp - 0x1cc]
mov ecx, eax
push dword [ebp + 8]
call edx
cmp byte [ebp - 0x1a5], 0
jne 0x51d5d2
inc dword [ebp - 0x1bc]
lea ecx, [esi + 0x418]
call sym.yuntun.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
mov ecx, dword [ebp - 0x1bc]
cmp ecx, eax
jl 0x51d529
cmp byte [esi + 0x16d], 0
mov eax, dword [ebp + 8]
push 2
pop edx
je 0x51d664
mov ecx, eax
sub ecx, 0x83
je 0x51d659
sub ecx, edx
je 0x51d659
sub ecx, 1
jne 0x51d664
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x51e7fb
cmp dword [ebp - 0x1cc], eax
sete al
mov ecx, dword [ebp - 0x1c4]
mov dword [ecx], eax
jmp 0x51d63d
mov ecx, dword [ebp - 0x1c4]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
cmp eax, 0x7b
je 0x51d5f7
cmp eax, 0x1ff
jbe 0x51d63d
cmp eax, 0x203
jbe 0x51d644
cmp eax, 0x20a
jne 0x51d63d
mov ecx, dword [ebp - 0x1b0]
movsx eax, cx
mov dword [ebp - 0x1a4], eax
shr ecx, 0x10
movsx eax, cx
mov dword [ebp - 0x1a0], eax
lea eax, [ebp - 0x1a4]
push eax
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x1a4]
mov dword [esi + 0x11c], eax
mov eax, dword [ebp - 0x1a0]
mov dword [esi + 0x120], eax
mov al, 1
jmp 0x51fd80
mov eax, dword [ebp - 0x1b0]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [esi + 0x11c], ecx
jmp 0x51d637
mov ecx, dword [ebp - 0x1c4]
and dword [ecx], 0
jmp 0x51d63d
mov ecx, 0x133
cmp eax, ecx
ja 0x51eb94
je 0x51f5a9
cmp eax, 0x24
ja 0x51e801
je 0x51e72d
sub eax, 5
je 0x51e6d4
sub eax, edx
je 0x51e674
sub eax, 1
je 0x51e659
sub eax, 7
je 0x51d868
sub eax, 1
je 0x51d7a3
sub eax, 4
je 0x51d793
sub eax, 0xc
jne 0x51fd7e
cmp dword [esi + 0x104], eax
je 0x51fd7e
inc eax
cmp di, ax
jne 0x51fd7e
cmp byte [esi + 0x3e1], 0
jne 0x51fd80
lea eax, [ebp - 0x1a4]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x1a4], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x1a4]
push eax
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0x1a0]
mov ecx, esi
push dword [ebp - 0x1a4]
call sym.yuntun.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_struct_tagPOINT_const
mov esi, eax
test esi, esi
je 0x51fd7e
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x14]
test al, 2
je 0x51fd7e
xor eax, eax
mov dword [ebp - 0x40], 0x1a
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1a4]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x30], eax
call fcn.0051d476
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 + 0x14c]
jmp 0x51d63d
mov ecx, dword [ebp - 0x1c4]
xor eax, eax
inc eax
mov dword [ecx], eax
jmp 0x51fd80
xor eax, eax
xorps xmm0, xmm0
mov word [ebp - 0x2c], ax
mov eax, dword [esi + 0x11c]
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0x120]
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x28], xmm0
mov dword [ebp - 0x30], eax
call fcn.0051d476
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x10c]
mov dword [ebp - 0x38], eax
test ecx, ecx
je 0x51d7fa
mov dword [ebp - 0x40], 0xa
lea edx, [ebp - 0x40]
mov dword [ebp - 0x3c], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x14c]
mov ecx, dword [esi + 0x110]
test ecx, ecx
je 0x51d81a
mov dword [ebp - 0x40], 0xe
lea edx, [ebp - 0x40]
mov dword [ebp - 0x3c], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x14c]
push 0
mov ecx, esi
call sym.yuntun.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SetFocus_class_DuiLib::CControlUI__
mov edi, dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, edi
jne 0x51d847
push 4
push edi
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je 0x51d847
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0xc8]
test eax, eax
je 0x51fd7e
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
and dword [esi + 0xc8], 0
jmp 0x51fd7e
xor eax, eax
cmp dword [esi + 0x104], eax
jne 0x51d8bd
push 0x40
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00586790
add esp, 0xc
lea eax, [ebp - 0x60]
push eax
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_BeginPaint]
push 0xff000000
lea eax, [ebp - 0x58]
push eax
push dword [esi + 0xac]
call sym.yuntun.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 [esi + 0xa8]
call dword [sym.imp.USER32.dll_EndPaint]
jmp 0x51d63d
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 [esi + 0xa8]
call dword [sym.imp.USER32.dll_GetClientRect]
xor eax, eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
push 0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
je 0x51d63d
cmp byte [esi + 0x16a], 0
je 0x51d90b
push 1
mov ecx, esi
call sym.yuntun.exe_public:_bool___thiscall_DuiLib::CPaintManagerUI::SetNextTabControl_bool_
push 1
mov ecx, esi
call sym.yuntun.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SetPainting_bool_
mov eax, dword [ebp - 0x78]
mov ecx, esi
sub eax, dword [ebp - 0x80]
mov dword [ebp - 0x1cc], eax
mov eax, dword [ebp - 0x74]
sub eax, dword [ebp - 0x7c]
push 1
mov byte [ebp - 0x1a5], 0
mov dword [ebp - 0x1d4], eax
call sym.yuntun.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SetPainting_bool_
cmp byte [esi + 0x169], 0
je 0x51dba2
lea eax, [ebp - 0x80]
mov byte [esi + 0x169], 0
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x51dc31
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x51dc31
mov ecx, dword [esi + 0x104]
call sym.yuntun.exe_public:_bool___thiscall_DuiLib::CControlUI::IsUpdateNeeded_void_const
test al, al
je 0x51da41
lea esi, [ebp - 0x80]
lea edi, [ebp - 0x70]
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 esi, dword [ebp - 0x1ac]
mov eax, dword [esi + 0xb0]
test eax, eax
je 0x51d9aa
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esi + 0xb4]
test eax, eax
je 0x51d9bb
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esi + 0xb8]
test eax, eax
je 0x51d9cc
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esi + 0xc0]
test eax, eax
je 0x51d9dd
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
xor eax, eax
mov dword [esi + 0xb0], eax
mov dword [esi + 0xb4], eax
mov dword [esi + 0xb8], eax
mov dword [esi + 0xc0], eax
cmp byte [esi + 0x16d], al
je 0x51da23
mov eax, dword [esi + 0x170]
add dword [ebp - 0x70], eax
mov eax, dword [esi + 0x174]
add dword [ebp - 0x6c], eax
mov eax, dword [esi + 0x178]
sub dword [ebp - 0x68], eax
mov eax, dword [esi + 0x17c]
sub dword [ebp - 0x64], eax
mov ecx, dword [esi + 0x104]
lea esi, [ebp - 0x70]
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 + 0x64]
jmp 0x51db27
lea eax, [esi + 0x460]
mov ecx, eax
mov dword [ebp - 0x1c0], eax
call sym.yuntun.exe_public:_void___thiscall_DuiLib::CStdPtrArray::Empty_void_
mov ecx, dword [esi + 0x104]
xor edi, edi
push reloc.WS2_32.dll_htons
push edi
push sym.yuntun.exe_private:_static_class_DuiLib::CControlUI____stdcall_DuiLib::CPaintManagerUI::__FindControlsFromUpdate_class_DuiLib::CControlUI___void__
mov eax, dword [ecx]
call dword [eax + pe_nt_image_headers32]
lea ecx, [esi + 0x460]
mov dword [ebp - 0x19c], edi
call sym.yuntun.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
test eax, eax
jle 0x51db2d
mov ecx, dword [ebp - 0x1c0]
push edi
call sym.yuntun.exe_public:_void____thiscall_DuiLib::CStdPtrArray::operator___int_const
mov esi, eax
mov ecx, esi
mov dword [ebp - 0x1c8], esi
mov edx, dword [esi]
call dword [edx + 0x138]
test al, al
jne 0x51dad5
mov edx, dword [esi]
mov ecx, esi
mov eax, dword [edx + 0x64]
mov dword [ebp - 0x1b8], eax
call dword [edx + 0x60]
mov ecx, dword [ebp - 0x1c8]
mov esi, eax
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 [ebp - 0x1b8]
jmp 0x51db07
mov eax, dword [esi]
mov ecx, dword [eax + 0x64]
mov eax, dword [eax + 0x58]
mov dword [ebp - 0x1b8], ecx
lea ecx, [ebp - 0x98]
push ecx
mov ecx, esi
call eax
mov ecx, dword [ebp - 0x1c8]
mov esi, eax
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 [ebp - 0x1b8]
mov edi, dword [ebp - 0x19c]
mov ecx, dword [ebp - 0x1c0]
inc edi
mov dword [ebp - 0x19c], edi
call sym.yuntun.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
cmp edi, eax
jl 0x51da88
mov esi, dword [ebp - 0x1ac]
cmp byte [esi + 0x168], 0
mov byte [ebp - 0x1a5], 1
je 0x51dc31
xor eax, eax
mov ecx, esi
push eax
push eax
push eax
push str.windowinit
push dword [esi + 0x104]
mov byte [esi + 0x168], al
call sym.yuntun.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
cmp byte [esi + 0x16d], 0
je 0x51db85
cmp byte [esi + 0x180], 0
je 0x51db85
mov ecx, esi
call sym.yuntun.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::Invalidate_void_
push 0
mov ecx, esi
call sym.yuntun.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SetPainting_bool_
jmp 0x51d63d
push dword [esi + 0xa8]
lea ecx, [esi + 0x5cc]
call sym.yuntun.exe_protected:_void___thiscall_DuiLib::CShadowUI::Update_struct_HWND____
mov byte [ebp - 0x1a5], 1
jmp 0x51dc31
cmp byte [esi + 0x16d], 0
je 0x51dca9
cmp byte [esi + 0x180], 0
je 0x51dc31
lea esi, [ebp - 0x80]
lea edi, [ebp - 0x70]
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 esi, dword [ebp - 0x1ac]
mov ecx, dword [esi + 0xbc]
test ecx, ecx
je 0x51dbee
mov eax, dword [ebp - 0x1d4]
imul eax, dword [ebp - 0x1cc]
shl eax, 2
push eax
push 0
push ecx
call fcn.00586790
add esp, 0xc
mov eax, dword [esi + 0x170]
add dword [ebp - 0x70], eax
mov eax, dword [esi + 0x174]
add dword [ebp - 0x6c], eax
mov eax, dword [esi + 0x178]
sub dword [ebp - 0x68], eax
mov eax, dword [esi + 0x17c]
mov ecx, dword [esi + 0x104]
lea esi, [ebp - 0x70]
sub dword [ebp - 0x64], eax
push 1
sub esp, 0x10
mov eax, dword [ecx]
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 + 0x64]
mov esi, dword [ebp - 0x1ac]
cmp byte [esi + 0x16d], 0
je 0x51dca9
push 0xffffffffffffffec
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, 0x80000
cmp eax, ecx
je 0x51dc63
push ecx
push 0xffffffffffffffec
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov byte [esi + 0x16b], 1
lea eax, [ebp - 0x20]
add esi, 0x184
push esi
push eax
push eax
call dword [sym.imp.USER32.dll_UnionRect]
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x78]
push 0x10
cmovg eax, dword [ebp - 0x78]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x74]
push 0
cmovg eax, dword [ebp - 0x74]
push esi
mov dword [ebp - 0x14], eax
call fcn.00586790
mov esi, dword [ebp - 0x1ac]
add esp, 0xc
xor edi, edi
cmp byte [esi + 0x16b], 0
je 0x51dcf5
cmp dword [esi + 0xb8], edi
jne 0x51dcf5
push dword [esi + 0xac]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [esi + 0xb0], eax
lea eax, [esi + 0xbc]
push eax
push dword [ebp - 0x1d4]
push dword [ebp - 0x1cc]
push dword [esi + 0xac]
call sym.yuntun.exe_public:_static_struct_HBITMAP______cdecl_DuiLib::CRenderEngine::CreateARGB32Bitmap_struct_HDC_____int__int__unsigned_char___
add esp, 0x10
mov dword [esi + 0xb8], eax
push 0x40
lea eax, [ebp - 0x104]
push edi
push eax
call fcn.00586790
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_BeginPaint]
cmp byte [esi + 0x16b], 0
je 0x51e57d
push dword [esi + 0xb8]
push dword [esi + 0xb0]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esi + 0xb0]
mov dword [ebp - 0x1a0], eax
call dword [sym.imp.GDI32.dll_SaveDC]
cmp byte [esi + 0x16d], 0
mov dword [ebp - 0x1d8], eax
je 0x51ddd5
mov edx, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x74]
sub edx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x1c8], edx
cmp edx, ecx
jge 0x51ddd5
mov eax, edx
imul eax, dword [ebp - 0x1cc]
mov dword [ebp - 0x19c], eax
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [ebp - 0x18]
jge 0x51ddb2
add eax, ecx
shl eax, 2
mov dword [ebp - 0x1b8], eax
mov edx, eax
mov eax, dword [esi + 0xbc]
inc ecx
mov dword [edx + eax], edi
lea edx, [edx + 4]
cmp ecx, dword [ebp - 0x18]
jl 0x51dd94
mov edx, dword [ebp - 0x1c8]
mov eax, dword [ebp - 0x19c]
add eax, dword [ebp - 0x1cc]
inc edx
mov dword [ebp - 0x19c], eax
mov eax, dword [ebp - 0x74]
sub eax, dword [ebp - 0x1c]
cmp edx, eax
mov dword [ebp - 0x1c8], edx
mov eax, dword [ebp - 0x19c]
jl 0x51dd7f
mov ecx, dword [esi + 0x104]
lea edx, [ebp - 0x20]
push edi
push edx
push dword [esi + 0xb0]
mov eax, dword [ecx]
call dword [eax + 0x15c]
cmp byte [esi + 0x16d], 0
je 0x51e05f
lea ecx, [esi + 0x430]
xor edi, edi
call sym.yuntun.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
test eax, eax
jle 0x51e05f
push edi
lea ecx, [esi + 0x430]
call sym.yuntun.exe_public:_void____thiscall_DuiLib::CStdPtrArray::operator___int_const
push eax
mov dword [ebp - 0x19c], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x51de4a
push edi
lea ecx, [esi + 0x430]
call sym.yuntun.exe_public:_bool___thiscall_DuiLib::CStdPtrArray::Remove_int_
lea ecx, [esi + 0x43c]
push edi
call sym.yuntun.exe_public:_bool___thiscall_DuiLib::CStdPtrArray::Remove_int_
jmp 0x51e04c
push dword [ebp - 0x19c]
inc edi
mov dword [ebp - 0x1b0], edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x51e04c
push dword [ebp - 0x19c]
lea eax, [ebp - 0x198]
mov ecx, esi
push eax
call sym.yuntun.exe_public:_struct_tagRECT___thiscall_DuiLib::CPaintManagerUI::GetNativeWindowRect_struct_HWND____
xor eax, eax
lea edi, [ebp - 0x98]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x198]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x51e046
push dword [esi + 0xb0]
and dword [ebp - 0x1c0], 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [ebp - 0x18c]
mov edi, eax
sub ecx, dword [ebp - 0x194]
lea eax, [ebp - 0x1c0]
push eax
push ecx
mov ecx, dword [ebp - 0x190]
sub ecx, dword [ebp - 0x198]
push ecx
push edi
mov dword [ebp - 0x1c8], edi
call sym.yuntun.exe_public:_static_struct_HBITMAP______cdecl_DuiLib::CRenderEngine::CreateARGB32Bitmap_struct_HDC_____int__int__unsigned_char___
mov edx, dword [ebp - 0x18c]
mov ecx, dword [ebp - 0x190]
sub edx, dword [ebp - 0x194]
sub ecx, dword [ebp - 0x198]
imul edx, ecx
mov dword [ebp - 0x1c4], eax
shl edx, 2
push edx
push 0
push dword [ebp - 0x1c0]
call fcn.00586790
add esp, 0x1c
push dword [ebp - 0x1c4]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x35
push edi
push 0x317
push dword [ebp - 0x19c]
mov dword [ebp - 0x1e0], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x18c]
xor edx, edx
mov edi, dword [ebp - 0x198]
mov ecx, eax
sub ecx, dword [ebp - 0x194]
test ecx, ecx
mov dword [ebp - 0x1bc], edx
mov ecx, dword [ebp - 0x190]
mov dword [ebp - 0x19c], eax
jle 0x51dff9
mov esi, eax
mov eax, ecx
mov dword [ebp - 0x19c], edx
sub eax, edi
test eax, eax
jle 0x51dfd1
mov esi, edx
imul eax, dword [ebp - 0x1bc]
add eax, esi
mov esi, dword [ebp - 0x1c0]
mov esi, dword [esi + eax*4]
test esi, esi
je 0x51dfb6
mov ecx, dword [ebp - 0x1c0]
or esi, 0xff000000
mov dword [ecx + eax*4], esi
mov ecx, dword [ebp - 0x190]
mov edi, dword [ebp - 0x198]
mov esi, dword [ebp - 0x19c]
mov eax, ecx
inc esi
sub eax, edi
mov dword [ebp - 0x19c], esi
cmp esi, eax
jl 0x51df85
mov esi, dword [ebp - 0x18c]
inc dword [ebp - 0x1bc]
mov eax, esi
sub eax, dword [ebp - 0x194]
cmp dword [ebp - 0x1bc], eax
jl 0x51df75
mov dword [ebp - 0x19c], esi
mov esi, dword [ebp - 0x1ac]
mov eax, dword [ebp - 0x19c]
push 0xcc0020
push edx
push edx
push dword [ebp - 0x1c8]
mov edx, dword [ebp - 0x194]
sub ecx, edi
sub eax, edx
push eax
push ecx
push edx
push edi
push dword [esi + 0xb0]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x1e0]
mov edi, dword [ebp - 0x1c8]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x1c4]
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edi, dword [ebp - 0x1b0]
lea ecx, [esi + 0x430]
call sym.yuntun.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
cmp edi, eax
jl 0x51de10
lea ecx, [esi + 0x424]
xor edi, edi
call sym.yuntun.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
test eax, eax
jle 0x51e0a6
push edi
lea ecx, [esi + 0x424]
call sym.yuntun.exe_public:_void____thiscall_DuiLib::CStdPtrArray::operator___int_const
test eax, eax
je 0x51e096
mov ecx, dword [eax]
mov edx, dword [ecx + 0x180]
lea ecx, [ebp - 0x20]
push ecx
push dword [esi + 0xb0]
mov ecx, eax
call edx
lea ecx, [esi + 0x424]
inc edi
call sym.yuntun.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
cmp edi, eax
jl 0x51e070
push dword [ebp - 0x1d8]
push dword [esi + 0xb0]
call dword [sym.imp.GDI32.dll_RestoreDC]
cmp byte [esi + 0x16d], 0
je 0x51e4ca
xor eax, eax
lea edi, [ebp - 0x98]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x98]
push eax
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esi + 0x194]
call sym.yuntun.exe_public:_bool___thiscall_DuiLib::CDuiString::IsEmpty_void_const
test al, al
jne 0x51e38c
mov eax, dword [ebp - 0x78]
lea esi, [ebp - 0x80]
sub eax, dword [ebp - 0x80]
lea edi, [ebp - 0x70]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x1c4], eax
mov eax, dword [ebp - 0x74]
sub eax, dword [ebp - 0x7c]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x1c0], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x1ac]
mov eax, dword [esi + 0x170]
lea ecx, [esi + 0x194]
add eax, dword [ebp - 0x80]
mov dword [ebp - 0x70], eax
mov eax, dword [esi + 0x174]
add dword [ebp - 0x6c], eax
mov eax, dword [esi + 0x178]
sub dword [ebp - 0x68], eax
mov eax, dword [esi + 0x17c]
sub dword [ebp - 0x64], eax
call sym.yuntun.exe_public:_bool___thiscall_DuiLib::CDuiString::IsEmpty_void_const
test al, al
jne 0x51e437
xor eax, eax
cmp dword [esi + 0xc0], eax
jne 0x51e1d4
push dword [esi + 0xac]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, dword [ebp - 0x1ac]
mov dword [esi + 0xb4], eax
add esi, 0xc4
push esi
push dword [ebp - 0x1c0]
push dword [ebp - 0x1c4]
push dword [edi + 0xac]
call sym.yuntun.exe_public:_static_struct_HBITMAP______cdecl_DuiLib::CRenderEngine::CreateARGB32Bitmap_struct_HDC_____int__int__unsigned_char___
mov dword [edi + 0xc0], eax
mov eax, dword [ebp - 0x1c0]
imul eax, dword [ebp - 0x1c4]
shl eax, 2
push eax
push 0
push dword [esi]
call fcn.00586790
add esp, 0x1c
push dword [edi + 0xc0]
push dword [edi + 0xb4]
call dword [sym.imp.GDI32.dll_SelectObject]
and dword [ebp - 4], 0
jmp 0x51e203
cmp byte [esi + 0x180], al
je 0x51e24d
mov ecx, dword [ebp - 0x1c0]
imul ecx, dword [ebp - 0x1c4]
shl ecx, 2
push ecx
push eax
push dword [esi + 0xc4]
call fcn.00586790
add esp, 0xc
mov dword [ebp - 4], 1
lea eax, [ebp - 0x3c]
push eax
sub esp, 0x10
lea esi, [ebp - 0x70]
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]
mov esi, dword [ebp - 0x1ac]
push dword [esi + 0xb4]
call sym.yuntun.exe_public:_static_void___cdecl_DuiLib::CRenderClip::GenerateClip_struct_HDC_____struct_tagRECT__class_DuiLib::CRenderClip__
push 0
lea eax, [esi + 0x194]
push eax
lea eax, [ebp - 0x70]
push eax
push eax
push esi
push dword [esi + 0xb4]
call sym.yuntun.exe_public:_static_bool___cdecl_DuiLib::CRenderEngine::DrawImageInfo_struct_HDC_____class_DuiLib::CPaintManagerUI___struct_tagRECT_const___struct_tagRECT_const___struct_DuiLib::tagTDrawInfo_const___struct_HINSTANCE____
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
add esp, 0x30
call sym.yuntun.exe_public:_void___thiscall_DuiLib::CRenderClip::destructor_void_
mov edx, dword [ebp - 0x74]
mov ecx, edx
sub ecx, dword [ebp - 0x14]
mov eax, edx
sub eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1b8], ecx
cmp ecx, eax
jge 0x51e437
mov eax, dword [ebp - 0x1c4]
mov edi, ecx
imul edi, eax
mov dword [ebp - 0x1bc], 0xff
mov dword [ebp - 0x1c0], edi
mov esi, dword [ebp - 0x20]
cmp esi, dword [ebp - 0x18]
mov dword [ebp - 0x1b0], esi
mov esi, dword [ebp - 0x1ac]
jge 0x51e35f
mov eax, dword [ebp - 0x1b0]
lea ecx, [edi + eax]
mov eax, dword [esi + 0xc4]
movzx edx, byte [eax + ecx*4 + 3]
mov eax, dword [ebp - 0x1b0]
add eax, edi
mov dword [ebp - 0x1c8], edx
mov edi, dword [esi + 0xbc]
mov ecx, dword [eax + edi]
mov eax, ecx
shr eax, 0x10
movzx eax, al
imul eax, edx
xor edx, edx
shr ecx, 8
div dword [ebp - 0x1bc]
xor edx, edx
movzx esi, al
movzx eax, cl
imul eax, dword [ebp - 0x1c8]
mov ecx, dword [ebp - 0x1c0]
add ecx, dword [ebp - 0x1b0]
shl esi, 8
div dword [ebp - 0x1bc]
xor edx, edx
movzx eax, al
or esi, eax
movzx eax, byte [ecx + edi]
imul eax, dword [ebp - 0x1c8]
shl esi, 8
div dword [ebp - 0x1bc]
movzx eax, al
or esi, eax
mov eax, dword [ebp - 0x1c8]
shl eax, 0x18
add esi, eax
mov eax, dword [ebp - 0x1b0]
mov dword [ecx + edi], esi
inc eax
mov esi, dword [ebp - 0x1ac]
mov edi, dword [ebp - 0x1c0]
mov dword [ebp - 0x1b0], eax
cmp eax, dword [ebp - 0x18]
jl 0x51e2a1
mov edx, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x1b8]
mov eax, dword [ebp - 0x1c4]
add edi, eax
inc ecx
mov eax, edx
mov dword [ebp - 0x1b8], ecx
sub eax, dword [ebp - 0x1c]
cmp ecx, eax
mov dword [ebp - 0x1c0], edi
mov eax, dword [ebp - 0x1c4]
jl 0x51e283
mov esi, dword [ebp - 0x1ac]
jmp 0x51e437
mov edx, dword [ebp - 0x74]
mov ecx, edx
sub ecx, dword [ebp - 0x14]
mov eax, edx
sub eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1b8], ecx
cmp ecx, eax
jge 0x51e437
mov eax, ecx
mov dword [ebp - 0x1bc], 0xff
imul eax, dword [ebp - 0x1cc]
mov dword [ebp - 0x1c8], eax
mov edi, dword [ebp - 0x20]
cmp edi, dword [ebp - 0x18]
jge 0x51e415
mov ecx, dword [ebp - 0x18]
add eax, edi
shl eax, 2
mov edx, dword [esi + 0xbc]
cmp byte [eax + edx + 3], 0
jne 0x51e3fe
cmp byte [eax + edx], 0
jne 0x51e3f1
cmp byte [eax + edx + 1], 0
jne 0x51e3f1
cmp byte [eax + edx + 2], 0
je 0x51e3fe
mov ecx, dword [ebp - 0x1bc]
mov byte [eax + edx + 3], cl
mov ecx, dword [ebp - 0x18]
inc edi
add eax, 4
cmp edi, ecx
jl 0x51e3d0
mov edx, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x1b8]
mov eax, dword [ebp - 0x1c8]
add eax, dword [ebp - 0x1cc]
inc ecx
mov dword [ebp - 0x1c8], eax
mov eax, edx
sub eax, dword [ebp - 0x1c]
cmp ecx, eax
mov dword [ebp - 0x1b8], ecx
mov eax, dword [ebp - 0x1c8]
jl 0x51e3c0
mov al, byte [esi + 0x16c]
xor ecx, ecx
mov byte [ebp - 0x19a], al
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp - 0x1cc]
push 2
mov dword [ebp - 0x1e4], eax
mov eax, dword [ebp - 0x1d4]
mov dword [ebp - 0x1e0], eax
pop eax
push eax
lea eax, [ebp - 0x19c]
mov word [ebp - 0x19c], cx
push eax
push ecx
lea eax, [ebp - 0x1dc]
mov byte [ebp - 0x199], 1
push eax
push dword [esi + 0xb0]
lea eax, [ebp - 0x1e4]
mov dword [ebp - 0x1dc], ecx
push eax
lea eax, [ebp - 0x190]
mov dword [ebp - 0x1d8], ecx
push eax
push dword [esi + 0xac]
push dword [esi + 0xa8]
call dword [0x6504c0]
jmp 0x51e4fb
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
push 0xcc0020
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [esi + 0xb0]
push eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [esi + 0xac]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x1a0]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [esi + 0xb0]
call edi
cmp byte [esi + 0x101], 0
je 0x51e5fc
cmp byte [esi + 0x16d], 0
jne 0x51e5fc
push dword [0x6504c4]
push dword [esi + 0xac]
call edi
push 5
mov esi, eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov edi, dword [ebp - 0x1ac]
push eax
push dword [edi + 0xac]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [edi + 0xac]
call dword [sym.imp.GDI32.dll_Rectangle]
push esi
mov esi, edi
push dword [esi + 0xac]
call dword [sym.imp.GDI32.dll_SelectObject]
jmp 0x51e5fc
push dword [esi + 0xac]
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [esi + 0x104]
mov dword [ebp - 0x1a0], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov edx, dword [ecx]
push dword [esi + 0xac]
call dword [edx + 0x15c]
lea ecx, [esi + 0x424]
xor edi, edi
call sym.yuntun.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
test eax, eax
jle 0x51e5ea
push edi
lea ecx, [esi + 0x424]
call sym.yuntun.exe_public:_void____thiscall_DuiLib::CStdPtrArray::operator___int_const
lea ecx, [ebp - 0x20]
push ecx
push dword [esi + 0xac]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x180]
lea ecx, [esi + 0x424]
inc edi
call sym.yuntun.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
cmp edi, eax
jl 0x51e5ba
push dword [ebp - 0x1a0]
push dword [esi + 0xac]
call dword [sym.imp.GDI32.dll_RestoreDC]
lea eax, [ebp - 0x104]
push eax
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_EndPaint]
push 0
mov ecx, esi
call sym.yuntun.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SetPainting_bool_
xor eax, eax
mov byte [esi + 0x180], al
cmp byte [esi + 0x169], al
je 0x51e631
mov ecx, esi
call sym.yuntun.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::Invalidate_void_
xor eax, eax
cmp byte [ebp - 0x1a5], 0
je 0x51d63d
push 1
push eax
push eax
push str.windowsize
push dword [esi + 0x104]
mov ecx, esi
call sym.yuntun.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
jmp 0x51d63d
mov ecx, esi
call sym.yuntun.exe_public:_bool___thiscall_DuiLib::CPaintManagerUI::IsCaptured_void_
test al, al
je 0x51fd7e
mov ecx, esi
call sym.yuntun.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::ReleaseCapture_void_
jmp 0x51fd7e
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x51fd7e
mov eax, dword [ebp - 0x1cc]
xorps xmm0, xmm0
movlpd qword [ebp - 0xb4], xmm0
movlpd qword [ebp - 0xac], xmm0
mov dword [ebp - 0xbc], 0x18
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], edi
mov dword [ebp - 0xb8], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x108]
lea edx, [ebp - 0xbc]
mov dword [ebp - 0xb4], eax
jmp 0x51fd75
mov eax, dword [esi + 0x108]
test eax, eax
je 0x51e715
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0x19
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x30], xmm0
movlpd qword [ebp - 0x28], xmm0
mov dword [ebp - 0x3c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x108]
lea edx, [ebp - 0x40]
mov dword [ebp - 0x38], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x14c]
mov ecx, dword [esi + 0x104]
test ecx, ecx
je 0x51d63d
call sym.yuntun.exe_public:_void___thiscall_DuiLib::CControlUI::NeedUpdate_void_
jmp 0x51d63d
push 0xa
pop ecx
xor eax, eax
lea edi, [ebp - 0xc4]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0xc4]
mov dword [ebp - 0xc4], 0x28
push eax
push 1
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_MonitorFromWindow]
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
cmp dword [ebp - 0xa0], 1
lea esi, [ebp - 0xb0]
lea edi, [ebp - 0x98]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
je 0x51e798
mov eax, dword [ebp - 0xac]
neg eax
push eax
mov eax, dword [ebp - 0xb0]
neg eax
push eax
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [ebp - 0x1ac]
mov ecx, dword [ebp - 0x1b0]
mov edx, dword [eax + 0x124]
test edx, edx
jle 0x51e7b1
mov dword [ecx + 0x18], edx
mov edx, dword [eax + 0x128]
test edx, edx
jle 0x51e7be
mov dword [ecx + 0x1c], edx
mov edx, dword [eax + 0x12c]
test edx, edx
jle 0x51e7cb
mov dword [ecx + 0x20], edx
mov edx, dword [eax + 0x130]
test edx, edx
jle 0x51e7d8
mov dword [ecx + 0x24], edx
mov edx, dword [eax + 0x12c]
test edx, edx
jle 0x51e7e5
mov dword [ecx + 8], edx
mov eax, dword [eax + 0x130]
test eax, eax
jle 0x51fd7e
mov dword [ecx + 0xc], eax
jmp 0x51fd7e
mov eax, dword [ebp + 8]
push 2
pop edx
sub eax, 0x4e
je 0x51eb6d
sub eax, 0x2d
je 0x51eaa3
sub eax, 0x85
je 0x51ea1f
sub eax, 1
je 0x51e9a0
sub eax, 1
je 0x51e937
sub eax, 0xf
je 0x51e901
sub eax, edx
jne 0x51fd7e
lea edi, [esi + 0x3f4]
mov ecx, edi
call sym.yuntun.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
test eax, eax
jle 0x51fd7e
push dword [ebp - 0x19c]
mov ecx, edi
call sym.yuntun.exe_public:_void____thiscall_DuiLib::CStdPtrArray::operator___int_const
mov edi, eax
mov ecx, dword [edi + 8]
cmp ecx, dword [esi + 0xa8]
jne 0x51e884
mov eax, dword [ebp - 0x1cc]
movzx ecx, ax
cmp dword [edi + 0xc], ecx
jne 0x51e884
cmp byte [edi + 0x10], 0
je 0x51e8a9
inc dword [ebp - 0x19c]
lea ecx, [esi + 0x3f4]
call sym.yuntun.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
cmp dword [ebp - 0x19c], eax
jge 0x51fd7e
lea edi, [esi + 0x3f4]
jmp 0x51e856
mov eax, dword [edi]
xorps xmm0, xmm0
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x30], xmm0
movlpd qword [ebp - 0x28], xmm0
mov dword [ebp - 0x40], 0x1b
mov dword [ebp - 0x3c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 0x11c]
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0x120]
mov dword [ebp - 0x30], eax
call fcn.0051d476
mov ecx, dword [edi]
mov word [ebp - 0x2a], ax
mov eax, dword [edi + 4]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x24], eax
jmp 0x51fd72
mov eax, dword [ebp - 0x1b0]
test eax, eax
je 0x51fd7e
push eax
push dword [ebp - 0x1cc]
push 0x2111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x1c4]
mov dword [ecx], eax
test eax, eax
je 0x51fd7e
jmp 0x51d63d
xor eax, eax
cmp dword [esi + 0x104], eax
je 0x51fd7e
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x51fd7e
mov dword [ebp - 0x38], eax
mov word [ebp - 0x2a], ax
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0x28], eax
mov word [ebp - 0x2c], ax
mov eax, dword [esi + 0x11c]
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0x120]
mov dword [ebp - 0x40], 5
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x30], eax
call fcn.0051d476
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x108]
jmp 0x51fd6f
xor eax, eax
cmp dword [esi + 0x104], eax
je 0x51fd7e
mov ecx, dword [esi + 0x114]
test ecx, ecx
je 0x51fd7e
mov dword [ebp - 0x38], eax
mov word [ebp - 0x2a], ax
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0x28], eax
mov word [ebp - 0x2c], ax
mov eax, dword [esi + 0x11c]
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0x120]
mov dword [ebp - 0x40], 4
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x30], eax
call fcn.0051d476
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x114]
lea edx, [ebp - 0x40]
mov dword [ebp - 0x38], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x14c]
and dword [esi + 0x114], 0
jmp 0x51fd7e
xor eax, eax
cmp dword [esi + 0x104], eax
je 0x51fd7e
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x51fd7e
mov dword [ebp - 0x38], eax
mov word [ebp - 0x2a], ax
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0x28], eax
mov word [ebp - 0x2c], ax
mov eax, dword [esi + 0x11c]
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0x120]
mov dword [ebp - 0x40], 3
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x30], eax
call fcn.0051d476
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x108]
lea edx, [ebp - 0x40]
mov dword [ebp - 0x38], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x14c]
mov eax, dword [esi + 0x108]
mov dword [esi + 0x114], eax
jmp 0x51fd7e
cmp dword [esi + 0x104], 0
je 0x51fd7e
mov ecx, dword [ebp - 0x1b0]
movsx eax, cx
mov dword [ebp - 0x1a4], eax
shr ecx, 0x10
movsx eax, cx
mov dword [ebp - 0x1a0], eax
lea eax, [ebp - 0x1a4]
push eax
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [esi + 0x110], 0
mov eax, dword [ebp - 0x1a4]
mov dword [esi + 0x11c], eax
mov eax, dword [ebp - 0x1a0]
mov dword [esi + 0x120], eax
je 0x51fd7e
mov ecx, esi
call sym.yuntun.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::ReleaseCapture_void_
mov ecx, dword [esi + 0x110]
xor eax, eax
mov edx, dword [ebp - 0x1cc]
and dword [ebp - 0x38], 0
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x1a4]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x40], 0x14
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x30], eax
mov word [ebp - 0x2a], dx
mov dword [ebp - 0x24], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x110]
lea edx, [ebp - 0x40]
mov dword [ebp - 0x38], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x14c]
and dword [esi + 0x110], 0
jmp 0x51fd7e
mov eax, dword [ebp - 0x1b0]
test eax, eax
je 0x51fd7e
push eax
push dword [ebp - 0x1cc]
push 0x204e
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x51d5c8
mov ecx, 0x207
cmp eax, ecx
ja 0x51f644
je 0x51f5cb
mov ecx, eax
sub ecx, 0x138
je 0x51f5a9
sub ecx, 0xc8
je 0x51ef71
sub ecx, 1
je 0x51ee19
sub ecx, 1
je 0x51ed92
sub ecx, 1
je 0x51ecd1
sub ecx, 1
je 0x51ec33
sub ecx, 1
jne 0x51fd7e
mov eax, dword [ebp - 0x1b0]
mov ecx, esi
movsx edi, ax
shr eax, 0x10
cwde
push eax
push edi
mov dword [ebp - 0x1a0], eax
mov dword [esi + 0x11c], edi
mov dword [esi + 0x120], eax
call sym.yuntun.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_struct_tagPOINT_const
mov dword [esi + 0x110], eax
test eax, eax
je 0x51fd7e
mov ecx, esi
call sym.yuntun.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::ReleaseCapture_void_
mov dword [ebp - 0x40], 0x10
jmp 0x51fd2e
cmp byte [esi + 0x100], 0
jne 0x51ec48
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x1b0]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x1a0], ecx
mov dword [esi + 0x11c], ecx
push ecx
mov ecx, esi
mov dword [ebp - 0x1d8], eax
mov dword [esi + 0x120], eax
call sym.yuntun.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_struct_tagPOINT_const
mov edi, eax
test edi, edi
je 0x51fd7e
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x1c]
cmp eax, esi
jne 0x51fd7e
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x134]
mov ecx, esi
call sym.yuntun.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SetCapture_void_
mov dword [ebp - 0x40], 0xf
and dword [ebp - 0x38], 0
xor eax, eax
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x1d8]
mov dword [ebp - 0x30], eax
jmp 0x51ed60
cmp byte [esi + 0x100], 0
jne 0x51ece6
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x1b0]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x1a0], ecx
mov dword [esi + 0x11c], ecx
push ecx
mov ecx, esi
mov dword [ebp - 0x1d8], eax
mov dword [esi + 0x120], eax
call sym.yuntun.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_struct_tagPOINT_const
mov edi, eax
test edi, edi
je 0x51fd7e
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x1c]
cmp eax, esi
jne 0x51fd7e
mov ecx, esi
call sym.yuntun.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SetCapture_void_
and dword [ebp - 0x38], 0
xor eax, eax
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x1d8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x40], 0x13
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x1cc]
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x28], ecx
mov word [ebp - 0x2a], cx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x40]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x14c]
mov dword [esi + 0x110], edi
jmp 0x51fd7e
mov eax, dword [ebp - 0x1b0]
movsx edi, ax
shr eax, 0x10
cmp dword [esi + 0x110], 0
cwde
mov dword [ebp - 0x1a0], eax
mov dword [esi + 0x11c], edi
mov dword [esi + 0x120], eax
je 0x51fd7e
mov ecx, esi
call sym.yuntun.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::ReleaseCapture_void_
mov ecx, dword [ebp - 0x1cc]
xor eax, eax
and dword [ebp - 0x38], 0
mov word [ebp - 0x2c], ax
mov eax, dword [esi + 0x110]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x40], 0xe
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], eax
mov word [ebp - 0x2a], cx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x110]
and dword [esi + 0x110], 0
jmp 0x51fd6f
cmp byte [esi + 0x100], 0
jne 0x51ee2e
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [esi + 0x104], 0
je 0x51fd7e
mov eax, dword [ebp - 0x1b0]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x1d8], ecx
mov dword [esi + 0x11c], ecx
push ecx
mov ecx, esi
mov dword [ebp - 0x1e0], eax
mov dword [esi + 0x120], eax
call sym.yuntun.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_struct_tagPOINT_const
mov edi, eax
mov dword [ebp - 0x1a0], edi
test edi, edi
je 0x51fd7e
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x1c]
cmp eax, esi
jne 0x51fd7e
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x38]
test al, al
je 0x51ef08
push 0
push edi
push 0x7eb
push dword [esi + 0xa8]
mov byte [esi + 0x69c], 1
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0x6a0]
test eax, eax
je 0x51eec6
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
and dword [esi + 0x6a0], 0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x50]
mov dword [esi + 0x6a0], eax
test eax, eax
jne 0x51ef08
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x60]
xor edi, edi
mov esi, eax
push edi
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]
mov edi, dword [ebp - 0x1a0]
mov esi, dword [ebp - 0x1ac]
push edi
push esi
call sym.yuntun.exe_public:_static_struct_HBITMAP______cdecl_DuiLib::CRenderEngine::GenerateBitmap_class_DuiLib::CPaintManagerUI___class_DuiLib::CControlUI___struct_tagRECT__unsigned_long_int_
add esp, 0x1c
mov dword [esi + 0x6a0], eax
mov ecx, esi
call sym.yuntun.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SetCapture_void_
mov dword [esi + 0x110], edi
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x134]
mov ecx, dword [ebp - 0x1cc]
xor eax, eax
and dword [ebp - 0x38], 0
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1d8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x1e0]
mov dword [ebp - 0x40], 0xd
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x30], eax
mov word [ebp - 0x2a], cx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x38], eax
mov eax, dword [edi]
lea ecx, [ebp - 0x40]
push ecx
mov ecx, edi
jmp 0x51fd78
cmp byte [esi + 0x3e0], 0
push 3
pop ecx
jne 0x51efc5
mov eax, dword [esi + 0xa8]
mov dword [ebp - 0x68], eax
mov eax, dword [esi + 0xc8]
mov dword [ebp - 0x70], 0x10
mov dword [ebp - 0x6c], ecx
test eax, eax
jne 0x51efa2
mov eax, dword [esi + 0xfc]
jmp 0x51efb1
push 0
push ecx
push 0x415
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
mov byte [esi + 0x3e0], 1
mov eax, dword [ebp - 0x1b0]
xor edx, edx
movsx ecx, ax
inc edx
shr eax, 0x10
cwde
mov dword [ebp - 0x1c0], ecx
mov dword [ebp - 0x19c], eax
mov dword [ebp - 0x1b8], edx
cmp dword [esi + 0x11c], ecx
jne 0x51f003
xor edi, edi
movzx edx, dl
cmp dword [esi + 0x120], eax
cmove edx, edi
mov dword [ebp - 0x1b8], edx
push eax
mov dword [esi + 0x11c], ecx
push ecx
mov ecx, esi
mov dword [esi + 0x120], eax
call sym.yuntun.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_struct_tagPOINT_const
mov edi, eax
test edi, edi
je 0x51f02d
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x1c]
cmp eax, esi
jne 0x51fd7e
xor ecx, ecx
inc ecx
mov dword [ebp - 0x1d4], ecx
test edi, edi
je 0x51f08c
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x24]
mov dword [ebp - 0x1a0], eax
test eax, eax
je 0x51f086
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x48]
test al, al
je 0x51f086
mov ecx, dword [ebp - 0x1a0]
push dword [ebp - 0x19c]
push dword [ebp - 0x1c0]
mov eax, dword [ecx]
call dword [eax + 0x60]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
mov ecx, dword [ebp - 0x1d4]
xor edx, edx
test eax, eax
movzx ecx, cl
cmovne ecx, edx
jmp 0x51f08c
mov ecx, dword [ebp - 0x1d4]
cmp byte [ebp - 0x1b8], 0
mov edx, dword [ebp - 0x1cc]
je 0x51f3e3
cmp byte [esi + 0x69c], 0
je 0x51f3e3
cmp edx, 1
jne 0x51f3e3
test cl, cl
je 0x51f3e3
call dword [sym.imp.USER32.dll_ReleaseCapture]
push 0x10
call fcn.0056e9a6
mov edi, eax
mov dword [ebp - 0x1c8], eax
pop ecx
test edi, edi
je 0x51f0e7
xor eax, eax
mov dword [edi], vtable.DuiLib::CIDropSource.0
mov dword [edi + 4], eax
mov byte [edi + 0xc], al
jmp 0x51f0ef
xor edi, edi
mov dword [ebp - 0x1c8], edi
test edi, edi
je 0x51fd7e
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov eax, dword [edi]
push 0x7f00
push 0
mov esi, dword [eax + 0x14]
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
mov ecx, edi
call esi
push 0x24
call fcn.0056e9a6
pop ecx
mov dword [ebp - 0x1a0], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x51f13f
push edi
mov ecx, eax
call sym.yuntun.exe_public:_void___thiscall_DuiLib::CIDataObject::constructor_class_DuiLib::CIDropSource__
mov ecx, eax
mov dword [ebp - 0x1bc], eax
jmp 0x51f147
xor ecx, ecx
mov dword [ebp - 0x1bc], ecx
or dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x51fd7e
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov edi, dword [ebp - 0x1ac]
xor ecx, ecx
or dword [ebp - 0x90], 0xffffffff
xor eax, eax
push 2
pop edx
push 0x10
mov word [ebp - 0x96], cx
xorps xmm0, xmm0
pop ecx
push eax
push edx
push dword [edi + 0x6a0]
mov dword [ebp - 0x9a], eax
movlpd qword [ebp - 0x18], xmm0
mov dword [ebp - 0x94], 1
mov word [ebp - 0x9c], dx
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x1c], ecx
call dword [sym.imp.ole32.dll_OleDuplicateData]
mov esi, eax
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 0x1bc]
push 0
push edx
mov dword [ebp - 0x18], esi
lea edx, [ebp - 0x9c]
mov ecx, dword [eax]
push edx
push eax
mov dword [ebp - 0x1e0], esi
call dword [ecx + 0x1c]
lea eax, [ebp - 0x88]
push eax
push 0x18
push esi
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [ebp - 0x84]
xor ecx, ecx
push 0xe
mov dword [ebp - 0x1d8], eax
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x1a0], eax
mov dword [ebp - 0x64], eax
pop eax
push ecx
push ecx
push ecx
push dword [edi + 0xac]
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x6c], ecx
mov word [ebp - 0x9c], ax
mov dword [ebp - 0x8c], 0x40
call dword [sym.imp.GDI32.dll_CreateEnhMetaFileW]
push dword [edi + 0xac]
mov dword [ebp - 0x1d4], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push esi
push eax
mov dword [ebp - 0x1b8], eax
call edi
push 0xcc0020
mov esi, eax
xor eax, eax
push eax
push eax
push dword [ebp - 0x1b8]
push dword [ebp - 0x1a0]
push dword [ebp - 0x1d8]
push eax
push eax
push dword [ebp - 0x1d4]
call dword [sym.imp.GDI32.dll_BitBlt]
push esi
mov esi, dword [ebp - 0x1b8]
push esi
call edi
push dword [ebp - 0x1d4]
call dword [sym.imp.GDI32.dll_CloseEnhMetaFile]
push esi
mov dword [ebp - 0x18], eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov esi, dword [ebp - 0x1bc]
lea ecx, [ebp - 0x1c]
push 1
push ecx
mov dword [ebp - 0x1c], 0x40
lea ecx, [ebp - 0x9c]
mov eax, dword [esi]
push ecx
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x1b4]
call sym.yuntun.exe_public:_void___thiscall_DuiLib::CDragSourceHelper::constructor_void_
mov eax, dword [ebp - 0x84]
cdq
sub eax, edx
mov dword [ebp - 4], 4
sar eax, 1
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x80]
cdq
sub eax, edx
sar eax, 1
push 5
mov dword [ebp - 0x18c], eax
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push esi
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x190]
push eax
push dword [ebp - 0x1e0]
lea ecx, [ebp - 0x1b4]
call sym.yuntun.exe_public:_long_int___thiscall_DuiLib::CDragSourceHelper::InitializeFromBitmap_struct_HBITMAP_____struct_tagPOINT___struct_tagRECT___struct_IDataObject___unsigned_long_int_
mov eax, dword [ebp - 0x19c]
mov esi, dword [ebp - 0x1ac]
movzx ecx, ax
mov eax, dword [ebp - 0x1c0]
shl ecx, 0x10
movzx eax, ax
or ecx, eax
push ecx
push dword [esi + 0x110]
push 0x7e9
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [ebp - 0x1c8]
lea eax, [ebp - 0x1c4]
push eax
push 3
push edi
push dword [ebp - 0x1bc]
call dword [sym.imp.ole32.dll_DoDragDrop]
cmp dword [ebp - 0x1c4], 0
je 0x51f36a
mov eax, dword [edi]
push edi
call dword [eax + 8]
jmp 0x51f374
push 0x10
push edi
call fcn.0056e998
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1bc]
push ecx
mov eax, dword [ecx]
call dword [eax + 8]
lea eax, [ebp - 0x1d0]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x1d0], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
push eax
push eax
push 0x202
push dword [esi + 0x20]
call edi
movzx ecx, word [ebp - 0x1cc]
movzx eax, word [ebp - 0x1d0]
shl ecx, 0x10
or ecx, eax
push ecx
push 0x1d
push 0x7ea
push dword [esi + 0x20]
call edi
lea ecx, [ebp - 0x1b4]
mov byte [esi + 0x69c], 0
call sym.yuntun.exe_public_virtual:_void___thiscall_DuiLib::CDragSourceHelper::destructor_void_
jmp 0x51fd7e
xor eax, eax
mov dword [ebp - 0x28], edx
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x19c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x38], eax
call fcn.0051d476
mov ecx, esi
mov word [ebp - 0x2a], ax
call sym.yuntun.exe_public:_bool___thiscall_DuiLib::CPaintManagerUI::IsCaptured_void_
test al, al
jne 0x51f579
push dword [ebp - 0x19c]
mov ecx, esi
push dword [ebp - 0x1c0]
call sym.yuntun.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_struct_tagPOINT_const
mov edi, eax
mov dword [ebp - 0x1a0], edi
test edi, edi
je 0x51f456
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x1c]
cmp eax, esi
jne 0x51fd7e
mov eax, dword [esi + 0x10c]
cmp edi, eax
je 0x51f54f
test eax, eax
je 0x51f54f
add esi, 0x478
mov dword [ebp - 0x40], 0xa
mov ecx, esi
mov dword [ebp - 0x3c], eax
call sym.yuntun.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
push eax
lea ecx, [ebp - 0x1c]
call sym.yuntun.exe_public:_void___thiscall_DuiLib::CStdPtrArray::constructor_int_
mov ecx, esi
mov dword [ebp - 4], 5
call sym.yuntun.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
push eax
lea ecx, [ebp - 0x1c]
call sym.yuntun.exe_public:_void___thiscall_DuiLib::CStdPtrArray::Resize_int_
mov ecx, esi
call sym.yuntun.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
mov edi, eax
mov ecx, esi
shl edi, 2
call sym.yuntun.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
lea ecx, [ebp - 0x1c]
mov esi, eax
call sym.yuntun.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push edi
push esi
push eax
call fcn.005868f0
add esp, 0xc
lea ecx, [ebp - 0x1c]
xor esi, esi
call sym.yuntun.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
test eax, eax
jle 0x51f4ff
push esi
lea ecx, [ebp - 0x1c]
call sym.yuntun.exe_public:_void____thiscall_DuiLib::CStdPtrArray::operator___int_const
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14c]
lea ecx, [ebp - 0x40]
push ecx
mov ecx, eax
call edx
lea ecx, [ebp - 0x1c]
inc esi
call sym.yuntun.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
cmp esi, eax
jl 0x51f4d9
mov esi, dword [ebp - 0x1ac]
lea edx, [ebp - 0x40]
push edx
mov ecx, dword [esi + 0x10c]
mov eax, dword [ecx]
call dword [eax + 0x14c]
mov edx, dword [esi + 0xc8]
xor ecx, ecx
mov dword [esi + 0x10c], ecx
test edx, edx
je 0x51f53d
lea eax, [esi + 0xcc]
push eax
push ecx
push 0x411
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call sym.yuntun.exe_public:_void___thiscall_DuiLib::CStdPtrArray::destructor_void_
mov edi, dword [ebp - 0x1a0]
cmp edi, dword [esi + 0x10c]
je 0x51f579
test edi, edi
je 0x51f579
mov dword [ebp - 0x40], 0xb
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x3c], edi
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x14c]
mov dword [esi + 0x10c], edi
mov ecx, dword [esi + 0x110]
test ecx, ecx
je 0x51f592
mov dword [ebp - 0x40], 9
mov dword [ebp - 0x3c], ecx
jmp 0x51fd72
test edi, edi
je 0x51fd7e
mov dword [ebp - 0x40], 9
mov dword [ebp - 0x3c], edi
jmp 0x51ef64
mov ecx, dword [ebp - 0x1b0]
test ecx, ecx
je 0x51fd7e
mov edx, dword [ebp - 0x1cc]
add eax, 0x2000
push ecx
push edx
push eax
push ecx
jmp 0x51e91c
cmp byte [esi + 0x100], 0
jne 0x51f5e0
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x1b0]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x1a0], ecx
mov dword [esi + 0x11c], ecx
push ecx
mov ecx, esi
mov dword [ebp - 0x1d8], eax
mov dword [esi + 0x120], eax
call sym.yuntun.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_struct_tagPOINT_const
mov edi, eax
test edi, edi
je 0x51fd7e
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x1c]
cmp eax, esi
jne 0x51fd7e
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x134]
mov ecx, esi
call sym.yuntun.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SetCapture_void_
mov dword [ebp - 0x40], 0x11
jmp 0x51eca7
sub eax, 0x208
je 0x51fcee
sub eax, edx
je 0x51fbee
sub eax, 0x97
je 0x51f9e5
sub eax, edx
je 0x51f89e
sub eax, 0x75
je 0x51f794
sub eax, 0x7ce9
jne 0x51fd7e
lea eax, [esi + 0x448]
xor edi, edi
mov ecx, eax
mov dword [ebp - 0x1a0], eax
call sym.yuntun.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
test eax, eax
jle 0x51f6c3
mov esi, dword [ebp - 0x1a0]
push edi
mov ecx, esi
call sym.yuntun.exe_public:_void____thiscall_DuiLib::CStdPtrArray::operator___int_const
test eax, eax
je 0x51f6b1
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov ecx, esi
inc edi
call sym.yuntun.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
cmp edi, eax
jl 0x51f69d
mov esi, dword [ebp - 0x1ac]
lea ecx, [esi + 0x448]
call sym.yuntun.exe_public:_void___thiscall_DuiLib::CStdPtrArray::Empty_void_
xor eax, eax
lea ecx, [esi + 0x454]
push eax
mov byte [esi + 0x3e4], al
mov dword [ebp - 0x1b8], ecx
call sym.yuntun.exe_public:_void____thiscall_DuiLib::CStdPtrArray::GetAt_int_const
mov edi, eax
test edi, edi
je 0x51fd7e
lea eax, [esi + 0x3e8]
mov dword [ebp - 0x1d4], eax
mov ecx, dword [ebp - 0x1b8]
push 0
call sym.yuntun.exe_public:_bool___thiscall_DuiLib::CStdPtrArray::Remove_int_
mov ecx, dword [edi + 0x108]
test ecx, ecx
je 0x51f730
add ecx, 0x38
call sym.yuntun.exe_public:_bool___thiscall_DuiLib::CEventSource::operator_bool_void_
test al, al
je 0x51f730
mov ecx, dword [edi + 0x108]
push edi
add ecx, 0x38
call sym.yuntun.exe_public:_bool___thiscall_DuiLib::CEventSource::operator___void__
mov ecx, dword [ebp - 0x1d4]
xor esi, esi
call sym.yuntun.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
test eax, eax
jle 0x51f764
mov ecx, dword [ebp - 0x1d4]
push esi
call sym.yuntun.exe_public:_void____thiscall_DuiLib::CStdPtrArray::operator___int_const
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, dword [ebp - 0x1d4]
inc esi
call sym.yuntun.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
cmp esi, eax
jl 0x51f741
mov ecx, edi
call fcn.00430e05
push 0x120
push edi
call fcn.0056e998
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1b8]
push 0
call sym.yuntun.exe_public:_void____thiscall_DuiLib::CStdPtrArray::GetAt_int_const
mov edi, eax
test edi, edi
jne 0x51f6fe
jmp 0x51fd7e
cmp dword [esi + 0x104], 0
je 0x51fd7e
lea eax, [ebp - 0x98]
push eax
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_GetClientRect]
mov edi, dword [ebp - 0x1cc]
push edi
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [esi + 0x104]
mov dword [ebp - 0x1a0], eax
lea eax, [ebp - 0x98]
push 0
push eax
mov edx, dword [ecx]
push edi
call dword [edx + 0x15c]
test byte [ebp - 0x1b0], 0x10
je 0x51f88c
push 5
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_GetWindow]
mov ecx, eax
mov dword [ebp - 0x1d4], ecx
test ecx, ecx
je 0x51f88c
push 2
pop eax
or dword [ebp - 0x1b0], eax
xor eax, eax
lea edi, [ebp - 0x70]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x70]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
pop eax
push eax
lea eax, [ebp - 0x70]
push eax
push dword [esi + 0xa8]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x6c]
mov edi, dword [ebp - 0x1cc]
neg eax
push 0
push eax
mov eax, dword [ebp - 0x70]
neg eax
push eax
push edi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
push dword [ebp - 0x1b0]
push edi
push 0x317
push dword [ebp - 0x1d4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 2
pop eax
push eax
push dword [ebp - 0x1d4]
call dword [sym.imp.USER32.dll_GetWindow]
mov ecx, eax
mov dword [ebp - 0x1d4], eax
test ecx, ecx
jne 0x51f813
push dword [ebp - 0x1a0]
push edi
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp 0x51fd7e
mov ecx, dword [esi + 0x10c]
test ecx, ecx
je 0x51f8d3
mov eax, dword [ecx]
call dword [eax + 0xe0]
test al, al
jne 0x51f8d3
mov ecx, dword [esi + 0xc8]
test ecx, ecx
je 0x51f8d3
lea eax, [esi + 0xcc]
push eax
push 0
push 0x411
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp byte [esi + 0x3e0], 0
je 0x51f9d9
xor eax, eax
lea edi, [ebp - 0x98]
stosd dword es:[edi], eax
xorps xmm0, xmm0
movlpd qword [ebp - 0x1a4], xmm0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x1a4]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x98]
push eax
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x51f9c4
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0xa8]
jne 0x51f9c4
push dword [ebp - 0x1a0]
lea eax, [ebp - 0x98]
push dword [ebp - 0x1a4]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x51f9c4
movzx ecx, word [ebp - 0x1a0]
movzx eax, word [ebp - 0x1a4]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x84
push dword [esi + 0xa8]
call edi
cmp eax, 1
jne 0x51f9b1
lea eax, [ebp - 0x1a4]
push eax
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_ScreenToClient]
movzx ecx, word [ebp - 0x1a0]
movzx eax, word [ebp - 0x1a4]
shl ecx, 0x10
or ecx, eax
push ecx
jmp 0x51f9b3
push 0xffffffffffffffff
push 0
push 0x200
push dword [esi + 0xa8]
call edi
jmp 0x51f9d9
push 0xffffffffffffffff
push 0
push 0x200
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [esi + 0x3e0], 0
jmp 0x51fd7e
mov eax, dword [ebp - 0x1b0]
movsx ecx, ax
shr eax, 0x10
cmp byte [esi + 0x6a4], 0
cwde
mov byte [esi + 0x3e0], 0
mov dword [ebp - 0x1a0], ecx
mov dword [ebp - 0x1d8], eax
jne 0x51fd7e
push eax
push ecx
mov ecx, esi
call sym.yuntun.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_struct_tagPOINT_const
mov edi, eax
mov dword [ebp - 0x1e0], edi
test edi, edi
je 0x51fd7e
mov eax, dword [esi + 0x10c]
test eax, eax
je 0x51fa94
mov dword [ebp - 0x3c], eax
xorps xmm0, xmm0
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1b0]
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x30], xmm0
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 - 0x1a0]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x1d8]
mov dword [ebp - 0x30], eax
call fcn.0051d476
mov ecx, dword [esi + 0x10c]
lea edx, [ebp - 0x40]
mov word [ebp - 0x2a], ax
push edx
mov eax, dword [ecx]
call dword [eax + 0x14c]
mov eax, dword [edi]
lea ecx, [ebp - 0x188]
push ecx
mov ecx, edi
call dword [eax + 0xcc]
push 2
pop eax
lea ecx, [ebp - 0x188]
mov dword [ebp - 4], eax
call sym.yuntun.exe_public:_bool___thiscall_DuiLib::CDuiString::IsEmpty_void_const
test al, al
je 0x51faca
lea ecx, [ebp - 0x188]
call sym.yuntun.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
jmp 0x51d63d
push 0x30
lea eax, [esi + 0xcc]
push 0
push eax
call fcn.00586790
mov eax, dword [esi + 0xa8]
lea ecx, [ebp - 0x188]
add esp, 0xc
mov dword [esi + 0xcc], 0x2c
mov dword [esi + 0xd0], 1
mov dword [esi + 0xd4], eax
mov dword [esi + 0xd8], eax
mov eax, dword [sym.yuntun.exe_struct_HINSTANCE____DuiLib::CPaintManagerUI::m_hInstance]
mov dword [esi + 0xec], eax
call sym.yuntun.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
mov dword [esi + 0xf0], eax
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x60]
lea edi, [esi + 0xdc]
mov esi, 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 esi, dword [ebp - 0x1ac]
mov eax, dword [esi + 0xc8]
test eax, eax
jne 0x51fbad
push eax
push dword [sym.yuntun.exe_struct_HINSTANCE____DuiLib::CPaintManagerUI::m_hInstance]
mov ecx, accept
push eax
push dword [esi + 0xa8]
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, [esi + 0xcc]
mov dword [esi + 0xc8], eax
push ecx
xor edi, edi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x432
push eax
call edi
mov ecx, dword [ebp - 0x1e0]
mov eax, dword [ecx]
call dword [eax + 0xd8]
push eax
push 0
push 0x418
push dword [esi + 0xc8]
call edi
mov eax, dword [esi + 0xc8]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x51faba
lea edi, [esi + 0xcc]
push edi
push eax
push 0x436
push dword [esi + 0xc8]
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 1
push 0x411
push dword [esi + 0xc8]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x51faba
cmp dword [esi + 0x104], 0
je 0x51fd7e
mov ecx, dword [ebp - 0x1b0]
movsx eax, cx
mov dword [ebp - 0x1a4], eax
mov eax, ecx
shr eax, 0x10
cwde
mov dword [ebp - 0x1a0], eax
lea eax, [ebp - 0x1a4]
push eax
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x1a0]
mov ecx, dword [ebp - 0x1a4]
push eax
mov dword [esi + 0x11c], ecx
push ecx
mov ecx, esi
mov dword [esi + 0x120], eax
call sym.yuntun.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_struct_tagPOINT_const
mov edi, eax
test edi, edi
je 0x51fd7e
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x1c]
cmp eax, esi
jne 0x51fd7e
xor eax, eax
mov dword [ebp - 0x40], 0x15
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1cc]
shr eax, 0x10
movzx eax, ax
shr eax, 0xf
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1a4]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x30], eax
call fcn.0051d476
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x40]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x14c]
movzx ecx, word [esi + 0x120]
movzx eax, word [esi + 0x11c]
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x200
push dword [esi + 0xa8]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x51fd7e
mov eax, dword [ebp - 0x1b0]
mov ecx, esi
movsx edi, ax
shr eax, 0x10
cwde
push eax
push edi
mov dword [ebp - 0x1a0], eax
mov dword [esi + 0x11c], edi
mov dword [esi + 0x120], eax
call sym.yuntun.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_struct_tagPOINT_const
mov dword [esi + 0x110], eax
test eax, eax
je 0x51fd7e
mov ecx, esi
call sym.yuntun.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::ReleaseCapture_void_
mov dword [ebp - 0x40], 0x12
mov ecx, dword [ebp - 0x1cc]
xor eax, eax
and dword [ebp - 0x38], 0
mov word [ebp - 0x2c], ax
mov eax, dword [esi + 0x110]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], eax
mov word [ebp - 0x2a], cx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x110]
mov dword [ebp - 0x38], eax
lea edx, [ebp - 0x40]
mov eax, dword [ecx]
push edx
call dword [eax + 0x14c]
xor al, al
call fcn.0056fe21
ret 0x10