Function at 0x41f2d0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f4397
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x52de04]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x268]
mov esi, dword [ebp + 0xc]
push 0x228
push 0
mov dword [ebp - 0x284], edi
push eax
mov dword [ebp - 0x278], edi
mov dword [ebp - 0x280], 1
call fcn.004b90a0
add esp, 0xc
mov dword [ebp - 0x26c], 0x22c
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
push 0
push 2
mov dword [ebp - 4], 0
mov dword [ebp - 0x280], 1
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x27c], eax
cmp eax, 0xffffffff
je 0x41f5e3
sub esp, 0x18
mov ecx, esi
mov edx, esp
xorps xmm0, xmm0
lea eax, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [ebp - 0x270], eax
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41f3a0
sub ecx, dword [ebp - 0x270]
push ecx
push esi
mov ecx, edx
call fcn.004020f0
lea eax, [ebp - 0x40]
push eax
call fcn.0041cb70
add esp, 0x1c
mov esi, dword [ebp - 0x30]
mov dword [ebp - 4], 1
test esi, esi
je 0x41f5db
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
mov ecx, dword [ebp - 0x40]
cmovae eax, ecx
mov dword [ebp - 0x270], eax
lea eax, [ebp - 0x40]
cmovae eax, ecx
lea eax, [eax + esi*2]
lea esi, [ebp - 0x40]
mov dword [ebp - 0x274], eax
cmovae esi, ecx
cmp esi, eax
je 0x41f431
sub dword [ebp - 0x270], esi
mov edi, dword [ebp - 0x270]
nop dword [eax]
movzx eax, word [esi]
push eax
call fcn.004cf4fc
mov word [edi + esi], ax
add esp, 4
add esi, 2
cmp esi, dword [ebp - 0x274]
jne 0x41f410
mov edi, dword [ebp - 0x278]
lea eax, [ebp - 0x26c]
push eax
push dword [ebp - 0x27c]
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x41f5cf
cmp word [ebp - 0x248], 0
lea edx, [ebp - 0x248]
mov eax, 0x500600
mov dword [ebp - 0x18], 0
cmove edx, eax
mov dword [ebp - 0x14], 0
mov ecx, edx
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41f480
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.004021b0
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov edi, dword [ebp - 0x28]
lea edx, [ebp - 0x28]
setae al
mov byte [ebp - 4], 2
cmovae ecx, edi
test al, al
mov eax, dword [ebp - 0x18]
je 0x41f4be
mov esi, edi
lea eax, [edi + eax*2]
jmp 0x41f4c4
lea eax, [edx + eax*2]
lea esi, [ebp - 0x28]
mov dword [ebp - 0x270], eax
cmp esi, eax
je 0x41f4fe
sub ecx, esi
mov dword [ebp - 0x274], ecx
mov edi, ecx
nop dword [eax + eax]
movzx eax, word [esi]
push eax
call fcn.004cf4fc
mov word [edi + esi], ax
add esp, 4
add esi, 2
cmp esi, dword [ebp - 0x270]
jne 0x41f4e0
mov edi, dword [ebp - 0x28]
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x28]
mov esi, dword [ebp - 0x30]
lea eax, [ebp - 0x40]
cmovae edx, edi
cmp dword [ebp - 0x2c], 8
cmovae eax, dword [ebp - 0x40]
cmp esi, dword [ebp - 0x18]
jne 0x41f578
test esi, esi
je 0x41f54a
sub eax, edx
mov dword [ebp - 0x274], eax
nop word [eax + eax]
movzx ecx, word [edx + eax]
movzx eax, word [edx]
cmp cx, ax
jne 0x41f578
mov eax, dword [ebp - 0x274]
add edx, 2
sub esi, 1
jne 0x41f530
mov edx, dword [ebp - 0x278]
mov ecx, dword [edx + 4]
cmp ecx, dword [edx + 8]
je 0x41f566
mov eax, dword [ebp - 0x264]
mov dword [ecx], eax
add dword [edx + 4], 4
jmp 0x41f575
lea eax, [ebp - 0x264]
push eax
push ecx
mov ecx, edx
call fcn.0040f940
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 1
cmp eax, 8
jb 0x41f5af
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x41f5a5
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f600
push ecx
push edi
call fcn.004b3acc
add esp, 8
lea eax, [ebp - 0x26c]
push eax
push dword [ebp - 0x27c]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x41f44b
mov edi, dword [ebp - 0x278]
push dword [ebp - 0x27c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x40]
call fcn.00402610
mov eax, 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.004b3f28
mov esp, ebp
pop ebp
ret
call fcn.004c342f
int3