Function at 0x10021ca0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d9da2
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x10114770]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x250], edi
xor ebx, ebx
mov dword [ebp - 4], 0
push 0x228
lea eax, [ebp - 0x238]
mov dword [ebp - 0x254], 0
push ebx
push eax
mov dword [ebp - 0x258], edi
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x23c], ebx
call fcn.10067e20
add esp, 0xc
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x10021ec3
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x23c], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x10021ec3
lea edi, [ebx + 1]
lea esp, [esp]
lea eax, [ebp - 0x218]
test eax, eax
je 0x10021e27
mov ax, word [ebp - 0x218]
cmp ax, 0x5a
jne 0x10021dd0
cmp word [ebp - 0x216], 0x68
jne 0x10021e27
cmp word [ebp - 0x214], 0x75
jne 0x10021e27
cmp word [ebp - 0x212], 0x44
jne 0x10021e27
cmp word [ebp - 0x210], 0x6f
jne 0x10021e27
cmp word [ebp - 0x20e], 0x6e
jne 0x10021e27
mov dword [ebp - 0x244], edi
jmp 0x10021ea7
cmp ax, 0x32
jne 0x10021e27
cmp word [ebp - 0x216], 0x33
jne 0x10021e27
cmp word [ebp - 0x214], 0x34
jne 0x10021e27
cmp word [ebp - 0x212], 0x35
jne 0x10021e27
cmp word [ebp - 0x210], 0x53
jne 0x10021e27
cmp word [ebp - 0x20e], 0x61
jne 0x10021e27
cmp word [ebp - 0x20c], 0x66
jne 0x10021e27
cmp word [ebp - 0x20a], 0x65
jne 0x10021e27
mov dword [ebp - 0x240], edi
jmp 0x10021ea7
push 0
push 0
push 0x72
push 0x54
push 0x43
push 0x50
push 0x51
mov edx, 0x51
lea ecx, [ebp - 0x218]
call fcn.10021ab0
add esp, 0x1c
test al, al
je 0x10021e54
mov dword [ebp - 0x248], edi
jmp 0x10021ea7
push 0
push 0
push 0x61
push 0x72
push 0x74
push 0x65
push 0x78
mov edx, 0x6b
lea ecx, [ebp - 0x218]
call fcn.10021ab0
add esp, 0x1c
test al, al
je 0x10021e81
mov dword [ebp - 0x24c], edi
jmp 0x10021ea7
push 0
push 0
push 0x61
push 0x44
push 0x73
push 0x70
push 0x69
mov edx, 0x48
lea ecx, [ebp - 0x218]
call fcn.10021ab0
add esp, 0x1c
test al, al
cmovne ebx, edi
lea eax, [ebp - 0x23c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x10021d70
mov edi, dword [ebp - 0x250]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov dword [edi + 0x14], 7
push eax
mov dword [edi + 0x10], 0
mov ecx, edi
push 0x1010554c
mov word [edi], ax
call fcn.1001ab20
xor esi, esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x254], 1
cmp dword [ebp - 0x244], esi
je 0x10021f17
mov esi, 1
mov ecx, edi
push esi
push 0x10106b4c
call fcn.1001aa40
cmp dword [ebp - 0x248], 0
je 0x10021f40
mov ecx, edi
test esi, esi
je 0x10021f2f
push 2
push 0x10106b50
jmp 0x10021f36
push 1
push 0x101067d4
call fcn.1001aa40
mov esi, 1
cmp dword [ebp - 0x24c], 0
je 0x10021f69
mov ecx, edi
test esi, esi
je 0x10021f58
push 2
push 0x10106b58
jmp 0x10021f5f
push 1
push 0x10106b60
call fcn.1001aa40
mov esi, 1
cmp dword [ebp - 0x240], 0
je 0x10021f92
mov ecx, edi
test esi, esi
je 0x10021f81
push 2
push 0x10106b64
jmp 0x10021f88
push 1
push 0x10106b6c
call fcn.1001aa40
mov esi, 1
test ebx, ebx
je 0x10021fb8
mov ecx, edi
test esi, esi
je 0x10021faa
push 2
push 0x10106b70
call fcn.1001aa40
jmp 0x10021fca
push 1
push 0x10106b78
call fcn.1001aa40
jmp 0x10021fca
test esi, esi
jne 0x10021fca
push 1
push 0x10106b7c
mov ecx, edi
call fcn.1001ab20
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 - 0x10]
xor ecx, ebp
call fcn.10061581
mov esp, ebp
pop ebp
ret