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

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x58]
sub rsp, 0x130
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1804610b0]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov rdi, rcx
cmp byte [rcx + 0x320], 0
je 0x18009898c
mov al, 1
jmp 0x180098ce6
xor eax, eax
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
movdqa xmm1, xmmword [0x180397e60]
movdqu xmmword [rsp + 0x60], xmm1
xor r13d, r13d
mov word [rsp + 0x50], r13w
lea r8d, [rax + 0x16]
lea rdx, str.RCIM_LOAD_CONFIG_MUTEX
lea rcx, [rsp + 0x50]
call fcn.180033930
nop
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x28]
call fcn.18017f5d0
nop
lea rcx, [rsp + 0x50]
call fcn.1800338a0
xor r12b, r12b
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rdx, qword [rdi + 0x28]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
movdqa xmm1, xmmword [0x180397e60]
movdqu xmmword [rbp - 0x80], xmm1
mov word [rsp + 0x70], r13w
mov rsi, 0xffffffffffffffff
mov r8, rsi
nop dword [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x180098a20
lea rcx, [rsp + 0x70]
call fcn.180033930
nop
mov byte [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x70]
lea rcx, [rdi + 0x78]
call fcn.18018a9f0
movzx ebx, al
lea rcx, [rsp + 0x70]
call fcn.1800338a0
test bl, bl
jne 0x180098aee
mov rdx, qword [rdi + 0x28]
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], r13w
mov r8, rsi
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x180098a90
lea rcx, [rsp + 0x30]
call fcn.180033930
nop
cmp qword [rsp + 0x40], 0
jne 0x180098ab2
xor bl, bl
jmp 0x180098acf
mov byte [rsp + 0x20], 1
xor r9d, r9d
lea r8d, [r9 + 4]
lea rdx, [rsp + 0x30]
lea rcx, [rdi + 0x78]
call fcn.18018ac00
movzx ebx, al
lea rcx, [rsp + 0x30]
call fcn.1800338a0
test bl, bl
je 0x180098aee
mov rbx, qword [rdi + 0x78]
test rbx, rbx
je 0x180098aee
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbx], eax
mov rdx, qword [rdi + 0x30]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x60], xmm0
movdqa xmm1, xmmword [0x180397e60]
movdqu xmmword [rbp - 0x60], xmm1
mov word [rbp - 0x70], r13w
mov r8, rsi
nop
inc r8
cmp word [rdx + r8*2], 0
jne 0x180098b10
lea rcx, [rbp - 0x70]
call fcn.180033930
nop
mov byte [rsp + 0x20], 0
mov r9b, 1
xor r8d, r8d
lea rdx, [rbp - 0x70]
lea rcx, [rdi + 0x38]
call fcn.18018a9f0
movzx ebx, al
lea rcx, [rbp - 0x70]
call fcn.1800338a0
test bl, bl
jne 0x180098bb8
mov rdx, qword [rdi + 0x30]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x40], xmm0
movdqa xmm1, xmmword [0x180397e60]
movdqu xmmword [rbp - 0x40], xmm1
mov word [rbp - 0x50], r13w
mov r8, rsi
nop
inc r8
cmp word [rdx + r8*2], 0
jne 0x180098b70
lea rcx, [rbp - 0x50]
call fcn.180033930
nop
mov byte [rsp + 0x20], 0
mov r9b, 1
mov r8d, 4
lea rdx, [rbp - 0x50]
lea rcx, [rdi + 0x38]
call fcn.18018ac00
movzx ebx, al
lea rcx, [rbp - 0x50]
call fcn.1800338a0
test bl, bl
jne 0x180098bb8
xor r12b, r12b
jmp 0x180098c83
mov rcx, qword [rdi + 0x38]
mov rax, qword [rdi + 0x78]
test rcx, rcx
je 0x180098bd3
test rax, rax
je 0x180098bd3
mov eax, dword [rax]
cmp dword [rcx], eax
setb dl
jmp 0x180098bd5
xor dl, dl
mov rcx, rdi
call fcn.180098d20
test al, al
je 0x180098c7c
mov r12b, 1
lea rcx, [rdi + 0x20]
call fcn.1800bd2c0
test al, al
je 0x180098c7c
xor eax, eax
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rax
xorps xmm0, xmm0
movdqu xmmword [rbp + 8], xmm0
mov qword [rbp + 0x18], r13
mov rax, qword [rdi]
lea rdx, [rbp + 8]
mov rcx, rdi
call qword [rax + 0x40]
movzx edx, r12b
mov rcx, rdi
call fcn.180098d20
test al, al
je 0x180098c73
xor eax, eax
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rax
mov qword [rbp], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x10], xmm0
mov qword [rbp], r13
mov rax, qword [rdi]
lea rdx, [rbp - 0x10]
mov rcx, rdi
call qword [rax + 0x40]
mov rax, qword [rdi]
lea r8, [rbp - 0x10]
lea rdx, [rbp + 8]
mov rcx, rdi
call qword [rax + 0x48]
nop
lea rcx, [rbp - 0x10]
call fcn.180059740
nop
lea rcx, [rbp + 8]
call fcn.180059740
mov byte [rdi + 0x320], 1
mov rbx, qword [rbp - 0x28]
test rbx, rbx
je 0x180098ca8
cmp byte [rbp - 0x18], 0
je 0x180098ca8
mov rcx, qword [rbx]
test rcx, rcx
je 0x180098ca0
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [rbx + 8], 0
mov byte [rbp - 0x18], 0
lea rcx, [rbp - 0x28]
call fcn.18003d460
nop
mov rbx, qword [rbp - 0x20]
test rbx, rbx
je 0x180098ce2
mov eax, esi
lock xadd dword [rbx + 8], eax
sub eax, 1
jne 0x180098ce2
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x180098ce2
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + reloc.OLEAUT32.dll_VariantClear]
movzx eax, r12b
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1802994c0
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret