Function at 0x40e830
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x93c
mov eax, dword [0x45e540]
xor eax, ebp
mov dword [esp + 0x938], eax
mov ecx, dword [0x45cbcc]
push ebx
push esi
push edi
mov edi, dword [0x45cbd4]
mov eax, 0x315a5211
imul edi
sar edx, 0x18
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebx, eax
mov eax, 0x315a5211
imul ecx
sar edx, 0x18
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45cbdc]
imul edx, edx, 0x3575d9d
sub eax, ebx
add eax, edx
mov edx, dword [0x45cbe8]
imul edx, edx, 0x5335ef4
add eax, edx
mov ebx, eax
mov eax, 0x680c7cd1
imul edi
mov eax, ecx
imul eax, eax, 0x4e899b9
sar edx, 0x19
mov edi, edx
shr edi, 0x1f
add ebx, edx
add edi, ebx
add edi, eax
mov esi, dword [ebp + 8]
mov eax, 0x83740ec5
imul ecx
add edx, ecx
sar edx, 0x19
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub edi, ecx
mov dword [str._r_____r____], edi
mov byte [esp + 0x140], 0
xor eax, eax
mov ecx, 0x1ff
lea edi, [esp + 0x141]
rep stosd dword es:[edi], eax
push esi
stosw word es:[edi], ax
lea edx, [esp + 0x144]
push 0x44d05c
push edx
stosb byte es:[edi], al
call fcn.00430341
mov edi, dword [0x45cbe4]
mov ecx, dword [0x45cbd0]
mov eax, 0x993c2c11
imul edi
add edx, edi
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
mov esi, eax
mov eax, 0x3bfa58a9
imul ecx
sar edx, 0x17
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebx, eax
add esp, 0xc
sub ebx, esi
mov edx, dword [0x45cbe0]
imul edx, edx, 0x14e459e
add ebx, edx
mov eax, 0x342745e1
imul ecx
sar edx, 0x18
add ebx, edx
mov esi, edx
mov eax, 0x206151bf
imul ecx
mov eax, dword [0x45cbc8]
imul eax, eax, 0xfcfe96
sar edx, 0x15
mov ecx, edx
shr esi, 0x1f
add esi, ebx
mov ebx, dword [0x45cbd4]
add esi, edx
shr ecx, 0x1f
add ecx, esi
add ecx, eax
mov eax, 0x993c2c11
imul ebx
add edx, ebx
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0xc], eax
mov eax, 0x680c7cd1
imul ebx
mov eax, dword [esp + 0xc]
sar edx, 0x19
add eax, edx
mov ebx, edx
mov edx, dword [0x45cbcc]
shr ebx, 0x1f
add ebx, eax
mov eax, dword [0x45cbe0]
imul eax, eax, 0x4e899b9
add ebx, eax
mov esi, dword [0x45cbe8]
mov eax, 0x74b32761
imul esi, esi, 0x5335ef4
imul edx
sar edx, 0x18
add ebx, edx
mov eax, edx
shr eax, 0x1f
add eax, ebx
mov ebx, dword [str._r_____r____]
mov edx, edi
imul edx, edx, 0xfcfe96
add eax, edx
mov edx, dword [0x45cbdc]
sub eax, esi
sub eax, ebx
mov ebx, dword [0x45cbd8]
add eax, 0x456b154
imul ebx, ebx, 0x52fe876
mov dword [0x45cbcc], eax
mov eax, 0x315a5211
imul edx
sar edx, 0x18
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
mov dword [0x45cbc8], ecx
imul ecx, ecx, 0x3575d9d
mov eax, 0x3b012ec7
imul dword [0x45cbd0]
add ebx, ecx
sar edx, 0x18
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, 0x206151bf
sub ebx, ecx
imul dword [0x45cbd8]
mov dword [esp + 0xc], 0
sar edx, 0x15
mov eax, edx
shr eax, 0x1f
add ebx, edx
add eax, ebx
sub eax, edi
push 0
lea ecx, [eax + esi - 0xfcfe96]
push 2
mov dword [0x45cbd0], ecx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x10], esi
jne 0x40eb1d
mov ecx, dword [str._r_____r____]
mov edx, dword [0x45cbd8]
mov esi, dword [0x45cbdc]
lea edi, [edx + ecx]
imul ecx, ecx, 0x4ebb783
mov eax, 0x680c7cd1
imul edi, edi, 0x3575d9d
imul esi
sar edx, 0x19
mov eax, esi
imul eax, eax, 0x4e899b9
mov ebx, edx
add edi, edx
shr ebx, 0x1f
add ebx, edi
add ebx, ecx
add ebx, eax
mov eax, 0x74b32761
imul esi
sar edx, 0x18
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x45cbe0]
sub ebx, ecx
lea eax, [ebx + edx - 0xfcfe96]
push str.CreateToolhelp32Snapshot__of_processes_
mov dword [0x45cbd4], eax
call fcn.00430e46
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x938]
xor ecx, ebp
call fcn.0043016d
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x45cbe8]
mov eax, 0xc4e5d61
imul ecx
sar edx, 0x16
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov edx, dword [0x45cbc8]
imul edx, edx, 0x4ebb783
add ebx, edx
mov edx, dword [0x45cbd4]
mov eax, 0x680c7cd1
imul edx
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
mov edi, dword [0x45cbe0]
mov eax, 0x342745e1
imul ecx
imul ecx, ecx, 0xfcfe96
sar edx, 0x18
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
mov eax, 0x74b32761
imul edi
imul edi, edi, 0x23193db
sar edx, 0x18
mov eax, edx
shr eax, 0x1f
add ebx, edx
add eax, ebx
add eax, edi
sub eax, ecx
lea ecx, [esp + 0x18]
push ecx
push esi
mov dword [0x45cbd8], eax
mov dword [esp + 0x20], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x40ec50
mov ecx, dword [0x45cbcc]
mov edx, dword [0x45cbd0]
mov edi, dword [0x45cbe4]
lea ebx, [edx + ecx]
mov eax, 0x315a5211
imul ebx, ebx, 0x3e51956
imul edi
sar edx, 0x18
add ebx, edx
mov eax, edx
shr eax, 0x1f
add eax, ebx
mov ebx, eax
mov eax, 0x993c2c11
imul ecx
add edx, ecx
mov ecx, dword [0x45cbe0]
sar edx, 0x19
imul ecx, ecx, 0x222559d
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
mov eax, 0x680c7cd1
imul edi
add ebx, ecx
mov ecx, dword [0x45cbdc]
imul ecx, ecx, 0xfcfe96
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add ebx, edx
add eax, ebx
add eax, ecx
push esi
mov dword [0x45cbdc], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x938]
xor ecx, ebp
call fcn.0043016d
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x45cbe8]
mov edx, dword [0x45cbd0]
mov eax, dword [0x45cbd4]
lea edi, [edx + ecx]
imul eax, eax, 0x5335ef4
mov edx, dword [0x45cbd8]
imul edi, edi, 0x456b154
imul edx, edx, 0x222559d
sub edi, eax
add edi, edx
mov edx, dword [0x45cbcc]
mov eax, 0x3b012ec7
imul edx
sar edx, 0x18
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
mov eax, 0x83740ec5
imul ecx
add edx, ecx
sar edx, 0x19
mov ecx, edx
add edi, edx
mov edx, dword [0x45cbdc]
imul edx, edx, 0xfcfe96
shr ecx, 0x1f
add ecx, edi
sub ecx, edx
lea eax, [esp + 0x140]
mov dword [0x45cbe0], ecx
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.0043ac7e
add esp, 8
test eax, eax
je 0x40f15d
mov ecx, dword [0x45cbd0]
mov edx, dword [0x45cbd8]
lea esi, [edx + ecx]
imul ecx, ecx, 0x4ebb783
mov edx, dword [str._r_____r____]
imul esi, esi, 0x4e899b9
mov eax, 0x3bfa58a9
imul edx
sar edx, 0x17
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
sub esi, ecx
mov ecx, dword [0x45cbc8]
mov eax, 0x680c7cd1
imul ecx
sar edx, 0x19
mov edi, edx
add esi, edx
mov eax, 0x74b32761
imul ecx
mov eax, dword [esp + 0x20]
sar edx, 0x18
shr edi, 0x1f
mov ecx, edx
add edi, esi
add edi, edx
mov edx, dword [0x45cbe4]
imul edx, edx, 0xfcfe96
shr ecx, 0x1f
push eax
add ecx, edi
push 0
sub ecx, edx
push 0x1f0fff
mov dword [0x45cbe8], ecx
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, dword [0x45cbd4]
mov esi, eax
mov eax, 0x315a5211
imul edi
sar edx, 0x18
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov ebx, ecx
mov ecx, dword [0x45cbcc]
mov eax, 0x315a5211
imul ecx
sar edx, 0x18
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45cbdc]
imul edx, edx, 0x3575d9d
sub eax, ebx
add eax, edx
mov edx, dword [0x45cbe8]
imul edx, edx, 0x5335ef4
add eax, edx
mov ebx, eax
mov eax, 0x680c7cd1
imul edi
mov eax, ecx
imul eax, eax, 0x4e899b9
sar edx, 0x19
mov edi, edx
add ebx, edx
shr edi, 0x1f
add edi, ebx
add edi, eax
mov eax, 0x83740ec5
imul ecx
add edx, ecx
sar edx, 0x19
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub edi, ecx
test esi, esi
mov dword [str._r_____r____], edi
jne 0x40ee07
push 0x44d028
call fcn.00430e46
add esp, 4
jmp 0x40eea3
mov ecx, dword [0x45cbe4]
mov eax, 0x993c2c11
imul ecx
add edx, ecx
mov ecx, dword [0x45cbd0]
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edi, eax
mov eax, 0x3bfa58a9
imul ecx
sar edx, 0x17
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45cbe0]
imul edx, edx, 0x14e459e
mov ebx, eax
sub ebx, edi
add ebx, edx
mov eax, 0x342745e1
imul ecx
sar edx, 0x18
mov edi, edx
add ebx, edx
mov eax, 0x206151bf
imul ecx
mov ecx, dword [0x45cbc8]
imul ecx, ecx, 0xfcfe96
sar edx, 0x15
shr edi, 0x1f
mov eax, edx
add edi, ebx
shr eax, 0x1f
add edi, edx
add eax, edi
add eax, ecx
push esi
mov dword [0x45cbc8], eax
call dword [sym.imp.KERNEL32.dll_GetPriorityClass]
test eax, eax
jne 0x40ee9c
push 0x44d014
call fcn.00430e46
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x45cbd4]
mov eax, 0x993c2c11
imul ecx
add edx, ecx
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45cbe8]
imul edx, edx, 0x5335ef4
mov esi, eax
sub esi, edx
mov eax, 0x680c7cd1
imul ecx
mov eax, dword [0x45cbe0]
mov ecx, dword [0x45cbcc]
imul eax, eax, 0x4e899b9
sar edx, 0x19
mov edi, edx
add esi, edx
shr edi, 0x1f
add edi, esi
add edi, eax
mov ebx, dword [str._r_____r____]
mov eax, 0x74b32761
imul ecx
mov esi, dword [esp + 0x10]
sar edx, 0x18
mov ecx, edx
add edi, edx
mov edx, dword [0x45cbe4]
imul edx, edx, 0xfcfe96
shr ecx, 0x1f
add ecx, edi
add ecx, edx
lea eax, [esp + 0x18]
sub ecx, ebx
push eax
add ecx, 0x456b154
push esi
mov dword [0x45cbcc], ecx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x40ec50
mov ecx, dword [0x45cbe4]
mov edi, dword [0x45cbd8]
mov edx, dword [0x45cbdc]
mov eax, 0x315a5211
imul edx
sar edx, 0x18
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45cbe8]
mov ebx, edi
imul edx, edx, 0x5335ef4
imul ebx, ebx, 0x52fe876
sub ebx, eax
mov eax, dword [0x45cbc8]
imul eax, eax, 0x3575d9d
add ebx, eax
add ebx, edx
mov edx, dword [0x45cbd0]
mov eax, 0x3b012ec7
imul edx
sar edx, 0x18
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
mov eax, 0x206151bf
imul edi
sar edx, 0x15
mov eax, edx
shr eax, 0x1f
add ebx, edx
add eax, ebx
sub eax, ecx
sub eax, 0xfcfe96
push esi
mov dword [0x45cbd0], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x40eb06
mov ecx, dword [str._r_____r____]
mov edx, dword [0x45cbd8]
mov esi, dword [0x45cbdc]
lea edi, [edx + ecx]
imul ecx, ecx, 0x4ebb783
mov eax, 0x680c7cd1
imul edi, edi, 0x3575d9d
imul esi
sar edx, 0x19
mov eax, esi
imul eax, eax, 0x4e899b9
mov ebx, edx
add edi, edx
shr ebx, 0x1f
add ebx, edi
add ebx, ecx
add ebx, eax
mov eax, 0x74b32761
imul esi
sar edx, 0x18
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x45cbe0]
sub ebx, ecx
mov ecx, dword [esp + 0x20]
push ecx
push 0
lea eax, [ebx + edx - 0xfcfe96]
push 0x1f0fff
mov dword [0x45cbd4], eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, dword [0x45cbd4]
mov dword [esp + 0xc], eax
mov eax, 0x680c7cd1
imul esi
sar edx, 0x19
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, 0x315a5211
imul esi
mov esi, dword [0x45cbcc]
sar edx, 0x18
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edi, eax
mov eax, 0x315a5211
imul esi
sar edx, 0x18
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45cbdc]
imul edx, edx, 0x3575d9d
mov ebx, eax
sub ebx, edi
mov edi, dword [0x45cbe8]
add ebx, edx
mov eax, edi
imul eax, eax, 0x5335ef4
mov edx, esi
imul edx, edx, 0x4e899b9
add ebx, eax
add ebx, edx
mov eax, 0x83740ec5
imul esi
add edx, esi
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
mov eax, dword [esp + 0xc]
add ebx, ecx
test eax, eax
mov dword [str._r_____r____], ebx
je 0x40eb06
mov eax, 0xc4e5d61
imul edi
sar edx, 0x16
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov edx, dword [0x45cbc8]
imul edx, edx, 0x4ebb783
mov esi, dword [0x45cbe0]
add ebx, edx
mov eax, 0x342745e1
imul edi
imul edi, edi, 0xfcfe96
sar edx, 0x18
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
mov eax, 0x74b32761
imul esi
imul esi, esi, 0x23193db
sar edx, 0x18
mov eax, edx
shr eax, 0x1f
add ebx, edx
add eax, ebx
add eax, esi
sub eax, edi
sub eax, ecx
mov ecx, dword [esp + 0x944]
pop edi
pop esi
mov dword [0x45cbd8], eax
mov eax, dword [esp + 4]
xor ecx, ebp
pop ebx
call fcn.0043016d
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x45cbd4]
mov edx, dword [0x45cbc8]
lea edi, [edx + ecx]
mov ecx, dword [0x45cbe4]
imul edi, edi, 0x23193db
mov ebx, dword [str._r_____r____]
mov eax, 0x315a5211
imul ecx
sar edx, 0x18
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
mov eax, 0x3b012ec7
imul ebx
imul ebx, ebx, 0x4ebb783
sar edx, 0x18
mov ecx, edx
add edi, edx
shr ecx, 0x1f
add ecx, edi
mov edi, dword [0x45cbd8]
mov eax, 0x680c7cd1
imul edi
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov eax, 0x83740ec5
imul edi
add edx, edi
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x20]
add ecx, ebx
sub ecx, eax
mov dword [0x45cbe4], ecx
mov dword [esp + 0xc], edx
jmp 0x40ef4a