Function at 0x10015870
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fbe4e
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x278
mov eax, dword [0x10172eb8]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
push 0x101114b0
push 0x105
lea ecx, [ebp - 0x120]
push ecx
call fcn.100cd2a8
add esp, 0x10
lea edx, [ebp - 0x260]
push edx
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x10015add
lea ecx, [ebp - 0x260]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x10015ab7
push 0x101114b8
lea eax, [ebp - 0x234]
push eax
call fcn.10006820
add esp, 8
test eax, eax
je 0x10015937
push 0x101114bc
lea ecx, [ebp - 0x234]
push ecx
call fcn.10006820
add esp, 8
test eax, eax
jne 0x10015939
jmp 0x100158ee
mov edx, dword [ebp - 0x260]
and edx, 0x10
je 0x10015a07
lea eax, [ebp - 0x234]
push eax
call fcn.100cb090
add esp, 4
mov esi, eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.100cb090
add esp, 4
lea edx, [eax + esi + 2]
mov dword [ebp - 0x268], edx
mov eax, dword [ebp - 0x268]
push eax
call fcn.100aaab5
add esp, 4
mov dword [ebp - 0x284], eax
mov ecx, dword [ebp - 0x284]
mov dword [ebp - 0x274], ecx
mov edx, dword [ebp - 0x274]
mov dword [ebp - 0x264], edx
lea eax, [ebp - 0x234]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x101114c0
mov edx, dword [ebp - 0x268]
push edx
mov eax, dword [ebp - 0x264]
push eax
call fcn.100cd2a8
add esp, 0x14
mov ecx, dword [ebp - 0x264]
push ecx
call fcn.10015870
add esp, 4
mov edx, dword [ebp - 0x264]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
cmp dword [ebp - 0x264], 0
je 0x10015a02
mov eax, dword [ebp - 0x264]
mov dword [ebp - 0x278], eax
mov ecx, dword [ebp - 0x278]
push ecx
call fcn.100aaaba
add esp, 4
jmp 0x10015ab2
lea edx, [ebp - 0x234]
push edx
call fcn.100cb090
add esp, 4
mov esi, eax
mov eax, dword [ebp + 8]
push eax
call fcn.100cb090
add esp, 4
lea ecx, [eax + esi + 2]
mov dword [ebp - 0x270], ecx
mov edx, dword [ebp - 0x270]
push edx
call fcn.100aaab5
add esp, 4
mov dword [ebp - 0x288], eax
mov eax, dword [ebp - 0x288]
mov dword [ebp - 0x27c], eax
mov ecx, dword [ebp - 0x27c]
mov dword [ebp - 0x26c], ecx
cmp dword [ebp - 0x26c], 0
je 0x10015ab2
lea edx, [ebp - 0x234]
push edx
mov eax, dword [ebp + 8]
push eax
push 0x101114c8
mov ecx, dword [ebp - 0x270]
push ecx
mov edx, dword [ebp - 0x26c]
push edx
call fcn.100cd2a8
add esp, 0x14
mov eax, dword [ebp - 0x26c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 0x26c]
mov dword [ebp - 0x280], ecx
mov edx, dword [ebp - 0x280]
push edx
call fcn.100aaaba
add esp, 4
jmp 0x100158ee
jmp 0x10015ac6
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 0
je 0x10015add
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.100ca7f5
mov esp, ebp
pop ebp
ret