Function at 0x14019bd20
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
lea rax, [0x14028c4b8]
xor esi, esi
mov rbx, rcx
mov qword [rcx], rax
cmp qword [rcx + 0xc8], rsi
je 0x14019bd91
mov rcx, qword [rcx + 0xd0]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, qword [rbx + 0xc8]
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x14019bd7d
mov rcx, qword [rbx + 0xc8]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rbx + 0xd0]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov qword [rbx + 0xc8], rsi
mov rcx, qword [rbx + 0xd8]
test rcx, rcx
je 0x14019bdaa
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0xd8], rsi
mov dword [rbx + 0x78], esi
mov rdx, qword [rbx + 0x120]
sub rdx, 0x18
or edi, 0xffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x14019bdd1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rbx + 0xe8]
mov eax, edi
sub rdx, 0x18
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14019bdf3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp qword [rbx + 0xc8], rsi
lea rax, [0x14028b0e0]
mov qword [rbx + 0x70], rax
je 0x14019be51
mov rcx, qword [rbx + 0xd0]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, qword [rbx + 0xc8]
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x14019be3d
mov rcx, qword [rbx + 0xc8]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rbx + 0xd0]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov qword [rbx + 0xc8], rsi
mov rcx, qword [rbx + 0xd8]
test rcx, rcx
je 0x14019be6a
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0xd8], rsi
mov rcx, qword [rbx + 0xd0]
mov dword [rbx + 0x78], esi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbx + 0x80]
mov eax, edi
sub rdx, 0x18
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14019be9c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rbx + 0x68]
mov eax, edi
sub rdx, 0x18
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14019bebb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rbx + 0x58]
mov eax, edi
sub rdx, 0x18
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14019beda
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rbx + 0x50]
mov eax, edi
sub rdx, 0x18
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14019bef9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rbx + 0x48]
mov eax, edi
sub rdx, 0x18
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14019bf18
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rbx + 0x40]
lea rax, [0x140282bc8]
mov qword [rbx], rax
sub rdx, 0x18
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14019bf41
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rbx + 0x10]
lea rax, [0x140285850]
mov qword [rbx], rax
sub rdx, 0x18
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14019bf6a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rbx + 8]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], edi
add edi, 0xffffffff
test edi, edi
jg 0x14019bf87
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret