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

Disassembly:
sub esp, 0x648
push ebx
push ebp
push esi
push 0xff
lea eax, [esp + 0x159]
mov esi, ecx
push 0
push eax
mov dword [esp + 0x1c], esi
mov byte [esp + 0x160], 0
call fcn.0058ac30
push 0xff
lea ecx, [esp + 0x265]
push 0
push ecx
mov byte [esp + 0x26c], 0
call fcn.0058ac30
mov ebp, dword [esp + 0x678]
add esp, 0x18
test ebp, ebp
jne 0x5676b7
mov dword [esp + 0x660], 0x5ae364
mov ebp, dword [esp + 0x660]
push 2
push 0x63aa54
push ebp
mov byte [esp + 0x1b], 0
call fcn.00589c37
add esp, 0xc
test eax, eax
mov ebx, 1
je 0x5676e7
push 0x5b31b0
push ebp
call fcn.00588710
add esp, 8
test eax, eax
je 0x5676eb
mov byte [esp + 0xf], bl
lea edx, [esp + 0x154]
push 0xff
push edx
call fcn.0059123b
add esp, 8
test eax, eax
je 0x5679f5
mov eax, dword [esi]
cmp dword [eax + 0x220], 0
push edi
jne 0x5677b2
mov ecx, esi
call fcn.00567630
mov ecx, dword [esi]
mov dl, byte [esp + 0x668]
mov byte [ecx + 0x21c], dl
mov eax, dword [esi]
cmp byte [eax + 0x21c], 0
je 0x5677b2
cmp byte [esp + 0x13], 0
je 0x56774e
push ebp
lea ecx, [eax + 0x214]
call fcn.00566e70
jmp 0x567797
lea ecx, [esp + 0x158]
push ecx
lea ecx, [eax + 0x214]
call fcn.00566e70
mov edi, 0x5ae364
mov esi, ebp
mov ecx, 2
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
mov esi, dword [esp + 0x14]
je 0x567797
mov ecx, dword [esi]
push 0x5bc868
add ecx, 0x214
call fcn.00566ee0
mov ecx, dword [esi]
push ebp
add ecx, 0x214
call fcn.00566ee0
mov eax, dword [esi]
add eax, 0x214
mov eax, dword [eax]
test eax, eax
jne 0x5677a9
mov eax, 0x5ad73f
push eax
call fcn.0058b0cc
add esp, 4
mov eax, dword [esi]
add dword [eax + 0x220], ebx
push ebp
call fcn.0058df89
add esp, 4
cmp eax, 0xffffffff
je 0x5679eb
mov ebx, dword [esp + 0x660]
test bl, bl
je 0x567879
lea eax, [esp + 0x258]
push 0x5bc878
push eax
call fcn.00589571
add esp, 8
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x25c]
push edx
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x56786e
lea ebx, [ebx]
test byte [esp + 0x18], 0x10
je 0x567857
mov edi, 0x5ae364
lea esi, [esp + 0x44]
mov ecx, 2
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x567857
mov edi, 0x5bc874
lea esi, [esp + 0x44]
mov ecx, 3
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x567857
mov ecx, dword [esp + 0x65c]
push edx
lea eax, [esp + 0x48]
push eax
push ebx
push ecx
mov ecx, dword [esp + 0x24]
call fcn.00567650
lea edx, [esp + 0x18]
push edx
push ebp
call dword [sym.imp.kernel32.dll_FindNextFileA]
test eax, eax
jne 0x567810
push ebp
call dword [sym.imp.kernel32.dll_FindClose]
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x664]
mov ecx, dword [esp + 0x65c]
lea eax, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x5679b3
jmp 0x5678a0
test byte [esp + 0x18], 0x10
jne 0x567998
push 0x2ff
lea edx, [esp + 0x35d]
push 0
push edx
mov byte [esp + 0x364], 0
call fcn.0058ac30
add esp, 0xc
cmp byte [esp + 0x13], 0
je 0x5678e6
push ebp
lea eax, [esp + 0x35c]
push 0x5c4e50
push eax
call fcn.00589571
jmp 0x56793a
mov edi, 0x5ae364
mov esi, ebp
mov ecx, 2
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x56791c
push ebp
lea eax, [esp + 0x15c]
push eax
lea ecx, [esp + 0x360]
push 0x5bd104
push ecx
call fcn.00589571
mov esi, dword [esp + 0x24]
add esp, 0x10
jmp 0x56793d
lea edx, [esp + 0x158]
push edx
lea eax, [esp + 0x35c]
push 0x5c4e50
push eax
call fcn.00589571
mov esi, dword [esp + 0x20]
add esp, 0xc
lea eax, [esp + 0x358]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x567947
sub eax, edx
test eax, eax
jle 0x567984
cmp byte [esp + eax + 0x357], 0x5c
je 0x567984
lea edi, [esp + 0x358]
add edi, 0xffffffff
lea ebx, [ebx]
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x567970
mov cx, word [0x5bc868]
mov word [edi], cx
mov ecx, dword [esi]
lea edx, [esp + 0x358]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.005675c0
lea ecx, [esp + 0x18]
push ecx
push ebx
call dword [sym.imp.kernel32.dll_FindNextFileA]
test eax, eax
jne 0x5678a0
push ebx
call dword [sym.imp.kernel32.dll_FindClose]
lea edx, [esp + 0x158]
push edx
call fcn.0058df89
mov eax, dword [esi]
add dword [eax + 0x220], 0xffffffff
mov eax, dword [esi]
add esp, 4
cmp dword [eax + 0x220], 0
jne 0x5679f4
mov ecx, esi
call fcn.00567150
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x648
ret 0x10
mov eax, dword [esi]
add dword [eax + 0x220], 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x648
ret 0x10