Function at 0x100896c0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b8598
mov eax, dword fs:[0]
push eax
sub esp, 0x1fc
mov eax, dword [0x100e41c4]
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 - 0x200], 0
mov esi, dword [0x101e8030]
mov dword [ebp - 0x200], esi
cmp esi, dword [0x101e8034]
je 0x10089a6a
lea edi, [esi + 1]
movzx eax, byte [esi]
cmp eax, 3
ja case.default.0x1008971f
jmp dword [eax*4 + 0x10089a88]
push edi
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [ebp - 0x1fc], eax
test eax, eax
je case.default.0x1008971f
cmp byte [0x10232f28], 0
jne 0x10089a6a
push ecx
call fcn.10084e50
mov edx, 0x8c
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ecx + 0x100d6634]
xor al, dl
mov byte [ebp + ecx - 0xc0], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x10
jb 0x10089760
inc esi
mov byte [ebp - 0xb0], 0
push esi
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0xac]
push eax
call fcn.1003a9e0
add esp, 0xc
lea eax, [ebp - 0xac]
push eax
call fcn.100852c0
mov edx, 0xeb
xor ecx, ecx
nop dword [eax]
mov al, byte [ecx + 0x100d6610]
xor al, dl
mov byte [ebp + ecx - 0x34], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x20
jb 0x100897b0
lea eax, [ebp - 0x34]
mov byte [ebp - 0x14], 0
push eax
push esi
call fcn.1008ffe0
add esp, 8
test eax, eax
jne 0x100899bb
mov edx, 0x84
xor ecx, ecx
nop dword [eax + eax]
mov al, byte [ecx + 0x100d6670]
xor al, dl
mov byte [ebp + ecx - 0xcc], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x1e
jb 0x100897f0
lea eax, [ebp - 0xcc]
mov byte [ebp - 0xae], 0
push eax
push esi
call fcn.1008ffe0
add esp, 8
test eax, eax
jne 0x100899bb
xor al, al
jmp 0x100899bd
push 0
push edi
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExA]
mov dword [ebp - 0x1fc], eax
test eax, eax
je case.default.0x1008971f
cmp byte [0x10232f28], 0
jne 0x10089a6a
push ecx
call fcn.10084e50
mov edx, 0xbe
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ecx + 0x100d66a0]
xor al, dl
mov byte [ebp + ecx - 0xc0], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x11
jb 0x10089870
inc esi
mov byte [ebp - 0xaf], 0
push esi
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.1003a9e0
add esp, 0xc
lea eax, [ebp - 0x44]
push eax
call fcn.100852c0
lea eax, [ebp - 0x44]
jmp 0x10089a4a
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
mov dword [ebp - 0x1f8], 0x128
lea eax, [ebp - 0x1f8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x10089985
mov esi, dword [ebp - 0x1fc]
nop word [eax + eax]
mov eax, edi
lea ecx, [ebp - 0x1d4]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x10089918
test dl, dl
je 0x10089914
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x10089918
add ecx, 2
add eax, 2
test dl, dl
jne 0x100898f8
xor eax, eax
jmp 0x1008991d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10089969
push dword [ebp - 0x1f0]
push eax
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea eax, [ebp - 0x204]
mov dword [ebp - 0x204], 0
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 0x204]
mov edx, edi
mov ecx, 8
call fcn.1003ceb0
add esp, 4
lea eax, [ebp - 0x1f8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x100898f0
mov esi, dword [ebp - 0x200]
cmp ebx, 0xffffffff
je case.default.0x1008971f
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.default.0x1008971f
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
jne 0x10089a1c
add esi, 0x41
add edi, 0x41
mov dword [ebp - 0x200], esi
cmp esi, dword [0x101e8034]
jne 0x10089713
jmp 0x10089a6a
mov al, 1
test al, al
je 0x100899ed
cmp dword [0x101e6ea0], 0
jne 0x10089a63
push 0
push ecx
push 0
push 0x10087e30
push ecx
mov dword [0x101e6ea0], 3
call fcn.10087790
add esp, 0x14
jmp 0x10089a63
mov edx, 0x5b
xor ecx, ecx
mov al, byte [ecx + 0x100d6648]
xor al, dl
mov byte [ebp + ecx - 0x38], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x25
jb 0x100899f4
mov byte [ebp - 0x13], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x38]
jmp 0x10089a4a
cmp byte [0x10232f28], 0
jne 0x10089a6a
push ecx
call fcn.10084e50
inc esi
lea eax, [ebp - 0x78]
push esi
push str._Window.dll___s
push eax
call fcn.1003a9e0
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
call fcn.100852c0
lea eax, [ebp - 0x78]
push 0x1388
push eax
push ecx
mov edx, 2
mov ecx, 0x101ed2e8
call fcn.10087460
add esp, 0xc
mov byte [0x10232f28], 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.1008d9f1
mov esp, ebp
pop ebp
ret