Function at 0x40aee0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x93c
mov eax, dword [0x458000]
mov ecx, dword [0x456694]
mov dword [esp + 0x938], eax
push ebx
push esi
mov esi, dword [0x45668c]
mov eax, 0x95e7555
imul esi, esi, 0xdcfc
imul ecx
mov ecx, dword [0x456690]
push edi
sar edx, 9
mov edi, edx
add esi, edx
mov eax, 0x5bdd0ecb
imul ecx
mov ecx, dword [0x4566a8]
imul ecx, ecx, 0x3117
sar edx, 0xe
shr edi, 0x1f
mov eax, edx
shr eax, 0x1f
add eax, edx
add edi, esi
sub edi, eax
add edi, ecx
mov ecx, dword [0x45669c]
mov eax, 0x6000f003
imul ecx
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
mov dword [0x456684], edi
mov byte [esp + 0x140], 0
xor eax, eax
mov ecx, 0x1ff
lea edi, [esp + 0x141]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 8]
push ecx
stosw word es:[edi], ax
lea edx, [esp + 0x144]
push 0x446fcc
push edx
stosb byte es:[edi], al
call fcn.00429ae1
mov ebx, dword [0x4566a0]
mov esi, dword [0x456690]
mov eax, esi
imul eax, eax, 0xdd0b
mov ecx, ebx
imul ecx, ecx, 0xffff5557
sub ecx, eax
mov eax, 0x55072b69
imul dword [0x45669c]
sar edx, 0xf
add ecx, edx
mov eax, edx
shr eax, 0x1f
add eax, ecx
mov ecx, dword [0x4566a4]
mov edi, dword [0x456684]
mov dword [esp + 0x18], eax
mov eax, 0x80df83a9
imul ecx
add edx, ecx
mov ecx, dword [esp + 0x18]
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
add ecx, edi
mov edi, dword [0x456688]
add edi, ecx
mov ecx, ebx
add esp, 0xc
imul ecx, ecx, 0xdcfc
mov dword [0x456688], edi
mov eax, 0x95e7555
imul edi, edi, 0x7f22
imul esi
sar edx, 9
add ecx, edx
mov eax, edx
shr eax, 0x1f
add eax, ecx
mov ecx, dword [0x45668c]
mov dword [esp + 0xc], eax
mov eax, 0xb73ab967
imul ecx
add edx, ecx
mov ecx, dword [esp + 0xc]
sar edx, 0xf
add ecx, edx
mov eax, edx
shr eax, 0x1f
add eax, ecx
mov ecx, dword [0x4566a8]
mov edx, ecx
imul ecx, ecx, 0xb25a
imul edx, edx, 0x3117
sub eax, edx
sub eax, dword [0x456694]
add eax, 0xdbb5
mov dword [0x45668c], eax
mov eax, 0x9524e185
imul esi
add edx, esi
sar edx, 0xf
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov eax, 0x5bdd0ecb
imul dword [0x45669c]
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
add ecx, edi
sub ecx, ebx
push 0
sub ecx, 0xdd0b
push 2
mov dword [esp + 0x14], 0
mov dword [0x456690], ecx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x10], esi
jne 0x40b142
mov esi, dword [0x45668c]
mov ecx, dword [0x456684]
imul esi, esi, 0xdcfc
imul ecx, ecx, 0x36a6
add esi, ecx
mov ecx, dword [0x45669c]
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 str.CreateToolhelp32Snapshot__of_processes_
mov dword [0x456694], edx
call fcn.0042a645
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x944]
call fcn.00429911
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
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 ebx, eax
mov edi, ecx
mov ecx, dword [0x456694]
imul edi, edi, 0xdd0b
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 ebx, edi
sub ebx, ecx
mov ecx, dword [0x456698]
add ebx, edx
mov eax, 0x14dc1615
imul ecx
sar edx, 0xa
mov eax, edx
lea ecx, [esp + 0x18]
shr eax, 0x1f
add ebx, edx
push ecx
add eax, ebx
push esi
mov dword [0x456698], eax
mov dword [esp + 0x20], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x40b240
mov ecx, dword [0x456694]
mov edi, ecx
mov eax, 0x5bdd0ecb
imul edi, edi, 0xdd0b
imul ecx
mov ecx, dword [0x45668c]
sar edx, 0xe
mov ebx, edx
add edi, edx
mov edx, dword [0x456690]
imul edx, edx, 0xaaa9
mov eax, ecx
imul eax, eax, 0x18161
shr ebx, 0x1f
add ebx, edi
add ebx, edx
add ebx, eax
mov eax, 0x80df83a9
imul ecx
add edx, ecx
sar edx, 0xe
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub ebx, ecx
push esi
mov dword [0x45669c], ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [esp + 0x944]
call fcn.00429911
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x45668c]
mov edi, dword [0x456698]
mov eax, 0x9524e185
imul edi, edi, 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
sub edi, eax
lea edx, [esp + 0x140]
push edx
lea eax, [esp + 0x40]
add edi, ecx
push eax
mov dword [0x4566a0], edi
call fcn.0043439e
add esp, 8
test eax, eax
je 0x40b629
mov ecx, dword [0x456698]
mov esi, dword [0x456690]
mov eax, 0xb73ab967
imul esi, esi, 0xdcfc
imul ecx
add edx, ecx
mov ecx, dword [0x4566a0]
imul ecx, ecx, 0x113b1
sar edx, 0xf
mov edi, edx
add esi, edx
shr edi, 0x1f
add edi, esi
sub edi, ecx
mov ecx, dword [0x456684]
mov eax, 0x55072b69
imul ecx
mov ecx, dword [esp + 0x20]
sar edx, 0xf
mov eax, edx
shr eax, 0x1f
push ecx
add eax, edx
push 0
sub edi, eax
push 0x1f0fff
mov dword [0x4566a8], edi
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ecx, dword [0x456694]
mov esi, dword [0x45668c]
mov edi, eax
imul esi, esi, 0xdcfc
mov eax, 0x95e7555
imul ecx
sar edx, 9
mov ecx, edx
add esi, edx
shr ecx, 0x1f
add ecx, esi
mov esi, dword [0x456690]
mov eax, 0x5bdd0ecb
imul esi
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 edi, edi
mov dword [0x456684], ecx
jne 0x40b37e
push 0x446f98
call fcn.0042a645
add esp, 4
jmp 0x40b3f6
mov eax, dword [0x4566a0]
imul esi, esi, 0xdd0b
imul eax, eax, 0xffff5557
sub eax, esi
mov esi, dword [0x4566a4]
mov dword [esp + 0x14], eax
mov eax, 0x55072b69
imul ebx
mov eax, dword [esp + 0x14]
sar edx, 0xf
add eax, edx
mov ebx, edx
shr ebx, 0x1f
add ebx, eax
mov eax, 0x80df83a9
imul esi
add edx, esi
mov esi, dword [0x456688]
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
add ebx, ecx
add esi, ebx
push edi
mov dword [0x456688], esi
call dword [sym.imp.KERNEL32.dll_GetPriorityClass]
test eax, eax
jne 0x40b3ef
push 0x446f84
call fcn.0042a645
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x456690]
mov esi, dword [0x4566a0]
mov eax, 0x95e7555
imul esi, esi, 0xdcfc
imul ecx
mov ecx, dword [0x45668c]
sar edx, 9
mov edi, edx
add esi, edx
mov ebx, dword [0x456694]
mov eax, 0xb73ab967
imul ecx
add edx, ecx
sar edx, 0xf
shr edi, 0x1f
mov ecx, edx
add edi, esi
add edi, edx
mov edx, dword [0x4566a8]
imul edx, edx, 0x3117
shr ecx, 0x1f
add ecx, edi
sub ecx, edx
sub ecx, ebx
add ecx, 0xdbb5
lea eax, [esp + 0x18]
mov dword [0x45668c], ecx
mov ecx, dword [esp + 0x10]
push eax
push ecx
call sub.KERNEL32.dll_Process32Next
test eax, eax
mov esi, dword [esp + 0x10]
jne 0x40b240
mov ebx, dword [0x45669c]
mov ecx, dword [0x456688]
mov edi, dword [0x456690]
imul ecx, ecx, 0x7f22
mov eax, 0x9524e185
imul edi
add edx, edi
mov edi, dword [0x4566a8]
imul edi, edi, 0xb25a
sar edx, 0xf
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
mov eax, 0x5bdd0ecb
imul ebx
mov ebx, dword [0x4566a0]
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
add edi, ecx
sub edi, ebx
sub edi, 0xdd0b
push esi
mov dword [0x456690], edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x40b12d
mov esi, dword [0x45668c]
mov ecx, dword [0x456684]
imul esi, esi, 0xdcfc
imul ecx, ecx, 0x36a6
mov edi, dword [0x4566a4]
add esi, ecx
mov ecx, dword [0x45669c]
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
sub esi, eax
mov eax, dword [esp + 0x20]
push eax
add esi, edi
push 0
lea edx, [ecx + esi - 0xdd0b]
push 0x1f0fff
mov dword [0x456694], edx
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ecx, dword [0x456694]
mov esi, eax
mov eax, 0x95e7555
imul ecx
sar edx, 9
mov ebx, dword [0x45668c]
mov edi, dword [0x4566a8]
imul ebx, ebx, 0xdcfc
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x456690]
mov eax, 0x5bdd0ecb
imul edx
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, edi
imul edx, edx, 0x3117
sub ebx, eax
add ebx, edx
mov edx, dword [0x45669c]
mov eax, 0x6000f003
imul edx
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
add ebx, ecx
test esi, esi
mov dword [0x456684], ebx
je 0x40b12d
mov eax, 0x6bb7d05b
imul edi
sub edx, edi
sar edx, 0xf
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x4566a0]
mov ebx, edi
imul edx, edx, 0xb2d6
imul ebx, ebx, 0xdd0b
mov edi, eax
sub edi, ebx
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
sub eax, ecx
mov ecx, dword [esp + 0x944]
mov dword [0x456698], eax
mov eax, esi
call fcn.00429911
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x45668c]
mov ebx, dword [0x45669c]
mov eax, 0x95e7555
imul ecx
mov ecx, dword [0x456688]
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edi, ebx
imul edi, edi, 0x36a6
sub edi, eax
mov edx, ecx
imul edx, edx, 0xb2d6
add edi, edx
mov edx, dword [0x4566a4]
mov eax, 0x5bdd0ecb
imul edx
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
mov eax, 0x6000f003
imul ebx
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x20]
sub edi, eax
mov dword [0x4566a4], edi
mov dword [esp + 0xc], edx
jmp 0x40b47f