Function at 0x1000be00
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009a1d8
mov eax, dword fs:[0]
push eax
sub esp, 0x328
mov eax, dword [0x100ca00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x310], eax
mov eax, dword [ebp + 0x18]
push 8
mov dword [ebp - 0x314], ebx
mov dword [ebp - 0x30c], eax
mov dword [ebp - 0x308], 0
mov dword [ebp - 0x304], 0
mov dword [ebp - 0x300], 0
mov dword [ebp - 0x2fc], 0
mov dword [ebp - 0x2f8], 0
call fcn.1001a158
add esp, 4
test eax, eax
jne 0x1000be91
call fcn.1007fe15
mov dword [ebp - 0x308], eax
lea ecx, [ebp - 0x308]
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [ebp - 0x308]
mov dword [eax], ecx
push esi
mov dword [ebp - 4], 0
call fcn.1000c630
xor esi, esi
cmp dword [ebp - 0x2f8], esi
sete al
test al, al
jne 0x1000c2ac
push ecx
lea eax, [ebp - 0x324]
push eax
lea eax, [ebp - 0x330]
push eax
lea ecx, [ebp - 0x308]
call fcn.1000d040
mov ecx, eax
call fcn.1000cea0
mov edx, eax
mov ecx, dword [edx]
test ecx, ecx
jne 0x1000beff
xor eax, eax
jmp 0x1000bf01
mov eax, dword [ecx]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, dword [edx + 8]
push 0xffffffffffffffff
mov eax, dword [eax + ecx*4]
xor ecx, ecx
push ecx
mov word [ebp - 0x8c], cx
lea ecx, [ebp - 0x8c]
push eax
mov dword [ebp - 0x78], 7
mov dword [ebp - 0x7c], 0
call fcn.10006b30
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x2fc]
mov ecx, dword [ebp - 0x2f8]
dec eax
mov edx, dword [ebp - 0x300]
add ecx, eax
mov eax, dword [ebp - 0x304]
dec edx
and edx, ecx
mov edi, dword [eax + edx*4]
mov eax, dword [edi + 0x14]
cmp eax, 8
jb 0x1000bf6c
inc eax
mov ecx, edi
push eax
push dword [edi]
call fcn.10005cc0
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
cmp dword [edi + 0x14], 8
jb 0x1000bf82
mov edi, dword [edi]
xor eax, eax
lea edx, [ebp - 0x8c]
mov word [edi], ax
mov ecx, 0
sub dword [ebp - 0x2f8], 1
mov eax, dword [ebp - 0x2fc]
cmove eax, ecx
push ecx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2fc], eax
call fcn.10006430
push ebx
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.10006500
add esp, 8
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x1000bfdc
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.10005cc0
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x2f4]
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1000c252
cmp word [ebp - 0x2c8], 0x2e
je 0x1000c120
test byte [ebp - 0x2f4], 0x10
jne 0x1000c120
xor eax, eax
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
push ecx
lea edx, [ebp - 0x8c]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa4]
call fcn.10006430
lea ecx, [ebp - 0x2c8]
mov byte [ebp - 4], 6
push ecx
mov edx, eax
lea ecx, [ebp - 0x2c]
call fcn.100063c0
add esp, 8
mov edi, eax
lea eax, [ebp - 0x5c]
cmp eax, edi
je 0x1000c098
mov eax, dword [ebp - 0x48]
cmp eax, 8
jb 0x1000c07b
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.10005cc0
xor eax, eax
mov dword [ebp - 0x48], 7
push edi
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
call fcn.100059d0
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x1000c0ad
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.10005cc0
xor eax, eax
mov byte [ebp - 4], 5
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
cmp eax, 8
jb 0x1000c0e3
inc eax
lea ecx, [ebp - 0xa4]
push eax
push dword [ebp - 0xa4]
call fcn.10005cc0
push dword [ebp - 0x30c]
lea eax, [ebp - 0x5c]
push eax
call dword [ebp - 0x310]
add esp, 8
mov byte [ebp - 4], 4
test eax, eax
mov eax, 1
cmovne esi, eax
mov eax, dword [ebp - 0x48]
cmp eax, 8
jb 0x1000c120
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.10005cc0
nop dword [eax]
lea eax, [ebp - 0x2f4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x1000c24b
cmp word [ebp - 0x2c8], 0x2e
je 0x1000c120
test byte [ebp - 0x2f4], 0x10
jne 0x1000c120
xor eax, eax
mov dword [ebp - 0x60], 7
mov dword [ebp - 0x64], 0
mov word [ebp - 0x74], ax
push ecx
lea edx, [ebp - 0x8c]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xa4]
call fcn.10006430
lea ecx, [ebp - 0x2c8]
mov byte [ebp - 4], 0xc
push ecx
mov edx, eax
lea ecx, [ebp - 0x2c]
call fcn.100063c0
add esp, 8
mov edi, eax
lea eax, [ebp - 0x74]
cmp eax, edi
je 0x1000c1c6
mov eax, dword [ebp - 0x60]
cmp eax, 8
jb 0x1000c1a9
inc eax
lea ecx, [ebp - 0x74]
push eax
push dword [ebp - 0x74]
call fcn.10005cc0
xor eax, eax
mov dword [ebp - 0x60], 7
push edi
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x64], 0
mov word [ebp - 0x74], ax
call fcn.100059d0
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x1000c1db
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.10005cc0
xor eax, eax
mov byte [ebp - 4], 0xb
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
cmp eax, 8
jb 0x1000c211
inc eax
lea ecx, [ebp - 0xa4]
push eax
push dword [ebp - 0xa4]
call fcn.10005cc0
push dword [ebp - 0x30c]
lea eax, [ebp - 0x74]
push eax
call dword [ebp - 0x310]
add esp, 8
mov byte [ebp - 4], 4
test eax, eax
mov eax, 1
cmovne esi, eax
mov eax, dword [ebp - 0x60]
cmp eax, 8
jb 0x1000c120
inc eax
lea ecx, [ebp - 0x74]
push eax
push dword [ebp - 0x74]
jmp 0x1000c114
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x1000c267
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.10005cc0
xor eax, eax
mov byte [ebp - 4], al
mov word [ebp - 0x44], ax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
cmp eax, 8
jb 0x1000c299
inc eax
lea ecx, [ebp - 0x8c]
push eax
push dword [ebp - 0x8c]
call fcn.10005cc0
cmp dword [ebp - 0x2f8], 0
mov ebx, dword [ebp - 0x314]
jne 0x1000bed2
lea ecx, [ebp - 0x308]
call fcn.1000c540
push dword [ebp - 0x308]
call fcn.10025ca0
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1001a147
mov esp, ebp
pop ebp
ret 0x1c