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

Disassembly:
push ebx
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.101850d0
mov eax, dword [esi + 0x70]
xor edi, edi
mov ecx, dword [esi + 0x6c]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x1016f677
nop
mov ecx, dword [ecx + edi*4]
test ecx, ecx
je 0x1016f667
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esi + 0x6c]
mov dword [eax + edi*4], 0
mov eax, dword [esi + 0x70]
inc edi
mov ecx, dword [esi + 0x6c]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x1016f650
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 0x1016f6b7
jmp 0x1016f690
mov ecx, dword [ecx + edi*4]
test ecx, ecx
je 0x1016f6a7
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esi + 0x78]
mov dword [eax + edi*4], 0
mov eax, dword [esi + 0x7c]
inc edi
mov ecx, dword [esi + 0x78]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x1016f690
mov dword [esi + 0x7c], ecx
mov eax, dword [esi + 0xb8]
test eax, eax
je 0x1016f6d5
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 0x1016f720
lea esp, [esp]
mov ecx, dword [ecx + edi*4]
test ecx, ecx
je 0x1016f70a
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esi + 0x90]
mov dword [eax + edi*4], 0
mov eax, dword [esi + 0x94]
inc edi
mov ecx, dword [esi + 0x90]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x1016f6f0
mov dword [esi + 0x94], ecx
lea edi, [esi + 0xd0]
mov eax, dword [edi]
mov ecx, edi
push dword [eax + 4]
push edi
call fcn.10020c80
push 0x14
push dword [edi]
call fcn.102134ff
mov eax, dword [esi + 0xc8]
lea edi, [esi + 0xc8]
add esp, 8
mov ecx, edi
push dword [eax + 4]
push edi
call fcn.1016da70
push 0xa0
push dword [edi]
call fcn.102134ff
mov edi, dword [esi + 0xc4]
add esp, 8
or ebx, 0xffffffff
test edi, edi
je 0x1016f797
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x1016f797
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, ebx
lock xadd dword [edi + 8], eax
jne 0x1016f797
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
lea ecx, [esi + 0xa8]
call fcn.1008a3d0
mov edx, dword [esi + 0xa4]
mov eax, ebx
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1016f7bf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [esi + 0xa0]
mov eax, ebx
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1016f7dc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi + 0x90]
test eax, eax
je 0x1016f837
mov ecx, dword [esi + 0x98]
sub ecx, eax
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x1016f80f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1016f94b
mov eax, edx
push ecx
push eax
call fcn.102134ff
mov dword [esi + 0x90], 0
add esp, 8
mov dword [esi + 0x94], 0
mov dword [esi + 0x98], 0
mov eax, dword [esi + 0x84]
test eax, eax
je 0x1016f892
mov ecx, dword [esi + 0x8c]
sub ecx, eax
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x1016f86a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1016f94b
mov eax, edx
push ecx
push eax
call fcn.102134ff
mov dword [esi + 0x84], 0
add esp, 8
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov eax, dword [esi + 0x78]
test eax, eax
je 0x1016f8e4
mov ecx, dword [esi + 0x80]
sub ecx, eax
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x1016f8c2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1016f94b
mov eax, edx
push ecx
push eax
call fcn.102134ff
mov dword [esi + 0x78], 0
add esp, 8
mov dword [esi + 0x7c], 0
mov dword [esi + 0x80], 0
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x1016f92c
mov ecx, dword [esi + 0x74]
sub ecx, eax
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x1016f90d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1016f94b
mov eax, edx
push ecx
push eax
call fcn.102134ff
mov dword [esi + 0x6c], 0
add esp, 8
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
mov ecx, dword [esi + 0x60]
test ecx, ecx
je 0x1016f940
lock xadd dword [ecx + 8], ebx
dec ebx
jne 0x1016f940
mov eax, dword [ecx]
call dword [eax + 4]
pop edi
lea ecx, [esi + 4]
pop esi
pop ebx
jmp fcn.1016f960
call fcn.10200ab0
int3