Function at 0x10022a80
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009d192
mov eax, dword fs:[0]
push eax
sub esp, 0x488
mov eax, dword [0x100c34c0]
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.1007c850
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 0x10022b22
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x10022d0b
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 0x10022d02
mov ecx, dword [ebp - 0x47c]
call fcn.10010b60
push eax
lea eax, [ebp - 0x448]
push eax
call fcn.10078359
add esp, 8
test eax, eax
jne 0x10022b2a
mov eax, dword [ebp - 0x478]
cmp dword [eax + 0x10], 0
jne 0x10022bfc
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x464]
cmp ecx, eax
jae 0x10022bd5
mov ecx, dword [esi]
lea edx, [ebp - 0x464]
cmp ecx, edx
ja 0x10022bd5
mov edi, edx
sub edi, ecx
sar edi, 2
cmp eax, dword [esi + 8]
jne 0x10022b9c
push ecx
mov ecx, esi
call fcn.1001bbe0
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 0x10022bbd
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 0x10022b2a
cmp eax, dword [esi + 8]
jne 0x10022be2
push ecx
mov ecx, esi
call fcn.1001bbe0
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x10022bf1
mov eax, dword [ebp - 0x464]
mov dword [ecx], eax
add dword [esi + 4], 4
mov bh, 1
jmp 0x10022b2a
push dword [ebp - 0x464]
mov ecx, 0x410
call fcn.10021da0
add esp, 4
mov edi, eax
mov dword [ebp - 0x480], edi
test edi, edi
je 0x10022b24
xor eax, eax
mov word [ebp - 0x224], ax
push 0x206
push eax
lea eax, [ebp - 0x222]
push eax
call fcn.1007c850
add esp, 8
lea eax, [ebp - 0x224]
push eax
mov ecx, edi
call fcn.100222e0
add esp, 8
test eax, eax
je 0x10022b24
mov dword [ebp - 4], 1
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x23c]
call fcn.100109a0
mov byte [ebp - 4], 2
push 0
push dword [ebp - 0x478]
mov ecx, eax
call fcn.10010b70
cmp eax, 0xffffffff
setne bl
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x23c]
call fcn.10010a70
test bl, bl
je 0x10022cb1
lea eax, [ebp - 0x464]
push eax
mov ecx, esi
call fcn.1001bb40
mov bh, 1
mov byte [ebp - 0x46d], bh
mov dword [ebp - 4], 0xffffffff
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10022b24
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.10076e3d
mov esp, ebp
pop ebp
ret