Function at 0x40eab0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x93c
mov eax, dword [0x45f540]
mov ecx, dword [0x45dbd4]
xor eax, ebp
mov dword [esp + 0x938], eax
push ebx
mov eax, 0xbf1fa759
imul ecx
add edx, ecx
sar edx, 0x10
push esi
mov esi, dword [0x45dbcc]
push edi
mov edi, dword [0x45dbdc]
mov eax, edx
imul edi, edi, 0xdbb5
shr eax, 0x1f
add eax, edx
sub edi, eax
mov eax, 0xbf1fa759
imul esi
add edx, esi
sar edx, 0x10
add edi, edx
mov eax, edx
mov edx, dword [0x45dbe8]
imul edx, edx, 0x156ac
shr eax, 0x1f
add eax, edi
add eax, edx
mov edi, eax
mov eax, 0xca9db4d5
imul ecx
add edx, ecx
sar edx, 0x10
add edi, edx
mov ecx, edx
mov edx, esi
imul edx, edx, 0x14289
shr ecx, 0x1f
add ecx, edi
add ecx, edx
mov ebx, dword [ebp + 8]
mov eax, 0x7f55e343
imul esi
sar edx, 0xf
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov dword [str._r_____r____], ecx
mov byte [esp + 0x140], 0
xor eax, eax
mov ecx, 0x1ff
lea edi, [esp + 0x141]
rep stosd dword es:[edi], eax
push ebx
stosw word es:[edi], ax
lea ecx, [esp + 0x144]
push 0x44e064
push ecx
stosb byte es:[edi], al
call fcn.00430831
mov ecx, dword [0x45dbe4]
mov esi, dword [0x45dbd0]
mov eax, 0x9524e185
imul ecx
add edx, ecx
mov ecx, dword [0x45dbe0]
sar edx, 0xf
imul ecx, ecx, 0x5556
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov eax, 0x32cc2d1b
imul esi
sar edx, 0xe
mov edi, edx
add esp, 0xc
shr edi, 0x1f
add ecx, edx
mov eax, 0x8116582f
imul esi
add edx, esi
sar edx, 0xd
mov ebx, edx
add edi, ecx
add edi, edx
mov edx, dword [0x45dbc8]
imul edx, edx, 0x3f76
shr ebx, 0x1f
add ebx, edi
add ebx, edx
mov eax, 0x3af417
imul esi
sar edx, 5
add ebx, edx
mov ecx, edx
shr ecx, 0x1f
add ecx, ebx
mov ebx, dword [0x45dbd4]
mov eax, 0x9524e185
imul ebx
add edx, ebx
sar edx, 0xf
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x10], eax
mov eax, 0xca9db4d5
imul ebx
mov eax, ebx
add edx, eax
mov eax, dword [esp + 0x10]
sar edx, 0x10
add eax, edx
mov ebx, edx
shr ebx, 0x1f
add ebx, eax
mov eax, dword [0x45dbe0]
imul eax, eax, 0x14289
add ebx, eax
mov eax, dword [0x45dbe4]
mov edx, dword [0x45dbcc]
imul eax, eax, 0x3f76
mov edi, dword [0x45dbe8]
add ebx, eax
imul edi, edi, 0x156ac
mov eax, 0x72c3c0b5
imul edx
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add ebx, edx
add eax, ebx
mov ebx, dword [str._r_____r____]
sub eax, edi
sub eax, ebx
mov ebx, dword [0x45dbd8]
mov dword [0x45dbc8], ecx
imul ecx, ecx, 0xdbb5
mov edx, ebx
imul edx, edx, 0x156e6
add eax, 0x11aa4
mov dword [0x45dbcc], eax
add ecx, edx
mov edx, dword [0x45dbdc]
mov eax, 0xbf1fa759
imul edx
add edx, dword [0x45dbdc]
sar edx, 0x10
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov eax, 0x8116582f
imul ebx
add edx, ebx
mov dword [esp + 0x10], 0
sar edx, 0xd
add ecx, edx
mov ebx, edx
mov eax, 0x39f7b4f
imul esi
mov esi, dword [0x45dbe4]
shr ebx, 0x1f
add ebx, ecx
sar edx, 0xa
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub ebx, ecx
sub ebx, esi
push 0
lea edx, [ebx + edi - 0x3f76]
push 2
mov dword [0x45dbd0], edx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [esp + 0xc], ebx
jne 0x40edaf
mov ecx, dword [str._r_____r____]
mov eax, dword [0x45dbd8]
mov esi, dword [0x45dbdc]
lea edi, [eax + ecx]
imul ecx, ecx, 0x14373
mov eax, 0xca9db4d5
imul edi, edi, 0xdbb5
imul esi
add edx, esi
sar edx, 0x10
mov ebx, edx
add edi, edx
shr ebx, 0x1f
mov eax, 0x72c3c0b5
imul esi
add ebx, edi
add ebx, ecx
mov ecx, esi
imul ecx, ecx, 0x14289
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add ebx, ecx
mov ecx, dword [0x45dbe0]
add eax, edx
sub ebx, eax
lea edx, [ebx + ecx - 0x3f76]
push str.CreateToolhelp32Snapshot__of_processes_
mov dword [0x45dbd4], edx
call fcn.00431336
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x938]
xor ecx, ebp
call fcn.0043065d
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x45dbe8]
mov esi, dword [0x45dbd4]
mov eax, 0x2fd0003
imul ecx
mov eax, dword [0x45dbc8]
imul eax, eax, 0x14373
sar edx, 0xa
mov edi, edx
shr edi, 0x1f
add edi, edx
add edi, eax
mov eax, 0xca9db4d5
imul esi
add edx, esi
sar edx, 0x10
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
mov eax, 0x32cc2d1b
imul ecx
imul ecx, ecx, 0x3f76
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
sub edi, ecx
mov ecx, dword [0x45dbe0]
mov eax, 0x72c3c0b5
imul ecx
imul ecx, ecx, 0x8ec3
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add edi, edx
add eax, edi
add eax, ecx
lea ecx, [esp + 0x18]
push ecx
push ebx
mov dword [0x45dbd8], eax
mov dword [esp + 0x20], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x40eee3
mov ecx, dword [0x45dbcc]
mov edx, dword [0x45dbd0]
lea esi, [edx + ecx]
mov eax, 0x9524e185
imul esi, esi, 0x10156
imul ecx
add edx, ecx
mov ecx, dword [0x45dbe4]
sar edx, 0xf
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov eax, 0xbf1fa759
imul ecx
add edx, ecx
sar edx, 0x10
mov edi, edx
add esi, edx
mov eax, 0xca9db4d5
imul ecx
mov eax, dword [0x45dbe0]
add edx, ecx
imul eax, eax, 0x8af5
sar edx, 0x10
shr edi, 0x1f
mov ecx, edx
add edi, esi
add edi, edx
mov edx, dword [0x45dbdc]
imul edx, edx, 0x3f76
shr ecx, 0x1f
add ecx, edi
add ecx, edx
add ecx, eax
push ebx
mov dword [0x45dbdc], ecx
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.0043065d
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x45dbe8]
mov edx, dword [0x45dbd0]
mov eax, dword [0x45dbd4]
lea esi, [edx + ecx]
imul eax, eax, 0x156ac
mov edx, dword [0x45dbdc]
imul esi, esi, 0x11aa4
imul edx, edx, 0x3f76
sub esi, eax
sub esi, edx
mov edx, dword [0x45dbcc]
mov eax, 0x39f7b4f
imul edx
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45dbd8]
imul edx, edx, 0x8af5
sub esi, eax
add esi, edx
mov eax, 0x7f55e343
imul ecx
sar edx, 0xf
mov eax, edx
add esi, edx
lea ecx, [esp + 0x140]
shr eax, 0x1f
push ecx
lea edx, [esp + 0x40]
add eax, esi
push edx
mov dword [0x45dbe0], eax
call fcn.0043b16e
add esp, 8
test eax, eax
je 0x40f405
mov eax, dword [0x45dbd0]
mov ecx, dword [0x45dbd8]
lea esi, [ecx + eax]
imul eax, eax, 0x14373
mov ecx, dword [0x45dbc8]
imul esi, esi, 0x14289
sub esi, eax
mov eax, 0xca9db4d5
imul ecx
add edx, ecx
sar edx, 0x10
add esi, edx
mov edi, edx
mov edx, dword [0x45dbe4]
imul edx, edx, 0x3f76
shr edi, 0x1f
add edi, esi
sub edi, edx
mov eax, 0x72c3c0b5
imul ecx
mov ecx, dword [str._r_____r____]
sar edx, 0xe
mov esi, edx
add edi, edx
mov eax, 0x3af417
imul ecx
mov ecx, dword [esp + 0x20]
sar edx, 5
mov eax, edx
shr esi, 0x1f
shr eax, 0x1f
push ecx
add eax, edx
add esi, edi
push 0
sub esi, eax
push 0x1f0fff
mov dword [0x45dbe8], esi
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ecx, dword [0x45dbd4]
mov ebx, dword [0x45dbdc]
mov edi, eax
imul ebx, ebx, 0xdbb5
mov esi, dword [0x45dbcc]
mov eax, 0xbf1fa759
imul ecx
add edx, ecx
sar edx, 0x10
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
mov eax, 0xbf1fa759
imul esi
add edx, esi
sar edx, 0x10
add ebx, edx
mov eax, edx
mov edx, dword [0x45dbe8]
imul edx, edx, 0x156ac
shr eax, 0x1f
add eax, ebx
add eax, edx
mov ebx, eax
mov eax, 0xca9db4d5
imul ecx
add edx, ecx
sar edx, 0x10
add ebx, edx
mov ecx, edx
mov edx, esi
imul edx, edx, 0x14289
shr ecx, 0x1f
add ecx, ebx
add ecx, edx
mov eax, 0x7f55e343
imul esi
sar edx, 0xf
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
test edi, edi
mov dword [str._r_____r____], ecx
jne 0x40f09a
push 0x44e030
call fcn.00431336
add esp, 4
jmp 0x40f134
mov ecx, dword [0x45dbe4]
mov esi, dword [0x45dbe0]
mov eax, 0x9524e185
imul esi, esi, 0x5556
imul ecx
add edx, ecx
sar edx, 0xf
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub esi, ecx
mov ecx, dword [0x45dbd0]
mov eax, 0x32cc2d1b
imul ecx
sar edx, 0xe
add esi, edx
mov ebx, edx
mov eax, 0x8116582f
imul ecx
add edx, ecx
sar edx, 0xd
shr ebx, 0x1f
add ebx, esi
mov esi, edx
add ebx, edx
mov edx, dword [0x45dbc8]
imul edx, edx, 0x3f76
shr esi, 0x1f
add esi, ebx
add esi, edx
mov eax, 0x3af417
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add esi, edx
add eax, esi
push edi
mov dword [0x45dbc8], eax
call dword [sym.imp.KERNEL32.dll_GetPriorityClass]
test eax, eax
jne 0x40f12d
push 0x44e01c
call fcn.00431336
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x45dbd4]
mov eax, 0x9524e185
imul ecx
add edx, ecx
sar edx, 0xf
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45dbe8]
imul edx, edx, 0x156ac
mov esi, eax
sub esi, edx
mov eax, 0xca9db4d5
imul ecx
mov eax, dword [0x45dbe0]
add edx, ecx
imul eax, eax, 0x14289
mov ecx, dword [0x45dbe4]
sar edx, 0x10
imul ecx, ecx, 0x3f76
mov ebx, dword [str._r_____r____]
mov edi, edx
shr edi, 0x1f
add esi, edx
add edi, esi
add edi, eax
add edi, ecx
mov ecx, dword [0x45dbcc]
mov eax, 0x72c3c0b5
imul ecx
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add edi, edx
add eax, edi
sub eax, ebx
mov ebx, dword [esp + 0xc]
lea ecx, [esp + 0x18]
push ecx
add eax, 0x11aa4
push ebx
mov dword [0x45dbcc], eax
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x40eee3
mov ecx, dword [0x45dbc8]
mov esi, dword [0x45dbe4]
mov edi, dword [0x45dbd8]
mov edx, dword [0x45dbdc]
imul ecx, ecx, 0xdbb5
mov eax, edi
imul eax, eax, 0x156e6
add ecx, eax
mov eax, 0xbf1fa759
imul edx
add edx, dword [0x45dbdc]
sar edx, 0x10
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45dbe8]
imul edx, edx, 0x156ac
sub ecx, eax
add ecx, edx
mov eax, 0x8116582f
imul edi
add edx, edi
sar edx, 0xd
mov edi, edx
add ecx, edx
shr edi, 0x1f
add edi, ecx
mov ecx, dword [0x45dbd0]
mov eax, 0x39f7b4f
imul ecx
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
sub edi, esi
sub edi, 0x3f76
push ebx
mov dword [0x45dbd0], edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40ed98
mov esi, dword [0x45dbdc]
mov ecx, dword [str._r_____r____]
mov edx, dword [0x45dbd8]
lea edi, [edx + ecx]
imul ecx, ecx, 0x14373
mov eax, 0xca9db4d5
imul edi, edi, 0xdbb5
imul esi
add edx, esi
sar edx, 0x10
mov eax, esi
imul eax, eax, 0x14289
mov ebx, edx
add edi, edx
shr ebx, 0x1f
add ebx, edi
add ebx, ecx
add ebx, eax
mov eax, 0x72c3c0b5
imul esi
sar edx, 0xe
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x45dbe0]
sub ebx, ecx
mov ecx, dword [esp + 0x20]
push ecx
push 0
lea eax, [ebx + edx - 0x3f76]
push 0x1f0fff
mov dword [0x45dbd4], eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, dword [0x45dbd4]
mov ebx, eax
mov edi, dword [0x45dbdc]
mov eax, 0xca9db4d5
imul edi, edi, 0xdbb5
imul esi
add edx, esi
sar edx, 0x10
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, 0xbf1fa759
imul esi
add edx, esi
mov esi, dword [0x45dbcc]
sar edx, 0x10
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
mov eax, 0xbf1fa759
imul esi
add edx, esi
sar edx, 0x10
mov eax, edx
add edi, edx
shr eax, 0x1f
add eax, edi
mov edi, dword [0x45dbe8]
mov edx, edi
imul edx, edx, 0x156ac
add eax, edx
mov edx, esi
imul edx, edx, 0x14289
add eax, edx
mov dword [esp + 0xc], eax
mov eax, 0x7f55e343
imul esi
sar edx, 0xf
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0xc]
sub edx, eax
add edx, ecx
test ebx, ebx
mov dword [str._r_____r____], edx
je 0x40ed98
mov eax, 0x2fd0003
imul edi
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45dbc8]
imul edx, edx, 0x14373
add eax, edx
mov dword [esp + 0xc], eax
mov esi, dword [0x45dbe0]
mov eax, 0x32cc2d1b
imul edi
imul edi, edi, 0x3f76
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0xc]
sub edx, eax
sub edx, edi
mov edi, edx
mov eax, 0x72c3c0b5
imul esi
imul esi, esi, 0x8ec3
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add edi, edx
add eax, edi
add eax, esi
sub eax, ecx
mov ecx, dword [esp + 0x944]
pop edi
mov dword [0x45dbd8], eax
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0043065d
mov esp, ebp
pop ebp
ret
mov edx, dword [0x45dbd4]
mov ecx, dword [0x45dbc8]
mov esi, dword [0x45dbe4]
lea eax, [ecx + edx]
imul eax, eax, 0x8ec3
mov dword [esp + 0xc], eax
mov edi, dword [0x45dbd8]
mov eax, 0xbf1fa759
imul esi
add edx, esi
sar edx, 0x10
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0xc]
sub edx, eax
mov dword [esp + 0xc], edx
mov eax, 0xca9db4d5
imul edi
add edx, edi
sar edx, 0x10
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0xc]
sub edx, eax
mov esi, edx
mov edx, dword [str._r_____r____]
mov eax, edx
imul eax, eax, 0x14373
add esi, eax
mov eax, 0x39f7b4f
imul edx
sar edx, 0xa
mov eax, esi
add eax, edx
mov esi, edx
shr esi, 0x1f
add esi, eax
mov eax, 0x7f55e343
imul edi
sar edx, 0xf
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x20]
sub esi, eax
mov dword [0x45dbe4], esi
mov dword [esp + 0x10], edx
jmp 0x40f1e1