Function at 0x402fd0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x93c
mov eax, dword [0x452944]
mov ecx, dword [0x4518e8]
mov dword [esp + 0x938], eax
push ebx
mov ebx, dword [0x4518d8]
push esi
mov esi, dword [0x4518f4]
mov eax, 0x58fba7b7
imul esi, esi, 0x62fe
imul ecx
mov ecx, dword [0x4518dc]
sar edx, 0xd
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
push edi
sub esi, ebx
lea edx, [esi + ecx + 0xd46b]
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]
push 0x442000
push ecx
mov dword [str._r_____r_____n], edx
call fcn.004250ba
mov esi, dword [0x4518e8]
mov ecx, dword [0x4518ec]
mov eax, 0xd45237bd
imul esi
sar edx, 0xd
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x4518f0]
mov ebx, eax
mov eax, 0x27a02fad
imul edx
sar edx, 0xb
mov edi, ecx
imul edi, edi, 0x5c10
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [str._r_____r_____n]
sub ebx, edi
mov edi, dword [0x4518f4]
sub ebx, eax
add ebx, edx
mov edx, dword [0x4518d4]
lea eax, [edx + ebx - 0x5a74]
mov edx, edi
imul edx, edx, 0x62fe
mov ebx, ecx
imul ebx, ebx, 0xd4a0
mov dword [0x4518d4], eax
sub ebx, edx
mov eax, 0x7225d683
imul dword [0x4518dc]
sar edx, 0xf
mov eax, edx
shr eax, 0x1f
add ebx, edx
add eax, ebx
sub eax, dword [0x4518e0]
add eax, 0x131b4
mov dword [0x4518d8], eax
mov eax, 0x57bc6617
imul dword [0x4518dc]
add esp, 0xc
sar edx, 0xd
mov dword [esp + 0x14], 0
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebx, eax
mov eax, 0xf1bde717
imul esi
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
sub eax, ebx
sub eax, ecx
push 0
lea ecx, [eax + edi - 0x5a6f]
push 2
mov dword [0x4518dc], ecx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4031b5
mov ecx, dword [0x4518e8]
mov esi, dword [0x4518d8]
mov eax, 0x9a5307c5
imul esi, esi, 0xd4a0
imul ecx
add edx, ecx
mov ecx, dword [0x4518e4]
sar edx, 0xf
imul ecx, ecx, 0x33af
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x4518f0]
sub esi, eax
add esi, edx
lea edx, [ecx + esi + 0xc49d]
push str.CreateToolhelp32Snapshot__of_processes_
mov dword [0x4518e0], edx
call fcn.0042579d
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x944]
call fcn.00424991
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x4518e4]
mov eax, 0xa5820cf9
imul ecx
add edx, ecx
mov ecx, dword [0x4518f4]
sar edx, 0xe
imul ecx, ecx, 0x5a75
mov eax, edx
shr eax, 0x1f
add eax, edx
mov esi, eax
sub esi, ecx
mov ecx, dword [0x4518e0]
mov eax, 0x7225d683
imul ecx
sar edx, 0xf
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [esp + 0x18]
sub esi, eax
push ecx
add esi, 0x1f366
push ebx
mov dword [0x4518e4], esi
mov dword [esp + 0x20], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x403280
mov ecx, dword [0x4518d8]
mov esi, dword [0x4518dc]
mov edx, dword [0x4518e0]
imul esi, esi, 0x5c10
mov eax, ecx
imul edx, edx, 0x5a75
imul eax, eax, 0xbb8d
add esi, edx
sub esi, eax
mov eax, 0x27a02fad
imul ecx
sar edx, 0xb
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub esi, ecx
push ebx
mov dword [0x4518e8], esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [esp + 0x944]
call fcn.00424991
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x4518d8]
mov eax, 0x57bc6617
imul ecx
mov ecx, dword [str._r_____r_____n]
sar edx, 0xd
imul ecx, ecx, 0x5d5f
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x4518e4]
imul edx, edx, 0x588f
sub ecx, eax
lea eax, [ecx + edx - 0x5a74]
lea ecx, [esp + 0x140]
push ecx
lea edx, [esp + 0x40]
push edx
mov dword [0x4518ec], eax
call fcn.0042f42e
add esp, 8
test eax, eax
je 0x4035cc
mov ecx, dword [0x4518e4]
mov eax, 0x9a5307c5
imul ecx
mov eax, dword [0x4518dc]
add edx, ecx
imul eax, eax, 0xd4a0
mov ecx, dword [str._r_____r_____n]
sar edx, 0xf
mov esi, edx
shr esi, 0x1f
add esi, edx
add esi, eax
mov eax, 0x2badc843
imul ecx
mov eax, dword [esp + 0x20]
sar edx, 0xd
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x4518ec]
imul edx, edx, 0x11f11
sub esi, ecx
push eax
sub esi, edx
push 0
sub esi, 0x5a74
push 0x1f0fff
mov dword [0x4518f4], esi
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ecx, dword [0x4518e8]
mov edi, dword [0x4518f4]
mov esi, eax
imul edi, edi, 0x62fe
mov eax, 0x58fba7b7
imul ecx
sar edx, 0xd
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x4518d8]
sub edi, eax
sub edi, edx
test esi, esi
mov edx, dword [0x4518dc]
lea edi, [edi + edx + 0xd46b]
mov dword [str._r_____r_____n], edi
jne 0x40339a
push 0x441fcc
call fcn.0042579d
add esp, 4
jmp 0x403414
mov eax, dword [0x4518ec]
imul eax, eax, 0x5c10
mov dword [esp + 0x10], eax
mov eax, 0xd45237bd
imul ecx
mov ecx, dword [esp + 0x10]
sar edx, 0xd
mov eax, edx
shr eax, 0x1f
add eax, edx
sub eax, ecx
mov ecx, dword [0x4518f0]
mov dword [esp + 0x10], eax
mov eax, 0x27a02fad
imul ecx
mov eax, dword [esp + 0x10]
sar edx, 0xb
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x4518d4]
sub eax, ecx
add eax, edi
lea eax, [edx + eax - 0x5a74]
push esi
mov dword [0x4518d4], eax
call dword [sym.imp.KERNEL32.dll_GetPriorityClass]
test eax, eax
jne 0x40340d
push 0x441fb8
call fcn.0042579d
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x4518f4]
mov esi, dword [0x4518ec]
imul ecx, ecx, 0x62fe
imul esi, esi, 0xd4a0
sub esi, ecx
mov ecx, dword [0x4518dc]
mov eax, 0x7225d683
imul ecx
mov ecx, dword [0x4518e0]
sar edx, 0xf
mov eax, edx
shr eax, 0x1f
add esi, edx
add eax, esi
sub eax, ecx
lea ecx, [esp + 0x18]
push ecx
add eax, 0x131b4
push ebx
mov dword [0x4518d8], eax
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x403280
mov esi, dword [esp + 0x14]
mov ecx, dword [0x4518dc]
mov eax, 0x57bc6617
imul ecx
sar edx, 0xd
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, eax
mov eax, 0xf1bde717
imul dword [0x4518e8]
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x4518ec]
sub eax, ecx
mov ecx, dword [0x4518f4]
sub eax, edx
lea edx, [eax + ecx - 0x5a6f]
push ebx
mov dword [0x4518dc], edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x4031a0
mov ecx, dword [0x4518e8]
mov esi, dword [0x4518d8]
mov edi, dword [0x4518f0]
imul esi, esi, 0xd4a0
mov eax, 0x9a5307c5
imul ecx
add edx, ecx
mov ecx, dword [0x4518e4]
sar edx, 0xf
imul ecx, ecx, 0x33af
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 + 0xc49d]
push 0x1f0fff
mov dword [0x4518e0], edx
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edx, dword [0x4518e8]
mov ecx, dword [0x4518f4]
mov esi, eax
mov eax, 0x58fba7b7
imul edx
mov edi, ecx
imul edi, edi, 0x62fe
sar edx, 0xd
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x4518d8]
sub edi, eax
sub edi, edx
test esi, esi
mov edx, dword [0x4518dc]
lea eax, [edi + edx + 0xd46b]
mov dword [str._r_____r_____n], eax
je 0x4031a0
mov edi, dword [0x4518e4]
imul ecx, ecx, 0x5a75
mov eax, 0xa5820cf9
imul edi
add edx, edi
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edi, eax
sub edi, ecx
mov ecx, dword [0x4518e0]
mov eax, 0x7225d683
imul ecx
sar edx, 0xf
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub edi, ecx
mov ecx, dword [esp + 0x944]
add edi, 0x1f366
mov dword [0x4518e4], edi
mov eax, esi
call fcn.00424991
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x4518f0]
mov esi, dword [0x4518d4]
mov eax, 0xe4218e9
imul esi, esi, 0xd455
imul ecx
mov ecx, dword [0x4518e8]
imul ecx, ecx, 0x11f11
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
add esi, ecx
sub esi, dword [0x4518d8]
add esi, 0xc301
mov dword [0x4518f0], esi
mov esi, dword [esp + 0x20]
jmp 0x403470