Function at 0x4054a0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0xe7c
mov eax, dword [0x457000]
mov dword [esp + 0xe78], eax
push ebx
push ebp
push esi
push edi
mov ecx, dword [0x45569c]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, eax
mov eax, dword [0x455688]
lea edx, [eax + eax*8]
mov eax, dword [0x4556a8]
mov ebx, dword [0x4556a0]
shl edx, 2
mov esi, edx
sub esi, ecx
mov ecx, dword [0x455690]
lea eax, [eax + eax*2]
shl eax, 4
add esi, eax
mov eax, 0x94f2095
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub esi, ecx
sub esi, ebx
push 0
sub esi, 0x39
push 2
mov dword [0x455690], esi
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ecx, dword [0x455694]
mov ebp, eax
mov edi, dword [0x45569c]
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebx, eax
mov eax, 0x5397829d
imul edi
mov esi, dword [0x45568c]
sar edx, 4
imul esi, esi, 0x34
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub ebx, ecx
mov ecx, dword [0x455690]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
mov eax, dword [0x4556a8]
mov ecx, eax
shl ecx, 4
add ecx, eax
mov eax, dword [0x455698]
add ebx, esi
add ecx, ebx
lea edx, [eax + eax*8]
xor ebx, ebx
shl edx, 2
mov eax, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebp
mov dword [str._r_____r____], ecx
mov dword [esp + 0xe0], 0x128
mov eax, 0x30c30c31
imul edi
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x10]
sub edx, eax
mov eax, dword [0x4556a4]
lea ecx, [ecx + ecx*4]
add edx, esi
lea edx, [edx + ecx*2]
lea ecx, [edx + eax - 0x39]
lea edx, [esp + 0xe0]
push edx
push ebp
mov dword [0x455694], ecx
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x405605
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0xe78]
call fcn.00428ee1
add esp, 0xe7c
ret
mov ecx, dword [0x4556a4]
mov eax, 0x38e38e39
imul ecx
mov ecx, dword [0x45569c]
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov esi, eax
mov eax, 0x151d07eb
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov ecx, dword [0x4556a0]
mov eax, ecx
imul eax, eax, 0x31
sub edx, esi
mov esi, dword [str._r_____r____]
sub edx, eax
mov eax, dword [0x455690]
imul eax, eax, 0x39
sub edx, eax
mov eax, dword [0x455688]
add edx, esi
add eax, edx
mov dword [0x455688], eax
xor esi, esi
jmp 0x405670
mov al, byte [esp + esi + 0x104]
mov byte [esp + esi + 0x208], al
inc esi
test al, al
jne 0x405670
mov edx, dword [0x455698]
imul ecx, ecx, 0x2a
mov eax, 0x78787879
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x455694]
mov esi, eax
mov eax, 0x66666667
imul edx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
add esi, ecx
mov ecx, dword [0x4556a8]
mov edx, ecx
imul edx, edx, 0x39
sub esi, edx
mov eax, 0x4ec4ec4f
imul ecx
mov ecx, dword [esp + 0xe90]
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
push ecx
lea edx, [esp + 0x20c]
sub esi, eax
push edx
mov dword [0x455698], esi
call fcn.0043396e
mov ecx, dword [0x455690]
mov esi, dword [0x4556a0]
add esp, 8
test eax, eax
jne 0x40575a
mov edx, dword [0x45568c]
mov eax, 0x30c30c31
imul edx
sar edx, 3
mov eax, esi
imul eax, eax, 0x34
mov edi, edx
shr edi, 0x1f
add edi, edx
add edi, eax
mov eax, dword [0x4556a8]
mov edx, eax
shl edx, 4
add edx, eax
sub edi, edx
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edi, edx
add eax, edi
sub eax, dword [0x455694]
add eax, 0x37
mov dword [0x45568c], eax
mov ebx, 1
mov edx, dword [0x4556a4]
imul ecx, ecx, 0x39
imul esi, esi, 0x31
mov eax, 0x38e38e39
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45569c]
mov edi, eax
mov eax, 0x151d07eb
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
sub eax, edi
mov edi, dword [0x455688]
sub eax, esi
sub eax, ecx
add eax, dword [str._r_____r____]
lea ecx, [esp + 0xe0]
push ecx
add edi, eax
push ebp
mov dword [0x455688], edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x4058ec
mov eax, ebx
shl eax, 6
lea edx, [esp + 0x104]
lea esi, [esp + eax + 0x208]
sub eax, edx
lea edi, [esp + eax + 0x208]
lea esp, [esp]
lea eax, [esp + 0x104]
mov cl, byte [eax]
mov byte [edi + eax], cl
inc eax
test cl, cl
jne 0x4057e7
mov ecx, dword [0x45568c]
mov eax, 0x30c30c31
imul ecx
mov ecx, dword [0x4556a0]
sar edx, 3
imul ecx, ecx, 0x34
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, ecx
mov ecx, dword [0x455690]
mov dword [esp + 0x10], eax
mov eax, dword [0x4556a8]
mov edx, eax
shl edx, 4
add edx, eax
mov eax, dword [esp + 0x10]
sub eax, edx
mov dword [esp + 0x10], eax
mov eax, 0x66666667
imul ecx
mov ecx, dword [esp + 0x10]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add ecx, edx
mov edx, dword [0x455694]
add eax, ecx
mov ecx, dword [esp + 0xe90]
sub eax, edx
push ecx
add eax, 0x37
push esi
mov dword [0x45568c], eax
call fcn.0043396e
add esp, 8
test eax, eax
jne 0x4058d6
mov ecx, dword [0x45568c]
mov edx, dword [0x455694]
mov eax, edx
imul eax, eax, 0x39
mov ebp, ecx
imul ebp, ebp, 0x61
add ebp, eax
mov eax, 0x2aaaaaab
imul edx
sar edx, 3
add ebp, edx
mov eax, edx
shr eax, 0x1f
add eax, ebp
mov ebp, eax
mov eax, 0x38e38e39
imul ecx
mov eax, dword [esp + 0xe8]
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x455690]
imul edx, edx, 0x31
sub ebp, ecx
add ebp, edx
mov dword [esp + ebx*4 + 0x18], eax
mov dword [0x45569c], ebp
mov ebp, dword [esp + 0x14]
inc ebx
add esi, 0x40
add edi, 0x40
lea ecx, [esp + 0xe0]
push ecx
push ebp
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x4057e0
mov ecx, dword [0x45568c]
mov esi, dword [0x455698]
mov eax, 0x94f2095
imul esi, esi, 0x17
imul ecx
mov ecx, dword [str._r_____r____]
sar edx, 1
imul ecx, ecx, 0x37
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
add esi, ecx
push ebp
mov dword [0x4556a0], esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0xe88]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
call fcn.00428ee1
add esp, 0xe7c
ret