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

Disassembly:
push 0xffffffffffffffff
push 0x41dddc
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x4252f0]
xor eax, esp
mov dword [esp + 0x2b4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4252f0]
xor eax, esp
push eax
lea eax, [esp + 0x2cc]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2dc]
mov edi, ecx
lea ecx, [esp + 0x20]
xor ebx, ebx
push ecx
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], eax
mov dword [esp + 0x20], ebx
call fcn.004074e0
push 0x228
lea edx, [esp + 0xa0]
push ebx
push edx
mov dword [esp + 0x2e0], ebx
call fcn.0040ab40
add esp, 0xc
push ebx
push 2
mov dword [esp + 0xa0], 0x22c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [esp + 0x18], esi
cmp esi, 0xffffffff
jne 0x4070aa
push edi
lea ecx, [esp + 0x24]
call fcn.00407550
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esp + 0x34]
mov dword [ecx + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x38], ebx
cmp eax, ecx
je 0x4072c5
mov esi, dword [eax]
push eax
call fcn.00409e67
mov ecx, dword [esp + 0x38]
add esp, 4
mov eax, esi
cmp esi, ecx
jne 0x407090
jmp 0x4072c5
lea ecx, [esp + 0x98]
push ecx
push esi
call sub.KERNEL32.dll_Process32FirstW
cmp eax, 1
sete al
cmp al, bl
je 0x407281
mov ebp, 8
jmp 0x4070d2
xor ebx, ebx
xor edx, edx
lea eax, [esp + 0xbc]
mov word [esp + 0x80], dx
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], ebx
lea edx, [eax + 2]
jmp 0x407100
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x407100
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0xc0]
lea esi, [esp + 0x80]
call fcn.004037f0
mov edi, esi
lea ebx, [esp + 0x60]
mov byte [esp + 0x2d4], 1
call section..text
mov esi, eax
mov edi, dword [esp + 0x3c]
lea ebx, [esp + 0x44]
mov byte [esp + 0x2d4], 2
call section..text
mov ebx, dword [esi + 0x14]
cmp dword [esi + 0x18], ebp
jb 0x40715a
mov esi, dword [esi + 4]
jmp 0x40715d
add esi, 4
mov edi, dword [eax + 0x14]
mov ecx, edi
cmp ecx, edi
jae 0x407166
mov edx, edi
cmp edi, ebx
jb 0x40716e
mov edx, ebx
cmp dword [eax + 0x18], ebp
jb 0x407178
mov ecx, dword [eax + 4]
jmp 0x40717b
lea ecx, [eax + 4]
mov eax, esi
test edx, edx
jbe 0x4071a6
mov si, word [ecx]
cmp si, word [eax]
jne 0x407196
add ecx, 2
add eax, 2
sub edx, 1
jne 0x407181
jmp 0x4071a6
mov cx, si
cmp cx, word [eax]
sbb eax, eax
and eax, 0xfffffffe
add eax, 1
jne 0x4071b6
cmp edi, ebx
jae 0x4071af
or eax, 0xffffffff
jmp 0x4071b6
xor eax, eax
cmp edi, ebx
setne al
test eax, eax
sete bl
cmp dword [esp + 0x5c], ebp
jb 0x4071ce
mov edx, dword [esp + 0x48]
push edx
call fcn.00409e67
add esp, 4
xor eax, eax
mov byte [esp + 0x2d4], 1
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], 0
mov word [esp + 0x48], ax
cmp dword [esp + 0x78], ebp
jb 0x407200
mov ecx, dword [esp + 0x64]
push ecx
call fcn.00409e67
add esp, 4
test bl, bl
je 0x407236
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0xa0]
lea edi, [eax + 4]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], edx
mov edx, dword [edi]
push ecx
push edx
push eax
call fcn.00407620
lea ecx, [esp + 0x20]
mov esi, eax
call fcn.00407660
mov dword [edi], esi
mov eax, dword [esi + 4]
mov dword [eax], esi
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x98]
push eax
push ecx
call sub.KERNEL32.dll_Process32NextW
cmp eax, 1
sete bl
mov byte [esp + 0x2d4], 0
cmp dword [esp + 0x94], ebp
jb 0x40726f
mov edx, dword [esp + 0x80]
push edx
call fcn.00409e67
add esp, 4
test bl, bl
jne 0x4070d0
mov edi, dword [esp + 0x40]
mov esi, dword [esp + 0x18]
xor ebx, ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
lea ecx, [esp + 0x24]
call fcn.00407550
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esp + 0x34]
mov dword [ecx + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x38], ebx
cmp eax, ecx
je 0x4072c5
lea ecx, [ecx]
mov esi, dword [eax]
push eax
call fcn.00409e67
mov ecx, dword [esp + 0x38]
add esp, 4
mov eax, esi
cmp esi, ecx
jne 0x4072b0
push ecx
call fcn.00409e67
mov eax, dword [esp + 0x24]
add esp, 4
push eax
mov dword [esp + 0x38], ebx
call fcn.00409e67
mov eax, edi
add esp, 4
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.00409cc9
add esp, 0x2c4
ret