Function at 0x406b70
Capabilities:
Enumerate processes
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x419f31
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x421110]
xor eax, esp
mov dword [esp + 0x2b4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x421110]
xor eax, esp
push eax
lea eax, [esp + 0x2cc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x2dc]
mov ebp, ecx
xor ebx, ebx
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], ebx
call fcn.004041c0
push 0x124
lea eax, [esp + 0xa4]
push ebx
push eax
mov dword [esp + 0x2e0], ebx
mov dword [esp + 0xa8], ebx
call fcn.00409050
add esp, 0xc
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [esp + 0x20], esi
cmp esi, 0xffffffff
jne 0x406c18
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
call fcn.00404ba0
lea ecx, [esp + 0x24]
call fcn.00404c90
jmp 0x406e86
lea edx, [esp + 0x9c]
push edx
push esi
mov dword [esp + 0xa4], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x406e30
add ebp, 4
mov dword [esp + 0x18], ebp
xor eax, eax
jmp 0x406c50
mov cl, byte [esp + eax + 0xc0]
mov byte [esp + eax + 0x1c4], cl
inc eax
cmp cl, bl
jne 0x406c50
lea eax, [esp + 0x1c4]
push eax
call fcn.00415e5d
mov esi, dword [esp + 0x1c]
add esp, 4
mov dword [esp + 0x14], ebx
jmp 0x406c80
lea eax, [esp + 0x1c4]
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x406ca0
sub eax, edx
push eax
lea ecx, [esp + 0x1c8]
push ecx
lea ecx, [esp + 0x4c]
call fcn.00401820
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x40]
push eax
mov ecx, esi
mov byte [esp + 0x2dc], 1
call fcn.00403590
cmp dword [esp + 0x5c], 0x10
mov byte [esp + 0x2d4], bl
jb 0x406cef
mov ecx, dword [esp + 0x48]
push ecx
call fcn.00408f5f
add esp, 4
mov edi, dword [esp + 0x3c]
mov ebp, dword [esi + 0x18]
mov eax, dword [esi]
cmp edi, ebx
je 0x406d00
cmp edi, eax
je 0x406d05
call fcn.00409227
cmp dword [esp + 0x40], ebp
jne 0x406d25
mov eax, dword [esp + 0x14]
inc eax
add esi, 0x20
cmp eax, 3
mov dword [esp + 0x14], eax
jl 0x406c80
jmp 0x406e0e
mov ebp, 0xf
mov dword [esp + 0x78], ebp
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
mov dword [esp + 0x94], ebp
mov dword [esp + 0x90], ebx
mov byte [esp + 0x80], bl
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x1c4]
mov dword [esp + 0x98], edx
mov byte [esp + 0x2d4], 2
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x406d68
sub eax, edx
push eax
lea eax, [esp + 0x1c8]
push eax
lea ecx, [esp + 0x84]
call fcn.00401820
cmp edi, ebx
jne 0x406eb2
call fcn.00409227
xor edi, edi
mov esi, dword [esp + 0x40]
cmp esi, dword [edi + 0x18]
jne 0x406da3
call fcn.00409227
push 0xffffffffffffffff
lea eax, [esi + 0x28]
push ebx
push eax
lea ecx, [esp + 0x6c]
call fcn.00401630
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esp + 0x28]
call fcn.00406a50
mov esi, 0x10
mov byte [esp + 0x2d4], bl
cmp dword [esp + 0x94], esi
jb 0x406de6
mov edx, dword [esp + 0x80]
push edx
call fcn.00408f5f
add esp, 4
mov dword [esp + 0x94], ebp
mov dword [esp + 0x90], ebx
mov byte [esp + 0x80], bl
cmp dword [esp + 0x78], esi
jb 0x406e0e
mov eax, dword [esp + 0x64]
push eax
call fcn.00408f5f
add esp, 4
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x9c]
push ecx
push edx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x406c40
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call fcn.00404ba0
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x406e6d
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x30]
push edx
push ecx
push eax
call fcn.004040a0
mov edx, dword [esp + 0x40]
push edx
call fcn.00408f5f
add esp, 0x14
mov eax, dword [esp + 0x24]
push eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.00408f5f
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x2cc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2b4]
xor ecx, esp
call fcn.00409a5b
add esp, 0x2c4
ret 4
mov edi, dword [edi]
jmp 0x406d95