Function at 0x1002a270
Capabilities:
Enumerate processes

Disassembly:
push ebp
lea ebp, [esp - 0x230]
sub esp, 0x230
push 0xffffffffffffffff
push 0x10081557
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x100c6034]
xor eax, ebp
mov dword [ebp + 0x22c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 1
xor esi, esi
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 2
push eax
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
mov dword [ebp - 0x38], 0x100a4f9c
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x34], ebx
mov byte [ebp - 4], 3
cmp ebx, 0xffffffff
jne 0x1002a35e
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], esi
mov dword [edi], esi
mov dword [edi + 4], esi
mov dword [edi + 8], esi
mov dword [ebp - 0x20], 1
mov byte [ebp - 4], 2
push eax
mov dword [ebp - 0x38], 0x100a4f9c
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x34], esi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.10028210
mov dword [ebp - 4], esi
mov ecx, dword [ebp + 0x25c]
test ecx, ecx
je 0x1002a55b
mov edx, dword [ecx]
lea eax, [ebp + 0x238]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
jmp 0x1002a551
push 0x228
lea eax, [ebp + 4]
push 0
push eax
call fcn.1005e790
add esp, 0xc
mov dword [ebp], 0x22c
lea eax, [ebp]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1002a4db
push dword [ebp + 8]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
mov dword [ebp - 0x30], 0x100a4f9c
mov dword [ebp - 0x2c], edi
mov byte [ebp - 4], 5
cmp edi, 0xffffffff
jne 0x1002a3c7
mov byte [ebp - 4], 3
mov dword [ebp - 0x30], 0x100a4f9c
push eax
jmp 0x1002a4b5
mov edx, edi
lea ecx, [ebp - 0x74]
call fcn.1002a8a0
mov byte [ebp - 4], 6
xor eax, eax
mov dword [ebp - 0x58], 0
mov word [ebp - 0x58], ax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x48], 0
lea edx, [eax + 2]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1002a404
sub eax, edx
lea ecx, [ebp - 0x58]
sar eax, 1
push eax
lea eax, [ebp + 0x24]
push eax
call fcn.10027680
mov byte [ebp - 4], 7
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp + 0x25c]
test ecx, ecx
je 0x1002a580
mov eax, dword [ecx]
lea edx, [ebp - 0x74]
push edx
lea edx, [ebp - 0x58]
push edx
mov eax, dword [eax + 8]
lea edx, [ebp - 0x3c]
push edx
lea edx, [ebp - 0x28]
push edx
call eax
mov bl, al
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x58]
call fcn.10027d30
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x74]
call fcn.10027d30
test bl, bl
je 0x1002a49f
cmp esi, dword [ebp - 0x1c]
je 0x1002a489
mov eax, dword [ebp + 8]
mov dword [esi], eax
add esi, 4
mov dword [ebp - 0x14], esi
jmp 0x1002a49f
lea eax, [ebp + 8]
push eax
push esi
lea ecx, [ebp - 0x18]
call fcn.1002abd0
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 3
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x30], 0x100a4f9c
test edi, edi
je 0x1002a4be
push edi
call ebx
mov dword [ebp - 0x2c], 0
lea eax, [ebp]
push eax
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1002a391
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x40]
jmp 0x1002a4dd
xor eax, eax
mov dword [edi], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [edi + 4], esi
mov dword [edi + 8], eax
mov dword [ebp - 0x20], 1
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x38], 0x100a4f9c
test eax, eax
je 0x1002a520
push eax
call ebx
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.10028210
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0x25c]
test ecx, ecx
je 0x1002a55b
mov esi, dword [ecx]
lea eax, [ebp + 0x238]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov dword [ebp + 0x25c], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x22c]
xor ecx, ebp
call fcn.1005c4e7
lea esp, [ebp + 0x230]
pop ebp
ret
call fcn.10046eaf
int3