Function at 0x4de950
Capabilities:
Capture screenshot
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x633107
mov eax, dword fs:[0]
push eax
sub esp, 0x208
mov eax, dword [0x6e4770]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1f8], esi
cmp dword [esi], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1bc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1b8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1d8], eax
je 0x4e08cb
lea ecx, [esi + 0x680]
push 0
call sym.WnPicViewer.exe_public:_void____thiscall_UiLib::CStdPtrArray::GetAt_int_const
mov edi, eax
mov dword [ebp - 0x1d4], edi
test edi, edi
je 0x4deaab
jmp 0x4de9d0
push 0
lea ecx, [esi + 0x680]
call sym.WnPicViewer.exe_public:_bool___thiscall_UiLib::CStdPtrArray::Remove_int_
mov ecx, dword [edi + 0x108]
test ecx, ecx
je 0x4dea10
add ecx, 0x13c
call sym.WnPicViewer.exe_public:_struct_HWND______thiscall_UiLib::CWindowWnd::operator_struct_HWND____void_const
test eax, eax
jle 0x4dea10
mov ecx, dword [edi + 0x108]
push edi
add ecx, 0x13c
call fcn.004dc000
test al, al
jne 0x4deb55
lea eax, [esi + 0x62c]
xor edi, edi
mov ecx, eax
mov dword [ebp - 0x1c0], eax
call sym.WnPicViewer.exe_public:_struct_HWND______thiscall_UiLib::CWindowWnd::operator_struct_HWND____void_const
test eax, eax
jle 0x4dea59
mov esi, dword [ebp - 0x1d4]
nop
mov ecx, dword [ebp - 0x1c0]
push edi
call sym.WnPicViewer.exe_public:_void____thiscall_UiLib::CStdPtrArray::operator___int_const
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, dword [ebp - 0x1c0]
inc edi
call sym.WnPicViewer.exe_public:_struct_HWND______thiscall_UiLib::CWindowWnd::operator_struct_HWND____void_const
cmp edi, eax
jl 0x4dea30
mov esi, dword [ebp - 0x1f8]
mov edi, dword [ebp - 0x1d4]
mov dword [ebp - 0x1c4], edi
lea ecx, [edi + 0x84]
mov dword [ebp - 4], 1
call sym.WnPicViewer.exe_public:_void___thiscall_UiLib::CDuiString::destructor_void_
mov ecx, edi
mov dword [ebp - 4], 0xffffffff
call sym.WnPicViewer.exe_public:_void___thiscall_UiLib::CDuiString::destructor_void_
push edi
call fcn.0052d900
add esp, 4
lea ecx, [esi + 0x680]
push 0
call sym.WnPicViewer.exe_public:_void____thiscall_UiLib::CStdPtrArray::GetAt_int_const
mov edi, eax
mov dword [ebp - 0x1d4], eax
test edi, edi
jne 0x4de9d0
lea ecx, [esi + 0x650]
mov dword [ebp - 0x1d4], 0
call sym.WnPicViewer.exe_public:_struct_HWND______thiscall_UiLib::CWindowWnd::operator_struct_HWND____void_const
mov edi, dword [ebp - 0x1b8]
test eax, eax
jle 0x4deb24
xor ecx, ecx
lea esp, [esp]
push ecx
lea ecx, [esi + 0x650]
mov byte [ebp - 0x1d9], 0
call sym.WnPicViewer.exe_public:_void____thiscall_UiLib::CStdPtrArray::operator___int_const
lea ecx, [ebp - 0x1d9]
push ecx
push edi
mov edx, dword [eax]
mov ecx, eax
push dword [ebp - 0x1bc]
push dword [ebp + 8]
mov eax, dword [edx]
call eax
cmp byte [ebp - 0x1d9], 0
jne 0x4dfb38
inc dword [ebp - 0x1d4]
lea ecx, [esi + 0x650]
call sym.WnPicViewer.exe_public:_struct_HWND______thiscall_UiLib::CWindowWnd::operator_struct_HWND____void_const
mov ecx, dword [ebp - 0x1d4]
cmp ecx, eax
jl 0x4dead0
mov edx, dword [ebp + 8]
cmp edx, 0x111
ja 0x4dfb77
je 0x4dfb47
lea eax, [edx - 5]
cmp eax, 0xfd
ja case.0x4dfba1.276
movzx eax, byte [eax + 0x4e0950]
jmp dword [eax*4 + 0x4e0920]
mov dword [ebp - 0x1c4], edi
lea ecx, [edi + 0x84]
mov dword [ebp - 4], 0
call sym.WnPicViewer.exe_public:_void___thiscall_UiLib::CDuiString::destructor_void_
mov ecx, edi
mov dword [ebp - 4], 0xffffffff
call sym.WnPicViewer.exe_public:_void___thiscall_UiLib::CDuiString::destructor_void_
push edi
call fcn.0052d900
add esp, 4
mov al, 1
jmp 0x4e08cd
mov eax, dword [esi + 0x550]
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0x554]
mov dword [ebp - 0x30], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x544]
mov dword [ebp - 0x28], eax
test ecx, ecx
je 0x4debe1
mov dword [ebp - 0x30], 0xa
lea edx, [ebp - 0x30]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x134]
mov ecx, dword [esi + 0x548]
test ecx, ecx
je 0x4dec01
mov dword [ebp - 0x30], 0xe
lea edx, [ebp - 0x30]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x134]
cmp byte [esi + 0x5a4], 0
jne 0x4dec13
push 0
mov ecx, esi
call sym.WnPicViewer.exe_public:_void___thiscall_UiLib::CPaintManagerUI::SetFocus_class_UiLib::CControlUI__
push 4
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindow]
cmp byte [esi + 0x5a4], 0
jne case.0x4dfba1.276
test eax, eax
je case.0x4dfba1.276
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp case.0x4dfba1.276
mov ecx, dword [ebp - 0x1d8]
mov al, 1
mov dword [ecx], 1
jmp 0x4e08cd
push 0
lea eax, [ebp - 0x40]
xorps xmm0, xmm0
push eax
push dword [esi]
movdqu xmmword [ebp - 0x40], xmm0
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
je 0x4deb84
cmp dword [esi + 0x53c], 0
jne 0x4decba
push 0x3c
lea eax, [ebp - 0x130]
mov dword [ebp - 0x134], 0
push 0
push eax
call fcn.0052f1e0
add esp, 0xc
lea eax, [ebp - 0x134]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_BeginPaint]
lea eax, [ebp - 0x134]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_EndPaint]
mov al, 1
jmp 0x4e08cd
cmp byte [esi + 0x5a0], 0
je 0x4df406
push 0xffffffffffffffec
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x80000
jne 0x4dece8
xor eax, 0x80000
push eax
push 0xffffffffffffffec
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea eax, [ebp - 0xf4]
xorps xmm0, xmm0
push eax
push dword [esi]
movdqu xmmword [ebp - 0xf4], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
push 0x3c
lea eax, [ebp - 0x1b0]
mov dword [ebp - 0x1b4], 0
push 0
push eax
call fcn.0052f1e0
add esp, 0xc
lea eax, [ebp - 0x1b4]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_BeginPaint]
cmp byte [esi + 0x59d], 0
je 0x4dee4a
lea eax, [ebp - 0xf4]
mov byte [esi + 0x59d], 0
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x4dee4a
mov ecx, dword [esi + 0x53c]
call sym.WnPicViewer.exe_public:_bool___thiscall_UiLib::CControlUI::IsUpdateNeeded_void_const
test al, al
je 0x4dedc1
push dword [esi]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x4ded8e
mov ecx, dword [esi + 0x53c]
sub esp, 0x10
movdqu xmm0, xmmword [ebp - 0xf4]
mov eax, esp
mov edx, dword [ecx]
movdqu xmmword [eax], xmm0
call dword [edx + 0x34]
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4ded9c
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x4dedaa
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x14], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0xc], 0
jmp 0x4dee22
mov ecx, dword [esi + 0x53c]
push reloc.WS2_32.dll_accept
push 0
push sym.WnPicViewer.exe_private:_static_class_UiLib::CControlUI____stdcall_UiLib::CPaintManagerUI::__FindControlFromUpdate_class_UiLib::CControlUI___void__
mov eax, dword [ecx]
mov eax, dword [eax + 0x128]
call eax
mov edi, eax
test edi, edi
je 0x4dee22
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x30]
call edx
mov edx, dword [edi]
sub esp, 0x10
mov ecx, esp
movdqu xmm0, xmmword [eax]
movdqu xmmword [ecx], xmm0
mov ecx, edi
call dword [edx + 0x34]
mov ecx, dword [esi + 0x53c]
push reloc.WS2_32.dll_accept
push 0
push sym.WnPicViewer.exe_private:_static_class_UiLib::CControlUI____stdcall_UiLib::CPaintManagerUI::__FindControlFromUpdate_class_UiLib::CControlUI___void__
mov eax, dword [ecx]
mov eax, dword [eax + 0x128]
call eax
mov edi, eax
test edi, edi
jne 0x4dede3
cmp byte [esi + 0x59c], 0
je 0x4dee4a
push 0
push 0
push 0
push str.windowinit
push dword [esi + 0x53c]
mov ecx, esi
mov byte [esi + 0x59c], 0
call sym.WnPicViewer.exe_public:_void___thiscall_UiLib::CPaintManagerUI::SendNotify_class_UiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
cmp byte [esi + 0x59e], 0
je 0x4dee5c
push 1
mov ecx, esi
call sym.WnPicViewer.exe_public:_bool___thiscall_UiLib::CPaintManagerUI::SetNextTabControl_bool_
mov eax, dword [ebp - 0xec]
mov edi, dword [ebp - 0xe8]
sub eax, dword [ebp - 0xf4]
sub edi, dword [ebp - 0xf0]
cmp byte [esi + 0x59f], 0
mov dword [ebp - 0x1b8], eax
je 0x4def15
cmp dword [esi + 0x1c], 0
jne 0x4def15
push dword [esi + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 0x2c
mov dword [esi + 0x14], eax
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.0052f1e0
mov ecx, dword [ebp - 0x1b8]
add esp, 0xc
mov eax, edi
mov dword [ebp - 0x120], 0x28
imul eax, ecx
mov dword [ebp - 0x11c], ecx
push 0
push 0
mov dword [ebp - 0x118], edi
shl eax, 2
mov dword [ebp - 0x10c], eax
lea eax, [esi + 0xc]
push eax
push 0
lea eax, [ebp - 0x120]
mov dword [ebp - 0x114], 0x200001
push eax
push dword [esi + 8]
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x100], 0
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov dword [esi + 0x1c], eax
mov edx, dword [ebp - 0x40]
mov ecx, edi
sub ecx, dword [ebp - 0x34]
sub edi, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x1cc], ecx
mov dword [ebp - 0x1d8], edi
mov dword [ebp - 0x1ec], edx
mov dword [ebp - 0x1f0], eax
cmp ecx, edi
jge 0x4defd3
mov eax, dword [ebp - 0x1b8]
mov edi, ecx
imul edi, dword [ebp - 0x1b8]
shl eax, 2
mov dword [ebp - 0x1c0], eax
mov eax, dword [ebp - 0x1d8]
add edi, edx
shl edi, 2
sub eax, ecx
mov ecx, dword [ebp - 0x1c0]
mov dword [ebp - 0x1e8], eax
cmp edx, dword [ebp - 0x1f0]
jge 0x4defc8
mov edx, dword [ebp - 0x1f0]
mov ecx, edi
sub edx, dword [ebp - 0x1ec]
lea ebx, [ebx]
mov eax, dword [esi + 0xc]
lea ecx, [ecx + 4]
mov byte [ecx + eax - 4], 0
mov eax, dword [esi + 0xc]
mov byte [eax + ecx - 3], 0
mov eax, dword [esi + 0xc]
mov byte [eax + ecx - 2], 0
mov eax, dword [esi + 0xc]
mov byte [eax + ecx - 1], 0
dec edx
jne 0x4def90
mov eax, dword [ebp - 0x1e8]
mov ecx, dword [ebp - 0x1c0]
mov edx, dword [ebp - 0x1ec]
add edi, ecx
dec eax
mov dword [ebp - 0x1e8], eax
jne 0x4def74
push dword [esi + 0x1c]
push dword [esi + 0x14]
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esi + 0x53c]
lea edx, [ebp - 0x40]
push edx
push dword [esi + 0x14]
mov eax, dword [ecx]
call dword [eax + 0x148]
lea ecx, [esi + 0x668]
mov dword [ebp - 0x1e8], 0
call sym.WnPicViewer.exe_public:_struct_HWND______thiscall_UiLib::CWindowWnd::operator_struct_HWND____void_const
test eax, eax
jle 0x4df2ab
xor ecx, ecx
push ecx
lea ecx, [esi + 0x668]
call sym.WnPicViewer.exe_public:_void____thiscall_UiLib::CStdPtrArray::operator___int_const
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4df042
push dword [ebp - 0x1e8]
lea ecx, [esi + 0x668]
call sym.WnPicViewer.exe_public:_bool___thiscall_UiLib::CStdPtrArray::Remove_int_
jmp 0x4df292
inc dword [ebp - 0x1e8]
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4df292
push edi
lea eax, [ebp - 0xe4]
mov ecx, esi
push eax
call sym.WnPicViewer.exe_public:_struct_tagRECT___thiscall_UiLib::CPaintManagerUI::GetNativeWindowRect_struct_HWND____
lea eax, [ebp - 0xe4]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x20]
push eax
movdqu xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x4df292
push 0xffffffffffffffec
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x80000
je 0x4df23f
push dword [esi + 0x14]
mov dword [ebp - 0x1c0], 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
lea ecx, [ebp - 0x1c0]
mov dword [ebp - 0x1f4], eax
push ecx
mov ecx, dword [ebp - 0xd8]
sub ecx, dword [ebp - 0xe0]
push ecx
mov ecx, dword [ebp - 0xdc]
sub ecx, dword [ebp - 0xe4]
push ecx
push eax
call sym.WnPicViewer.exe_public:_static_struct_HBITMAP______cdecl_UiLib::CRenderEngine::CreateARGB32Bitmap_struct_HDC_____int__int__unsigned_long_int___
mov edx, dword [ebp - 0xdc]
mov ecx, dword [ebp - 0xd8]
sub edx, dword [ebp - 0xe4]
sub ecx, dword [ebp - 0xe0]
imul edx, ecx
mov dword [ebp - 0x1e0], eax
shl edx, 2
push edx
push 0
push dword [ebp - 0x1c0]
call fcn.0052f1e0
add esp, 0x1c
push dword [ebp - 0x1e0]
push dword [ebp - 0x1f4]
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x35
push dword [ebp - 0x1f4]
mov dword [ebp - 0x1c4], eax
push 0x317
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0xd8]
xor eax, eax
mov edi, dword [ebp - 0xdc]
mov ecx, edx
sub ecx, dword [ebp - 0xe0]
mov dword [ebp - 0x1bc], eax
mov dword [ebp - 0x1fc], edx
test ecx, ecx
jle 0x4df1f1
mov esi, dword [ebp - 0xe4]
mov ecx, edi
xor edx, edx
sub ecx, esi
test ecx, ecx
jle 0x4df1c4
lea ebx, [ebx]
imul ecx, eax
mov eax, dword [ebp - 0x1c0]
add ecx, edx
lea ecx, [eax + ecx*4]
mov eax, dword [ecx]
test eax, eax
je 0x4df1a7
or eax, 0xff000000
mov dword [ecx], eax
mov edi, dword [ebp - 0xdc]
mov esi, dword [ebp - 0xe4]
mov eax, dword [ebp - 0x1bc]
mov ecx, edi
inc edx
sub ecx, esi
cmp edx, ecx
jl 0x4df180
mov edx, dword [ebp - 0xd8]
mov dword [ebp - 0x1fc], edx
jmp 0x4df1ca
mov edx, dword [ebp - 0x1fc]
mov ecx, dword [ebp - 0xe0]
inc eax
mov dword [ebp - 0x1bc], eax
mov eax, edx
sub eax, ecx
cmp dword [ebp - 0x1bc], eax
mov eax, dword [ebp - 0x1bc]
jl 0x4df170
mov esi, dword [ebp - 0x1f8]
jmp 0x4df1f7
mov ecx, dword [ebp - 0xe0]
mov eax, dword [ebp - 0xe4]
sub edx, ecx
push 0xcc0020
push 0
push 0
push dword [ebp - 0x1f4]
sub edi, eax
push edx
push edi
push ecx
push eax
push dword [esi + 0x14]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x1c4]
mov edi, dword [ebp - 0x1f4]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x1e0]
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
jmp 0x4df28c
push edi
call dword [sym.imp.USER32.dll_GetWindowDC]
mov edi, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0xdc]
mov edx, dword [ebp - 0xe4]
sub ecx, edx
push 0xcc0020
mov dword [ebp - 0x1e0], eax
mov eax, dword [ebp - 0xe0]
sub edi, eax
push edi
push ecx
push 0
push 0
push dword [ebp - 0x1e0]
push edi
push ecx
push eax
push edx
push dword [esi + 0x14]
call dword [sym.imp.GDI32.dll_StretchBlt]
push dword [ebp - 0x1e0]
call dword [sym.imp.GDI32.dll_DeleteDC]
lea ecx, [esi + 0x668]
call sym.WnPicViewer.exe_public:_struct_HWND______thiscall_UiLib::CWindowWnd::operator_struct_HWND____void_const
mov ecx, dword [ebp - 0x1e8]
cmp ecx, eax
jl 0x4df013
mov ecx, dword [ebp - 0x1d8]
mov edx, dword [ebp - 0x1cc]
cmp edx, ecx
jge 0x4df34c
mov eax, dword [ebp - 0x1b8]
mov edi, edx
imul edi, dword [ebp - 0x1b8]
mov edx, dword [ebp - 0x1ec]
shl eax, 2
mov dword [ebp - 0x1c4], eax
add edi, edx
shl edi, 2
sub ecx, dword [ebp - 0x1cc]
mov dword [ebp - 0x1d8], ecx
mov edi, edi
cmp edx, dword [ebp - 0x1f0]
jge 0x4df341
mov edx, dword [ebp - 0x1f0]
mov ecx, edi
sub edx, dword [ebp - 0x1ec]
mov eax, dword [esi + 0xc]
cmp byte [eax + ecx + 3], 0
jne 0x4df329
cmp byte [eax + ecx], 0
jne 0x4df324
cmp byte [eax + ecx + 1], 0
jne 0x4df324
cmp byte [eax + ecx + 2], 0
je 0x4df329
mov byte [eax + ecx + 3], 0xff
add ecx, 4
dec edx
jne 0x4df306
mov eax, dword [ebp - 0x1c4]
mov ecx, dword [ebp - 0x1d8]
mov edx, dword [ebp - 0x1ec]
add edi, eax
dec ecx
mov dword [ebp - 0x1d8], ecx
jne 0x4df2f0
lea eax, [ebp - 0x50]
xorps xmm0, xmm0
push eax
push dword [esi]
movdqu xmmword [ebp - 0x50], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x20c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x208], eax
mov eax, dword [ebp - 0xec]
sub eax, dword [ebp - 0xf4]
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0xe8]
sub eax, dword [ebp - 0xf0]
mov dword [ebp - 0x210], eax
mov al, byte [esi + 4]
push 2
mov byte [ebp - 0x1d2], al
lea eax, [ebp - 0x1d4]
push eax
push 0
lea eax, [ebp - 0x204]
mov dword [ebp - 0x204], 0
push eax
push dword [esi + 0x14]
lea eax, [ebp - 0x214]
mov dword [ebp - 0x200], 0
push eax
lea eax, [ebp - 0x20c]
mov word [ebp - 0x1d4], 0
push eax
push 0
push dword [esi]
mov byte [ebp - 0x1d1], 1
call dword [sym.imp.USER32.dll_UpdateLayeredWindow]
lea eax, [ebp - 0x1b4]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_EndPaint]
mov al, 1
jmp 0x4e08cd
cmp byte [esi + 0x59d], 0
mov edi, dword [sym.imp.USER32.dll_GetClientRect]
je 0x4df531
lea eax, [ebp - 0x50]
mov byte [esi + 0x59d], 0
push eax
push dword [esi]
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x50], xmm0
call edi
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x4df531
mov ecx, dword [esi + 0x53c]
call sym.WnPicViewer.exe_public:_bool___thiscall_UiLib::CControlUI::IsUpdateNeeded_void_const
test al, al
je 0x4df4a2
push dword [esi]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x4df476
mov ecx, dword [esi + 0x53c]
sub esp, 0x10
movdqu xmm0, xmmword [ebp - 0x50]
mov eax, esp
mov edx, dword [ecx]
movdqu xmmword [eax], xmm0
call dword [edx + 0x34]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x4df484
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esi + 0x18]
test eax, eax
je 0x4df492
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x10], 0
mov dword [esi + 0x18], 0
jmp 0x4df509
mov ecx, dword [esi + 0x53c]
push reloc.WS2_32.dll_accept
push 0
push sym.WnPicViewer.exe_private:_static_class_UiLib::CControlUI____stdcall_UiLib::CPaintManagerUI::__FindControlFromUpdate_class_UiLib::CControlUI___void__
mov eax, dword [ecx]
mov eax, dword [eax + 0x128]
call eax
mov edi, eax
test edi, edi
je 0x4df503
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x30]
call edx
mov edx, dword [edi]
sub esp, 0x10
mov ecx, esp
movdqu xmm0, xmmword [eax]
movdqu xmmword [ecx], xmm0
mov ecx, edi
call dword [edx + 0x34]
mov ecx, dword [esi + 0x53c]
push reloc.WS2_32.dll_accept
push 0
push sym.WnPicViewer.exe_private:_static_class_UiLib::CControlUI____stdcall_UiLib::CPaintManagerUI::__FindControlFromUpdate_class_UiLib::CControlUI___void__
mov eax, dword [ecx]
mov eax, dword [eax + 0x128]
call eax
mov edi, eax
test edi, edi
jne 0x4df4c4
mov edi, dword [sym.imp.USER32.dll_GetClientRect]
cmp byte [esi + 0x59c], 0
je 0x4df531
push 0
push 0
push 0
push str.windowinit
push dword [esi + 0x53c]
mov ecx, esi
mov byte [esi + 0x59c], 0
call sym.WnPicViewer.exe_public:_void___thiscall_UiLib::CPaintManagerUI::SendNotify_class_UiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
cmp byte [esi + 0x59e], 0
je 0x4df543
push 1
mov ecx, esi
call sym.WnPicViewer.exe_public:_bool___thiscall_UiLib::CPaintManagerUI::SetNextTabControl_bool_
mov ecx, 0x705478
call sym.WnPicViewer.exe_public_virtual:_bool___thiscall_UiLib::CControlUI::GetAnimEffects_void_const
test al, al
jne 0x4df55f
mov ecx, 0x705478
call fcn.00516e20
test al, al
je 0x4df570
push 0
push 0
push 0xa90
push dword [esi]
call dword [sym.imp.USER32.dll_PostMessageW]
cmp byte [esi + 0x59f], 0
je 0x4df5c7
cmp dword [esi + 0x18], 0
jne 0x4df5c7
lea eax, [ebp - 0xf4]
xorps xmm0, xmm0
push eax
push dword [esi]
movdqu xmmword [ebp - 0xf4], xmm0
call edi
push dword [esi + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0xe8]
sub eax, dword [ebp - 0xf0]
push eax
mov eax, dword [ebp - 0xec]
sub eax, dword [ebp - 0xf4]
push eax
push dword [esi + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esi + 0x18], eax
push 0x3c
lea eax, [ebp - 0x170]
mov dword [ebp - 0x174], 0
push 0
push eax
call fcn.0052f1e0
add esp, 0xc
lea eax, [ebp - 0x174]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_BeginPaint]
cmp byte [esi + 0x59f], 0
je 0x4df6d6
push dword [esi + 0x18]
push dword [esi + 0x10]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esi + 0x10]
mov dword [ebp - 0x1cc], eax
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [esi + 0x53c]
mov dword [ebp - 0x1c4], eax
lea eax, [ebp - 0x16c]
push eax
push dword [esi + 0x10]
mov edx, dword [ecx]
call dword [edx + 0x148]
lea ecx, [esi + 0x65c]
xor edi, edi
call sym.WnPicViewer.exe_public:_struct_HWND______thiscall_UiLib::CWindowWnd::operator_struct_HWND____void_const
test eax, eax
jle 0x4df680
lea ebx, [ebx]
push edi
lea ecx, [esi + 0x65c]
call sym.WnPicViewer.exe_public:_void____thiscall_UiLib::CStdPtrArray::operator___int_const
lea ecx, [ebp - 0x16c]
push ecx
push dword [esi + 0x10]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x160]
lea ecx, [esi + 0x65c]
inc edi
call sym.WnPicViewer.exe_public:_struct_HWND______thiscall_UiLib::CWindowWnd::operator_struct_HWND____void_const
cmp edi, eax
jl 0x4df650
push dword [ebp - 0x1c4]
push dword [esi + 0x10]
call dword [sym.imp.GDI32.dll_RestoreDC]
mov edx, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x16c]
mov eax, dword [ebp - 0x160]
push 0xcc0020
push edx
push ecx
push dword [esi + 0x10]
sub eax, edx
push eax
mov eax, dword [ebp - 0x164]
sub eax, ecx
push eax
push edx
push ecx
push dword [ebp - 0x174]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x1cc]
push dword [esi + 0x10]
call dword [sym.imp.GDI32.dll_SelectObject]
jmp 0x4df70c
push dword [ebp - 0x174]
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [esi + 0x53c]
mov edi, eax
lea eax, [ebp - 0x16c]
push eax
push dword [ebp - 0x174]
mov edx, dword [ecx]
call dword [edx + 0x148]
push edi
push dword [ebp - 0x174]
call dword [sym.imp.GDI32.dll_RestoreDC]
lea eax, [ebp - 0x174]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_EndPaint]
cmp byte [esi + 0x59d], 0
je 0x4deb84
push 0
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov al, 1
jmp 0x4e08cd
mov ecx, dword [esi + 0x558]
mov eax, dword [ebp - 0x1b8]
test ecx, ecx
jle 0x4df74e
mov dword [eax + 0x18], ecx
mov ecx, dword [esi + 0x55c]
test ecx, ecx
jle 0x4df75b
mov dword [eax + 0x1c], ecx
mov ecx, dword [esi + 0x560]
test ecx, ecx
jle 0x4df768
mov dword [eax + 0x20], ecx
mov ecx, dword [esi + 0x564]
test ecx, ecx
jle case.0x4dfba1.276
mov dword [eax + 0x24], ecx
jmp case.0x4dfba1.276
mov eax, dword [esi + 0x540]
test eax, eax
je 0x4df7c1
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movdqu xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x30], 0x16
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x540]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x28], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
mov ecx, 0x705478
call sym.WnPicViewer.exe_public_virtual:_bool___thiscall_UiLib::CControlUI::GetAnimEffects_void_const
test al, al
je 0x4df7d9
mov ecx, 0x705478
call fcn.00516aa0
mov ecx, dword [esi + 0x53c]
mov byte [esi + 0x59d], 1
test ecx, ecx
je 0x4deb84
call sym.WnPicViewer.exe_public:_void___thiscall_UiLib::CControlUI::NeedUpdate_void_
mov al, 1
jmp 0x4e08cd
mov ecx, dword [ebp - 0x1b8]
movsx eax, cx
mov dword [ebp - 0x1c8], eax
shr ecx, 0x10
movsx eax, cx
mov dword [ebp - 0x1c4], eax
lea eax, [ebp - 0x1c8]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [esi + 0x548], 0
mov eax, dword [ebp - 0x1c8]
mov dword [esi + 0x550], eax
mov eax, dword [ebp - 0x1c4]
mov dword [esi + 0x554], eax
je case.0x4dfba1.276
mov ecx, esi
call sym.WnPicViewer.exe_public:_void___thiscall_UiLib::CPaintManagerUI::ReleaseCapture_void_
mov eax, dword [ebp - 0x1c8]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x548]
movdqu xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c4]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1bc]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x30], 0x11
mov dword [ebp - 0x2c], ecx
mov word [ebp - 0x1a], ax
mov dword [ebp - 0x14], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x548]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x28], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
mov dword [esi + 0x548], 0
jmp case.0x4dfba1.276
cmp dword [esi + 0x540], 0
je case.0x4dfba1.276
mov eax, dword [ebp - 0x1bc]
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
mov word [ebp - 0x1c], ax
mov eax, dword [esi + 0x550]
movdqu xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0x554]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x30], 5
mov dword [ebp - 0x20], eax
call fcn.004fd4e0
mov word [ebp - 0x1a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x540]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x28], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
jmp case.0x4dfba1.276
cmp dword [esi + 0x540], 0
je case.0x4dfba1.276
mov eax, dword [ebp - 0x1bc]
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
mov word [ebp - 0x1c], ax
mov eax, dword [esi + 0x550]
movdqu xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0x554]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x30], 3
mov dword [ebp - 0x20], eax
call fcn.004fd4e0
mov word [ebp - 0x1a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x540]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x28], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
mov eax, dword [esi + 0x540]
mov dword [esi + 0x54c], eax
jmp case.0x4dfba1.276
cmp dword [esi + 0x54c], 0
je case.0x4dfba1.276
mov eax, dword [ebp - 0x1bc]
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
mov word [ebp - 0x1c], ax
mov eax, dword [esi + 0x550]
movdqu xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0x554]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x30], 4
mov dword [ebp - 0x20], eax
call fcn.004fd4e0
mov word [ebp - 0x1a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x54c]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x28], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
mov dword [esi + 0x54c], 0
jmp case.0x4dfba1.276
cmp di, 1
jne case.0x4dfba1.276
cmp byte [esi + 0x5a2], 0
jne 0x4deb84
lea eax, [ebp - 0x1e4]
mov dword [ebp - 0x1e4], 0
push eax
mov dword [ebp - 0x1e0], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x1e4]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0x1e0]
mov ecx, esi
push dword [ebp - 0x1e4]
call sym.WnPicViewer.exe_public:_class_UiLib::CControlUI____thiscall_UiLib::CPaintManagerUI::FindControl_struct_tagPOINT_const
mov dword [ebp - 0x1c4], eax
test eax, eax
je case.0x4dfba1.276
mov edx, dword [eax]
mov ecx, eax
mov edx, dword [edx + 0x14]
call edx
test al, 2
je case.0x4dfba1.276
mov eax, dword [ebp - 0x1bc]
xorps xmm0, xmm0
movq qword [ebp - 0x100], xmm0
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0x1e4]
movdqu xmmword [ebp - 0x110], xmm0
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x1e0]
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0x114], 0x17
mov dword [ebp - 0xf8], edi
mov dword [ebp - 0x104], eax
call fcn.004fd4e0
mov word [ebp - 0xfe], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x1c4]
lea edx, [ebp - 0x114]
mov dword [ebp - 0x10c], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
mov al, 1
jmp 0x4e08cd
mov ecx, dword [ebp - 0x1b8]
test ecx, ecx
je 0x4dfb40
push ecx
push dword [ebp - 0x1bc]
lea eax, [edx + 0x2000]
push eax
push dword [ecx]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x1d8]
mov dword [ecx], eax
mov al, 1
jmp 0x4e08cd
mov eax, dword [ebp - 0x1b8]
test eax, eax
je case.0x4dfba1.276
push eax
push dword [ebp - 0x1bc]
push 0x2111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x1d8]
mov dword [ecx], eax
mov al, 1
jmp 0x4e08cd
cmp edx, 0x2a1
ja 0x4e04ab
je 0x4e0318
lea eax, [edx - 0x112]
cmp eax, 0xf8
ja case.0x4dfba1.276
movzx eax, byte [eax + 0x4e0a78]
jmp dword [eax*4 + 0x4e0a50]
mov eax, dword [ebp - 0x1bc]
and eax, 0xfff0
cmp eax, 0xf120
jne 0x4dfbbe
mov byte [esi + 0x30], 1
mov al, 1
jmp 0x4e08cd
mov edi, dword [ebp - 0x1bc]
mov eax, 0xf1
cmp ax, di
jne 0x4dfbf8
lea eax, [esi + 0x80]
mov ecx, esi
push eax
call sym.WnPicViewer.exe_public:_void___thiscall_UiLib::CPaintManagerUI::Invalidate_struct_tagRECT__
cmp byte [esi + 0x90], 0
sete al
mov byte [esi + 0x90], al
jmp case.0x4dfba1.276
lea ecx, [esi + 0x638]
mov dword [ebp - 0x1c0], 0
call sym.WnPicViewer.exe_public:_struct_HWND______thiscall_UiLib::CWindowWnd::operator_struct_HWND____void_const
test eax, eax
jle case.0x4dfba1.276
xor ecx, ecx
jmp 0x4dfc20
push ecx
lea ecx, [esi + 0x638]
call sym.WnPicViewer.exe_public:_void____thiscall_UiLib::CStdPtrArray::operator___int_const
mov edx, eax
mov dword [ebp - 0x1c4], edx
mov ecx, dword [edx + 8]
cmp ecx, dword [esi]
jne 0x4dfc49
movzx ecx, di
cmp dword [edx + 0xc], ecx
jne 0x4dfc49
cmp byte [edx + 0x10], 0
je 0x4dfc69
inc dword [ebp - 0x1c0]
lea ecx, [esi + 0x638]
call sym.WnPicViewer.exe_public:_struct_HWND______thiscall_UiLib::CWindowWnd::operator_struct_HWND____void_const
mov ecx, dword [ebp - 0x1c0]
cmp ecx, eax
jl 0x4dfc20
jmp case.0x4dfba1.276
mov eax, dword [edx]
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x2c], eax
mov eax, dword [edx + 4]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x30], 0x18
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x1c4]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x28], eax
push edx
mov ecx, dword [ecx]
mov eax, dword [ecx]
call dword [eax + 0x134]
jmp case.0x4dfba1.276
cmp dword [esi + 0x53c], 0
je case.0x4dfba1.276
cmp byte [esi + 0x5a1], 0
jne 0x4dfd1d
mov eax, dword [esi]
xorps xmm0, xmm0
movq qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 0x4c]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x40], 0x10
mov dword [ebp - 0x3c], 3
test eax, eax
jne 0x4dfcf9
mov dword [ebp - 0x34], 0x190
jmp 0x4dfd0c
push 0
push 3
push 0x415
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
mov byte [esi + 0x5a1], 1
mov eax, dword [ebp - 0x1b8]
mov ecx, esi
movsx edi, ax
shr eax, 0x10
cwde
push eax
push edi
mov dword [ebp - 0x1c4], edi
mov dword [ebp - 0x1cc], eax
mov dword [esi + 0x550], edi
mov dword [esi + 0x554], eax
call sym.WnPicViewer.exe_public:_class_UiLib::CControlUI____thiscall_UiLib::CPaintManagerUI::FindControl_struct_tagPOINT_const
mov dword [ebp - 0x1e0], eax
test eax, eax
je 0x4dfd66
mov edx, dword [eax]
mov ecx, eax
mov edx, dword [edx + 0x1c]
call edx
cmp eax, esi
jne case.0x4dfba1.276
mov eax, dword [ebp - 0x1cc]
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x24], edi
mov edi, dword [ebp - 0x1b8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1bc]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x28], eax
call fcn.004fd4e0
mov ecx, esi
mov word [ebp - 0x1a], ax
call sym.WnPicViewer.exe_public:_bool___thiscall_UiLib::CPaintManagerUI::IsCaptured_void_
test al, al
jne 0x4dfe5d
push dword [ebp - 0x1cc]
mov ecx, esi
push dword [ebp - 0x1c4]
call sym.WnPicViewer.exe_public:_class_UiLib::CControlUI____thiscall_UiLib::CPaintManagerUI::FindControl_struct_tagPOINT_const
mov edi, eax
test edi, edi
je 0x4dfdea
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x1c]
call eax
cmp eax, esi
jne case.0x4dfba1.276
mov ecx, dword [esi + 0x544]
cmp edi, ecx
je 0x4dfe31
test ecx, ecx
je 0x4dfe31
mov dword [ebp - 0x30], 0xa
lea edx, [ebp - 0x30]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x134]
mov ecx, dword [esi + 0x4c]
mov dword [esi + 0x544], 0
test ecx, ecx
je 0x4dfe31
lea eax, [esi + 0x50]
push eax
push 0
push 0x411
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp edi, dword [esi + 0x544]
je 0x4dfe63
test edi, edi
je 0x4dfe63
mov dword [ebp - 0x30], 0xb
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x2c], edi
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x134]
mov dword [esi + 0x544], edi
jmp 0x4dfe63
mov edi, dword [ebp - 0x1e0]
mov ecx, dword [esi + 0x548]
test ecx, ecx
je 0x4dfe88
mov dword [ebp - 0x30], 9
lea edx, [ebp - 0x30]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x134]
jmp case.0x4dfba1.276
test edi, edi
je case.0x4dfba1.276
mov dword [ebp - 0x30], 9
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x2c], edi
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x134]
jmp case.0x4dfba1.276
cmp byte [esi + 0x5a4], 0
jne 0x4dfebe
push dword [esi]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x1b8]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x1c4], ecx
mov dword [esi + 0x550], ecx
push ecx
mov ecx, esi
mov dword [ebp - 0x1cc], eax
mov dword [esi + 0x554], eax
call sym.WnPicViewer.exe_public:_class_UiLib::CControlUI____thiscall_UiLib::CPaintManagerUI::FindControl_struct_tagPOINT_const
mov edi, eax
mov dword [ebp - 0x1e0], edi
test edi, edi
je case.0x4dfba1.276
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x1c]
call edx
cmp eax, esi
jne case.0x4dfba1.276
cmp byte [esi + 0x5a4], 0
mov dword [esi + 0x548], edi
jne 0x4dff26
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xf4]
mov ecx, esi
call sym.WnPicViewer.exe_public:_void___thiscall_UiLib::CPaintManagerUI::SetCapture_void_
mov ecx, dword [ebp - 0x1c4]
xorps xmm0, xmm0
mov eax, dword [ebp - 0x1bc]
movdqu xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x2c], edi
mov edi, dword [ebp - 0x1b8]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x1cc]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x30], 0xd
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x20], ecx
mov word [ebp - 0x1a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x1e0]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x28], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
mov ecx, 0x705478
call fcn.00516aa0
jmp case.0x4dfba1.276
cmp byte [esi + 0x5a4], 0
jne 0x4dffae
push dword [esi]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x1b8]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x1c4], ecx
mov dword [esi + 0x550], ecx
push ecx
mov ecx, esi
mov dword [ebp - 0x1cc], eax
mov dword [esi + 0x554], eax
call sym.WnPicViewer.exe_public:_class_UiLib::CControlUI____thiscall_UiLib::CPaintManagerUI::FindControl_struct_tagPOINT_const
mov edi, eax
test edi, edi
je case.0x4dfba1.276
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x1c]
call edx
cmp eax, esi
jne case.0x4dfba1.276
mov ecx, esi
call sym.WnPicViewer.exe_public:_void___thiscall_UiLib::CPaintManagerUI::SetCapture_void_
mov eax, dword [ebp - 0x1c4]
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1bc]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x30], 0x10
mov dword [ebp - 0x2c], edi
mov word [ebp - 0x1a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x30]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x134]
mov dword [esi + 0x548], edi
jmp case.0x4dfba1.276
mov eax, dword [ebp - 0x1b8]
movsx ecx, ax
shr eax, 0x10
cmp dword [esi + 0x548], 0
cwde
mov dword [ebp - 0x1c4], ecx
mov dword [ebp - 0x1cc], eax
mov dword [esi + 0x550], ecx
mov dword [esi + 0x554], eax
je case.0x4dfba1.276
mov ecx, esi
call sym.WnPicViewer.exe_public:_void___thiscall_UiLib::CPaintManagerUI::ReleaseCapture_void_
mov eax, dword [esi + 0x548]
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x1c4]
mov edi, dword [ebp - 0x1b8]
movdqu xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1bc]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x1cc]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x30], 0xe
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x20], ecx
mov word [ebp - 0x1a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x548]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x28], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
mov dword [esi + 0x548], 0
jmp case.0x4dfba1.276
cmp byte [esi + 0x5a4], 0
jne 0x4e011a
push dword [esi]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x1b8]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x1c4], ecx
mov dword [esi + 0x550], ecx
push ecx
mov ecx, esi
mov dword [ebp - 0x1cc], eax
mov dword [esi + 0x554], eax
call sym.WnPicViewer.exe_public:_class_UiLib::CControlUI____thiscall_UiLib::CPaintManagerUI::FindControl_struct_tagPOINT_const
mov edi, eax
mov dword [ebp - 0x1e0], edi
test edi, edi
je case.0x4dfba1.276
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x1c]
call edx
cmp eax, esi
jne case.0x4dfba1.276
cmp byte [esi + 0x5a4], 0
jne 0x4e017c
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xf4]
mov ecx, esi
call sym.WnPicViewer.exe_public:_void___thiscall_UiLib::CPaintManagerUI::SetCapture_void_
mov ecx, dword [ebp - 0x1c4]
xorps xmm0, xmm0
mov eax, dword [ebp - 0x1bc]
movdqu xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x2c], edi
mov edi, dword [ebp - 0x1b8]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x1cc]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x20], ecx
mov word [ebp - 0x1a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [ebp - 0x1e0]
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x28], eax
push ecx
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x134]
mov dword [esi + 0x548], edi
jmp case.0x4dfba1.276
mov ecx, dword [ebp - 0x1b8]
movsx eax, cx
mov dword [ebp - 0x1d0], eax
mov eax, ecx
shr eax, 0x10
cwde
mov dword [ebp - 0x1cc], eax
lea eax, [ebp - 0x1d0]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x1cc]
mov ecx, dword [ebp - 0x1d0]
push eax
mov dword [esi + 0x550], ecx
push ecx
mov ecx, esi
mov dword [esi + 0x554], eax
call sym.WnPicViewer.exe_public:_class_UiLib::CControlUI____thiscall_UiLib::CPaintManagerUI::FindControl_struct_tagPOINT_const
mov edi, eax
mov dword [ebp - 0x1c4], edi
test edi, edi
je case.0x4dfba1.276
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x1c]
call edx
cmp eax, esi
jne case.0x4dfba1.276
mov eax, dword [ebp - 0x1bc]
xorps xmm0, xmm0
shr eax, 0x10
movsx ecx, ax
xor eax, eax
test ecx, ecx
movq qword [ebp - 0x1c], xmm0
movdqu xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x2c], edi
sets al
mov edi, dword [ebp - 0x1b8]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x30], 0x12
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edi
call fcn.004fd4e0
mov word [ebp - 0x1a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x1c4]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x28], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
movzx ecx, word [esi + 0x554]
movzx eax, word [esi + 0x550]
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x200
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x4dfba1.276
mov ecx, dword [ebp - 0x1b8]
test ecx, ecx
je case.0x4dfba1.276
push ecx
push dword [ebp - 0x1bc]
lea eax, [edx + 0x2000]
push eax
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x1d8]
mov dword [ecx], eax
mov al, 1
jmp 0x4e08cd
mov eax, dword [ebp - 0x1b8]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x1c4], ecx
push ecx
mov ecx, esi
mov byte [esi + 0x5a1], 0
mov dword [ebp - 0x1cc], eax
call sym.WnPicViewer.exe_public:_class_UiLib::CControlUI____thiscall_UiLib::CPaintManagerUI::FindControl_struct_tagPOINT_const
mov edi, eax
mov dword [ebp - 0x1e0], edi
test edi, edi
je case.0x4dfba1.276
mov eax, dword [esi + 0x544]
test eax, eax
je 0x4e03a6
mov ecx, dword [ebp - 0x1c4]
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x1cc]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x30], 0xc
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x544]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x28], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
mov eax, dword [edi]
lea ecx, [ebp - 0xd4]
push ecx
mov ecx, edi
call dword [eax + 0x9c]
lea ecx, [ebp - 0xd4]
mov dword [ebp - 4], 2
call sym.WnPicViewer.exe_public:_bool___thiscall_UiLib::CDuiString::IsEmpty_void_const
test al, al
jne 0x4e0492
push 0x30
lea edi, [esi + 0x50]
push 0
push edi
call fcn.0052f1e0
mov eax, dword [esi]
lea ecx, [ebp - 0xd4]
add esp, 0xc
mov dword [edi], 0x30
mov dword [esi + 0x54], 1
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], eax
mov eax, dword [sym.WnPicViewer.exe_struct_HINSTANCE____UiLib::CPaintManagerUI::m_hInstance]
mov dword [esi + 0x70], eax
call sym.WnPicViewer.exe_public:_wchar_t_const____thiscall_UiLib::CDuiString::operator_wchar_t_const__void_const
mov ecx, dword [ebp - 0x1e0]
mov dword [esi + 0x74], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
cmp dword [esi + 0x4c], 0
movdqu xmm0, xmmword [eax]
movdqu xmmword [esi + 0x60], xmm0
jne 0x4e046f
push 0
push dword [sym.WnPicViewer.exe_struct_HINSTANCE____UiLib::CPaintManagerUI::m_hInstance]
push 0
push dword [esi]
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysReAllocString
push reloc.WS2_32.dll_closesocket
push 0
push str.tooltips_class32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push edi
push 0
push 0x432
mov dword [esi + 0x4c], eax
push eax
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
call eax
push edi
push 0
push 0x436
push dword [esi + 0x4c]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 1
push 0x411
push dword [esi + 0x4c]
call eax
lea ecx, [ebp - 0xd4]
mov dword [ebp - 4], 0xffffffff
call sym.WnPicViewer.exe_public:_void___thiscall_UiLib::CDuiString::destructor_void_
mov al, 1
jmp 0x4e08cd
cmp edx, 0xa90
ja 0x4e0700
je 0x4e0654
sub edx, 0x2a3
je 0x4e05aa
sub edx, 0x75
jne case.0x4dfba1.276
lea eax, [ebp - 0x20]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetClientRect]
mov edi, dword [ebp - 0x1bc]
push edi
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [esi + 0x53c]
mov dword [ebp - 0x1c4], eax
lea eax, [ebp - 0x20]
push eax
push edi
mov edx, dword [ecx]
call dword [edx + 0x148]
test byte [ebp - 0x1b8], 0x10
je 0x4e0598
push 5
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x1c0], eax
test eax, eax
je 0x4e0598
or dword [ebp - 0x1b8], 2
lea esp, [esp]
lea ecx, [ebp - 0x40]
xorps xmm0, xmm0
push ecx
push eax
movdqu xmmword [ebp - 0x40], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x40]
push eax
push dword [esi]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x3c]
push 0
neg eax
push eax
mov eax, dword [ebp - 0x40]
neg eax
push eax
push edi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
push dword [ebp - 0x1b8]
push edi
push 0x317
push dword [ebp - 0x1c0]
call dword [sym.imp.USER32.dll_SendMessageW]
push 2
push dword [ebp - 0x1c0]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x1c0], eax
test eax, eax
jne 0x4e0530
push dword [ebp - 0x1c4]
push edi
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp case.0x4dfba1.276
cmp dword [esi + 0x53c], 0
je case.0x4dfba1.276
mov ecx, dword [esi + 0x4c]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
test ecx, ecx
je 0x4e05d2
lea eax, [esi + 0x50]
push eax
push 0
push 0x411
push ecx
call edi
mov eax, dword [ebp - 0x1b8]
xorps xmm0, xmm0
movsx ecx, ax
shr eax, 0x10
movdqu xmmword [ebp - 0x2c], xmm0
cwde
mov dword [ebp - 0x30], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x544]
mov dword [ebp - 0x28], eax
test ecx, ecx
je 0x4e0648
mov dword [ebp - 0x30], 0xa
lea edx, [ebp - 0x30]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x134]
mov ecx, dword [esi + 0x4c]
mov dword [esi + 0x544], 0
test ecx, ecx
je 0x4e0648
lea eax, [esi + 0x50]
push eax
push 0
push 0x411
push ecx
call edi
mov byte [esi + 0x5a1], 0
jmp case.0x4dfba1.276
mov ecx, 0x705478
call sym.WnPicViewer.exe_public_virtual:_bool___thiscall_UiLib::CControlUI::GetAnimEffects_void_const
mov ecx, 0x705478
test al, al
je 0x4e06ba
call fcn.00517560
push 0x3c
lea eax, [ebp - 0x1b0]
mov dword [ebp - 0x1b4], 0
push 0
push eax
call fcn.0052f1e0
add esp, 0xc
lea eax, [ebp - 0x1b4]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_BeginPaint]
lea eax, [ebp - 0x1b4]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_EndPaint]
push 0
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov al, 1
jmp 0x4e08cd
call fcn.00516e20
test al, al
je 0x4deb84
push dword [esi]
mov ecx, 0x705478
call fcn.00516b00
push dword [esi]
mov ecx, 0x705478
call fcn.00516e70
test al, al
jne 0x4e06ed
mov ecx, 0x705478
call fcn.00516aa0
push 1
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov al, 1
jmp 0x4e08cd
cmp edx, 0xa91
je 0x4e0766
cmp edx, 0x8001
jne case.0x4dfba1.276
lea eax, [esi + 0x674]
xor edi, edi
mov ecx, eax
mov dword [ebp - 0x1c4], eax
call sym.WnPicViewer.exe_public:_struct_HWND______thiscall_UiLib::CWindowWnd::operator_struct_HWND____void_const
test eax, eax
jle 0x4e0759
mov esi, dword [ebp - 0x1c4]
push edi
mov ecx, esi
call sym.WnPicViewer.exe_public:_void____thiscall_UiLib::CStdPtrArray::operator___int_const
test eax, eax
je 0x4e0747
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov ecx, esi
inc edi
call sym.WnPicViewer.exe_public:_struct_HWND______thiscall_UiLib::CWindowWnd::operator_struct_HWND____void_const
cmp edi, eax
jl 0x4e0733
mov esi, dword [ebp - 0x1f8]
lea ecx, [esi + 0x674]
call sym.WnPicViewer.exe_public:_void___thiscall_UiLib::CStdPtrArray::Empty_void_
jmp case.0x4dfba1.276
mov eax, dword [esi + 0x53c]
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1bc]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x30], 0x1b
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov word [ebp - 0x1a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push dword [esi + 0x53c]
mov dword [ebp - 0x28], eax
mov ecx, esi
lea eax, [ebp - 0x30]
push eax
call sym.WnPicViewer.exe_public:_void___thiscall_UiLib::CPaintManagerUI::EventAllControl_struct_UiLib::tagTEventUI___class_UiLib::CControlUI__
push 0
lea ecx, [esi + 0x680]
call sym.WnPicViewer.exe_public:_void____thiscall_UiLib::CStdPtrArray::GetAt_int_const
mov edi, eax
mov dword [ebp - 0x1c0], edi
test edi, edi
je 0x4e08cb
jmp 0x4e07f0
push 0
lea ecx, [esi + 0x680]
call sym.WnPicViewer.exe_public:_bool___thiscall_UiLib::CStdPtrArray::Remove_int_
mov ecx, dword [edi + 0x108]
test ecx, ecx
je 0x4e0830
add ecx, 0x13c
call sym.WnPicViewer.exe_public:_struct_HWND______thiscall_UiLib::CWindowWnd::operator_struct_HWND____void_const
test eax, eax
jle 0x4e0830
mov ecx, dword [edi + 0x108]
push edi
add ecx, 0x13c
call fcn.004dc000
test al, al
jne 0x4e08ea
lea eax, [esi + 0x62c]
xor edi, edi
mov ecx, eax
mov dword [ebp - 0x1cc], eax
call sym.WnPicViewer.exe_public:_struct_HWND______thiscall_UiLib::CWindowWnd::operator_struct_HWND____void_const
test eax, eax
jle 0x4e0879
mov esi, dword [ebp - 0x1c0]
nop
mov ecx, dword [ebp - 0x1cc]
push edi
call sym.WnPicViewer.exe_public:_void____thiscall_UiLib::CStdPtrArray::operator___int_const
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, dword [ebp - 0x1cc]
inc edi
call sym.WnPicViewer.exe_public:_struct_HWND______thiscall_UiLib::CWindowWnd::operator_struct_HWND____void_const
cmp edi, eax
jl 0x4e0850
mov esi, dword [ebp - 0x1f8]
mov edi, dword [ebp - 0x1c0]
mov dword [ebp - 0x1c4], edi
lea ecx, [edi + 0x84]
mov dword [ebp - 4], 4
call sym.WnPicViewer.exe_public:_void___thiscall_UiLib::CDuiString::destructor_void_
mov ecx, edi
mov dword [ebp - 4], 0xffffffff
call sym.WnPicViewer.exe_public:_void___thiscall_UiLib::CDuiString::destructor_void_
push edi
call fcn.0052d900
add esp, 4
lea ecx, [esi + 0x680]
push 0
call sym.WnPicViewer.exe_public:_void____thiscall_UiLib::CStdPtrArray::GetAt_int_const
mov edi, eax
mov dword [ebp - 0x1c0], eax
test edi, edi
jne 0x4e07f0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052dfa4
mov esp, ebp
pop ebp
ret 0x10
mov dword [ebp - 0x1c4], edi
lea ecx, [edi + 0x84]
mov dword [ebp - 4], 3
call sym.WnPicViewer.exe_public:_void___thiscall_UiLib::CDuiString::destructor_void_
mov ecx, edi
mov dword [ebp - 4], 0xffffffff
call sym.WnPicViewer.exe_public:_void___thiscall_UiLib::CDuiString::destructor_void_
push edi
call fcn.0052d900
add esp, 4
mov al, 1
jmp 0x4e08cd