Function at 0x405270
Capabilities:
Enumerate processes
Terminate process

Disassembly:
sub esp, 0x238
mov eax, dword [0x458190]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x244], eax
xor eax, eax
mov byte [esp + 0x140], 0
mov ecx, 0x40
lea edi, [esp + 0x141]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x24c]
push eax
push 0x446fbc
lea ecx, [esp + 0x148]
push 0x104
push ecx
call fcn.0042aecc
mov ecx, dword [0x456824]
mov eax, 0x7f3171f
imul ecx
sar edx, 0x15
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebp, eax
mov eax, 0x61bc1a5d
imul ecx
sar edx, 0x19
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub ecx, ebp
mov ebp, dword [0x45681c]
mov eax, 0x979d1eb7
imul ebp
add edx, ebp
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x456820]
sub ecx, eax
mov eax, 0x3ac7f767
imul edx
sar edx, 0x17
mov ebp, edx
shr ebp, 0x1f
add ebp, edx
mov eax, 0x62ace781
imul dword [0x456834]
mov ebx, dword [0x456830]
sar edx, 0x19
add ebp, edx
mov esi, dword [0x456838]
mov eax, edx
imul esi, esi, 0x372f5c1
mov edx, dword [0x456818]
imul edx, edx, 0x5305094
shr eax, 0x1f
add eax, ebp
mov ebp, dword [0x456834]
add eax, edx
mov dword [esp + 0x20], eax
mov eax, 0x936c7f27
imul dword [0x456834]
mov edi, ebx
imul edi, edi, 0x293deaa
add edx, ebp
mov ebp, dword [esp + 0x20]
sar edx, 0x17
mov eax, edx
add ecx, edi
shr eax, 0x1f
add ecx, esi
add eax, edx
add esp, 0x10
mov dword [str._r_____r____], ecx
sub ebp, eax
imul ebx, ebx, 0x360833b
mov eax, 0x13a45601
imul dword [0x45681c]
sar edx, 0x16
sub ebp, ebx
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov eax, 0x61bc1a5d
imul dword [0x456838]
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add ebx, edx
add eax, ebx
sub eax, esi
sub eax, ecx
push 0
lea ecx, [eax + edi + 0x294039f]
push 2
mov dword [0x456818], ebp
mov dword [esp + 0x1c], 0
mov dword [0x45681c], ecx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ecx, dword [0x456834]
mov edi, dword [0x456818]
mov ebx, eax
mov esi, dword [0x456828]
mov eax, 0x7f3171f
imul ecx
sar edx, 0x15
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, edi
imul ecx, ecx, 0x3422234
sub ecx, eax
mov eax, 0x61bc1a5d
imul esi
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, esi
imul edx, edx, 0x53d1950
sub ecx, eax
add ecx, edx
mov eax, 0x979d1eb7
imul esi
add edx, esi
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
cmp ebx, 0xffffffff
mov dword [0x456834], ecx
jne 0x4054c6
mov edx, dword [0x456820]
imul edi, edi, 0x5305094
mov eax, 0x3ac7f767
imul edx
sar edx, 0x17
mov esi, edx
shr esi, 0x1f
add esi, edx
mov eax, 0x62ace781
imul ecx
sar edx, 0x19
mov ebx, edx
add esi, edx
mov eax, 0x936c7f27
imul ecx
add edx, ecx
sar edx, 0x17
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x456830]
imul edx, edx, 0x360833b
shr ebx, 0x1f
add ebx, esi
add ebx, edi
sub ebx, ecx
sub ebx, edx
push str.CreateToolhelp32Snapshot__of_processes_
mov dword [0x456818], ebx
call fcn.0042ae66
add esp, 4
jmp 0x405af4
mov edx, dword [0x45682c]
imul edi, edi, 0xde454f
mov esi, dword [str._r_____r____]
mov eax, 0x7f3171f
imul esi, esi, 0x4067eec
imul edx
sar edx, 0x15
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x456820]
sub esi, eax
mov eax, 0x31a5bd5f
imul edx
sar edx, 0x17
mov eax, edx
shr eax, 0x1f
add esi, edi
add eax, edx
sub esi, eax
sub esi, ecx
lea ecx, [esp + 0x18]
push ecx
sub esi, 0x5305094
push ebx
mov dword [0x456820], esi
mov dword [esp + 0x20], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x405591
mov esi, dword [0x456818]
mov edx, dword [0x456828]
imul esi, esi, 0x293deaa
mov ecx, dword [0x45682c]
imul edx, edx, 0xde454f
add esi, edx
mov eax, 0x13a45601
imul ecx
mov ecx, dword [str._r_____r____]
sar edx, 0x16
imul ecx, ecx, 0x53d1950
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x456830]
sub esi, eax
add esi, edx
lea edx, [ecx + esi - 0x5305094]
push ebx
mov dword [0x456824], edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x405af4
mov ecx, dword [0x456838]
mov eax, 0x94723637
imul ecx
add edx, ecx
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edi, eax
mov esi, dword [0x45681c]
mov eax, 0x63510a67
imul ecx
imul ecx, ecx, 0x5305094
sar edx, 0x18
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
sub edi, ecx
mov ecx, esi
imul ecx, ecx, 0x3422234
add edi, ecx
mov ecx, dword [0x456824]
mov eax, 0x61bc1a5d
imul ecx
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
mov dword [0x456828], edi
jmp 0x405600
mov ecx, dword [0x456820]
mov eax, 0x7f3171f
imul ecx
imul ecx, ecx, 0x360833b
mov eax, dword [0x45682c]
sar edx, 0x15
imul eax, eax, 0x5305094
mov edi, edx
shr edi, 0x1f
add edi, edx
mov edx, dword [0x456830]
imul edx, edx, 0x22d753a
add edi, edx
add edi, eax
mov eax, 0x936c7f27
imul esi
add edx, esi
sar edx, 0x17
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
add edi, ecx
lea ecx, [esp + 0x140]
push ecx
lea edx, [esp + 0x40]
push edx
mov dword [0x45682c], edi
call fcn.00434bee
add esp, 8
test eax, eax
je 0x405844
mov esi, dword [0x456828]
mov eax, dword [0x456824]
imul esi, esi, 0x22d753a
mov ecx, dword [0x45682c]
imul eax, eax, 0xdef222
imul ecx, ecx, 0x5305094
sub esi, eax
sub esi, ecx
mov ecx, dword [0x45681c]
mov eax, 0x31a5bd5f
imul ecx
mov ecx, dword [esp + 0x20]
sar edx, 0x17
mov eax, edx
shr eax, 0x1f
push ecx
add eax, edx
push 0
sub esi, eax
push 0x1f0fff
mov dword [0x456830], esi
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, dword [0x456824]
mov esi, eax
mov ebp, dword [0x456838]
mov ecx, dword [0x456830]
imul ebp, ebp, 0x372f5c1
mov eax, 0x7f3171f
imul edi
sar edx, 0x15
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebp, eax
mov edx, ecx
imul edx, edx, 0x293deaa
add ebp, edx
mov eax, 0x61bc1a5d
imul edi
mov edi, dword [0x45681c]
sar edx, 0x19
add ebp, edx
mov eax, edx
shr eax, 0x1f
add eax, ebp
mov ebp, eax
mov eax, 0x979d1eb7
imul edi
add edx, edi
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebp, eax
test esi, esi
mov dword [str._r_____r____], ebp
jne 0x40574d
push 0x446f88
call fcn.0042ae66
add esp, 4
jmp 0x40582a
mov edx, dword [0x456820]
imul ecx, ecx, 0x360833b
mov edi, dword [0x456834]
mov eax, 0x3ac7f767
imul edx
sar edx, 0x17
mov ebp, edx
shr ebp, 0x1f
add ebp, edx
mov eax, 0x62ace781
imul edi
sar edx, 0x19
add ebp, edx
mov eax, edx
mov edx, dword [0x456818]
imul edx, edx, 0x5305094
shr eax, 0x1f
add eax, ebp
add eax, edx
mov ebp, eax
mov eax, 0x936c7f27
imul edi
add edx, edi
sar edx, 0x17
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebp, eax
sub ebp, ecx
push esi
mov dword [0x456818], ebp
call dword [sym.imp.KERNEL32.dll_GetPriorityClass]
test eax, eax
jne 0x4057c8
push 0x446f74
call fcn.0042ae66
add esp, 4
mov ecx, dword [0x456820]
mov eax, 0x7f3171f
imul ecx
imul ecx, ecx, 0x360833b
mov eax, dword [0x45682c]
mov edi, dword [0x45681c]
imul eax, eax, 0x5305094
sar edx, 0x15
mov ebp, edx
shr ebp, 0x1f
add ebp, edx
mov edx, dword [0x456830]
imul edx, edx, 0x22d753a
add ebp, edx
add ebp, eax
mov eax, 0x936c7f27
imul edi
add edx, edi
sar edx, 0x17
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebp, eax
add ebp, ecx
push esi
mov dword [0x45682c], ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x18]
push ecx
push ebx
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x4058ad
mov esi, dword [0x45681c]
jmp 0x405600
mov esi, dword [0x456838]
mov eax, 0x94723637
imul esi
add edx, esi
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, eax
mov eax, 0x63510a67
imul esi
imul esi, esi, 0x5305094
sar edx, 0x18
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45681c]
imul edx, edx, 0x3422234
sub ecx, eax
mov edi, dword [esp + 0x20]
sub ecx, esi
mov esi, dword [0x456824]
add ecx, edx
mov eax, 0x61bc1a5d
imul esi
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov dword [0x456828], ecx
jmp 0x4058bd
mov esi, dword [0x456824]
mov ecx, dword [0x456828]
mov edi, dword [esp + 0x14]
mov edx, dword [0x45682c]
imul ecx, ecx, 0x22d753a
imul esi, esi, 0xdef222
imul edx, edx, 0x5305094
sub ecx, esi
sub ecx, edx
mov eax, 0x31a5bd5f
imul dword [0x45681c]
sar edx, 0x17
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
push ebx
mov dword [0x456830], ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x456838]
mov esi, dword [0x456830]
mov edx, ecx
imul esi, esi, 0x293deaa
imul edx, edx, 0x372f5c1
sub esi, edx
mov edx, dword [0x45681c]
mov eax, 0x13a45601
imul edx
sar edx, 0x16
add esi, edx
mov ebx, edx
mov eax, 0x61bc1a5d
imul ecx
sar edx, 0x19
shr ebx, 0x1f
add ebx, esi
mov eax, edx
shr eax, 0x1f
add ebx, edx
mov edx, dword [str._r_____r____]
add eax, ebx
sub eax, edx
add eax, 0x294039f
test edi, edi
mov dword [0x45681c], eax
je 0x405a91
mov ecx, dword [esp + 0x20]
push ecx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, dword [0x45682c]
mov edi, dword [str._r_____r____]
mov ecx, dword [0x456818]
mov esi, eax
mov eax, 0x7f3171f
imul ebx
sar edx, 0x15
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebp, edi
imul ebp, ebp, 0x4067eec
mov edx, ecx
imul edx, edx, 0xde454f
sub ebp, eax
add ebp, edx
mov edx, dword [0x456820]
mov eax, 0x31a5bd5f
imul edx
sar edx, 0x17
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebp, eax
sub ebp, dword [0x456834]
sub ebp, 0x5305094
test esi, esi
mov dword [0x456820], ebp
je 0x405af4
mov edx, dword [0x456828]
imul ecx, ecx, 0x293deaa
imul edi, edi, 0x53d1950
imul edx, edx, 0xde454f
add ecx, edx
mov eax, 0x13a45601
imul ebx
sar edx, 0x16
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x456830]
sub ecx, eax
add ecx, edx
push 0
lea ecx, [edi + ecx - 0x5305094]
push esi
mov dword [0x456824], ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, dword [0x456828]
mov edx, dword [0x456824]
imul edi, edi, 0x22d753a
mov eax, dword [0x45682c]
imul edx, edx, 0xdef222
mov ecx, dword [0x45681c]
imul eax, eax, 0x5305094
sub edi, edx
sub edi, eax
mov eax, 0x31a5bd5f
imul ecx
sar edx, 0x17
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub edi, ecx
push esi
mov dword [0x456830], edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x234]
call fcn.0042a171
add esp, 0x238
ret
mov ecx, dword [0x456834]
mov esi, dword [0x456818]
mov eax, 0x7f3171f
imul esi, esi, 0x3422234
imul ecx
mov ecx, dword [0x456828]
sar edx, 0x15
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov eax, 0x61bc1a5d
imul ecx
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, ecx
imul edx, edx, 0x53d1950
sub esi, eax
add esi, edx
mov eax, 0x979d1eb7
imul ecx
add edx, ecx
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov dword [0x456834], esi
mov ecx, dword [esp + 0x244]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
call fcn.0042a171
add esp, 0x238
ret