Function at 0x6cdf6190
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ce1a320
mov eax, dword fs:[0]
push eax
sub esp, 0x244
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 ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x248], esi
mov dword [ebp - 0x250], 0
mov eax, dword [ebx]
cmp eax, dword [ebx + 4]
jne 0x6cdf6201
call fcn.6cdbff80
test eax, eax
jne 0x6cdf61ee
push 0x80004005
call fcn.6cdc0090
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi], eax
mov eax, esi
jmp 0x6cdf63c0
call fcn.6cdbff80
mov ecx, eax
test ecx, ecx
jne 0x6cdf6216
push 0x80004005
call fcn.6cdc0090
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 0
call fcn.6cdbff80
mov ecx, eax
test ecx, ecx
jne 0x6cdf623d
push 0x80004005
call fcn.6cdc0090
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x14], edi
push 0
mov byte [ebp - 4], 1
push 0xf
mov dword [ebp - 0x244], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea ecx, [ebp - 0x244]
mov dword [ebp - 0x24c], eax
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x6cdf636e
nop dword [eax]
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x6cdf6296
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.6cdbf900
mov edi, dword [ebp - 0x14]
mov esi, dword [edi - 0xc]
test esi, esi
js 0x6cdf63dc
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, esi
or eax, ecx
jge 0x6cdf62e0
push esi
lea ecx, [ebp - 0x14]
call fcn.6cdbf780
mov edi, dword [ebp - 0x14]
lea eax, [esi + 1]
push eax
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcslwr_s]
add esp, 8
cmp esi, dword [edi - 8]
jg 0x6cdf63dc
xor eax, eax
mov dword [edi - 0xc], esi
mov word [edi + esi*2], ax
cmp dword [edi - 0xc], eax
je 0x6cdf6350
mov esi, dword [ebx]
cmp esi, dword [ebx + 4]
je 0x6cdf6350
nop dword [eax]
cmp dword [esi + 0x14], 8
jb 0x6cdf631a
mov eax, dword [esi]
jmp 0x6cdf631c
mov eax, esi
push edi
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x6cdf6335
add esi, 0x18
cmp esi, dword [ebx + 4]
jne 0x6cdf6310
jmp 0x6cdf6350
push dword [edi - 0xc]
lea ecx, [ebp - 0x18]
push edi
call fcn.6cdddb50
push 1
push 0x6ce45270
lea ecx, [ebp - 0x18]
call fcn.6cdddb50
lea eax, [ebp - 0x244]
push eax
push dword [ebp - 0x24c]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x6cdf6280
mov esi, dword [ebp - 0x18]
lea ebx, [esi - 0x10]
mov ecx, ebx
call fcn.6cddbc30
mov ecx, dword [ebp - 0x248]
add eax, 0x10
or esi, 0xffffffff
mov byte [ebp - 4], 0
add edi, 0xfffffff0
mov dword [ecx], eax
mov eax, esi
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x6cdf63a1
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
lock xadd dword [ebx + 0xc], esi
dec esi
test esi, esi
jg 0x6cdf63ba
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x248]
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
push 0x80070057
call fcn.6cdc0090
int3