Function at 0x6cdf8870
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ce1a560
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x6ce5c008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 8]
test edx, edx
je 0x6cdf8a72
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x6cdf88b0
sub ecx, esi
sar ecx, 1
je 0x6cdf8a72
push edx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
call fcn.6cdbef90
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
call fcn.6cdbef10
push 0
push 0xf
mov dword [ebp - 0x244], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
lea eax, [ebp - 0x244]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
or edi, 0xffffffff
test eax, eax
je 0x6cdf8a05
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
call fcn.6cdbef90
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
mov esi, dword [eax - 0xc]
test esi, esi
js 0x6cdf8a68
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, esi
or ecx, edx
jge 0x6cdf895f
push esi
lea ecx, [ebp - 0x14]
call fcn.6cdbf780
mov eax, dword [ebp - 0x14]
lea ecx, [esi + 1]
push ecx
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcslwr_s]
mov eax, dword [ebp - 0x14]
add esp, 8
cmp esi, dword [eax - 8]
jg 0x6cdf8a68
mov dword [eax - 0xc], esi
xor ecx, ecx
mov eax, dword [ebp - 0x14]
mov word [eax + esi*2], cx
mov ecx, dword [ebp - 0x14]
cmp dword [ecx - 0xc], 0
je 0x6cdf89d4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x6cdf8a5e
mov edx, ecx
nop dword [eax + eax]
mov si, word [edx]
cmp si, word [eax]
jne 0x6cdf89c6
test si, si
je 0x6cdf89c2
mov si, word [edx + 2]
cmp si, word [eax + 2]
jne 0x6cdf89c6
add edx, 4
add eax, 4
test si, si
jne 0x6cdf89a0
xor eax, eax
jmp 0x6cdf89cb
sbb eax, eax
or eax, 1
test eax, eax
sete al
test al, al
jne 0x6cdf8a31
mov byte [ebp - 4], 0
lea edx, [ecx - 0x10]
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x6cdf89ef
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x244]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x6cdf8913
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x6cdf8a2d
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
jmp 0x6cdf8a74
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x23c]
mov eax, edi
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x6cdf8a0e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x6cdf8a0e
push 0x80004005
call fcn.6cdc0090
push 0x80070057
call fcn.6cdc0090
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.6ce11901
mov esp, ebp
pop ebp
ret