Function at 0x10009140
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003e19b
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x1004a650]
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 [0x101acc44]
mov dword [ebp - 0x224], ebx
cmp ebx, dword [0x101acc48]
je 0x1000945f
mov edi, dword [ebp - 0x228]
lea esi, [ebx + 1]
lea esp, [esp]
movzx eax, byte [ebx]
cmp eax, 3
ja case.default.0x100091ac
jmp dword [eax*4 + 0x10009680]
push esi
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov edi, eax
test edi, edi
je case.default.0x100091ac
cmp byte [0x10ad000c], 0
jne 0x100094db
call fcn.1000abb0
mov ecx, 0x8c
xor eax, eax
nop
mov dl, byte [eax + 0x10043d98]
xor dl, cl
inc ecx
mov byte [ebp + eax - 0x64], dl
inc eax
and ecx, 0xff
cmp eax, 0x10
jb 0x100091e0
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.100222af
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 0x10009228
sub eax, edx
cmp eax, 0x32
jae 0x1000923e
lea esi, [ebp - 0x44]
call fcn.100085a0
mov ecx, 0xeb
xor eax, eax
mov dl, byte [eax + 0x10043dac]
xor dl, cl
inc ecx
mov byte [ebp + eax - 0xcc], dl
inc eax
and ecx, 0xff
cmp eax, 0x20
jb 0x10009245
lea eax, [ebp - 0xcc]
push eax
push edi
mov byte [ebp - 0xac], 0
mov ebx, 1
call fcn.10022fe0
add esp, 8
test eax, eax
jne 0x1000957c
mov ecx, 0x84
lea ebx, [ebx]
mov dl, byte [eax + 0x10043dd0]
xor dl, cl
inc ecx
mov byte [ebp + eax - 0xa8], dl
inc eax
and ecx, 0xff
cmp eax, 0x1e
jb 0x10009290
lea eax, [ebp - 0xa8]
push eax
push edi
mov byte [ebp - 0x8a], 0
mov ebx, 3
call fcn.10022fe0
add esp, 8
test eax, eax
jne 0x1000957c
xor cl, cl
jmp 0x1000957e
push 0
push esi
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExA]
mov edi, eax
test edi, edi
je case.default.0x100091ac
cmp byte [0x10ad000c], 0
jne 0x100094db
call fcn.1000abb0
mov ecx, 0xbe
xor eax, eax
mov dl, byte [eax + 0x10043e18]
xor dl, cl
inc ecx
mov byte [ebp + eax - 0x78], dl
inc eax
and ecx, 0xff
cmp eax, 0x11
jb 0x10009307
inc ebx
push ebx
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x44]
push ecx
mov byte [ebp - 0x67], 0
call fcn.100222af
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 0x10009350
sub eax, edx
cmp eax, 0x32
jae 0x10009366
lea esi, [ebp - 0x44]
call fcn.100085a0
lea edx, [ebp - 0x44]
push edx
push 2
mov eax, 0x100acaa8
call fcn.10005700
mov byte [0x10ad000c], 1
jmp 0x100094d8
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 0x10009435
mov edi, edi
mov ecx, esi
lea eax, [ebp - 0x1fc]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100093d8
test dl, dl
je 0x100093d4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100093d8
add eax, 2
add ecx, 2
test dl, dl
jne 0x100093b8
xor eax, eax
jmp 0x100093dd
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1000941f
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.1000ca10
add esp, 4
lea eax, [ebp - 0x220]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x100093b0
cmp ebx, 0xffffffff
je 0x10009441
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 [0x101acc48]
jne 0x100091a0
lea eax, [ebp - 0x50]
push eax
push 0x10acf6e0
mov dword [ebp - 0x50], 0x37323930
mov dword [ebp - 0x4c], 0x30303731
mov word [ebp - 0x48], 0x3031
mov byte [ebp - 0x46], 0
call fcn.10022fe0
add esp, 8
test eax, eax
sete al
test al, al
je 0x100094db
xor eax, eax
mov dword [0x10acf6e0], eax
mov dword [0x10acf6e4], eax
mov dword [0x10acf6e8], eax
mov dword [0x10acf6ec], eax
mov dword [0x10acf6f0], eax
mov dword [0x10acf6f4], eax
mov dword [0x10acf6f8], eax
mov dword [0x10acf6fc], eax
mov dword [0x10acf700], eax
mov ecx, 0x5445f351
lea eax, [ebp - 0x50]
call fcn.1001d3e0
push eax
push 0x10acf6e0
call fcn.100222af
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.1002206c
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je case.default.0x100091ac
cmp byte [0x10ad000c], 0
jne 0x100094db
call fcn.1000abb0
mov ecx, 0x89
xor eax, eax
jmp 0x10009520
mov dl, byte [eax + 0x10043e2c]
xor dl, cl
inc ecx
mov byte [ebp + eax - 0x88], dl
inc eax
and ecx, 0xff
cmp eax, 0xf
jb 0x10009520
inc ebx
push ebx
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x44]
push ecx
mov byte [ebp - 0x79], 0
call fcn.100222af
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 0x10009570
jmp 0x10009357
mov cl, 1
test bl, 2
je 0x100095bf
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 0x100095fc
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 0x1000962b
cmp dword [0x10acf694], 0
jne 0x10009672
xor ecx, ecx
mov edi, 0x10009690
mov dword [0x10acf694], 3
call fcn.10004190
mov byte [0x10ad000c], 1
jmp 0x100094db
mov ecx, 0x5b
xor eax, eax
mov dl, byte [eax + 0x10043df0]
xor dl, cl
inc ecx
mov byte [ebp + eax - 0xf4], dl
inc eax
and ecx, 0xff
cmp eax, 0x25
jb 0x10009632
mov byte [ebp - 0xcf], 0
lea eax, [ebp - 0xf4]
push eax
push 2
mov eax, 0x100acaa8
mov dword [ebp - 4], 0
call fcn.10005700
add esp, 8
mov byte [0x10ad000c], 1
jmp 0x100094db