Function at 0x405bb9
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
push 0x28
call fcn.00417793
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xa
rep stosd dword es:[edi], eax
add ebx, 0x24
push ebx
push 0x108
call fcn.00417793
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x2699821
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x40
rep stosd dword es:[edi], eax
mov dword [ebp - 0xc], 0
push 0x10
call fcn.00417793
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
push 8
call fcn.00417793
add esp, 4
mov dword [ebp - 0x14], eax
mov edi, eax
mov esi, 0x26996ec
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x18], esp
push 0
push 0xf
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x405c90
push 0x19
push 0x4010082
push 6
call fcn.0041779f
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x405ca7
mov eax, 0
jmp 0x40628c
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 0x400
mov dword [ebp - 0x18], esp
mov eax, dword [ebp - 8]
push eax
push 0x124
call fcn.00417793
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x100
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_Process32First]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x405d6d
push 0xfe
push 0x4010082
push 6
call fcn.0041779f
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x1c]
push ebx
mov edi, dword [ebp - 0x20]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 1
mov eax, 2
call fcn.00417bb0
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x405dfe
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x405dfc
imul eax, dword [edi]
jmp 0x405df1
mov ecx, eax
cmp ecx, 0x100
jle 0x405e0b
mov ecx, 0x100
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x100
call fcn.0041778d
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x406148
mov ebx, dword [ebp - 8]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
cmp dword [ebx], 0
je 0x405fd3
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 8]
add ebx, 0x18
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 8]
add ebx, 8
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 8]
add ebx, 0x24
mov dword [ebp - 0x1c], ebx
push 0xa0000101
push 0
mov ebx, dword [ebp - 0x1c]
push dword [ebx]
push 1
mov ebx, 0x168
call fcn.004186a0
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x18]
mov ebx, dword [ebx]
test ebx, ebx
je 0x405ec3
push ebx
call fcn.0041778d
add esp, 4
pop eax
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
cmp dword [ebp + 0x10], 0
je 0x405f0e
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 8]
add ebx, 8
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
push dword [ebx]
call fcn.0040634d
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x18]
mov ebx, dword [ebx]
test ebx, ebx
je 0x405f08
push ebx
call fcn.0041778d
add esp, 4
pop eax
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
lea eax, [ebp - 0x14]
push eax
push 4
mov eax, 2
call fcn.00417bb0
add esp, 8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], ebx
call fcn.00403adb
mov dword [ebp - 0x20], ecx
mov edi, dword [ebp - 0x1c]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x405f51
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x20]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x1c]
call fcn.004177ab
add esp, 8
mov dword [ebp - 0x14], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x20]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x18]
push edi
push eax
push 0x10
call fcn.00417793
add esp, 4
pop esi
mov edi, eax
push eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x405fad
push eax
mov ebx, eax
call fcn.00401081
inc eax
push eax
call fcn.00417793
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x405fcc
push eax
mov ebx, eax
call fcn.00401081
inc eax
push eax
call fcn.00417793
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
pop eax
pop edi
mov dword [edi], eax
mov dword [ebp - 0x18], esp
mov eax, dword [ebp - 8]
push eax
push 0x124
call fcn.00417793
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x100
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_Process32Next]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x40608a
push 0x32b
push 0x4010082
push 6
call fcn.0041779f
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x1c]
push ebx
mov edi, dword [ebp - 0x20]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 1
mov eax, 2
call fcn.00417bb0
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x40611b
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x406119
imul eax, dword [edi]
jmp 0x40610e
mov ecx, eax
cmp ecx, 0x100
jle 0x406128
mov ecx, 0x100
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x100
call fcn.0041778d
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
jmp 0x405e26
mov dword [ebp - 0x18], esp
push dword [ebp - 4]
xor eax, eax
call dword [0x2699f87]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x406174
push 0x374
push 0x4010082
push 6
call fcn.0041779f
add esp, 0xc
mov eax, dword [ebp - 0x14]
push eax
mov ebx, eax
call fcn.00403adb
pop eax
sub ebx, eax
push ecx
push ebx
push eax
shl ecx, 2
add ecx, ebx
push ecx
call fcn.00417793
add esp, 4
pop esi
mov edi, eax
pop ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
pop ecx
test ecx, ecx
je 0x40620b
push eax
lodsd eax, dword [esi]
push esi
push edi
push ecx
push eax
push 0x10
call fcn.00417793
add esp, 4
pop esi
mov edi, eax
push eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x4061dc
push eax
mov ebx, eax
call fcn.00401081
inc eax
push eax
call fcn.00417793
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x4061fb
push eax
mov ebx, eax
call fcn.00401081
inc eax
push eax
call fcn.00417793
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
pop eax
pop ecx
pop edi
pop esi
stosd dword es:[edi], eax
dec ecx
jne 0x4061a6
pop eax
push eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40622c
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x406228
imul eax, dword [ebx]
jmp 0x40621d
mov ecx, eax
test ecx, ecx
je 0x40626f
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40624a
push ebx
call fcn.0041778d
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40625e
push ebx
call fcn.0041778d
add esp, 4
pop ebx
call fcn.0041778d
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x406232
call fcn.0041778d
add esp, 4
pop eax
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
call fcn.00403ac2
jmp 0x40628c
push eax
mov ebx, dword [ebp - 8]
push ebx
add ebx, 0x24
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0041778d
add esp, 4
pop ebx
call fcn.0041778d
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4062c0
push ebx
call fcn.0041778d
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4062d4
push ebx
call fcn.0041778d
add esp, 4
pop ebx
call fcn.0041778d
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4062fb
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4062f7
imul eax, dword [ebx]
jmp 0x4062ec
mov ecx, eax
test ecx, ecx
je 0x40633e
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x406319
push ebx
call fcn.0041778d
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40632d
push ebx
call fcn.0041778d
add esp, 4
pop ebx
call fcn.0041778d
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x406301
call fcn.0041778d
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10