Function at 0x409c4b
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
push 0x28
call fcn.00418b77
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 0x10c
call fcn.00418b77
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x42f856
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x41
rep stosd dword es:[edi], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], esp
push 0
push 0xf
mov eax, 6
call sub.kernel32.dll_CreateToolhelp32Snapshot
cmp dword [ebp - 0x10], esp
je 0x409cda
push 0x19
push 0x4013228
push 6
call fcn.00418b89
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x409cf1
mov eax, 0
jmp 0x40a0e8
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx], 0x128
mov dword [ebp - 0x10], esp
mov eax, dword [ebp - 8]
push eax
push 0x128
call fcn.00418b77
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 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, 0x104
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push dword [ebp - 4]
mov eax, 7
call sub.kernel32.dll_Process32First
cmp dword [ebp - 0x10], esp
je 0x409db7
push 0xe1
push 0x4013228
push 6
call fcn.00418b89
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x14]
push ebx
mov edi, dword [ebp - 0x18]
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.00418b71
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 0x409e48
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x409e46
imul eax, dword [edi]
jmp 0x409e3b
mov ecx, eax
cmp ecx, 0x104
jle 0x409e55
mov ecx, 0x104
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x104
call fcn.00418b7d
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x40a0b2
mov ebx, dword [ebp - 8]
add ebx, 0x24
mov dword [ebp - 0x10], ebx
push 0xa0000101
push 0
mov ebx, dword [ebp - 0x10]
push dword [ebx]
push 1
mov ebx, 0x168
call sub.wmvert.dll_wm_Str
add esp, 0x10
mov dword [ebp - 0x14], eax
push 0x80000002
push 0
push dword [ebp + 0xc]
push 0x80000004
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x409ec1
mov eax, 0x42f588
push eax
push 0x80000004
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x409ed7
mov eax, 0x42f588
push eax
push 3
mov ebx, 0x18c
call sub.wmvert.dll_wm_StrComp
add esp, 0x28
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x409efd
push ebx
call fcn.00418b7d
add esp, 4
cmp dword [ebp - 0x18], 0
jne 0x409f3d
mov dword [ebp - 0x10], esp
push dword [ebp - 4]
mov eax, 5
call sub.kernel32.dll_CloseHandle
cmp dword [ebp - 0x10], esp
je 0x409f33
push 0x1ac
push 0x4013228
push 6
call fcn.00418b89
add esp, 0xc
mov eax, 1
jmp 0x40a0e8
mov dword [ebp - 0x10], esp
mov eax, dword [ebp - 8]
push eax
push 0x128
call fcn.00418b77
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 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, 0x104
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push dword [ebp - 4]
mov eax, 8
call sub.kernel32.dll_Process32Next
cmp dword [ebp - 0x10], esp
je 0x409ff4
push 0x1f7
push 0x4013228
push 6
call fcn.00418b89
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x14]
push ebx
mov edi, dword [ebp - 0x18]
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.00418b71
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 0x40a085
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x40a083
imul eax, dword [edi]
jmp 0x40a078
mov ecx, eax
cmp ecx, 0x104
jle 0x40a092
mov ecx, 0x104
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x104
call fcn.00418b7d
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
jmp 0x409e70
mov dword [ebp - 0x10], esp
push dword [ebp - 4]
mov eax, 5
call sub.kernel32.dll_CloseHandle
cmp dword [ebp - 0x10], esp
je 0x40a0de
push 0x22d
push 0x4013228
push 6
call fcn.00418b89
add esp, 0xc
mov eax, 0
jmp 0x40a0e8
push eax
mov ebx, dword [ebp - 8]
push ebx
add ebx, 0x24
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00418b7d
add esp, 4
pop ebx
call fcn.00418b7d
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc