Function at 0x405480
Capabilities:
Enumerate processes
Terminate process

Disassembly:
sub esp, 0x238
mov eax, dword [0x458000]
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 0x446fcc
lea ecx, [esp + 0x148]
push 0x104
push ecx
call fcn.0042a6ab
mov ebx, dword [0x45668c]
mov eax, 0x95e7555
imul dword [0x456694]
sar edx, 9
mov ecx, edx
mov edi, ebx
imul edi, edi, 0xdcfc
add edi, edx
mov ebp, dword [0x45669c]
shr ecx, 0x1f
add ecx, edi
mov edi, dword [0x456690]
mov eax, 0x5bdd0ecb
imul edi
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov eax, 0x6000f003
imul ebp
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov edx, edi
mov edi, dword [0x4566a0]
imul edx, edx, 0xdd0b
mov eax, edi
imul eax, eax, 0xffff5557
sub eax, edx
mov dword [esp + 0x20], eax
mov esi, dword [0x4566a8]
mov eax, 0x55072b69
imul esi, esi, 0x3117
imul ebp
mov eax, dword [esp + 0x20]
sar edx, 0xf
add eax, edx
mov ebp, edx
mov edx, dword [0x4566a4]
shr ebp, 0x1f
add ebp, eax
mov eax, 0x80df83a9
imul edx
add edx, dword [0x4566a4]
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x456688]
add ecx, esi
sub ebp, eax
add ebp, ecx
add esp, 0x10
add edx, ebp
mov dword [0x456684], ecx
mov dword [0x456688], edx
mov dword [esp + 0x14], 0
mov eax, 0x95e7555
imul edi, edi, 0xdcfc
imul dword [0x456690]
sar edx, 9
add edi, edx
mov ecx, edx
mov eax, 0xb73ab967
imul ebx
add edx, ebx
shr ecx, 0x1f
sar edx, 0xf
add ecx, edi
mov edi, dword [0x456694]
mov eax, edx
shr eax, 0x1f
add ecx, edx
add eax, ecx
sub eax, esi
sub eax, edi
push 0
add eax, 0xdbb5
push 2
mov dword [0x45668c], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edx, dword [0x45668c]
mov esi, dword [0x45669c]
mov ebp, eax
mov edi, dword [0x456688]
mov eax, 0x95e7555
imul edx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, esi
imul ecx, ecx, 0x36a6
sub ecx, eax
mov edx, edi
imul edx, edx, 0xb2d6
add ecx, edx
mov edx, dword [0x4566a4]
mov eax, 0x5bdd0ecb
imul edx
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov eax, 0x6000f003
imul esi
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
cmp ebp, 0xffffffff
mov dword [0x4566a4], ecx
jne 0x4056cb
mov edx, dword [0x456690]
mov ebx, dword [0x4566a0]
imul edx, edx, 0xdd0b
imul ebx, ebx, 0xffff5557
sub ebx, edx
mov eax, 0x55072b69
imul esi
sar edx, 0xf
add ebx, edx
mov esi, edx
mov eax, 0x80df83a9
imul ecx
add edx, ecx
sar edx, 0xe
mov eax, edx
shr esi, 0x1f
shr eax, 0x1f
add esi, ebx
mov ebx, dword [0x456684]
add eax, edx
sub esi, eax
add esi, ebx
add edi, esi
push str.CreateToolhelp32Snapshot__of_processes_
mov dword [0x456688], edi
call fcn.0042a645
add esp, 4
jmp 0x405ce2
mov ecx, dword [0x456690]
imul edi, edi, 0x7f22
mov ebx, dword [0x4566a8]
mov eax, 0x9524e185
imul ebx, ebx, 0xb25a
imul ecx
add edx, ecx
sar edx, 0xf
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, 0x5bdd0ecb
imul esi
sar edx, 0xe
sub ebx, ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
mov eax, dword [0x4566a0]
add ebx, edi
lea ecx, [esp + 0x18]
sub ebx, eax
push ecx
sub ebx, 0xdd0b
push ebp
mov dword [0x456690], ebx
mov dword [esp + 0x20], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x405799
mov esi, dword [0x45668c]
mov edx, dword [0x456684]
imul esi, esi, 0xdcfc
mov ecx, dword [0x45669c]
imul edx, edx, 0x36a6
add esi, edx
mov eax, 0xb73ab967
imul ecx
add edx, ecx
mov ecx, dword [0x456698]
sar edx, 0xf
imul ecx, ecx, 0x7f22
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x4566a4]
sub esi, eax
add esi, edx
lea edx, [ecx + esi - 0xdd0b]
push ebp
mov dword [0x456694], edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x405ce2
mov ecx, dword [0x4566a8]
mov eax, 0x6bb7d05b
imul ecx
sub edx, ecx
sar edx, 0xf
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edi, eax
mov esi, ecx
mov ecx, dword [0x456694]
imul esi, esi, 0xdd0b
mov eax, 0x95e7555
imul ecx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x4566a0]
imul edx, edx, 0xb2d6
sub edi, esi
sub edi, eax
add edi, edx
mov edx, dword [0x456698]
mov eax, 0x14dc1615
imul edx
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add edi, edx
add eax, edi
mov dword [0x456698], eax
mov esi, ecx
mov eax, 0x5bdd0ecb
imul esi, esi, 0xdd0b
imul ecx
mov ecx, dword [0x456690]
sar edx, 0xe
imul ecx, ecx, 0xaaa9
mov edi, edx
add esi, edx
shr edi, 0x1f
add edi, esi
add edi, ecx
mov ecx, dword [0x45668c]
mov edx, ecx
imul edx, edx, 0x18161
add edi, edx
mov eax, 0x80df83a9
imul ecx
add edx, ecx
sar edx, 0xe
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 [0x45669c], edi
call fcn.0043439e
add esp, 8
test eax, eax
je 0x405a30
mov ecx, dword [0x45668c]
mov esi, dword [0x456698]
mov eax, 0x9524e185
imul esi, esi, 0x733f
imul ecx
add edx, ecx
mov ecx, dword [0x456684]
sar edx, 0xf
imul ecx, ecx, 0xdbb5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x20]
push edx
sub esi, eax
push 0
add esi, ecx
push 0x1f0fff
mov dword [0x4566a0], esi
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ecx, dword [0x456694]
mov edi, dword [0x45668c]
mov esi, eax
imul edi, edi, 0xdcfc
mov eax, 0x95e7555
imul ecx
sar edx, 9
mov ecx, edx
add edi, edx
shr ecx, 0x1f
add ecx, edi
mov edi, dword [0x456690]
mov eax, 0x5bdd0ecb
imul edi
mov ebx, dword [0x45669c]
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x4566a8]
imul edx, edx, 0x3117
sub ecx, eax
add ecx, edx
mov eax, 0x6000f003
imul ebx
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
test esi, esi
mov dword [0x456684], ecx
jne 0x405944
push 0x446f98
call fcn.0042a645
add esp, 4
jmp 0x405a16
mov eax, dword [0x4566a0]
imul edi, edi, 0xdd0b
imul eax, eax, 0xffff5557
sub eax, edi
mov edi, dword [0x4566a4]
mov dword [esp + 0x10], eax
mov eax, 0x55072b69
imul ebx
mov eax, dword [esp + 0x10]
sar edx, 0xf
add eax, edx
mov ebx, edx
shr ebx, 0x1f
add ebx, eax
mov eax, 0x80df83a9
imul edi
add edx, edi
mov edi, dword [0x456688]
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
add ebx, ecx
add edi, ebx
push esi
mov dword [0x456688], edi
call dword [sym.imp.KERNEL32.dll_GetPriorityClass]
test eax, eax
jne 0x4059b5
push 0x446f84
call fcn.0042a645
add esp, 4
mov ecx, dword [0x456694]
mov edi, ecx
mov eax, 0x5bdd0ecb
imul edi, edi, 0xdd0b
imul ecx
mov ecx, dword [0x456690]
sar edx, 0xe
imul ecx, ecx, 0xaaa9
mov ebx, edx
add edi, edx
shr ebx, 0x1f
add ebx, edi
add ebx, ecx
mov ecx, dword [0x45668c]
mov edx, ecx
imul edx, edx, 0x18161
add ebx, edx
mov eax, 0x80df83a9
imul ecx
add edx, ecx
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
push esi
mov dword [0x45669c], ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x18]
push ecx
push ebp
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x405aa1
mov ecx, dword [0x456694]
jmp 0x405803
mov ecx, dword [0x4566a8]
mov eax, 0x6bb7d05b
imul ecx
sub edx, ecx
sar edx, 0xf
mov eax, edx
shr eax, 0x1f
add eax, edx
mov esi, ecx
mov ecx, dword [0x456694]
imul esi, esi, 0xdd0b
mov edi, eax
mov eax, 0x95e7555
imul ecx
sar edx, 9
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x4566a0]
imul edx, edx, 0xb2d6
sub edi, esi
sub edi, ecx
mov ecx, dword [0x456698]
add edi, edx
mov eax, 0x14dc1615
imul ecx
sar edx, 0xa
mov ecx, edx
add edi, edx
shr ecx, 0x1f
add ecx, edi
mov edi, dword [esp + 0x20]
mov dword [0x456698], ecx
jmp 0x405aab
mov ecx, dword [0x456698]
mov edi, dword [esp + 0x14]
mov esi, dword [0x45668c]
imul ecx, ecx, 0x733f
mov eax, 0x9524e185
imul esi
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
add edx, esi
sar edx, 0xf
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x456684]
imul edx, edx, 0xdbb5
sub ecx, eax
add ecx, edx
push ebp
mov dword [0x4566a0], ecx
call ebx
mov ecx, dword [0x456690]
mov esi, dword [0x4566a0]
mov eax, 0x95e7555
imul esi, esi, 0xdcfc
imul ecx
mov ecx, dword [0x45668c]
sar edx, 9
add esi, edx
mov ebp, edx
mov eax, 0xb73ab967
imul ecx
mov eax, dword [0x4566a8]
add edx, ecx
imul eax, eax, 0x3117
shr ebp, 0x1f
sar edx, 0xf
add ebp, esi
mov esi, dword [0x456694]
mov ecx, edx
shr ecx, 0x1f
add ebp, edx
add ecx, ebp
sub ecx, eax
sub ecx, esi
add ecx, 0xdbb5
test edi, edi
mov dword [0x45668c], ecx
je 0x405c81
mov ecx, dword [esp + 0x20]
push ecx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ecx, dword [0x456690]
mov edi, dword [0x4566a8]
mov esi, eax
imul edi, edi, 0xb25a
mov eax, 0x9524e185
imul ecx
add edx, ecx
mov ecx, dword [0x45669c]
sar edx, 0xf
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
mov eax, 0x5bdd0ecb
imul ecx
mov ebp, dword [0x4566a0]
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x456688]
imul edx, edx, 0x7f22
sub edi, eax
add edi, edx
sub edi, ebp
sub edi, 0xdd0b
test esi, esi
mov dword [0x456690], edi
je 0x405ce2
mov edi, dword [0x45668c]
mov eax, dword [0x456684]
imul edi, edi, 0xdcfc
imul eax, eax, 0x36a6
add edi, eax
mov ebp, dword [0x4566a4]
mov eax, 0xb73ab967
imul ecx
add edx, ecx
sar edx, 0xf
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x456698]
imul edx, edx, 0x7f22
sub edi, ecx
add edi, ebp
push 0
lea eax, [edx + edi - 0xdd0b]
push esi
mov dword [0x456694], eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [0x45668c]
mov edi, dword [0x456698]
mov eax, 0x9524e185
imul edi, edi, 0x733f
imul ecx
add edx, ecx
sar edx, 0xf
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x456684]
imul edx, edx, 0xdbb5
sub edi, ecx
add edi, edx
push esi
mov dword [0x4566a0], edi
call ebx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x234]
call fcn.00429911
add esp, 0x238
ret
mov esi, dword [0x45669c]
mov eax, 0x95e7555
imul ecx
mov ecx, dword [0x456688]
sar edx, 9
imul ecx, ecx, 0xb2d6
mov edi, esi
imul edi, edi, 0x36a6
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
add edi, ecx
mov ecx, dword [0x4566a4]
mov eax, 0x5bdd0ecb
imul ecx
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
mov eax, 0x6000f003
imul esi
sar edx, 0xe
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub edi, ecx
mov dword [0x4566a4], edi
mov ecx, dword [esp + 0x244]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
call fcn.00429911
add esp, 0x238
ret