Function at 0x10002490
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10027131
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x10033010]
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.10005250
mov ecx, eax
test ecx, ecx
jne 0x100024e5
push 0x80004005
call fcn.10005470
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.1000ef27
add esp, 4
mov edi, eax
mov dword [ebp - 0x250], edi
push dword [ebp - 0x254]
push 0
push edi
call fcn.1000e250
add esp, 0xc
mov dword [edi], 0xa
lea ebx, [esi + 0x4c]
mov ecx, ebx
mov dword [ebp - 0x26c], ebx
call fcn.100046e0
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 0x10002567
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x10002940
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x258], esi
cmp esi, 0xffffffff
jne 0x1000258b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x10002940
lea eax, [ebp - 0x240]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x100025aa
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x10002940
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 0x10002721
lea ecx, [edi + 8]
mov dword [ebp - 0x248], ecx
nop dword [eax]
mov eax, dword [ebp - 0x238]
cmp eax, dword [ecx]
je 0x10002608
lea eax, [ebp - 0x240]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x100026f0
mov ecx, dword [ebp - 0x248]
jmp 0x100025e0
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10002611
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x244]
call fcn.10004170
lea ecx, [ebp - 0x244]
call fcn.10003670
mov esi, eax
mov ecx, dword [esi]
cmp dword [ecx - 0xc], 0
jl 0x10002675
push 0x1002d0c4
push ecx
call fcn.1000de74
add esp, 8
test eax, eax
je 0x10002675
sub eax, dword [esi]
sar eax, 1
cmp eax, 0xffffffff
je 0x10002675
push 5
push str..tmp
lea ecx, [ebp - 0x244]
call fcn.10004170
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 0x100026a5
mov eax, dword [ecx + edi*4]
test eax, eax
je 0x100026a1
cmp dword [eax + 0xc], esi
jne 0x1000269a
cmp dword [eax], esi
je 0x100026c3
mov eax, dword [eax + 8]
test eax, eax
jne 0x10002691
test ecx, ecx
jne 0x100026b9
push 1
push dword [ebx + 8]
mov ecx, ebx
call fcn.10004a80
test al, al
je 0x10002793
push esi
push edi
push esi
mov ecx, ebx
call fcn.10004d60
lea ecx, [eax + 4]
lea eax, [ebp - 0x244]
push eax
call fcn.10003ad0
lea eax, [ebp - 0x244]
push eax
lea ecx, [ebp - 0x264]
call fcn.10003240
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 0x100025e0
mov ecx, dword [ebp - 0x260]
mov edx, dword [ebp - 0x264]
xor eax, eax
mov dword [ebp - 0x250], eax
test ecx, ecx
jle 0x100028f2
test eax, eax
js 0x100028e6
cmp eax, ecx
jge 0x100028e6
mov edx, dword [edx + eax*4]
mov esi, dword [ebp - 0x244]
add esi, 0xfffffff0
lea ecx, [edx - 0x10]
cmp ecx, esi
je 0x100027ac
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x1000279d
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x1000279d
call fcn.10004100
mov dword [ebp - 0x258], eax
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x10002788
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 0x100027ac
push 0x8007000e
call fcn.10005470
push dword [edx - 0xc]
lea ecx, [ebp - 0x244]
push edx
call fcn.10004170
xor edi, edi
mov dword [ebp - 0x24c], edi
cmp dword [ebx + 4], edi
je 0x100028bc
mov esi, dword [ebp - 0x268]
xor ebx, ebx
mov ecx, dword [esi + 0x54]
test ecx, ecx
je 0x100027e1
mov edx, dword [esi + 0x4c]
mov eax, edx
cmp dword [eax], edi
jne 0x100028de
inc ebx
add eax, 4
cmp ebx, ecx
jb 0x100027d1
xor ebx, ebx
test ebx, ebx
je 0x100028b6
nop dword [eax + eax]
test ebx, ebx
je 0x100024db
lea eax, [ebx + 4]
push eax
lea ecx, [ebp - 0x248]
call fcn.10003f10
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x248]
test esi, esi
je 0x100024db
push esi
push dword [ebp - 0x244]
call fcn.1000f68b
add esp, 8
test eax, eax
jne 0x10002858
test edi, edi
je 0x10002851
push edi
push dword [ebp - 0x244]
lea eax, [ebp - 0x248]
push str._s__d_
push eax
call fcn.100046a0
mov esi, dword [ebp - 0x248]
add esp, 0x10
inc edi
mov dword [ebp - 0x24c], edi
mov edi, dword [ebx + 8]
test edi, edi
jne 0x1000288a
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 0x10002884
mov eax, dword [esi + 0x4c]
mov eax, dword [eax + edx*4]
test eax, eax
cmovne edi, eax
inc edx
test edi, edi
je 0x10002870
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 0x100028a8
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
mov edi, dword [ebp - 0x24c]
jne 0x100027f0
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 0x100028f2
mov edx, dword [ebp - 0x264]
jmp 0x10002731
mov ebx, dword [edx + ebx*4]
jmp 0x100027e3
push 1
push 0xc000008c
call fcn.10005490
mov byte [ebp - 4], 0
xor edi, edi
mov ebx, dword [ebp - 0x264]
test ebx, ebx
je 0x10002940
xor esi, esi
test ecx, ecx
jle 0x10002937
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 0x10002930
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 0x10002910
xor edi, edi
push ebx
call fcn.1000ef32
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 0x10002965
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.1000b827
mov esp, ebp
pop ebp
ret