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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x45c
mov eax, dword [0x1099a38]
and dword [ebp - 0x454], 0
push edi
mov dword [ebp - 4], eax
xor eax, eax
push 0x40
pop ecx
mov byte [ebp - 0x20c], 0
lea edi, [ebp - 0x20b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x40
xor eax, eax
mov byte [ebp - 0x310], 0
pop ecx
lea edi, [ebp - 0x30f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 8]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10631b7
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x104
jb 0x10631d1
xor eax, eax
jmp 0x1063418
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x310]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x10631dc
lea edi, [ebp - 0x310]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10631ed
push esi
mov esi, 0x101632c
lea eax, [ebp - 0x450]
movsd dword es:[edi], dword [esi]
push eax
lea eax, [ebp - 0x310]
push eax
movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0x458], eax
je 0x1063411
push ebx
mov ebx, dword [ebp + 0xc]
cmp dword [ebp - 0x458], 0
je 0x1063329
test byte [ebp - 0x450], 0x10
jne 0x1063329
cmp dword [ebp - 0x450], 0x800
jne 0x1063308
and dword [ebp - 0x45c], 0
xor eax, eax
push 0x40
mov byte [ebp - 0x108], 0
pop ecx
lea edi, [ebp - 0x107]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x108]
sub ecx, eax
mov dl, byte [eax]
mov byte [ecx + eax], dl
inc eax
test dl, dl
jne 0x1063277
lea edi, [ebp - 0x108]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1063288
mov esi, 0x10094ec
lea eax, [ebp - 0x424]
movsw word es:[edi], word [esi]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x106329f
lea edi, [ebp - 0x108]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x10632af
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0x45c]
push eax
and ecx, 3
lea eax, [ebp - 0x108]
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
push eax
call esi
lea eax, [eax + ebx - 1]
xor edx, edx
div ebx
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x108]
mov edi, ebx
push eax
sub edi, edx
call esi
add eax, dword [ebp - 0x454]
lea eax, [eax + edi - 1]
jmp 0x10633e3
mov ecx, dword [ebp - 0x430]
lea eax, [ecx + ebx - 1]
xor edx, edx
div ebx
mov eax, dword [ebp - 0x454]
sub ecx, edx
add ecx, ebx
lea eax, [eax + ecx - 1]
jmp 0x10633e3
push 2
mov edi, 0x1016328
lea esi, [ebp - 0x424]
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x10633e9
push 3
mov edi, 0x1016324
lea esi, [ebp - 0x424]
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x10633e9
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x20c]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x1063364
lea edi, [ebp - 0x20c]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1063375
mov esi, 0x10094ec
lea eax, [ebp - 0x424]
movsw word es:[edi], word [esi]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x106338c
lea edi, [ebp - 0x20c]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x106339c
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
lea eax, [ebp - 0x20c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.01063168
lea eax, [eax + ebx - 1]
cdq
idiv ebx
push ebx
lea eax, [ebp - 0x20c]
mov esi, ebx
push eax
sub esi, edx
call fcn.01063168
add eax, dword [ebp - 0x454]
lea eax, [eax + esi - 1]
mov dword [ebp - 0x454], eax
lea eax, [ebp - 0x450]
push eax
push dword [ebp - 0x458]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1063224
push dword [ebp - 0x458]
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebx
mov eax, dword [ebp - 0x454]
pop esi
mov ecx, dword [ebp - 4]
pop edi
call fcn.0106bc50
leave
ret 8