Function at 0x405290
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.0042b07c
mov ecx, dword [0x456824]
mov eax, 0xbdd265f5
imul ecx
add edx, ecx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, eax
mov eax, 0x5f7fac71
imul dword [0x45681c]
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov esi, dword [0x456830]
mov eax, 0x61e35267
imul dword [0x456824]
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov eax, 0x214d0215
imul dword [0x456834]
sar edx, 0xa
mov edi, esi
imul esi, esi, 0xffffea8e
mov eax, edx
imul edi, edi, 0x1525
shr eax, 0x1f
add eax, edx
sub esi, eax
mov ebp, dword [0x456838]
mov eax, 0xe6005641
imul dword [0x456834]
add edx, dword [0x456834]
sar edx, 0xc
add esi, edx
mov eax, edx
mov edx, dword [0x456818]
imul edx, edx, 0x11cf
shr eax, 0x1f
add eax, esi
add eax, edx
mov edx, dword [0x456820]
mov esi, eax
mov ebx, ebp
mov eax, 0x4f950fb3
imul ebx, ebx, 0x58f
imul edx
add ecx, ebx
sar edx, 0xa
add ecx, edi
mov eax, edx
add esp, 0x10
mov dword [str._r_____r____], ecx
shr eax, 0x1f
add esi, edx
add eax, esi
mov esi, dword [0x45681c]
mov dword [0x456818], eax
mov eax, 0xbdd265f5
imul ebp
add edx, ebp
sar edx, 0xc
mov ebp, edx
shr ebp, 0x1f
add ebp, edx
mov eax, 0xc152500d
imul esi
add edx, esi
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add ebp, edx
add eax, ebp
sub eax, ebx
sub eax, ecx
push 0
lea ecx, [eax + edi + 0x1126]
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, 0xbdd265f5
imul esi
add edx, esi
sar edx, 0xc
mov ecx, esi
imul ecx, ecx, 0x1594
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov eax, 0x5f7fac71
imul esi
mov esi, dword [0x456818]
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, esi
imul edx, edx, 0x1530
sub ecx, eax
add ecx, edx
mov edx, dword [0x456834]
mov eax, 0x61e35267
imul edx
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
cmp ebx, 0xffffffff
mov dword [0x456834], ecx
jne 0x4054e3
mov edi, dword [0x456830]
imul esi, esi, 0x11cf
mov eax, 0x214d0215
imul edi, edi, 0xffffea8e
imul ecx
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
mov eax, 0xe6005641
imul ecx
add edx, ecx
mov ecx, dword [0x456820]
sar edx, 0xc
mov ebx, edx
add edi, edx
mov eax, 0x4f950fb3
imul ecx
shr ebx, 0x1f
sar edx, 0xa
add ebx, edi
mov ecx, edx
add ebx, esi
shr ecx, 0x1f
add ebx, edx
add ecx, ebx
push str.CreateToolhelp32Snapshot__of_processes_
mov dword [0x456818], ecx
call fcn.0042b016
add esp, 4
jmp 0x405b27
mov edx, dword [0x45682c]
imul esi, esi, 0x1ec0
mov eax, 0x61e35267
imul edx
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [str._r_____r____]
imul edx, edx, 0x14ec
sub esi, eax
add esi, edx
mov edx, dword [0x456820]
mov eax, 0x776d83ad
imul edx
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
sub esi, ecx
lea ecx, [esp + 0x18]
push ecx
sub esi, 0x11cf
push ebx
mov dword [0x456820], esi
mov dword [esp + 0x20], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x4055af
mov ecx, dword [0x45682c]
mov esi, dword [0x456828]
mov ebp, dword [0x456830]
imul esi, esi, 0x1ec0
mov eax, 0xc152500d
imul ecx
add edx, ecx
mov ecx, dword [str._r_____r____]
sar edx, 0xc
imul ecx, ecx, 0x1594
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x456818]
imul edx, edx, 0x1525
sub esi, eax
add ecx, ebp
add ecx, esi
lea eax, [edx + ecx - 0x11cf]
push ebx
mov dword [0x456824], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x405b27
mov ecx, dword [0x456824]
mov eax, 0xbdd265f5
imul ecx
add edx, ecx
sar edx, 0xc
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov esi, ecx
mov ecx, dword [0x456838]
mov eax, 0x9f248ed3
imul ecx
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45681c]
mov edi, eax
imul edx, edx, 0x1530
mov eax, ecx
imul eax, eax, 0x11cf
mov ebp, dword [sym.imp.KERNEL32.dll_OpenProcess]
sub edi, esi
add edi, edx
sub edi, eax
mov eax, 0xb838211b
imul ecx
add edx, ecx
sar edx, 0xa
mov ecx, edx
shr ecx, 0x1f
add edi, edx
add ecx, edi
mov dword [0x456828], ecx
mov edi, edi
mov ecx, dword [0x456820]
mov eax, 0x214d0215
imul dword [0x45681c]
mov esi, ecx
sar edx, 0xa
imul esi, esi, 0x1572
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov eax, 0x61e35267
imul ecx
mov eax, dword [0x456830]
sar edx, 0xb
imul eax, eax, 0xcde
mov ecx, edx
add esi, edx
mov edx, dword [0x45682c]
imul edx, edx, 0x11cf
shr ecx, 0x1f
add ecx, esi
add ecx, edx
add ecx, eax
mov dword [0x45682c], ecx
lea ecx, [esp + 0x140]
push ecx
lea edx, [esp + 0x40]
push edx
call fcn.00434d9e
add esp, 8
test eax, eax
je 0x405a52
mov ecx, dword [0x45681c]
mov esi, dword [0x45682c]
mov eax, 0x88927c53
imul esi, esi, 0x11cf
imul ecx
mov ecx, dword [0x456828]
sar edx, 0xb
imul ecx, ecx, 0xcde
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x456824]
imul edx, edx, 0xb97
sub eax, esi
add eax, ecx
add eax, edx
mov dword [0x456830], eax
mov eax, dword [esp + 0x20]
push eax
push 0
push 0x1f0fff
call ebp
mov edi, dword [0x456824]
mov esi, eax
mov eax, 0xbdd265f5
imul edi
add edx, edi
sar edx, 0xc
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, ecx
mov ecx, dword [0x45681c]
mov dword [esp + 0x10], eax
mov eax, 0x5f7fac71
imul ecx
mov ecx, dword [esp + 0x10]
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov eax, ecx
mov ecx, dword [0x456830]
mov edx, ecx
imul edx, edx, 0x1525
add eax, edx
mov dword [esp + 0x10], eax
mov eax, 0x61e35267
imul edi
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x10]
sub edx, eax
mov eax, dword [0x456838]
imul eax, eax, 0x58f
add edx, eax
test esi, esi
mov dword [str._r_____r____], edx
jne 0x40577e
push 0x446f88
call fcn.0042b016
add esp, 4
jmp 0x405858
mov edi, dword [0x456834]
imul ecx, ecx, 0xffffea8e
mov eax, 0x214d0215
imul edi
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov eax, 0xe6005641
imul edi
add edx, edi
sar edx, 0xc
add ecx, edx
mov edi, edx
shr edi, 0x1f
add edi, ecx
mov ecx, dword [0x456818]
imul ecx, ecx, 0x11cf
add edi, ecx
mov ecx, dword [0x456820]
mov eax, 0x4f950fb3
imul ecx
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add edi, edx
add eax, edi
push esi
mov dword [0x456818], eax
call dword [sym.imp.KERNEL32.dll_GetPriorityClass]
test eax, eax
jne 0x4057f6
push 0x446f74
call fcn.0042b016
add esp, 4
mov ecx, dword [0x45681c]
mov eax, 0x214d0215
imul ecx
sar edx, 0xa
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov ecx, dword [0x456820]
mov edi, ecx
imul edi, edi, 0x1572
sub edi, edx
mov eax, 0x61e35267
imul ecx
mov ecx, dword [0x45682c]
sar edx, 0xb
imul ecx, ecx, 0x11cf
mov eax, edx
add edi, edx
mov edx, dword [0x456830]
imul edx, edx, 0xcde
shr eax, 0x1f
add eax, edi
add eax, ecx
add eax, edx
push esi
mov dword [0x45682c], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x18]
push eax
push ebx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x405620
mov esi, dword [0x456824]
mov ecx, dword [0x456828]
mov edi, dword [esp + 0x14]
mov ebp, dword [0x45682c]
imul ecx, ecx, 0xcde
imul esi, esi, 0xb97
mov eax, 0x88927c53
imul ebp, ebp, 0x11cf
imul dword [0x45681c]
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
sub eax, ebp
add eax, ecx
add eax, esi
push ebx
mov dword [0x456830], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x456838]
mov esi, dword [0x45681c]
mov eax, 0xbdd265f5
imul ecx
add edx, ecx
imul ecx, ecx, 0x58f
sar edx, 0xc
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov eax, 0xc152500d
imul esi
add edx, esi
sar edx, 0xc
add ebx, edx
mov eax, edx
mov edx, dword [0x456830]
imul edx, edx, 0x1525
shr eax, 0x1f
add eax, ebx
add eax, edx
mov edx, dword [str._r_____r____]
sub eax, ecx
sub eax, edx
add eax, 0x1126
test edi, edi
mov dword [0x45681c], eax
je 0x405ac4
mov eax, dword [esp + 0x20]
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, dword [0x45682c]
mov edi, dword [0x456818]
mov esi, eax
mov eax, 0x61e35267
imul ebx
sar edx, 0xb
mov ebp, edi
imul ebp, ebp, 0x1ec0
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub ebp, ecx
mov ecx, dword [str._r_____r____]
mov edx, ecx
imul edx, edx, 0x14ec
add ebp, edx
mov edx, dword [0x456820]
mov eax, 0x776d83ad
imul edx
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebp, eax
sub ebp, dword [0x456834]
sub ebp, 0x11cf
test esi, esi
mov dword [0x456820], ebp
je 0x405b27
mov ebp, dword [0x456828]
imul ecx, ecx, 0x1594
imul edi, edi, 0x1525
mov eax, 0xc152500d
imul ebp, ebp, 0x1ec0
imul ebx
add edx, ebx
mov ebx, dword [0x456830]
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
add ecx, ebx
sub ebp, eax
add ecx, ebp
push 0
lea ecx, [edi + ecx - 0x11cf]
push esi
mov dword [0x456824], ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [0x45681c]
mov edi, dword [0x45682c]
mov eax, 0x88927c53
imul edi, edi, 0x11cf
imul ecx
mov ecx, dword [0x456828]
sar edx, 0xb
imul ecx, ecx, 0xcde
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x456824]
imul edx, edx, 0xb97
sub eax, edi
add eax, ecx
add eax, edx
push esi
mov dword [0x456830], eax
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.0042a321
add esp, 0x238
ret
mov esi, dword [0x456824]
mov eax, 0xbdd265f5
imul esi
add edx, esi
sar edx, 0xc
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edi, ecx
mov ecx, dword [0x456838]
mov eax, 0x9f248ed3
imul ecx
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45681c]
mov ebp, eax
imul edx, edx, 0x1530
mov eax, ecx
imul eax, eax, 0x11cf
sub ebp, edi
mov edi, dword [esp + 0x20]
add ebp, edx
sub ebp, eax
mov eax, 0xb838211b
imul ecx
add edx, ecx
sar edx, 0xa
mov ecx, edx
shr ecx, 0x1f
add ebp, edx
add ecx, ebp
mov dword [0x456828], ecx
jmp 0x40587b
mov ecx, dword [0x456828]
mov eax, 0xbdd265f5
imul ecx
add edx, ecx
mov esi, ecx
sar edx, 0xc
imul esi, esi, 0x1594
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov eax, 0x5f7fac71
imul ecx
sar edx, 0xb
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x456818]
imul edx, edx, 0x1530
sub esi, ecx
mov ecx, dword [0x456834]
add esi, edx
mov eax, 0x61e35267
imul ecx
sar edx, 0xb
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.0042a321
add esp, 0x238
ret