Function at 0x100087d0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003c59b
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x10048650]
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 dword [ebp - 0x228], 0
mov ebx, dword [0x10192054]
mov dword [ebp - 0x224], ebx
cmp ebx, dword [0x10192058]
je 0x10008adf
mov edi, dword [ebp - 0x228]
lea esi, [ebx + 1]
lea esp, [esp]
movzx eax, byte [ebx]
cmp eax, 3
ja case.default.0x1000883c
jmp dword [eax*4 + 0x10008d04]
push esi
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov edi, eax
test edi, edi
je case.default.0x1000883c
cmp byte [0x10193d54], 0
jne 0x10008b5b
call fcn.1000a240
mov ecx, 0x8c
xor eax, eax
nop
mov dl, byte [eax + 0x10041d60]
xor dl, cl
inc ecx
mov byte [ebp + eax - 0x64], dl
inc eax
and ecx, 0xff
cmp eax, 0x10
jb 0x10008870
lea edi, [ebx + 1]
push edi
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x44]
push ecx
mov byte [ebp - 0x54], 0
call fcn.100206fd
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x54], al
lea eax, [ebp - 0x44]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100088b8
sub eax, edx
cmp eax, 0x32
jae 0x100088ce
lea esi, [ebp - 0x44]
call fcn.10007ec0
mov ecx, 0xeb
xor eax, eax
mov dl, byte [eax + 0x10041d74]
xor dl, cl
inc ecx
mov byte [ebp + eax - 0xcc], dl
inc eax
and ecx, 0xff
cmp eax, 0x20
jb 0x100088d5
lea eax, [ebp - 0xcc]
push eax
push edi
mov byte [ebp - 0xac], 0
mov ebx, 1
call fcn.10021400
add esp, 8
test eax, eax
jne 0x10008bfc
mov ecx, 0x84
lea ebx, [ebx]
mov dl, byte [eax + 0x10041d98]
xor dl, cl
inc ecx
mov byte [ebp + eax - 0xa8], dl
inc eax
and ecx, 0xff
cmp eax, 0x1e
jb 0x10008920
lea eax, [ebp - 0xa8]
push eax
push edi
mov byte [ebp - 0x8a], 0
mov ebx, 3
call fcn.10021400
add esp, 8
test eax, eax
jne 0x10008bfc
xor cl, cl
jmp 0x10008bfe
push 0
push esi
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExA]
mov edi, eax
test edi, edi
je case.default.0x1000883c
cmp byte [0x10193d54], 0
jne 0x10008b5b
call fcn.1000a240
mov ecx, 0xbe
xor eax, eax
mov dl, byte [eax + 0x10041de0]
xor dl, cl
inc ecx
mov byte [ebp + eax - 0x78], dl
inc eax
and ecx, 0xff
cmp eax, 0x11
jb 0x10008997
inc ebx
push ebx
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x44]
push ecx
mov byte [ebp - 0x67], 0
call fcn.100206fd
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov word [ebp - 0x68], ax
lea eax, [ebp - 0x44]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100089e0
sub eax, edx
cmp eax, 0x32
jae 0x100089f6
lea esi, [ebp - 0x44]
call fcn.10007ec0
push 0x1388
lea edx, [ebp - 0x44]
push edx
jmp 0x10008ce8
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
lea eax, [ebp - 0x220]
push eax
push ebx
mov dword [ebp - 0x220], 0x128
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x10008ab5
mov ecx, esi
lea eax, [ebp - 0x1fc]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10008a58
test dl, dl
je 0x10008a54
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10008a58
add eax, 2
add ecx, 2
test dl, dl
jne 0x10008a38
xor eax, eax
jmp 0x10008a5d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x10008a9f
mov ecx, dword [ebp - 0x218]
push ecx
push eax
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea edx, [ebp - 0x228]
push edx
push edi
mov dword [ebp - 0x228], 0
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push 8
call fcn.1000c0a0
add esp, 4
lea eax, [ebp - 0x220]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x10008a30
cmp ebx, 0xffffffff
je 0x10008ac1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0x224]
add ebx, 0x41
add esi, 0x41
mov dword [ebp - 0x224], ebx
cmp ebx, dword [0x10192058]
jne 0x10008830
lea eax, [ebp - 0x50]
push eax
push 0x10193420
mov dword [ebp - 0x50], 0x37323930
mov dword [ebp - 0x4c], 0x30303731
mov word [ebp - 0x48], 0x3031
mov byte [ebp - 0x46], 0
call fcn.10021400
add esp, 8
test eax, eax
sete al
test al, al
je 0x10008b5b
xor eax, eax
mov dword [0x10193420], eax
mov dword [0x10193424], eax
mov dword [0x10193428], eax
mov dword [0x1019342c], eax
mov dword [0x10193430], eax
mov dword [0x10193434], eax
mov dword [0x10193438], eax
mov dword [0x1019343c], eax
mov dword [0x10193440], eax
mov ecx, 0x5445d319
lea eax, [ebp - 0x50]
call fcn.1001b500
push eax
push 0x10193420
call fcn.100206fd
add esp, 8
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.100204ba
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je case.default.0x1000883c
cmp byte [0x10193d54], 0
jne 0x10008b5b
call fcn.1000a240
mov ecx, 0x89
xor eax, eax
jmp 0x10008ba0
mov dl, byte [eax + 0x10041df4]
xor dl, cl
inc ecx
mov byte [ebp + eax - 0x88], dl
inc eax
and ecx, 0xff
cmp eax, 0xf
jb 0x10008ba0
inc ebx
push ebx
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x44]
push ecx
mov byte [ebp - 0x79], 0
call fcn.100206fd
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x44]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10008bf0
jmp 0x100089e7
mov cl, 1
test bl, 2
je 0x10008c3f
and ebx, 0xfffffffd
xor eax, eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], eax
mov word [ebp - 0x8c], ax
mov byte [ebp - 0x8a], al
test bl, 1
je 0x10008c7c
xor eax, eax
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], eax
mov byte [ebp - 0xac], al
test cl, cl
je 0x10008cab
cmp dword [0x101933d4], 0
jne 0x10008cf7
xor ecx, ecx
mov edi, 0x10008d20
mov dword [0x101933d4], 3
call fcn.10003c00
mov byte [0x10193d54], 1
jmp 0x10008b5b
mov ecx, 0x5b
xor eax, eax
mov dl, byte [eax + 0x10041db8]
xor dl, cl
inc ecx
mov byte [ebp + eax - 0xf4], dl
inc eax
and ecx, 0xff
cmp eax, 0x25
jb 0x10008cb2
mov byte [ebp - 0xcf], 0
push 0x1388
lea eax, [ebp - 0xf4]
mov dword [ebp - 4], 0
push eax
push 2
mov eax, 0x10091eb8
call fcn.10005030
add esp, 0xc
mov byte [0x10193d54], 1
jmp 0x10008b5b