Function at 0x4053a0
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 0x447044
lea ecx, [esp + 0x148]
push 0x104
push ecx
call fcn.0042b05c
mov ebp, dword [0x456824]
mov eax, 0x4c8f8d29
imul ebp
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, eax
mov eax, 0x30c30c31
imul ebp
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov ebp, dword [0x456834]
mov eax, 0x36b45a9b
imul dword [0x45681c]
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov ebx, dword [0x456830]
mov eax, 0x9cc8e161
imul ebp
add edx, ebp
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x456818]
imul edx, edx, 0x344
mov edi, ebx
imul ebx, ebx, 0x257
add eax, edx
imul edi, edi, 0x1aa
mov edx, dword [0x456820]
sub eax, ebx
mov dword [esp + 0x20], eax
mov esi, dword [0x456838]
mov eax, 0x2d4279a3
imul esi, esi, 0x235
imul edx
mov eax, dword [esp + 0x20]
sar edx, 6
add eax, edx
mov ebx, edx
shr ebx, 0x1f
add ebx, eax
mov eax, 0xf2b9d649
imul ebp
add edx, ebp
sar edx, 7
add ecx, edi
mov eax, edx
add ecx, esi
shr eax, 0x1f
add esp, 0x10
mov dword [str._r_____r____], ecx
add eax, edx
sub ebx, eax
mov eax, 0x4c8f8d29
imul dword [0x456838]
sar edx, 8
mov ebp, edx
mov dword [0x456818], ebx
mov ebx, dword [0x45681c]
shr ebp, 0x1f
add ebp, edx
mov eax, 0xe1fc780f
imul ebx
add edx, ebx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add ebp, edx
add eax, ebp
sub eax, esi
sub eax, ecx
push 0
lea ecx, [eax + edi + 0x1e7]
push 2
mov dword [esp + 0x1c], 0
mov dword [0x45681c], ecx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, dword [0x456828]
mov ebx, eax
mov eax, 0x4c8f8d29
imul esi
sar edx, 8
mov ecx, esi
imul ecx, ecx, 0x358
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x456834]
sub ecx, eax
mov eax, 0x30c30c31
imul edx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov eax, 0x36b45a9b
imul esi
mov esi, dword [0x456818]
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, esi
imul edx, edx, 0x244
sub ecx, eax
add ecx, edx
cmp ebx, 0xffffffff
mov dword [0x456834], ecx
jne 0x4055ef
mov eax, 0x9cc8e161
imul esi, esi, 0x344
imul ecx
mov eax, dword [0x456830]
add edx, ecx
imul eax, eax, 0x257
sar edx, 9
mov edi, edx
shr edi, 0x1f
add edi, edx
mov edx, dword [0x456820]
add edi, esi
sub edi, eax
mov eax, 0x2d4279a3
imul edx
sar edx, 6
mov esi, edx
add edi, edx
mov eax, 0xf2b9d649
imul ecx
add edx, ecx
sar edx, 7
mov ecx, edx
shr esi, 0x1f
shr ecx, 0x1f
add ecx, edx
add esi, edi
sub esi, ecx
push str.CreateToolhelp32Snapshot__of_processes_
mov dword [0x456818], esi
call fcn.0042aff6
add esp, 4
jmp 0x405c25
mov edx, dword [0x45682c]
imul esi, esi, 0x87
mov edi, dword [str._r_____r____]
mov eax, 0x30c30c31
imul edi, edi, 0x2a0
imul edx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x456820]
sub edi, eax
mov eax, 0x43491159
imul edx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
add edi, esi
sub edi, ecx
lea ecx, [esp + 0x18]
push ecx
sub edi, 0x344
push ebx
mov dword [0x456820], edi
mov dword [esp + 0x20], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x4056bb
mov ecx, dword [0x45682c]
mov esi, dword [str._r_____r____]
mov ebp, dword [0x456830]
imul esi, esi, 0x358
mov eax, 0xe1fc780f
imul ecx
add edx, ecx
mov ecx, dword [0x456818]
sar edx, 9
imul ecx, ecx, 0x1aa
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x456828]
imul edx, edx, 0x87
sub esi, eax
add ecx, ebp
add ecx, esi
lea eax, [edx + ecx - 0x344]
push ebx
mov dword [0x456824], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x405c25
mov edx, dword [0x456824]
mov ecx, dword [0x456838]
mov eax, 0xb37072d7
imul edx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edi, eax
mov esi, ecx
imul esi, esi, 0x344
mov eax, 0xe7fc601
imul ecx
sar edx, 5
mov ebp, edx
sub edi, esi
mov esi, dword [0x45681c]
add edi, edx
mov edx, esi
imul edx, edx, 0x244
shr ebp, 0x1f
add ebp, edi
add ebp, edx
mov eax, 0x99d722db
imul ecx
add edx, ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebp, eax
mov dword [0x456828], ebp
mov ebp, dword [sym.imp.KERNEL32.dll_OpenProcess]
jmp 0x405730
mov ecx, dword [0x456820]
mov edi, dword [0x45682c]
mov eax, 0x30c30c31
imul edi, edi, 0x344
imul ecx
imul ecx, ecx, 0x257
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edi, edx
add eax, edi
add eax, ecx
mov ecx, dword [0x456830]
imul ecx, ecx, 0x16a
add eax, ecx
mov edi, eax
mov eax, 0xf2b9d649
imul esi
add edx, esi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [esp + 0x140]
push ecx
lea edx, [esp + 0x40]
sub edi, eax
push edx
mov dword [0x45682c], edi
call fcn.00434d7e
add esp, 8
test eax, eax
je 0x405979
mov ecx, dword [0x45681c]
mov esi, dword [0x45682c]
mov eax, 0xbcb6eea7
imul esi, esi, 0x344
imul ecx
mov ecx, dword [0x456828]
sar edx, 7
imul ecx, ecx, 0x16a
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x456824]
imul edx, edx, 0x4e
sub eax, esi
add eax, ecx
sub eax, edx
mov dword [0x456830], eax
mov eax, dword [esp + 0x20]
push eax
push 0
push 0x1f0fff
call ebp
mov ecx, dword [0x456824]
mov esi, eax
mov eax, 0x4c8f8d29
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edi, eax
mov eax, 0x30c30c31
imul ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub edi, ecx
mov ecx, dword [0x45681c]
mov eax, 0x36b45a9b
imul ecx
mov ecx, dword [0x456838]
sar edx, 7
imul ecx, ecx, 0x235
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
add edi, ecx
mov ecx, dword [0x456830]
mov edx, ecx
imul edx, edx, 0x1aa
add edi, edx
test esi, esi
mov dword [str._r_____r____], edi
jne 0x405877
push 0x447010
call fcn.0042aff6
add esp, 4
jmp 0x40595f
mov edi, dword [0x456834]
imul ecx, ecx, 0x257
mov eax, 0x9cc8e161
imul edi
add edx, edi
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x456818]
imul edx, edx, 0x344
add eax, edx
sub eax, ecx
mov ecx, dword [0x456820]
mov dword [esp + 0x10], eax
mov eax, 0x2d4279a3
imul ecx
mov eax, dword [esp + 0x10]
sar edx, 6
add eax, edx
mov ecx, edx
shr ecx, 0x1f
add ecx, eax
mov eax, 0xf2b9d649
imul edi
add edx, edi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
push esi
mov dword [0x456818], ecx
call dword [sym.imp.KERNEL32.dll_GetPriorityClass]
test eax, eax
jne 0x4058fa
push 0x446ffc
call fcn.0042aff6
add esp, 4
mov ecx, dword [0x456820]
mov edi, dword [0x45682c]
mov eax, 0x30c30c31
imul edi, edi, 0x344
imul ecx
imul ecx, ecx, 0x257
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edi, edx
add eax, edi
add eax, ecx
mov ecx, dword [0x456830]
imul ecx, ecx, 0x16a
add eax, ecx
mov ecx, dword [0x45681c]
mov edi, eax
mov eax, 0xf2b9d649
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
push esi
mov dword [0x45682c], edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x18]
push ecx
push ebx
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x4059e4
mov esi, dword [0x45681c]
jmp 0x405730
mov esi, dword [0x456824]
mov edi, dword [0x456838]
mov eax, 0xb37072d7
imul esi
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebp, eax
mov ecx, edi
imul ecx, ecx, 0x344
mov eax, 0xe7fc601
imul edi
sar edx, 5
sub ebp, ecx
add ebp, edx
mov ecx, edx
mov edx, dword [0x45681c]
imul edx, edx, 0x244
shr ecx, 0x1f
add ecx, ebp
add ecx, edx
mov eax, 0x99d722db
imul edi
add edx, edi
mov edi, dword [esp + 0x20]
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov dword [0x456828], ecx
jmp 0x4059f4
mov esi, dword [0x456824]
mov ecx, dword [0x456828]
mov edi, dword [esp + 0x14]
mov ebp, dword [0x45682c]
imul ecx, ecx, 0x16a
imul esi, esi, 0x4e
mov eax, 0xbcb6eea7
imul ebp, ebp, 0x344
imul dword [0x45681c]
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
sub eax, ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
add eax, ecx
sub eax, esi
push ebx
mov dword [0x456830], eax
call ebp
mov ecx, dword [0x456838]
mov esi, dword [0x45681c]
mov eax, 0x4c8f8d29
imul ecx
imul ecx, ecx, 0x235
sar edx, 8
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov eax, 0xe1fc780f
imul esi
add edx, esi
sar edx, 9
mov eax, edx
shr eax, 0x1f
add ebx, edx
mov edx, dword [str._r_____r____]
add eax, ebx
sub eax, ecx
mov ecx, dword [0x456830]
imul ecx, ecx, 0x1aa
add eax, ecx
sub eax, edx
add eax, 0x1e7
test edi, edi
mov dword [0x45681c], eax
je 0x405bc4
mov edx, dword [esp + 0x20]
push edx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, dword [0x45682c]
mov esi, dword [str._r_____r____]
mov edi, eax
mov eax, 0x30c30c31
imul ebx
sar edx, 7
mov ecx, esi
imul ecx, ecx, 0x2a0
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov dword [esp + 0x14], ecx
mov ecx, dword [0x456820]
mov eax, 0x43491159
imul ecx
mov eax, dword [esp + 0x14]
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub eax, ecx
mov ecx, dword [0x456818]
mov edx, ecx
imul edx, edx, 0x87
add eax, edx
sub eax, dword [0x456834]
sub eax, 0x344
test edi, edi
mov dword [0x456820], eax
je 0x405c25
mov eax, 0xe1fc780f
imul esi, esi, 0x358
imul ecx, ecx, 0x1aa
imul ebx
add edx, ebx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x456828]
imul edx, edx, 0x87
sub esi, eax
add ecx, dword [0x456830]
add ecx, esi
push 0
lea eax, [edx + ecx - 0x344]
push edi
mov dword [0x456824], eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [0x45681c]
mov esi, dword [0x45682c]
mov eax, 0xbcb6eea7
imul esi, esi, 0x344
imul ecx
mov eax, dword [0x456824]
sar edx, 7
imul eax, eax, 0x4e
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x456828]
imul edx, edx, 0x16a
sub ecx, esi
add ecx, edx
sub ecx, eax
push edi
mov dword [0x456830], ecx
call ebp
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x234]
call fcn.0042a301
add esp, 0x238
ret
mov ecx, dword [0x456828]
mov eax, 0x4c8f8d29
imul ecx
sar edx, 8
mov esi, ecx
imul esi, esi, 0x358
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x456834]
sub esi, eax
mov eax, 0x30c30c31
imul edx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov eax, 0x36b45a9b
imul ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x456818]
imul edx, edx, 0x244
sub esi, ecx
add esi, edx
mov dword [0x456834], esi
mov ecx, dword [esp + 0x244]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
call fcn.0042a301
add esp, 0x238
ret