Function at 0x1000f180
Capabilities:
Enumerate files on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017b9bb
mov eax, dword fs:[0]
push eax
mov eax, 0x1a90
call fcn.100a7a90
mov eax, dword [0x101e3070]
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 [ecx]
lea ecx, [ebp - 0x182c]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
push ecx
mov ecx, dword [eax + 0x434]
mov dword [ebp - 0x1a80], eax
call fcn.100013a0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x182c]
cmp dword [ebp - 0x1818], 8
cmovae eax, dword [ebp - 0x182c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x1000f245
mov eax, dword [ebp - 0x181c]
lea ecx, [eax - 1]
cmp eax, ecx
ja 0x1000f20f
push str.invalid_string_position
call fcn.1008fd5e
cmp dword [ebp - 0x1818], 8
lea eax, [ebp - 0x182c]
cmovae eax, dword [ebp - 0x182c]
cmp word [eax + ecx*2], 0x2f
lea ecx, [ebp - 0x182c]
je 0x1000f239
push 4
push 0x101cf454
jmp 0x1000f240
push 3
push 0x101cf44c
call fcn.10005df0
xor esi, esi
lea ecx, [ebp - 0x1a7c]
cmp dword [ebp - 0x1818], 8
lea eax, [ebp - 0x182c]
push ecx
cmovae eax, dword [ebp - 0x182c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x1a84], eax
cmp eax, 0xffffffff
je 0x1000f44c
nop dword [eax + eax]
test byte [ebp - 0x1a7c], 0x10
jne 0x1000f42b
lea eax, [ebp - 0x1a50]
push 0x101d3d88
push eax
call fcn.10153bdf
add esp, 8
test eax, eax
je 0x1000f3d9
push 0x800
lea eax, [ebp - 0x814]
push 0
push eax
call fcn.10154a20
push 0x800
lea eax, [ebp - 0x1014]
push 0
push eax
call fcn.10154a20
push 0x800
lea eax, [ebp - 0x1814]
push 0
push eax
call fcn.10154a20
add esp, 0x24
xor eax, eax
nop word [eax + eax]
movzx ecx, word [ebp + eax - 0x1a50]
lea eax, [eax + 2]
mov word [ebp + eax - 0x816], cx
test cx, cx
jne 0x1000f2f0
lea eax, [ebp - 0x814]
push 0x101d3d88
push eax
call fcn.10153bdf
xor ecx, ecx
add esp, 8
mov word [eax], cx
lea eax, [ebp - 0x1a9c]
mov ecx, dword [ebp - 0x1a80]
push eax
mov ecx, dword [ecx + 0x434]
call fcn.100013a0
cmp dword [eax + 0x14], 8
jb 0x1000f341
mov eax, dword [eax]
lea ecx, [ebp - 0x1a50]
push ecx
push eax
lea eax, [ebp - 0x1014]
push 0x101d3d94
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov eax, dword [ebp - 0x1a88]
add esp, 0x10
cmp eax, 8
jb 0x1000f37c
inc eax
lea ecx, [ebp - 0x1a9c]
push eax
push dword [ebp - 0x1a9c]
call fcn.10005bc0
lea eax, [ebp - 0x1a9c]
push eax
mov eax, dword [ebp - 0x1a80]
mov ecx, dword [eax + 0x434]
call fcn.100013a0
cmp dword [eax + 0x14], 8
jb 0x1000f39c
mov eax, dword [eax]
lea ecx, [ebp - 0x814]
push ecx
push eax
lea eax, [ebp - 0x1814]
push 0x101d3d94
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov eax, dword [ebp - 0x1a88]
add esp, 0x10
cmp eax, 8
jb 0x1000f42b
inc eax
lea ecx, [ebp - 0x1a9c]
push eax
push dword [ebp - 0x1a9c]
call fcn.10005bc0
jmp 0x1000f42b
lea eax, [ebp - 0x1a50]
push 0x101cf484
push eax
call fcn.10153bdf
add esp, 8
test eax, eax
je 0x1000f406
mov eax, dword [ebp - 0x1a5c]
cmp eax, 0x5000
jbe 0x1000f42b
test ebx, ebx
je 0x1000f42a
add dword [ebx], eax
jmp 0x1000f42a
lea eax, [ebp - 0x1a50]
push 0x101cf494
push eax
call fcn.10153bdf
add esp, 8
test eax, eax
je 0x1000f42b
test edi, edi
je 0x1000f42a
mov eax, dword [ebp - 0x1a5c]
add dword [edi], eax
inc esi
lea eax, [ebp - 0x1a7c]
push eax
push dword [ebp - 0x1a84]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1000f280
mov eax, dword [ebp - 0x1a84]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x1818]
cmp ecx, 8
jb 0x1000f471
inc ecx
push ecx
push dword [ebp - 0x182c]
lea ecx, [ebp - 0x182c]
call fcn.10005bc0
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.100a66bf
mov esp, ebp
pop ebp
ret 0xc