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

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x128]
sub rsp, 0x210
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov rax, qword [0x180123010]
xor rax, rsp
mov qword [rbp + 0x108], rax
mov rsi, r8
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rcx, [0x180028640]
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call fcn.180031dd0
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x180007151
mov rcx, qword [rax]
test rcx, rcx
je 0x180007151
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
cmp byte [rbx + 8], 0
jne 0x18000715f
mov byte [rbx + 8], 1
mov qword [rbx + 0x10], rdi
mov rcx, qword [rbx]
test rcx, rcx
je 0x18000716d
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor ebx, ebx
mov qword [rsp + 0x30], rbx
lea ecx, [rbx + 1]
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
lea rcx, [rsp + 0x30]
call fcn.180019e50
nop
mov dword [rsp + 0x60], 1
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rbx
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x48]
call qword [sym.imp.gdiplus.dll_GdiplusStartup]
test eax, eax
sete byte [rsp + 0x50]
cmp byte [rsp + 0x50], bl
jne 0x1800071c5
lea rdi, [rbx - 1]
jmp 0x1800075ac
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [rsp + 0x38], 8
mov dword [rsp + 0x3c], 0x7ff
lea rcx, [rsp + 0x38]
call qword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
call fcn.180008200
mov rcx, rax
call fcn.180005a70
call fcn.180036c80
call fcn.180036d20
nop
lea rcx, [rbp - 0x60]
call fcn.180005ce0
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
movdqa xmm1, xmmword [0x1800e81e0]
movdqu xmmword [rsp + 0x70], xmm1
mov word [rsp + 0x60], bx
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop dword [rax + rax]
inc r8
cmp word [rsi + r8*2], 0
jne 0x180007240
mov rdx, rsi
lea rcx, [rsp + 0x60]
call fcn.180007b60
nop
lea rcx, [rbp - 0x60]
call fcn.180006260
movzx r14d, al
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x1800072ab
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800072a6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800072a6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c8c14
movdqa xmm0, xmmword [0x1800e81e0]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], bx
test r14b, r14b
je 0x180007434
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
movdqa xmm1, xmmword [0x1800e81e0]
movdqu xmmword [rbp - 0x70], xmm1
mov word [rbp - 0x80], bx
inc rdi
cmp word [rsi + rdi*2], 0
jne 0x1800072e0
mov r8, rdi
mov rdx, rsi
lea rcx, [rbp - 0x80]
call fcn.180007b60
nop
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rdx, qword [rbp - 0x80]
mov r8, qword [rbp - 0x70]
lea rcx, [rbp + 0x70]
call fcn.180007b60
cmp qword [rbp + 8], 0
je 0x1800073e0
mov esi, 1
mov edi, ebx
test esi, esi
je 0x18000735f
nop dword [rax + rax]
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x28]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x18000735f
mov edx, edi
lea rcx, [rbp - 0x50]
mov rax, qword [rbp - 0x50]
call qword [rax + 8]
inc edi
test eax, eax
jne 0x180007330
mov esi, ebx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x28]
call qword [sym.imp.USER32.dll_GetMessageW]
cmp eax, 0xffffffff
je 0x180007327
test eax, eax
je 0x1800073e0
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x50]
mov rax, qword [rbp - 0x50]
call qword [rax]
test eax, eax
jne 0x1800073a0
lea rcx, [rbp - 0x28]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x28]
call qword [sym.imp.USER32.dll_DispatchMessageW]
mov eax, dword [rbp - 0x20]
sub eax, 0xf
je 0x1800073d0
sub eax, 0x91
je 0x1800073d0
sub eax, 0x78
je 0x1800073d0
cmp eax, 0xe8
je 0x1800073d0
mov ecx, 1
mov esi, ecx
mov eax, ebx
test ecx, ecx
cmove eax, edi
mov edi, eax
jmp 0x180007327
mov ecx, ebx
mov eax, ebx
test ebx, ebx
cmove eax, edi
mov edi, eax
jmp 0x180007327
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x180007423
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000741e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000741e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c8c14
movdqa xmm0, xmmword [0x1800e81e0]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], bx
lea rcx, [rbp - 0x60]
call fcn.180006f60
nop
lea rcx, [rbp - 0x60]
call fcn.180005e80
call fcn.180008200
mov rsi, rax
mov r14, qword [0x180125678]
add r14, 0x18
mov qword [rsp + 0x38], r14
mov byte [rsp + 0x40], 0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [rsp + 0x40], 1
mov rcx, qword [rsi + 0x60]
mov rdi, rcx
test rcx, rcx
je 0x180007494
cmp dword [rcx + 8], 0
jle 0x180007494
mov rcx, qword [rcx]
mov rcx, qword [rcx]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdi, qword [rsi + 0x60]
test rdi, rdi
je 0x1800074bf
mov rcx, qword [rdi]
test rcx, rcx
je 0x1800074aa
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi], rbx
mov qword [rdi + 8], 0
mov edx, 0x10
mov rcx, rdi
call fcn.1800c8c14
mov qword [rsi + 0x60], rbx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [rsp + 0x40], 0
mov rdi, qword [rsi + 0x58]
test rdi, rdi
je 0x18000750e
mov rcx, qword [rdi]
test rcx, rcx
je 0x1800074eb
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi], rbx
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x1800074fe
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 8], rbx
mov dword [rdi + 0x10], ebx
mov edx, 0x18
mov rcx, rdi
call fcn.1800c8c14
mov rdi, qword [rsi + 0x48]
test rdi, rdi
je 0x180007542
cmp qword [rdi], 0
je 0x180007542
nop dword [rax]
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x18000752f
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rdi + 0x20], rbx
xor ecx, ecx
call qword [rdi + 0x40]
add rdi, 0x48
cmp qword [rdi], 0
jne 0x180007520
mov rdi, qword [0x180125c50]
mov rdx, qword [0x180125c58]
cmp rdi, rdx
jae 0x180007572
mov rax, qword [rdi]
test rax, rax
je 0x180007569
xor ecx, ecx
call qword [rax + 0x38]
mov rdx, qword [0x180125c58]
add rdi, 8
cmp rdi, rdx
jb 0x180007555
mov rcx, rsi
call fcn.180002570
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, ebx
call fcn.180036c80
mov rbx, qword [rax]
cmp byte [rbx], 0
je 0x1800075ac
call fcn.180065780
mov rdx, rbx
mov rcx, rax
call fcn.180065bc0
xor edx, edx
mov rcx, rbx
call fcn.18005a9c0
mov byte [rbx], 0
cmp byte [rsp + 0x50], 0
je 0x1800075bf
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.gdiplus.dll_GdiplusShutdown]
nop
lea rcx, [rsp + 0x30]
call fcn.180019f70
mov eax, edi
mov rcx, qword [rbp + 0x108]
xor rcx, rsp
call fcn.1800c8bf0
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
jmp 0x1800070e0