Function at 0x277feb7b
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc
xor eax, eax
push ebx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x10]
push edi
lea esi, [ebp - 0x20]
lea edi, [ebp - 0x7c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], eax
movsd dword es:[edi], dword [esi]
mov ebx, dword [ebp + 8]
movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx]
movsd dword es:[edi], dword [esi]
push ecx
mov dword [ebp - 0xc], ecx
movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_UpdateWindow]
test byte [ebx + 0x21], 2
je 0x277fecc2
mov esi, dword [sym.imp.GDI32.dll_CreateRectRgn]
xor edi, edi
push edi
push edi
push edi
push edi
call esi
cmp eax, edi
mov dword [ebp - 0x24], eax
je 0x277fed45
push edi
push edi
push edi
push edi
call esi
cmp eax, edi
mov dword [ebp - 0x10], eax
je 0x277fed45
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_LockWindowUpdate]
test eax, eax
je 0x277fed45
push 0x420
push edi
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_GetDCEx]
mov dword [ebp - 4], eax
mov dword [ebp - 0x30], 1
mov esi, dword [ebp - 0xc]
push esi
call dword [sym.imp.USER32.dll_SetCapture]
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_DrawFocusRect]
lea eax, [ebp - 0x9c]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0xac]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, esi
jne 0x277fed2e
push 1
push edi
push edi
lea eax, [ebp - 0x6c]
push edi
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x277fecd5
push dword [ebp - 0x54]
lea eax, [ebp - 0xac]
push dword [ebp - 0x58]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x277fecb7
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x58]
push eax
push ebx
call fcn.277feb17
test eax, eax
je 0x277fecb7
push dword [ebp - 0x54]
push dword [ebp - 0x58]
call dword [sym.imp.USER32.dll_SetCursorPos]
call dword [sym.imp.USER32.dll_GetCapture]
mov esi, dword [ebp - 0xc]
jmp 0x277fec64
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 4], eax
xor edi, edi
jmp 0x277fec25
lea eax, [ebp - 0x6c]
push 0x4202
push eax
call dword [sym.imp.USER32.dll_CallMsgFilterA]
test eax, eax
jne 0x277fecb7
mov eax, dword [ebp - 0x68]
mov ecx, 0x113
cmp eax, ecx
ja 0x277feeb2
je 0x277fed72
add ecx, 0xffffffed
cmp eax, ecx
je 0x277fed20
jbe 0x277fed0a
cmp eax, 0x102
jbe 0x277fecb7
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x277fecb7
cmp dword [ebp - 0x64], 0x1b
jne 0x277fecb7
push 0xffffffffffffffff
push ebx
call fcn.277fd929
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_DrawFocusRect]
push dword [ebp - 4]
push esi
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [ebp - 0x24], edi
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
je 0x277fed55
push dword [ebp - 0x24]
call esi
cmp dword [ebp - 0x10], edi
je 0x277fed5f
push dword [ebp - 0x10]
call esi
cmp dword [ebp - 0x30], edi
je 0x277fed6b
push edi
call dword [sym.imp.USER32.dll_LockWindowUpdate]
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [ebp - 0x64], 0x2c
jne 0x277fed0a
mov eax, dword [ebp - 0x58]
or dword [ebp - 0x3c], 0xffffffff
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x2c]
push eax
push esi
call dword [sym.imp.USER32.dll_ScreenToClient]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push ebx
call fcn.277fe9c8
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
sub eax, dword [ebp - 0x34]
sub ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x2c]
mov dword [ebp + 0x10], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp + 0xc], ecx
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x28]
cmp edx, eax
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], ecx
jle 0x277fedde
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x9c]
cmp dword [ebp - 0x18], eax
jge 0x277fedec
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x90]
cmp ecx, eax
jle 0x277fedf9
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x98]
cmp dword [ebp - 0x14], eax
jge 0x277fee07
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push eax
call fcn.277feaf2
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
jne 0x277fecb7
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_DrawFocusRect]
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
cmp eax, edi
jne 0x277fee41
cmp ecx, edi
je 0x277fee4f
push ecx
push eax
push ebx
call fcn.277ffaea
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
neg ecx
neg eax
push ecx
push eax
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x8c]
push eax
call dword [sym.imp.USER32.dll_UnionRect]
mov eax, dword [ebx + 8]
mov ecx, eax
and ecx, 3
cmp ecx, 1
jne 0x277feeff
mov ecx, dword [ebx + 0x138]
mov eax, dword [ebp - 0x88]
sub ecx, dword [ebx + 0x12c]
mov esi, dword [ebx + 0xa4]
add eax, ecx
cdq
idiv esi
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x80]
add eax, ecx
cdq
idiv esi
inc eax
mov dword [ebp - 8], eax
jmp 0x277fef65
mov ecx, 0x200
cmp eax, ecx
je 0x277fed78
jbe 0x277fed0a
cmp eax, 0x202
jbe 0x277feef4
cmp eax, 0x203
jbe 0x277fed0a
cmp eax, 0x205
jbe 0x277feef4
cmp eax, 0x206
jbe 0x277fed0a
cmp eax, 0x208
ja 0x277fed0a
push ebx
call fcn.277bf786
jmp 0x277fed2e
cmp ecx, 3
jne 0x277ff100
mov ecx, dword [ebx + 0x9c]
mov eax, dword [ebp - 0x8c]
mov esi, dword [ebx + 0xa0]
add eax, ecx
cdq
idiv esi
mov edi, dword [ebx + 0xa8]
imul eax, edi
mov edi, dword [ebx + 0xa4]
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x88]
cdq
idiv edi
mov edx, dword [ebp + 8]
add edx, eax
mov eax, dword [ebp - 0x84]
add eax, ecx
mov dword [ebp + 8], edx
cdq
idiv esi
mov ecx, eax
mov eax, dword [ebp - 0x80]
cdq
imul ecx, dword [ebx + 0xa8]
idiv edi
xor edi, edi
lea eax, [ecx + eax + 1]
mov dword [ebp - 8], eax
mov edx, dword [ebx + 8]
and edx, 0x1000
je 0x277ff12f
mov ecx, dword [ebx + 0x15c]
cmp eax, ecx
jle 0x277fef8f
cmp edx, edi
je 0x277ff139
mov eax, dword [ebx + 0x15c]
mov dword [ebp - 8], eax
cmp dword [ebp + 8], edi
jge 0x277fef97
mov dword [ebp + 8], edi
cmp edx, edi
je 0x277fefae
cmp dword [ebp + 8], eax
jge 0x277fefae
dec eax
push eax
push dword [ebp + 8]
push ebx
call fcn.277f9d59
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x40], edi
je 0x277fefbd
test byte [ebp - 0x64], 0xc
jne 0x277fefbd
or dword [ebx + 0x58], 0xffffffff
cmp dword [ebp + 8], eax
jge 0x277ff083
lea eax, [ebp - 0x50]
push eax
push edi
push edi
push edi
push dword [ebp + 8]
push ebx
call fcn.27802292
mov ecx, dword [ebx + 8]
and ecx, 3
cmp ecx, 1
jne 0x277fefe7
test byte [ebx + 0x20], 0x20
jne 0x277ff020
mov eax, dword [ebp - 0x48]
push 4
sub eax, dword [ebp - 0x50]
pop esi
cdq
idiv esi
cmp ecx, 3
mov esi, eax
jne 0x277ff006
mov eax, dword [ebx + 0x94]
cmp esi, eax
jl 0x277ff006
mov esi, eax
mov eax, dword [ebp - 0x44]
push 0xfffffffffffffffc
sub eax, dword [ebp - 0x4c]
pop ecx
neg esi
cdq
idiv ecx
push eax
lea eax, [ebp - 0x50]
push esi
push eax
call dword [sym.imp.USER32.dll_InflateRect]
lea eax, [ebp - 0x50]
mov edi, dword [sym.imp.USER32.dll_IntersectRect]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0xbc]
push eax
call edi
mov esi, eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x20]
neg esi
push eax
lea eax, [ebp - 0xbc]
sbb esi, esi
push eax
neg esi
call edi
mov edi, eax
neg edi
sbb edi, edi
neg edi
test byte [ebp - 0x64], 8
mov dword [ebp - 0x40], edi
je 0x277ff14a
cmp esi, edi
je 0x277ff072
push dword [ebp + 8]
push ebx
call fcn.277fd9ed
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 8]
jl 0x277ff143
xor edi, edi
cmp dword [ebp - 0x30], edi
je 0x277ff1a2
mov esi, dword [ebp - 0x24]
push edi
push esi
push dword [ebx]
call dword [sym.imp.USER32.dll_GetUpdateRgn]
cmp eax, 1
jle 0x277ff0e2
push edi
push dword [ebx]
call dword [sym.imp.USER32.dll_ValidateRect]
push dword [ebp - 0x10]
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowRgn]
push 1
push dword [ebp - 0x10]
push esi
push esi
call dword [sym.imp.GDI32.dll_CombineRgn]
push esi
mov esi, dword [sym.imp.GDI32.dll_SelectClipRgn]
push dword [ebp - 4]
call esi
push edi
push dword [ebp - 4]
push 0x318
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageA]
push edi
push dword [ebp - 4]
call esi
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_DrawFocusRect]
lea esi, [ebp - 0x20]
lea edi, [ebp - 0x7c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor edi, edi
jmp 0x277fecb7
test ah, 0x10
je 0x277ff122
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x8c]
push eax
push ebx
call fcn.27819da7
mov eax, dword [ebp - 8]
jmp 0x277fef65
mov eax, dword [ebx + 0x18]
mov dword [ebp + 8], edi
mov eax, dword [eax]
jmp 0x277feeaa
mov ecx, dword [ebx + 0x18]
mov ecx, dword [ecx]
jmp 0x277fef7a
mov eax, dword [ebx + 0x18]
mov eax, dword [eax]
jmp 0x277fef8c
xor edi, edi
jmp 0x277fefc6
cmp esi, edi
je 0x277ff163
neg esi
sbb esi, esi
push 2
and esi, 0xfffffffe
inc esi
inc esi
push esi
push dword [ebp + 8]
push ebx
call fcn.278007a8
test edi, edi
je 0x277ff072
test byte [ebp - 0x64], 0xc
jne 0x277ff072
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x50]
sub ecx, dword [ebp - 0x28]
sub eax, dword [ebp - 0x2c]
mov edx, ecx
imul eax, eax
imul edx, ecx
add eax, edx
cmp eax, dword [ebp - 0x3c]
jle 0x277ff072
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 8]
mov dword [ebx + 0x58], eax
jmp 0x277ff072
push dword [ebx]
call dword [sym.imp.USER32.dll_UpdateWindow]
jmp 0x277ff0e2