Function at 0x180015128
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
lea rbp, [rax - 0x68]
sub rsp, 0x130
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1800c5470]
xor rax, rsp
mov qword [rbp + 0x28], rax
mov r15, rdx
mov rsi, rcx
call fcn.180011110
mov r12d, eax
mov r14d, 0x80004005
and qword [r15 + 0x10], 0
mov rcx, r15
cmp qword [r15 + 0x18], 0x10
jb 0x180015182
mov rcx, qword [r15]
mov byte [rcx], 0
and qword [rsp + 0x48], 0
and dword [rsp + 0x40], 0
xor r13d, r13d
cmp dword [rsi + 0x2c], 5
jne 0x1800152e2
call fcn.18000a7ac
mov rcx, rax
test rax, rax
je 0x180015484
mov rax, qword [rax]
call qword [rax + ILCombine]
add rax, 0x18
mov qword [rsp + 0x50], rax
and qword [rsp + 0x58], r13
lea rbx, [0x180168bc0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov qword [rsp + 0x58], rbx
lea rdx, [0x180168be8]
lea rcx, [rsp + 0x50]
call fcn.18000525c
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, rsi
call fcn.180014f24
mov rbx, qword [rsp + 0x50]
test eax, eax
je 0x180015249
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
mov rcx, qword [rsi + 0x88]
mov r10, qword [rcx]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsi + 0x34]
mov r8, qword [rsi + 0x50]
mov rdx, rbx
call qword [r10 + 0x28]
mov r14d, eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r13d, eax
sub r13d, edi
jmp 0x1800152c6
test r12d, r12d
je 0x1800152c6
mov dword [rsp + 0x20], 0xa
lea r9, str.dfsu11yy38277_6fhjsdkfds
mov r8d, 0x13
lea rdx, [0x18008bd50]
lea rcx, [rbp - 0x78]
call fcn.180064fbc
mov rdi, rax
mov r8d, 0x1b
lea rdx, [0x18008bc70]
lea rcx, [rsp + 0x68]
call fcn.180064ed8
nop
cmp qword [rdi + 0x18], 8
jb 0x180015298
mov rdi, qword [rdi]
cmp qword [rax + 0x18], 0x10
jb 0x1800152a2
mov rax, qword [rax]
xor r8d, r8d
mov rdx, rdi
mov rcx, rax
call fcn.18006249c
nop
lea rcx, [rsp + 0x68]
call fcn.1800102d0
nop
lea rcx, [rbp - 0x78]
call fcn.1800101e0
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x180015312
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x180015312
mov rcx, qword [rsi + 0x88]
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x20], rdx
mov r9d, dword [rsi + 0x34]
mov r8, qword [rsi + 0x50]
mov rdx, qword [rsi + 0x38]
call qword [rax + 0x28]
mov r14d, eax
test r12d, r12d
je 0x1800153b5
mov dword [rsp + 0x20], 0xa
lea r9, str.dfsu11yy38277_6fhjsdkfds
mov r8d, 0x4a
lea rdx, [0x18008bcb0]
lea rcx, [rbp - 0x38]
call fcn.180064fbc
mov rbx, rax
mov r8d, 0x1b
lea rdx, [0x18008bc70]
lea rcx, [rbp - 0x58]
call fcn.180064ed8
mov rcx, rax
cmp qword [rbx + 0x18], 8
jb 0x180015366
mov rbx, qword [rbx]
cmp qword [rax + 0x18], 0x10
jb 0x180015370
mov rcx, qword [rax]
mov dword [rsp + 0x38], r13d
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x28], eax
mov eax, dword [rsi + 0xa0]
mov dword [rsp + 0x20], eax
mov r9, qword [rsi + 0x38]
mov r8d, dword [rsi + 0x2c]
mov rdx, rbx
call fcn.18006233c
nop
lea rcx, [rbp - 0x58]
call fcn.1800102d0
nop
lea rcx, [rbp - 0x38]
call fcn.1800101e0
test r14d, r14d
js 0x1800153e0
cmp dword [rsp + 0x40], 0
jbe 0x1800153e0
mov rdx, qword [rsp + 0x48]
mov rcx, r15
call fcn.180016dd4
mov rcx, qword [rsi + 0x88]
mov rax, qword [rcx]
mov rdx, qword [rsp + 0x48]
call qword [rax + 0x30]
test r12d, r12d
je 0x18001545a
mov dword [rsp + 0x20], 0xa
lea r9, str.dfsu11yy38277_6fhjsdkfds
mov r8d, 8
lea rdx, [0x18008bc90]
lea rcx, [rbp + 8]
call fcn.180064fbc
mov rbx, rax
mov r8d, 0x1b
lea rdx, [0x18008bc70]
lea rcx, [rbp - 0x18]
call fcn.180064ed8
nop
cmp qword [rbx + 0x18], 8
jb 0x18001542e
mov rbx, qword [rbx]
cmp qword [rax + 0x18], 0x10
jb 0x180015438
mov rax, qword [rax]
mov r8d, r14d
mov rdx, rbx
mov rcx, rax
call fcn.18006233c
nop
lea rcx, [rbp - 0x18]
call fcn.1800102d0
nop
lea rcx, [rbp + 8]
call fcn.1800101e0
mov eax, r14d
mov rcx, qword [rbp + 0x28]
xor rcx, rsp
call fcn.1800782d0
mov rbx, qword [rsp + 0x180]
add rsp, 0x130
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, r14d
call fcn.18000a540
int3