Function at 0x10007be0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001d7ad
mov eax, dword fs:[0]
push eax
sub esp, 0x484
mov eax, dword [0x10028008]
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
xor ebx, ebx
lea eax, [ebp - 0x45c]
push 0x228
push ebx
mov dword [ebp - 0x478], ebx
push eax
mov dword [ebp - 0x464], ebx
mov dword [ebp - 0x460], 0x22c
call fcn.100172e0
add esp, 0xc
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x474], esi
test esi, esi
jne 0x10007c57
xor al, al
jmp 0x10007ec9
lea eax, [ebp - 0x460]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x10007ec0
lea ecx, [ecx]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.100172e0
add esp, 0xc
push dword [ebp - 0x458]
push 0
push 0x411
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x47c], edi
mov dword [ebp - 0x46c], 0
mov dword [ebp - 0x468], 0
push 0x104
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
push 0
push edi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
test eax, eax
je 0x10007d6e
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
jne 0x10007d15
xor ecx, ecx
jmp 0x10007d2f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10007d20
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.10001ed0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x470]
or ebx, 1
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x464], ebx
mov dword [ebp - 0x478], ebx
call fcn.1000ccb0
test al, al
je 0x10007d6e
xor bl, bl
jmp 0x10007d70
mov bl, 1
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x464]
test al, 1
je 0x10007da1
and eax, 0xfffffffe
cmp dword [ebp - 0x21c], 8
mov dword [ebp - 0x464], eax
jb 0x10007da1
push dword [ebp - 0x230]
call fcn.1000e356
add esp, 4
test bl, bl
je 0x10007db9
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x460]
push eax
push esi
jmp 0x10007e6c
lea eax, [ebp - 0x470]
push eax
lea ecx, [ebp - 0x490]
call fcn.10008d30
mov eax, dword [ebp - 0x48c]
xor esi, esi
mov ebx, dword [ebp - 0x490]
sub eax, ebx
sar eax, 2
mov dword [ebp - 0x478], eax
test eax, eax
jle 0x10007e2d
mov ecx, dword [0x1002a3f8]
mov edi, dword [0x1002a3f4]
sub ecx, edi
sar ecx, 2
lea esp, [esp]
xor eax, eax
test ecx, ecx
jle 0x10007e1e
mov edx, dword [ebx + esi*4]
lea esp, [esp]
cmp edx, dword [edi + eax*4]
je 0x10007ee5
inc eax
cmp eax, ecx
jl 0x10007e10
inc esi
cmp esi, dword [ebp - 0x478]
jl 0x10007e00
mov edi, dword [ebp - 0x47c]
test ebx, ebx
je 0x10007e58
push ebx
call fcn.1000e356
add esp, 4
mov dword [ebp - 0x490], 0
mov dword [ebp - 0x48c], 0
mov dword [ebp - 0x488], 0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x460]
push eax
push dword [ebp - 0x474]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x470]
test eax, eax
je 0x10007eac
push eax
call fcn.1000e356
mov dword [ebp - 0x468], 0
add esp, 4
mov dword [ebp - 0x46c], 0
mov dword [ebp - 0x470], 0
mov ebx, dword [ebp - 0x464]
test esi, esi
mov esi, dword [ebp - 0x474]
jne 0x10007c70
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
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.1000db9e
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x10007f10
push ebx
call fcn.1000e356
add esp, 4
mov dword [ebp - 0x490], 0
mov dword [ebp - 0x48c], 0
mov dword [ebp - 0x488], 0
mov edi, dword [ebp - 0x47c]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x10007e58