Function at 0x40b940
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x93c
mov eax, dword [0x458190]
mov dword [esp + 0x938], eax
push ebx
push esi
push edi
mov ecx, dword [0x456824]
mov eax, 0x4c8f8d29
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
mov esi, eax
mov eax, 0x30c30c31
imul ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub esi, ecx
mov ecx, dword [0x45681c]
mov eax, 0x36b45a9b
imul ecx
mov ecx, dword [0x456838]
imul ecx, ecx, 0x235
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x456830]
sub esi, eax
imul edx, edx, 0x1aa
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
stosb byte es:[edi], al
mov eax, dword [ebp + 8]
push eax
lea ecx, [esp + 0x144]
add esi, edx
push 0x447044
push ecx
mov dword [str._r_____r____], esi
call fcn.0042a4d1
mov edi, dword [0x456834]
mov ecx, dword [0x456830]
mov eax, 0x9cc8e161
imul edi
add edx, edi
sar edx, 9
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov edx, dword [0x456818]
imul edx, edx, 0x344
mov eax, ecx
imul eax, eax, 0x257
add ebx, edx
sub ebx, eax
mov eax, 0x2d4279a3
imul dword [0x456820]
sar edx, 6
add ebx, edx
mov esi, edx
mov eax, 0xf2b9d649
imul edi
add edx, edi
sar edx, 7
mov eax, edx
shr eax, 0x1f
shr esi, 0x1f
add eax, edx
add esi, ebx
add esp, 0xc
sub esi, eax
mov dword [0x456818], esi
mov eax, 0x4c8f8d29
imul dword [0x456838]
imul ecx, ecx, 0x1aa
imul esi, esi, 0x87
sar edx, 8
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov edx, dword [0x45681c]
mov eax, 0xe1fc780f
imul edx
add edx, dword [0x45681c]
sar edx, 9
add ebx, edx
mov eax, edx
mov edx, dword [0x45682c]
shr eax, 0x1f
add eax, ebx
mov ebx, eax
mov eax, dword [0x456838]
imul eax, eax, 0x235
sub ebx, eax
add ebx, ecx
mov ecx, dword [str._r_____r____]
mov eax, 0x30c30c31
imul edx
sub ebx, ecx
imul ecx, ecx, 0x2a0
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov eax, 0x43491159
imul dword [0x456820]
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
add ecx, esi
sub ecx, edi
push 0
sub ecx, 0x344
add ebx, 0x1e7
push 2
mov dword [0x45681c], ebx
mov dword [esp + 0x1c], 0
mov dword [0x456820], ecx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40bb99
mov ecx, dword [0x45682c]
mov esi, dword [str._r_____r____]
mov eax, 0xe1fc780f
imul esi, esi, 0x358
imul ecx
mov eax, dword [0x456828]
mov ebx, dword [0x456830]
imul eax, eax, 0x87
add edx, ecx
sar edx, 9
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x456818]
imul edx, edx, 0x1aa
sub esi, ecx
add edx, ebx
add edx, esi
lea ecx, [eax + edx - 0x344]
push str.CreateToolhelp32Snapshot__of_processes_
mov dword [0x456824], ecx
call fcn.0042aff6
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x944]
call fcn.0042a301
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [0x456824]
mov ecx, dword [0x456838]
mov eax, 0xb37072d7
imul edx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edi, eax
mov esi, ecx
imul esi, esi, 0x344
mov eax, 0xe7fc601
imul ecx
sar edx, 5
sub edi, esi
mov esi, edx
add edi, edx
mov edx, dword [0x45681c]
imul edx, edx, 0x244
shr esi, 0x1f
add esi, edi
add esi, edx
mov eax, 0x99d722db
imul ecx
add edx, ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
lea ecx, [esp + 0x18]
add eax, edx
push ecx
sub esi, eax
push ebx
mov dword [0x456828], esi
mov dword [esp + 0x20], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x40bc90
mov ecx, dword [0x456820]
mov esi, dword [0x45682c]
mov eax, 0x30c30c31
imul esi, esi, 0x344
imul ecx
imul ecx, ecx, 0x257
sar edx, 7
mov edi, edx
add esi, edx
mov edx, dword [0x456830]
imul edx, edx, 0x16a
shr edi, 0x1f
add edi, esi
add edi, ecx
mov ecx, dword [0x45681c]
add edi, edx
mov eax, 0xf2b9d649
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
push ebx
mov dword [0x45682c], edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [esp + 0x944]
call fcn.0042a301
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x45681c]
mov esi, dword [0x45682c]
mov eax, 0xbcb6eea7
imul esi, esi, 0x344
imul ecx
mov eax, dword [0x456824]
sar edx, 7
imul eax, eax, 0x4e
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x456828]
imul edx, edx, 0x16a
sub ecx, esi
add ecx, edx
sub ecx, eax
mov dword [0x456830], ecx
lea ecx, [esp + 0x140]
push ecx
lea edx, [esp + 0x40]
push edx
call fcn.00434d7e
add esp, 8
test eax, eax
je 0x40c098
mov ecx, dword [0x45682c]
mov esi, dword [0x456834]
mov eax, 0xe1fc780f
imul esi, esi, 0x344
imul ecx
add edx, ecx
mov ecx, dword [0x456820]
sar edx, 9
imul ecx, ecx, 0x1ae
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edi, eax
sub edi, esi
sub edi, ecx
mov ecx, dword [str._r_____r____]
mov eax, 0x2d4279a3
imul ecx
mov ecx, dword [esp + 0x20]
sar edx, 6
mov eax, edx
shr eax, 0x1f
push ecx
add eax, edx
push 0
sub edi, eax
push 0x1f0fff
mov dword [0x456838], edi
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ecx, dword [0x456824]
mov esi, eax
mov eax, 0x4c8f8d29
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edi, eax
mov eax, 0x30c30c31
imul ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub edi, ecx
mov ecx, dword [0x45681c]
mov eax, 0x36b45a9b
imul ecx
mov ecx, dword [0x456838]
sar edx, 7
imul ecx, ecx, 0x235
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
add edi, ecx
mov ecx, dword [0x456830]
mov edx, ecx
imul edx, edx, 0x1aa
add edi, edx
test esi, esi
mov dword [str._r_____r____], edi
jne 0x40bdd9
push 0x447010
call fcn.0042aff6
add esp, 4
jmp 0x40be63
mov edi, dword [0x456834]
imul ecx, ecx, 0x257
mov eax, 0x9cc8e161
imul edi
add edx, edi
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x456818]
imul edx, edx, 0x344
add eax, edx
sub eax, ecx
mov ecx, dword [0x456820]
mov dword [esp + 0x10], eax
mov eax, 0x2d4279a3
imul ecx
mov eax, dword [esp + 0x10]
sar edx, 6
add eax, edx
mov ecx, edx
shr ecx, 0x1f
add ecx, eax
mov eax, 0xf2b9d649
imul edi
add edx, edi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
push esi
mov dword [0x456818], ecx
call dword [sym.imp.KERNEL32.dll_GetPriorityClass]
test eax, eax
jne 0x40be5c
push 0x446ffc
call fcn.0042aff6
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x456838]
mov esi, dword [0x45681c]
mov eax, 0x4c8f8d29
imul ecx
imul ecx, ecx, 0x235
sar edx, 8
mov edi, edx
shr edi, 0x1f
add edi, edx
mov eax, 0xe1fc780f
imul esi
add edx, esi
sar edx, 9
mov eax, edx
shr eax, 0x1f
add edi, edx
add eax, edi
sub eax, ecx
mov ecx, dword [0x456830]
imul ecx, ecx, 0x1aa
add eax, ecx
mov ecx, dword [str._r_____r____]
lea edx, [esp + 0x18]
sub eax, ecx
push edx
add eax, 0x1e7
push ebx
mov dword [0x45681c], eax
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x40bc90
mov esi, dword [0x456818]
mov ecx, dword [0x456834]
mov edx, dword [0x45682c]
imul esi, esi, 0x87
mov edi, dword [str._r_____r____]
mov eax, 0x30c30c31
imul edi, edi, 0x2a0
imul edx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x456820]
sub edi, eax
mov eax, 0x43491159
imul edx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
add edi, esi
sub edi, ecx
sub edi, 0x344
push ebx
mov dword [0x456820], edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x40bb84
mov ecx, dword [0x45682c]
mov esi, dword [str._r_____r____]
mov eax, 0xe1fc780f
imul esi, esi, 0x358
imul ecx
mov eax, dword [0x456828]
mov edi, dword [0x456830]
imul eax, eax, 0x87
add edx, ecx
sar edx, 9
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x456818]
imul edx, edx, 0x1aa
sub esi, ecx
add edx, edi
add edx, esi
lea ecx, [eax + edx - 0x344]
mov edx, dword [esp + 0x20]
push edx
push 0
push 0x1f0fff
mov dword [0x456824], ecx
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, dword [0x456824]
mov edi, eax
mov eax, 0x4c8f8d29
imul ebx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x10], eax
mov esi, dword [0x45681c]
mov eax, 0x30c30c31
imul ebx
mov eax, dword [esp + 0x10]
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub eax, ecx
mov ecx, eax
mov eax, 0x36b45a9b
imul esi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov eax, ecx
mov ecx, dword [0x456838]
mov edx, ecx
imul edx, edx, 0x235
add eax, edx
mov edx, dword [0x456830]
imul edx, edx, 0x1aa
add eax, edx
test edi, edi
mov dword [str._r_____r____], eax
je 0x40bb84
mov eax, ecx
imul esi, esi, 0x244
imul eax, eax, 0x344
mov dword [esp + 0x10], eax
mov eax, 0xb37072d7
imul ebx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebx, eax
mov eax, dword [esp + 0x10]
sub ebx, eax
mov eax, 0xe7fc601
imul ecx
sar edx, 5
add ebx, edx
mov eax, edx
shr eax, 0x1f
add eax, ebx
add eax, esi
mov ebx, eax
mov eax, 0x99d722db
imul ecx
add edx, ecx
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub ebx, ecx
mov ecx, dword [esp + 0x944]
mov dword [0x456828], ebx
mov eax, edi
call fcn.0042a301
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [0x456828]
mov eax, 0x4c8f8d29
imul esi
sar edx, 8
mov ecx, esi
imul ecx, ecx, 0x358
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x456834]
sub ecx, eax
mov eax, 0x30c30c31
imul edx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov eax, 0x36b45a9b
imul esi
mov esi, dword [0x456818]
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, esi
imul edx, edx, 0x244
sub ecx, eax
mov eax, dword [esp + 0x20]
add ecx, edx
mov dword [0x456834], ecx
mov dword [esp + 0x14], eax
jmp 0x40bedc