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
mov eax, 0x6614bc37
imul ecx
mov ecx, dword [0x4518f4]
imul ecx, ecx, 0x926
sar edx, 0xa
push ebx
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x4518dc]
sub ecx, eax
push esi
push edi
sub ecx, dword [0x4518d8]
lea eax, [ecx + edx + 0x1503]
mov dword [str._r_____r_____n], eax
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 0x442000
push edx
stosb byte es:[edi], al
call fcn.004250ea
mov ecx, dword [0x4518e8]
mov esi, dword [0x4518ec]
mov eax, 0x4152dddf
imul ecx
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x4518f0]
mov edi, esi
imul edi, edi, 0xfffff5f8
sub edi, eax
mov eax, 0x6a79dd7b
imul edx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x4518d4]
sub edi, eax
add edi, dword [str._r_____r_____n]
lea eax, [edx + edi - 0x86c]
mov edi, dword [0x4518dc]
mov dword [0x4518d4], eax
mov eax, 0x8c03f71d
imul edi
mov ebx, dword [0x4518f4]
add edx, edi
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, esi
imul edx, edx, 0x1538
add eax, edx
mov edx, ebx
imul edx, edx, 0x926
sub eax, edx
sub eax, dword [0x4518e0]
add eax, 0x2044
mov dword [0x4518d8], eax
mov eax, 0x8b081419
imul ecx
add esp, 0xc
mov dword [esp + 0x10], 0
add edx, ecx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, eax
mov eax, 0xa5b2ed37
imul edi
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
sub eax, ecx
sub eax, esi
push 0
lea ecx, [eax + ebx - 0x866]
push 2
mov dword [0x4518dc], ecx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4031ae
mov ecx, dword [0x4518e8]
mov esi, dword [0x4518d8]
mov eax, 0x61dea4df
imul esi, esi, 0x1538
imul ecx
mov ecx, dword [0x4518e4]
sar edx, 0xb
imul ecx, ecx, 0x4cf
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x4518f0]
sub esi, eax
add esi, edx
lea edx, [ecx + esi + 0x14d5]
push str.CreateToolhelp32Snapshot__of_processes_
mov dword [0x4518e0], edx
call fcn.004257cd
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x944]
call fcn.004249c1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x4518e0]
mov eax, 0x8c03f71d
imul ecx
add edx, ecx
mov ecx, dword [0x4518e4]
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
mov esi, eax
mov eax, 0x1bfba0af
imul ecx
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x4518f4]
imul edx, edx, 0x86d
sub ecx, esi
lea eax, [esp + 0x18]
sub ecx, edx
push eax
add ecx, 0x322e
push ebx
mov dword [0x4518e4], ecx
mov dword [esp + 0x20], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x403271
mov ecx, dword [0x4518d8]
mov esi, dword [0x4518dc]
mov eax, dword [0x4518e0]
imul esi, esi, 0xa08
mov edx, ecx
imul eax, eax, 0x86d
imul edx, edx, 0xfad
sub esi, edx
add esi, eax
mov eax, 0x6a79dd7b
imul ecx
sar edx, 9
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.004249c1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x4518d8]
mov eax, 0x5a4d12c9
imul ecx
mov ecx, dword [str._r_____r_____n]
sar edx, 0xa
imul ecx, ecx, 0xb57
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x4518e4]
imul edx, edx, 0x687
sub ecx, eax
lea eax, [ecx + edx - 0x86c]
lea ecx, [esp + 0x140]
push ecx
lea edx, [esp + 0x40]
push edx
mov dword [0x4518ec], eax
call fcn.0042f45e
add esp, 8
test eax, eax
je 0x4035b4
mov ecx, dword [0x4518e4]
mov esi, dword [0x4518ec]
mov eax, 0x61dea4df
imul esi, esi, 0x1d41
imul ecx
mov ecx, dword [0x4518dc]
sar edx, 0xb
imul ecx, ecx, 0x1538
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edi, eax
sub edi, esi
add edi, ecx
mov ecx, dword [str._r_____r_____n]
mov eax, 0x4152dddf
imul ecx
mov ecx, dword [esp + 0x20]
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
push ecx
sub edi, eax
push 0
sub edi, 0x86c
push 0x1f0fff
mov dword [0x4518f4], edi
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ecx, dword [0x4518e8]
mov esi, eax
mov eax, 0x6614bc37
imul ecx
mov edi, dword [0x4518d8]
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x4518f4]
imul edx, edx, 0x926
sub edx, eax
mov eax, dword [0x4518dc]
sub edx, edi
test esi, esi
lea edi, [edx + eax + 0x1503]
mov dword [str._r_____r_____n], edi
jne 0x40338b
push 0x441fcc
call fcn.004257cd
add esp, 4
jmp 0x4033fd
mov eax, 0x4152dddf
imul ecx
mov eax, dword [0x4518ec]
imul eax, eax, 0xfffff5f8
sar edx, 0xa
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub eax, ecx
mov ecx, dword [0x4518f0]
mov dword [esp + 0x14], eax
mov eax, 0x6a79dd7b
imul ecx
mov ecx, dword [esp + 0x14]
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x4518d4]
sub ecx, eax
add ecx, edi
lea eax, [edx + ecx - 0x86c]
push esi
mov dword [0x4518d4], eax
call dword [sym.imp.KERNEL32.dll_GetPriorityClass]
test eax, eax
jne 0x4033f6
push 0x441fb8
call fcn.004257cd
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x4518dc]
mov eax, 0x8c03f71d
imul ecx
mov eax, dword [0x4518f4]
add edx, ecx
imul eax, eax, 0x926
sar edx, 0xc
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x4518ec]
imul edx, edx, 0x1538
add ecx, edx
sub ecx, eax
sub ecx, dword [0x4518e0]
add ecx, 0x2044
mov dword [0x4518d8], ecx
lea ecx, [esp + 0x18]
push ecx
push ebx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x403271
mov ecx, dword [0x4518e8]
mov esi, dword [esp + 0x10]
mov eax, 0x8b081419
imul ecx
add edx, ecx
sar edx, 0xc
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edi, ecx
mov ecx, dword [0x4518dc]
mov eax, 0xa5b2ed37
imul ecx
mov ecx, dword [0x4518f4]
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x4518ec]
sub eax, edi
sub eax, edx
lea edx, [eax + ecx - 0x866]
push ebx
mov dword [0x4518dc], edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x403199
mov ecx, dword [0x4518e8]
mov esi, dword [0x4518d8]
mov ebx, dword [0x4518f0]
imul esi, esi, 0x1538
mov eax, 0x61dea4df
imul ecx
mov ecx, dword [0x4518e4]
sar edx, 0xb
imul ecx, ecx, 0x4cf
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov eax, dword [esp + 0x20]
push eax
add esi, ebx
push 0
lea edx, [ecx + esi + 0x14d5]
push 0x1f0fff
mov dword [0x4518e0], edx
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ecx, dword [0x4518e8]
mov esi, eax
mov eax, 0x6614bc37
imul ecx
sar edx, 0xa
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov ecx, dword [0x4518f4]
mov eax, ecx
imul eax, eax, 0x926
sub eax, edx
sub eax, dword [0x4518d8]
test esi, esi
mov edx, dword [0x4518dc]
lea eax, [eax + edx + 0x1503]
mov dword [str._r_____r_____n], eax
je 0x403199
mov edi, dword [0x4518e0]
imul ecx, ecx, 0x86d
mov eax, 0x8c03f71d
imul edi
add edx, edi
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x4518e4]
mov edi, eax
mov eax, 0x1bfba0af
imul edx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
sub eax, edi
sub eax, ecx
mov ecx, dword [esp + 0x944]
add eax, 0x322e
mov dword [0x4518e4], eax
mov eax, esi
call fcn.004249c1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x4518f0]
mov eax, 0x8b081419
imul ecx
add edx, ecx
mov ecx, dword [0x4518e8]
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
mov esi, dword [0x4518d8]
mov edx, ecx
imul edx, edx, 0x1d41
sub edx, eax
mov eax, dword [0x4518d4]
imul eax, eax, 0x14ed
add edx, eax
sub edx, esi
mov esi, dword [esp + 0x20]
add edx, 0x1339
mov dword [0x4518f0], edx
jmp 0x403460