Function at 0x412e50
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4421e0
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x459780]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push 0
mov dword [ebp - 0x29c], esi
push 2
mov dword [ebp - 0x2a0], esi
mov dword [ebp - 0x29c], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
mov dword [ebp - 0x298], edi
cmp edi, 0xffffffff
je 0x412ecd
lea eax, [ebp - 0x284]
mov dword [ebp - 0x284], 0x22c
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x412ee8
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
mov eax, esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
jmp 0x41310d
xor esi, esi
mov dword [ebp - 0x294], 0
xor edi, edi
mov dword [ebp - 0x290], esi
mov dword [ebp - 0x28c], edi
mov dword [ebp - 4], edi
nop word [eax + eax]
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x260]
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x412f30
sub eax, edx
lea ecx, [ebp - 0x28]
sar eax, 1
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.00405000
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0041c0a0
mov edi, eax
push dword [ebp - 0x29c]
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
call fcn.0041c0a0
mov edx, dword [edi + 0x10]
add esp, 0x10
cmp dword [edi + 0x14], 7
jbe 0x412f83
mov edi, dword [edi]
cmp dword [eax + 0x14], 7
mov ecx, dword [eax + 0x10]
jbe 0x412f8e
mov eax, dword [eax]
cmp ecx, edx
jne 0x412fa8
push ecx
push edi
push eax
call fcn.00415620
add esp, 0xc
mov byte [ebp - 0x285], 1
test eax, eax
je 0x412faf
mov byte [ebp - 0x285], 0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x412fe9
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x412fdf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413128
push ecx
push edx
call fcn.004351cd
add esp, 8
mov ecx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 1
cmp ecx, 7
jbe 0x41303b
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x413031
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413128
push ecx
push edx
call fcn.004351cd
add esp, 8
mov ecx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov byte [ebp - 4], al
cmp ecx, 7
jbe 0x41308c
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x413082
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413128
push ecx
push edx
call fcn.004351cd
add esp, 8
cmp byte [ebp - 0x285], 0
mov edi, dword [ebp - 0x28c]
je 0x4130d1
cmp esi, edi
je 0x4130b2
mov eax, dword [ebp - 0x27c]
mov dword [esi], eax
add esi, 4
mov dword [ebp - 0x290], esi
jmp 0x4130d1
lea eax, [ebp - 0x27c]
push eax
push esi
lea ecx, [ebp - 0x294]
call fcn.00407590
mov esi, dword [ebp - 0x290]
mov edi, dword [ebp - 0x28c]
lea eax, [ebp - 0x284]
push eax
push dword [ebp - 0x298]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x412f10
push dword [ebp - 0x298]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x2a0]
mov eax, dword [ebp - 0x294]
mov dword [ecx], eax
mov eax, ecx
mov dword [ecx + 4], esi
mov dword [ecx + 8], 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.0043518a
mov esp, ebp
pop ebp
ret
call fcn.00436360
int3