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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
sub rsp, 0x3e0
mov rax, qword [0x100086110]
xor rax, rsp
mov qword [rsp + 0x3d0], rax
mov rdi, rcx
mov rcx, qword [rcx + 0x58]
lea rdx, [rsp + 0x30]
mov rax, qword [rcx]
xor ebp, ebp
mov esi, ebp
call qword [rax + 0x38]
cmp dword [rsp + 0x34], ebp
jl 0x10006748e
cmp dword [rdi + 0x64], ebp
je 0x1000674a8
mov dword [rdi + 0x60], ebp
mov rcx, qword [rdi + 0x50]
cmp rcx, rbp
je 0x1000674a4
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 0x50], rbp
mov esi, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x30]
mov r12d, 1
lea r13d, [r12 + 1]
cmp ecx, ebp
je 0x1000675bd
sub ecx, r12d
je 0x1000675ac
sub ecx, r12d
je 0x10006756a
sub ecx, r12d
je 0x100067519
sub ecx, r12d
je 0x100067508
cmp ecx, r12d
je 0x1000674ea
mov ebx, 0x2779
jmp 0x1000675e3
lea rdx, [0x10002dc30]
mov ecx, 4
mov ebx, 0x2778
call fcn.1000526dc
mov dword [rdi + 0x60], ebp
jmp 0x1000675e3
mov ebx, 0x2777
lea rdx, [0x10002dc20]
jmp 0x1000675d9
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rdi + 0x48]
cmp eax, 0x2710
jbe 0x10006755c
mov dword [rdi + 0x60], ebp
mov rcx, qword [rdi + 0x50]
mov ebx, 0x277a
cmp rcx, rbp
je 0x100067544
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 0x50], rbp
lea rdx, [0x10002b760]
mov esi, 0x80072efd
mov ecx, r13d
mov dword [rsp + 0x34], esi
jmp 0x1000675de
mov ebx, 0x2775
lea rdx, [0x10002dc10]
jmp 0x1000675d9
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rdi + 0x48]
cmp eax, 0x2710
jbe 0x10006759e
mov dword [rdi + 0x60], ebp
mov rcx, qword [rdi + 0x50]
mov ebx, 0x277a
cmp rcx, rbp
je 0x100067595
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 0x50], rbp
lea rdx, [0x10002b738]
jmp 0x10006754b
mov ebx, 0x2776
lea rdx, [0x10002dc00]
jmp 0x1000675d9
mov ebx, 0x277a
mov dword [rdi + 0x60], ebp
lea rdx, [0x10002dbf8]
jmp 0x1000675d9
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rdi + 0x48]
cmp eax, 0x2710
ja 0x10006757a
mov ebx, 0x2774
lea rdx, [0x10002dbe8]
mov ecx, 4
call fcn.1000526dc
mov r8d, dword [rsp + 0x34]
cmp r8d, ebp
je 0x100067606
lea rdx, [0x10002c510]
mov ecx, r13d
call fcn.1000527f4
mov ecx, dword [rsp + 0x34]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [rsp + 0x38]
cmp ecx, 0xffffffff
jne 0x100067673
mov rcx, qword [0x100088070]
mov edi, 0x80
lea r8, [rsp + 0x50]
mov r9d, edi
mov edx, 0x26e8
call qword [sym.imp.USER32.dll_LoadStringW]
cmp eax, ebp
jne 0x1000676b0
lea rdx, [0x100024708]
lea rax, [rsp + 0x50]
lea rcx, [rsp + 0x50]
sub rdx, rax
lea rax, [rdi + 0x7fffff7e]
cmp rax, rbp
je 0x100067666
movzx eax, word [rdx + rcx]
cmp ax, bp
je 0x100067666
mov word [rcx], ax
add rcx, r13
sub rdi, r12
jne 0x100067646
cmp rdi, rbp
jne 0x10006766e
sub rcx, r13
mov word [rcx], bp
jmp 0x1000676b0
mov edi, dword [rsp + 0x40]
lea rax, [rsp + 0x50]
cmp edi, ebp
jbe 0x100067693
cmp rax, rbp
je 0x1000676b0
sub ecx, dword [rsp + 0x3c]
xor edx, edx
mov eax, ecx
div edi
mov edx, eax
jmp 0x1000676a6
cmp rax, rbp
je 0x1000676b0
sub ecx, dword [rsp + 0x3c]
mov eax, 0x10624dd3
mul ecx
shr edx, 0xa
lea rcx, [rsp + 0x50]
call fcn.100058214
mov rcx, qword [0x100088070]
lea r8, [rsp + 0x1d0]
mov r9d, 0x100
mov edx, ebx
call qword [sym.imp.USER32.dll_LoadStringW]
cmp eax, ebp
je 0x1000677ad
cmp ebx, 0x2777
jne 0x100067797
xor eax, eax
or r8, 0xffffffffffffffff
lea rdi, [rsp + 0x1d0]
mov rcx, r8
repne scasw ax, word [rdi]
lea rdi, [rsp + 0x50]
not rcx
sub rcx, r12
mov rdx, rcx
mov rcx, r8
repne scasw ax, word [rdi]
mov rax, r13
not rcx
sub rcx, r12
lea rbx, [rdx + rcx + 0x21]
mul rbx
cmovo rax, r8
mov rcx, rax
call fcn.10007fa96
mov rdi, rax
cmp rax, rbp
je 0x1000677ad
lea rax, [rsp + 0x150]
cmp rax, rbp
je 0x10006774e
mov edx, dword [rsp + 0x3c]
lea rcx, [rsp + 0x150]
call fcn.1000585c8
jmp 0x100067753
mov eax, 0x80004005
cmp eax, ebp
jl 0x10006778d
lea rax, [rsp + 0x150]
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x1d0]
mov rdx, rbx
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.10003a080
cmp qword [0x1000888e8], rbp
je 0x10006778d
mov rcx, rdi
call fcn.100051c8c
mov rcx, rdi
call fcn.10007faa2
jmp 0x1000677ad
cmp qword [0x1000888e8], rbp
je 0x1000677ad
lea rcx, [rsp + 0x1d0]
call fcn.100051c8c
mov ecx, dword [rsp + 0x38]
mov eax, dword [rsp + 0x3c]
cmp ecx, ebp
cmove ecx, r12d
xor edx, edx
imul eax, eax, 0x64
div ecx
mov ecx, eax
call fcn.100051c48
mov eax, esi
mov rcx, qword [rsp + 0x3d0]
xor rcx, rsp
call fcn.10007fa70
lea r11, [rsp + 0x3e0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rdi
ret