Function at 0x4621f4
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x462514
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4624e3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x48c3c4]
cmp dword [eax], 2
jne 0x462232
mov byte [ebp - 7], 2
jmp 0x462236
mov byte [ebp - 7], 3
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0x14], eax
mov dl, 1
mov eax, dword [0x45b514]
call fcn.0045ea78
mov dword [ebp - 0x24], eax
push 8
mov eax, dword [ebp - 0x14]
push eax
call sub.gdi32.dll_GetDeviceCaps
mov word [ebp - 0x16], ax
push 0xa
mov eax, dword [ebp - 0x14]
push eax
call sub.gdi32.dll_GetDeviceCaps
test eax, eax
jns 0x462270
add eax, 7
sar eax, 3
mov word [ebp - 0x18], ax
movzx edx, word [ebp - 0x16]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x40]
movzx edx, word [ebp - 0x18]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x24]
mov byte [eax + 0x30], 0
push 4
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, dword [0x462194]
call fcn.00405df8
add esp, 4
mov byte [ebp - 5], 0
push 0xc8
call sub.kernel32.dll_Sleep_1
mov eax, dword [ebp - 0x24]
call fcn.0045efcc
call fcn.0045cbb4
mov al, byte [ebp - 7]
cmp al, 5
ja 0x46241f
mov byte [ebp - 6], al
mov al, byte [ebp - 6]
call fcn.00461c34
mov byte [ebp - 8], al
mov dl, byte [ebp - 8]
mov eax, dword [ebp - 0x24]
call fcn.0045fe38
lea eax, [ebp - 0x30]
push eax
call sub.kernel32.dll_QueryPerformanceCounter_1
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
movzx eax, word [ebp - 0x18]
push eax
movzx eax, word [ebp - 0x16]
push eax
push 0
push 0
mov eax, dword [ebp - 0x24]
call fcn.0045efcc
call fcn.0045cd24
push eax
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x38]
push eax
call sub.kernel32.dll_QueryPerformanceCounter_1
mov al, byte [ebp - 8]
call fcn.00461b38
and eax, 0xff
movzx edx, word [ebp - 0x16]
imul edx
add eax, 0x1f
and eax, 0xffffffe0
test eax, eax
jns 0x46234d
add eax, 7
sar eax, 3
mov word [ebp - 0x1a], ax
movzx eax, word [ebp - 0x18]
movzx edx, word [ebp - 0x1a]
imul edx
mov dword [ebp - 0x20], eax
xor edx, edx
mov eax, dword [ebp - 0x24]
call fcn.0045f13c
movzx edx, word [ebp - 0x1a]
add eax, edx
sub eax, dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
push 1
call sub.kernel32.dll_Sleep_1
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_QueryPerformanceCounter_1
push 1
push 1
fild dword [ebp - 0x20]
fdiv dword [0x462520]
call fcn.00402b40
mov edx, eax
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.00430f4c
lea eax, [ebp - 0x48]
push eax
call sub.kernel32.dll_QueryPerformanceCounter_1
mov al, byte [ebp - 6]
call fcn.00461c34
xor edx, edx
mov dl, byte [ebp - 5]
mov ecx, edx
shl edx, 4
add edx, ecx
mov ecx, dword [ebp - 0x10]
mov byte [ecx + edx], al
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
sub eax, dword [ebp - 0x30]
sbb edx, dword [ebp - 0x2c]
xor ecx, ecx
mov cl, byte [ebp - 5]
mov ebx, ecx
shl ecx, 4
add ecx, ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + ecx + 1], eax
mov dword [ebx + ecx + 5], edx
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
sub eax, dword [ebp - 0x40]
sbb edx, dword [ebp - 0x3c]
xor ecx, ecx
mov cl, byte [ebp - 5]
mov ebx, ecx
shl ecx, 4
add ecx, ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + ecx + 9], eax
mov dword [ebx + ecx + 0xd], edx
inc byte [ebp - 5]
inc byte [ebp - 6]
cmp byte [ebp - 6], 6
jne 0x4622d7
mov eax, dword [ebp - 0x24]
call fcn.0045efcc
call fcn.0045cc64
mov eax, dword [ebp - 0x10]
call fcn.00405c44
mov edx, eax
mov eax, dword [ebp - 0x10]
call fcn.00461c88
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
call fcn.00461b38
mov edx, dword [ebp - 4]
mov byte [edx + 1], al
mov byte [ebp - 5], 0
xor eax, eax
mov al, byte [ebp - 5]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [ebp - 0x10]
mov al, byte [edx + eax]
add al, 0xfb
sub al, 3
jae 0x462489
xor eax, eax
mov al, byte [ebp - 5]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [ebp - 0x10]
mov al, byte [edx + eax]
call fcn.00461b38
mov edx, dword [ebp - 4]
mov byte [edx + 2], al
jmp 0x462492
inc byte [ebp - 5]
cmp byte [ebp - 5], 4
jne 0x462452
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4624ea
push 0
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, dword [0x462194]
call fcn.00405df8
add esp, 4
push 0
lea eax, [ebp - 0x28]
mov ecx, 1
mov edx, dword [0x4621c4]
call fcn.00405df8
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebp - 0x24]
call fcn.00403ce8
ret