Function at 0x5cad80
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6dd0c7
mov eax, dword fs:[0]
push eax
sub esp, 0x300
mov eax, dword [0x806f14]
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 + 0x38]
mov dword [ebp - 0x294], 0
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
xorps xmm0, xmm0
mov dword [ebp - 0x14], eax
movups xmmword [ebp - 0x24], xmm0
push 8
mov byte [ebp - 4], 3
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
call fcn.0066c51d
lea ecx, [ebp - 0x24]
add esp, 4
mov dword [eax + 4], 0
mov dword [ebp - 0x24], eax
mov dword [eax], ecx
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 4
lea eax, [edx + 1]
cmp ecx, eax
ja 0x5cae2c
push 1
lea ecx, [ebp - 0x24]
call fcn.005d0280
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
dec ecx
and eax, ecx
mov dword [ebp - 0x18], eax
add eax, edx
and ecx, eax
lea esi, [ecx*4]
mov ecx, dword [ebp - 0x20]
cmp dword [esi + ecx], 0
jne 0x5cae5c
push 0x18
call fcn.0066c51d
mov ecx, dword [ebp - 0x20]
add esp, 4
mov dword [esi + ecx], eax
mov ecx, dword [ebp - 0x20]
mov ecx, dword [esi + ecx]
lea eax, [ebp + 8]
push eax
call fcn.00489110
inc dword [ebp - 0x14]
push edi
push dword [edi + 4]
push dword [edi]
call fcn.004b94a0
mov eax, dword [edi]
add esp, 0xc
mov dword [edi + 4], eax
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x5cb30e
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x24]
add eax, ecx
mov ecx, dword [edx + 8]
mov dword [ebp - 0x2a0], eax
dec ecx
dec eax
and ecx, eax
mov eax, dword [edx + 4]
mov eax, dword [eax + ecx*4]
lea ecx, [ebp + 8]
cmp ecx, eax
je 0x5caec1
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x5caeb5
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp + 8]
call fcn.0049f660
push 0x72bfa4
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x2f4]
push eax
call fcn.004fb9e0
add esp, 0xc
cmp dword [ebp + 0x34], 8
lea ecx, [ebp + 0x20]
push dword [ebp + 0x30]
cmovae ecx, dword [ebp + 0x20]
push ecx
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.004ab800
or dword [ebp - 0x294], 1
xor ecx, ecx
movups xmm0, xmmword [eax]
movq xmm1, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edx, dword [ebp - 0x28]
movq qword [ebp - 0x29c], xmm1
movups xmmword [ebp - 0x2ac], xmm0
cmp edx, 8
jb 0x5caf6d
mov ecx, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5caf54
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5cb40e
push edx
push ecx
call fcn.0066c54d
movups xmm0, xmmword [ebp - 0x2ac]
add esp, 8
movq xmm1, qword [ebp - 0x29c]
mov edx, dword [ebp - 0x2e0]
movq qword [ebp - 0x2c], xmm1
mov byte [ebp - 4], 4
movups xmmword [ebp - 0x3c], xmm0
cmp edx, 8
jb 0x5cafba
mov ecx, dword [ebp - 0x2f4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5cafb0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5cb40e
push edx
push ecx
call fcn.0066c54d
add esp, 8
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
dec eax
mov edx, dword [ebp - 0x1c]
add ecx, eax
mov eax, dword [ebp - 0x20]
dec edx
and edx, ecx
mov eax, dword [eax + edx*4]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.005c77d0
mov eax, dword [ebp - 0x18]
add esp, 8
sub dword [ebp - 0x14], 1
mov ecx, 0
cmove eax, ecx
cmp dword [ebp - 0x28], 8
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x28c]
lea eax, [ebp - 0x3c]
cmovae eax, dword [ebp - 0x3c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x298], eax
mov esi, eax
cmp eax, 0xffffffff
je 0x5cb2e8
nop dword [eax + eax]
mov edx, 0x72bd10
lea ecx, [ebp - 0x260]
nop dword [eax + eax]
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x5cb056
test ax, ax
je 0x5cb052
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x5cb056
add ecx, 4
add edx, 4
test ax, ax
jne 0x5cb030
xor eax, eax
jmp 0x5cb05b
sbb eax, eax
or eax, 1
test eax, eax
je 0x5cb2d2
mov eax, 0x72d984
lea ecx, [ebp - 0x260]
nop
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x5cb096
test dx, dx
je 0x5cb092
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x5cb096
add ecx, 4
add eax, 4
test dx, dx
jne 0x5cb070
xor eax, eax
jmp 0x5cb09b
sbb eax, eax
or eax, 1
test eax, eax
je 0x5cb2d2
test byte [ebp - 0x28c], 0x10
lea eax, [ebp + 8]
push 0x72bfa4
push eax
lea eax, [ebp - 0x2dc]
push eax
je 0x5cb1a8
call fcn.004fb9e0
add esp, 0xc
mov edx, eax
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 6
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5cb0d7
sub ecx, esi
lea eax, [ebp - 0x260]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.004ab800
or dword [ebp - 0x294], 2
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2ec], xmm0
movups xmmword [ebp - 0x30c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x2a4], xmm0
movq qword [ebp - 0x2fc], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 7
lea eax, [edx + 1]
cmp ecx, eax
ja 0x5cb156
push 1
lea ecx, [ebp - 0x24]
call fcn.005d0280
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
dec ecx
and eax, ecx
mov dword [ebp - 0x18], eax
add eax, edx
and eax, ecx
lea esi, [eax*4]
mov eax, dword [ebp - 0x20]
cmp dword [esi + eax], 0
jne 0x5cb186
push 0x18
call fcn.0066c51d
mov ecx, dword [ebp - 0x20]
add esp, 4
mov dword [esi + ecx], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [esi + eax]
movups xmm0, xmmword [ebp - 0x2ec]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x2a4]
movq qword [eax + 0x10], xmm0
inc dword [ebp - 0x14]
jmp 0x5cb288
call fcn.004fb9e0
add esp, 0xc
mov edx, eax
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 8
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5cb1c0
sub ecx, esi
lea eax, [ebp - 0x260]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.004ab800
or dword [ebp - 0x294], 4
xor ecx, ecx
movups xmm0, xmmword [eax]
movq xmm1, qword [eax + 0x10]
movups xmmword [ebp - 0x2c4], xmm0
mov dword [eax + 0x10], 0
movq qword [ebp - 0x2b4], xmm1
mov dword [eax + 0x14], 7
mov word [eax], cx
mov eax, dword [edi + 4]
mov byte [ebp - 4], 9
cmp eax, dword [edi + 8]
je 0x5cb235
movups xmmword [eax], xmm0
lea edx, [ecx + 7]
movq qword [eax + 0x10], xmm1
xor eax, eax
add dword [edi + 4], 0x18
mov word [ebp - 0x2c4], ax
jmp 0x5cb24a
lea ecx, [ebp - 0x2c4]
push ecx
push eax
mov ecx, edi
call fcn.004b9670
mov edx, dword [ebp - 0x2b0]
mov byte [ebp - 4], 8
cmp edx, 8
jb 0x5cb288
mov ecx, dword [ebp - 0x2c4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5cb27e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5cb40e
push edx
push ecx
call fcn.0066c54d
add esp, 8
mov edx, dword [ebp - 0x2c8]
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x5cb2cc
mov ecx, dword [ebp - 0x2dc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5cb2c2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5cb40e
push edx
push ecx
call fcn.0066c54d
add esp, 8
mov esi, dword [ebp - 0x298]
lea eax, [ebp - 0x28c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x5cb020
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
cmp eax, 0x12
jne 0x5cb2ff
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x5cae7e
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 0x28d], 0
jmp 0x5cb315
mov byte [ebp - 0x28d], 1
lea ecx, [ebp - 0x24]
call fcn.005c90e0
mov edx, dword [ebp - 0x28]
cmp edx, 8
jb 0x5cb357
mov ecx, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5cb34d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5cb40e
push edx
push ecx
call fcn.0066c54d
add esp, 8
mov edx, dword [ebp + 0x1c]
xor eax, eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
cmp edx, 8
jb 0x5cb3a1
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5cb397
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5cb40e
push edx
push ecx
call fcn.0066c54d
add esp, 8
mov edx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp edx, 8
jb 0x5cb3eb
mov ecx, dword [ebp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5cb3e1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5cb40e
push edx
push ecx
call fcn.0066c54d
add esp, 8
mov al, byte [ebp - 0x28d]
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.0066c50c
mov esp, ebp
pop ebp
ret 0x34
call fcn.0068bce4
int3