Function at 0x40ba10
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x93c
mov eax, dword [0x459190]
mov dword [esp + 0x938], eax
push ebx
push esi
push edi
mov ecx, dword [0x457824]
mov eax, 0x77c150d
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
mov esi, eax
mov eax, 0x9ad70599
imul ecx
add edx, ecx
sar edx, 0xc
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x457838]
imul edx, edx, 0x1685
sub esi, ecx
mov ecx, dword [0x45781c]
add esi, edx
mov eax, 0xb7fe3405
imul ecx
add edx, ecx
mov ecx, dword [0x457830]
imul ecx, ecx, 0x10e6
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp + 8]
sub esi, eax
add esi, ecx
xor eax, eax
mov byte [esp + 0x140], 0
mov ecx, 0x1ff
lea edi, [esp + 0x141]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push edx
stosb byte es:[edi], al
lea eax, [esp + 0x144]
push 0x447fbc
push eax
mov dword [str._r_____r____], esi
call fcn.0042a8b1
mov edi, dword [0x457834]
mov ecx, dword [0x457818]
mov eax, 0xf00f00f1
imul ecx, ecx, 0x2220
imul edi
add edx, edi
mov esi, dword [0x457820]
sar edx, 0xd
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
add ebx, ecx
mov ecx, dword [0x457830]
mov edx, ecx
imul edx, edx, 0x1643
sub ebx, edx
mov eax, 0x8f2b7b75
imul esi
add edx, esi
sar edx, 0xb
add ebx, edx
mov esi, edx
mov eax, 0xb6adc247
imul edi
add edx, edi
sar edx, 0xa
shr esi, 0x1f
mov eax, edx
add esp, 0xc
add esi, ebx
shr eax, 0x1f
add eax, edx
imul ecx, ecx, 0x10e6
mov ebx, dword [0x457838]
sub esi, eax
mov eax, 0x77c150d
imul ebx
imul ebx, ebx, 0x1685
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45781c]
sub eax, ebx
mov ebx, eax
mov eax, 0x17eb125
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add ebx, edx
add eax, ebx
mov ebx, dword [0x45782c]
add eax, ecx
mov ecx, dword [str._r_____r____]
sub eax, ecx
imul ecx, ecx, 0x1a74
add eax, 0x1123
mov dword [0x45781c], eax
mov eax, 0x9ad70599
imul ebx
add edx, ebx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov eax, 0x77826bf5
imul dword [0x457820]
mov dword [0x457818], esi
imul esi, esi, 0x59b
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
add ecx, esi
sub ecx, edi
push 0
sub ecx, 0x2220
push 2
mov dword [esp + 0x1c], 0
mov dword [0x457820], ecx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 0x10], edi
jne 0x40bc6a
mov ecx, dword [0x45782c]
mov esi, dword [str._r_____r____]
mov ebx, dword [0x457830]
imul esi, esi, 0x2234
mov eax, 0x17eb125
imul ecx
mov eax, dword [0x457828]
sar edx, 5
imul eax, eax, 0x59b
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x457818]
imul edx, edx, 0x10e6
sub esi, ecx
add edx, ebx
add edx, esi
lea ecx, [eax + edx - 0x2220]
push str.CreateToolhelp32Snapshot__of_processes_
mov dword [0x457824], ecx
call fcn.0042b3d6
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x944]
call fcn.0042a6e1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [0x457824]
mov ecx, dword [0x457838]
mov eax, 0xf883eaf3
imul edx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebx, eax
mov esi, ecx
imul esi, esi, 0x2220
mov eax, 0x2d78bd59
imul ecx
sar edx, 0xa
sub ebx, esi
mov esi, edx
add ebx, edx
mov edx, dword [0x45781c]
imul edx, edx, 0x1568
shr esi, 0x1f
add esi, ebx
add esi, edx
mov eax, 0x7931d3bd
imul ecx
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
lea ecx, [esp + 0x18]
add eax, edx
push ecx
sub esi, eax
push edi
mov dword [0x457828], esi
mov dword [esp + 0x20], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x40bd60
mov ecx, dword [0x457820]
mov esi, dword [0x45782c]
mov eax, 0x9ad70599
imul esi, esi, 0x2220
imul ecx
add edx, ecx
imul ecx, ecx, 0x1643
sar edx, 0xc
mov ebx, edx
add esi, edx
mov edx, dword [0x457830]
imul edx, edx, 0xe4e
shr ebx, 0x1f
add ebx, esi
add ebx, ecx
mov ecx, dword [0x45781c]
add ebx, edx
mov eax, 0xb6adc247
imul ecx
add edx, ecx
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
push edi
mov dword [0x45782c], ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [esp + 0x944]
call fcn.0042a6e1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x45781c]
mov esi, dword [0x45782c]
mov eax, 0x887d940b
imul esi, esi, 0x2220
imul ecx
mov eax, dword [0x457824]
sar edx, 0xb
imul eax, eax, 0x562
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x457828]
imul edx, edx, 0xe4e
sub ecx, esi
add ecx, edx
sub ecx, eax
mov dword [0x457830], ecx
lea ecx, [esp + 0x140]
push ecx
lea edx, [esp + 0x40]
push edx
call fcn.0043515e
add esp, 8
test eax, eax
je 0x40c16c
mov ecx, dword [0x45782c]
mov esi, dword [0x457834]
mov eax, 0x17eb125
imul esi, esi, 0x2220
imul ecx
mov ecx, dword [0x457820]
sar edx, 5
imul ecx, ecx, 0x114e
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebx, eax
sub ebx, esi
sub ebx, ecx
mov ecx, dword [str._r_____r____]
mov eax, 0x8f2b7b75
imul ecx
add edx, ecx
mov ecx, dword [esp + 0x20]
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
push ecx
add eax, edx
push 0
sub ebx, eax
push 0x1f0fff
mov dword [0x457838], ebx
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ecx, dword [0x457824]
mov esi, eax
mov eax, 0x77c150d
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebx, eax
mov eax, 0x9ad70599
imul ecx
add edx, ecx
sar edx, 0xc
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x457838]
imul edx, edx, 0x1685
sub ebx, ecx
mov ecx, dword [0x45781c]
add ebx, edx
mov eax, 0xb7fe3405
imul ecx
add edx, ecx
mov ecx, dword [0x457830]
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, ecx
imul edx, edx, 0x10e6
sub ebx, eax
add ebx, edx
test esi, esi
mov dword [str._r_____r____], ebx
jne 0x40beb0
push 0x447f88
call fcn.0042b3d6
add esp, 4
jmp 0x40bf37
mov edi, dword [0x457834]
imul ecx, ecx, 0x1643
mov eax, 0xf00f00f1
imul edi
mov eax, dword [0x457818]
imul eax, eax, 0x2220
add edx, edi
sar edx, 0xd
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
add ebx, eax
sub ebx, ecx
mov ecx, dword [0x457820]
mov eax, 0x8f2b7b75
imul ecx
add edx, ecx
sar edx, 0xb
mov ecx, edx
add ebx, edx
mov eax, 0xb6adc247
imul edi
add edx, edi
sar edx, 0xa
mov eax, edx
shr ecx, 0x1f
shr eax, 0x1f
add ecx, ebx
add eax, edx
sub ecx, eax
push esi
mov dword [0x457818], ecx
call dword [sym.imp.KERNEL32.dll_GetPriorityClass]
test eax, eax
jne 0x40bf2c
push 0x447f74
call fcn.0042b3d6
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esp + 0x10]
mov ecx, dword [0x457838]
mov eax, 0x77c150d
imul ecx
imul ecx, ecx, 0x1685
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
mov esi, eax
sub esi, ecx
mov ecx, dword [0x45781c]
mov eax, 0x17eb125
imul ecx
mov eax, dword [str._r_____r____]
sar edx, 5
mov ecx, edx
add esi, edx
mov edx, dword [0x457830]
imul edx, edx, 0x10e6
shr ecx, 0x1f
add ecx, esi
add ecx, edx
sub ecx, eax
lea eax, [esp + 0x18]
push eax
add ecx, 0x1123
push edi
mov dword [0x45781c], ecx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x40bd60
mov esi, dword [0x457818]
mov ecx, dword [0x457834]
mov ebx, dword [0x45782c]
imul esi, esi, 0x59b
mov eax, 0x9ad70599
imul ebx
add edx, ebx
mov ebx, dword [str._r_____r____]
imul ebx, ebx, 0x1a74
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x457820]
sub ebx, eax
mov eax, 0x77826bf5
imul edx
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
add ebx, esi
sub ebx, ecx
sub ebx, 0x2220
push edi
mov dword [0x457820], ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x40bc55
mov ecx, dword [0x45782c]
mov esi, dword [str._r_____r____]
mov ebx, dword [0x457830]
imul esi, esi, 0x2234
mov eax, 0x17eb125
imul ecx
mov eax, dword [0x457828]
sar edx, 5
imul eax, eax, 0x59b
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x457818]
imul edx, edx, 0x10e6
sub esi, ecx
add edx, ebx
add edx, esi
lea ecx, [eax + edx - 0x2220]
mov edx, dword [esp + 0x20]
push edx
push 0
push 0x1f0fff
mov dword [0x457824], ecx
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, dword [0x457824]
mov dword [esp + 0x10], eax
mov eax, 0x77c150d
imul esi
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edi, dword [0x457838]
mov ebx, eax
mov eax, 0x9ad70599
imul esi
add edx, esi
sar edx, 0xc
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, edi
imul edx, edx, 0x1685
sub ebx, ecx
mov ecx, dword [0x45781c]
add ebx, edx
mov eax, 0xb7fe3405
imul ecx
add edx, ecx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x457830]
imul edx, edx, 0x10e6
sub ebx, eax
add ebx, edx
mov dword [str._r_____r____], ebx
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x40bc55
mov eax, edi
imul ecx, ecx, 0x1568
imul eax, eax, 0x2220
mov dword [esp + 0x10], eax
mov eax, 0xf883eaf3
imul esi
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
mov esi, eax
mov eax, dword [esp + 0x10]
sub esi, eax
mov eax, 0x2d78bd59
imul edi
sar edx, 0xa
add esi, edx
mov eax, edx
shr eax, 0x1f
add eax, esi
add eax, ecx
mov esi, eax
mov eax, 0x7931d3bd
imul edi
sar edx, 0xb
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub esi, ecx
mov ecx, dword [esp + 0x944]
mov dword [0x457828], esi
mov eax, ebx
call fcn.0042a6e1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [0x457828]
mov ebx, dword [0x457834]
mov eax, 0x77c150d
imul esi
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov ecx, esi
imul ecx, ecx, 0x2234
sub ecx, edx
mov eax, 0x9ad70599
imul ebx
add edx, ebx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov eax, 0xb7fe3405
imul esi
add edx, esi
mov esi, dword [0x457818]
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, esi
imul edx, edx, 0x1568
sub ecx, eax
mov eax, dword [esp + 0x20]
add ecx, edx
mov dword [0x457834], ecx
mov dword [esp + 0x14], eax
jmp 0x40bfb1