Function at 0x10002b40
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10025391
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x1003000c]
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 esi, ecx
mov dword [ebp - 0x268], esi
mov dword [ebp - 0x240], 0x22c
call fcn.10001520
mov ecx, eax
test ecx, ecx
jne 0x10002b95
push 0x80004005
call fcn.10001170
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x244], eax
mov dword [ebp - 4], 0
push 0x30
mov dword [ebp - 0x254], 0x30
call fcn.10011147
add esp, 4
mov edi, eax
mov dword [ebp - 0x250], edi
push dword [ebp - 0x254]
push 0
push edi
call fcn.1000d490
add esp, 0xc
mov dword [edi], 0xa
lea ebx, [esi + 0x4c]
mov ecx, ebx
mov dword [ebp - 0x26c], ebx
call fcn.10004db0
lea eax, [ebp - 0x254]
push eax
push dword [ebp - 0x254]
push edi
push 3
push dword [esi + 0x2c]
call dword [sym.imp.KERNEL32.dll_QueryInformationJobObject]
test eax, eax
jne 0x10002c17
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x10002ff0
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x258], esi
cmp esi, 0xffffffff
jne 0x10002c3b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x10002ff0
lea eax, [ebp - 0x240]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x10002c5a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x10002ff0
xor ecx, ecx
xor edx, edx
mov dword [ebp - 0x264], edx
mov dword [ebp - 0x260], ecx
mov dword [ebp - 0x25c], ecx
mov byte [ebp - 4], 1
mov dword [ebp - 0x24c], ecx
cmp dword [edi + 4], ecx
jbe 0x10002dd1
lea ecx, [edi + 8]
mov dword [ebp - 0x248], ecx
nop dword [eax]
mov eax, dword [ebp - 0x238]
cmp eax, dword [ecx]
je 0x10002cb8
lea eax, [ebp - 0x240]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x10002da0
mov ecx, dword [ebp - 0x248]
jmp 0x10002c90
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10002cc1
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x244]
call fcn.10004580
lea ecx, [ebp - 0x244]
call fcn.10003d40
mov esi, eax
mov ecx, dword [esi]
cmp dword [ecx - 0xc], 0
jl 0x10002d25
push 0x1002bda8
push ecx
call fcn.1000c354
add esp, 8
test eax, eax
je 0x10002d25
sub eax, dword [esi]
sar eax, 1
cmp eax, 0xffffffff
je 0x10002d25
push 5
push str..tmp
lea ecx, [ebp - 0x244]
call fcn.10004580
mov esi, dword [ebp - 0x238]
xor edx, edx
mov eax, esi
mov ecx, dword [ebx]
div dword [ebx + 8]
mov edi, edx
test ecx, ecx
je 0x10002d55
mov eax, dword [ecx + edi*4]
test eax, eax
je 0x10002d51
cmp dword [eax + 0xc], esi
jne 0x10002d4a
cmp dword [eax], esi
je 0x10002d73
mov eax, dword [eax + 8]
test eax, eax
jne 0x10002d41
test ecx, ecx
jne 0x10002d69
push 1
push dword [ebx + 8]
mov ecx, ebx
call fcn.10005140
test al, al
je 0x10002e43
push esi
push edi
push esi
mov ecx, ebx
call fcn.10005420
lea ecx, [eax + 4]
lea eax, [ebp - 0x244]
push eax
call fcn.100041a0
lea eax, [ebp - 0x244]
push eax
lea ecx, [ebp - 0x264]
call fcn.100038f0
mov edi, dword [ebp - 0x250]
mov esi, dword [ebp - 0x258]
mov edx, dword [ebp - 0x24c]
mov ecx, dword [ebp - 0x248]
inc edx
add ecx, 4
mov dword [ebp - 0x24c], edx
mov dword [ebp - 0x248], ecx
cmp edx, dword [edi + 4]
jb 0x10002c90
mov ecx, dword [ebp - 0x260]
mov edx, dword [ebp - 0x264]
xor eax, eax
mov dword [ebp - 0x250], eax
test ecx, ecx
jle 0x10002fa2
test eax, eax
js 0x10002f96
cmp eax, ecx
jge 0x10002f96
mov edx, dword [edx + eax*4]
mov esi, dword [ebp - 0x244]
add esi, 0xfffffff0
lea ecx, [edx - 0x10]
cmp ecx, esi
je 0x10002e5c
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x10002e4d
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x10002e4d
call fcn.10004880
mov dword [ebp - 0x258], eax
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x10002e38
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x258]
add eax, 0x10
mov dword [ebp - 0x244], eax
jmp 0x10002e5c
push 0x8007000e
call fcn.10001170
push dword [edx - 0xc]
lea ecx, [ebp - 0x244]
push edx
call fcn.10004580
xor edi, edi
mov dword [ebp - 0x24c], edi
cmp dword [ebx + 4], edi
je 0x10002f6c
mov esi, dword [ebp - 0x268]
xor ebx, ebx
mov ecx, dword [esi + 0x54]
test ecx, ecx
je 0x10002e91
mov edx, dword [esi + 0x4c]
mov eax, edx
cmp dword [eax], edi
jne 0x10002f8e
inc ebx
add eax, 4
cmp ebx, ecx
jb 0x10002e81
xor ebx, ebx
test ebx, ebx
je 0x10002f66
nop dword [eax + eax]
test ebx, ebx
je 0x10002b8b
lea eax, [ebx + 4]
push eax
lea ecx, [ebp - 0x248]
call fcn.10004690
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x248]
test esi, esi
je 0x10002b8b
push esi
push dword [ebp - 0x244]
call fcn.10010a74
add esp, 8
test eax, eax
jne 0x10002f08
test edi, edi
je 0x10002f01
push edi
push dword [ebp - 0x244]
lea eax, [ebp - 0x248]
push str._s__d_
push eax
call fcn.10004d70
mov esi, dword [ebp - 0x248]
add esp, 0x10
inc edi
mov dword [ebp - 0x24c], edi
mov edi, dword [ebx + 8]
test edi, edi
jne 0x10002f3a
mov esi, dword [ebp - 0x268]
xor edx, edx
mov eax, dword [ebx + 0xc]
mov ecx, dword [esi + 0x54]
div ecx
inc edx
cmp edx, ecx
jae 0x10002f34
mov eax, dword [esi + 0x4c]
mov eax, dword [eax + edx*4]
test eax, eax
cmovne edi, eax
inc edx
test edi, edi
je 0x10002f20
mov esi, dword [ebp - 0x248]
mov ebx, edi
mov byte [ebp - 4], 1
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10002f58
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
mov edi, dword [ebp - 0x24c]
jne 0x10002ea0
mov ebx, dword [ebp - 0x26c]
mov eax, dword [ebp - 0x250]
mov ecx, dword [ebp - 0x260]
inc eax
mov dword [ebp - 0x250], eax
cmp eax, ecx
jge 0x10002fa2
mov edx, dword [ebp - 0x264]
jmp 0x10002de1
mov ebx, dword [edx + ebx*4]
jmp 0x10002e93
push 1
push 0xc000008c
call fcn.10001140
mov byte [ebp - 4], 0
xor edi, edi
mov ebx, dword [ebp - 0x264]
test ebx, ebx
je 0x10002ff0
xor esi, esi
test ecx, ecx
jle 0x10002fe7
or edi, 0xffffffff
nop dword [eax + eax]
mov edx, dword [ebx + esi*4]
mov eax, edi
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10002fe0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x260]
inc esi
cmp esi, ecx
jl 0x10002fc0
xor edi, edi
push ebx
call fcn.10011142
add esp, 4
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov eax, dword [ebp - 0x244]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x10003015
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
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.1000aa33
mov esp, ebp
pop ebp
ret