Function at 0x1002fc60
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100add02
mov eax, dword fs:[0]
push eax
sub esp, 0x488
mov eax, dword [0x100d65e8]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, edx
mov eax, ecx
mov dword [ebp - 0x47c], eax
mov dword [ebp - 0x488], eax
mov dword [ebp - 0x484], esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x478], eax
push 0x228
push 0
lea eax, [ebp - 0x468]
push eax
call fcn.1007f340
add esp, 0xc
mov dword [ebp - 0x46c], 0x22c
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
mov dword [ebp - 0x474], ebx
lea eax, [ebp - 0x46c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x1002fd02
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x1002feef
xor bh, bh
mov edi, dword [ebp - 0x474]
lea eax, [ebp - 0x46c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x1002fee6
mov ecx, dword [ebp - 0x47c]
call fcn.1000eb30
push eax
lea eax, [ebp - 0x448]
push eax
call fcn.10081e9e
add esp, 8
test eax, eax
jne 0x1002fd0a
mov eax, dword [ebp - 0x478]
cmp dword [eax + 0x10], 0
jne 0x1002fddc
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x464]
cmp ecx, eax
jae 0x1002fdb5
mov ecx, dword [esi]
lea edx, [ebp - 0x464]
cmp ecx, edx
ja 0x1002fdb5
mov edi, edx
sub edi, ecx
sar edi, 2
cmp eax, dword [esi + 8]
jne 0x1002fd7c
push ecx
mov ecx, esi
call fcn.10030cf0
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [ebp - 0x480], ecx
mov dword [ebp - 0x48c], ecx
mov dword [ebp - 4], 0
test ecx, ecx
je 0x1002fd9d
mov eax, dword [eax + edi*4]
mov dword [ecx], eax
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp - 0x474]
add dword [esi + 4], 4
mov bh, 1
jmp 0x1002fd0a
cmp eax, dword [esi + 8]
jne 0x1002fdc2
push ecx
mov ecx, esi
call fcn.10030cf0
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x1002fdd1
mov eax, dword [ebp - 0x464]
mov dword [ecx], eax
add dword [esi + 4], 4
mov bh, 1
jmp 0x1002fd0a
push dword [ebp - 0x464]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
mov dword [ebp - 0x480], edi
test edi, edi
je 0x1002fd04
xor eax, eax
mov word [ebp - 0x224], ax
push 0x206
push eax
lea eax, [ebp - 0x222]
push eax
call fcn.1007f340
add esp, 0xc
push 0x104
lea eax, [ebp - 0x224]
push eax
push 0
push edi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
test eax, eax
je 0x1002fd04
mov dword [ebp - 4], 1
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x23c]
call fcn.1000fb40
mov byte [ebp - 4], 2
push 0
push dword [ebp - 0x478]
mov ecx, eax
call fcn.1001a070
cmp eax, 0xffffffff
setne bl
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x23c]
call fcn.100103e0
test bl, bl
je 0x1002fe95
lea eax, [ebp - 0x464]
push eax
mov ecx, esi
call fcn.10030b90
mov bh, 1
mov byte [ebp - 0x46d], bh
mov dword [ebp - 4], 0xffffffff
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1002fd04
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bh
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.1007e654
mov esp, ebp
pop ebp
ret