Function at 0x41af90
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 0x509300
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x280
mov eax, dword [0x567040]
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 0x41afee
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 0x41b028
lea eax, [ebp - 0x278]
mov dword [ebp - 0x278], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x41b05b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x279], 0
lea ecx, [ebx + 8]
call fcn.00414f90
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.004d402e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
lea eax, [ebx + 8]
push eax
lea ecx, [ebp - 0x44]
call fcn.004168b0
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 0x41b0c0
mov esi, dword [ebp - 0x280]
sub esi, edi
movzx eax, word [edi]
push eax
call fcn.004efbb1
mov word [esi + edi], ax
add esp, 4
add edi, 2
cmp edi, dword [ebp - 0x284]
jne 0x41b0a2
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 0x41b0e0
sub ecx, edx
lea eax, [ebp - 0x254]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.00416d20
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 0x41b153
sub ecx, esi
mov edi, ecx
movzx eax, word [esi]
push eax
call fcn.004efbb1
mov word [edi + esi], ax
add esp, 4
add esi, 2
cmp esi, dword [ebp - 0x280]
jne 0x41b132
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.0041ba60
add esp, 8
test eax, eax
jne 0x41b1ca
mov eax, dword [ebp - 0x28c]
mov eax, dword [eax]
cmp dword [ebp - 0x270], eax
je 0x41b1ca
cmp dword [ebp - 0x260], eax
jne 0x41b1ca
mov eax, dword [ebp - 0x288]
mov edx, dword [eax + 4]
cmp edx, dword [eax + 8]
je 0x41b1b8
mov ecx, 0x8b
lea esi, [ebp - 0x278]
mov edi, edx
rep movsd dword es:[edi], dword [esi]
add dword [eax + 4], 0x22c
jmp 0x41b1c7
lea ecx, [ebp - 0x278]
push ecx
push edx
mov ecx, eax
call fcn.0041bee0
mov edi, dword [ebp - 0x2c]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
cmp eax, 7
jbe 0x41b201
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x41b1f7
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b254
push ecx
push edi
call fcn.004d4041
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 0x41b0c0
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.00414f90
jmp 0x41b02f
call fcn.004e399c
int3