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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov rax, qword gs:[0x58]
mov r14, rcx
mov ecx, 4
movaps xmmword [rsp + 0x40], xmm6
mov rdx, qword [rax]
mov eax, dword [rcx + rdx]
cmp dword [0x1400359bc], eax
jg 0x1400135ae
xor r12d, r12d
lea rcx, [r14 + 0x28]
mov edi, r12d
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop dword [rax + rax]
mov ebp, r12d
cmp dword [r14], r12d
jne 0x1400133f3
call qword [sym.imp.KERNEL32.dll_GetTickCount]
nop dword [rax + rax]
sub eax, dword [r14 + 0x50]
cmp eax, 0xb7
jb 0x140013562
cmp dword [r14 + 0x18], r12d
jne 0x140013562
mov rcx, qword [r14 + 8]
call qword [sym.imp.USER32.dll_GetDC]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x140013449
mov rdi, r12
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jne 0x14001342f
mov ebp, 0x80004005
jmp 0x14001343d
movzx ebp, ax
or ebp, 0x80070000
test eax, eax
cmovle ebp, eax
mov ecx, ebp
call fcn.140012d04
jmp 0x140013562
mov rdx, qword [r14 + 0x10]
test rdx, rdx
je 0x140013461
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
nop dword [rax + rax]
mov r15, qword [r14 + 0x20]
movzx eax, word [r14 + 0x54]
add ax, word [r14]
mov word [rsp + 0x80], ax
lea rbx, [r15 + 0x118]
mov rcx, rbx
cmp dword [r14 + 0x5c], r12d
je 0x14001349c
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop dword [rax + rax]
movups xmm6, xmmword [r15 + 0xa4]
jmp 0x1400134ad
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop dword [rax + rax]
movups xmm6, xmmword [r15 + 0x10]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
mov edx, 0xffffff
movdqa xmmword [rsp + 0x30], xmm6
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SetTextColor]
nop dword [rax + rax]
mov edx, dword [r14 + 0x58]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SetBkColor]
nop dword [rax + rax]
mov edx, 1
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SetMapMode]
nop dword [rax + rax]
mov edx, 2
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SetBkMode]
nop dword [rax + rax]
mov r8d, dword [rsp + 0x34]
lea r9, [rsp + 0x80]
mov edx, dword [rsp + 0x30]
mov rcx, rdi
mov dword [rsp + 0x20], 1
call qword [sym.imp.GDI32.dll_TextOutW]
nop dword [rax + rax]
mov eax, dword [0x1400359b8]
mov ecx, dword [r14]
dec eax
cmp ecx, eax
jne 0x14001355d
mov dword [r14], r12d
call qword [sym.imp.KERNEL32.dll_GetTickCount]
nop dword [rax + rax]
mov dword [r14 + 0x50], eax
jmp 0x140013562
inc ecx
mov dword [r14], ecx
mov ecx, ebp
call fcn.140012d24
lea rcx, [r14 + 0x28]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
test rdi, rdi
je 0x14001358d
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteDC]
nop dword [rax + rax]
movaps xmm6, xmmword [rsp + 0x40]
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x38]
mov eax, ebp
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
lea rcx, [0x1400359bc]
call fcn.140024438
cmp dword [0x1400359bc], 0xffffffff
jne 0x1400133ba
movzx edx, word [r14 + 0x56]
lea rcx, [0x1400359bc]
movzx eax, word [r14 + 0x54]
sub edx, eax
inc edx
mov dword [0x1400359b8], edx
call fcn.1400243c8
jmp 0x1400133ba