Function at 0x40c6c0
Capabilities:
Enumerate files on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x461e43
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x748
mov eax, dword [0x47a040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x730], eax
mov edi, dword [ebx + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x754], edi
mov dword [ebp - 0x734], 1
movq qword [edi], xmm0
mov dword [edi + 8], 0
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [ebp - 4], 0
cmp dword [eax + 0x130], 0
mov dword [ebp - 0x734], 1
je 0x40cba8
movups xmmword [ebp - 0x4bc], xmm0
mov dword [ebp - 0x4ac], 0
push 8
mov dword [ebp - 0x4bc], 0
mov dword [ebp - 0x4b8], 0
mov dword [ebp - 0x4b4], 0
mov dword [ebp - 0x4b0], 0
mov dword [ebp - 0x4ac], 0
call fcn.00437bbc
lea ecx, [ebp - 0x4bc]
add esp, 4
mov dword [eax + 4], 0
mov dword [ebp - 0x4bc], eax
mov dword [eax], ecx
mov dword [ebp - 4], 1
mov esi, dword [ebp - 0x4ac]
mov edx, dword [ebp - 0x4b4]
lea eax, [esi + 1]
cmp edx, eax
ja 0x40c7ea
push ecx
call fcn.0040db40
mov esi, dword [ebp - 0x4ac]
mov edx, dword [ebp - 0x4b4]
mov ecx, dword [ebp - 0x4b0]
lea eax, [edx - 1]
and ecx, eax
lea eax, [edx - 1]
mov dword [ebp - 0x4b0], ecx
add ecx, esi
and eax, ecx
mov dword [ebp - 0x72c], ecx
mov ecx, dword [ebp - 0x4b8]
lea esi, [eax*4]
cmp dword [ecx + esi], 0
jne 0x40c83a
push 0x18
call fcn.00437bbc
mov ecx, dword [ebp - 0x4b8]
add esp, 4
mov dword [esi + ecx], eax
mov edx, dword [ebp - 0x4b4]
mov ecx, dword [ebp - 0x4b8]
lea eax, [edx - 1]
and eax, dword [ebp - 0x72c]
mov ecx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x730]
add eax, 0x120
push eax
call fcn.0040d8b0
add dword [ebp - 0x4ac], 1
je 0x40cb9d
nop dword [eax]
nop dword [eax + eax]
mov ecx, dword [ebp - 0x4b4]
mov eax, dword [ebp - 0x4b8]
dec ecx
and ecx, dword [ebp - 0x4b0]
push dword [eax + ecx*4]
lea ecx, [ebp - 0x4d4]
call fcn.0040d8b0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x4b4]
mov eax, dword [ebp - 0x4b8]
dec ecx
and ecx, dword [ebp - 0x4b0]
mov esi, dword [eax + ecx*4]
mov ecx, dword [esi + 0x14]
cmp ecx, 7
jbe 0x40c8e4
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x40c8da
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ccc1
mov eax, edx
push ecx
push eax
call fcn.00437f52
add esp, 8
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
sub dword [ebp - 0x4ac], 1
jne 0x40c908
mov dword [ebp - 0x4b0], eax
jmp 0x40c90e
inc dword [ebp - 0x4b0]
push 0x208
lea eax, [ebp - 0x2a0]
push 0
push eax
call fcn.00439ab0
add esp, 0xc
lea eax, [ebp - 0x4d4]
cmp dword [ebp - 0x4c0], 7
cmova eax, dword [ebp - 0x4d4]
push eax
lea eax, [ebp - 0x2a0]
push 0x46f4f8
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x2a0]
push 0x46f5b4
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x250
lea eax, [ebp - 0x728]
push 0
push eax
call fcn.00439ab0
add esp, 0xc
lea eax, [ebp - 0x728]
push eax
lea eax, [ebp - 0x2a0]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x72c], esi
cmp esi, 0xffffffff
je 0x40cb4c
nop dword [eax + eax]
cmp word [ebp - 0x6fc], 0x2e
je 0x40cb2a
push 0x208
lea eax, [ebp - 0x4a8]
push 0
push eax
call fcn.00439ab0
add esp, 0xc
lea ecx, [ebp - 0x6fc]
cmp dword [ebp - 0x4c0], 7
lea eax, [ebp - 0x4d4]
cmova eax, dword [ebp - 0x4d4]
push ecx
push eax
lea eax, [ebp - 0x4a8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test byte [ebp - 0x728], 0x10
je 0x40cbca
lea eax, [ebp - 0x4a8]
push eax
lea ecx, [ebp - 0x750]
call fcn.00407280
mov dword [ebp - 0x738], eax
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x4ac]
mov edx, dword [ebp - 0x4b4]
lea ecx, [esi + 1]
cmp edx, ecx
ja 0x40ca41
push ecx
lea ecx, [ebp - 0x4bc]
call fcn.0040db40
mov esi, dword [ebp - 0x4ac]
mov edx, dword [ebp - 0x4b4]
mov ecx, dword [ebp - 0x4b0]
lea eax, [edx - 1]
and ecx, eax
lea eax, [edx - 1]
mov dword [ebp - 0x4b0], ecx
add ecx, esi
and eax, ecx
mov dword [ebp - 0x730], ecx
mov ecx, dword [ebp - 0x4b8]
lea esi, [eax*4]
cmp dword [ecx + esi], 0
jne 0x40ca91
push 0x18
call fcn.00437bbc
mov ecx, dword [ebp - 0x4b8]
add esp, 4
mov dword [ecx + esi], eax
mov edx, dword [ebp - 0x4b4]
mov ecx, dword [ebp - 0x4b8]
lea eax, [edx - 1]
xorps xmm0, xmm0
and eax, dword [ebp - 0x730]
mov eax, dword [ecx + eax*4]
mov ecx, dword [ebp - 0x738]
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
movups xmm0, xmmword [ecx]
movups xmmword [eax], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [eax + 0x10], xmm0
xor eax, eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
inc dword [ebp - 0x4ac]
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x73c]
cmp ecx, 7
jbe 0x40cb24
mov edx, dword [ebp - 0x750]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40cb1a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ccc1
push ecx
push edx
call fcn.00437f52
add esp, 8
mov esi, dword [ebp - 0x72c]
lea eax, [ebp - 0x728]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40c9a0
push dword [ebp - 0x72c]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x4c0]
cmp ecx, 7
jbe 0x40cb90
mov edx, dword [ebp - 0x4d4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40cb86
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ccc1
push ecx
push edx
call fcn.00437f52
add esp, 8
cmp dword [ebp - 0x4ac], 0
jne 0x40c870
lea ecx, [ebp - 0x4bc]
call fcn.0040d720
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004378e6
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
push 0x80
lea eax, [ebp - 0x98]
push 0
push eax
call fcn.00439ab0
add esp, 0xc
lea eax, [ebp - 0x98]
push 0x40
push eax
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x6fc]
push 0
push eax
call fcn.004438fd
add esp, 0x24
lea eax, [ebp - 0x98]
push eax
push 0x46f818
call fcn.00442342
add esp, 8
test eax, eax
jne 0x40cb2a
lea eax, [ebp - 0x4a8]
push eax
lea ecx, [ebp - 0x750]
call fcn.00407280
mov byte [ebp - 4], 4
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
je 0x40cc69
movups xmm0, xmmword [ebp - 0x750]
mov ecx, 7
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x740]
movq qword [eax + 0x10], xmm0
xor eax, eax
add dword [edi + 4], 0x18
mov word [ebp - 0x750], ax
jmp 0x40cc7e
lea ecx, [ebp - 0x750]
push ecx
push eax
mov ecx, edi
call fcn.0040dfc0
mov ecx, dword [ebp - 0x73c]
mov byte [ebp - 4], 2
cmp ecx, 7
jbe 0x40cb2a
mov edx, dword [ebp - 0x750]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40ccb2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ccc1
push ecx
push edx
call fcn.00437f52
add esp, 8
jmp 0x40cb2a
call fcn.00441fe0
int3