Function at 0x412420
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4306b0
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x43d100]
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 0x41249d
lea eax, [ebp - 0x284]
mov dword [ebp - 0x284], 0x22c
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x4124b8
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 0x4126dd
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 0x412500
sub eax, edx
lea ecx, [ebp - 0x28]
sar eax, 1
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.00401390
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0041b510
mov edi, eax
push dword [ebp - 0x29c]
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
call fcn.0041b510
mov edx, dword [edi + 0x10]
add esp, 0x10
cmp dword [edi + 0x14], 7
jbe 0x412553
mov edi, dword [edi]
cmp dword [eax + 0x14], 7
mov ecx, dword [eax + 0x10]
jbe 0x41255e
mov eax, dword [eax]
cmp ecx, edx
jne 0x412578
push ecx
push edi
push eax
call fcn.00414b90
add esp, 0xc
mov byte [ebp - 0x285], 1
test eax, eax
je 0x41257f
mov byte [ebp - 0x285], 0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x4125b9
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4125af
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4126f8
push ecx
push edx
call fcn.004248d9
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 0x41260b
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x412601
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4126f8
push ecx
push edx
call fcn.004248d9
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 0x41265c
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x412652
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4126f8
push ecx
push edx
call fcn.004248d9
add esp, 8
cmp byte [ebp - 0x285], 0
mov edi, dword [ebp - 0x28c]
je 0x4126a1
cmp esi, edi
je 0x412682
mov eax, dword [ebp - 0x27c]
mov dword [esi], eax
add esi, 4
mov dword [ebp - 0x290], esi
jmp 0x4126a1
lea eax, [ebp - 0x27c]
push eax
push esi
lea ecx, [ebp - 0x294]
call fcn.00407020
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 0x4124e0
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.004248f5
mov esp, ebp
pop ebp
ret
call fcn.00425c60
int3