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

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0xb0
mov rbp, rsp
mov qword [rbp + 0x68], rbp
mov qword [rbp + 0xd0], rcx
mov qword [rbp + 0xd8], rdx
mov byte [rbp + 0xe0], r8b
mov dword [rbp + 0xe8], r9d
mov dword [rbp + 0xac], 0xffffffff
nop
mov rax, qword [rbp + 0xd8]
cmp dword [rax + 0x1c], 0
je 0x49e783
mov rax, qword [rbp + 0xd8]
cmp dword [rax + 0x18], 0
je 0x49e783
jmp 0x49e327
call sub.kernel32.dll_GetTickCount_1
add eax, 0x1388
mov dword [rbp + 0x80], eax
call fcn.0049db00
test al, al
jne 0x49e30d
call sub.kernel32.dll_GetTickCount_1
cmp dword [rbp + 0x80], eax
jb 0x49e783
mov rax, qword [rbp + 0xd0]
cmp byte [rax + 0x24], 0
jne 0x49e2fc
mov rax, qword [rbp + 0xd0]
mov byte [rax + 0x24], 1
nop
call sub.kernel32.dll_GetTickCount_1
mov dword [rbp + 0x80], eax
call sub.kernel32.dll_GetTickCount_1
mov dword [rbp + 0x84], eax
mov rax, qword [rbp + 0xd8]
mov rcx, qword [rbp + 0xd0]
mov rcx, qword [rcx + 0x1c]
mov eax, dword [rax + 0x1c]
cmp eax, dword [rcx + 0x1c]
jle 0x49e382
mov rax, qword [rbp + 0xd8]
mov eax, dword [rax + 0x1c]
mov dword [rbp + 0x9c], eax
jmp 0x49e396
mov rax, qword [rbp + 0xd0]
mov rax, qword [rax + 0x1c]
mov eax, dword [rax + 0x1c]
mov dword [rbp + 0x9c], eax
mov rax, qword [rbp + 0xd0]
mov rcx, qword [rax + 8]
call fcn.0040dc70
add eax, 1
mov rcx, qword [rbp + 0xd0]
imul eax, dword [rcx + 0x18]
mov dword [rbp + 0x98], eax
mov rax, qword [rbp + 0xd0]
mov rax, qword [rax + 0x1c]
mov ecx, dword [rbp + 0x9c]
cmp ecx, dword [rax + 0x1c]
jg 0x49e3ea
mov rax, qword [rbp + 0xd0]
mov rax, qword [rax + 0x1c]
mov ecx, dword [rbp + 0x98]
cmp ecx, dword [rax + 0x18]
jle 0x49e4ff
mov ecx, dword [rbp + 0x9c]
mov edx, dword [rbp + 0x98]
mov r8b, 7
call fcn.00498e90
mov qword [rbp + 0xa0], rax
call fcn.0049cde0
cmp al, 2
jbe 0x49e448
mov rax, qword [rbp + 0xd0]
cmp dword [rax + 0x29], 0x20
jne 0x49e42d
or ecx, 0xffffffff
call sub.gdi32.dll_CreateSolidBrush
mov qword [rbp + 0x88], rax
jmp 0x49e45a
mov ecx, 0xf
call sub.user32.dll_GetSysColor
mov ecx, eax
call sub.gdi32.dll_CreateSolidBrush
mov qword [rbp + 0x88], rax
jmp 0x49e45a
mov ecx, 0xff00ff
call sub.gdi32.dll_CreateSolidBrush
mov qword [rbp + 0x88], rax
mov rcx, qword [rbp + 0xa0]
call fcn.00499e70
mov rcx, rax
call fcn.0048edd0
mov rcx, rax
mov rdx, qword [rbp + 0x88]
call sub.gdi32.dll_SelectObject
mov qword [rbp + 0x90], rax
mov rcx, qword [rbp + 0xa0]
call fcn.00499e70
mov rcx, rax
call fcn.0048edd0
mov rbx, rax
lea rcx, [rbp + 0x58]
xor rdx, rdx
xor r8, r8
mov r9d, dword [rbp + 0x9c]
mov eax, dword [rbp + 0x98]
mov dword [rsp + 0x20], eax
call fcn.0048da60
mov rcx, rbx
lea rdx, [rbp + 0x58]
mov r8, qword [rbp + 0x88]
call sub.user32.dll_FillRect
mov rcx, qword [rbp + 0xa0]
call fcn.00499e70
mov rcx, rax
call fcn.0048edd0
mov rcx, rax
mov rdx, qword [rbp + 0x90]
call sub.gdi32.dll_SelectObject
mov rcx, qword [rbp + 0x88]
call sub.gdi32.dll_DeleteObject
jmp 0x49e511
mov rax, qword [rbp + 0xd0]
mov rax, qword [rax + 0x1c]
mov qword [rbp + 0xa0], rax
call fcn.0049cde0
cmp al, 2
ja 0x49e531
mov rcx, qword [rbp + 0xd8]
or edx, 0xffffffff
mov r8d, 0xff00ff
call fcn.0049c190
mov rax, qword [rbp + 0xd0]
mov rcx, qword [rax + 8]
call fcn.0040dc70
mov rcx, qword [rbp + 0xd0]
add rcx, 8
mov rdx, qword [0x00489b68]
mov r8d, 1
lea r9, [rax + 1]
call fcn.0040ded0
mov rax, qword [rbp + 0xd0]
mov rcx, qword [rax + 0x10]
call fcn.0040dc70
mov rcx, qword [rbp + 0xd0]
add rcx, 0x10
mov rdx, qword [0x00489bb0]
mov r8d, 1
lea r9, [rax + 1]
call fcn.0040ded0
mov rax, qword [rbp + 0xd0]
mov rcx, qword [rax + 8]
call fcn.0040dc80
mov rcx, qword [rbp + 0xd0]
mov rcx, qword [rcx + 8]
mov rdx, qword [rbp + 0xd8]
mov edx, dword [rdx + 0x1c]
mov dword [rcx + rax*4], edx
mov rax, qword [rbp + 0xd0]
mov rcx, qword [rax + 0x10]
call fcn.0040dc80
mov rcx, qword [rbp + 0xd0]
mov rcx, qword [rcx + 0x10]
mov byte [rcx + rax], 1
mov rax, qword [rbp + 0xd0]
mov rax, qword [rax + 0x1c]
cmp rax, qword [rbp + 0xa0]
je 0x49e66d
mov rcx, qword [rbp + 0xa0]
call fcn.00499e70
mov rcx, rax
call fcn.0048edd0
mov rbx, rax
mov rax, qword [rbp + 0xd0]
mov rcx, qword [rax + 0x1c]
call fcn.00499e70
mov rcx, rax
call fcn.0048edd0
mov rcx, rbx
xor rdx, rdx
xor r8, r8
mov r9, qword [rbp + 0xd0]
mov r9, qword [r9 + 0x1c]
mov r9d, dword [r9 + 0x1c]
mov r10, qword [rbp + 0xd0]
mov r10, qword [r10 + 0x1c]
mov r10d, dword [r10 + 0x18]
mov dword [rsp + 0x20], r10d
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x40], 0xcc0020
call sub.gdi32.dll_BitBlt
mov rcx, qword [rbp + 0xa0]
call fcn.00499e70
mov rcx, rax
call fcn.0048edd0
mov rbx, rax
mov rax, qword [rbp + 0xd0]
mov rcx, qword [rax + 8]
call fcn.0040dc80
mov rsi, rax
mov rcx, qword [rbp + 0xd8]
call fcn.00499e70
mov rcx, rax
call fcn.0048edd0
mov rcx, rbx
xor rdx, rdx
mov r8, qword [rbp + 0xd0]
imul esi, dword [r8 + 0x18]
add esi, dword [rbp + 0xe8]
mov r8d, esi
mov r9, qword [rbp + 0xd8]
mov r9d, dword [r9 + 0x1c]
mov r10, qword [rbp + 0xd0]
mov r10d, dword [r10 + 0x18]
mov dword [rsp + 0x20], r10d
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x40], 0xcc0020
call sub.gdi32.dll_BitBlt
mov rax, qword [rbp + 0xd0]
mov rax, qword [rax + 0x1c]
cmp rax, qword [rbp + 0xa0]
je 0x49e757
mov rax, qword [rbp + 0xd0]
add rax, 0x1c
mov qword [rbp + 0x78], rax
mov rax, qword [rbp + 0x78]
mov rax, qword [rax]
mov qword [rbp + 0x70], rax
mov rax, qword [rbp + 0x78]
mov qword [rax], 0
mov rcx, qword [rbp + 0x70]
call fcn.00407680
mov rax, qword [rbp + 0xd0]
mov rcx, qword [rbp + 0xa0]
mov qword [rax + 0x1c], rcx
mov rax, qword [rbp + 0xd0]
mov rcx, qword [rax + 8]
call fcn.0040dc80
mov dword [rbp + 0xac], eax
nop
mov rax, qword [rbp + 0xd0]
mov byte [rax + 0x24], 0
jmp 0x49e783
mov eax, dword [rbp + 0xac]
lea rsp, [rbp + 0xb0]
pop rbx
pop rsi
pop rbp
ret