Function at 0x6cde83f0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ce195f9
mov eax, dword fs:[0]
push eax
sub esp, 0x270
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 edi, dword [ebp + 8]
xorps xmm0, xmm0
mov edx, dword [ebp + 0xc]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0x6ce43df8
lea ecx, [ebp - 0x274]
mov dword [ebp - 4], 0
call fcn.6cddd660
add esp, 4
lea ecx, [ebp - 0x26c]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edx, dword [ebp - 0x274]
mov ebx, eax
add edx, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x6cde849b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp ebx, 0xffffffff
jne 0x6cde84ce
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
jmp 0x6cde86b5
mov dword [ebp - 0x27c], ebx
mov byte [ebp - 4], 1
lea eax, [ebp - 0x240]
mov ecx, 0x6ce43d88
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x6cde8509
test dx, dx
je 0x6cde8505
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x6cde8509
add eax, 4
add ecx, 4
test dx, dx
jne 0x6cde84e3
xor eax, eax
jmp 0x6cde850e
sbb eax, eax
or eax, 1
test eax, eax
je 0x6cde8597
mov ecx, 0x6ce43d8c
lea eax, [ebp - 0x240]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x6cde8547
test dx, dx
je 0x6cde8543
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x6cde8547
add eax, 4
add ecx, 4
test dx, dx
jne 0x6cde8521
xor eax, eax
jmp 0x6cde854c
sbb eax, eax
or eax, 1
test eax, eax
je 0x6cde8597
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x270]
call fcn.6cdbef90
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x1c]
call fcn.6cde8fd0
mov byte [ebp - 4], 1
or eax, 0xffffffff
mov edx, dword [ebp - 0x270]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x6cde8597
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea eax, [ebp - 0x26c]
push eax
push ebx
call esi
test eax, eax
je 0x6cde8688
nop
mov ecx, 0x6ce43d88
lea eax, [ebp - 0x240]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x6cde85e6
test dx, dx
je 0x6cde85e2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x6cde85e6
add eax, 4
add ecx, 4
test dx, dx
jne 0x6cde85c0
xor eax, eax
jmp 0x6cde85eb
sbb eax, eax
or eax, 1
test eax, eax
je 0x6cde8676
mov eax, 0x6ce43d8c
lea ecx, [ebp - 0x240]
nop
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x6cde8626
test dx, dx
je 0x6cde8622
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x6cde8626
add ecx, 4
add eax, 4
test dx, dx
jne 0x6cde8600
xor eax, eax
jmp 0x6cde862b
sbb eax, eax
or eax, 1
test eax, eax
je 0x6cde8676
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x270]
call fcn.6cdbef90
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x1c]
call fcn.6cde8fd0
mov byte [ebp - 4], 1
or eax, 0xffffffff
mov edx, dword [ebp - 0x270]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x6cde8676
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x26c]
push eax
push ebx
call esi
test eax, eax
jne 0x6cde85b0
mov eax, dword [ebp - 0x1c]
mov dword [edi], eax
mov eax, dword [ebp - 0x18]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x14]
push ebx
mov dword [edi + 8], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x1c]
call fcn.6cde92c0
mov eax, edi
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