Function at 0x41a760
Capabilities:
Enumerate processes

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x507240
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x280
mov eax, dword [0x564040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x288], edx
mov dword [ebp - 0x28c], ecx
mov dword [ebp - 4], 0
mov eax, dword [edx]
cmp eax, dword [edx + 4]
je 0x41a7be
mov dword [edx + 4], eax
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x290], esi
cmp esi, 0xffffffff
je 0x41a7f8
lea eax, [ebp - 0x278]
mov dword [ebp - 0x278], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x41a82b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x279], 0
lea ecx, [ebx + 8]
call fcn.00415020
mov al, byte [ebp - 0x279]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004d1b1e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
lea eax, [ebx + 8]
push eax
lea ecx, [ebp - 0x44]
call fcn.004169c0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 7
lea ecx, [ebp - 0x44]
mov edx, dword [ebp - 0x44]
lea edi, [ebp - 0x44]
cmova eax, edx
cmova ecx, edx
mov dword [ebp - 0x280], eax
cmova edi, edx
mov eax, dword [ebp - 0x34]
lea eax, [ecx + eax*2]
mov dword [ebp - 0x284], eax
cmp edi, eax
je 0x41a890
mov esi, dword [ebp - 0x280]
sub esi, edi
movzx eax, word [edi]
push eax
call fcn.004eda51
mov word [esi + edi], ax
add esp, 4
add edi, 2
cmp edi, dword [ebp - 0x284]
jne 0x41a872
nop dword [eax]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x254]
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x2c], xmm0
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41a8b0
sub ecx, edx
lea eax, [ebp - 0x254]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.00416e30
mov byte [ebp - 4], 2
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x2c]
mov edi, dword [ebp - 0x2c]
cmp edx, 7
mov esi, dword [ebp - 0x1c]
cmova eax, edi
cmova ecx, edi
lea eax, [eax + esi*2]
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x280], eax
cmova esi, edi
cmp esi, eax
je 0x41a923
sub ecx, esi
mov edi, ecx
movzx eax, word [esi]
push eax
call fcn.004eda51
mov word [edi + esi], ax
add esp, 4
add esi, 2
cmp esi, dword [ebp - 0x280]
jne 0x41a902
mov edi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x18]
cmp dword [ebp - 0x30], 7
lea eax, [ebp - 0x44]
push dword [ebp - 0x34]
cmova eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x2c]
cmp edx, 7
mov edx, dword [ebp - 0x1c]
push eax
cmova ecx, edi
call fcn.0041be30
add esp, 8
test eax, eax
jne 0x41a99a
mov eax, dword [ebp - 0x28c]
mov eax, dword [eax]
cmp dword [ebp - 0x270], eax
je 0x41a99a
cmp dword [ebp - 0x260], eax
jne 0x41a99a
mov eax, dword [ebp - 0x288]
mov edx, dword [eax + 4]
cmp edx, dword [eax + 8]
je 0x41a988
mov ecx, 0x8b
lea esi, [ebp - 0x278]
mov edi, edx
rep movsd dword es:[edi], dword [esi]
add dword [eax + 4], 0x22c
jmp 0x41a997
lea ecx, [ebp - 0x278]
push ecx
push edx
mov ecx, eax
call fcn.0041c820
mov edi, dword [ebp - 0x2c]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
cmp eax, 7
jbe 0x41a9d1
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x41a9c7
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41aa24
push ecx
push edi
call fcn.004d1b31
add esp, 8
mov esi, dword [ebp - 0x290]
lea eax, [ebp - 0x278]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x41a890
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x288]
mov eax, 0x75ded953
mov ecx, dword [edx + 4]
sub ecx, dword [edx]
imul ecx
lea ecx, [ebp - 0x44]
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
setne byte [ebp - 0x279]
call fcn.00415020
jmp 0x41a7ff
call fcn.004e183c
int3