Function at 0x180006f00
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 [0x180122010]
xor rax, rsp
mov qword [rbp + 0x108], rax
mov rsi, r8
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rcx, [0x180028460]
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call fcn.180034010
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x180006f71
mov rcx, qword [rax]
test rcx, rcx
je 0x180006f71
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
cmp byte [rbx + 8], 0
jne 0x180006f7f
mov byte [rbx + 8], 1
mov qword [rbx + 0x10], rdi
mov rcx, qword [rbx]
test rcx, rcx
je 0x180006f8d
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.180019c70
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 0x180006fe5
lea rdi, [rbx - 1]
jmp 0x1800073cc
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.180008020
mov rcx, rax
call fcn.180005a40
call fcn.180038ec0
call fcn.180038f60
nop
lea rcx, [rbp - 0x60]
call fcn.180005cb0
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
movdqa xmm1, xmmword [0x1800e71a0]
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 0x180007060
mov rdx, rsi
lea rcx, [rsp + 0x60]
call fcn.180007980
nop
lea rcx, [rbp - 0x60]
call fcn.180006230
movzx r14d, al
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x1800070cb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800070c6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800070c6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c8554
movdqa xmm0, xmmword [0x1800e71a0]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], bx
test r14b, r14b
je 0x180007254
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
movdqa xmm1, xmmword [0x1800e71a0]
movdqu xmmword [rbp - 0x70], xmm1
mov word [rbp - 0x80], bx
inc rdi
cmp word [rsi + rdi*2], 0
jne 0x180007100
mov r8, rdi
mov rdx, rsi
lea rcx, [rbp - 0x80]
call fcn.180007980
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.180007980
cmp qword [rbp + 8], 0
je 0x180007200
mov esi, 1
mov edi, ebx
test esi, esi
je 0x18000717f
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 0x18000717f
mov edx, edi
lea rcx, [rbp - 0x50]
mov rax, qword [rbp - 0x50]
call qword [rax + 8]
inc edi
test eax, eax
jne 0x180007150
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 0x180007147
test eax, eax
je 0x180007200
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x50]
mov rax, qword [rbp - 0x50]
call qword [rax]
test eax, eax
jne 0x1800071c0
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 0x1800071f0
sub eax, 0x91
je 0x1800071f0
sub eax, 0x78
je 0x1800071f0
cmp eax, 0xe8
je 0x1800071f0
mov ecx, 1
mov esi, ecx
mov eax, ebx
test ecx, ecx
cmove eax, edi
mov edi, eax
jmp 0x180007147
mov ecx, ebx
mov eax, ebx
test ebx, ebx
cmove eax, edi
mov edi, eax
jmp 0x180007147
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x180007243
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000723e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000723e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c8554
movdqa xmm0, xmmword [0x1800e71a0]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], bx
lea rcx, [rbp - 0x60]
call fcn.180006d80
nop
lea rcx, [rbp - 0x60]
call fcn.180005e50
call fcn.180008020
mov rsi, rax
mov r14, qword [0x180124668]
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 0x1800072b4
cmp dword [rcx + 8], 0
jle 0x1800072b4
mov rcx, qword [rcx]
mov rcx, qword [rcx]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdi, qword [rsi + 0x60]
test rdi, rdi
je 0x1800072df
mov rcx, qword [rdi]
test rcx, rcx
je 0x1800072ca
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.1800c8554
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 0x18000732e
mov rcx, qword [rdi]
test rcx, rcx
je 0x18000730b
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 0x18000731e
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.1800c8554
mov rdi, qword [rsi + 0x48]
test rdi, rdi
je 0x180007362
cmp qword [rdi], 0
je 0x180007362
nop dword [rax]
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x18000734f
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 0x180007340
mov rdi, qword [0x180124c40]
mov rdx, qword [0x180124c48]
cmp rdi, rdx
jae 0x180007392
mov rax, qword [rdi]
test rax, rax
je 0x180007389
xor ecx, ecx
call qword [rax + 0x38]
mov rdx, qword [0x180124c48]
add rdi, 8
cmp rdi, rdx
jb 0x180007375
mov rcx, rsi
call fcn.180002540
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, ebx
call fcn.180038ec0
mov rbx, qword [rax]
cmp byte [rbx], 0
je 0x1800073cc
call fcn.1800663a0
mov rdx, rbx
mov rcx, rax
call fcn.1800667e0
xor edx, edx
mov rcx, rbx
call fcn.18005f970
mov byte [rbx], 0
cmp byte [rsp + 0x50], 0
je 0x1800073df
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.gdiplus.dll_GdiplusShutdown]
nop
lea rcx, [rsp + 0x30]
call fcn.180019d90
mov eax, edi
mov rcx, qword [rbp + 0x108]
xor rcx, rsp
call fcn.1800c8530
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 0x180006f00