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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005ff99
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x1007b00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x27c], edx
mov edi, ecx
mov ebx, dword [ebp + 0xc]
xor eax, eax
xor esi, esi
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], esi
mov word [ebp - 0x28], ax
cmp word [edi], ax
jne 0x10056fb4
xor ecx, ecx
jmp 0x10056fc6
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10056fb7
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x28]
call fcn.10002e00
mov ecx, dword [ebp + 8]
test ebx, ebx
mov edi, 0x1006a234
mov dword [ebp - 4], 0
cmovne edi, ebx
mov eax, ecx
dec ecx
mov dword [ebp + 8], ecx
test eax, eax
je 0x10057212
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
cmp word [ecx + eax*2 - 2], 0x5c
je 0x10057017
push 1
push 0x10067494
lea ecx, [ebp - 0x28]
call fcn.1000c400
push edi
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x2ac]
call fcn.10048ee0
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x10057031
mov eax, dword [eax]
lea ecx, [ebp - 0x278]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
mov eax, dword [ebp - 0x298]
cmp eax, 8
jb 0x10057059
inc eax
push eax
push dword [ebp - 0x2ac]
call fcn.10003020
xor eax, eax
mov dword [ebp - 0x298], 7
mov dword [ebp - 0x29c], 0
mov word [ebp - 0x2ac], ax
cmp edi, 0xffffffff
je 0x10057217
mov esi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ebx, dword [ebp - 0x27c]
nop dword [eax + eax]
mov ecx, 0x10069934
lea eax, [ebp - 0x24c]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100570c6
test dx, dx
je 0x100570c2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100570c6
add eax, 4
add ecx, 4
test dx, dx
jne 0x100570a0
xor eax, eax
jmp 0x100570cb
sbb eax, eax
or eax, 1
test eax, eax
je 0x100571f9
mov ecx, 0x10069948
lea eax, [ebp - 0x24c]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10057106
test dx, dx
je 0x10057102
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10057106
add eax, 4
add ecx, 4
test dx, dx
jne 0x100570e0
xor eax, eax
jmp 0x1005710b
sbb eax, eax
or eax, 1
test eax, eax
je 0x100571f9
test byte [ebp - 0x278], 0x10
lea eax, [ebp - 0x24c]
lea edx, [ebp - 0x28]
push eax
je 0x10057171
lea ecx, [ebp - 0x294]
call fcn.10048ee0
add esp, 4
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x10057140
mov eax, dword [eax]
push 0
push dword [ebp + 8]
mov edx, ebx
mov ecx, eax
call fcn.10056f60
mov byte [ebp - 4], 0
add esp, 8
mov eax, dword [ebp - 0x280]
cmp eax, 8
jb 0x100571f9
inc eax
push eax
push dword [ebp - 0x294]
jmp 0x100571f4
lea ecx, [ebp - 0x2c4]
call fcn.10048ee0
add esp, 4
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
jb 0x1005718b
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x294]
call fcn.10002d00
lea eax, [ebp - 0x294]
mov byte [ebp - 4], 3
push eax
mov ecx, ebx
call fcn.10057670
mov eax, dword [ebp - 0x280]
cmp eax, 8
jb 0x100571c1
inc eax
push eax
push dword [ebp - 0x294]
call fcn.10003020
xor eax, eax
mov dword [ebp - 0x280], 7
mov word [ebp - 0x294], ax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x2b0]
mov dword [ebp - 0x284], 0
cmp eax, 8
jb 0x100571f9
inc eax
push eax
push dword [ebp - 0x2c4]
call fcn.10003020
lea eax, [ebp - 0x278]
push eax
push edi
call esi
test eax, eax
jne 0x10057090
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, 1
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x10057229
inc ecx
push ecx
push dword [ebp - 0x28]
call fcn.10003020
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 - 0x10]
xor ecx, ebp
call fcn.1005b6db
mov esp, ebp
pop ebp
ret