Function at 0x41a610
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 0x5052d0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x280
mov eax, dword [0x562040]
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 0x41a66e
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 0x41a6a8
lea eax, [ebp - 0x278]
mov dword [ebp - 0x278], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x41a6db
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x279], 0
lea ecx, [ebx + 8]
call fcn.00414f80
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.004cfcce
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
lea eax, [ebx + 8]
push eax
lea ecx, [ebp - 0x44]
call fcn.00416860
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 0x41a740
mov esi, dword [ebp - 0x280]
sub esi, edi
movzx eax, word [edi]
push eax
call fcn.004ebae3
mov word [esi + edi], ax
add esp, 4
add edi, 2
cmp edi, dword [ebp - 0x284]
jne 0x41a722
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 0x41a760
sub ecx, edx
lea eax, [ebp - 0x254]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.00416d40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x18]
lea esi, [ebp - 0x2c]
mov edi, dword [ebp - 0x2c]
cmp edx, 7
seta al
cmova ecx, edi
test al, al
mov eax, dword [ebp - 0x1c]
je 0x41a7a6
mov esi, edi
lea eax, [edi + eax*2]
jmp 0x41a7ac
lea eax, [esi + eax*2]
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x280], eax
cmp esi, eax
je 0x41a7e3
sub ecx, esi
mov edi, eax
mov dword [ebp - 0x284], ecx
movzx eax, word [esi]
push eax
call fcn.004ebae3
mov ecx, dword [ebp - 0x284]
add esp, 4
mov word [ecx + esi], ax
add esi, 2
cmp esi, edi
jne 0x41a7c0
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.0041bce0
add esp, 8
test eax, eax
jne 0x41a85a
mov eax, dword [ebp - 0x28c]
mov eax, dword [eax]
cmp dword [ebp - 0x270], eax
je 0x41a85a
cmp dword [ebp - 0x260], eax
jne 0x41a85a
mov edx, dword [ebp - 0x288]
mov eax, dword [edx + 4]
cmp eax, dword [edx + 8]
je 0x41a848
mov ecx, 0x8b
lea esi, [ebp - 0x278]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
add dword [edx + 4], 0x22c
jmp 0x41a857
lea ecx, [ebp - 0x278]
push ecx
push eax
mov ecx, edx
call fcn.0041c6e0
mov edi, dword [ebp - 0x2c]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
cmp eax, 7
jbe 0x41a891
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x41a887
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a8e4
push ecx
push edi
call fcn.004cfce1
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 0x41a740
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.00414f80
jmp 0x41a6af
call fcn.004df8cc
int3