Function at 0x405f00
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.0042ff8c
mov ebx, dword [0x45b9ac]
mov ecx, dword [0x45b9b4]
mov eax, 0x7e3fea57
imul ebx
sar edx, 0x15
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebp, eax
mov eax, 0x8a6a1641
imul ecx
sar edx, 0x15
mov eax, edx
shr eax, 0x1f
add eax, edx
sub eax, ebp
mov dword [esp + 0x24], eax
mov edi, dword [0x45b9c0]
mov eax, 0x9eea7d1d
imul ebx
mov eax, dword [esp + 0x24]
add edx, ebx
sar edx, 0x16
add eax, edx
mov ebp, edx
shr ebp, 0x1f
add ebp, eax
mov eax, 0x9eea7d1d
imul ecx
add edx, ecx
mov ecx, dword [0x45b9c8]
sar edx, 0x16
imul ecx, ecx, 0x8b0f0c
mov eax, edx
shr eax, 0x1f
add eax, edx
mov esi, edi
imul esi, esi, 0x427252
add eax, esi
add eax, ebp
mov ebp, dword [0x45b9c4]
add ecx, eax
mov eax, 0x9c46284d
imul ebp
add edx, ebp
sar edx, 0x15
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45b9a8]
imul edx, edx, 0x346bb5
add eax, edx
mov dword [esp + 0x24], eax
mov eax, 0x8814777b
imul ebp
add edx, ebp
sar edx, 0x16
mov eax, edx
add esp, 0x10
mov dword [str._r_____r____], ecx
shr eax, 0x1f
add eax, edx
imul edi, edi, 0x40e326
mov edx, dword [esp + 0x14]
sub edx, eax
sub edx, edi
mov dword [esp + 0x14], edx
mov edx, dword [0x45b9b0]
mov edi, dword [0x45b9a8]
mov eax, 0xc4d8f4f
imul edx
mov eax, dword [esp + 0x14]
sar edx, 0x12
add eax, edx
mov ebp, edx
shr ebp, 0x1f
add ebp, eax
mov eax, 0x9eea7d1d
imul edi
add edx, edi
mov edi, dword [0x45b9c8]
sar edx, 0x16
mov eax, edx
add ebp, edx
mov edx, edi
imul edx, edx, 0x458786
shr eax, 0x1f
add eax, ebp
add eax, edx
mov dword [0x45b9a8], eax
mov eax, 0x76294c27
imul ebx
sar edx, 0x15
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov eax, 0x9eea7d1d
imul edi
add edx, edi
sar edx, 0x16
mov edi, edx
add ebx, edx
mov eax, 0x9eea7d1d
imul ecx
add edx, ecx
sar edx, 0x16
shr edi, 0x1f
mov eax, edx
add edi, ebx
shr eax, 0x1f
add edi, edx
add eax, edi
sub eax, ecx
push 0
lea ecx, [eax + esi + 0x26e3e3]
push 2
mov dword [esp + 0x1c], 0
mov dword [0x45b9ac], ecx
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov ecx, dword [0x45b9b8]
mov edi, dword [0x45b9a8]
mov ebx, eax
mov eax, 0x7e3fea57
imul ecx
mov esi, dword [0x45b9c8]
sar edx, 0x15
imul esi, esi, 0x458786
mov ebp, edi
imul ebp, ebp, str.LresultFromObject
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45b9c4]
sub ebp, eax
mov eax, 0x7595e9bf
imul edx
sar edx, 0x15
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x18], ebx
sub ebp, eax
mov edx, ecx
imul edx, edx, 0x671938
add ebp, edx
mov eax, 0x9eea7d1d
imul ecx
add edx, ecx
mov ecx, dword [0x45b9b4]
sar edx, 0x16
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebp, eax
mov eax, 0x9eea7d1d
imul ecx
add edx, ecx
sar edx, 0x16
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
add ebp, esi
add ecx, ebp
cmp ebx, 0xffffffff
mov dword [0x45b9c4], ecx
jne 0x4061f7
mov eax, 0x9c46284d
imul ecx
add edx, ecx
sar edx, 0x15
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov edx, edi
imul edx, edx, 0x346bb5
add ebx, edx
mov eax, 0x8814777b
imul ecx
add edx, ecx
mov ecx, dword [0x45b9c0]
imul ecx, ecx, 0x40e326
sar edx, 0x16
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
sub ebx, ecx
mov ecx, dword [0x45b9b0]
mov eax, 0xc4d8f4f
imul ecx
sar edx, 0x12
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, 0x9eea7d1d
imul edi
add edx, edi
sar edx, 0x16
mov eax, edx
shr eax, 0x1f
add ecx, esi
add eax, edx
add ecx, ebx
add eax, ecx
push str.CreateToolhelp32Snapshot__of_processes_
mov dword [0x45b9a8], eax
call fcn.0042ff26
add esp, 4
jmp 0x406a39
mov edx, dword [0x45b9b0]
imul edi, edi, 0x78665a
mov eax, 0x69527c69
imul edx
sar edx, 0x14
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45b9bc]
sub edi, eax
mov ebp, dword [0x45b9c8]
mov eax, 0x7595e9bf
imul edx
sar edx, 0x15
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [str._r_____r____]
imul edx, edx, 0x45ab1c
sub edi, eax
add edi, edx
mov eax, 0x9eea7d1d
imul ebp
add edx, ebp
sar edx, 0x16
mov eax, edx
shr eax, 0x1f
add edi, edx
add eax, edi
lea edx, [esp + 0x1c]
sub eax, ecx
push edx
lea ecx, [eax + esi - 0x346bb5]
push ebx
mov dword [0x45b9b0], ecx
mov dword [esp + 0x24], 0x128
call sub.KERNEL32.DLL_Process32First
test eax, eax
jne 0x406309
mov esi, dword [0x45b9a8]
mov eax, dword [0x45b9b8]
imul esi, esi, 0x427252
mov ecx, dword [0x45b9bc]
imul eax, eax, 0x78665a
add esi, eax
mov eax, 0x76294c27
imul ecx
sar edx, 0x15
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edi, dword [0x45b9c0]
sub esi, ecx
mov ecx, dword [0x45b9c4]
mov eax, 0x9eea7d1d
imul ecx
add edx, ecx
mov ecx, dword [str._r_____r____]
sar edx, 0x16
imul ecx, ecx, 0x671938
mov eax, edx
add esi, edx
mov edx, dword [0x45b9c8]
imul edx, edx, 0x458786
shr eax, 0x1f
add eax, esi
add ecx, edi
add ecx, eax
lea eax, [edx + ecx - 0x346bb5]
push ebx
mov dword [0x45b9b4], eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x406a39
mov ecx, dword [0x45b9c8]
mov ebp, dword [0x45b9ac]
mov esi, dword [0x45b9b4]
imul ebp, ebp, str.LresultFromObject
mov eax, 0x1ed25ed3
imul ecx
sar edx, 0x13
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebp, eax
mov edx, ecx
imul edx, edx, 0x111bd1
add ebp, edx
mov edi, dword [0x45b9c0]
mov eax, 0x9eea7d1d
imul esi
add edx, esi
sar edx, 0x16
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebp, eax
mov eax, 0x9eea7d1d
imul edi
add edx, edi
sar edx, 0x16
add ebp, edx
mov eax, edx
shr eax, 0x1f
add eax, ebp
mov ebp, eax
mov eax, 0x1d74861
imul ecx
sar edx, 0xf
mov esi, edx
shr esi, 0x1f
add ebp, edx
add esi, ebp
mov dword [0x45b9b8], esi
lea esp, [esp]
mov ebp, dword [0x45b9bc]
imul edi, edi, 0x533b61
imul ecx, ecx, 0x458786
mov eax, 0x8814777b
imul ebp, ebp, 0x346bb5
imul dword [0x45b9ac]
add edx, dword [0x45b9ac]
sar edx, 0x16
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45b9b0]
sub ebp, eax
mov eax, edx
imul eax, eax, 0x40e326
add ebp, eax
mov eax, 0x7595e9bf
imul edx
sar edx, 0x15
add ebp, edi
mov edi, edx
add ebp, edx
mov eax, 0x9eea7d1d
imul esi
add edx, esi
sar edx, 0x16
shr edi, 0x1f
mov eax, edx
add edi, ebp
shr eax, 0x1f
add edi, edx
add eax, edi
add eax, ecx
lea ecx, [esp + 0x144]
push ecx
lea edx, [esp + 0x44]
push edx
mov dword [0x45b9bc], eax
call fcn.00439cae
add esp, 8
test eax, eax
je 0x406691
mov edx, dword [0x45b9ac]
mov ecx, dword [0x45b9bc]
mov eax, 0x96ad8397
imul edx
sar edx, 0x14
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45b9b8]
mov esi, ecx
imul edx, edx, 0x533b61
mov edi, eax
imul esi, esi, 0x346bb5
mov eax, dword [0x45b9b4]
imul eax, eax, 0x1ea3a3
sub edi, esi
add edi, edx
sub edi, eax
mov eax, 0x9eea7d1d
imul ecx
mov eax, dword [esp + 0x24]
add edx, ecx
sar edx, 0x16
mov ecx, edx
add edi, edx
mov edx, dword [0x45b9c8]
imul edx, edx, 0x458786
shr ecx, 0x1f
push eax
add ecx, edi
push 0
add ecx, edx
push 0x1f0fff
mov dword [0x45b9c0], ecx
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov edi, dword [0x45b9ac]
mov ecx, dword [0x45b9c0]
mov esi, eax
mov ebx, dword [0x45b9b4]
mov eax, 0x7e3fea57
imul edi
sar edx, 0x15
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebp, ecx
imul ebp, ebp, 0x427252
sub ebp, eax
mov eax, 0x7595e9bf
imul ebx
sar edx, 0x15
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebp, eax
mov eax, 0x9eea7d1d
imul edi
add edx, edi
sar edx, 0x16
add ebp, edx
mov edi, edx
mov eax, 0x9eea7d1d
imul ebx
add edx, ebx
sar edx, 0x16
shr edi, 0x1f
add edi, ebp
mov eax, edx
add edi, edx
shr eax, 0x1f
add eax, edi
mov edi, dword [0x45b9c8]
mov edx, edi
imul edx, edx, 0x8b0f0c
add eax, edx
test esi, esi
mov dword [str._r_____r____], eax
jne 0x406539
push 0x44bf28
call fcn.0042ff26
add esp, 4
jmp 0x406663
mov ebx, dword [0x45b9c4]
imul ecx, ecx, 0x40e326
imul edi, edi, 0x458786
mov eax, 0x9c46284d
imul ebx
mov eax, dword [0x45b9a8]
add edx, ebx
imul eax, eax, 0x346bb5
sar edx, 0x15
mov ebp, edx
shr ebp, 0x1f
add ebp, edx
add ebp, eax
mov eax, 0x8814777b
imul ebx
add edx, ebx
sar edx, 0x16
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebp, eax
sub ebp, ecx
mov ecx, dword [0x45b9b0]
mov eax, 0xc4d8f4f
imul ecx
mov ecx, dword [0x45b9a8]
sar edx, 0x12
mov ebx, edx
add ebp, edx
mov eax, 0x9eea7d1d
imul ecx
add edx, ecx
sar edx, 0x16
shr ebx, 0x1f
mov ecx, edx
add ebx, ebp
shr ecx, 0x1f
add ebx, edx
add ecx, ebx
add ecx, edi
push esi
mov dword [0x45b9a8], ecx
call dword [sym.imp.KERNEL32.DLL_GetPriorityClass]
test eax, eax
jne 0x4065d6
push 0x44bf14
call fcn.0042ff26
add esp, 4
mov ecx, dword [0x45b9ac]
mov edi, dword [0x45b9bc]
mov eax, 0x8814777b
imul edi, edi, 0x346bb5
imul ecx
add edx, ecx
mov ecx, dword [0x45b9b0]
sar edx, 0x16
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
mov eax, dword [0x45b9c0]
mov edx, ecx
imul eax, eax, 0x533b61
imul edx, edx, 0x40e326
add edi, edx
add edi, eax
mov eax, 0x7595e9bf
imul ecx
mov ecx, dword [0x45b9b8]
sar edx, 0x15
mov ebx, edx
add edi, edx
mov eax, 0x9eea7d1d
imul ecx
add edx, ecx
shr ebx, 0x1f
sar edx, 0x16
add ebx, edi
mov ecx, edx
add ebx, edx
mov edx, dword [0x45b9c8]
imul edx, edx, 0x458786
shr ecx, 0x1f
add ecx, ebx
add ecx, edx
push esi
mov dword [0x45b9bc], ecx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
push ebx
call sub.KERNEL32.DLL_Process32Next
test eax, eax
je 0x40671b
mov edi, dword [0x45b9c0]
mov ecx, dword [0x45b9c8]
mov esi, dword [0x45b9b8]
jmp 0x406390
mov esi, dword [0x45b9c8]
mov ebp, dword [0x45b9ac]
mov edi, dword [0x45b9b4]
imul ebp, ebp, str.LresultFromObject
mov eax, 0x1ed25ed3
imul esi
sar edx, 0x13
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, esi
imul edx, edx, 0x111bd1
sub ebp, ecx
add ebp, edx
mov ecx, dword [0x45b9c0]
mov eax, 0x9eea7d1d
imul edi
add edx, edi
sar edx, 0x16
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebp, eax
mov eax, 0x9eea7d1d
imul ecx
add edx, ecx
sar edx, 0x16
add ebp, edx
mov eax, edx
shr eax, 0x1f
add eax, ebp
mov ebp, eax
mov eax, 0x1d74861
imul esi
sar edx, 0xf
mov ecx, edx
add ebp, edx
mov edx, dword [esp + 0x24]
shr ecx, 0x1f
add ecx, ebp
mov dword [0x45b9b8], ecx
mov dword [esp + 0x14], edx
jmp 0x40672d
mov edi, dword [0x45b9b4]
mov esi, dword [0x45b9c8]
mov ecx, dword [0x45b9b8]
mov ebp, dword [0x45b9bc]
imul ecx, ecx, 0x533b61
imul edi, edi, 0x1ea3a3
mov eax, 0x96ad8397
imul ebp, ebp, 0x346bb5
imul esi, esi, 0x458786
imul dword [0x45b9ac]
sar edx, 0x14
mov eax, edx
shr eax, 0x1f
add eax, edx
sub eax, ebp
add eax, ecx
mov ecx, dword [0x45b9bc]
sub eax, edi
mov ebp, eax
mov eax, 0x9eea7d1d
imul ecx
add edx, ecx
sar edx, 0x16
mov ecx, edx
shr ecx, 0x1f
add ebp, edx
add ecx, ebp
add ecx, esi
push ebx
mov dword [0x45b9c0], ecx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, dword [0x45b9ac]
mov esi, dword [0x45b9c0]
mov eax, 0x76294c27
imul esi, esi, 0x427252
imul ecx
mov ecx, dword [0x45b9c8]
sar edx, 0x15
add esi, edx
mov edi, edx
mov eax, 0x9eea7d1d
imul ecx
add edx, ecx
sar edx, 0x16
shr edi, 0x1f
add edi, esi
mov esi, dword [str._r_____r____]
add edi, edx
mov ebx, edx
mov eax, 0x9eea7d1d
imul esi
add edx, esi
shr ebx, 0x1f
sar edx, 0x16
add ebx, edi
mov eax, edx
shr eax, 0x1f
add ebx, edx
add eax, ebx
sub eax, esi
add eax, 0x26e3e3
mov dword [0x45b9ac], eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4069b4
mov ecx, dword [esp + 0x24]
push ecx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov ecx, dword [0x45b9a8]
mov ebx, eax
mov edx, dword [0x45b9b0]
mov eax, ecx
imul eax, eax, 0x78665a
mov dword [esp + 0x10], eax
mov eax, 0x69527c69
imul edx
sar edx, 0x14
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x10]
sub edx, eax
mov esi, dword [str._r_____r____]
mov dword [esp + 0x10], edx
mov eax, 0x7595e9bf
imul dword [0x45b9bc]
mov ebp, dword [0x45b9c8]
sar edx, 0x15
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x10]
sub edx, eax
mov eax, esi
imul eax, eax, 0x45ab1c
add edx, eax
mov dword [esp + 0x10], edx
mov eax, 0x9eea7d1d
imul ebp
add edx, ebp
mov edi, ebp
mov ebp, dword [esp + 0x10]
imul edi, edi, 0x458786
sar edx, 0x16
mov eax, edx
add ebp, edx
shr eax, 0x1f
add eax, ebp
mov ebp, dword [0x45b9c4]
sub eax, ebp
test ebx, ebx
lea edx, [eax + edi - 0x346bb5]
mov dword [0x45b9b0], edx
je 0x406a39
mov eax, dword [0x45b9b8]
imul ecx, ecx, 0x427252
imul esi, esi, 0x671938
imul eax, eax, 0x78665a
add ecx, eax
mov eax, 0x76294c27
imul dword [0x45b9bc]
sar edx, 0x15
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov eax, 0x9eea7d1d
imul ebp
add edx, ebp
sar edx, 0x16
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, edi
add eax, ecx
mov ecx, dword [0x45b9c0]
add esi, eax
push 0
lea edx, [esi + ecx - 0x346bb5]
push ebx
mov dword [0x45b9b4], edx
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
mov edx, dword [0x45b9ac]
mov ecx, dword [0x45b9bc]
mov eax, 0x96ad8397
imul edx
sar edx, 0x14
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45b9b8]
mov esi, ecx
imul edx, edx, 0x533b61
mov edi, eax
imul esi, esi, 0x346bb5
mov eax, dword [0x45b9b4]
imul eax, eax, 0x1ea3a3
sub edi, esi
add edi, edx
sub edi, eax
mov eax, 0x9eea7d1d
imul ecx
add edx, ecx
sar edx, 0x16
mov ecx, edx
add edi, edx
mov edx, dword [0x45b9c8]
imul edx, edx, 0x458786
shr ecx, 0x1f
add ecx, edi
add ecx, edx
push ebx
mov dword [0x45b9c0], ecx
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.0042f231
add esp, 0x23c
ret
mov esi, dword [0x45b9b8]
imul ecx, ecx, 0x458786
mov edi, dword [0x45b9a8]
mov eax, 0x7e3fea57
imul edi, edi, str.LresultFromObject
imul esi
sar edx, 0x15
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45b9c4]
sub edi, eax
mov eax, 0x7595e9bf
imul edx
sar edx, 0x15
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
mov edx, esi
imul edx, edx, 0x671938
add edi, edx
mov eax, 0x9eea7d1d
imul esi
add edx, esi
mov esi, dword [0x45b9b4]
sar edx, 0x16
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
mov eax, 0x9eea7d1d
imul esi
add edx, esi
sar edx, 0x16
mov eax, edx
shr eax, 0x1f
add edi, edx
add eax, edi
add eax, ecx
mov dword [0x45b9c4], eax
mov ecx, dword [esp + 0x248]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
call fcn.0042f231
add esp, 0x23c
ret