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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov esi, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [0x4ef418]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
add eax, 0xfffffffe
cmp eax, 3
ja case.default.0x41d875
jmp dword [eax*4 + 0x4d9114]
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call ebx
mov edi, eax
xor eax, eax
inc eax
push eax
call ebx
mov ebx, eax
add ebx, 0xfffffffe
add edi, 0xfffffffe
xor eax, eax
inc eax
push eax
push eax
call dword [sym.imp.USER32.dll_WindowFromPoint]
mov dword [ebp - 0x2c], eax
push ebx
xor eax, eax
inc eax
push eax
call dword [sym.imp.USER32.dll_WindowFromPoint]
mov dword [ebp - 0x28], eax
xor eax, eax
inc eax
push eax
push edi
call dword [sym.imp.USER32.dll_WindowFromPoint]
mov ecx, dword [sym.imp.USER32.dll_WindowFromPoint]
mov dword [ebp - 0x24], eax
push ebx
push edi
call ecx
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], ecx
jne 0x41d8dd
cmp ecx, edx
jne 0x41d8dd
cmp edx, eax
je case.default.0x41d875
push 0
push 0x1388
push 2
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
jmp case.default.0x41d875
push 2
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, esi
call fcn.0041c8f0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045bb2d
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret 4
cmp dword [esi + 0x4d0], 0
je 0x41d92e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [esi + 0x4c4]
ja case.default.0x41d875
lea edi, [esi + 0x3d0]
xor ebx, ebx
cmp dword [esi + 0x3ec], 0
je 0x41d9b5
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [esi + 0x3e0]
jbe 0x41d9b5
lea edi, [esi + 0x41c]
xor ebx, ebx
inc ebx
cmp dword [esi + 0x438], 0
je 0x41d9b5
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [esi + 0x42c]
jbe 0x41d9b5
lea edi, [esi + 0x468]
mov ebx, 2
cmp dword [esi + 0x484], 0
je 0x41d9b5
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [esi + 0x478]
jbe 0x41d9b5
lea edi, [esi + 0x4b4]
mov ebx, 3
cmp dword [esi + 0x4d0], 0
je 0x41d9b5
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [esi + 0x4c4]
ja case.default.0x41d875
xorps xmm0, xmm0
lea eax, [ebp - 0x20]
movups xmmword [eax], xmm0
push eax
push dword [esi + 0x344]
call dword [sym.imp.USER32.dll_GetWindowRect]
cmp dword [edi + 0x1c], 0
je 0x41d9dc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [edi + 0x10]
ja 0x41da32
lea eax, [esi + 0x3a8]
mov dword [esi + 0x3bc], 0x3fdccccc
mov dword [esi + 0x3b8], 0xcccccccd
mov dword [edi + 0x28], eax
mov eax, dword [edi + 0x2c]
and eax, 0xfffffff4
xor ecx, ecx
mov dword [edi + 0x38], ecx
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x20]
or eax, 3
mov dword [edi + 0x2c], eax
mov dword [edi + 0x3c], ecx
mov dword [edi + 8], 0x7d0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, dword [edi + 4]
mov dword [edi + 0x10], eax
xor eax, eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x1c], 1
imul eax, ebx, 0x4c
lea edi, [esi + eax]
add edi, 0x500
cmp dword [edi + 0x1c], 0
je 0x41da53
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [edi + 0x10]
ja case.default.0x41d875
add esi, 0x3c0
mov dword [edi + 0x28], esi
mov eax, dword [edi + 0x2c]
and eax, 0xfffffff4
xor esi, esi
mov dword [edi + 0x38], esi
or eax, 3
mov dword [edi + 0x2c], eax
mov dword [edi + 0x3c], 0xff
mov dword [edi + 8], 0x7d0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, dword [edi + 4]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], esi
mov dword [edi + 0x1c], 1
jmp case.default.0x41d875
lea edi, [esi + 0x340]
cmp dword [esi + 0x3ec], 0
je 0x41dac8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [esi + 0x3e0]
jbe 0x41dac8
lea ecx, [esi + 0x3d0]
call fcn.0041dc20
mov ecx, edi
push 0
push eax
call fcn.00420930
cmp dword [esi + 0x51c], 0
je 0x41daf4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [esi + 0x510]
jbe 0x41daf4
lea ecx, [esi + 0x500]
call fcn.0041dc20
mov ecx, edi
push 0
push eax
call fcn.00420950
cmp dword [esi + 0x438], 0
je 0x41db20
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [esi + 0x42c]
jbe 0x41db20
lea ecx, [esi + 0x41c]
call fcn.0041dc20
mov ecx, edi
push 1
push eax
call fcn.00420930
cmp dword [esi + 0x568], 0
je 0x41db4c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [esi + 0x55c]
jbe 0x41db4c
lea ecx, [esi + 0x54c]
call fcn.0041dc20
mov ecx, edi
push 1
push eax
call fcn.00420950
cmp dword [esi + 0x484], 0
je 0x41db78
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [esi + 0x478]
jbe 0x41db78
lea ecx, [esi + 0x468]
call fcn.0041dc20
mov ecx, edi
push 2
push eax
call fcn.00420930
cmp dword [esi + 0x5b4], 0
je 0x41dba4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [esi + 0x5a8]
jbe 0x41dba4
lea ecx, [esi + 0x598]
call fcn.0041dc20
mov ecx, edi
push 2
push eax
call fcn.00420950
cmp dword [esi + 0x4d0], 0
je 0x41dbd0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [esi + 0x4c4]
jbe 0x41dbd0
lea ecx, [esi + 0x4b4]
call fcn.0041dc20
mov ecx, edi
push 3
push eax
call fcn.00420930
cmp dword [esi + 0x600], 0
je 0x41dbfc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [esi + 0x5f4]
jbe 0x41dbfc
lea ecx, [esi + 0x5e4]
call fcn.0041dc20
mov ecx, edi
push 3
push eax
call fcn.00420950
push 1
push 0
push dword [esi + 0x344]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp case.default.0x41d875