Function at 0x10008410
Capabilities:
Enumerate process modules
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002be7d
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x1003e00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx], 0
jne 0x10008453
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], vtable.CVolCommonBaseWithMemManager.0
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x3c], vtable.CVolObject.0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x3c], vtable.CVolMem.0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x24], 0x40
mov dword [ebp - 4], 1
mov dword [ebp - 0x24], pe_nt_image_headers32
mov dword [ebp - 4], 2
lea eax, [ebp - 0x10]
push 3
push eax
push 0
push 0
push dword [ebx]
mov dword [ebp - 0x10], 0
call dword [sym.imp.PSAPI.DLL_EnumProcessModulesEx]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x30]
shr eax, 2
lea esi, [eax*4]
test ecx, ecx
je 0x10008580
cmp esi, dword [ebp - 0x28]
je 0x100085d1
test esi, esi
jne 0x1000852d
mov eax, dword [ebp - 0x3c]
push ecx
mov eax, dword [eax + 0xc]
cmp eax, method.rg_n10418::rg_n20798.virtual_12
jne 0x1000850c
mov ecx, 0x1003ff58
call fcn.10014ea0
jmp 0x10008511
lea ecx, [ebp - 0x3c]
call eax
mov dword [ebp - 0x30], 0
xor ecx, ecx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
jmp 0x100085d1
mov edi, dword [ebp - 0x24]
mov eax, 0x40
test edi, edi
cmovle edi, eax
mov eax, dword [ebp - 0x2c]
cmp eax, esi
jl 0x1000854b
sub eax, esi
cmp eax, edi
jle 0x100085ce
mov eax, esi
cdq
idiv edi
mov eax, dword [ebp - 0x3c]
sub edi, edx
add edi, esi
push edi
mov eax, dword [eax + 8]
push ecx
cmp eax, method.rg_n10418::rg_n20798.virtual_8
jne 0x10008579
mov ecx, 0x1003ff58
call fcn.10014e10
mov ecx, eax
test ecx, ecx
je 0x100086e3
jmp 0x100085c8
lea ecx, [ebp - 0x3c]
call eax
jmp 0x100085c6
test esi, esi
jne 0x10008588
xor ecx, ecx
jmp 0x100085d1
mov edi, dword [ebp - 0x24]
mov eax, 0x40
test edi, edi
cmovle edi, eax
mov eax, esi
cdq
idiv edi
mov eax, dword [ebp - 0x3c]
sub edi, edx
add edi, esi
push edi
mov eax, dword [eax]
cmp eax, method.rg_n10418::rg_n20798.virtual_0
jne 0x100085c1
mov ecx, 0x1003ff58
call fcn.10014db0
mov ecx, eax
test ecx, ecx
je 0x100086e3
jmp 0x100085c8
lea ecx, [ebp - 0x3c]
call eax
mov ecx, eax
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x28], esi
push esi
push 0
push ecx
call fcn.1001b2e0
mov eax, dword [ebp - 0x30]
add esp, 0xc
xor ecx, ecx
cmp dword [ebp - 0x28], ecx
push 3
cmove eax, ecx
lea ecx, [ebp - 0x10]
push ecx
push dword [ebp - 0x10]
push eax
push dword [ebx]
call dword [sym.imp.PSAPI.DLL_EnumProcessModulesEx]
mov ecx, dword [ebp - 0x28]
test ecx, 0xfffffffc
jbe 0x10008669
mov eax, dword [ebp - 0x30]
xor edx, edx
mov esi, dword [sym.imp.PSAPI.DLL_GetModuleInformation]
test ecx, ecx
push 0xc
cmove eax, edx
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x20]
xorps xmm0, xmm0
push ecx
movq qword [ebp - 0x20], xmm0
push dword [eax]
push dword [ebx]
call esi
test eax, eax
je 0x10008669
mov eax, dword [ebp - 0x20]
xor edx, edx
mov ecx, dword [ebp - 0x30]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x28]
test eax, eax
push 0xc
cmove ecx, edx
lea edx, [ebp - 0x20]
push edx
push dword [ecx + eax - 4]
push dword [ebx]
call esi
test eax, eax
je 0x10008669
mov eax, dword [ebp - 0x1c]
mov esi, 1
add eax, dword [ebp - 0x20]
mov dword [ebx + 8], eax
jmp 0x1000866b
xor esi, esi
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x3c], vtable.CVolMem.0
mov dword [ebp - 4], 0xa
mov edx, dword [ebp - 0x30]
test edx, edx
je 0x100086ac
mov eax, dword [ebp - 0x3c]
push edx
mov eax, dword [eax + 0xc]
cmp eax, method.rg_n10418::rg_n20798.virtual_12
jne 0x100086a7
mov ecx, 0x1003ff58
call fcn.10014ea0
jmp 0x100086ac
lea ecx, [ebp - 0x3c]
call eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov dword [ebp - 0x3c], vtable.CVolObject.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
call fcn.1001e26a
int3