Function at 0x1800d1a30
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 + 0x70], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov rax, qword [0x18066dcd8]
xor rax, rsp
mov qword [rbp + 0x108], rax
mov rsi, r8
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rcx, [0x1800f05d0]
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call fcn.1800fcf30
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1800d1aa1
mov rcx, qword [rax]
test rcx, rcx
je 0x1800d1aa1
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
cmp byte [rbx + 8], 0
jne 0x1800d1aaf
mov byte [rbx + 8], 1
mov qword [rbx + 0x10], rdi
mov rcx, qword [rbx]
test rcx, rcx
je 0x1800d1abd
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.1800e2f20
nop
mov dword [rsp + 0x58], 1
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbx
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x48]
call qword [sym.imp.gdiplus.dll_GdiplusStartup]
test eax, eax
sete byte [rsp + 0x50]
cmp byte [rsp + 0x50], bl
jne 0x1800d1b15
lea rdi, [rbx - 1]
jmp 0x1800d1e6c
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.1800d2160
mov rcx, rax
call fcn.1800cf980
call fcn.1800fcb60
call fcn.1800fcc00
nop
lea rcx, [rbp - 0x60]
call fcn.1800cfbb0
nop
lea rcx, [rbp - 0x60]
call fcn.1800d0300
test al, al
je 0x1800d1cf6
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
movdqa xmm1, xmmword [0x1805bf050]
movdqu xmmword [rbp - 0x78], xmm1
mov word [rsp + 0x78], bx
mov rdi, 0xffffffffffffffff
inc rdi
cmp word [rsi + rdi*2], 0
jne 0x1800d1b94
mov r8, rdi
mov rdx, rsi
lea rcx, [rsp + 0x78]
call fcn.18007d760
nop
lea rdx, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rdx, qword [rsp + 0x78]
mov r8, qword [rbp - 0x78]
lea rcx, [rbp + 0x80]
call fcn.18007d760
cmp qword [rbp + 8], 0
je 0x1800d1ca0
mov esi, 1
mov edi, ebx
test esi, esi
je 0x1800d1c1f
nop word [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 0x1800d1c1f
mov edx, edi
lea rcx, [rbp - 0x50]
mov rax, qword [rbp - 0x50]
call qword [rax + 8]
inc edi
test eax, eax
jne 0x1800d1bf0
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 0x1800d1be1
test eax, eax
je 0x1800d1ca0
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x50]
mov rax, qword [rbp - 0x50]
call qword [rax]
test eax, eax
jne 0x1800d1c60
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 0x1800d1c90
sub eax, 0x91
je 0x1800d1c90
sub eax, 0x78
je 0x1800d1c90
cmp eax, 0xe8
je 0x1800d1c90
mov ecx, 1
mov esi, ecx
mov eax, ebx
test ecx, ecx
cmove eax, edi
mov edi, eax
jmp 0x1800d1be1
mov ecx, ebx
mov eax, ebx
test ebx, ebx
cmove eax, edi
mov edi, eax
jmp 0x1800d1be1
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x1800d1ce4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800d1cdf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800d1cdf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18042ce14
movdqa xmm0, xmmword [0x1805bf050]
movdqu xmmword [rbp - 0x78], xmm0
mov word [rsp + 0x78], bx
lea rcx, [rbp - 0x60]
call fcn.1800d1890
nop
lea rcx, [rbp - 0x60]
call fcn.1800cfd60
call fcn.1800d2160
mov rsi, rax
mov r14, qword [0x18067c040]
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 0x1800d1d56
cmp dword [rcx + 8], 0
jle 0x1800d1d56
mov rcx, qword [rcx]
mov rcx, qword [rcx]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdi, qword [rsi + 0x60]
test rdi, rdi
je 0x1800d1d81
mov rcx, qword [rdi]
test rcx, rcx
je 0x1800d1d6c
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, reloc.WS2_32.dll_recv
mov rcx, rdi
call fcn.18042ce14
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 0x1800d1dd0
mov rcx, qword [rdi]
test rcx, rcx
je 0x1800d1dad
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 0x1800d1dc0
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.18042ce14
mov rdi, qword [rsi + 0x48]
test rdi, rdi
je 0x1800d1e02
cmp qword [rdi], 0
je 0x1800d1e02
nop
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x1800d1def
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rdi + 0x20], rbx
xor ecx, ecx
call qword [rdi + 0x40]
add rdi, 0x48
cmp qword [rdi], 0
jne 0x1800d1de0
mov rdi, qword [0x180705520]
mov rdx, qword [0x180705528]
cmp rdi, rdx
jae 0x1800d1e32
mov rax, qword [rdi]
test rax, rax
je 0x1800d1e29
xor ecx, ecx
call qword [rax + 0x38]
mov rdx, qword [0x180705528]
add rdi, 8
cmp rdi, rdx
jb 0x1800d1e15
mov rcx, rsi
call fcn.1800cc4a0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, ebx
call fcn.1800fcb60
mov rbx, qword [rax]
cmp byte [rbx], 0
je 0x1800d1e6c
call fcn.1802a02f0
mov rdx, rbx
mov rcx, rax
call fcn.1802a05f0
xor edx, edx
mov rcx, rbx
call fcn.1802977d0
mov byte [rbx], 0
cmp byte [rsp + 0x50], 0
je 0x1800d1e7f
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.gdiplus.dll_GdiplusShutdown]
nop
lea rcx, [rsp + 0x30]
call fcn.1800e3040
mov eax, edi
mov rcx, qword [rbp + 0x108]
xor rcx, rsp
call fcn.18042cdf0
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 0x1800d1a30