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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4abefc
mov eax, dword fs:[0]
push eax
sub esp, 0x1e4
mov eax, dword [0x4dd434]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1dc], edi
cmp dword [edi + 0x84], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1a8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1b0], eax
je case.default.0x410dbb
lea ecx, [edi + 0x2dc]
mov dword [ebp - 0x1cc], 0
call fcn.00409260
mov esi, dword [ebp - 0x1a8]
test eax, eax
jle 0x40f360
xor ecx, ecx
nop
push ecx
lea ecx, [edi + 0x2dc]
mov byte [ebp - 0x1c5], 0
call fcn.00408b20
lea ecx, [ebp - 0x1c5]
push ecx
push esi
mov edx, dword [eax]
mov ecx, eax
push dword [ebp - 0x1ac]
push dword [ebp + 8]
mov eax, dword [edx]
call eax
cmp byte [ebp - 0x1c5], 0
jne 0x40f3bc
inc dword [ebp - 0x1cc]
lea ecx, [edi + 0x2dc]
call fcn.00409260
mov ecx, dword [ebp - 0x1cc]
cmp ecx, eax
jl 0x40f310
mov cl, byte [edi + 0x145]
mov edx, dword [ebp + 8]
test cl, cl
je 0x40f468
mov eax, edx
sub eax, 0x83
je 0x40f455
sub eax, 2
je 0x40f455
sub eax, 1
jne 0x40f468
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x40f4a6
cmp dword [ebp - 0x1ac], eax
mov ecx, dword [ebp - 0x1b0]
sete al
mov dword [ecx], eax
mov al, 1
jmp 0x4118c8
mov ecx, dword [ebp - 0x1b0]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
cmp eax, 0x203
ja 0x40f401
cmp eax, 0x200
jae 0x40f3e1
cmp eax, 0x7b
je 0x40f408
mov al, 1
jmp 0x4118c8
mov eax, dword [ebp - 0x1a8]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [edi + 0xf8], eax
mov al, 1
mov dword [edi + 0xf4], ecx
jmp 0x4118c8
cmp eax, 0x20a
jne 0x40f44e
mov ecx, dword [ebp - 0x1a8]
movsx eax, cx
mov dword [ebp - 0x1bc], eax
shr ecx, 0x10
movsx eax, cx
mov dword [ebp - 0x1b8], eax
lea eax, [ebp - 0x1bc]
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x1bc]
mov dword [edi + 0xf4], eax
mov eax, dword [ebp - 0x1b8]
mov dword [edi + 0xf8], eax
mov al, 1
jmp 0x4118c8
mov ecx, dword [ebp - 0x1b0]
mov al, 1
mov dword [ecx], 0
jmp 0x4118c8
cmp edx, 0x111
ja 0x4108ae
jne 0x40f4a9
mov eax, dword [ebp - 0x1a8]
test eax, eax
je case.default.0x410dbb
push eax
push dword [ebp - 0x1ac]
push 0x2111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x1b0]
mov dword [ecx], eax
mov al, 1
jmp 0x4118c8
mov edx, dword [ebp + 8]
lea eax, [edx - 5]
cmp eax, 0xfd
ja case.default.0x410dbb
movzx eax, byte [eax + 0x411920]
jmp dword [eax*4 + 0x4118e8]
mov eax, dword [edi + 0xf4]
xorps xmm0, xmm0
movups xmmword [ebp - 0xe0], xmm0
mov dword [ebp - 0xd8], eax
mov eax, dword [edi + 0xf8]
mov dword [ebp - 0xe4], 0
movq qword [ebp - 0xd0], xmm0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xd4], eax
call fcn.0040f240
mov word [ebp - 0xce], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xe8]
mov dword [ebp - 0xdc], eax
test ecx, ecx
je 0x40f544
mov dword [ebp - 0xe4], 0xa
lea edx, [ebp - 0xe4]
mov dword [ebp - 0xe0], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x11c]
mov ecx, dword [edi + 0xec]
test ecx, ecx
je 0x40f56d
mov dword [ebp - 0xe4], 0xe
lea edx, [ebp - 0xe4]
mov dword [ebp - 0xe0], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x11c]
push 1
push 0
mov ecx, edi
call fcn.00412c60
mov esi, dword [edi + 0x84]
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, esi
jne 0x40f5c1
push 4
push esi
call dword [sym.imp.USER32.dll_GetWindow]
push 0xfffffffffffffff0
push dword [edi + 0x84]
mov esi, eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x40000000
je 0x40f5b6
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_GetParent]
mov esi, eax
test esi, esi
je 0x40f5c1
push esi
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi + 0xa8]
test eax, eax
je case.default.0x410dbb
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [edi + 0xa8], 0
jmp case.default.0x410dbb
mov ecx, dword [ebp - 0x1b0]
mov al, 1
mov dword [ecx], 1
jmp 0x4118c8
cmp dword [edi + 0xe0], 0
jne 0x40f65b
push 0x40
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.0045e790
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_BeginPaint]
push 0xff000000
lea eax, [ebp - 0xfc]
push eax
push dword [edi + 0x88]
call fcn.00417a60
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_EndPaint]
mov al, 1
jmp 0x4118c8
lea eax, [ebp - 0x114]
xorps xmm0, xmm0
push eax
push dword [edi + 0x84]
movups xmmword [ebp - 0x114], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
cmp byte [edi + 0x145], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x30], xmm0
je 0x40f719
movups xmm0, xmmword [edi + 0x15c]
lea esi, [edi + 0x15c]
mov byte [edi + 0x143], 1
push esi
movups xmmword [ebp - 0x30], xmm0
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x40f6ef
push 0x40
lea eax, [ebp - 0x164]
push 0
push eax
call fcn.0045e790
add esp, 0xc
lea eax, [ebp - 0x164]
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_BeginPaint]
lea eax, [ebp - 0x164]
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_EndPaint]
mov al, 1
jmp 0x4118c8
mov eax, dword [ebp - 0x28]
xorps xmm0, xmm0
mov edx, dword [ebp - 0x10c]
cmp eax, edx
mov ecx, dword [ebp - 0x108]
cmovg eax, edx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
cmp eax, ecx
movups xmmword [esi], xmm0
cmovg eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x40f73f
push 0
lea eax, [ebp - 0x30]
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
je 0x40f44e
mov ecx, dword [ebp - 0x108]
mov edx, dword [ebp - 0x10c]
cmp byte [edi + 0x142], 0
je 0x40f75d
push 1
mov ecx, edi
call fcn.00413070
mov ecx, dword [ebp - 0x108]
mov edx, dword [ebp - 0x10c]
cmp byte [edi + 0x141], 0
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
mov byte [edi + 0x2b2], 1
je 0x40f965
lea eax, [ebp - 0x114]
mov byte [edi + 0x141], 0
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x40f9eb
mov ecx, dword [edi + 0xe0]
call fcn.00414c80
test al, al
je 0x40f868
movups xmm0, xmmword [ebp - 0x114]
mov eax, dword [edi + 0x8c]
movups xmmword [ebp - 0x40], xmm0
movups xmmword [ebp - 0x20], xmm0
test eax, eax
je 0x40f7c2
push eax
call esi
mov eax, dword [edi + 0x90]
test eax, eax
je 0x40f7cf
push eax
call esi
mov eax, dword [edi + 0x94]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x40f7e2
push eax
call esi
mov eax, dword [edi + 0x9c]
test eax, eax
je 0x40f7ef
push eax
call esi
cmp byte [edi + 0x145], 0
mov dword [edi + 0x8c], 0
mov dword [edi + 0x90], 0
mov dword [edi + 0x94], 0
mov dword [edi + 0x9c], 0
je 0x40f84a
mov eax, dword [edi + 0x148]
add dword [ebp - 0x20], eax
mov eax, dword [edi + 0x14c]
add dword [ebp - 0x1c], eax
mov eax, dword [edi + 0x150]
sub dword [ebp - 0x18], eax
mov eax, dword [edi + 0x154]
sub dword [ebp - 0x14], eax
movups xmm0, xmmword [ebp - 0x20]
jmp 0x40f84e
movups xmm0, xmmword [ebp - 0x40]
mov ecx, dword [edi + 0xe0]
push 1
sub esp, 0x10
mov eax, esp
mov edx, dword [ecx]
movups xmmword [eax], xmm0
call dword [edx + 0x4c]
jmp 0x40f908
lea esi, [edi + 0x324]
mov ecx, esi
mov dword [ebp - 0x1c0], esi
call fcn.00408f60
mov ecx, dword [edi + 0xe0]
push reloc.OLEAUT32.dll_VariantCopy
push 0
push 0x413e20
mov eax, dword [ecx]
call dword [eax + 0x110]
mov ecx, esi
call fcn.00409260
test eax, eax
jle 0x40f908
xor edi, edi
push edi
mov ecx, esi
call fcn.00408b20
mov esi, eax
mov ecx, esi
mov dword [ebp - 0x1b0], esi
mov edx, dword [esi]
mov edx, dword [edx + 0x108]
call edx
mov esi, dword [esi]
mov ecx, dword [ebp - 0x1b0]
test al, al
jne 0x40f8d1
mov eax, dword [esi + 0x40]
call eax
jmp 0x40f8da
lea eax, [ebp - 0x40]
push eax
mov eax, dword [esi + 0x44]
call eax
movups xmm0, xmmword [eax]
push 1
sub esp, 0x10
mov ecx, esp
movups xmmword [ecx], xmm0
mov ecx, dword [ebp - 0x1b0]
call dword [esi + 0x4c]
mov esi, dword [ebp - 0x1c0]
inc edi
mov ecx, esi
call fcn.00409260
cmp edi, eax
jl 0x40f8a2
mov edi, dword [ebp - 0x1dc]
cmp byte [edi + 0x140], 0
je 0x40f9eb
push 1
push 0
push 0
push 0
push str.windowinit
push dword [edi + 0xe0]
mov ecx, edi
mov byte [edi + 0x140], 0
call fcn.004129d0
cmp byte [edi + 0x145], 0
je 0x40f9eb
cmp byte [edi + 0x158], 0
je 0x40f9eb
mov ecx, edi
call fcn.0040f030
mov byte [edi + 0x2b2], 0
mov al, 1
jmp 0x4118c8
cmp byte [edi + 0x145], 0
je 0x40f9eb
cmp byte [edi + 0x158], 0
je 0x40f9eb
movups xmm0, xmmword [ebp - 0x114]
mov eax, dword [edi + 0x98]
movups xmmword [ebp - 0x20], xmm0
test eax, eax
je 0x40f9ae
sub ecx, dword [ebp - 0x110]
sub edx, dword [ebp - 0x114]
imul ecx, edx
shl ecx, 2
push ecx
push 0
push eax
call fcn.0045e790
add esp, 0xc
mov eax, dword [edi + 0x148]
add dword [ebp - 0x20], eax
mov eax, dword [edi + 0x14c]
add dword [ebp - 0x1c], eax
mov eax, dword [edi + 0x150]
sub dword [ebp - 0x18], eax
mov ecx, dword [edi + 0xe0]
mov eax, dword [edi + 0x154]
sub dword [ebp - 0x14], eax
movups xmm0, xmmword [ebp - 0x20]
mov edx, dword [ecx]
push 1
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x4c]
cmp byte [edi + 0x143], 0
je 0x40fa7d
cmp dword [edi + 0x94], 0
jne 0x40fa7d
push dword [edi + 0x88]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
cmp byte [edi + 0x145], 0
mov dword [edi + 0x8c], eax
je 0x40fa51
lea eax, [edi + 0x98]
push eax
mov eax, dword [ebp - 0x108]
sub eax, dword [ebp - 0x110]
push eax
mov eax, dword [ebp - 0x10c]
sub eax, dword [ebp - 0x114]
push eax
push dword [edi + 0x88]
call fcn.004179e0
add esp, 0x10
jmp 0x40fa77
mov eax, dword [ebp - 0x108]
sub eax, dword [ebp - 0x110]
push eax
mov eax, dword [ebp - 0x10c]
sub eax, dword [ebp - 0x114]
push eax
push dword [edi + 0x88]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [edi + 0x94], eax
push 0x40
lea eax, [ebp - 0x1a4]
push 0
push eax
call fcn.0045e790
add esp, 0xc
lea eax, [ebp - 0x1a4]
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_BeginPaint]
cmp byte [edi + 0x143], 0
je 0x410230
push dword [edi + 0x94]
push dword [edi + 0x8c]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [edi + 0x8c]
mov dword [ebp - 0x1b8], eax
call dword [sym.imp.GDI32.dll_SaveDC]
cmp byte [edi + 0x145], 0
mov dword [ebp - 0x1d0], eax
je 0x40fb47
cmp dword [edi + 0x278], 0
jne 0x40fb47
mov eax, dword [ebp - 0x108]
mov esi, eax
sub esi, dword [ebp - 0x24]
sub eax, dword [ebp - 0x2c]
cmp esi, eax
jge 0x40fb47
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x30]
cmp edx, ecx
jge 0x40fb39
nop dword [eax + eax]
mov ecx, dword [ebp - 0x10c]
sub ecx, dword [ebp - 0x114]
mov eax, dword [edi + 0x98]
imul ecx, esi
add ecx, edx
inc edx
mov dword [eax + ecx*4], 0
mov ecx, dword [ebp - 0x28]
cmp edx, ecx
jl 0x40fb10
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x108]
inc esi
sub eax, dword [ebp - 0x2c]
cmp esi, eax
jl 0x40fb04
mov ecx, dword [edi + 0xe0]
lea edx, [ebp - 0x30]
push 0
push edx
push dword [edi + 0x8c]
mov eax, dword [ecx]
call dword [eax + 0x138]
cmp byte [edi + 0x145], 0
je 0x40fdd3
lea ecx, [edi + 0x2f4]
mov dword [ebp - 0x1b0], 0
call fcn.00409260
test eax, eax
jle 0x40fdd3
xor ecx, ecx
nop dword [eax]
push ecx
lea ecx, [edi + 0x2f4]
call fcn.00408b20
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x40fbd4
push 1
push dword [ebp - 0x1b0]
lea ecx, [edi + 0x2f4]
call fcn.00409620
push 1
push dword [ebp - 0x1b0]
lea ecx, [edi + 0x300]
call fcn.00409620
jmp 0x40fdba
inc dword [ebp - 0x1b0]
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x40fdba
push esi
lea eax, [ebp - 0x124]
mov ecx, edi
push eax
call fcn.0040ed80
lea eax, [ebp - 0x124]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x40]
push eax
movups xmmword [ebp - 0x40], xmm0
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x40fdba
push dword [edi + 0x8c]
mov dword [ebp - 0x1cc], 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
lea ecx, [ebp - 0x1cc]
mov dword [ebp - 0x1a8], eax
push ecx
mov ecx, dword [ebp - 0x118]
sub ecx, dword [ebp - 0x120]
push ecx
mov ecx, dword [ebp - 0x11c]
sub ecx, dword [ebp - 0x124]
push ecx
push eax
call fcn.004179e0
mov edx, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x118]
sub edx, dword [ebp - 0x124]
sub ecx, dword [ebp - 0x120]
imul edx, ecx
mov dword [ebp - 0x1d8], eax
shl edx, 2
push edx
push 0
push dword [ebp - 0x1cc]
call fcn.0045e790
add esp, 0x1c
push dword [ebp - 0x1d8]
push dword [ebp - 0x1a8]
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x35
push dword [ebp - 0x1a8]
mov dword [ebp - 0x1c0], eax
push 0x317
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0x118]
mov ecx, edx
sub ecx, dword [ebp - 0x120]
mov esi, dword [ebp - 0x11c]
mov dword [ebp - 0x1ac], 0
mov dword [ebp - 0x1b4], edx
test ecx, ecx
jle 0x40fd65
mov edi, dword [ebp - 0x124]
mov ecx, dword [ebp - 0x1ac]
mov eax, esi
xor edx, edx
sub eax, edi
test eax, eax
jle 0x40fd46
imul eax, ecx
mov ecx, dword [ebp - 0x1cc]
add eax, edx
lea ecx, [ecx + eax*4]
mov eax, dword [ecx]
test eax, eax
je 0x40fd29
or eax, 0xff000000
mov dword [ecx], eax
mov esi, dword [ebp - 0x11c]
mov edi, dword [ebp - 0x124]
mov ecx, dword [ebp - 0x1ac]
mov eax, esi
inc edx
sub eax, edi
cmp edx, eax
jl 0x40fd02
mov edx, dword [ebp - 0x118]
mov dword [ebp - 0x1b4], edx
jmp 0x40fd4c
mov edx, dword [ebp - 0x1b4]
mov eax, edx
inc ecx
sub eax, dword [ebp - 0x120]
mov dword [ebp - 0x1ac], ecx
cmp ecx, eax
jl 0x40fcf8
mov edi, dword [ebp - 0x1dc]
mov ecx, dword [ebp - 0x120]
sub edx, ecx
mov eax, dword [ebp - 0x124]
sub esi, eax
push 0xcc0020
push 0
push 0
push dword [ebp - 0x1a8]
push edx
push esi
push ecx
push eax
push dword [edi + 0x8c]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x1c0]
mov esi, dword [ebp - 0x1a8]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x1d8]
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
lea ecx, [edi + 0x2f4]
call fcn.00409260
mov ecx, dword [ebp - 0x1b0]
cmp ecx, eax
jl 0x40fb90
lea ecx, [edi + 0x2e8]
xor esi, esi
call fcn.00409260
test eax, eax
jle 0x40fe14
push esi
lea ecx, [edi + 0x2e8]
call fcn.00408b20
lea ecx, [ebp - 0x30]
push ecx
push dword [edi + 0x8c]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x154]
lea ecx, [edi + 0x2e8]
inc esi
call fcn.00409260
cmp esi, eax
jl 0x40fde4
push dword [ebp - 0x1d0]
push dword [edi + 0x8c]
call dword [sym.imp.GDI32.dll_RestoreDC]
cmp byte [edi + 0x145], 0
je 0x410189
lea eax, [ebp - 0x40]
xorps xmm0, xmm0
push eax
push dword [edi + 0x84]
movups xmmword [ebp - 0x40], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [ebp - 0x108]
mov eax, esi
sub eax, dword [ebp - 0x110]
movups xmm0, xmmword [ebp - 0x114]
mov edx, dword [ebp - 0x10c]
sub edx, dword [ebp - 0x114]
mov dword [ebp - 0x1ac], eax
mov eax, dword [edi + 0x148]
add eax, dword [ebp - 0x114]
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x20], eax
mov eax, dword [edi + 0x14c]
add dword [ebp - 0x1c], eax
mov eax, dword [edi + 0x150]
sub dword [ebp - 0x18], eax
mov eax, dword [edi + 0x154]
sub dword [ebp - 0x14], eax
cmp dword [edi + 0x278], 0
mov dword [ebp - 0x1b0], edx
je 0x4100f5
cmp dword [edi + 0x9c], 0
jne 0x40ff2d
push dword [edi + 0x88]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
lea esi, [edi + 0xa0]
mov dword [edi + 0x90], eax
push esi
push dword [ebp - 0x1ac]
push dword [ebp - 0x1b0]
push dword [edi + 0x88]
call fcn.004179e0
mov dword [edi + 0x9c], eax
mov eax, dword [ebp - 0x1ac]
imul eax, dword [ebp - 0x1b0]
shl eax, 2
push eax
push 0
push dword [esi]
call fcn.0045e790
add esp, 0x1c
push dword [edi + 0x9c]
push dword [edi + 0x90]
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 4], 0
jmp 0x40ff5e
cmp byte [edi + 0x158], 0
je 0x40ffaf
mov eax, dword [ebp - 0x1ac]
imul eax, edx
shl eax, 2
push eax
push 0
push dword [edi + 0xa0]
call fcn.0045e790
add esp, 0xc
mov dword [ebp - 4], 1
movups xmm0, xmmword [ebp - 0x20]
lea eax, [ebp - 0xe0]
push eax
sub esp, 0x10
mov eax, esp
push dword [edi + 0x90]
movups xmmword [eax], xmm0
call fcn.0041ccd0
lea eax, [edi + 0x16c]
push eax
lea eax, [ebp - 0x20]
push eax
push eax
push edi
push dword [edi + 0x90]
call fcn.0041bdb0
add esp, 0x2c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe0]
call fcn.00417490
mov esi, dword [ebp - 0x108]
mov eax, dword [edi + 0x278]
cmp byte [eax + 0x14], 0
je 0x4100f5
mov edx, esi
mov eax, esi
sub edx, dword [ebp - 0x24]
sub eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c0], edx
cmp edx, eax
jge 0x4100f5
mov eax, dword [ebp - 0x1b0]
mov esi, edx
mov ecx, dword [ebp - 0x30]
imul esi, eax
mov dword [ebp - 0x1d8], ecx
mov dword [ebp - 0x1b4], esi
cmp ecx, dword [ebp - 0x28]
jge 0x4100cf
lea eax, [ecx + esi]
shl eax, 2
mov dword [ebp - 0x1d0], eax
mov edx, dword [edi + 0x98]
add ecx, esi
add edx, eax
mov eax, dword [edi + 0xa0]
mov dword [ebp - 0x1cc], edx
mov al, byte [eax + ecx*4 + 3]
movzx edi, al
mov eax, dword [edx]
shr eax, 0x10
movzx ecx, al
mov eax, 0x80808081
imul ecx, edi
mul ecx
mov ecx, dword [ebp - 0x1cc]
shr edx, 7
movzx esi, dl
shl esi, 8
mov eax, dword [ecx]
shr eax, 8
movzx ecx, al
mov eax, 0x80808081
imul ecx, edi
mul ecx
shr edx, 7
movzx eax, dl
or esi, eax
mov eax, dword [ebp - 0x1cc]
shl esi, 8
movzx ecx, byte [eax]
mov eax, 0x80808081
imul ecx, edi
shl edi, 0x18
mul ecx
mov ecx, dword [ebp - 0x1d8]
shr edx, 7
inc ecx
movzx eax, dl
or esi, eax
mov dword [ebp - 0x1d8], ecx
mov eax, dword [ebp - 0x1cc]
add esi, edi
mov edi, dword [ebp - 0x1dc]
mov dword [eax], esi
mov eax, dword [ebp - 0x1d0]
mov esi, dword [ebp - 0x1b4]
add eax, 4
mov dword [ebp - 0x1d0], eax
cmp ecx, dword [ebp - 0x28]
jl 0x410006
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x1c0]
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x1d8], ecx
add esi, eax
inc edx
mov eax, dword [ebp - 0x108]
sub eax, dword [ebp - 0x2c]
cmp edx, eax
mov dword [ebp - 0x1c0], edx
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x1b4], esi
jl 0x40fff1
mov al, byte [edi + 0x144]
mov byte [ebp - 0x1a6], al
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x1e4], eax
mov eax, dword [ebp - 0x1ac]
push 2
mov dword [ebp - 0x1e0], eax
lea eax, [ebp - 0x1a8]
push eax
push 0
lea eax, [ebp - 0x1f0]
mov word [ebp - 0x1a8], 0
push eax
push dword [edi + 0x8c]
lea eax, [ebp - 0x1e4]
mov byte [ebp - 0x1a5], 1
push eax
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x1f0], 0
push eax
push dword [edi + 0x88]
mov dword [ebp - 0x1ec], 0
push dword [edi + 0x84]
call dword [0x4deb20]
jmp 0x4101b6
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x24]
push 0xcc0020
push edx
push ecx
push dword [edi + 0x8c]
sub eax, edx
push eax
mov eax, dword [ebp - 0x28]
sub eax, ecx
push eax
push edx
push ecx
push dword [edi + 0x88]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x1b8]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [edi + 0x8c]
call esi
cmp byte [edi + 0xdd], 0
je 0x410265
cmp byte [edi + 0x145], 0
jne 0x410265
push dword [0x4deb24]
push dword [edi + 0x88]
call esi
push 5
mov esi, eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push dword [edi + 0x88]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push dword [edi + 0x88]
call dword [sym.imp.GDI32.dll_Rectangle]
push esi
push dword [edi + 0x88]
call dword [sym.imp.GDI32.dll_SelectObject]
jmp 0x410265
push dword [edi + 0x88]
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [edi + 0xe0]
mov esi, eax
push 0
lea eax, [ebp - 0x30]
push eax
mov edx, dword [ecx]
push dword [edi + 0x88]
call dword [edx + 0x138]
push esi
push dword [edi + 0x88]
call dword [sym.imp.GDI32.dll_RestoreDC]
lea eax, [ebp - 0x1a4]
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_EndPaint]
cmp byte [edi + 0x141], 0
mov byte [edi + 0x2b2], 0
mov byte [edi + 0x158], 0
je 0x40f44e
mov ecx, edi
call fcn.0040f030
mov al, 1
jmp 0x4118c8
mov ecx, dword [edi + 0xfc]
mov eax, dword [ebp - 0x1a8]
test ecx, ecx
jle 0x4102b4
mov dword [eax + 0x18], ecx
mov ecx, dword [edi + 0x100]
test ecx, ecx
jle 0x4102c1
mov dword [eax + 0x1c], ecx
mov ecx, dword [edi + 0x104]
test ecx, ecx
jle 0x4102ce
mov dword [eax + 0x20], ecx
mov ecx, dword [edi + 0x108]
test ecx, ecx
jle case.default.0x410dbb
mov dword [eax + 0x24], ecx
jmp case.default.0x410dbb
mov eax, dword [edi + 0xe4]
test eax, eax
je 0x410375
xorps xmm0, xmm0
mov dword [ebp - 0xc8], 0
movups xmmword [ebp - 0xe0], xmm0
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x1ac]
movq qword [ebp - 0xd0], xmm0
mov dword [ebp - 0xe4], 0x16
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xdc], eax
mov eax, dword [edi + 0xf4]
mov dword [ebp - 0xd8], eax
mov eax, dword [edi + 0xf8]
mov dword [ebp - 0xd4], eax
call fcn.0040f240
mov ecx, dword [edi + 0xe4]
lea edx, [ebp - 0xe4]
mov word [ebp - 0xce], ax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
mov ecx, dword [edi + 0xe0]
test ecx, ecx
je 0x410384
call fcn.00414e50
cmp byte [edi + 0x145], 0
je 0x40f44e
mov ecx, edi
call fcn.0040f030
mov al, 1
jmp 0x4118c8
cmp byte [edi + 0xdc], 0
je case.default.0x410dbb
mov ecx, dword [ebp - 0x1b0]
mov al, 1
mov dword [ecx], 3
jmp 0x4118c8
cmp dword [edi + 0xe0], 0
je case.default.0x410dbb
cmp byte [edi + 0x2b1], 0
jne case.default.0x410dbb
mov ecx, dword [ebp - 0x1a8]
movsx eax, cx
mov dword [ebp - 0x1bc], eax
shr ecx, 0x10
movsx eax, cx
mov dword [ebp - 0x1b8], eax
lea eax, [ebp - 0x1bc]
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [edi + 0xec]
mov eax, dword [ebp - 0x1bc]
mov edx, dword [ebp - 0x1b8]
mov dword [edi + 0xf4], eax
mov dword [edi + 0xf8], edx
test ecx, ecx
je case.default.0x410dbb
xorps xmm0, xmm0
mov dword [ebp - 0xc8], 0
movups xmmword [ebp - 0xe0], xmm0
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0x1ac]
movq qword [ebp - 0xd0], xmm0
mov dword [ebp - 0xe4], 0x11
mov dword [ebp - 0xe0], ecx
mov dword [ebp - 0xd4], edx
mov word [ebp - 0xce], ax
mov dword [ebp - 0xc8], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xec]
lea edx, [ebp - 0xe4]
mov dword [ebp - 0xdc], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
mov dword [edi + 0xec], 0
jmp case.default.0x410dbb
cmp dword [edi + 0xe0], 0
je case.default.0x410dbb
mov eax, dword [edi + 0xe4]
test eax, eax
je case.default.0x410dbb
xorps xmm0, xmm0
mov dword [ebp - 0xc8], 0
movups xmmword [ebp - 0xe0], xmm0
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x1ac]
movq qword [ebp - 0xd0], xmm0
mov dword [ebp - 0xcc], eax
mov word [ebp - 0xd0], ax
mov eax, dword [edi + 0xf4]
mov dword [ebp - 0xd8], eax
mov eax, dword [edi + 0xf8]
mov dword [ebp - 0xe4], 5
mov dword [ebp - 0xc8], esi
mov dword [ebp - 0xd4], eax
call fcn.0040f240
mov word [ebp - 0xce], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xe4]
lea edx, [ebp - 0xe4]
mov dword [ebp - 0xdc], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
jmp case.default.0x410dbb
cmp dword [edi + 0xe0], 0
je case.default.0x410dbb
mov eax, dword [edi + 0xe4]
test eax, eax
je case.default.0x410dbb
xorps xmm0, xmm0
mov dword [ebp - 0xc8], 0
movups xmmword [ebp - 0xe0], xmm0
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x1ac]
movq qword [ebp - 0xd0], xmm0
mov dword [ebp - 0xcc], eax
mov word [ebp - 0xd0], ax
mov eax, dword [edi + 0xf4]
mov dword [ebp - 0xd8], eax
mov eax, dword [edi + 0xf8]
mov dword [ebp - 0xe4], 3
mov dword [ebp - 0xc8], esi
mov dword [ebp - 0xd4], eax
call fcn.0040f240
mov word [ebp - 0xce], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xe4]
lea edx, [ebp - 0xe4]
mov dword [ebp - 0xdc], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
mov eax, dword [edi + 0xe4]
mov dword [edi + 0xf0], eax
jmp case.default.0x410dbb
cmp dword [edi + 0xe0], 0
je case.default.0x410dbb
mov eax, dword [edi + 0xf0]
test eax, eax
je case.default.0x410dbb
xorps xmm0, xmm0
mov dword [ebp - 0xc8], 0
movups xmmword [ebp - 0xe0], xmm0
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x1ac]
movq qword [ebp - 0xd0], xmm0
mov dword [ebp - 0xcc], eax
mov word [ebp - 0xd0], ax
mov eax, dword [edi + 0xf4]
mov dword [ebp - 0xd8], eax
mov eax, dword [edi + 0xf8]
mov dword [ebp - 0xe4], 4
mov dword [ebp - 0xc8], esi
mov dword [ebp - 0xd4], eax
call fcn.0040f240
mov word [ebp - 0xce], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xf0]
lea edx, [ebp - 0xe4]
mov dword [ebp - 0xdc], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
mov dword [edi + 0xf0], 0
jmp case.default.0x410dbb
cmp dword [edi + 0xe0], 0
je case.default.0x410dbb
cmp si, 1
jne case.default.0x410dbb
cmp byte [edi + 0x2b1], 0
jne 0x40f44e
lea eax, [ebp - 0x1d4]
mov dword [ebp - 0x1d4], 0
push eax
mov dword [ebp - 0x1d0], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x1d4]
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0x1d0]
mov ecx, edi
push dword [ebp - 0x1d4]
call fcn.0040e680
mov edi, eax
test edi, edi
je case.default.0x410dbb
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x18]
call edx
test al, 2
je case.default.0x410dbb
mov eax, dword [ebp - 0x1ac]
xorps xmm0, xmm0
movups xmmword [ebp - 0x140], xmm0
mov dword [ebp - 0x128], 0
movq qword [ebp - 0x130], xmm0
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x1d4]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x1d0]
mov dword [ebp - 0x144], 0x17
mov dword [ebp - 0x140], edi
mov dword [ebp - 0x128], esi
mov dword [ebp - 0x134], eax
call fcn.0040f240
mov word [ebp - 0x12e], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x13c], eax
lea ecx, [ebp - 0x144]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x11c]
mov al, 1
jmp 0x4118c8
cmp dword [ebp - 0x1ac], 0
je case.default.0x410dbb
call dword [sym.imp.USER32.dll_GetFocus]
mov esi, eax
push esi
mov dword [ebp - 0x1c0], esi
mov esi, dword [sym.imp.USER32.dll_GetParent]
call esi
test eax, eax
je case.default.0x410dbb
cmp dword [edi + 0x84], eax
je 0x41080e
push eax
mov dword [ebp - 0x1c0], eax
call esi
test eax, eax
jne 0x4107f4
jmp case.default.0x410dbb
lea ecx, [edi + 0x2f4]
xor esi, esi
call fcn.00409260
test eax, eax
jle case.default.0x410dbb
push esi
lea ecx, [edi + 0x2f4]
call fcn.00408b20
cmp eax, dword [ebp - 0x1c0]
je 0x41084c
lea ecx, [edi + 0x2f4]
inc esi
call fcn.00409260
cmp esi, eax
jl 0x410823
jmp case.default.0x410dbb
lea ecx, [edi + 0x300]
push esi
call fcn.00408b20
cmp eax, dword [edi + 0xe4]
je case.default.0x410dbb
push 0
push esi
lea ecx, [edi + 0x300]
call fcn.00408b20
push eax
mov ecx, edi
call fcn.00412c60
jmp case.default.0x410dbb
mov ecx, dword [ebp - 0x1a8]
test ecx, ecx
je 0x4108a7
push ecx
push dword [ebp - 0x1ac]
lea eax, [edx + 0x2000]
push eax
push dword [ecx]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x1b0]
mov dword [ecx], eax
mov al, 1
jmp 0x4118c8
cmp edx, 0x200
ja 0x410d9a
je 0x410a5c
mov eax, edx
sub eax, 0x113
je 0x410909
sub eax, 0x20
je 0x4108d7
sub eax, 5
jne case.default.0x410dbb
mov ecx, dword [ebp - 0x1a8]
test ecx, ecx
je case.default.0x410dbb
push ecx
push dword [ebp - 0x1ac]
lea eax, [edx + 0x2000]
push eax
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x1b0]
mov dword [ecx], eax
mov al, 1
jmp 0x4118c8
mov eax, 0x2000
cmp word [ebp - 0x1ac], ax
jne 0x41095f
test cl, cl
je 0x41095f
lea eax, [edi + 0x15c]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x41095f
push dword [edi + 0x84]
mov dword [ebp - 0x1b8], eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne case.default.0x410dbb
lea eax, [ebp - 0x1b8]
mov ecx, edi
push eax
push 0
push 0
push 0xf
call fcn.0040f290
jmp case.default.0x410dbb
lea ecx, [edi + 0x2c4]
mov dword [ebp - 0x1b4], 0
call fcn.00409260
test eax, eax
jle case.default.0x410dbb
xor ecx, ecx
nop
push ecx
lea ecx, [edi + 0x2c4]
call fcn.00408b20
mov edx, eax
mov dword [ebp - 0x1b8], edx
mov ecx, dword [edx + 8]
cmp ecx, dword [edi + 0x84]
jne 0x4109b3
mov eax, dword [ebp - 0x1ac]
movzx ecx, ax
cmp dword [edx + 0xc], ecx
jne 0x4109b3
cmp byte [edx + 0x10], 0
je 0x4109d3
inc dword [ebp - 0x1b4]
lea ecx, [edi + 0x2c4]
call fcn.00409260
mov ecx, dword [ebp - 0x1b4]
cmp ecx, eax
jl 0x410980
jmp case.default.0x410dbb
mov eax, dword [edx]
xorps xmm0, xmm0
movups xmmword [ebp - 0xe0], xmm0
mov dword [ebp - 0xc8], 0
movq qword [ebp - 0xd0], xmm0
mov dword [ebp - 0xe4], 0x18
mov dword [ebp - 0xe0], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xdc], eax
mov eax, dword [edi + 0xf4]
mov dword [ebp - 0xd8], eax
mov eax, dword [edi + 0xf8]
mov dword [ebp - 0xd4], eax
call fcn.0040f240
mov ecx, dword [ebp - 0x1b8]
lea edx, [ebp - 0xe4]
mov word [ebp - 0xce], ax
mov dword [ebp - 0xc8], esi
push edx
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
mov dword [ebp - 0xcc], eax
mov eax, dword [ecx]
call dword [eax + 0x11c]
jmp case.default.0x410dbb
cmp dword [edi + 0xe0], 0
je case.default.0x410dbb
cmp byte [edi + 0x2b0], 0
jne 0x410ad2
mov eax, dword [edi + 0x84]
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x18], eax
mov eax, dword [edi + 0xa8]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x20], 0x10
mov dword [ebp - 0x1c], 3
test eax, eax
jne 0x410aae
mov eax, dword [edi + 0xd8]
jmp 0x410abe
push 0
push 3
push 0x415
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
mov byte [edi + 0x2b0], 1
mov eax, dword [ebp - 0x1a8]
lea edx, [ebp - 0x11c]
mov ecx, dword [edi + 0xe0]
movsx esi, ax
shr eax, 0x10
cwde
mov dword [ebp - 0x1c0], eax
mov dword [edi + 0xf8], eax
mov dword [ebp - 0x118], eax
mov dword [edi + 0xf4], esi
mov dword [ebp - 0x11c], esi
mov eax, dword [ecx]
push 0x15
push edx
push 0x413d10
mov eax, dword [eax + 0x110]
mov dword [ebp - 0x1b8], esi
call eax
mov dword [ebp - 0x1b4], eax
test eax, eax
je 0x410b3c
mov edx, dword [eax]
mov ecx, eax
mov edx, dword [edx + 0x24]
call edx
cmp eax, edi
jne case.default.0x410dbb
mov eax, dword [ebp - 0x1c0]
xorps xmm0, xmm0
movups xmmword [ebp - 0xe0], xmm0
mov dword [ebp - 0xd8], esi
mov esi, dword [ebp - 0x1a8]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0x1ac]
movq qword [ebp - 0xd0], xmm0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xdc], eax
call fcn.0040f240
mov word [ebp - 0xce], ax
mov al, byte [edi + 0x2b1]
test al, al
jne 0x410d38
push dword [ebp - 0x1c0]
mov ecx, edi
push dword [ebp - 0x1b8]
call fcn.0040e680
mov esi, eax
mov dword [ebp - 0x1b4], esi
test esi, esi
je 0x410be2
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x24]
call eax
cmp eax, edi
jne case.default.0x410dbb
mov eax, dword [edi + 0xe8]
cmp esi, eax
je 0x410d03
test eax, eax
je 0x410d03
lea ecx, [edi + 0x330]
mov dword [ebp - 0xe4], 0xa
mov dword [ebp - 0xe0], eax
call fcn.00409260
push eax
lea ecx, [ebp - 0x1e8]
call fcn.00408760
lea ecx, [edi + 0x330]
mov dword [ebp - 4], 3
call fcn.00409260
push eax
lea ecx, [ebp - 0x1e8]
call fcn.00409b30
lea ecx, [edi + 0x330]
call fcn.00409260
shl eax, 2
lea ecx, [edi + 0x330]
push eax
call fcn.00409220
push eax
lea ecx, [ebp - 0x1e8]
call fcn.00409220
push eax
call fcn.0045e210
add esp, 0xc
lea ecx, [ebp - 0x1e8]
xor esi, esi
call fcn.00409260
test eax, eax
jle 0x410cad
nop dword [eax]
push esi
lea ecx, [ebp - 0x1e8]
call fcn.00408b20
lea ecx, [ebp - 0xe4]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x11c]
lea ecx, [ebp - 0x1e8]
inc esi
call fcn.00409260
cmp esi, eax
jl 0x410c80
mov ecx, dword [edi + 0xe8]
lea edx, [ebp - 0xe4]
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
mov ecx, dword [edi + 0xa8]
mov dword [edi + 0xe8], 0
test ecx, ecx
je 0x410ceb
lea eax, [edi + 0xac]
push eax
push 0
push 0x411
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x1e8]
mov dword [ebp - 4], 0xffffffff
call fcn.00408a10
mov esi, dword [ebp - 0x1b4]
cmp esi, dword [edi + 0xe8]
je 0x410d3e
test esi, esi
je 0x410d3e
mov dword [ebp - 0xe4], 0xb
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0xe0], esi
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x11c]
mov dword [edi + 0xe8], esi
jmp 0x410d3e
mov esi, dword [ebp - 0x1b4]
mov ecx, dword [edi + 0xec]
test ecx, ecx
je 0x410d6c
mov dword [ebp - 0xe4], 9
lea edx, [ebp - 0xe4]
mov dword [ebp - 0xe0], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x11c]
jmp case.default.0x410dbb
test esi, esi
je case.default.0x410dbb
mov dword [ebp - 0xe4], 9
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0xe0], esi
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x11c]
jmp case.default.0x410dbb
cmp edx, 0x20a
ja 0x4112e1
je 0x411188
add edx, 0xfffffdff
cmp edx, 3
ja case.default.0x410dbb
jmp dword [edx*4 + 0x411a20]
cmp byte [edi + 0xdc], 0
jne 0x410dd7
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [edi + 0xe0], 0
je case.default.0x410dbb
mov eax, dword [ebp - 0x1a8]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x1b8], ecx
mov dword [edi + 0xf4], ecx
push ecx
mov ecx, edi
mov dword [ebp - 0x1c0], eax
mov dword [edi + 0xf8], eax
call fcn.0040e680
mov esi, eax
mov dword [ebp - 0x1d0], esi
test esi, esi
je case.default.0x410dbb
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x24]
call edx
cmp eax, edi
jne case.default.0x410dbb
mov dword [edi + 0xec], esi
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x104]
mov ecx, edi
call fcn.00412a90
mov ecx, dword [ebp - 0x1b8]
xorps xmm0, xmm0
mov eax, dword [ebp - 0x1ac]
movups xmmword [ebp - 0xe0], xmm0
mov dword [ebp - 0xe0], esi
mov esi, dword [ebp - 0x1a8]
movq qword [ebp - 0xd0], xmm0
mov dword [ebp - 0xd8], ecx
mov ecx, dword [ebp - 0x1c0]
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xe4], 0xd
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], esi
mov dword [ebp - 0xd4], ecx
mov word [ebp - 0xce], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x1d0]
lea edx, [ebp - 0xe4]
mov dword [ebp - 0xdc], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
jmp case.default.0x410dbb
cmp byte [edi + 0xdc], 0
jne 0x410ee8
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x1a8]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x1b8], ecx
mov dword [edi + 0xf4], ecx
push ecx
mov ecx, edi
mov dword [ebp - 0x1c0], eax
mov dword [edi + 0xf8], eax
call fcn.0040e680
mov esi, eax
test esi, esi
je case.default.0x410dbb
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x24]
call edx
cmp eax, edi
jne case.default.0x410dbb
mov ecx, edi
call fcn.00412a90
mov eax, dword [ebp - 0x1b8]
xorps xmm0, xmm0
movups xmmword [ebp - 0xe0], xmm0
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0x1ac]
movq qword [ebp - 0xd0], xmm0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xe4], 0x10
mov dword [ebp - 0xe0], esi
mov word [ebp - 0xce], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xdc], eax
lea ecx, [ebp - 0xe4]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x11c]
mov dword [edi + 0xec], esi
jmp case.default.0x410dbb
mov eax, dword [ebp - 0x1a8]
movsx ecx, ax
shr eax, 0x10
cmp dword [edi + 0xec], 0
cwde
mov dword [ebp - 0x1b8], ecx
mov dword [ebp - 0x1c0], eax
mov dword [edi + 0xf4], ecx
mov dword [edi + 0xf8], eax
je case.default.0x410dbb
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [edi + 0xec]
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x1b8]
mov esi, dword [ebp - 0x1a8]
movups xmmword [ebp - 0xe0], xmm0
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x1ac]
movq qword [ebp - 0xd0], xmm0
mov dword [ebp - 0xd8], ecx
mov ecx, dword [ebp - 0x1c0]
mov dword [ebp - 0xc8], 0
mov byte [edi + 0x2b1], 0
mov dword [ebp - 0xe4], 0xe
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], esi
mov dword [ebp - 0xd4], ecx
mov word [ebp - 0xce], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xec]
lea edx, [ebp - 0xe4]
mov dword [ebp - 0xdc], eax
mov dword [edi + 0xec], 0
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
jmp case.default.0x410dbb
cmp byte [edi + 0xdc], 0
jne 0x41109e
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x1a8]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x1b8], ecx
mov dword [edi + 0xf4], ecx
push ecx
mov ecx, edi
mov dword [ebp - 0x1c0], eax
mov dword [edi + 0xf8], eax
call fcn.0040e680
mov esi, eax
mov dword [ebp - 0x1d0], esi
test esi, esi
je case.default.0x410dbb
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x24]
call edx
cmp eax, edi
jne case.default.0x410dbb
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x104]
mov ecx, dword [ebp - 0x1b8]
xorps xmm0, xmm0
mov eax, dword [ebp - 0x1ac]
movups xmmword [ebp - 0xe0], xmm0
mov dword [ebp - 0xe0], esi
mov esi, dword [ebp - 0x1a8]
movq qword [ebp - 0xd0], xmm0
mov dword [ebp - 0xd8], ecx
mov ecx, dword [ebp - 0x1c0]
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xe4], 0xf
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], esi
mov dword [ebp - 0xd4], ecx
mov word [ebp - 0xce], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [ebp - 0x1d0]
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0xdc], eax
push ecx
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x11c]
mov dword [edi + 0xec], esi
jmp case.default.0x410dbb
cmp dword [edi + 0xe0], 0
je case.default.0x410dbb
mov ecx, dword [ebp - 0x1a8]
movsx eax, cx
mov dword [ebp - 0x1c4], eax
mov eax, ecx
shr eax, 0x10
cwde
mov dword [ebp - 0x1c0], eax
lea eax, [ebp - 0x1c4]
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [ebp - 0x1c4]
lea edx, [ebp - 0x11c]
mov eax, dword [ebp - 0x1c0]
mov dword [edi + 0xf4], ecx
mov dword [ebp - 0x11c], ecx
mov ecx, dword [edi + 0xe0]
mov dword [edi + 0xf8], eax
mov dword [ebp - 0x118], eax
push 0x15
mov eax, dword [ecx]
push edx
push 0x413d10
mov eax, dword [eax + 0x110]
call eax
mov esi, eax
mov dword [ebp - 0x1b8], esi
test esi, esi
je case.default.0x410dbb
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x24]
call edx
cmp eax, edi
jne case.default.0x410dbb
mov eax, dword [ebp - 0x1ac]
xorps xmm0, xmm0
shr eax, 0x10
shr eax, 0xf
movups xmmword [ebp - 0xe0], xmm0
mov dword [ebp - 0xe0], esi
mov esi, dword [ebp - 0x1a8]
movq qword [ebp - 0xd0], xmm0
mov dword [ebp - 0xcc], eax
mov eax, dword [edi + 0xf4]
mov dword [ebp - 0xd8], eax
mov eax, dword [edi + 0xf8]
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xe4], 0x12
mov dword [ebp - 0xc8], esi
mov dword [ebp - 0xd4], eax
call fcn.0040f240
mov word [ebp - 0xce], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x1b8]
lea edx, [ebp - 0xe4]
mov dword [ebp - 0xdc], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
movzx ecx, word [edi + 0xf8]
movzx eax, word [edi + 0xf4]
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x200
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.default.0x410dbb
cmp edx, 0x318
ja 0x411783
je 0x411691
sub edx, 0x2a1
je 0x411427
sub edx, 2
jne case.default.0x410dbb
cmp dword [edi + 0xe0], edx
je case.default.0x410dbb
mov ecx, dword [edi + 0xa8]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test ecx, ecx
je 0x411334
lea eax, [edi + 0xac]
push eax
push edx
push 0x411
push ecx
call esi
cmp byte [edi + 0x2b0], 0
je 0x41141b
lea eax, [ebp - 0x1bc]
mov dword [ebp - 0x1bc], 0
xorps xmm0, xmm0
mov dword [ebp - 0x1b8], 0
push eax
movups xmmword [ebp - 0x40], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x40]
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x41140a
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [edi + 0x84]
jne 0x41140a
push dword [ebp - 0x1b8]
lea eax, [ebp - 0x40]
push dword [ebp - 0x1bc]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x41140a
movzx ecx, word [ebp - 0x1b8]
movzx eax, word [ebp - 0x1bc]
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x84
push dword [edi + 0x84]
call esi
cmp eax, 1
jne 0x41140a
lea eax, [ebp - 0x1bc]
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_ScreenToClient]
movzx ecx, word [ebp - 0x1b8]
movzx eax, word [ebp - 0x1bc]
shl ecx, 0x10
or ecx, eax
push ecx
jmp 0x41140c
push 0xffffffffffffffff
push 0
push 0x200
push dword [edi + 0x84]
call esi
mov byte [edi + 0x2b0], 0
jmp case.default.0x410dbb
cmp dword [edi + 0xe0], 0
je case.default.0x410dbb
mov eax, dword [ebp - 0x1a8]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x1b8], ecx
push ecx
mov ecx, edi
mov byte [edi + 0x2b0], 0
mov dword [ebp - 0x1c0], eax
call fcn.0040e680
mov esi, eax
mov dword [ebp - 0x1d0], esi
test esi, esi
je case.default.0x410dbb
mov eax, dword [edi + 0xe8]
test eax, eax
je 0x41150a
mov esi, dword [ebp - 0x1a8]
xorps xmm0, xmm0
movups xmmword [ebp - 0xe0], xmm0
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x1ac]
movq qword [ebp - 0xd0], xmm0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xe4], 0xc
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0xd4], eax
call fcn.0040f240
mov ecx, dword [edi + 0xe8]
lea edx, [ebp - 0xe4]
mov word [ebp - 0xce], ax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
mov esi, dword [ebp - 0x1d0]
mov eax, dword [esi]
lea ecx, [ebp - 0xc4]
push ecx
mov ecx, esi
call dword [eax + 0xac]
lea ecx, [ebp - 0xc4]
mov dword [ebp - 4], 2
call fcn.00409480
test al, al
jne 0x41167f
lea eax, [ebp - 0xc4]
push eax
call fcn.00411c50
push 0x2c
lea eax, [edi + 0xac]
push 0
push eax
call fcn.0045e790
mov eax, dword [edi + 0x84]
lea ecx, [ebp - 0xc4]
add esp, 0x10
mov dword [edi + 0xac], 0x2c
mov dword [edi + 0xb0], 1
mov dword [edi + 0xb4], eax
mov dword [edi + 0xb8], eax
mov eax, dword [0x4deb34]
mov dword [edi + 0xcc], eax
call fcn.00409220
mov dword [edi + 0xd0], eax
mov ecx, esi
mov eax, dword [esi]
mov eax, dword [eax + 0x40]
call eax
cmp dword [edi + 0xa8], 0
movups xmm0, xmmword [eax]
movups xmmword [edi + 0xbc], xmm0
jne 0x411631
push 0
push dword [0x4deb34]
push 0
push dword [edi + 0x84]
push bind
push bind
push bind
push bind
push reloc.WS2_32.dll_closesocket
push 0
push str.tooltips_class32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [edi + 0xa8], eax
test eax, eax
je 0x411617
mov ecx, dword [edi + 0xa4]
test ecx, ecx
js 0x411617
push ecx
push 0
push 0x418
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [edi + 0xa4], eax
lea eax, [edi + 0xac]
push eax
push 0
push 0x432
push dword [edi + 0xa8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xb8]
call eax
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 0
push 0x418
push dword [edi + 0xa8]
call esi
lea eax, [edi + 0xac]
push eax
push 0
push 0x436
push dword [edi + 0xa8]
call esi
lea eax, [edi + 0xac]
push eax
push 1
push 0x411
push dword [edi + 0xa8]
call esi
lea ecx, [ebp - 0xc4]
call fcn.00408980
mov al, 1
jmp 0x4118c8
cmp dword [edi + 0xe0], 0
je case.default.0x410dbb
lea eax, [ebp - 0x40]
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [ebp - 0x1ac]
push esi
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [edi + 0xe0]
mov dword [ebp - 0x1b8], eax
lea eax, [ebp - 0x40]
push 0
push eax
mov edx, dword [ecx]
push esi
call dword [edx + 0x138]
test byte [ebp - 0x1a8], 0x10
je 0x411771
push 5
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x1b4], eax
test eax, eax
je 0x411771
or dword [ebp - 0x1a8], 2
lea ecx, [ebp - 0x20]
xorps xmm0, xmm0
push ecx
push eax
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x20]
push eax
push dword [edi + 0x84]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x1c]
push 0
neg eax
push eax
mov eax, dword [ebp - 0x20]
neg eax
push eax
push esi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
push dword [ebp - 0x1a8]
push esi
push 0x317
push dword [ebp - 0x1b4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 2
push dword [ebp - 0x1b4]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x1b4], eax
test eax, eax
jne 0x411706
push dword [ebp - 0x1b8]
push esi
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp case.default.0x410dbb
cmp edx, 0x8001
jne case.default.0x410dbb
lea eax, [edi + 0x318]
mov byte [edi + 0x2b4], 0
push 0
mov ecx, eax
mov dword [ebp - 0x1c0], eax
call fcn.00409190
mov esi, eax
mov dword [ebp - 0x1b4], esi
test esi, esi
je 0x411892
lea eax, [edi + 0x2b8]
mov dword [ebp - 0x1b0], eax
mov edi, eax
nop dword [eax]
mov ecx, dword [ebp - 0x1c0]
push 1
push 0
call fcn.00409620
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x411804
add ecx, 0x38
call fcn.00420990
test al, al
je 0x411804
mov ecx, dword [esi + 0x108]
push esi
add ecx, 0x38
call fcn.004209a0
mov ecx, edi
xor esi, esi
call fcn.00409260
test eax, eax
jle 0x411849
mov edi, dword [ebp - 0x1b4]
nop word [eax + eax]
mov ecx, dword [ebp - 0x1b0]
push esi
call fcn.00408b20
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, dword [ebp - 0x1b0]
inc esi
call fcn.00409260
cmp esi, eax
jl 0x411820
mov edi, dword [ebp - 0x1b0]
mov esi, dword [ebp - 0x1b4]
lea ecx, [esi + 0x84]
call fcn.00408980
mov ecx, esi
call fcn.00408980
push 0x120
push esi
call fcn.0048bde7
mov ecx, dword [ebp - 0x1c0]
add esp, 8
push 0
call fcn.00409190
mov esi, eax
mov dword [ebp - 0x1b4], eax
test esi, esi
jne 0x4117d0
mov edi, dword [ebp - 0x1dc]
add edi, 0x30c
xor esi, esi
mov ecx, edi
call fcn.00409260
test eax, eax
jle 0x4118bf
push esi
mov ecx, edi
call fcn.00408b20
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, edi
inc esi
call fcn.00409260
cmp esi, eax
jl 0x4118a5
mov ecx, edi
call fcn.00408f60
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.0048bdd6
mov esp, ebp
pop ebp
ret 0x10