Function at 0x405440
Capabilities:
Enumerate processes
Terminate process

Disassembly:
sub esp, 0x238
mov eax, dword [0x456fc0]
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 0x445f7c
lea ecx, [esp + 0x148]
push 0x104
push ecx
call fcn.00429e0c
mov ebp, dword [0x45569c]
mov edi, dword [0x45568c]
mov eax, 0x948af151
imul edi, edi, 0x6e7be
imul ebp
add edx, ebp
sar edx, 0x13
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
mov ebx, dword [0x455690]
mov eax, 0x3b1784cb
imul dword [0x455694]
sar edx, 0x11
add edi, edx
mov ecx, edx
mov eax, 0xcccc28f7
imul ebx
add edx, ebx
sar edx, 0x13
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x4556a4]
shr ecx, 0x1f
add ecx, edi
mov edi, dword [0x4556a0]
sub ecx, eax
mov eax, 0x1784740b
imul edx
sar edx, 0xf
mov eax, edx
shr eax, 0x1f
add eax, edx
mov esi, dword [0x4556a8]
mov edx, edi
imul esi, esi, 0xcecf4
imul edx, edx, 0xfff23675
sub edx, eax
mov dword [esp + 0x20], edx
mov eax, 0x3b1db3af
imul ebp
mov ebp, dword [esp + 0x20]
sar edx, 0x11
add ebp, edx
mov eax, edx
mov edx, ebx
imul edx, edx, 0x205c4
shr eax, 0x1f
add eax, ebp
sub eax, edx
mov edx, dword [0x455688]
add ecx, esi
add eax, ecx
add edx, eax
add esp, 0x10
imul edi, edi, 0x6e7be
mov dword [str._r_____r____], ecx
mov dword [0x455688], edx
mov dword [esp + 0x14], 0
mov eax, 0x30f1b28f
imul dword [0x45568c]
sar edx, 0x10
add edi, edx
mov ecx, edx
mov eax, 0x3b1784cb
imul ebx
shr ecx, 0x1f
sar edx, 0x11
add ecx, edi
mov edi, dword [0x455694]
mov eax, edx
shr eax, 0x1f
add ecx, edx
add eax, ecx
sub eax, esi
sub eax, edi
push 0
add eax, 0xbae2b
push 2
mov dword [0x45568c], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, dword [0x45569c]
mov ebp, eax
mov edi, dword [0x455688]
mov eax, 0x948af151
imul esi
add edx, esi
sar edx, 0x13
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov ecx, edi
imul ecx, ecx, 0x53aff
mov eax, esi
imul eax, eax, 0x8aa1b
sub ecx, edx
mov edx, dword [0x45568c]
add ecx, eax
mov ebx, dword [0x4556a4]
mov eax, 0x3b1784cb
imul edx
sar edx, 0x11
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov eax, 0xcccc28f7
imul ebx
add edx, ebx
sar edx, 0x13
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
cmp ebp, 0xffffffff
mov dword [0x4556a4], ecx
jne 0x405687
mov ebx, dword [0x4556a0]
mov eax, 0x1784740b
imul ebx, ebx, 0xfff23675
imul ecx
sar edx, 0xf
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, 0x3b1db3af
imul esi
mov esi, dword [str._r_____r____]
sub ebx, ecx
mov ecx, dword [0x455690]
imul ecx, ecx, 0x205c4
sar edx, 0x11
mov eax, edx
shr eax, 0x1f
add ebx, edx
add eax, ebx
sub eax, ecx
add eax, esi
add edi, eax
push str.CreateToolhelp32Snapshot__of_processes_
mov dword [0x455688], edi
call fcn.00429da6
add esp, 4
jmp 0x405c93
mov ecx, dword [0x455690]
imul edi, edi, 0x5715a
mov eax, 0x57ab2ce3
imul ecx
mov ecx, dword [0x4556a8]
sar edx, 0x12
imul ecx, ecx, 0xa0008
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
mov eax, 0xcccc28f7
imul esi
add edx, esi
sar edx, 0x13
mov eax, edx
add edi, ecx
shr eax, 0x1f
add eax, edx
sub edi, eax
mov eax, dword [0x4556a0]
lea ecx, [esp + 0x18]
sub edi, eax
push ecx
sub edi, 0x205c4
push ebp
mov dword [0x455690], edi
mov dword [esp + 0x20], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x405753
mov esi, dword [0x455698]
mov edx, dword [0x45568c]
imul esi, esi, 0x5715a
mov ecx, dword [0x45569c]
imul edx, edx, 0x6e7be
add esi, edx
mov eax, 0x30f1b28f
imul ecx
mov ecx, dword [str._r_____r____]
sar edx, 0x10
imul ecx, ecx, 0x8aa1b
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x4556a4]
sub esi, eax
add esi, edx
lea edx, [ecx + esi - 0x205c4]
push ebp
mov dword [0x455694], edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x405c93
mov ecx, dword [0x455698]
mov eax, 0x9e71fdc9
imul ecx
add edx, ecx
mov ecx, dword [0x4556a8]
sar edx, 0x13
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edi, eax
mov eax, 0x944b09c1
imul ecx
mov esi, dword [0x455694]
add edx, ecx
imul ecx, ecx, 0x205c4
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x4556a0]
imul edx, edx, 0x53aff
sub edi, eax
add edi, edx
mov eax, 0x3b1784cb
imul esi
sar edx, 0x11
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
sub edi, ecx
mov dword [0x455698], edi
mov edi, edi
mov ecx, dword [0x45568c]
mov edi, dword [0x455690]
mov eax, 0x1784740b
imul edi, edi, 0xdc98b
imul ecx
imul ecx, ecx, 0x8a933
sar edx, 0xf
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
add edi, ecx
mov eax, 0xcccc28f7
imul esi
mov ecx, esi
imul ecx, ecx, 0x205c4
add edx, esi
sar edx, 0x13
add edi, ecx
mov eax, edx
add edi, edx
lea ecx, [esp + 0x140]
shr eax, 0x1f
push ecx
lea edx, [esp + 0x40]
add eax, edi
push edx
mov dword [0x45569c], eax
call fcn.00433b2e
add esp, 8
test eax, eax
je 0x4059e6
mov ecx, dword [0x45568c]
mov esi, dword [0x455698]
mov eax, 0xa854d31d
imul esi, esi, 0x64985
imul ecx
mov ecx, dword [str._r_____r____]
sar edx, 0x12
imul ecx, ecx, 0xbae2b
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x20]
push edx
sub eax, esi
push 0
add eax, ecx
push 0x1f0fff
mov dword [0x4556a0], eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, dword [0x4556a8]
mov ebx, dword [0x45569c]
imul esi, esi, 0xcecf4
mov edi, eax
mov eax, dword [0x45568c]
imul eax, eax, 0x6e7be
add esi, eax
mov eax, 0x948af151
imul ebx
add edx, ebx
sar edx, 0x13
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub esi, ecx
mov ecx, dword [0x455694]
mov eax, 0x3b1784cb
imul ecx
sar edx, 0x11
mov ecx, edx
add esi, edx
shr ecx, 0x1f
add ecx, esi
mov esi, dword [0x455690]
mov eax, 0xcccc28f7
imul esi
add edx, esi
sar edx, 0x13
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
test edi, edi
mov dword [str._r_____r____], ecx
jne 0x4058fe
push 0x445f48
call fcn.00429da6
add esp, 4
jmp 0x4059cc
mov edx, dword [0x4556a4]
imul esi, esi, 0x205c4
mov eax, 0x1784740b
imul edx
sar edx, 0xf
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x4556a0]
imul edx, edx, 0xfff23675
sub edx, eax
mov dword [esp + 0x10], edx
mov eax, 0x3b1db3af
imul ebx
mov ebx, dword [esp + 0x10]
sar edx, 0x11
mov eax, edx
shr eax, 0x1f
add ebx, edx
add eax, ebx
sub eax, esi
mov esi, dword [0x455688]
add eax, ecx
add esi, eax
push edi
mov dword [0x455688], esi
call dword [sym.imp.KERNEL32.dll_GetPriorityClass]
test eax, eax
jne 0x40596e
push 0x445f34
call fcn.00429da6
add esp, 4
mov ecx, dword [0x45568c]
mov esi, dword [0x455690]
mov eax, 0x1784740b
imul esi, esi, 0xdc98b
imul ecx
imul ecx, ecx, 0x8a933
sar edx, 0xf
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
add esi, ecx
mov ecx, dword [0x455694]
mov edx, ecx
imul edx, edx, 0x205c4
add esi, edx
mov eax, 0xcccc28f7
imul ecx
add edx, ecx
sar edx, 0x13
mov eax, edx
shr eax, 0x1f
add esi, edx
add eax, esi
push edi
mov dword [0x45569c], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x18]
push ecx
push ebp
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x405a57
mov esi, dword [0x455694]
jmp 0x4057c0
mov ecx, dword [0x455698]
mov esi, dword [0x4556a8]
mov eax, 0x9e71fdc9
imul ecx
add edx, ecx
sar edx, 0x13
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, eax
mov eax, 0x944b09c1
imul esi
add edx, esi
imul esi, esi, 0x205c4
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x4556a0]
imul edx, edx, 0x53aff
sub ecx, eax
add ecx, edx
mov edx, dword [0x455694]
mov eax, 0x3b1784cb
imul edx
sar edx, 0x11
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
sub ecx, esi
mov esi, dword [esp + 0x20]
mov dword [0x455698], ecx
jmp 0x405a61
mov ecx, dword [0x455698]
mov esi, dword [esp + 0x14]
mov edx, dword [0x45568c]
imul ecx, ecx, 0x64985
mov eax, 0xa854d31d
imul edx
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add eax, edx
sub eax, ecx
mov ecx, dword [str._r_____r____]
imul ecx, ecx, 0xbae2b
add eax, ecx
push ebp
mov dword [0x4556a0], eax
call edi
mov edx, dword [0x4556a8]
mov ebx, dword [0x4556a0]
imul edx, edx, 0xcecf4
mov ecx, dword [0x45568c]
imul ebx, ebx, 0x6e7be
sub ebx, edx
mov eax, 0x30f1b28f
imul ecx
mov ecx, dword [0x455690]
sar edx, 0x10
add ebx, edx
mov ebp, edx
mov eax, 0x3b1784cb
imul ecx
shr ebp, 0x1f
sar edx, 0x11
add ebp, ebx
mov ebx, dword [0x455694]
mov ecx, edx
shr ecx, 0x1f
add ebp, edx
add ecx, ebp
sub ecx, ebx
add ecx, 0xbae2b
test esi, esi
mov dword [0x45568c], ecx
je 0x405c30
mov eax, dword [esp + 0x20]
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ecx, dword [0x455690]
mov ebx, dword [0x455688]
mov esi, eax
imul ebx, ebx, 0x5715a
mov eax, 0x57ab2ce3
imul ecx
sar edx, 0x12
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x4556a8]
imul edx, edx, 0xa0008
mov ebp, dword [0x4556a0]
sub ebx, ecx
mov ecx, dword [0x45569c]
add ebx, edx
mov eax, 0xcccc28f7
imul ecx
add edx, ecx
sar edx, 0x13
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
sub ebx, ebp
sub ebx, 0x205c4
test esi, esi
mov dword [0x455690], ebx
je 0x405c93
mov ebx, dword [0x455698]
mov edx, dword [0x45568c]
imul ebx, ebx, 0x5715a
imul edx, edx, 0x6e7be
mov ebp, dword [0x4556a4]
add ebx, edx
mov eax, 0x30f1b28f
imul ecx
mov ecx, dword [str._r_____r____]
sar edx, 0x10
imul ecx, ecx, 0x8aa1b
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
add ebx, ebp
push 0
lea edx, [ecx + ebx - 0x205c4]
push esi
mov dword [0x455694], edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [0x45568c]
mov ebx, dword [0x455698]
mov eax, 0xa854d31d
imul ebx, ebx, 0x64985
imul ecx
mov ecx, dword [str._r_____r____]
sar edx, 0x12
imul ecx, ecx, 0xbae2b
mov eax, edx
shr eax, 0x1f
add eax, edx
sub eax, ebx
add eax, ecx
push esi
mov dword [0x4556a0], eax
call edi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x234]
call fcn.0042909d
add esp, 0x238
ret
mov esi, dword [0x45569c]
mov edi, dword [0x455688]
mov eax, 0x948af151
imul edi, edi, 0x53aff
imul esi
add edx, esi
imul esi, esi, 0x8aa1b
sar edx, 0x13
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
mov eax, 0x3b1784cb
imul ecx
sar edx, 0x11
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
add edi, esi
sub edi, ecx
mov ecx, dword [0x4556a4]
mov eax, 0xcccc28f7
imul ecx
add edx, ecx
sar edx, 0x13
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
mov dword [0x4556a4], edi
mov ecx, dword [esp + 0x244]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
call fcn.0042909d
add esp, 0x238
ret