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

Disassembly:
sub esp, 0x23c
mov eax, dword [0x460640]
mov edx, dword [esp + 0x240]
xor eax, esp
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
push edx
push 0x44f064
stosb byte es:[edi], al
lea eax, [esp + 0x14c]
push 0x104
push eax
call fcn.0043268c
mov edi, dword [0x45ebd8]
mov ecx, dword [0x45ebcc]
mov eax, 0x98f19603
imul edi
add edx, edi
sar edx, 0x13
mov esi, edx
mov ebx, dword [0x45ebd4]
shr esi, 0x1f
add esi, edx
mov eax, 0x98f19603
imul ecx
add edx, ecx
sar edx, 0x13
mov ecx, edx
mov ebp, dword [0x45ebe0]
shr ecx, 0x1f
add ecx, edx
mov eax, ecx
mov dword [esp + 0x20], eax
mov eax, 0x7af682a5
imul ebx
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov edx, ebp
imul ebp, ebp, 0x16c72
imul edx, edx, 0x852b6
sub ecx, edx
mov eax, 0x64ddc525
imul ebx
sar edx, 0x12
mov dword [esp + 0x20], ecx
mov ecx, dword [0x45ebdc]
mov eax, edx
imul ecx, ecx, 0x14957d
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x20]
add eax, esi
add eax, edx
add ecx, eax
mov eax, 0x1ec1ffc5
imul dword [0x45ebd0]
sar edx, 0x10
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45ebe4]
sub eax, ebp
mov ebp, dword [0x45ebe4]
mov dword [esp + 0x20], eax
mov eax, 0xaf53e355
imul edx
add edx, ebp
add esp, 0x10
mov dword [0x45ebc4], ecx
sar edx, 0x13
mov ebp, dword [esp + 0x10]
imul edi, edi, 0xbae55
imul ecx, ecx, 0x6e773
mov eax, edx
shr eax, 0x1f
add ebp, edx
add eax, ebp
add eax, edi
mov ebp, dword [0x45ebe0]
mov dword [esp + 0x10], eax
mov eax, 0x4adacc0f
imul ebp
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x10]
sub edx, eax
mov dword [esp + 0x10], edx
mov eax, 0x441d07d
imul dword [0x45ebdc]
mov eax, dword [esp + 0x10]
sar edx, 0xe
add eax, edx
mov edi, edx
shr edi, 0x1f
add edi, eax
mov eax, 0x98f19603
imul edi
add edx, edi
sar edx, 0x13
add ecx, edx
mov dword [0x45ebc8], edi
mov edi, edx
mov eax, 0x7af682a5
imul ebp
sar edx, 0x12
shr edi, 0x1f
add edi, ecx
add edi, edx
mov ecx, edx
mov eax, 0x7d19681
imul dword [0x45ebdc]
shr ecx, 0x1f
add ecx, edi
sar edx, 0xe
add ecx, edx
mov edi, edx
mov eax, 0xaf53e355
imul ebx
add edx, ebx
sar edx, 0x13
shr edi, 0x1f
add edi, ecx
mov ecx, edx
add edi, edx
mov eax, 0x4adacc0f
imul dword [0x45ebd0]
sar edx, 0x12
shr ecx, 0x1f
mov eax, edx
shr eax, 0x1f
add ecx, edi
add eax, edx
sub ecx, eax
push 0
sub ecx, esi
push 2
mov dword [esp + 0x18], 0
mov dword [0x45ebcc], ecx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ecx, dword [0x45ebe4]
mov ebp, eax
mov eax, 0x98f19603
imul ecx
add edx, ecx
sar edx, 0x13
mov ecx, edx
shr ecx, 0x1f
mov dword [esp + 0x14], ebp
add ecx, edx
mov ebx, dword [0x45ebd0]
mov edi, dword [0x45ebc4]
mov eax, 0x85097d5b
imul ebx
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add eax, edx
mov esi, eax
mov eax, 0x7d19681
imul edi
sub esi, ecx
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add esi, edx
add eax, esi
mov esi, dword [0x45ebd8]
mov ecx, esi
imul ecx, ecx, 0xa26ed
sub eax, ecx
mov ecx, dword [0x45ebcc]
mov dword [esp + 0x18], eax
mov eax, 0x64ddc525
imul ecx
mov eax, dword [esp + 0x18]
sar edx, 0x12
add eax, edx
mov ecx, edx
mov edx, dword [0x45ebd4]
imul edx, edx, 0x180656
shr ecx, 0x1f
add ecx, eax
add ecx, edx
cmp ebp, 0xffffffff
mov dword [0x45ebe4], ecx
jne 0x406ae9
mov edi, dword [0x45ebe0]
imul esi, esi, 0xbae55
mov eax, 0x1ec1ffc5
imul ebx
sar edx, 0x10
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebx, eax
mov eax, 0xaf53e355
imul ecx
mov ebp, edi
imul ebp, ebp, 0x16c72
add edx, ecx
sub ebx, ebp
sar edx, 0x13
mov ebp, edx
add ebx, edx
mov eax, 0x4adacc0f
imul edi
sar edx, 0x12
shr ebp, 0x1f
mov ecx, edx
add ebp, ebx
shr ecx, 0x1f
add ecx, edx
add ebp, esi
sub ebp, ecx
mov ecx, dword [0x45ebdc]
mov eax, 0x441d07d
imul ecx
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add ebp, edx
add eax, ebp
push str.CreateToolhelp32Snapshot__of_processes_
mov dword [0x45ebc8], eax
call fcn.00432626
add esp, 4
jmp 0x407317
mov edx, dword [0x45ebe8]
imul edi, edi, 0xd63fb
imul ecx, ecx, 0xdae0a
mov ebx, edx
mov eax, 0x98f19603
imul ebx, ebx, 0x6e773
imul edx
add edx, dword [0x45ebe8]
sar edx, 0x13
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
mov eax, 0x7d19681
imul dword [0x45ebd0]
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, edi
sub ebx, eax
mov eax, 0xaf53e355
imul esi
add edx, esi
sar edx, 0x13
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, dword [0x45ebe0]
lea edx, [esp + 0x1c]
add eax, ebx
push edx
lea ecx, [ecx + eax - 0xbae55]
push ebp
mov dword [0x45ebd0], ecx
mov dword [esp + 0x24], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
mov ecx, dword [0x45ebe8]
jne 0x406be6
mov esi, dword [0x45ebc4]
imul ecx, ecx, 0xa26ed
mov eax, dword [0x45ebc8]
imul esi, esi, 0x1b5c14
imul eax, eax, 0x852b6
sub esi, eax
add esi, ecx
mov ecx, dword [0x45ebdc]
mov eax, 0x64ddc525
imul ecx
sar edx, 0x12
mov edi, edx
add esi, edx
mov eax, 0x2a9f6a15
imul ecx
mov ecx, dword [0x45ebe4]
sar edx, 0x11
mov eax, edx
shr edi, 0x1f
shr eax, 0x1f
add eax, edx
add edi, esi
sub edi, eax
lea edx, [edi + ecx + 0xbae55]
push ebp
mov dword [0x45ebd4], edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x407317
mov edi, dword [0x45ebc4]
mov eax, 0x4a28aa57
imul edi
sar edx, 0x11
mov esi, edx
shr esi, 0x1f
add esi, edx
mov eax, 0x1ec1ffc5
imul ecx
imul ecx, ecx, 0xbae55
sar edx, 0x10
mov ebx, edx
add esi, edx
shr ebx, 0x1f
add ebx, esi
mov esi, dword [0x45ebc8]
mov eax, 0x64ddc525
imul esi
sub ebx, ecx
sar edx, 0x12
mov ecx, esi
imul ecx, ecx, 0xa26ed
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
add ebx, ecx
mov ecx, dword [0x45ebe0]
mov eax, 0x2a9f6a15
imul ecx
mov ecx, dword [0x45ebcc]
sar edx, 0x11
add ebx, edx
mov eax, edx
mov edx, ecx
imul edx, edx, 0xc032b
shr eax, 0x1f
add eax, ebx
sub eax, edx
mov dword [0x45ebd8], eax
lea esp, [esp]
mov ebx, dword [0x45ebd0]
imul edi, edi, 0xbae55
imul esi, esi, 0xf08a4
mov eax, 0x98f19603
imul ebx
add edx, ebx
sar edx, 0x13
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov eax, 0x4adacc0f
imul ecx
imul ecx, ecx, 0x10a7ca
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add eax, edx
add ebx, edi
sub ebx, eax
add ebx, ecx
mov ecx, dword [0x45ebe4]
mov eax, 0x64ddc525
imul ecx
sar edx, 0x12
mov ecx, edx
shr ecx, 0x1f
add ebx, edx
lea edx, [esp + 0x144]
add ecx, ebx
push edx
lea eax, [esp + 0x44]
add ecx, esi
push eax
mov dword [0x45ebdc], ecx
call fcn.0043c45e
add esp, 8
test eax, eax
je 0x406f55
mov ecx, dword [0x45ebd0]
mov eax, dword [0x45ebd4]
mov edx, dword [0x45ebc8]
imul edx, edx, 0x6e773
mov esi, ecx
sub esi, eax
imul esi, esi, 0x82f7d
add esi, edx
mov edx, dword [0x45ebe8]
mov eax, 0x7af682a5
imul edx
sar edx, 0x12
mov edi, edx
add esi, edx
mov eax, 0x7d19681
imul ecx
mov ecx, dword [0x45ebcc]
sar edx, 0xe
imul ecx, ecx, 0xbae55
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45ebd8]
shr edi, 0x1f
imul edx, edx, 0xf08a4
add edi, esi
sub edi, eax
mov eax, dword [esp + 0x24]
push eax
sub edi, ecx
push 0
add edi, edx
push 0x1f0fff
mov dword [0x45ebe0], edi
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ecx, dword [0x45ebd8]
mov esi, eax
mov edi, dword [0x45ebcc]
mov eax, 0x98f19603
imul ecx
add edx, ecx
sar edx, 0x13
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov eax, 0x98f19603
imul edi
add edx, edi
sar edx, 0x13
add ebx, edx
mov eax, edx
shr eax, 0x1f
add eax, ebx
mov ebx, dword [0x45ebd4]
mov dword [esp + 0x18], eax
mov edi, dword [0x45ebe0]
mov eax, 0x7af682a5
imul ebx
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x18]
sub edx, eax
mov eax, edi
imul eax, eax, 0x852b6
sub edx, eax
mov dword [esp + 0x18], edx
mov eax, 0x64ddc525
imul ebx
mov ebx, dword [esp + 0x18]
sar edx, 0x12
add ebx, edx
mov eax, edx
mov edx, dword [0x45ebdc]
imul edx, edx, 0x14957d
shr eax, 0x1f
add eax, ebx
add eax, edx
mov dword [0x45ebc4], eax
test esi, esi
jne 0x406e1e
push 0x44f030
call fcn.00432626
add esp, 4
jmp 0x406f2b
mov edx, dword [0x45ebd0]
imul ecx, ecx, 0xbae55
mov eax, 0x1ec1ffc5
imul edx
sar edx, 0x10
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebx, edi
imul ebx, ebx, 0x16c72
mov ebp, eax
sub ebp, ebx
mov ebx, dword [0x45ebe4]
mov eax, 0xaf53e355
imul ebx
add edx, ebx
sar edx, 0x13
mov ebx, edx
add ebp, edx
mov eax, 0x4adacc0f
imul edi
shr ebx, 0x1f
sar edx, 0x12
add ebx, ebp
add ebx, ecx
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, 0x441d07d
imul dword [0x45ebdc]
sar edx, 0xe
sub ebx, ecx
mov eax, edx
shr eax, 0x1f
add ebx, edx
add eax, ebx
push esi
mov dword [0x45ebc8], eax
call dword [sym.imp.KERNEL32.dll_GetPriorityClass]
test eax, eax
jne 0x406eab
push 0x44f01c
call fcn.00432626
add esp, 4
mov ecx, dword [0x45ebd0]
mov eax, 0x98f19603
imul ecx
add edx, ecx
mov ecx, dword [0x45ebc4]
imul ecx, ecx, 0xbae55
sar edx, 0x13
mov edi, edx
shr edi, 0x1f
add edi, edx
add edi, ecx
mov ecx, dword [0x45ebcc]
mov eax, 0x4adacc0f
imul ecx
imul ecx, ecx, 0x10a7ca
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
add edi, ecx
mov ecx, dword [0x45ebe4]
mov eax, 0x64ddc525
imul ecx
sar edx, 0x12
mov ecx, edx
add edi, edx
mov edx, dword [0x45ebc8]
imul edx, edx, 0xf08a4
shr ecx, 0x1f
add ecx, edi
add ecx, edx
push esi
mov dword [0x45ebdc], ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebp, dword [esp + 0x14]
lea eax, [esp + 0x1c]
push eax
push ebp
call sub.KERNEL32.dll_Process32Next
test eax, eax
mov esi, dword [0x45ebc8]
je 0x406fe9
mov edi, dword [0x45ebc4]
mov ecx, dword [0x45ebcc]
jmp 0x406c70
mov ecx, dword [0x45ebc4]
mov eax, 0x4a28aa57
imul ecx
mov ecx, dword [0x45ebe8]
sar edx, 0x11
mov esi, edx
shr esi, 0x1f
add esi, edx
mov eax, 0x1ec1ffc5
imul ecx
imul ecx, ecx, 0xbae55
sar edx, 0x10
mov edi, edx
add esi, edx
shr edi, 0x1f
add edi, esi
mov esi, dword [0x45ebc8]
mov eax, 0x64ddc525
imul esi
sub edi, ecx
sar edx, 0x12
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, esi
imul edx, edx, 0xa26ed
sub edi, ecx
mov ecx, dword [0x45ebe0]
add edi, edx
mov eax, 0x2a9f6a15
imul ecx
sar edx, 0x11
mov ecx, edx
add edi, edx
mov edx, dword [esp + 0x24]
shr ecx, 0x1f
add ecx, edi
mov edi, dword [0x45ebcc]
mov eax, edi
imul eax, eax, 0xc032b
sub ecx, eax
mov dword [0x45ebd8], ecx
mov dword [esp + 0x10], edx
jmp 0x406ff5
mov edi, dword [0x45ebcc]
mov ecx, dword [0x45ebd8]
mov ebx, dword [0x45ebd0]
imul esi, esi, 0x6e773
imul edi, edi, 0xbae55
mov edx, dword [0x45ebd4]
imul ecx, ecx, 0xf08a4
mov eax, ebx
sub eax, edx
imul eax, eax, 0x82f7d
add eax, esi
mov dword [esp + 0x14], eax
mov eax, 0x7af682a5
imul dword [0x45ebe8]
mov eax, dword [esp + 0x14]
sar edx, 0x12
add eax, edx
mov esi, edx
shr esi, 0x1f
add esi, eax
mov eax, 0x7d19681
imul ebx
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
sub esi, edi
add esi, ecx
push ebp
mov dword [0x45ebe0], esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x45ebc8]
mov ebx, dword [0x45ebc4]
mov eax, 0x98f19603
imul ecx
add edx, ecx
sar edx, 0x13
mov esi, ebx
imul esi, esi, 0x6e773
mov edi, edx
add esi, edx
shr edi, 0x1f
add edi, esi
mov esi, dword [0x45ebd8]
mov eax, 0x98f19603
imul esi
add edx, esi
sar edx, 0x13
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub edi, ecx
mov ecx, dword [0x45ebe0]
mov eax, 0x7af682a5
imul ecx
mov ecx, dword [0x45ebdc]
sar edx, 0x12
add edi, edx
mov ebp, edx
mov eax, 0x7d19681
imul ecx
shr ebp, 0x1f
sar edx, 0xe
add ebp, edi
mov edi, dword [0x45ebd4]
add ebp, edx
mov eax, edx
shr eax, 0x1f
add eax, ebp
mov ebp, eax
mov eax, 0xaf53e355
imul edi
add edx, edi
sar edx, 0x13
mov ecx, edx
add ebp, edx
shr ecx, 0x1f
add ecx, ebp
mov ebp, dword [0x45ebd0]
mov eax, 0x4adacc0f
imul ebp
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov eax, dword [esp + 0x10]
test eax, eax
mov dword [0x45ebcc], ecx
je 0x4072a1
mov ecx, dword [esp + 0x24]
push ecx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, dword [0x45ebe8]
mov edi, eax
mov ecx, dword [0x45ebc4]
mov eax, 0x98f19603
imul esi
add edx, esi
sar edx, 0x13
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebp, esi
imul ebp, ebp, 0x6e773
sub ebp, eax
mov edx, ecx
imul edx, edx, 0xd63fb
mov ebx, dword [0x45ebd8]
sub ebp, edx
mov edx, dword [0x45ebd0]
mov eax, 0x7d19681
imul edx
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebp, eax
mov eax, 0xaf53e355
imul ebx
add edx, ebx
mov ebx, dword [0x45ebe4]
sar edx, 0x13
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, dword [0x45ebe0]
mov edx, ebx
imul edx, edx, 0xdae0a
add eax, ebp
test edi, edi
lea eax, [edx + eax - 0xbae55]
mov dword [0x45ebd0], eax
je 0x407317
mov edx, dword [0x45ebc8]
imul ecx, ecx, 0x1b5c14
imul esi, esi, 0xa26ed
imul edx, edx, 0x852b6
sub ecx, edx
add ecx, esi
mov esi, dword [0x45ebdc]
mov eax, 0x64ddc525
imul esi
sar edx, 0x12
add ecx, edx
mov ebp, edx
mov eax, 0x2a9f6a15
imul esi
sar edx, 0x11
mov eax, edx
shr ebp, 0x1f
shr eax, 0x1f
add ebp, ecx
add eax, edx
sub ebp, eax
push 0
lea ecx, [ebx + ebp + 0xbae55]
push edi
mov dword [0x45ebd4], ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [0x45ebd0]
mov ebp, dword [0x45ebd4]
mov edx, dword [0x45ebc8]
imul edx, edx, 0x6e773
mov esi, ecx
sub esi, ebp
imul esi, esi, 0x82f7d
add esi, edx
mov edx, dword [0x45ebe8]
mov eax, 0x7af682a5
imul edx
sar edx, 0x12
mov ebx, edx
add esi, edx
mov eax, 0x7d19681
imul ecx
mov ecx, dword [0x45ebcc]
sar edx, 0xe
imul ecx, ecx, 0xbae55
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45ebd8]
shr ebx, 0x1f
imul edx, edx, 0xf08a4
add ebx, esi
sub ebx, eax
sub ebx, ecx
add ebx, edx
push edi
mov dword [0x45ebe0], ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x407319
mov edx, dword [0x45ebe4]
imul esi, esi, 0xa26ed
imul edi, edi, 0x180656
mov eax, 0x98f19603
imul edx
add edx, dword [0x45ebe4]
sar edx, 0x13
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x14], eax
mov eax, 0x85097d5b
imul ebp
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebp, eax
mov eax, dword [esp + 0x14]
sub ebp, eax
mov eax, 0x7d19681
imul ebx
sar edx, 0xe
add ebp, edx
mov ebx, edx
mov eax, 0x64ddc525
imul ecx
shr ebx, 0x1f
add ebx, ebp
sar edx, 0x12
sub ebx, esi
mov ecx, edx
shr ecx, 0x1f
add ebx, edx
add ecx, ebx
add ecx, edi
mov dword [0x45ebe4], ecx
xor eax, eax
mov ecx, dword [esp + 0x248]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043194d
add esp, 0x23c
ret