Function at 0x406150
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4494d1
mov eax, dword fs:[0]
push eax
sub esp, 0x288
mov eax, dword [0x45f024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x248], edi
mov dword [ebp - 0x264], edi
mov dword [ebp - 0x244], 1
mov dword [ebp - 4], 0
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov byte [ebp - 4], 1
push 0
push 2
mov dword [ebp - 0x244], 1
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x258], 0x455d30
mov dword [ebp - 0x248], esi
mov dword [ebp - 0x254], esi
mov dword [ebp - 4], 2
cmp esi, 0xffffffff
jne 0x406239
mov dword [ebp - 0x244], 0
mov byte [ebp - 4], 1
push eax
mov dword [ebp - 0x258], 0x455d30
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x254], 0
mov dword [ebp - 4], esi
mov ecx, dword [ebp + 0x2c]
test ecx, ecx
je 0x406444
mov edx, dword [ecx]
lea eax, [ebp + 8]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
jmp 0x40643d
push 0x228
lea eax, [ebp - 0x238]
push 0
push eax
call fcn.004297e0
add esp, 0xc
mov dword [ebp - 0x23c], 0x22c
lea eax, [ebp - 0x23c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x4063f1
nop
push dword [ebp - 0x234]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x250], 0x455d30
mov dword [ebp - 0x24c], esi
mov byte [ebp - 4], 4
cmp esi, 0xffffffff
jne 0x4062b2
mov byte [ebp - 4], 2
mov dword [ebp - 0x250], 0x455d30
push eax
jmp 0x4063c5
mov edx, esi
lea ecx, [ebp - 0x294]
call fcn.00406530
mov byte [ebp - 4], 5
xorps xmm0, xmm0
lea eax, [ebp - 0x218]
mov dword [ebp - 0x26c], 0
movups xmmword [ebp - 0x27c], xmm0
mov dword [ebp - 0x268], 0
lea edx, [eax + 2]
nop word [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4062f0
sub eax, edx
lea ecx, [ebp - 0x27c]
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00403ac0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x260], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp + 0x2c]
test ecx, ecx
je 0x406461
mov eax, dword [ecx]
lea edx, [ebp - 0x294]
push edx
lea edx, [ebp - 0x27c]
push edx
mov eax, dword [eax + 8]
lea edx, [ebp - 0x25c]
push edx
lea edx, [ebp - 0x260]
push edx
call eax
mov byte [ebp - 0x23d], al
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x27c]
call fcn.00403c40
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x294]
call fcn.00403c40
cmp byte [ebp - 0x23d], 0
je 0x4063b2
mov ecx, dword [edi + 4]
cmp ecx, dword [edi + 8]
je 0x4063a3
mov eax, dword [ebp - 0x234]
mov dword [ecx], eax
add dword [edi + 4], 4
jmp 0x4063b2
lea eax, [ebp - 0x234]
push eax
push ecx
mov ecx, edi
call fcn.00406ba0
mov byte [ebp - 4], 2
mov dword [ebp - 0x250], 0x455d30
test esi, esi
je 0x4063d5
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x24c], 0
mov esi, dword [ebp - 0x248]
lea eax, [ebp - 0x23c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x406270
mov dword [ebp - 0x244], 0
mov byte [ebp - 4], 1
mov dword [ebp - 0x258], 0x455d30
test esi, esi
je 0x40641e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x254], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0x2c]
test ecx, ecx
je 0x406444
mov esi, dword [ecx]
lea eax, [ebp + 8]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov dword [ebp + 0x2c], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042817f
mov esp, ebp
pop ebp
ret
call fcn.00412066
int3