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

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x3a0
mov qword [rsp + 0xc0], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rax, qword [0x100152198]
xor rax, rsp
mov qword [rsp + 0x390], rax
mov bpl, r9b
mov r15d, r8d
mov r9d, edx
mov dword [rsp + 0x60], edx
mov r8, rcx
mov qword [rsp + 0x78], rcx
mov r13, qword [rsp + 0x400]
mov r14, qword [rsp + 0x408]
mov rax, qword [rsp + 0x410]
mov qword [rsp + 0x70], rax
mov rdi, qword [rsp + 0x418]
lea rbx, [0x100153eb8]
mov ecx, 5
lea eax, [rcx - 4]
mov r10, qword [0x100153eb8]
cmp r10, rbx
je 0x1000802e2
test byte [r10 + 0x1c], al
je 0x1000802e2
cmp byte [r10 + 0x19], cl
jb 0x1000802e2
mov rcx, qword [r13]
movzx eax, bpl
mov edx, 0x1a
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r9d
mov r9, qword [r8 + 0x10]
lea r8, [0x10001e3d0]
mov rcx, qword [r10 + 0x10]
call fcn.10007ea94
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rdx, qword [r13]
mov r12d, dword [rdx - 0x10]
mov dword [rsp + 0x50], r12d
xor esi, esi
mov rcx, qword [0x100153eb8]
cmp rcx, rbx
je 0x10008031c
test byte [rcx + 0x1c], 1
je 0x10008031c
lea edx, [rsi + 0xe]
lea r8, [0x10001e400]
mov rcx, qword [rcx + 0x10]
call fcn.100034784
lea rcx, [rsp + 0xd0]
call fcn.1000780e0
cmp rdi, rsi
je 0x10008036e
lea rcx, [rsp + 0xd0]
mov rdx, rdi
mov ebx, 0x51
mov r8, rbx
call sub.msvcrt.dll_memcpy
lea rcx, [rsp + 0x121]
lea rdx, [rdi + 0x51]
mov r8, rbx
call sub.msvcrt.dll_memcpy
mov dl, byte [rdi + 0xa2]
mov byte [rsp + 0x172], dl
lea rbx, [0x100153eb8]
mov rcx, qword [0x100153eb8]
cmp rcx, rbx
je 0x100080395
test byte [rcx + 0x1c], 1
je 0x100080395
mov edx, 0xf
lea r8, [0x10001e400]
mov rcx, qword [rcx + 0x10]
call fcn.100034784
lea rcx, [0x100152100]
mov rax, qword [0x100152100]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x58], rbx
mov eax, 0x13
mov word [rsp + 0xa8], ax
mov dword [rsp + 0xb0], 4
mov word [rsp + 0x90], si
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0x90]
call qword [sym.imp.OLEAUT32.dll_VariantCopyInd]
cmp eax, esi
jge 0x100080405
mov ecx, 0xa
mov word [rsp + 0x90], cx
mov dword [rsp + 0x98], eax
mov ecx, eax
call fcn.100036284
int3
lea rax, [rsp + 0x180]
mov qword [rsp + 0x20], rax
mov r9d, 0x100
xor r8d, r8d
lea rdx, [rsp + 0x90]
mov rcx, r14
call fcn.1000800cc
mov esi, eax
xor r8d, r8d
cmp eax, r8d
jge 0x10008043e
mov word [rsp + 0x180], r8w
mov rcx, qword [0x100153eb8]
lea rax, [0x100153eb8]
cmp rcx, rax
je 0x100080493
test byte [rcx + 0x1c], 2
je 0x100080493
movzx edx, byte [rcx + 0x19]
mov eax, 2
cmp esi, r8d
lea edi, [rax + 3]
cmovge eax, edi
cmp edx, eax
jl 0x100080493
lea edx, [rdi + 0x16]
lea rax, [rsp + 0x180]
mov qword [rsp + 0x20], rax
mov r9d, esi
lea r8, [0x10001e3d0]
mov rcx, qword [rcx + 0x10]
call fcn.10003ba64
xor r8d, r8d
cmp esi, r8d
jl 0x1000808af
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x180]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [rsp + 0x180]
lea rcx, [rsp + 0x58]
call fcn.1000361b0
mov rbx, qword [rsp + 0x58]
xor edx, edx
cmp dword [rbx - 0x10], edx
jle 0x10008086e
mov rcx, rbx
movzx eax, word [rbx]
cmp ax, dx
je 0x1000804f3
cmp ax, 0x2e
je 0x100080501
add rcx, 2
mov ax, word [rcx]
cmp ax, dx
jne 0x1000804e1
mov rax, rdx
cmp word [rcx], 0x2e
cmove rax, rcx
mov rcx, rax
cmp rcx, rdx
je 0x10008086e
sub rcx, rbx
sar rcx, 1
cmp ecx, 0xffffffff
je 0x10008086e
lea r8d, [rcx + 1]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x58]
call fcn.100035934
nop
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.100035ef8
nop
mov rdx, qword [rsp + 0x80]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
xor edi, edi
cmp eax, edi
jg 0x100080563
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea r8, [0x1000227bc]
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x58]
call fcn.100069af4
nop
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.100035ef8
nop
mov rdx, qword [rsp + 0x88]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
cmp eax, edi
jg 0x1000805ae
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rsp + 0x58]
mov rcx, qword [0x100153eb8]
lea rax, [0x100153eb8]
cmp rcx, rax
je 0x1000805fc
test byte [rcx + 0x1c], 2
je 0x1000805fc
mov edx, 5
cmp byte [rcx + 0x19], dl
jb 0x1000805fc
mov edx, 0x1d
mov r9, rbx
lea r8, [0x10001e3d0]
mov rcx, qword [rcx + 0x10]
call fcn.1000347a8
mov rcx, qword [0x100153eb8]
lea rax, [0x100153eb8]
cmp dword [rbx - 0x10], edi
jne 0x100080640
mov esi, 0x8000ffff
cmp rcx, rax
je 0x1000808af
test byte [rcx + 0x1c], 2
je 0x1000808af
cmp byte [rcx + 0x19], 2
jb 0x1000808af
mov edx, 0x1e
lea r9, [rsp + 0x180]
lea r8, [0x10001e3d0]
mov rcx, qword [rcx + 0x10]
call fcn.1000347a8
cmp esi, edi
jl 0x1000808af
or rsi, 0xffffffffffffffff
mov dword [rsp + 0x28], esi
lea rax, [0x1000227c0]
mov qword [rsp + 0x20], rax
mov r9d, esi
mov r8, rbx
lea edx, [rsi + 2]
lea edi, [rdx + 0x7e]
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_CompareStringW]
mov dword [rsp + 0x28], esi
lea rax, [0x1000227d0]
mov qword [rsp + 0x20], rax
mov r9d, esi
mov r8, rbx
lea edx, [rsi + 2]
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_CompareStringW]
xor edx, edx
movzx esi, dl
cmp eax, 2
lea eax, [rdi - 0x7e]
cmove esi, eax
lea rcx, [0x100152100]
mov rax, qword [0x100152100]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x68], rax
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x180]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [rsp + 0x180]
lea rcx, [rsp + 0x68]
call fcn.1000361b0
lea rcx, [rsp + 0x68]
call fcn.1000699ec
mov rdi, qword [rsp + 0x68]
xor eax, eax
cmp sil, al
jne 0x10008074a
xor esi, esi
cmp bpl, sil
jne 0x100080771
cmp dword [rdi - 0x10], esi
jl 0x100080724
lea rdx, [0x1000227e8]
mov rcx, rdi
call fcn.10004f110
cmp rax, rsi
je 0x100080724
sub rax, rdi
sar rax, 1
cmp eax, 0xffffffff
jne 0x10008074c
cmp dword [rdi - 0x10], esi
jl 0x100080771
lea rdx, [0x1000227f8]
mov rcx, rdi
call fcn.10004f110
cmp rax, rsi
je 0x100080771
sub rax, rdi
sar rax, 1
cmp eax, 0xffffffff
je 0x100080771
jmp 0x10008074c
xor esi, esi
mov edx, 0x45
lea rcx, [rsp + 0xd0]
call fcn.100078c3c
mov edx, 0x46
lea rcx, [rsp + 0xd0]
call fcn.100078c3c
nop
lea rdx, [rdi - 0x18]
or rbp, 0xffffffffffffffff
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, ebp
cmp eax, esi
jg 0x10008078f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
xor eax, eax
mov rcx, rbp
lea rdx, [0x1000224e0]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
mov rcx, r13
call fcn.10003579c
mov r8d, dword [rbx - 0x10]
mov rbx, qword [rsp + 0x58]
mov rdx, rbx
mov rcx, r13
call fcn.10003579c
lea rdi, [0x1001599c0]
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0xd0]
mov r8, r14
mov rdx, r13
mov ecx, r15d
call fcn.100085208
mov esi, eax
xor eax, eax
cmp esi, eax
jge 0x100080849
mov rcx, qword [0x100153eb8]
lea rax, [0x100153eb8]
cmp rcx, rax
je 0x1000808af
test byte [rcx + 0x1c], 2
je 0x1000808af
cmp byte [rcx + 0x19], 2
jb 0x1000808af
mov edx, 0x1f
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x28], rdi
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x20], rax
mov r9, r14
lea r8, [0x10001e3d0]
mov rcx, qword [rcx + 0x10]
call fcn.10007f6a8
jmp 0x1000808af
mov rcx, rbp
lea rdi, [0x1000224dc]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [0x1000224dc]
mov rcx, r13
call fcn.10003579c
jmp 0x1000808af
mov esi, 0x8000ffff
mov rcx, qword [0x100153eb8]
lea rax, [0x100153eb8]
cmp rcx, rax
je 0x1000808af
test byte [rcx + 0x1c], 2
je 0x1000808af
cmp byte [rcx + 0x19], 2
jb 0x1000808af
mov edx, 0x1c
lea r9, [rsp + 0x180]
lea r8, [0x10001e3d0]
mov rcx, qword [rcx + 0x10]
call fcn.1000347a8
call qword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
cmp esi, edx
jl 0x100080a68
mov rbp, qword [0x1001599f0]
movsxd rax, esi
cmp rax, rdx
jl 0x100080a00
cmp rbp, rdx
je 0x1000809e6
mov r12, qword [rbp + 0x10]
mov rbp, qword [rbp]
mov qword [rsp + 0x38], r12
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov r9, r13
mov r8d, r15d
mov edx, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x78]
call fcn.100080c54
mov edi, eax
xor edx, edx
cmp eax, edx
jge 0x1000808d2
mov edx, dword [r12 + 8]
lea rcx, [rsp + 0xd0]
call fcn.1000790ec
xor edx, edx
cmp al, dl
jne 0x100080990
mov rcx, qword [0x100153eb8]
lea rax, [0x100153eb8]
cmp rcx, rax
je 0x1000808d2
test byte [rcx + 0x1c], 2
je 0x1000808d2
lea eax, [rdx + 5]
cmp byte [rcx + 0x19], al
jb 0x1000808d2
lea edx, [rax + 0x1c]
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x28], r12
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x20], rax
mov r9, r14
lea r8, [0x10001e3d0]
mov rcx, qword [rcx + 0x10]
call fcn.10007f6a8
xor edx, edx
jmp 0x1000808d2
mov esi, edi
mov rcx, qword [0x100153eb8]
lea rax, [0x100153eb8]
cmp rcx, rax
je 0x1000809ed
test byte [rcx + 0x1c], 2
je 0x1000809fb
cmp byte [rcx + 0x19], 2
jb 0x1000809f4
mov edx, 0x20
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x28], r12
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x20], rax
mov r9, r14
lea r8, [0x10001e3d0]
mov rcx, qword [rcx + 0x10]
call fcn.10007f6a8
mov r12d, dword [rsp + 0x50]
jmp 0x100080a00
mov r12d, dword [rsp + 0x50]
jmp 0x100080a00
mov r12d, dword [rsp + 0x50]
jmp 0x100080a00
mov r12d, dword [rsp + 0x50]
jmp 0x100080a00
mov r12d, dword [rsp + 0x50]
xor r14d, r14d
cmp esi, r14d
jl 0x100080a71
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdx, [0x100022804]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea ebp, [rax + 1]
sub rcx, rbp
mov r8d, ecx
mov rcx, r13
call fcn.10003579c
mov r8d, dword [rbx - 0x10]
mov rdx, rbx
mov rcx, r13
call fcn.10003579c
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [0x1000224dc]
repne scasw ax, word [rdi]
not rcx
sub rcx, rbp
mov r8d, ecx
lea rdx, [0x1000224dc]
mov rcx, r13
call fcn.10003579c
jmp 0x100080a76
xor r14d, r14d
lea ebp, [r14 + 1]
jmp 0x100080a76
mov ebp, 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r8d, esi
mov edx, r12d
mov rcx, r13
call fcn.100080b40
mov rcx, qword [0x100153eb8]
lea rax, [0x100153eb8]
cmp rcx, rax
je 0x100080ae1
test byte [rcx + 0x1c], bpl
je 0x100080ae1
mov eax, 5
cmp byte [rcx + 0x19], al
jb 0x100080ae1
mov rax, qword [r13]
lea rdx, [0x100022810]
lea r9, [0x100022828]
cmp esi, r14d
cmovge r9, rdx
mov edx, 0x22
mov qword [rsp + 0x20], rax
lea r8, [0x10001e3d0]
mov rcx, qword [rcx + 0x10]
call fcn.10003b3bc
nop
lea rcx, [rsp + 0xa8]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
cmp eax, r14d
jg 0x100080b0c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [rsp + 0x390]
xor rcx, rsp
call fcn.10011be80
mov rbx, qword [rsp + 0x3f8]
add rsp, 0x3a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret