Function at 0x10160cb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
push edi
mov dword [esi], vtable.CPlugScanMgr.0
mov dword [esi + 4], vtable.CPlugScanMgr.1.0
mov dword [esi + 0x58], vtable.CPlugScanMgr.2.0
call fcn.10173ea0
mov eax, dword [esi + 0x70]
xor edi, edi
mov ecx, dword [esi + 0x6c]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x10160cfd
mov edi, edi
mov ecx, dword [ecx + edi*4]
test ecx, ecx
je 0x10160ced
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esi + 0x70]
inc edi
mov ecx, dword [esi + 0x6c]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x10160ce0
mov dword [esi + 0x70], ecx
xor edi, edi
mov eax, dword [esi + 0x7c]
mov ecx, dword [esi + 0x78]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x10160d2e
mov ecx, dword [ecx + edi*4]
test ecx, ecx
je 0x10160d1e
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esi + 0x7c]
inc edi
mov ecx, dword [esi + 0x78]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x10160d11
mov dword [esi + 0x7c], ecx
mov eax, dword [esi + 0xb8]
test eax, eax
je 0x10160d4c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xb8], 0
mov eax, dword [esi + 0x94]
xor edi, edi
mov ecx, dword [esi + 0x90]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x10160d86
mov ecx, dword [ecx + edi*4]
test ecx, ecx
je 0x10160d70
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esi + 0x94]
inc edi
mov ecx, dword [esi + 0x90]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x10160d63
push ebx
mov dword [esi + 0x94], ecx
lea ebx, [esi + 0xd0]
mov edi, dword [ebx]
mov ecx, ebx
push dword [edi + 4]
call fcn.10029430
mov eax, dword [ebx]
push 0x14
mov dword [eax + 4], edi
mov eax, dword [ebx]
mov dword [eax], edi
mov eax, dword [ebx]
mov dword [eax + 8], edi
mov dword [ebx + 4], 0
push dword [ebx]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
mov edi, dword [esi + 0xc8]
lea ebx, [esi + 0xc8]
add esp, 8
mov ecx, ebx
push dword [edi + 4]
call fcn.10173fc0
mov eax, dword [ebx]
push 0xb0
mov dword [eax + 4], edi
mov eax, dword [ebx]
mov dword [eax], edi
mov eax, dword [ebx]
mov dword [eax + 8], edi
mov dword [ebx + 4], 0
push dword [ebx]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
mov ebx, dword [esi + 0xc4]
add esp, 8
or edi, 0xffffffff
test ebx, ebx
je 0x10160e26
mov eax, edi
lock xadd dword [ebx + 4], eax
jne 0x10160e26
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
mov eax, edi
lock xadd dword [ebx + 8], eax
jne 0x10160e26
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
lea ecx, [esi + 0xa8]
call fcn.100893b0
mov edx, dword [esi + 0xa4]
mov eax, edi
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
pop ebx
test eax, eax
jg 0x10160e4f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [esi + 0xa0]
mov eax, edi
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10160e6c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi + 0x90]
test eax, eax
je 0x10160ec7
mov ecx, dword [esi + 0x98]
sub ecx, eax
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x10160e9f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10160fda
mov eax, edx
push ecx
push eax
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0x98], 0
mov eax, dword [esi + 0x84]
test eax, eax
je 0x10160f22
mov ecx, dword [esi + 0x8c]
sub ecx, eax
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x10160efa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10160fda
mov eax, edx
push ecx
push eax
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov eax, dword [esi + 0x78]
test eax, eax
je 0x10160f74
mov ecx, dword [esi + 0x80]
sub ecx, eax
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x10160f52
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10160fda
mov eax, edx
push ecx
push eax
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x80], 0
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x10160fbc
mov ecx, dword [esi + 0x74]
sub ecx, eax
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x10160f9d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10160fda
mov eax, edx
push ecx
push eax
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
mov ecx, dword [esi + 0x60]
test ecx, ecx
je 0x10160fd0
lock xadd dword [ecx + 8], edi
dec edi
jne 0x10160fd0
mov eax, dword [ecx]
call dword [eax + 4]
pop edi
lea ecx, [esi + 4]
pop esi
jmp fcn.10160fe0
call fcn.101e6c40
int3