Function at 0x1001a0a0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005c860
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x10080440]
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 eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x290], ebx
test eax, eax
je 0x1001a332
push eax
lea ecx, [ebp - 0x40]
call fcn.1000f3c0
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push eax
call fcn.1001cad0
push 0x22c
lea eax, [ebp - 0x284]
push 0
push eax
call fcn.10044bd0
add esp, 0x10
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x28c], eax
cmp eax, 0xffffffff
je 0x1001a319
call fcn.1002aab0
test al, al
je 0x1001a14c
push ebp
pop esi
pop edi
pop eax
push esp
pop edx
push ecx
pop ecx
pop ebx
push ecx
push eax
push esi
push esp
push ebp
push ebp
push edx
push edi
push edi
pop ecx
push esi
push esi
mov ebx, dword [ebp - 0x290]
call fcn.1002ac00
test al, al
je 0x1001a165
pop eax
pop edi
pop ecx
push esp
push esp
push edi
push edi
pop esp
pop eax
pop esi
pop esi
pop ebp
pop esi
pop edi
push edi
pop esi
mov esi, dword [ebp - 0x28c]
lea eax, [ebp - 0x284]
push eax
push esi
mov dword [ebp - 0x284], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x1001a2b0
nop word [eax + eax]
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp word [ebp - 0x260], ax
je 0x1001a1c5
lea eax, [ebp - 0x260]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1001a1b6
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x28]
call fcn.10008730
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call fcn.1001cad0
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
push dword [ebp - 0x30]
cmovae ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, dword [ebp - 0x28]
push dword [ebp - 0x18]
push eax
call fcn.1000f330
add esp, 0x14
test eax, eax
je 0x1001a251
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.1001c370
mov ecx, eax
add esp, 8
or ebx, 1
cmp dword [ecx + 0x14], 8
lea edx, [ecx + 0x10]
jb 0x1001a22c
mov ecx, dword [ecx]
push dword [edx]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push ecx
cmovae eax, dword [ebp - 0x40]
push dword [ebp - 0x30]
push eax
call fcn.1000f330
add esp, 0x10
mov byte [ebp - 0x285], 0
test eax, eax
jne 0x1001a258
mov byte [ebp - 0x285], 1
test bl, 1
je 0x1001a275
mov eax, dword [ebp - 0x44]
and ebx, 0xfffffffe
cmp eax, 8
jb 0x1001a275
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.10008830
cmp byte [ebp - 0x285], 0
jne 0x1001a34e
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp eax, 8
jb 0x1001a29b
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.10008830
lea eax, [ebp - 0x284]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1001a190
call fcn.1002a8f0
test al, al
je 0x1001a2d0
push esi
push edx
push edx
push ecx
pop eax
push ebp
push esp
pop edx
pop edi
push eax
push edx
pop ecx
pop ecx
push edi
push ebx
pop edx
pop esi
push esi
push edi
pop edx
pop eax
push eax
push eax
call fcn.1002a960
test al, al
je 0x1001a2f0
pop esi
push ebp
pop ebx
push ecx
pop esp
pop ebx
push esi
push ecx
pop ebp
pop esi
pop edi
pop ebp
push esp
pop esi
pop edx
push ebp
push esp
push ecx
pop edx
pop esi
pop esp
pop eax
pop ebx
call fcn.1002af80
test al, al
je 0x1001a30c
pop esi
push eax
pop edx
pop esp
push edi
push ebp
push eax
push esp
pop edx
push esp
pop esi
pop esi
pop ebp
pop ebx
pop eax
pop eax
pop edi
pop ebx
push esi
mov eax, dword [ebp - 0x28c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb 0x1001a330
inc ecx
push ecx
push dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
call fcn.10008830
mov eax, esi
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.1002c8d2
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x27c]
lea ecx, [ebp - 0x28]
call fcn.10007740
jmp 0x1001a31b