Function at 0x4064b0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
sub esp, 0x238
mov eax, dword [0x45e640]
mov edx, dword [esp + 0x23c]
xor eax, esp
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
push edx
push 0x44cffc
stosb byte es:[edi], al
lea eax, [esp + 0x148]
push 0x104
push eax
call fcn.00430bbc
mov ebx, dword [0x45ccd4]
mov ecx, dword [0x45cccc]
mov eax, 0x5c9900d1
imul ebx
sar edx, 0xb
mov esi, edx
shr esi, 0x1f
add esi, edx
mov eax, 0x4227fdad
imul ecx
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebp, eax
mov eax, 0xbb03c5cb
imul ebx
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edi, dword [0x45cce8]
mov ebx, eax
imul edi, edi, 0xa74
mov eax, 0x44fc3a35
imul ecx
sar edx, 0xb
mov eax, edx
sub ebx, ebp
add ebx, edx
mov edx, ecx
mov ecx, dword [0x45ccdc]
imul edx, edx, 0x1865
shr eax, 0x1f
imul ecx, ecx, 0x1545
add eax, ebx
mov ebx, dword [0x45cce4]
add edx, edi
add edx, eax
add ecx, edx
mov eax, 0x53f407b5
imul dword [0x45ccd0]
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebp, eax
mov eax, 0xc09370e3
imul ebx
add edx, ebx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45cce0]
add ecx, esi
add esp, 0x10
sub ebp, eax
imul edx, edx, 0x1481
mov dword [str._r_____r____], ecx
sub ebp, edx
imul ebx, ebx, 0x1259
mov eax, 0x6f9f33f1
imul dword [0x45ccd0]
sar edx, 0xb
add ebp, edx
mov eax, edx
mov edx, dword [0x45ccc8]
shr eax, 0x1f
imul edx, edx, 0x1259
add eax, ebp
add eax, edx
mov ebp, eax
mov eax, 0x2f1d432d
imul dword [0x45ccd0]
sar edx, 9
add ebp, edx
mov eax, edx
shr eax, 0x1f
add eax, ebp
mov ebp, dword [0x45cce0]
mov dword [0x45ccc8], eax
imul ebp, ebp, 0x1865
mov eax, 0xc09370e3
imul dword [0x45ccd4]
add edx, dword [0x45ccd4]
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add ebp, edx
add eax, ebp
add eax, ebx
mov ebx, eax
mov eax, 0x6614bc37
imul dword [0x45cccc]
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add ebx, edx
add eax, ebx
sub eax, edi
sub eax, ecx
push 0
lea ecx, [eax + esi + 0xae6]
push 2
mov dword [esp + 0x1c], 0
mov dword [0x45cccc], ecx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edx, dword [0x45ccd4]
mov esi, dword [0x45ccc8]
mov edi, dword [0x45ccd8]
mov ebx, eax
mov ecx, dword [0x45cce4]
lea ebp, [esi + edx]
mov eax, 0x4227fdad
imul ebp, ebp, 0xa08
imul edi
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebp, eax
mov eax, 0x44fc3a35
imul ecx
sar edx, 0xb
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, 0x5c9900d1
imul edi
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
sub ebp, ecx
mov ecx, dword [str._r_____r____]
add eax, edx
sub ebp, eax
mov edx, ecx
imul edx, edx, 0x161e
add ebp, edx
mov eax, 0x5df55b35
imul ecx
sar edx, 0xa
mov ecx, edx
shr ecx, 0x1f
add ebp, edx
add ecx, ebp
cmp ebx, 0xffffffff
mov dword [0x45cce4], ecx
jne 0x406789
mov edi, dword [0x45ccd0]
imul esi, esi, 0x1259
mov eax, 0x53f407b5
imul edi
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebx, eax
mov eax, 0xc09370e3
imul ecx
add edx, ecx
sar edx, 0xc
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x45cce0]
imul edx, edx, 0x1481
sub ebx, ecx
sub ebx, edx
mov eax, 0x6f9f33f1
imul edi
sar edx, 0xb
mov ecx, edx
add ebx, edx
mov eax, 0x2f1d432d
imul edi
shr ecx, 0x1f
add ecx, ebx
sar edx, 9
add ecx, esi
mov eax, edx
shr eax, 0x1f
add ecx, edx
add eax, ecx
push str.CreateToolhelp32Snapshot__of_processes_
mov dword [0x45ccc8], eax
call fcn.00430b56
add esp, 4
jmp 0x406f81
mov edx, dword [0x45ccdc]
imul esi, esi, 0x1545
mov eax, 0x44fc3a35
imul edx
sar edx, 0xb
mov eax, edx
mov ebp, edi
imul ebp, ebp, 0x1db0
shr eax, 0x1f
add eax, edx
sub ebp, eax
mov eax, 0x6f9f33f1
imul edi
add ebp, esi
sar edx, 0xb
mov esi, edx
add ebp, edx
mov edx, dword [0x45ccd0]
mov eax, 0x5df55b35
imul edx
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45cce8]
imul edx, edx, 0xa74
shr esi, 0x1f
add esi, ebp
sub esi, eax
add esi, edx
lea eax, [esp + 0x18]
sub esi, ecx
push eax
sub esi, 0x1259
push ebx
mov dword [0x45ccd0], esi
mov dword [esp + 0x20], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x406882
mov esi, dword [0x45ccdc]
mov ecx, dword [str._r_____r____]
mov edx, dword [0x45ccd8]
lea edi, [edx + ecx]
imul ecx, ecx, 0x161e
imul edi, edi, 0x1545
mov eax, esi
imul eax, eax, 0x1865
add edi, eax
mov eax, 0x5c9900d1
imul esi
sar edx, 0xb
mov ebp, edx
add edi, edx
mov eax, 0x6614bc37
imul esi
shr ebp, 0x1f
add ebp, edi
add ebp, ecx
sar edx, 0xa
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x45cce0]
sub ebp, ecx
lea eax, [edx + ebp - 0x1259]
push ebx
mov dword [0x45ccd4], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x406f81
mov ecx, dword [0x45cce8]
mov esi, dword [0x45ccc8]
mov eax, 0x53f407b5
imul esi, esi, 0x161e
imul ecx
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45ccd4]
sub esi, eax
mov eax, 0x5c9900d1
imul edx
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, ecx
imul edx, edx, 0x1259
sub esi, eax
sub esi, edx
mov eax, 0x61f60d03
imul ecx
mov ecx, dword [0x45cce0]
sar edx, 0xa
add esi, edx
mov edi, edx
mov eax, 0x6614bc37
imul ecx
shr edi, 0x1f
sar edx, 0xa
add edi, esi
add edi, edx
mov eax, edx
mov edx, ecx
imul edx, edx, 0xa08
shr eax, 0x1f
add eax, edi
add eax, edx
mov dword [0x45ccd8], eax
jmp 0x406910
mov esi, dword [0x45cccc]
imul ecx, ecx, 0xade
mov eax, dword [0x45ccd0]
mov edi, dword [0x45cce4]
lea ebp, [eax + esi]
mov eax, 0x44fc3a35
imul ebp, ebp, 0x1ef5
imul edi
sar edx, 0xb
mov eax, edx
add ebp, edx
shr eax, 0x1f
add eax, ebp
mov ebp, eax
mov eax, 0x5c9900d1
imul edi
sar edx, 0xb
mov edi, edx
add ebp, edx
mov eax, 0xc09370e3
imul esi
add edx, esi
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45ccdc]
imul edx, edx, 0x1259
shr edi, 0x1f
add edi, ebp
sub edi, eax
add edi, edx
add edi, ecx
lea eax, [esp + 0x140]
push eax
lea ecx, [esp + 0x40]
push ecx
mov dword [0x45ccdc], edi
call fcn.0043a98e
add esp, 8
test eax, eax
je 0x406bf5
mov ecx, dword [0x45cce8]
mov edx, dword [0x45ccd0]
lea esi, [edx + ecx]
mov eax, 0x4227fdad
imul esi, esi, 0xae6
imul ecx
mov eax, dword [0x45ccdc]
mov ecx, dword [0x45ccd8]
imul eax, eax, 0x1259
sar edx, 0xb
imul ecx, ecx, 0xade
mov edi, edx
shr edi, 0x1f
add esi, edx
add edi, esi
sub edi, eax
add edi, ecx
mov ecx, dword [0x45cccc]
mov eax, 0x5df55b35
imul ecx
mov ecx, dword [0x45ccd4]
sar edx, 0xa
imul ecx, ecx, 0xa74
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x20]
push edx
sub edi, eax
push 0
sub edi, ecx
push 0x1f0fff
mov dword [0x45cce0], edi
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ecx, dword [0x45cccc]
mov esi, eax
mov edi, dword [0x45ccd4]
mov eax, 0x4227fdad
imul ecx
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebp, eax
mov eax, 0xbb03c5cb
imul edi
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
sub eax, ebp
mov dword [esp + 0x10], eax
mov eax, 0x44fc3a35
imul ecx
imul ecx, ecx, 0x1865
mov eax, dword [esp + 0x10]
sar edx, 0xb
add eax, edx
mov ebp, edx
shr ebp, 0x1f
add ebp, eax
mov eax, 0x5c9900d1
imul edi
mov eax, dword [0x45cce8]
add ebp, ecx
imul eax, eax, 0xa74
sar edx, 0xb
add ebp, edx
mov ecx, edx
mov edx, dword [0x45ccdc]
imul edx, edx, 0x1545
shr ecx, 0x1f
add ecx, ebp
add ecx, edx
add ecx, eax
test esi, esi
mov dword [str._r_____r____], ecx
jne 0x406ac3
push 0x44cfc8
call fcn.00430b56
add esp, 4
jmp 0x406bd7
mov ecx, dword [0x45ccd0]
mov edi, dword [0x45cce4]
mov eax, 0x53f407b5
imul ecx
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebp, eax
mov eax, 0xc09370e3
imul edi
add edx, edi
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45cce0]
imul edx, edx, 0x1481
sub ebp, eax
sub ebp, edx
mov eax, 0x6f9f33f1
imul ecx
mov eax, dword [0x45ccc8]
imul eax, eax, 0x1259
sar edx, 0xb
mov edi, edx
add ebp, edx
shr edi, 0x1f
add edi, ebp
add edi, eax
mov eax, 0x2f1d432d
imul ecx
sar edx, 9
mov ecx, edx
shr ecx, 0x1f
add edi, edx
add ecx, edi
push esi
mov dword [0x45ccc8], ecx
call dword [sym.imp.KERNEL32.dll_GetPriorityClass]
test eax, eax
jne 0x406b56
push 0x44cfb4
call fcn.00430b56
add esp, 4
mov ecx, dword [0x45cccc]
mov edx, dword [0x45ccd0]
mov edi, dword [0x45cce4]
lea ebp, [edx + ecx]
mov eax, 0x44fc3a35
imul ebp, ebp, 0x1ef5
imul edi
sar edx, 0xb
mov eax, edx
add ebp, edx
shr eax, 0x1f
add eax, ebp
mov ebp, eax
mov eax, 0x5c9900d1
imul edi
sar edx, 0xb
mov edi, edx
add ebp, edx
mov eax, 0xc09370e3
imul ecx
add edx, ecx
mov ecx, dword [0x45ccdc]
sar edx, 0xc
imul ecx, ecx, 0x1259
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45cce0]
shr edi, 0x1f
imul edx, edx, 0xade
add edi, ebp
sub edi, eax
add edi, ecx
add edi, edx
push esi
mov dword [0x45ccdc], edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x18]
push eax
push ebx
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x406c85
mov ecx, dword [0x45cce0]
jmp 0x406910
mov esi, dword [0x45cce8]
mov edi, dword [0x45ccd4]
mov ebp, dword [0x45ccc8]
mov eax, 0x53f407b5
imul ebp, ebp, 0x161e
imul esi
sar edx, 0xb
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, 0x5c9900d1
imul edi
sar edx, 0xb
sub ebp, ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebp, eax
mov eax, 0x61f60d03
imul esi
mov ecx, esi
imul ecx, ecx, 0x1259
sub ebp, ecx
sar edx, 0xa
add ebp, edx
mov eax, edx
shr eax, 0x1f
add eax, ebp
mov ebp, dword [0x45cce0]
mov dword [esp + 0x10], eax
mov eax, 0x6614bc37
imul ebp
imul ebp, ebp, 0xa08
mov eax, dword [esp + 0x10]
sar edx, 0xa
mov ecx, edx
shr ecx, 0x1f
add eax, edx
add ecx, eax
add ecx, ebp
mov ebp, dword [esp + 0x20]
mov dword [0x45ccd8], ecx
jmp 0x406c9b
mov edi, dword [0x45ccd4]
mov esi, dword [0x45cce8]
mov ecx, dword [0x45ccd8]
mov ebp, dword [esp + 0x14]
mov edx, dword [0x45ccd0]
imul ecx, ecx, 0xade
imul edi, edi, 0xa74
lea eax, [edx + esi]
imul eax, eax, 0xae6
mov dword [esp + 0x14], eax
mov eax, 0x4227fdad
imul esi
mov eax, dword [esp + 0x14]
sar edx, 0xb
add eax, edx
mov esi, edx
shr esi, 0x1f
add esi, eax
mov eax, dword [0x45ccdc]
imul eax, eax, 0x1259
sub esi, eax
add esi, ecx
mov ecx, dword [0x45cccc]
mov eax, 0x5df55b35
imul ecx
sar edx, 0xa
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub esi, ecx
sub esi, edi
push ebx
mov dword [0x45cce0], esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x45ccd4]
mov esi, dword [0x45cce0]
imul esi, esi, 0x1865
mov eax, 0x5c9900d1
imul ecx
sar edx, 0xb
add esi, edx
mov edi, edx
mov eax, 0xc09370e3
imul ecx
mov eax, dword [0x45cce8]
add edx, ecx
imul eax, eax, 0xa74
sar edx, 0xc
shr edi, 0x1f
add edi, esi
mov esi, edx
add edi, edx
shr esi, 0x1f
add esi, edi
mov edi, dword [0x45cce4]
mov edx, edi
imul edx, edx, 0x1259
add esi, edx
mov edx, dword [0x45cccc]
sub esi, eax
mov eax, 0x6614bc37
imul edx
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add esi, edx
add eax, esi
mov esi, dword [str._r_____r____]
sub eax, esi
add eax, 0xae6
test ebp, ebp
mov dword [0x45cccc], eax
je 0x406f11
mov ecx, dword [esp + 0x20]
push ecx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, dword [0x45ccdc]
mov ebx, dword [0x45ccd8]
mov edi, eax
mov eax, 0x44fc3a35
imul esi
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45ccc8]
imul edx, edx, 0x1545
mov ecx, ebx
imul ecx, ecx, 0x1db0
sub ecx, eax
add ecx, edx
mov eax, 0x6f9f33f1
imul ebx
sar edx, 0xb
add ecx, edx
mov ebp, edx
shr ebp, 0x1f
add ebp, ecx
mov ecx, dword [0x45ccd0]
mov eax, 0x5df55b35
imul ecx
mov ecx, dword [0x45cce8]
sar edx, 0xa
imul ecx, ecx, 0xa74
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45cce4]
sub ebp, eax
add ebp, ecx
sub ebp, edx
sub ebp, 0x1259
test edi, edi
mov dword [0x45ccd0], ebp
je 0x406f81
mov ecx, dword [str._r_____r____]
add ebx, ecx
imul ecx, ecx, 0x161e
mov edx, esi
imul ebx, ebx, 0x1545
imul edx, edx, 0x1865
add ebx, edx
mov eax, 0x5c9900d1
imul esi
sar edx, 0xb
mov ebp, edx
add ebx, edx
mov eax, 0x6614bc37
imul esi
sar edx, 0xa
shr ebp, 0x1f
mov eax, edx
add ebp, ebx
shr eax, 0x1f
add ebp, ecx
mov ecx, dword [0x45cce0]
add eax, edx
sub ebp, eax
push 0
lea edx, [ecx + ebp - 0x1259]
push edi
mov dword [0x45ccd4], edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [0x45cce8]
mov eax, dword [0x45ccd0]
lea esi, [eax + ecx]
mov eax, 0x4227fdad
imul esi, esi, 0xae6
imul ecx
mov ecx, dword [0x45ccdc]
sar edx, 0xb
imul ecx, ecx, 0x1259
mov ebx, edx
add esi, edx
mov edx, dword [0x45ccd8]
imul edx, edx, 0xade
shr ebx, 0x1f
add ebx, esi
sub ebx, ecx
mov ecx, dword [0x45cccc]
add ebx, edx
mov eax, 0x5df55b35
imul ecx
mov ecx, dword [0x45ccd4]
sar edx, 0xa
imul ecx, ecx, 0xa74
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
sub ebx, ecx
push edi
mov dword [0x45cce0], ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x406f83
mov edx, dword [0x45ccc8]
lea ebx, [edx + ecx]
mov ecx, dword [0x45ccd8]
imul ebx, ebx, 0xa08
mov eax, 0x4227fdad
imul ecx
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
mov eax, 0x44fc3a35
imul edi
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
mov eax, 0x5c9900d1
imul ecx
sar edx, 0xb
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, esi
imul edx, edx, 0x161e
sub ebx, ecx
add ebx, edx
mov eax, 0x5df55b35
imul esi
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add ebx, edx
add eax, ebx
mov dword [0x45cce4], eax
xor eax, eax
mov ecx, dword [esp + 0x244]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0042fe7d
add esp, 0x238
ret