Function at 0x46f408
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0x28
call fcn.0047cabd
add esp, 4
mov dword [ebp - 0xc], 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 pe_nt_image_headers32
call fcn.0047cabd
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x607105
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 - 0x10], 0
push 0x80000301
push 0
push 0xa
push 1
mov ebx, 0x1c
mov eax, 0x48c100
call fcn.0047ce70
add esp, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x46f4a5
push ebx
call fcn.0047cad5
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], esp
push 0
push 0xf
call dword [sym.imp.kernel32.dll_CreateToolhelp32Snapshot]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x46f4dc
push 0x4b
push 0x4010a1f
push 6
call fcn.0047cac3
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x46f4ee
jmp 0x46fa16
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
mov dword [ebx], 0x128
mov dword [ebp - 0x14], esp
mov eax, dword [ebp - 0xc]
push eax
push 0x124
call fcn.0047cabd
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 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 - 8]
call dword [sym.imp.kernel32.dll_Process32First]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x46f5b4
push 0x113
push 0x4010a1f
push 6
call fcn.0047cac3
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x18]
push ebx
mov edi, dword [ebp - 0x1c]
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.0047cdf0
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 0x46f645
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x46f643
imul eax, dword [edi]
jmp 0x46f638
mov ecx, eax
cmp ecx, 0x100
jle 0x46f652
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.0047cad5
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x46f9ea
cmp dword [ebp + 8], 0
jne 0x46f70e
mov ebx, dword [ebp - 0xc]
add ebx, 0x24
mov dword [ebp - 0x18], ebx
push 0xa0000101
push 0
mov ebx, dword [ebp - 0x18]
push dword [ebx]
push 1
mov ebx, 0x168
call fcn.0047d030
add esp, 0x10
mov dword [ebp - 0x1c], eax
push 0
mov ebx, pe_nt_image_headers32
call fcn.0047fa70
add esp, 4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
push dword [ebp - 0x1c]
call fcn.004653b9
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x46f6ed
push ebx
call fcn.0047cad5
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x46f6fd
push ebx
call fcn.0047cad5
add esp, 4
cmp dword [ebp - 0x24], 0
je 0x46f70e
mov eax, 1
jmp 0x46f713
mov eax, 0
test eax, eax
je 0x46f7c8
mov ebx, dword [ebp - 0xc]
add ebx, 8
mov dword [ebp - 0x14], ebx
push 0x80000301
push 0
mov ebx, dword [ebp - 0x14]
push dword [ebx]
push 1
mov ebx, 0x168
call fcn.0047d030
add esp, 0x10
mov dword [ebp - 0x18], eax
push dword [ebp - 0x18]
push 0x6070fa
push dword [ebp - 4]
mov ecx, 3
call fcn.0046512b
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x46f770
push ebx
call fcn.0047cad5
add esp, 4
push 0x80000301
push 0
push 1
push reloc.oleaut32.dll_SysReAllocString
push 0
push 1
push VariantClear
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x46f79b
mov eax, 0x5db948
push eax
push 3
mov ebx, 0x2c0
call fcn.0047fb10
add esp, 0x28
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x46f7be
push ebx
call fcn.0047cad5
add esp, 4
jmp 0x46f9ea
cmp dword [ebp + 8], 0
je 0x46f875
mov ebx, dword [ebp - 0xc]
add ebx, 8
mov dword [ebp - 0x14], ebx
push 0x80000301
push 0
mov ebx, dword [ebp - 0x14]
push dword [ebx]
push 1
mov ebx, 0x168
call fcn.0047d030
add esp, 0x10
mov dword [ebp - 0x18], eax
push dword [ebp - 0x18]
push 0x6070fa
push dword [ebp - 4]
mov ecx, 3
call fcn.0046512b
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x46f827
push ebx
call fcn.0047cad5
add esp, 4
push 0x80000301
push 0
push 1
push reloc.oleaut32.dll_SysReAllocString
push 0
push 0
push VariantClear
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x46f852
mov eax, 0x5db948
push eax
push 3
mov ebx, 0x2c0
call fcn.0047fb10
add esp, 0x28
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x46f875
push ebx
call fcn.0047cad5
add esp, 4
mov dword [ebp - 0x14], esp
mov eax, dword [ebp - 0xc]
push eax
push 0x124
call fcn.0047cabd
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 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 - 8]
call dword [sym.imp.kernel32.dll_Process32Next]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x46f92c
push 0x35c
push 0x4010a1f
push 6
call fcn.0047cac3
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x18]
push ebx
mov edi, dword [ebp - 0x1c]
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.0047cdf0
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 0x46f9bd
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x46f9bb
imul eax, dword [edi]
jmp 0x46f9b0
mov ecx, eax
cmp ecx, 0x100
jle 0x46f9ca
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.0047cad5
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
jmp 0x46f66d
mov dword [ebp - 0x14], esp
push dword [ebp - 8]
call dword [0x616196]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x46fa16
push 0x392
push 0x4010a1f
push 6
call fcn.0047cac3
add esp, 0xc
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x46fa26
push ebx
call fcn.0047cad5
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
add ebx, 0x24
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0047cad5
add esp, 4
pop ebx
call fcn.0047cad5
add esp, 4
mov esp, ebp
pop ebp
ret 4