Function at 0x416790
Capabilities:
Enumerate processes
Terminate process

Disassembly:
sub esp, 0x234
mov eax, dword [0x452ad4]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x240], eax
xor eax, eax
mov byte [esp + 0x13c], 0
mov ecx, 0x40
lea edi, [esp + 0x13d]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x248]
push eax
push 0x442000
lea ecx, [esp + 0x144]
push 0x104
push ecx
call fcn.0042637d
mov esi, dword [0x451a78]
mov ecx, dword [0x451a84]
mov edi, dword [0x451a6c]
imul ecx, ecx, 0xe8
mov eax, 0xfe03f81
imul esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, ecx
sub edx, eax
sub edx, dword [0x451a68]
lea ebx, [edx + edi + 0x21b]
mov eax, 0xa29ecf17
imul esi
add edx, esi
mov esi, dword [0x451a7c]
sar edx, 8
mov ebp, esi
imul esi, esi, 0x21e
imul ebp, ebp, 0xfffffefe
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x451a80]
sub ebp, eax
mov eax, 0x43b3d5b
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x451a64]
sub ebp, eax
add ebp, ebx
lea eax, [edx + ebp - 0xd8]
mov dword [0x451a64], eax
mov eax, 0x577f7cc1
imul edi
mov edi, dword [0x451a70]
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, esi
sub eax, ecx
add esp, 0x10
xor ebp, ebp
sub eax, edi
push ebp
add eax, 0x33e
push 2
mov dword [str._r_____r_____n], ebx
mov dword [0x451a68], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ecx, dword [0x451a80]
mov ebx, eax
mov eax, 0xae4c415d
imul ecx
mov esi, dword [0x451a78]
mov edi, dword [0x451a64]
add edx, ecx
sar edx, 9
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov ecx, esi
imul ecx, ecx, 0x2ed
mov eax, edi
imul eax, eax, 0x219
sub ecx, edx
add ecx, eax
sub ecx, dword [0x451a68]
add ecx, 0x1eb
cmp ebx, 0xffffffff
mov dword [0x451a80], ecx
jne 0x416955
mov eax, 0xa29ecf17
imul esi
add edx, esi
mov esi, dword [0x451a7c]
sar edx, 8
imul esi, esi, 0xfffffefe
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov eax, 0x43b3d5b
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [str._r_____r_____n]
sub esi, ecx
add esi, edx
lea edx, [edi + esi - 0xd8]
push str.CreateToolhelp32Snapshot__of_processes_
mov dword [0x451a64], edx
call fcn.00425cfd
add esp, 4
jmp 0x416e5b
mov ecx, dword [0x451a6c]
mov eax, 0xae4c415d
imul esi
add edx, esi
sar edx, 9
mov eax, edx
mov edi, dword [0x451a7c]
shr eax, 0x1f
add eax, edx
mov esi, eax
mov eax, 0x2053e08b
imul ecx
sub edx, ecx
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x451a84]
sub ecx, esi
sub ecx, edi
lea eax, [ecx + edx - 0xd2]
lea ecx, [esp + 0x14]
push ecx
push ebx
mov dword [0x451a6c], eax
mov dword [esp + 0x1c], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x416a04
mov ecx, dword [0x451a78]
mov esi, dword [0x451a80]
mov eax, 0x7a0a7ce7
imul ecx
mov ecx, dword [0x451a68]
sar edx, 8
imul ecx, ecx, 0x21e
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x451a74]
imul edx, edx, 0x79
sub ecx, eax
add ecx, esi
lea eax, [edx + ecx + 0x215]
push ebx
mov dword [0x451a70], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x416e5b
mov ecx, dword [0x451a70]
mov esi, dword [0x451a74]
mov eax, 0x577f7cc1
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edi, eax
mov eax, 0x8d3dcb09
imul esi
add edx, esi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x451a84]
imul edx, edx, 0xd9
sub eax, edi
sub eax, edx
add eax, 0x506
mov dword [0x451a74], eax
mov edx, dword [0x451a68]
imul ecx, ecx, 0xd9
mov eax, edx
imul eax, eax, 0x193
sub ecx, eax
mov eax, dword [0x451a6c]
imul eax, eax, 0x102
add ecx, eax
mov eax, 0x43b3d5b
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov dword [0x451a78], ecx
lea ecx, [esp + 0x13c]
push ecx
lea edx, [esp + 0x3c]
push edx
call fcn.0042f98e
add esp, 8
test eax, eax
je 0x416c1f
mov ecx, dword [0x451a68]
mov esi, dword [0x451a74]
mov eax, 0xdfac1f75
imul esi, esi, 0xab
imul ecx
add edx, ecx
mov ecx, dword [str._r_____r_____n]
sar edx, 8
imul ecx, ecx, 0x125
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov eax, dword [esp + 0x1c]
push eax
push 0
lea edx, [esi + ecx - 0xd8]
push 0x1f0fff
mov dword [0x451a7c], edx
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ecx, dword [0x451a78]
mov esi, eax
mov eax, 0xfe03f81
imul ecx
mov edi, dword [0x451a68]
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x451a84]
imul edx, edx, 0xe8
sub edx, eax
mov eax, dword [0x451a6c]
sub edx, edi
test esi, esi
lea edi, [edx + eax + 0x21b]
mov dword [str._r_____r_____n], edi
jne 0x416b51
push 0x441fcc
call fcn.00425cfd
add esp, 4
jmp 0x416c05
mov eax, 0xa29ecf17
imul ecx
mov eax, dword [0x451a7c]
add edx, ecx
imul eax, eax, 0xfffffefe
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub eax, ecx
mov ecx, dword [0x451a80]
mov dword [esp + 0x10], eax
mov eax, 0x43b3d5b
imul ecx
mov ecx, dword [esp + 0x10]
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x451a64]
sub ecx, eax
add ecx, edi
lea eax, [edx + ecx - 0xd8]
push esi
mov dword [0x451a64], eax
call dword [sym.imp.KERNEL32.dll_GetPriorityClass]
test eax, eax
jne 0x416bbd
push 0x441fb8
call fcn.00425cfd
add esp, 4
mov ecx, dword [0x451a68]
mov edi, dword [0x451a70]
mov eax, dword [0x451a6c]
imul edi, edi, 0xd9
mov edx, ecx
imul eax, eax, 0x102
imul edx, edx, 0x193
sub edi, edx
add edi, eax
mov eax, 0x43b3d5b
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub edi, ecx
push esi
mov dword [0x451a78], edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esp + 0x14]
push edx
push ebx
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x416c73
mov ecx, dword [0x451a70]
jmp 0x416a50
mov ecx, dword [0x451a70]
mov eax, 0x577f7cc1
imul ecx
mov ecx, dword [0x451a74]
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
mov esi, eax
mov eax, 0x8d3dcb09
imul ecx
add edx, ecx
mov ebp, dword [esp + 0x1c]
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x451a84]
imul edx, edx, 0xd9
sub ecx, esi
sub ecx, edx
add ecx, 0x506
mov dword [0x451a74], ecx
jmp 0x416c79
mov ecx, dword [0x451a74]
mov esi, dword [0x451a68]
imul ecx, ecx, 0xab
mov eax, 0xdfac1f75
imul esi
add edx, esi
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [str._r_____r_____n]
imul edx, edx, 0x125
sub ecx, eax
lea eax, [ecx + edx - 0xd8]
push ebx
mov dword [0x451a7c], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x451a6c]
mov eax, 0x577f7cc1
imul ecx
mov eax, dword [0x451a84]
mov esi, dword [0x451a70]
imul eax, eax, 0xe8
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x451a7c]
imul edx, edx, 0x21e
add ecx, edx
sub ecx, eax
sub ecx, esi
add ecx, 0x33e
test ebp, ebp
mov dword [0x451a68], ecx
je 0x416e19
mov ecx, dword [esp + 0x1c]
push ecx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, dword [0x451a78]
mov ecx, dword [0x451a6c]
mov esi, eax
mov eax, 0xae4c415d
imul edi
add edx, edi
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebx, eax
mov eax, 0x2053e08b
imul ecx
sub edx, ecx
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x451a7c]
sub ecx, ebx
sub ecx, edx
test esi, esi
mov edx, dword [0x451a84]
lea eax, [ecx + edx - 0xd2]
mov dword [0x451a6c], eax
je 0x416e5b
mov eax, 0x7a0a7ce7
imul edi
mov eax, dword [0x451a74]
sar edx, 8
imul eax, eax, 0x79
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x451a68]
imul edx, edx, 0x21e
sub edx, ecx
add edx, dword [0x451a80]
push 0
lea ecx, [eax + edx + 0x215]
push esi
mov dword [0x451a70], ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [0x451a68]
mov edi, dword [0x451a74]
mov eax, 0xdfac1f75
imul edi, edi, 0xab
imul ecx
add edx, ecx
mov ecx, dword [str._r_____r_____n]
sar edx, 8
imul ecx, ecx, 0x125
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
lea edx, [edi + ecx - 0xd8]
push esi
mov dword [0x451a7c], edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x230]
call fcn.00424ef1
add esp, 0x234
ret
mov esi, dword [0x451a80]
mov eax, 0xae4c415d
imul esi
add edx, esi
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x451a78]
imul edx, edx, 0x2ed
sub edx, eax
mov eax, dword [0x451a64]
imul eax, eax, 0x219
add edx, eax
sub edx, ecx
add edx, 0x1eb
mov dword [0x451a80], edx
mov ecx, dword [esp + 0x240]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
call fcn.00424ef1
add esp, 0x234
ret