Function at 0x406000
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0xe84
mov eax, dword [0x45f640]
mov ecx, dword [0x45dbd8]
xor eax, esp
mov dword [esp + 0xe80], eax
mov eax, dword [esp + 0xe88]
mov dword [esp + 4], eax
mov eax, 0x1066a8b3
imul ecx
imul ecx, ecx, 0x5390766
sar edx, 0x16
mov eax, edx
shr eax, 0x1f
add eax, edx
push ebx
push ebp
push esi
mov esi, dword [0x45dbd0]
push edi
mov edi, eax
mov eax, 0xcfdc5805
imul esi
add edx, esi
mov esi, dword [0x45dbdc]
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45dbe8]
sub edi, eax
imul edx, edx, 0x20e865f
mov eax, dword [0x45dbc8]
imul eax, eax, 0x362805a
add edi, edx
add edi, eax
mov eax, 0xc41087d7
imul esi
add edx, esi
sar edx, 0x1a
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
add edi, ecx
sub edi, dword [0x45dbe4]
push 0
sub edi, 0x3e6f678
push 2
mov dword [0x45dbd0], edi
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ecx, dword [0x45dbd4]
mov edi, dword [0x45dbcc]
mov ebx, eax
mov eax, 0xc69fb513
imul ecx
add edx, ecx
sar edx, 0x19
mov ebp, edx
shr ebp, 0x1f
add ebp, edx
mov edx, edi
imul edx, edx, 0x33bbc84
mov esi, dword [0x45dbdc]
add ebp, edx
mov eax, 0x2ee68aa5
imul edi
sar edx, 0x17
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45dbe8]
sub ebp, eax
imul edx, edx, 0x20e865f
mov eax, esi
imul eax, eax, 0x362805a
add ebp, edx
add ebp, eax
mov eax, 0xc41087d7
imul ecx
mov dword [esp + 0x18], ebx
add edx, ecx
sar edx, 0x1a
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, 0xc41087d7
imul edi
sub ebp, ecx
add edx, edi
sar edx, 0x1a
add ebp, edx
mov ecx, edx
mov eax, 0xc69fb513
imul esi
add edx, esi
sar edx, 0x19
shr ecx, 0x1f
add ecx, ebp
mov ebp, edx
shr ebp, 0x1f
add ebp, edx
mov dword [str._r_____r____], ecx
imul ecx, ecx, 0x5f666e7
mov edx, esi
imul edx, edx, 0x33bbc84
add ebp, ecx
mov ecx, dword [0x45dbd8]
add ebp, edx
imul ecx, ecx, 0x362805a
mov eax, 0x83228937
imul esi
add edx, esi
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebp, eax
add ebp, dword [0x45dbe0]
lea eax, [esp + 0xe8]
push eax
lea edx, [ecx + ebp - 0x3e6f678]
push ebx
mov dword [esp + 0xf0], 0x128
xor edi, edi
mov dword [0x45dbd4], edx
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x4061c0
or eax, 0xffffffff
jmp 0x406610
mov ecx, dword [0x45dbd0]
mov esi, dword [0x45dbc8]
imul esi, esi, 0x3e6f678
mov eax, 0x1066a8b3
imul ecx
sar edx, 0x16
add esi, edx
mov ebx, edx
mov eax, 0x4f2cca89
imul ecx
sar edx, 0x18
shr ebx, 0x1f
add ebx, esi
add ebx, edx
mov esi, edx
mov eax, 0x4c3a114b
imul ecx
sar edx, 0x18
shr esi, 0x1f
mov ecx, edx
add esi, ebx
mov ebx, dword [0x45dbe4]
add esi, edx
shr ecx, 0x1f
add ecx, esi
mov esi, dword [0x45dbe0]
mov edx, esi
imul edx, edx, 0xac2519
sub ecx, edx
mov eax, 0x974409b3
imul ebx
add edx, ebx
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov dword [0x45dbc8], ecx
xor eax, eax
mov edi, edi
mov dl, byte [esp + eax + 0x10c]
mov byte [esp + eax + 0x210], dl
inc eax
test dl, dl
jne 0x406240
mov edx, dword [0x45dbd4]
imul ecx, ecx, 0x293e68d
mov ebx, dword [0x45dbe8]
mov eax, 0x39604aed
imul edx
sub edx, dword [0x45dbd4]
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebp, ebx
imul ebp, ebp, 0x3e6f678
sub eax, ebp
add eax, ecx
mov ebp, eax
mov eax, 0x4f2cca89
imul ebx
sar edx, 0x18
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, 0x83228937
imul esi
sub ebp, ecx
add edx, esi
imul esi, esi, 0x3e78532
sar edx, 0x19
mov ecx, edx
add ebp, edx
mov eax, 0x7c780d21
imul ebx
shr ecx, 0x1f
add ecx, ebp
sar edx, 0x18
add ecx, esi
mov eax, edx
add ecx, edx
shr eax, 0x1f
add eax, ecx
mov ecx, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x214]
push edx
mov dword [0x45dbd8], eax
call fcn.0043b2ae
mov ebx, dword [0x45dbe4]
mov esi, dword [0x45dbe0]
add esp, 8
test eax, eax
jne 0x40637d
mov ecx, dword [0x45dbd4]
mov eax, 0xc69fb513
imul ecx
add edx, ecx
sar edx, 0x19
mov edi, ebx
imul edi, edi, 0x3e6f678
add edi, edx
mov ebp, edx
mov eax, esi
imul eax, eax, 0x33bbc84
shr ebp, 0x1f
add ebp, edi
mov edi, dword [0x45dbcc]
add ebp, eax
mov eax, 0x83228937
imul edi
add edx, edi
sar edx, 0x19
add ebp, edx
mov edi, edx
mov edx, dword [0x45dbe8]
imul edx, edx, 0x20e865f
shr edi, 0x1f
add edi, ebp
sub edi, edx
mov eax, 0x974409b3
imul ecx
add edx, ecx
sar edx, 0x19
mov eax, edx
add edi, edx
mov edx, dword [str._r_____r____]
shr eax, 0x1f
add eax, edi
sub eax, edx
add eax, 0x276937b
mov dword [0x45dbcc], eax
mov edi, 1
mov ecx, dword [0x45dbd0]
imul esi, esi, 0xac2519
mov ebp, dword [0x45dbc8]
mov eax, 0x1066a8b3
imul ebp, ebp, 0x3e6f678
imul ecx
sar edx, 0x16
add ebp, edx
mov eax, edx
shr eax, 0x1f
add eax, ebp
mov dword [esp + 0x10], eax
mov eax, 0x4f2cca89
imul ecx
mov eax, dword [esp + 0x10]
sar edx, 0x18
add eax, edx
mov ebp, edx
shr ebp, 0x1f
add ebp, eax
mov eax, 0x4c3a114b
imul ecx
sar edx, 0x18
mov ecx, edx
add ebp, edx
mov eax, 0x974409b3
imul ebx
add edx, ebx
shr ecx, 0x1f
sar edx, 0x19
add ecx, ebp
mov eax, edx
sub ecx, esi
mov esi, dword [esp + 0x18]
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov dword [0x45dbc8], ecx
lea ecx, [esp + 0xe8]
push ecx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x406595
mov eax, edi
shl eax, 6
lea edx, [esp + 0x10c]
lea ebx, [esp + eax + 0x210]
sub eax, edx
lea edx, [esp + eax + 0x210]
mov dword [esp + 0x10], edx
jmp 0x406433
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x10c]
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x406440
mov ecx, dword [0x45dbd4]
mov esi, dword [0x45dbe4]
mov eax, 0xc69fb513
imul esi, esi, 0x3e6f678
imul ecx
mov eax, dword [0x45dbe0]
add edx, ecx
imul eax, eax, 0x33bbc84
sar edx, 0x19
add esi, edx
mov ebp, edx
shr ebp, 0x1f
add ebp, esi
mov esi, dword [0x45dbcc]
add ebp, eax
mov eax, 0x83228937
imul esi
add edx, esi
sar edx, 0x19
mov esi, edx
add ebp, edx
mov edx, dword [0x45dbe8]
imul edx, edx, 0x20e865f
shr esi, 0x1f
add esi, ebp
sub esi, edx
mov eax, 0x974409b3
imul ecx
add edx, ecx
mov ecx, dword [esp + 0x14]
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add esi, edx
mov edx, dword [str._r_____r____]
add eax, esi
sub eax, edx
push ecx
add eax, 0x276937b
push ebx
mov dword [0x45dbcc], eax
call fcn.0043b2ae
add esp, 8
test eax, eax
jne 0x40657b
mov esi, dword [0x45dbcc]
mov edx, dword [0x45dbd0]
mov eax, dword [0x45dbdc]
mov ecx, dword [0x45dbe4]
imul eax, eax, 0x3e6f678
lea ebp, [esi + edx]
imul ebp, ebp, 0x2baab78
add ebp, eax
mov eax, 0xc69fb513
imul ecx
add edx, ecx
sar edx, 0x19
add ebp, edx
mov eax, edx
mov edx, dword [0x45dbe0]
imul edx, edx, 0x35bbff4
shr eax, 0x1f
add eax, ebp
add eax, edx
mov ebp, eax
mov eax, 0x974409b3
imul esi
add edx, esi
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebp, eax
mov eax, 0xc41087d7
imul ecx
mov eax, dword [esp + 0x10]
add edx, ecx
sar edx, 0x1a
add ebp, edx
mov ecx, edx
mov edx, dword [esp + 0xf0]
shr ecx, 0x1f
add ecx, ebp
mov dword [esp + edi*4 + 0x20], edx
inc edi
add ebx, 0x40
add eax, 0x40
mov dword [0x45dbdc], ecx
mov dword [esp + 0x10], eax
mov esi, dword [esp + 0x18]
lea eax, [esp + 0xe8]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x40642f
mov ecx, dword [0x45dbe8]
mov edx, dword [0x45dbd0]
mov eax, dword [0x45dbdc]
lea ebx, [ecx + edx]
imul eax, eax, 0x3e6f678
mov edx, dword [0x45dbd8]
imul ebx, ebx, 0x276937b
imul edx, edx, 0x35bbff4
sub ebx, eax
add ebx, edx
mov eax, 0x2ee68aa5
imul ecx
mov ecx, dword [0x45dbcc]
sar edx, 0x17
mov ebp, edx
add ebx, edx
mov eax, 0xcfdc5805
imul ecx
add edx, ecx
mov ecx, dword [0x45dbd4]
sar edx, 0x19
imul ecx, ecx, 0x20e865f
shr ebp, 0x1f
mov eax, edx
shr eax, 0x1f
add ebp, ebx
add eax, edx
sub ebp, eax
sub ebp, ecx
push esi
mov dword [0x45dbe0], ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov ecx, dword [esp + 0xe90]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043079d
add esp, 0xe84
ret