Function at 0x405e20
Capabilities:
Enumerate processes
Terminate process
Terminate process by name

Disassembly:
sub esp, 0x23c
mov eax, dword [0x45d320]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x248], eax
xor eax, eax
mov byte [esp + 0x144], 0
mov ecx, 0x40
lea edi, [esp + 0x145]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x250]
push eax
push 0x44bf5c
lea ecx, [esp + 0x14c]
push 0x104
push ecx
call fcn.0042f97c
mov ecx, dword [0x45b9b4]
mov ebp, dword [0x45b9c8]
mov ebx, dword [0x45b9ac]
imul ebp, ebp, 0xde7fc
mov eax, 0x92ea28a3
imul ecx
add edx, ecx
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebp, eax
mov eax, 0x6352a551
imul ebx
sar edx, 0x12
add ebp, edx
mov eax, edx
shr eax, 0x1f
add eax, ebp
mov ebp, eax
mov eax, 0x6352a551
imul ecx
sar edx, 0x12
add ebp, edx
mov ecx, edx
mov eax, 0x9dbc161
imul ebx
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45b9b0]
shr ecx, 0x1f
add ecx, ebp
mov ebp, dword [0x45b9c8]
sub ecx, eax
imul ebp, ebp, 0x6f3fe
mov edi, dword [0x45b9c0]
mov eax, 0xf5f5c9f5
imul edx
add edx, dword [0x45b9b0]
sar edx, 0x13
add ebp, edx
mov eax, edx
shr eax, 0x1f
add eax, ebp
mov dword [esp + 0x20], eax
mov eax, 0x6352a551
imul dword [0x45b9a8]
mov eax, dword [esp + 0x20]
mov esi, edi
imul esi, esi, 0x6a5ba
sar edx, 0x12
add ecx, esi
mov ebp, edx
add esp, 0x10
shr ebp, 0x1f
mov dword [str._r_____r____], ecx
add eax, edx
add ebp, eax
imul edi, edi, 0x67dee
mov eax, 0x61b317a1
imul dword [0x45b9c4]
sar edx, 0x11
add ebp, edx
mov eax, edx
shr eax, 0x1f
add eax, ebp
mov ebp, eax
mov eax, dword [0x45b9a8]
imul eax, eax, 0x53d95
add ebp, eax
mov eax, 0x2a7feb
imul dword [0x45b9c4]
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebp, eax
mov eax, 0x93a3ffdd
imul ebx
add edx, ebx
sar edx, 0x12
sub ebp, edi
mov edi, edx
shr edi, 0x1f
add edi, edx
mov eax, 0x6352a551
imul dword [0x45b9c8]
sar edx, 0x12
mov ebx, edx
add edi, edx
mov eax, 0x6352a551
imul ecx
sar edx, 0x12
shr ebx, 0x1f
mov eax, edx
add ebx, edi
shr eax, 0x1f
add ebx, edx
add eax, ebx
sub eax, ecx
push 0
lea ecx, [eax + esi + 0x3e2f3]
push 2
mov dword [0x45b9a8], ebp
mov dword [esp + 0x1c], 0
mov dword [0x45b9ac], ecx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ecx, dword [0x45b9c4]
mov edi, dword [0x45b9a8]
mov ebx, dword [0x45b9b8]
mov ebp, eax
mov eax, 0x92ea28a3
imul ecx
add edx, ecx
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add eax, edx
mov esi, dword [0x45b9c8]
mov ecx, edi
imul esi, esi, 0x6f3fe
imul ecx, ecx, 0x6ef8e
mov edx, ebx
imul edx, edx, 0xa4f50
sub ecx, eax
add ecx, edx
mov eax, 0x6352a551
imul ebx
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov dword [esp + 0x10], ecx
mov ecx, dword [0x45b9b4]
mov dword [esp + 0x18], ebp
mov eax, 0x6352a551
imul ecx
mov eax, dword [esp + 0x10]
sar edx, 0x12
add eax, edx
mov ecx, edx
shr ecx, 0x1f
add ecx, eax
mov eax, 0x9dbc161
imul ebx
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
add ecx, esi
cmp ebp, 0xffffffff
mov dword [0x45b9c4], ecx
jne 0x406108
mov ebx, dword [0x45b9b0]
mov eax, 0xf5f5c9f5
imul ebx
add edx, ebx
sar edx, 0x13
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov eax, 0x6352a551
imul edi
imul edi, edi, 0x53d95
sar edx, 0x12
add ebx, edx
mov ebp, edx
mov eax, 0x61b317a1
imul ecx
sar edx, 0x11
shr ebp, 0x1f
add ebp, ebx
mov ebx, edx
add ebp, edx
mov eax, 0x2a7feb
imul ecx
sar edx, 9
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x45b9c0]
shr ebx, 0x1f
imul edx, edx, 0x67dee
add ebx, ebp
add ebx, edi
sub ebx, ecx
sub ebx, edx
add ebx, esi
push str.CreateToolhelp32Snapshot__of_processes_
mov dword [0x45b9a8], ebx
call fcn.0042f916
add esp, 4
jmp 0x406901
mov ebx, dword [0x45b9bc]
imul edi, edi, 0xc0c12
mov eax, 0x92ea28a3
imul ebx
add edx, ebx
mov ebx, dword [str._r_____r____]
sar edx, 0x12
imul ebx, ebx, 0x6f854
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45b9b0]
sub ebx, eax
mov eax, 0x10779897
imul edx
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
mov eax, 0x6352a551
imul dword [0x45b9c8]
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add ebx, edx
add eax, ebx
add eax, edi
lea edx, [esp + 0x1c]
sub eax, ecx
push edx
lea ecx, [eax + esi - 0x53d95]
push ebp
mov dword [0x45b9b0], ecx
mov dword [esp + 0x24], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x406218
mov ecx, dword [0x45b9bc]
mov esi, dword [0x45b9c8]
mov eax, 0x93a3ffdd
imul esi, esi, 0x6f3fe
imul ecx
add edx, ecx
mov ecx, dword [0x45b9c4]
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov eax, 0x6352a551
imul ecx
mov eax, dword [0x45b9a8]
mov edi, dword [0x45b9c0]
imul eax, eax, 0x6a5ba
sar edx, 0x12
mov ecx, edx
add esi, edx
mov edx, dword [str._r_____r____]
imul edx, edx, 0xa4f50
shr ecx, 0x1f
add ecx, esi
add ecx, edx
mov edx, dword [0x45b9b8]
imul edx, edx, 0xc0c12
add eax, edi
add eax, ecx
lea eax, [edx + eax - 0x53d95]
push ebp
mov dword [0x45b9b4], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x406901
mov edi, dword [0x45b9c8]
mov eax, 0x24d17191
imul edi
mov ebx, dword [0x45b9c0]
sar edx, 0x10
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x45b9ac]
imul edx, edx, 0x6ef8e
add ecx, edx
mov eax, 0x6352a551
imul ebx
sar edx, 0x12
add ecx, edx
mov esi, edx
shr esi, 0x1f
add esi, ecx
mov ecx, dword [0x45b9b4]
mov eax, 0x6352a551
imul ecx
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov eax, 0x2682f007
imul edi
mov ecx, edi
imul ecx, ecx, 0x1b669
sar edx, 0x10
mov eax, edx
shr eax, 0x1f
add esi, ecx
add eax, edx
sub esi, eax
mov dword [0x45b9b8], esi
mov ecx, dword [0x45b9b0]
imul edi, edi, 0x6f3fe
imul ebx, ebx, 0x85399
mov eax, 0x92ea28a3
imul ecx
add edx, ecx
imul ecx, ecx, 0x67dee
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, edi
add eax, ebx
mov dword [esp + 0x10], eax
mov eax, 0x6352a551
imul esi
mov eax, dword [esp + 0x10]
sar edx, 0x12
add eax, edx
mov esi, edx
mov edx, dword [0x45b9bc]
imul edx, edx, 0x53d95
shr esi, 0x1f
add esi, eax
add esi, edx
mov eax, 0x2a7feb
imul dword [0x45b9ac]
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
add esi, ecx
lea ecx, [esp + 0x144]
push ecx
lea edx, [esp + 0x44]
push edx
mov dword [0x45b9bc], esi
call fcn.0043969e
add esp, 8
test eax, eax
je 0x40658a
mov ecx, dword [0x45b9ac]
mov esi, dword [0x45b9c8]
mov eax, 0x10779897
imul esi, esi, 0x6f3fe
imul ecx
mov ecx, dword [0x45b9b8]
imul ecx, ecx, 0x85399
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
add esi, ecx
mov ecx, dword [0x45b9bc]
mov eax, 0x6352a551
imul ecx
imul ecx, ecx, 0x53d95
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add esi, edx
mov edx, dword [esp + 0x24]
add eax, esi
sub eax, ecx
mov ecx, dword [0x45b9b4]
imul ecx, ecx, 0x3110b
push edx
push 0
sub eax, ecx
push 0x1f0fff
mov dword [0x45b9c0], eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, dword [0x45b9b4]
mov ecx, dword [0x45b9c8]
mov esi, eax
mov ebx, dword [0x45b9ac]
mov eax, 0x92ea28a3
imul edi
add edx, edi
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebp, ecx
imul ebp, ebp, 0xde7fc
sub ebp, eax
mov eax, 0x6352a551
imul ebx
sar edx, 0x12
add ebp, edx
mov eax, edx
shr eax, 0x1f
add eax, ebp
mov dword [esp + 0x10], eax
mov eax, 0x6352a551
imul edi
mov eax, dword [esp + 0x10]
mov edi, dword [0x45b9c0]
sar edx, 0x12
add eax, edx
mov ebp, edx
mov edx, edi
imul edx, edx, 0x6a5ba
shr ebp, 0x1f
add ebp, eax
add ebp, edx
mov eax, 0x9dbc161
imul ebx
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebp, eax
test esi, esi
mov dword [str._r_____r____], ebp
jne 0x40643d
push 0x44bf28
call fcn.0042f916
add esp, 4
jmp 0x40655c
mov ebx, dword [0x45b9b0]
imul ecx, ecx, 0x6f3fe
imul edi, edi, 0x67dee
mov eax, 0xf5f5c9f5
imul ebx
add edx, ebx
sar edx, 0x13
add ecx, edx
mov ebx, edx
shr ebx, 0x1f
add ebx, ecx
mov ecx, dword [0x45b9a8]
mov eax, 0x6352a551
imul ecx
imul ecx, ecx, 0x53d95
sar edx, 0x12
mov ebp, edx
add ebx, edx
shr ebp, 0x1f
add ebp, ebx
mov ebx, dword [0x45b9c4]
mov eax, 0x61b317a1
imul ebx
sar edx, 0x11
add ebp, edx
mov eax, edx
shr eax, 0x1f
add eax, ebp
add eax, ecx
mov ebp, eax
mov eax, 0x2a7feb
imul ebx
sar edx, 9
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub ebp, ecx
sub ebp, edi
push esi
mov dword [0x45b9a8], ebp
call dword [sym.imp.KERNEL32.dll_GetPriorityClass]
test eax, eax
jne 0x4064d3
push 0x44bf14
call fcn.0042f916
add esp, 4
mov ecx, dword [0x45b9b0]
mov eax, 0x92ea28a3
imul ecx
mov eax, dword [0x45b9c0]
add edx, ecx
imul eax, eax, 0x85399
imul ecx, ecx, 0x67dee
sar edx, 0x12
mov edi, edx
shr edi, 0x1f
add edi, edx
mov edx, dword [0x45b9c8]
imul edx, edx, 0x6f3fe
add edi, edx
mov edx, dword [0x45b9b8]
add edi, eax
mov eax, 0x6352a551
imul edx
sar edx, 0x12
mov ebx, edx
add edi, edx
mov edx, dword [0x45b9bc]
imul edx, edx, 0x53d95
shr ebx, 0x1f
add ebx, edi
add ebx, edx
mov edx, dword [0x45b9ac]
mov eax, 0x2a7feb
imul edx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
add ebx, ecx
push esi
mov dword [0x45b9bc], ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebp, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
push ebp
call sub.KERNEL32.dll_Process32Next
test eax, eax
mov esi, dword [0x45b9b8]
je 0x40660a
mov ebx, dword [0x45b9c0]
mov edi, dword [0x45b9c8]
jmp 0x406292
mov ecx, dword [0x45b9c8]
mov eax, 0x24d17191
imul ecx
sar edx, 0x10
mov edi, edx
shr edi, 0x1f
add edi, edx
mov edx, dword [0x45b9ac]
imul edx, edx, 0x6ef8e
add edi, edx
mov edx, dword [0x45b9c0]
mov eax, 0x6352a551
imul edx
sar edx, 0x12
mov esi, edx
add edi, edx
shr esi, 0x1f
add esi, edi
mov edi, dword [0x45b9b4]
mov eax, 0x6352a551
imul edi
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, ecx
imul edx, edx, 0x1b669
mov ebx, dword [esp + 0x24]
sub esi, eax
add esi, edx
mov eax, 0x2682f007
imul ecx
sar edx, 0x10
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov dword [0x45b9b8], esi
jmp 0x40661a
mov edi, dword [0x45b9b4]
mov ecx, dword [0x45b9c8]
mov ebx, dword [esp + 0x14]
mov eax, 0x10779897
imul ecx, ecx, 0x6f3fe
imul esi, esi, 0x85399
imul dword [0x45b9ac]
imul edi, edi, 0x3110b
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
add ecx, esi
mov esi, dword [0x45b9bc]
mov eax, 0x6352a551
imul esi
imul esi, esi, 0x53d95
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add ecx, edx
add eax, ecx
sub eax, esi
sub eax, edi
push ebp
mov dword [0x45b9c0], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x45b9ac]
mov eax, 0x93a3ffdd
imul ecx
add edx, ecx
mov ecx, dword [0x45b9c8]
sar edx, 0x12
mov esi, edx
shr esi, 0x1f
add esi, edx
mov eax, 0x6352a551
imul ecx
sar edx, 0x12
mov edi, edx
add esi, edx
shr edi, 0x1f
add edi, esi
mov esi, dword [str._r_____r____]
mov eax, 0x6352a551
imul esi
sar edx, 0x12
add edi, edx
mov eax, edx
mov edx, dword [0x45b9c0]
imul edx, edx, 0x6a5ba
shr eax, 0x1f
add eax, edi
add eax, edx
sub eax, esi
add eax, 0x3e2f3
test ebx, ebx
mov dword [0x45b9ac], eax
je 0x40687d
mov eax, dword [esp + 0x24]
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebp, dword [0x45b9bc]
mov edi, dword [str._r_____r____]
mov ebx, eax
mov eax, 0x92ea28a3
imul ebp
add edx, ebp
sar edx, 0x12
mov ecx, edx
mov eax, edi
imul eax, eax, 0x6f854
shr ecx, 0x1f
add ecx, edx
sub eax, ecx
mov ecx, dword [0x45b9b0]
mov dword [esp + 0x14], eax
mov eax, 0x10779897
imul ecx
mov ecx, dword [esp + 0x14]
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov esi, dword [0x45b9c8]
mov eax, 0x6352a551
imul esi, esi, 0x6f3fe
imul dword [0x45b9c8]
sar edx, 0x12
mov eax, edx
add ecx, edx
shr eax, 0x1f
add eax, ecx
mov ecx, dword [0x45b9a8]
mov edx, ecx
imul edx, edx, 0xc0c12
add eax, edx
sub eax, dword [0x45b9c4]
test ebx, ebx
lea eax, [eax + esi - 0x53d95]
mov dword [0x45b9b0], eax
je 0x406901
mov eax, 0x93a3ffdd
imul ecx, ecx, 0x6a5ba
imul edi, edi, 0xa4f50
imul ebp
add edx, ebp
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebp, eax
mov eax, 0x6352a551
imul dword [0x45b9c4]
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45b9b8]
imul edx, edx, 0xc0c12
sub eax, ebp
add eax, edi
add ecx, esi
add ecx, eax
mov eax, dword [0x45b9c0]
add edx, ecx
push 0
lea ecx, [edx + eax - 0x53d95]
push ebx
mov dword [0x45b9b4], ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [0x45b9ac]
mov esi, dword [0x45b9c8]
mov eax, 0x10779897
imul esi, esi, 0x6f3fe
imul ecx
mov ecx, dword [0x45b9b8]
imul ecx, ecx, 0x85399
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
add esi, ecx
mov ecx, dword [0x45b9bc]
mov eax, 0x6352a551
imul ecx
imul ecx, ecx, 0x53d95
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add esi, edx
add eax, esi
sub eax, ecx
mov ecx, dword [0x45b9b4]
imul ecx, ecx, 0x3110b
sub eax, ecx
push ebx
mov dword [0x45b9c0], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x238]
call fcn.0042ec21
add esp, 0x23c
ret
mov esi, dword [0x45b9c4]
imul ecx, ecx, 0x6f3fe
mov eax, 0x92ea28a3
imul esi
add edx, esi
mov esi, dword [0x45b9b8]
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45b9a8]
sub ecx, eax
imul edx, edx, 0x6ef8e
add ecx, edx
mov eax, esi
imul eax, eax, 0xa4f50
add ecx, eax
mov eax, 0x6352a551
imul esi
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45b9b4]
sub ecx, eax
mov eax, 0x6352a551
imul edx
sar edx, 0x12
add ecx, edx
mov edi, edx
mov eax, 0x9dbc161
imul esi
shr edi, 0x1f
add edi, ecx
sar edx, 0xe
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub edi, ecx
mov dword [0x45b9c4], edi
mov ecx, dword [esp + 0x248]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
call fcn.0042ec21
add esp, 0x23c
ret