Function at 0x474fd0
Capabilities:
Check for time delay via gettickcount
Check for unmoving mouse cursor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c64c1
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [0x624500]
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 - 0x148], esi
cmp dword [esi + 0x34], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x130], eax
je case.0x4768fb.276
lea ecx, [esi + 0x288]
mov dword [ebp - 0x11c], 0
call fcn.00481060
mov edi, dword [ebp - 0x118]
test eax, eax
jle 0x4750a0
xor ecx, ecx
nop dword [eax + eax]
push ecx
lea ecx, [esi + 0x288]
mov byte [ebp - 0x11d], 0
call fcn.00480c50
mov ecx, dword [eax]
mov edx, dword [ecx]
lea ecx, [ebp - 0x11d]
push ecx
push edi
push dword [ebp - 0x114]
mov ecx, eax
push dword [ebp + 8]
call edx
cmp byte [ebp - 0x11d], 0
jne 0x4750f8
inc dword [ebp - 0x11c]
lea ecx, [esi + 0x288]
call fcn.00481060
mov ecx, dword [ebp - 0x11c]
cmp ecx, eax
jl 0x475050
cmp byte [esi + 0x123], 0
mov edx, dword [ebp + 8]
je 0x4751a1
mov eax, edx
sub eax, 0x83
je 0x47518e
sub eax, 2
je 0x47518e
sub eax, 1
jne 0x4751a1
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x4751e7
cmp dword [ebp - 0x114], eax
mov ecx, dword [ebp - 0x130]
sete al
mov dword [ecx], eax
mov al, 1
jmp 0x4779e8
mov ecx, dword [ebp - 0x130]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
cmp eax, 0x203
ja 0x47513d
cmp eax, 0x200
jae 0x47511d
cmp eax, 0x7b
je 0x475144
mov al, 1
jmp 0x4779e8
mov eax, dword [ebp - 0x118]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [esi + 0xbc], eax
mov al, 1
mov dword [esi + 0xb8], ecx
jmp 0x4779e8
cmp eax, 0x20a
jne 0x475187
mov ecx, dword [ebp - 0x118]
movsx eax, cx
mov dword [ebp - 0x154], eax
shr ecx, 0x10
movsx eax, cx
mov dword [ebp - 0x150], eax
lea eax, [ebp - 0x154]
push eax
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x154]
mov dword [esi + 0xb8], eax
mov eax, dword [ebp - 0x150]
mov dword [esi + 0xbc], eax
mov al, 1
jmp 0x4779e8
mov ecx, dword [ebp - 0x130]
mov al, 1
mov dword [ecx], 0
jmp 0x4779e8
cmp edx, 0x111
ja 0x4768d1
jne 0x4751ea
mov eax, dword [ebp - 0x118]
test eax, eax
je case.0x4768fb.276
push eax
push dword [ebp - 0x114]
push 0x2111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x130]
mov dword [ecx], eax
test eax, eax
je case.0x4768fb.276
mov al, 1
jmp 0x4779e8
mov edx, dword [ebp + 8]
lea eax, [edx - 5]
cmp eax, 0xfd
ja case.0x4768fb.276
movzx eax, byte [eax + 0x477a44]
jmp dword [eax*4 + 0x477a08]
mov eax, dword [esi + 0xb8]
xorps xmm0, xmm0
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0xbc]
movlpd qword [ebp - 0x30], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x20], eax
call fcn.00474f80
mov word [ebp - 0x1a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xa4]
mov dword [ebp - 0x28], eax
test ecx, ecx
je 0x47525d
mov dword [ebp - 0x30], 0xa
lea edx, [ebp - 0x30]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x180]
mov ecx, dword [esi + 0xac]
test ecx, ecx
je 0x47527d
mov dword [ebp - 0x30], 0xe
lea edx, [ebp - 0x30]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x180]
push 0
mov ecx, esi
call fcn.0047d6b0
mov edi, dword [esi + 0x34]
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, edi
jne 0x4752a7
push 4
push edi
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je 0x4752a7
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0x54]
test eax, eax
je case.0x4768fb.276
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi + 0x54], 0
jmp case.0x4768fb.276
mov ecx, dword [ebp - 0x130]
mov al, 1
mov dword [ecx], 1
jmp 0x4779e8
cmp dword [esi + 0x9c], 0
jne 0x475336
push 0x40
lea eax, [ebp - 0xc0]
push 0
push eax
call fcn.0058d810
add esp, 0xc
lea eax, [ebp - 0xc0]
push eax
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_BeginPaint]
push 0
push 0
push 0xff000000
lea eax, [ebp - 0xb8]
push eax
push dword [esi + 0x38]
call fcn.004a3780
add esp, 0x14
lea eax, [ebp - 0xc0]
push eax
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_EndPaint]
mov al, 1
jmp 0x4779e8
lea eax, [ebp - 0x70]
xorps xmm0, xmm0
push eax
push dword [esi + 0x34]
movups xmmword [ebp - 0x70], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x68]
sub eax, dword [ebp - 0x70]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x64]
sub eax, dword [ebp - 0x6c]
push 0x40
mov dword [ebp - 0x118], eax
lea eax, [ebp - 0x100]
push 0
push eax
call fcn.0058d810
mov edi, dword [sym.imp.USER32.dll_IsRectEmpty]
add esp, 0xc
cmp byte [esi + 0x123], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
je 0x4753a5
push 0
lea eax, [ebp - 0x40]
push eax
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
jne 0x4753ce
mov al, 1
jmp 0x4779e8
lea eax, [ebp - 0x100]
push eax
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_BeginPaint]
movups xmm0, xmmword [ebp - 0xf8]
lea eax, [ebp - 0x40]
push eax
movups xmmword [ebp - 0x40], xmm0
call edi
test eax, eax
jne 0x4755ec
cmp byte [esi + 0x120], 0
je 0x4753e0
push 1
mov ecx, esi
call fcn.0047dc30
cmp byte [esi + 0x11f], 0
mov byte [ebp - 0x11d], 0
mov byte [esi + 0x21a], 1
je 0x475616
lea eax, [ebp - 0x70]
mov byte [esi + 0x11f], 0
push eax
call edi
test eax, eax
jne 0x475698
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x475698
mov ecx, dword [esi + 0x9c]
call fcn.00484220
test al, al
je 0x4754ea
movups xmm0, xmmword [ebp - 0x70]
mov eax, dword [esi + 0x3c]
mov edi, dword [sym.imp.GDI32.dll_DeleteDC]
movups xmmword [ebp - 0x20], xmm0
movups xmmword [ebp - 0x50], xmm0
test eax, eax
je 0x475450
push eax
call edi
mov eax, dword [esi + 0x40]
test eax, eax
je 0x47545a
push eax
call edi
mov eax, dword [esi + 0x44]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x47546a
push eax
call edi
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x475474
push eax
call edi
cmp byte [esi + 0x123], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x4c], 0
je 0x4754c3
mov eax, dword [esi + 0x124]
add dword [ebp - 0x50], eax
mov eax, dword [esi + 0x128]
add dword [ebp - 0x4c], eax
mov eax, dword [esi + 0x12c]
sub dword [ebp - 0x48], eax
mov eax, dword [esi + 0x130]
sub dword [ebp - 0x44], eax
movups xmm0, xmmword [ebp - 0x50]
jmp 0x4754c7
movups xmm0, xmmword [ebp - 0x20]
mov ecx, dword [esi + 0x9c]
push 1
sub esp, 0x10
mov eax, dword [ecx]
mov edx, dword [eax + 0x70]
mov eax, esp
movups xmmword [eax], xmm0
call edx
mov byte [ebp - 0x11d], 1
jmp 0x475592
lea ecx, [esi + 0x2e8]
call fcn.00480df0
mov ecx, dword [esi + 0x9c]
push reloc.OLEAUT32.dll_VariantCopy
push 0
push 0x47eb80
mov eax, dword [ecx]
call dword [eax + 0x174]
xor edi, edi
lea ecx, [esi + 0x2e8]
mov dword [ebp - 0x11c], edi
call fcn.00481060
test eax, eax
jle 0x475592
nop word [eax + eax]
push edi
lea ecx, [esi + 0x2e8]
call fcn.00480c50
mov ecx, eax
mov dword [ebp - 0x12c], eax
mov edx, dword [eax]
mov edi, dword [edx + 0x70]
mov edx, dword [edx + 0x68]
call edx
push 1
sub esp, 0x10
mov ecx, esp
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
mov ecx, dword [ebp - 0x12c]
call edi
mov eax, dword [ebp - 0x12c]
lea ecx, [esi + 0x2e8]
cmp eax, dword [esi + 0x9c]
mov edi, dword [ebp - 0x11c]
sete byte [ebp - 0x11d]
inc edi
mov dword [ebp - 0x11c], edi
call fcn.00481060
cmp edi, eax
jl 0x475530
cmp byte [esi + 0x11e], 0
je 0x475698
mov ecx, dword [esi + 0x9c]
push 0
push 0
push 0
sub esp, 8
mov byte [esi + 0x11e], 0
mov eax, esp
push ecx
mov ecx, esi
mov dword [eax], str.windowinit
mov dword [eax + 4], 0xa
call fcn.0047c9b0
cmp byte [esi + 0x123], 0
je 0x475603
cmp byte [esi + 0x134], 0
je 0x475603
mov ecx, esi
call fcn.00474cb0
mov byte [esi + 0x21a], 0
lea eax, [ebp - 0x100]
push eax
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_EndPaint]
mov al, 1
jmp 0x4779e8
push dword [esi + 0x34]
lea ecx, [esi + 0x438]
call fcn.0049e860
jmp 0x475698
cmp byte [esi + 0x123], 0
je 0x475717
cmp byte [esi + 0x134], 0
je 0x475698
movups xmm0, xmmword [ebp - 0x70]
mov edx, dword [esi + 0x48]
movups xmmword [ebp - 0x50], xmm0
test edx, edx
je 0x475659
mov ecx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x68]
sub ecx, dword [ebp - 0x6c]
sub eax, dword [ebp - 0x70]
imul ecx, eax
shl ecx, 2
push ecx
push 0
push edx
call fcn.0058d810
add esp, 0xc
mov eax, dword [esi + 0x124]
add dword [ebp - 0x50], eax
mov eax, dword [esi + 0x128]
add dword [ebp - 0x4c], eax
mov eax, dword [esi + 0x12c]
sub dword [ebp - 0x48], eax
mov ecx, dword [esi + 0x9c]
mov eax, dword [esi + 0x130]
sub dword [ebp - 0x44], eax
movups xmm0, xmmword [ebp - 0x50]
mov eax, dword [ecx]
push 1
sub esp, 0x10
mov edx, dword [eax + 0x70]
mov eax, esp
movups xmmword [eax], xmm0
call edx
cmp byte [esi + 0x123], 0
je 0x475717
push 0xffffffffffffffec
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, 0x80000
cmp eax, ecx
je 0x4756c4
push ecx
push 0xffffffffffffffec
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea edi, [esi + 0x138]
mov byte [esi + 0x121], 1
push edi
lea eax, [ebp - 0x40]
push eax
push eax
call dword [sym.imp.USER32.dll_UnionRect]
mov ecx, dword [ebp - 0x70]
xorps xmm0, xmm0
cmp dword [ebp - 0x40], ecx
movups xmmword [edi], xmm0
cmovg ecx, dword [ebp - 0x40]
mov dword [ebp - 0x40], ecx
mov ecx, dword [ebp - 0x6c]
cmp dword [ebp - 0x3c], ecx
cmovg ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x38]
cmp ecx, dword [ebp - 0x68]
cmovg ecx, dword [ebp - 0x68]
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x34]
cmp ecx, dword [ebp - 0x64]
cmovg ecx, dword [ebp - 0x64]
mov dword [ebp - 0x34], ecx
cmp byte [esi + 0x121], 0
je 0x475780
cmp dword [esi + 0x44], 0
jne 0x475780
push dword [esi + 0x38]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
lea edi, [esi + 0x48]
mov dword [esi + 0x3c], eax
push edi
push dword [ebp - 0x118]
push dword [ebp - 0x114]
push dword [esi + 0x38]
call fcn.004a3420
add esp, 0x10
mov dword [esi + 0x44], eax
test eax, eax
je 0x475759
cmp dword [edi], 0
jne 0x475780
cmp byte [esi + 0x123], 0
jne 0x475772
lea eax, [ebp - 0x100]
push eax
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_EndPaint]
mov ecx, esi
call fcn.00474cb0
mov al, 1
jmp 0x4779e8
cmp byte [esi + 0x123], 0
je 0x475799
lea eax, [ebp - 0x100]
push eax
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_BeginPaint]
cmp byte [esi + 0x121], 0
je 0x47628f
push dword [esi + 0x44]
push dword [esi + 0x3c]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esi + 0x3c]
mov dword [ebp - 0x124], eax
call dword [sym.imp.GDI32.dll_SaveDC]
cmp dword [esi + 0x48], 0
mov dword [ebp - 0x140], eax
je 0x475855
mov eax, dword [ebp - 0x64]
mov edx, 0
mov ecx, eax
sub ecx, dword [ebp - 0x34]
cmovns edx, ecx
sub eax, dword [ebp - 0x3c]
mov ecx, edx
mov dword [ebp - 0x11c], edx
cmp ecx, eax
jge 0x475855
mov edi, dword [ebp - 0x38]
mov eax, ecx
imul eax, dword [ebp - 0x114]
mov dword [ebp - 0x138], eax
mov edx, dword [ebp - 0x40]
cmp edx, edi
jge 0x475832
lea ecx, [edx + eax]
shl ecx, 2
nop
mov eax, dword [esi + 0x48]
lea ecx, [ecx + 4]
inc edx
mov dword [ecx + eax - 4], 0
mov edi, dword [ebp - 0x38]
cmp edx, edi
jl 0x475810
mov ecx, dword [ebp - 0x11c]
mov eax, dword [ebp - 0x138]
add eax, dword [ebp - 0x114]
inc ecx
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x64]
sub eax, dword [ebp - 0x3c]
cmp ecx, eax
mov dword [ebp - 0x11c], ecx
mov eax, dword [ebp - 0x138]
jl 0x475802
cmp byte [esi + 0x50d], 0
je 0x475b15
mov ecx, 0x62a620
call fcn.00481910
test al, al
jne 0x475b05
push 2
push 0xff
push 0
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
cmp dword [esi + 0x510], 0
je 0x475b05
push dword [esi + 0x38]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [ebp - 0x118]
mov edi, eax
push dword [ebp - 0x114]
mov dword [ebp - 0x11c], edi
push dword [esi + 0x38]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebp - 0x138], eax
test edi, edi
je 0x475aef
test eax, eax
je 0x475afa
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_CreateRectRgn]
mov edi, eax
mov ecx, 0x62a620
mov dword [ebp - 0x134], edi
call fcn.00481060
test eax, eax
jle 0x475a6b
xor esi, esi
push esi
mov ecx, 0x62a620
call fcn.00480c50
mov edi, eax
test edi, edi
je 0x475a4c
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x68]
call edx
mov ecx, edi
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x108]
push eax
movups xmmword [ebp - 0x50], xmm0
call fcn.004839c0
cmp dword [ebp - 0x108], 0
jne 0x47595f
cmp dword [ebp - 0x104], 0
jne 0x47595f
push dword [ebp - 0x44]
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
call dword [sym.imp.GDI32.dll_CreateRectRgn]
mov edi, eax
jmp 0x475a30
lea eax, [ebp - 0x154]
mov dword [ebp - 0x154], 0
push eax
push 0
call sub.gdiplus.dll_GdipCreatePath
mov dword [ebp - 0x150], eax
lea eax, [ebp - 0x154]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.004a34a0
add esp, 0xc
mov dword [ebp - 0x12c], 0
lea eax, [ebp - 0x12c]
push eax
push dword [ebp - 0x11c]
call sub.gdiplus.dll_GdipCreateFromHDC
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x14c], eax
lea eax, [ebp - 0x130]
push eax
push dword [ebp - 0x154]
mov dword [ebp - 0x130], 0
call sub.gdiplus.dll_GdipCreateRegionPath
mov edi, dword [ebp - 0x130]
lea eax, [ebp - 0x158]
push eax
push dword [ebp - 0x14c]
push edi
call sub.gdiplus.dll_GdipGetRegionHRgn
mov eax, dword [ebp - 0x158]
push edi
mov dword [ebp - 0x13c], eax
call sub.gdiplus.dll_GdipDeleteRegion
push dword [ebp - 0x14c]
call sub.gdiplus.dll_GdipDeleteGraphics
push dword [ebp - 0x154]
mov dword [ebp - 4], 0xffffffff
call sub.gdiplus.dll_GdipDeletePath
mov edi, dword [ebp - 0x13c]
mov eax, dword [ebp - 0x134]
push 2
push edi
push eax
push eax
call dword [sym.imp.GDI32.dll_CombineRgn]
test edi, edi
je 0x475a4c
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, 0x62a620
inc esi
call fcn.00481060
cmp esi, eax
jl 0x475901
mov esi, dword [ebp - 0x148]
mov edi, dword [ebp - 0x134]
push edi
push dword [ebp - 0x11c]
call dword [sym.imp.GDI32.dll_SelectClipRgn]
test edi, edi
je 0x475a83
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edi, dword [ebp - 0x11c]
push 0xcc0020
push 0
push 0
push dword [esi + 0x510]
push dword [ebp - 0x118]
push dword [ebp - 0x114]
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je 0x475ae9
push 0xcc0020
push 0
push 0
push edi
push dword [ebp - 0x118]
push dword [ebp - 0x114]
push 0
push 0
push dword [esi + 0x3c]
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
mov eax, dword [ebp - 0x138]
je 0x475aef
mov byte [esi + 0x50f], 1
jmp 0x475aef
mov eax, dword [ebp - 0x138]
test eax, eax
je 0x475afa
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
test edi, edi
je 0x475b05
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp byte [esi + 0x50d], 0
je 0x475b15
mov byte [esi + 0x50e], 1
mov ecx, dword [esi + 0x9c]
lea edx, [ebp - 0x40]
push 0
push edx
push dword [esi + 0x3c]
mov eax, dword [ecx]
call dword [eax + 0x194]
cmp byte [esi + 0x50e], 0
je 0x475b3e
mov word [esi + 0x50e], 0
cmp byte [esi + 0x123], 0
je 0x475dae
lea ecx, [esi + 0x2a8]
mov dword [ebp - 0x130], 0
call fcn.00481060
test eax, eax
jle 0x475dae
xor ecx, ecx
nop word [eax + eax]
push ecx
lea ecx, [esi + 0x2a8]
call fcn.00480c50
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x475bb0
push dword [ebp - 0x130]
lea ecx, [esi + 0x2a8]
call fcn.004812d0
push dword [ebp - 0x130]
lea ecx, [esi + 0x2b8]
call fcn.004812d0
jmp 0x475d95
inc dword [ebp - 0x130]
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x475d95
push edi
lea eax, [ebp - 0x110]
mov ecx, esi
push eax
call fcn.004747f0
lea eax, [ebp - 0x110]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x20]
push eax
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x475d95
push dword [esi + 0x3c]
mov dword [ebp - 0x12c], 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x11c], eax
push ecx
mov ecx, dword [ebp - 0x104]
sub ecx, dword [ebp - 0x10c]
push ecx
mov ecx, dword [ebp - 0x108]
sub ecx, dword [ebp - 0x110]
push ecx
push eax
call fcn.004a3420
mov edx, dword [ebp - 0x108]
mov ecx, dword [ebp - 0x104]
sub edx, dword [ebp - 0x110]
sub ecx, dword [ebp - 0x10c]
imul edx, ecx
mov dword [ebp - 0x14c], eax
shl edx, 2
push edx
push 0
push dword [ebp - 0x12c]
call fcn.0058d810
add esp, 0x1c
push dword [ebp - 0x14c]
push dword [ebp - 0x11c]
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x35
push dword [ebp - 0x11c]
mov dword [ebp - 0x13c], eax
push 0x317
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0x104]
mov ecx, edx
sub ecx, dword [ebp - 0x10c]
mov edi, dword [ebp - 0x108]
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], edx
test ecx, ecx
jle 0x475d43
mov esi, dword [ebp - 0x110]
mov ecx, dword [ebp - 0x138]
mov eax, edi
xor edx, edx
sub eax, esi
test eax, eax
jle 0x475d24
nop dword [eax + eax]
imul ecx, eax
mov eax, dword [ebp - 0x12c]
add ecx, edx
lea ecx, [eax + ecx*4]
mov eax, dword [ecx]
test eax, eax
je 0x475d07
or eax, 0xff000000
mov dword [ecx], eax
mov edi, dword [ebp - 0x108]
mov esi, dword [ebp - 0x110]
mov ecx, dword [ebp - 0x138]
mov eax, edi
inc edx
sub eax, esi
cmp edx, eax
jl 0x475ce0
mov edx, dword [ebp - 0x104]
mov dword [ebp - 0x134], edx
jmp 0x475d2a
mov edx, dword [ebp - 0x134]
mov eax, edx
inc ecx
sub eax, dword [ebp - 0x10c]
mov dword [ebp - 0x138], ecx
cmp ecx, eax
jl 0x475cd1
mov esi, dword [ebp - 0x148]
mov ecx, dword [ebp - 0x10c]
sub edx, ecx
mov eax, dword [ebp - 0x110]
sub edi, eax
push 0xcc0020
push 0
push 0
push dword [ebp - 0x11c]
push edx
push edi
push ecx
push eax
push dword [esi + 0x3c]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x13c]
mov edi, dword [ebp - 0x11c]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x14c]
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
lea ecx, [esi + 0x2a8]
call fcn.00481060
mov ecx, dword [ebp - 0x130]
cmp ecx, eax
jl 0x475b70
lea ecx, [esi + 0x298]
xor edi, edi
call fcn.00481060
test eax, eax
jle 0x475def
nop
push edi
lea ecx, [esi + 0x298]
call fcn.00480c50
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1b8]
lea ecx, [ebp - 0x40]
push ecx
push dword [esi + 0x3c]
mov ecx, eax
call edx
lea ecx, [esi + 0x298]
inc edi
call fcn.00481060
cmp edi, eax
jl 0x475dc0
push dword [ebp - 0x140]
push dword [esi + 0x3c]
call dword [sym.imp.GDI32.dll_RestoreDC]
cmp byte [esi + 0x123], 0
je 0x4761fa
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push dword [esi + 0x34]
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
cmp dword [esi + 0x158], 0
mov edx, dword [ebp - 0x64]
je 0x4760c8
mov eax, dword [ebp - 0x68]
mov edi, edx
sub eax, dword [ebp - 0x70]
movups xmm0, xmmword [ebp - 0x70]
sub edi, dword [ebp - 0x6c]
mov dword [ebp - 0x130], eax
mov eax, dword [esi + 0x124]
add eax, dword [ebp - 0x70]
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x50], eax
mov eax, dword [esi + 0x128]
add dword [ebp - 0x4c], eax
mov eax, dword [esi + 0x12c]
sub dword [ebp - 0x48], eax
mov eax, dword [esi + 0x130]
sub dword [ebp - 0x44], eax
cmp dword [esi + 0x4c], 0
mov dword [ebp - 0x134], edi
jne 0x475eec
push dword [esi + 0x38]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
lea edi, [esi + 0x50]
mov dword [esi + 0x40], eax
push edi
push dword [ebp - 0x134]
push dword [ebp - 0x130]
push dword [esi + 0x38]
call fcn.004a3420
mov dword [esi + 0x4c], eax
mov eax, dword [ebp - 0x134]
imul eax, dword [ebp - 0x130]
shl eax, 2
push eax
push 0
push dword [edi]
call fcn.0058d810
add esp, 0x1c
push dword [esi + 0x4c]
push dword [esi + 0x40]
call dword [sym.imp.GDI32.dll_SelectObject]
xorps xmm0, xmm0
mov dword [ebp - 0xa0], vtable.DuiLib::CRenderClip.0
movups xmmword [ebp - 0x9c], xmm0
mov dword [ebp - 4], 1
jmp 0x475f2c
cmp byte [esi + 0x134], 0
je 0x475f76
imul edi, dword [ebp - 0x130]
shl edi, 2
push edi
push 0
push dword [esi + 0x50]
call fcn.0058d810
xorps xmm0, xmm0
mov dword [ebp - 0xa0], vtable.DuiLib::CRenderClip.0
add esp, 0xc
movups xmmword [ebp - 0x9c], xmm0
mov dword [ebp - 4], 2
movups xmm0, xmmword [ebp - 0x50]
lea eax, [ebp - 0xa0]
push eax
sub esp, 0x10
mov eax, esp
push dword [esi + 0x40]
movups xmmword [eax], xmm0
call fcn.004ae470
push 0
lea eax, [esi + 0x148]
push eax
lea eax, [ebp - 0x50]
push eax
push eax
push esi
push dword [esi + 0x40]
call fcn.004a8960
add esp, 0x30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0]
call fcn.004a26e0
mov edx, dword [ebp - 0x64]
mov eax, edx
mov edi, 0
sub eax, dword [ebp - 0x34]
cmovns edi, eax
mov eax, edx
sub eax, dword [ebp - 0x3c]
mov dword [ebp - 0x148], edi
cmp edi, eax
jge 0x47616f
mov eax, dword [ebp - 0x130]
imul edi, eax
mov dword [ebp - 0x138], edi
nop word [eax + eax]
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x134], ecx
cmp ecx, dword [ebp - 0x38]
jge 0x47609b
lea edx, [edi + ecx]
shl edx, 2
mov dword [ebp - 0x14c], edx
nop
add ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x50]
add ecx, edi
mov dword [ebp - 0x12c], ecx
movzx edi, byte [eax + edx + 3]
mov eax, dword [ecx]
shr eax, 0x10
movzx ecx, al
mov eax, 0x80808081
imul ecx, edi
mul ecx
mov eax, edx
shr eax, 7
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x12c]
mov eax, dword [eax]
shr eax, 8
movzx ecx, al
mov eax, 0x80808081
imul ecx, edi
mul ecx
mov ecx, dword [ebp - 0x12c]
mov eax, edx
shr eax, 7
mov dword [ebp - 0x13c], eax
mov eax, dword [ecx]
movzx ecx, al
mov eax, 0x80808081
imul ecx, edi
shl edi, 0x18
mul ecx
mov eax, dword [ebp - 0x140]
movzx ecx, al
mov eax, dword [ebp - 0x13c]
shl ecx, 8
movzx eax, al
or ecx, eax
shr edx, 7
shl ecx, 8
movzx eax, dl
mov edx, dword [ebp - 0x14c]
or ecx, eax
mov eax, dword [ebp - 0x12c]
add ecx, edi
mov edi, dword [ebp - 0x138]
add edx, 4
mov dword [ebp - 0x14c], edx
mov dword [eax], ecx
mov ecx, dword [ebp - 0x134]
inc ecx
mov dword [ebp - 0x134], ecx
cmp ecx, dword [ebp - 0x38]
jl 0x475fd0
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x130]
mov ecx, dword [ebp - 0x148]
add edi, eax
mov eax, edx
mov dword [ebp - 0x138], edi
sub eax, dword [ebp - 0x3c]
inc ecx
cmp ecx, eax
mov dword [ebp - 0x148], ecx
mov eax, dword [ebp - 0x130]
jl 0x475fb0
jmp 0x47616f
mov eax, edx
mov ecx, 0
sub eax, dword [ebp - 0x34]
cmovns ecx, eax
mov eax, edx
sub eax, dword [ebp - 0x3c]
mov dword [ebp - 0x134], ecx
cmp ecx, eax
jge 0x47616f
mov edi, dword [ebp - 0x38]
mov eax, ecx
imul eax, dword [ebp - 0x114]
mov dword [ebp - 0x12c], eax
nop word [eax + eax]
mov ecx, dword [ebp - 0x40]
cmp ecx, edi
jge 0x476147
lea edx, [ecx + eax]
shl edx, 2
nop dword [eax]
mov eax, dword [esi + 0x48]
cmp byte [eax + edx + 3], 0
jne 0x476136
cmp byte [eax + edx], 0
jne 0x47612e
cmp byte [eax + edx + 1], 0
jne 0x47612e
cmp byte [eax + edx + 2], 0
je 0x476136
mov byte [eax + edx + 3], 0xff
mov edi, dword [ebp - 0x38]
inc ecx
add edx, 4
cmp ecx, edi
jl 0x476110
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x12c]
add eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x134]
mov dword [ebp - 0x12c], eax
inc ecx
mov eax, edx
mov dword [ebp - 0x134], ecx
sub eax, dword [ebp - 0x3c]
cmp ecx, eax
mov eax, dword [ebp - 0x12c]
jl 0x476100
mov al, byte [esi + 0x122]
mov byte [ebp - 0x11a], al
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x118]
push 2
mov dword [ebp - 0x150], eax
lea eax, [ebp - 0x11c]
push eax
push 0
lea eax, [ebp - 0x108]
mov word [ebp - 0x11c], 0
push eax
push dword [esi + 0x3c]
lea eax, [ebp - 0x154]
mov byte [ebp - 0x119], 1
push eax
lea eax, [ebp - 0x15c]
mov dword [ebp - 0x108], 0
push eax
push dword [esi + 0x38]
mov dword [ebp - 0x104], 0
push dword [esi + 0x34]
call dword [0x62a510]
jmp 0x476221
mov edx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x34]
push 0xcc0020
push edx
push ecx
push dword [esi + 0x3c]
sub eax, edx
push eax
mov eax, dword [ebp - 0x38]
sub eax, ecx
push eax
push edx
push ecx
push dword [esi + 0x38]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x124]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [esi + 0x3c]
call edi
cmp byte [esi + 0x99], 0
je 0x47630e
cmp byte [esi + 0x123], 0
jne 0x47630e
push dword [0x62a514]
push dword [esi + 0x38]
call edi
push 5
mov edi, eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push dword [esi + 0x38]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push dword [esi + 0x38]
call dword [sym.imp.GDI32.dll_Rectangle]
push edi
push dword [esi + 0x38]
call dword [sym.imp.GDI32.dll_SelectObject]
jmp 0x47630e
push dword [esi + 0x38]
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [esi + 0x9c]
mov dword [ebp - 0x124], eax
lea eax, [ebp - 0x40]
push 0
push eax
mov edx, dword [ecx]
push dword [esi + 0x38]
call dword [edx + 0x194]
lea ecx, [esi + 0x298]
xor edi, edi
call fcn.00481060
test eax, eax
jle 0x4762ff
nop word [eax + eax]
push edi
lea ecx, [esi + 0x298]
call fcn.00480c50
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1b8]
lea ecx, [ebp - 0x40]
push ecx
push dword [esi + 0x38]
mov ecx, eax
call edx
lea ecx, [esi + 0x298]
inc edi
call fcn.00481060
cmp edi, eax
jl 0x4762d0
push dword [ebp - 0x124]
push dword [esi + 0x38]
call dword [sym.imp.GDI32.dll_RestoreDC]
lea eax, [ebp - 0x100]
push eax
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_EndPaint]
cmp byte [esi + 0x11f], 0
mov byte [esi + 0x21a], 0
mov byte [esi + 0x134], 0
je 0x476368
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push dword [esi + 0x34]
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
lea ecx, [ebp - 0x20]
lea eax, [esi + 0x138]
push ecx
push eax
push eax
call dword [sym.imp.USER32.dll_UnionRect]
push 0
push 0
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_InvalidateRect]
cmp byte [ebp - 0x11d], 0
je 0x475187
mov ecx, dword [esi + 0x9c]
push 1
push 0
push 0
sub esp, 8
mov eax, esp
push ecx
mov ecx, esi
mov dword [eax], str.windowsize
mov dword [eax + 4], 0xa
call fcn.0047c9b0
mov al, 1
jmp 0x4779e8
lea eax, [ebp - 0xa8]
xorps xmm0, xmm0
push eax
push 1
push dword [esi + 0x34]
movups xmmword [ebp - 0xa8], xmm0
mov dword [ebp - 0xa8], 0x28
movups xmmword [ebp - 0x98], xmm0
movq qword [ebp - 0x88], xmm0
call dword [sym.imp.USER32.dll_MonitorFromWindow]
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
cmp dword [ebp - 0x84], 1
movups xmm0, xmmword [ebp - 0x94]
movups xmmword [ebp - 0x20], xmm0
je 0x47640e
mov eax, dword [ebp - 0x90]
neg eax
push eax
mov eax, dword [ebp - 0x94]
neg eax
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [esi + 0xc8]
mov eax, dword [ebp - 0x118]
test ecx, ecx
jle 0x476421
mov dword [eax + 0x18], ecx
mov ecx, dword [esi + 0xcc]
test ecx, ecx
jle 0x47642e
mov dword [eax + 0x1c], ecx
mov ecx, dword [esi + 0xd0]
test ecx, ecx
jle 0x47643b
mov dword [eax + 0x20], ecx
mov ecx, dword [esi + 0xd4]
test ecx, ecx
jle 0x476448
mov dword [eax + 0x24], ecx
mov ecx, dword [esi + 0xd0]
test ecx, ecx
jle 0x476455
mov dword [eax + 8], ecx
mov ecx, dword [esi + 0xd4]
test ecx, ecx
jle case.0x4768fb.276
mov dword [eax + 0xc], ecx
jmp case.0x4768fb.276
mov eax, dword [esi + 0xa0]
test eax, eax
je 0x4764a6
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0x1d
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x2c], eax
movq qword [ebp - 0x18], xmm0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xa0]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x28], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x180]
mov ecx, dword [esi + 0x9c]
test ecx, ecx
je 0x475187
call fcn.00484330
mov al, 1
jmp 0x4779e8
mov ecx, esi
call fcn.0047aef0
jmp case.0x4768fb.276
cmp dword [esi + 0x9c], 0
je case.0x4768fb.276
mov ecx, dword [ebp - 0x118]
movsx eax, cx
mov dword [ebp - 0x128], eax
shr ecx, 0x10
movsx eax, cx
mov dword [ebp - 0x124], eax
lea eax, [ebp - 0x128]
push eax
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [esi + 0xac], 0
mov eax, dword [ebp - 0x128]
mov dword [esi + 0xb8], eax
mov eax, dword [ebp - 0x124]
mov dword [esi + 0xbc], eax
je case.0x4768fb.276
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [ebp - 0x128]
xorps xmm0, xmm0
mov ecx, dword [esi + 0xac]
mov edx, dword [ebp - 0x114]
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x124]
movq qword [ebp - 0x18], xmm0
mov byte [esi + 0x219], 0
mov dword [ebp - 0x30], 0x14
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x20], eax
mov word [ebp - 0x1a], dx
mov dword [ebp - 0x14], ecx
jmp 0x4770ab
cmp dword [esi + 0x9c], 0
je case.0x4768fb.276
mov eax, dword [esi + 0xa0]
test eax, eax
je case.0x4768fb.276
xorps xmm0, xmm0
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x114]
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x1c], ax
movq qword [ebp - 0x18], xmm0
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0xb8]
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0xbc]
mov dword [ebp - 0x30], 5
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x20], eax
call fcn.00474f80
mov word [ebp - 0x1a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xa0]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x28], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x180]
jmp case.0x4768fb.276
cmp dword [esi + 0x9c], 0
je case.0x4768fb.276
mov eax, dword [esi + 0xa0]
test eax, eax
je case.0x4768fb.276
xorps xmm0, xmm0
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x114]
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x1c], ax
movq qword [ebp - 0x18], xmm0
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0xb8]
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0xbc]
mov dword [ebp - 0x30], 3
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x20], eax
call fcn.00474f80
mov word [ebp - 0x1a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xa0]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x28], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x180]
mov eax, dword [esi + 0xa0]
mov dword [esi + 0xb0], eax
jmp case.0x4768fb.276
cmp dword [esi + 0x9c], 0
je case.0x4768fb.276
mov eax, dword [esi + 0xb0]
test eax, eax
je case.0x4768fb.276
xorps xmm0, xmm0
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x114]
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x1c], ax
movq qword [ebp - 0x18], xmm0
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0xb8]
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0xbc]
mov dword [ebp - 0x30], 4
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x20], eax
call fcn.00474f80
mov word [ebp - 0x1a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xb0]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x28], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x180]
mov dword [esi + 0xb0], 0
jmp case.0x4768fb.276
cmp dword [esi + 0x9c], 0
je case.0x4768fb.276
cmp di, 1
jne case.0x4768fb.276
cmp byte [esi + 0x219], 0
jne 0x475187
lea eax, [ebp - 0x128]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x128], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x128]
push eax
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0x124]
mov ecx, esi
push dword [ebp - 0x128]
call fcn.00473760
mov esi, eax
test esi, esi
je case.0x4768fb.276
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x14]
call edx
test al, 2
je case.0x4768fb.276
mov eax, dword [ebp - 0x114]
xorps xmm0, xmm0
movq qword [ebp - 0x18], xmm0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x128]
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x30], 0x1e
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x20], eax
call fcn.00474f80
mov word [ebp - 0x1a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x30]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x180]
mov al, 1
jmp 0x4779e8
mov ecx, dword [esi + 0xa0]
test ecx, ecx
je case.0x4768fb.276
mov eax, dword [ebp - 0x114]
xorps xmm0, xmm0
movq qword [ebp - 0x18], xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x30], 0x1c
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x2c], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xa0]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x28], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x180]
jmp case.0x4768fb.276
mov ecx, dword [esi + 0xac]
test ecx, ecx
je 0x476890
cmp byte [esi + 0x220], 0
je 0x476890
mov eax, dword [ebp - 0x114]
xorps xmm0, xmm0
movq qword [ebp - 0x164], xmm0
movups xmmword [ebp - 0x174], xmm0
mov dword [ebp - 0x17c], 0xe
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x160], edi
mov dword [ebp - 0x178], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xac]
lea edx, [ebp - 0x17c]
mov dword [ebp - 0x174], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x180]
push 0
mov ecx, esi
call fcn.0047d6b0
jmp case.0x4768fb.276
mov ecx, dword [ebp - 0x118]
test ecx, ecx
je case.0x4768fb.276
push ecx
push dword [ebp - 0x114]
lea eax, [edx + 0x2000]
push eax
push dword [ecx]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x130]
mov dword [ecx], eax
mov al, 1
jmp 0x4779e8
cmp edx, 0x232
ja 0x477477
je 0x477462
lea eax, [edx - 0x113]
cmp eax, 0xf7
ja case.0x4768fb.276
movzx eax, byte [eax + 0x477b74]
jmp dword [eax*4 + 0x477b44]
mov eax, dword [0x624080]
cmp eax, 0xffffffff
je 0x47691b
cmp dword [ebp - 0x114], eax
jne 0x47691b
mov ecx, esi
call fcn.0047a580
lea ecx, [esi + 0x258]
mov dword [ebp - 0x12c], 0
call fcn.00481060
test eax, eax
jle case.0x4768fb.276
xor ecx, ecx
nop word [eax + eax]
push ecx
lea ecx, [esi + 0x258]
call fcn.00480c50
mov edx, eax
mov dword [ebp - 0x124], edx
mov ecx, dword [edx + 8]
cmp ecx, dword [esi + 0x34]
jne 0x476970
mov eax, dword [ebp - 0x114]
movzx ecx, ax
cmp dword [edx + 0xc], ecx
jne 0x476970
cmp byte [edx + 0x10], 0
je 0x476990
inc dword [ebp - 0x12c]
lea ecx, [esi + 0x258]
call fcn.00481060
mov ecx, dword [ebp - 0x12c]
cmp ecx, eax
jl 0x476940
jmp case.0x4768fb.276
mov eax, dword [edx]
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x30], 0x1f
movq qword [ebp - 0x18], xmm0
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0xb8]
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0xbc]
mov dword [ebp - 0x20], eax
call fcn.00474f80
mov ecx, dword [ebp - 0x124]
lea edx, [ebp - 0x30]
mov word [ebp - 0x1a], ax
mov dword [ebp - 0x14], edi
push edx
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
call dword [eax + 0x180]
jmp case.0x4768fb.276
mov ecx, esi
call fcn.0047aef0
cmp byte [esi + 0x218], 0
jne 0x476a45
mov eax, dword [esi + 0x34]
mov dword [ebp - 0x48], eax
mov eax, dword [esi + 0x54]
mov dword [ebp - 0x50], 0x10
mov dword [ebp - 0x4c], 3
test eax, eax
jne 0x476a21
mov eax, dword [esi + 0x94]
jmp 0x476a31
push 0
push 3
push 0x415
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
mov byte [esi + 0x218], 1
mov eax, dword [ebp - 0x118]
mov ecx, esi
movsx edi, ax
shr eax, 0x10
cwde
push eax
push edi
mov dword [ebp - 0x134], edi
mov dword [ebp - 0x11c], eax
call fcn.00473760
mov dword [ebp - 0x12c], eax
xorps xmm0, xmm0
mov eax, dword [esi + 0xb8]
mov dword [ebp - 0x124], eax
mov eax, dword [esi + 0xbc]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x11c]
movups xmmword [ebp - 0x24], xmm0
mov dword [esi + 0xb8], edi
mov dword [esi + 0xbc], eax
mov dword [ebp - 0x24], edi
mov edi, dword [ebp - 0x118]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x14], 0
movlpd qword [ebp - 0x30], xmm0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x28], eax
call fcn.00474f80
cmp byte [esi + 0x219], 0
mov word [ebp - 0x1a], ax
jne 0x476c4f
push dword [ebp - 0x11c]
mov ecx, esi
push dword [ebp - 0x134]
call fcn.00473760
mov edi, eax
mov dword [ebp - 0x12c], edi
test edi, edi
je 0x476b11
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x1c]
call eax
cmp eax, esi
jne case.0x4768fb.276
mov eax, dword [esi + 0xa4]
cmp edi, eax
je 0x476c1a
test eax, eax
je 0x476c1a
lea ecx, [esi + 0x308]
mov dword [ebp - 0x30], 0xa
mov dword [ebp - 0x2c], eax
call fcn.00481060
push eax
lea ecx, [ebp - 0x50]
call fcn.00480af0
lea ecx, [esi + 0x308]
mov dword [ebp - 4], 4
call fcn.00481060
push eax
lea ecx, [ebp - 0x50]
call fcn.00481550
lea ecx, [esi + 0x308]
call fcn.00481060
shl eax, 2
lea ecx, [esi + 0x308]
push eax
call fcn.00481040
push eax
lea ecx, [ebp - 0x50]
call fcn.00481040
push eax
call fcn.0058cce0
add esp, 0xc
lea ecx, [ebp - 0x50]
xor edi, edi
call fcn.00481060
test eax, eax
jle 0x476bc6
nop word [eax + eax]
push edi
lea ecx, [ebp - 0x50]
call fcn.00480c50
mov ecx, dword [eax]
mov edx, dword [ecx + 0x180]
lea ecx, [ebp - 0x30]
push ecx
mov ecx, eax
call edx
lea ecx, [ebp - 0x50]
inc edi
call fcn.00481060
cmp edi, eax
jl 0x476ba0
mov ecx, dword [esi + 0xa4]
lea edx, [ebp - 0x30]
push edx
mov eax, dword [ecx]
call dword [eax + 0x180]
mov ecx, dword [esi + 0x54]
mov dword [esi + 0xa4], 0
test ecx, ecx
je 0x476c05
lea eax, [esi + 0x58]
mov dword [esi + 0xa8], 0
push eax
push 0
push 0x411
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
call fcn.00480b90
mov edi, dword [ebp - 0x12c]
cmp edi, dword [esi + 0xa4]
je 0x476c55
test edi, edi
je 0x476c55
cmp byte [esi + 0x49a], 0
jne 0x476c55
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 + 0x180]
mov dword [esi + 0xa4], edi
jmp 0x476c55
mov edi, dword [ebp - 0x12c]
mov eax, dword [esi + 0xac]
test eax, eax
je 0x476d61
push eax
mov ecx, esi
call fcn.004737a0
mov ecx, eax
test ecx, ecx
je 0x476cc1
mov eax, dword [esi + 0xc0]
sub eax, dword [ebp - 0x134]
cdq
xor eax, edx
sub eax, edx
cmp eax, 4
jg 0x476c9d
mov eax, dword [esi + 0xc4]
sub eax, dword [ebp - 0x11c]
cdq
xor eax, edx
sub eax, edx
cmp eax, 4
jle 0x476cc1
test byte [ebp - 0x114], 1
je 0x476cc1
mov dword [ebp - 0x30], 0x16
lea edx, [ebp - 0x30]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x180]
jmp case.0x4768fb.276
mov ecx, dword [esi + 0xac]
test ecx, ecx
je 0x476d40
mov eax, dword [ecx]
mov eax, dword [eax + 0xf8]
call eax
test al, al
je 0x476d40
test byte [ebp - 0x114], 1
je 0x476d40
mov eax, dword [ebp - 0x124]
cmp dword [esi + 0xb8], eax
jne 0x476d02
mov eax, dword [ebp - 0x140]
cmp dword [esi + 0xbc], eax
je case.0x4768fb.276
mov ecx, dword [esi + 0xac]
lea edx, [ebp - 0x30]
push edx
cmp byte [ecx + 0x132], 0
mov dword [ebp - 0x2c], ecx
jne 0x476d2c
mov dword [ebp - 0x30], 0x17
mov eax, dword [ecx]
call dword [eax + 0x180]
jmp case.0x4768fb.276
mov dword [ebp - 0x30], 0x18
mov eax, dword [ecx]
call dword [eax + 0x180]
jmp case.0x4768fb.276
mov ecx, dword [esi + 0xac]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x30], 9
mov dword [ebp - 0x2c], ecx
push edx
mov eax, dword [ecx]
call dword [eax + 0x180]
jmp case.0x4768fb.276
test edi, edi
je case.0x4768fb.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 + 0x180]
jmp case.0x4768fb.276
cmp byte [esi + 0x98], 0
jne 0x476d98
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [esi + 0x9c], 0
je case.0x4768fb.276
mov eax, dword [ebp - 0x118]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x124], ecx
mov dword [esi + 0xb8], ecx
mov dword [esi + 0xc0], ecx
push ecx
mov ecx, esi
mov dword [ebp - 0x140], eax
mov dword [esi + 0xbc], eax
mov dword [esi + 0xc4], eax
call fcn.00473760
mov edi, eax
mov dword [ebp - 0x13c], edi
test edi, edi
je case.0x4768fb.276
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x1c]
call edx
cmp eax, esi
jne case.0x4768fb.276
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_SetCapture]
mov byte [esi + 0x219], 1
mov ecx, edi
mov dword [esi + 0xac], edi
mov eax, dword [edi]
call dword [eax + 0x15c]
mov ecx, dword [ebp - 0x124]
xorps xmm0, xmm0
mov eax, dword [ebp - 0x114]
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x2c], edi
mov edi, dword [ebp - 0x118]
movq qword [ebp - 0x18], xmm0
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x140]
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 - 0x13c]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x28], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x180]
jmp case.0x4768fb.276
cmp byte [esi + 0x98], 0
jne 0x476e90
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x118]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x124], ecx
mov dword [esi + 0xb8], ecx
mov dword [esi + 0xc0], ecx
push ecx
mov ecx, esi
mov dword [ebp - 0x140], eax
mov dword [esi + 0xbc], eax
mov dword [esi + 0xc4], eax
call fcn.00473760
mov edi, eax
mov dword [ebp - 0x13c], edi
test edi, edi
je case.0x4768fb.276
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x1c]
call edx
cmp eax, esi
jne case.0x4768fb.276
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [ebp - 0x124]
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x30], 0x13
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x114]
movq qword [ebp - 0x18], xmm0
mov dword [ebp - 0x2c], edi
mov edi, dword [ebp - 0x118]
mov byte [esi + 0x219], 1
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], eax
mov word [ebp - 0x1a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [ebp - 0x13c]
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x28], eax
push ecx
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x180]
mov dword [esi + 0xac], edi
jmp case.0x4768fb.276
mov eax, dword [ebp - 0x118]
movsx ecx, ax
shr eax, 0x10
cmp dword [esi + 0xac], 0
cwde
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x140], eax
mov dword [esi + 0xb8], ecx
mov dword [esi + 0xbc], eax
je case.0x4768fb.276
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [esi + 0xac]
mov byte [esi + 0x219], 0
mov eax, dword [ecx]
mov eax, dword [eax + 0xf8]
call eax
test al, al
je 0x477067
mov ecx, dword [esi + 0xac]
cmp byte [ecx + 0x132], 0
je 0x477067
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
push eax
lea ecx, [ebp - 0x20]
call fcn.004809d0
mov eax, dword [esi + 0xac]
xorps xmm0, xmm0
mov edi, dword [ebp - 0x118]
movq qword [ebp - 0x48], xmm0
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x114]
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x60], 0xe
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edi
mov word [ebp - 0x4a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xac]
lea edx, [ebp - 0x60]
mov dword [ebp - 0x58], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x180]
mov ecx, dword [esi + 0xac]
lea edx, [ebp - 0x60]
xorps xmm0, xmm0
mov dword [ebp - 0x78], 0
movq qword [ebp - 0x80], xmm0
movups xmmword [ebp - 0x74], xmm0
mov dword [ebp - 0x64], 0
movups xmm0, xmmword [ebp - 0x80]
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x60], 0x19
movups xmm0, xmmword [ebp - 0x70]
mov dword [ebp - 0x5c], ecx
movups xmmword [ebp - 0x50], xmm0
jmp 0x4770bd
mov dword [ebp - 0x30], 0xe
mov eax, dword [esi + 0xac]
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x124]
mov edi, dword [ebp - 0x118]
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x140]
movq qword [ebp - 0x18], xmm0
mov word [ebp - 0x1a], ax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xac]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x28], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x180]
mov dword [esi + 0xac], 0
jmp case.0x4768fb.276
cmp byte [esi + 0x98], 0
jne 0x4770e7
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x118]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x124], ecx
mov dword [esi + 0xb8], ecx
mov dword [esi + 0xc0], ecx
push ecx
mov ecx, esi
mov dword [ebp - 0x140], eax
mov dword [esi + 0xbc], eax
mov dword [esi + 0xc4], eax
call fcn.00473760
mov edi, eax
mov dword [ebp - 0x13c], edi
test edi, edi
je case.0x4768fb.276
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x1c]
call edx
cmp eax, esi
jne case.0x4768fb.276
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x15c]
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_SetCapture]
mov dword [ebp - 0x30], 0xf
mov ecx, dword [ebp - 0x124]
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x140]
mov dword [ebp - 0x20], ecx
jmp 0x476f14
mov eax, dword [ebp - 0x118]
movsx ecx, ax
shr eax, 0x10
movsx edx, ax
mov eax, dword [esi + 0xac]
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x140], edx
mov dword [esi + 0xb8], ecx
mov dword [esi + 0xbc], edx
test eax, eax
jne 0x4771c2
push edx
push ecx
mov ecx, esi
call fcn.00473760
mov dword [esi + 0xac], eax
test eax, eax
je case.0x4768fb.276
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0xac]
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x124]
mov edi, dword [ebp - 0x118]
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x114]
movq qword [ebp - 0x18], xmm0
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x140]
mov byte [esi + 0x219], 0
mov dword [ebp - 0x30], 0x10
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 + 0xac]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x28], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x180]
mov ecx, dword [esi + 0xac]
mov eax, dword [ecx]
mov eax, dword [eax + 0x11c]
call eax
test al, al
jne case.0x4768fb.276
mov dword [esi + 0xac], 0
jmp case.0x4768fb.276
cmp byte [esi + 0x98], 0
jne 0x477267
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x118]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x124], ecx
mov dword [esi + 0xb8], ecx
push ecx
mov ecx, esi
mov dword [ebp - 0x140], eax
mov dword [esi + 0xbc], eax
call fcn.00473760
mov edi, eax
mov dword [ebp - 0x13c], edi
test edi, edi
je case.0x4768fb.276
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x1c]
call edx
cmp eax, esi
jne case.0x4768fb.276
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x15c]
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_SetCapture]
mov dword [ebp - 0x30], 0x11
jmp 0x47715c
mov eax, dword [ebp - 0x118]
movsx ecx, ax
shr eax, 0x10
movsx edx, ax
mov eax, dword [esi + 0xac]
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x140], edx
mov dword [esi + 0xb8], ecx
mov dword [esi + 0xbc], edx
test eax, eax
jne 0x47731d
push edx
push ecx
mov ecx, esi
call fcn.00473760
mov dword [esi + 0xac], eax
test eax, eax
je case.0x4768fb.276
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov byte [esi + 0x219], 0
mov dword [ebp - 0x30], 0x12
jmp 0x47706e
cmp dword [esi + 0x9c], 0
je case.0x4768fb.276
mov ecx, dword [ebp - 0x118]
movsx eax, cx
mov dword [ebp - 0x144], eax
mov eax, ecx
shr eax, 0x10
cwde
mov dword [ebp - 0x140], eax
lea eax, [ebp - 0x144]
push eax
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x140]
mov ecx, dword [ebp - 0x144]
push eax
mov dword [esi + 0xb8], ecx
push ecx
mov ecx, esi
mov dword [esi + 0xbc], eax
call fcn.00473760
mov edi, eax
mov dword [ebp - 0x124], edi
test edi, edi
je case.0x4768fb.276
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x1c]
call edx
cmp eax, esi
jne case.0x4768fb.276
mov eax, dword [ebp - 0x114]
xorps xmm0, xmm0
shr eax, 0x10
movzx eax, ax
shr eax, 0xf
movq qword [ebp - 0x18], xmm0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x144]
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x2c], edi
mov edi, dword [ebp - 0x118]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x30], 0x15
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x20], eax
call fcn.00474f80
mov word [ebp - 0x1a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x124]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x28], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x180]
movzx ecx, word [esi + 0xbc]
movzx eax, word [esi + 0xb8]
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x200
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x4768fb.276
mov ecx, dword [ebp - 0x118]
test ecx, ecx
je case.0x4768fb.276
push ecx
push dword [ebp - 0x114]
lea eax, [edx + 0x2000]
push eax
push ecx
jmp 0x4751ca
push 0
mov ecx, esi
call fcn.0047a760
mov ecx, esi
call fcn.0047a320
jmp case.0x4768fb.276
cmp edx, 0x2a3
ja 0x4777c4
je 0x4776c9
sub edx, 0x2a1
je 0x4774a7
sub edx, 1
jne case.0x4768fb.276
push edx
mov ecx, esi
call fcn.0047a760
jmp case.0x4768fb.276
mov eax, dword [ebp - 0x118]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x124], ecx
push ecx
mov ecx, esi
mov byte [esi + 0x218], 0
mov dword [ebp - 0x140], eax
call fcn.00473760
mov dword [ebp - 0x13c], eax
test eax, eax
je case.0x4768fb.276
mov edi, dword [ebp - 0x118]
xorps xmm0, xmm0
movq qword [ebp - 0x48], xmm0
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x114]
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x60], 0xc
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x50], eax
call fcn.00474f80
mov edi, dword [ebp - 0x13c]
lea ecx, [ebp - 0x60]
mov word [ebp - 0x4a], ax
push ecx
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x180]
cmp dword [esi + 0xa8], edi
je case.0x4768fb.276
mov dword [esi + 0xa8], edi
lea ecx, [ebp - 0x2c]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0xfc]
cmp dword [ebp - 0x1c], 0
mov dword [ebp - 4], 3
je 0x4776ba
push 0x30
lea eax, [esi + 0x58]
push 0
push eax
call fcn.0058d810
add esp, 0xc
call fcn.00474d80
neg eax
mov dword [esi + 0x5c], 1
mov ecx, edi
sbb eax, eax
and eax, 0xfffffffc
add eax, 0x30
cmp dword [ebp - 0x18], 8
mov dword [esi + 0x58], eax
mov eax, dword [esi + 0x34]
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], eax
mov eax, dword [0x62a4f8]
mov dword [esi + 0x78], eax
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
mov dword [esi + 0x7c], eax
mov eax, dword [edi]
mov eax, dword [eax + 0x68]
call eax
mov ecx, dword [esi + 0x54]
movups xmm0, xmmword [eax]
movups xmmword [esi + 0x68], xmm0
test ecx, ecx
jne 0x477696
push ecx
push dword [0x62a4f8]
push ecx
push dword [esi + 0x34]
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysReAllocString
push reloc.WS2_32.dll_closesocket
push ecx
push str.tooltips_class32
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExW]
lea ecx, [esi + 0x58]
mov dword [esi + 0x54], eax
push ecx
push 0
push 0x432
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x108]
call eax
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 0
push 0x418
push dword [esi + 0x54]
call edi
movzx ecx, word [esi + 0x8c]
movzx edx, byte [esi + 0x8e]
mov eax, ecx
shl edx, 8
shr eax, 8
or edx, eax
movzx eax, cl
push 0
shl edx, 8
or edx, eax
push edx
push 0x413
push dword [esi + 0x54]
call edi
movzx ecx, word [esi + 0x90]
movzx edx, byte [esi + 0x92]
mov eax, ecx
shl edx, 8
shr eax, 8
or edx, eax
movzx eax, cl
push 0
shl edx, 8
or edx, eax
push edx
push 0x414
push dword [esi + 0x54]
call edi
mov ecx, dword [esi + 0x54]
jmp 0x47769c
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esi + 0x58]
push eax
push 0
push 0x436
push ecx
call edi
lea eax, [esi + 0x58]
push eax
push 1
push 0x411
push dword [esi + 0x54]
call edi
lea ecx, [ebp - 0x2c]
call fcn.00405f7b
mov al, 1
jmp 0x4779e8
mov ecx, dword [esi + 0x54]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
test ecx, ecx
je 0x4776e4
lea eax, [esi + 0x58]
push eax
push 0
push 0x411
push ecx
call edi
cmp byte [esi + 0x218], 0
je 0x4777a5
xorps xmm0, xmm0
lea eax, [ebp - 0x128]
push eax
movlpd qword [ebp - 0x128], xmm0
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x20]
push eax
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x477797
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x34]
jne 0x477797
push dword [ebp - 0x124]
lea eax, [ebp - 0x20]
push dword [ebp - 0x128]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x477797
movzx ecx, word [ebp - 0x124]
movzx eax, word [ebp - 0x128]
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x84
push dword [esi + 0x34]
call edi
cmp eax, 1
jne 0x477797
lea eax, [ebp - 0x128]
push eax
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_ScreenToClient]
movzx ecx, word [ebp - 0x124]
movzx eax, word [ebp - 0x128]
shl ecx, 0x10
or ecx, eax
push ecx
jmp 0x477799
push 0xffffffffffffffff
push 0
push 0x200
push dword [esi + 0x34]
call edi
push 0
mov ecx, esi
mov byte [esi + 0x218], 0
mov dword [esi + 0xa8], 0
call fcn.0047a760
jmp case.0x4768fb.276
cmp edx, 0x318
je 0x4778f9
cmp edx, 0x8001
jne case.0x4768fb.276
lea eax, [esi + 0x2c8]
xor edi, edi
mov ecx, eax
mov dword [ebp - 0x124], eax
call fcn.00481060
test eax, eax
jle 0x477826
mov esi, dword [ebp - 0x124]
nop dword [eax + eax]
push edi
mov ecx, esi
call fcn.00480c50
test eax, eax
je 0x477814
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov ecx, esi
inc edi
call fcn.00481060
cmp edi, eax
jl 0x477800
mov esi, dword [ebp - 0x148]
lea ecx, [esi + 0x2c8]
call fcn.00480df0
lea eax, [esi + 0x2d8]
mov byte [esi + 0x21c], 0
push 0
mov ecx, eax
mov dword [ebp - 0x134], eax
call fcn.00480fd0
mov edi, eax
test edi, edi
je case.0x4768fb.276
lea eax, [esi + 0x248]
mov dword [ebp - 0x148], eax
mov ecx, dword [ebp - 0x134]
push 0
call fcn.004812d0
mov ecx, dword [edi + 0x38]
test ecx, ecx
je 0x47788f
add ecx, 0x48
call fcn.0049ed60
test al, al
je 0x47788f
mov ecx, dword [edi + 0x38]
push edi
add ecx, 0x48
call fcn.0049ed70
mov ecx, dword [ebp - 0x148]
xor esi, esi
call fcn.00481060
test eax, eax
jle 0x4778c3
mov ecx, dword [ebp - 0x148]
push esi
call fcn.00480c50
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, dword [ebp - 0x148]
inc esi
call fcn.00481060
cmp esi, eax
jl 0x4778a0
lea ecx, [edi + 0x1c]
call fcn.00405f7b
mov ecx, edi
call fcn.00405f7b
push 0x50
push edi
call fcn.00539e76
mov ecx, dword [ebp - 0x134]
add esp, 8
push 0
call fcn.00480fd0
mov edi, eax
test edi, edi
jne 0x477863
jmp case.0x4768fb.276
cmp dword [esi + 0x9c], 0
je case.0x4768fb.276
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push dword [esi + 0x34]
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
push dword [ebp - 0x114]
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [esi + 0x9c]
mov dword [ebp - 0x124], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov edx, dword [ecx]
push dword [ebp - 0x114]
call dword [edx + 0x194]
test byte [ebp - 0x118], 0x10
je 0x4779d4
push 5
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
je 0x4779d4
or dword [ebp - 0x118], 2
nop dword [eax + eax]
lea eax, [ebp - 0x50]
xorps xmm0, xmm0
push eax
push edi
movups xmmword [ebp - 0x50], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x50]
push eax
push dword [esi + 0x34]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x4c]
push 0
neg eax
push eax
mov eax, dword [ebp - 0x50]
neg eax
push eax
push dword [ebp - 0x114]
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
push dword [ebp - 0x118]
push dword [ebp - 0x114]
push 0x317
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
jne 0x477970
push dword [ebp - 0x124]
push dword [ebp - 0x114]
call dword [sym.imp.GDI32.dll_RestoreDC]
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.00539e65
mov esp, ebp
pop ebp
ret 0x10