Function at 0x1401b3330
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
lea rax, method.CArray_int__int_const____ptr64_.virtual_0
xor esi, esi
mov rbx, rcx
mov qword [rcx], rax
cmp qword [rcx + 0xc8], rsi
je 0x1401b33a1
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 0x1401b338d
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 0x1401b33ba
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 0x1401b33e1
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 0x1401b3403
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp qword [rbx + 0xc8], rsi
lea rax, [0x1402a6520]
mov qword [rbx + 0x70], rax
je 0x1401b3461
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 0x1401b344d
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 0x1401b347a
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 0x1401b34ac
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 0x1401b34cb
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 0x1401b34ea
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 0x1401b3509
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 0x1401b3528
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rbx + 0x40]
lea rax, method.CArray_int__int_const____ptr64_.virtual_0
mov qword [rbx], rax
sub rdx, 0x18
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1401b3551
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rbx + 0x10]
lea rax, method.CArray_int__int_const____ptr64_.virtual_0
mov qword [rbx], rax
sub rdx, 0x18
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1401b357a
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 0x1401b3597
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