Function at 0x100080108
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 [0x100151198]
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, [0x100152eb8]
mov ecx, 5
lea eax, [rcx - 4]
mov r10, qword [0x100152eb8]
cmp r10, rbx
je 0x1000801de
test byte [r10 + 0x1c], al
je 0x1000801de
cmp byte [r10 + 0x19], cl
jb 0x1000801de
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.10007e990
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 [0x100152eb8]
cmp rcx, rbx
je 0x100080218
test byte [rcx + 0x1c], 1
je 0x100080218
lea edx, [rsi + 0xe]
lea r8, [0x10001e400]
mov rcx, qword [rcx + 0x10]
call fcn.100034764
lea rcx, [rsp + 0xd0]
call fcn.100078044
cmp rdi, rsi
je 0x10008026a
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, [0x100152eb8]
mov rcx, qword [0x100152eb8]
cmp rcx, rbx
je 0x100080291
test byte [rcx + 0x1c], 1
je 0x100080291
mov edx, 0xf
lea r8, [0x10001e400]
mov rcx, qword [rcx + 0x10]
call fcn.100034764
lea rcx, [0x100151100]
mov rax, qword [0x100151100]
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 0x100080301
mov ecx, 0xa
mov word [rsp + 0x90], cx
mov dword [rsp + 0x98], eax
mov ecx, eax
call fcn.100036264
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.10007ffc8
mov esi, eax
xor r8d, r8d
cmp eax, r8d
jge 0x10008033a
mov word [rsp + 0x180], r8w
mov rcx, qword [0x100152eb8]
lea rax, [0x100152eb8]
cmp rcx, rax
je 0x10008038f
test byte [rcx + 0x1c], 2
je 0x10008038f
movzx edx, byte [rcx + 0x19]
mov eax, 2
cmp esi, r8d
lea edi, [rax + 3]
cmovge eax, edi
cmp edx, eax
jl 0x10008038f
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.10003b984
xor r8d, r8d
cmp esi, r8d
jl 0x1000807ab
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.100036190
mov rbx, qword [rsp + 0x58]
xor edx, edx
cmp dword [rbx - 0x10], edx
jle 0x10008076a
mov rcx, rbx
movzx eax, word [rbx]
cmp ax, dx
je 0x1000803ef
cmp ax, 0x2e
je 0x1000803fd
add rcx, 2
mov ax, word [rcx]
cmp ax, dx
jne 0x1000803dd
mov rax, rdx
cmp word [rcx], 0x2e
cmove rax, rcx
mov rcx, rax
cmp rcx, rdx
je 0x10008076a
sub rcx, rbx
sar rcx, 1
cmp ecx, 0xffffffff
je 0x10008076a
lea r8d, [rcx + 1]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x58]
call fcn.100035914
nop
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.100035ed8
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 0x10008045f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea r8, [0x1000226b4]
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x58]
call fcn.100069898
nop
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.100035ed8
nop
mov rdx, qword [rsp + 0x88]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
cmp eax, edi
jg 0x1000804aa
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rsp + 0x58]
mov rcx, qword [0x100152eb8]
lea rax, [0x100152eb8]
cmp rcx, rax
je 0x1000804f8
test byte [rcx + 0x1c], 2
je 0x1000804f8
mov edx, 5
cmp byte [rcx + 0x19], dl
jb 0x1000804f8
mov edx, 0x1d
mov r9, rbx
lea r8, [0x10001e3d0]
mov rcx, qword [rcx + 0x10]
call fcn.100034788
mov rcx, qword [0x100152eb8]
lea rax, [0x100152eb8]
cmp dword [rbx - 0x10], edi
jne 0x10008053c
mov esi, 0x8000ffff
cmp rcx, rax
je 0x1000807ab
test byte [rcx + 0x1c], 2
je 0x1000807ab
cmp byte [rcx + 0x19], 2
jb 0x1000807ab
mov edx, 0x1e
lea r9, [rsp + 0x180]
lea r8, [0x10001e3d0]
mov rcx, qword [rcx + 0x10]
call fcn.100034788
cmp esi, edi
jl 0x1000807ab
or rsi, 0xffffffffffffffff
mov dword [rsp + 0x28], esi
lea rax, [0x1000226b8]
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, [0x1000226c8]
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, [0x100151100]
mov rax, qword [0x100151100]
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.100036190
lea rcx, [rsp + 0x68]
call fcn.100069790
mov rdi, qword [rsp + 0x68]
xor eax, eax
cmp sil, al
jne 0x100080646
xor esi, esi
cmp bpl, sil
jne 0x10008066d
cmp dword [rdi - 0x10], esi
jl 0x100080620
lea rdx, [0x1000226e0]
mov rcx, rdi
call fcn.10004efc0
cmp rax, rsi
je 0x100080620
sub rax, rdi
sar rax, 1
cmp eax, 0xffffffff
jne 0x100080648
cmp dword [rdi - 0x10], esi
jl 0x10008066d
lea rdx, [0x1000226f0]
mov rcx, rdi
call fcn.10004efc0
cmp rax, rsi
je 0x10008066d
sub rax, rdi
sar rax, 1
cmp eax, 0xffffffff
je 0x10008066d
jmp 0x100080648
xor esi, esi
mov edx, 0x45
lea rcx, [rsp + 0xd0]
call fcn.100078ba0
mov edx, 0x46
lea rcx, [rsp + 0xd0]
call fcn.100078ba0
nop
lea rdx, [rdi - 0x18]
or rbp, 0xffffffffffffffff
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, ebp
cmp eax, esi
jg 0x10008068b
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.10003577c
mov r8d, dword [rbx - 0x10]
mov rbx, qword [rsp + 0x58]
mov rdx, rbx
mov rcx, r13
call fcn.10003577c
lea rdi, [0x1001589c0]
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0xd0]
mov r8, r14
mov rdx, r13
mov ecx, r15d
call fcn.100085104
mov esi, eax
xor eax, eax
cmp esi, eax
jge 0x100080745
mov rcx, qword [0x100152eb8]
lea rax, [0x100152eb8]
cmp rcx, rax
je 0x1000807ab
test byte [rcx + 0x1c], 2
je 0x1000807ab
cmp byte [rcx + 0x19], 2
jb 0x1000807ab
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.10007f5a4
jmp 0x1000807ab
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.10003577c
jmp 0x1000807ab
mov esi, 0x8000ffff
mov rcx, qword [0x100152eb8]
lea rax, [0x100152eb8]
cmp rcx, rax
je 0x1000807ab
test byte [rcx + 0x1c], 2
je 0x1000807ab
cmp byte [rcx + 0x19], 2
jb 0x1000807ab
mov edx, 0x1c
lea r9, [rsp + 0x180]
lea r8, [0x10001e3d0]
mov rcx, qword [rcx + 0x10]
call fcn.100034788
call qword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
cmp esi, edx
jl 0x100080964
mov rbp, qword [0x1001589f0]
movsxd rax, esi
cmp rax, rdx
jl 0x1000808fc
cmp rbp, rdx
je 0x1000808e2
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.100080b50
mov edi, eax
xor edx, edx
cmp eax, edx
jge 0x1000807ce
mov edx, dword [r12 + 8]
lea rcx, [rsp + 0xd0]
call fcn.100079050
xor edx, edx
cmp al, dl
jne 0x10008088c
mov rcx, qword [0x100152eb8]
lea rax, [0x100152eb8]
cmp rcx, rax
je 0x1000807ce
test byte [rcx + 0x1c], 2
je 0x1000807ce
lea eax, [rdx + 5]
cmp byte [rcx + 0x19], al
jb 0x1000807ce
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.10007f5a4
xor edx, edx
jmp 0x1000807ce
mov esi, edi
mov rcx, qword [0x100152eb8]
lea rax, [0x100152eb8]
cmp rcx, rax
je 0x1000808e9
test byte [rcx + 0x1c], 2
je 0x1000808f7
cmp byte [rcx + 0x19], 2
jb 0x1000808f0
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.10007f5a4
mov r12d, dword [rsp + 0x50]
jmp 0x1000808fc
mov r12d, dword [rsp + 0x50]
jmp 0x1000808fc
mov r12d, dword [rsp + 0x50]
jmp 0x1000808fc
mov r12d, dword [rsp + 0x50]
jmp 0x1000808fc
mov r12d, dword [rsp + 0x50]
xor r14d, r14d
cmp esi, r14d
jl 0x10008096d
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdx, [0x1000226fc]
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.10003577c
mov r8d, dword [rbx - 0x10]
mov rdx, rbx
mov rcx, r13
call fcn.10003577c
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.10003577c
jmp 0x100080972
xor r14d, r14d
lea ebp, [r14 + 1]
jmp 0x100080972
mov ebp, 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r8d, esi
mov edx, r12d
mov rcx, r13
call fcn.100080a3c
mov rcx, qword [0x100152eb8]
lea rax, [0x100152eb8]
cmp rcx, rax
je 0x1000809dd
test byte [rcx + 0x1c], bpl
je 0x1000809dd
mov eax, 5
cmp byte [rcx + 0x19], al
jb 0x1000809dd
mov rax, qword [r13]
lea rdx, [0x100022708]
lea r9, [0x100022720]
cmp esi, r14d
cmovge r9, rdx
mov edx, 0x22
mov qword [rsp + 0x20], rax
lea r8, [0x10001e3d0]
mov rcx, qword [rcx + 0x10]
call fcn.10003b380
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 0x100080a08
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [rsp + 0x390]
xor rcx, rsp
call fcn.10011b980
mov rbx, qword [rsp + 0x3f8]
add rsp, 0x3a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret