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

Disassembly:
push 0x2cc
mov eax, 0x1017118b
call fcn.1016d10a
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c8], ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x2d8], ecx
lea ecx, [ebp - 0x40]
push eax
call fcn.10003560
lea eax, [ebp - 0x40]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.10068741
pop ecx
test eax, eax
jne 0x1006b9ce
mov esi, 0x101734d4
push esi
call fcn.10093843
pop ecx
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.100065e0
call fcn.1006492e
test al, al
je 0x1006b9f1
push ecx
push esi
pop esi
pop esi
pop ebx
pop ebp
pop ebp
push ebx
pop ecx
push ebp
pop esp
push esp
push esi
push esp
pop edi
pop ebp
pop ecx
pop edi
pop esi
push edi
push ecx
push ebp
pop esi
pop esp
xor ebx, ebx
mov dword [ebp - 0x2d4], ebx
mov dword [ebp - 0x2d0], ebx
mov dword [ebp - 0x2cc], ebx
xor eax, eax
mov byte [ebp - 4], 1
mov esi, 0x101748ac
mov dword [ebp - 0x14], 7
push esi
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], ax
call fcn.10093843
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.10006830
push dword [ebp - 0x2c8]
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.10003560
lea eax, [ebp - 0x2d4]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.10068ec3
add esp, 0xc
lea ecx, [ebp - 0x58]
push ebx
push 1
call fcn.10006390
push ebx
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.10006390
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x70]
call fcn.100085f0
mov esi, 0x10181b74
mov byte [ebp - 4], 4
push esi
call fcn.10093843
pop ecx
push eax
push esi
lea ecx, [ebp - 0x70]
call fcn.100065e0
cmp dword [ebp - 0x5c], 8
lea ecx, [ebp - 0x2c0]
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2c4], eax
call fcn.10064fa6
test al, al
je 0x1006bae1
pop eax
pop ebx
push edx
pop ebx
pop ebp
push eax
pop esp
pop esp
pop ecx
pop esi
push edx
pop ecx
push esp
push edx
push ebx
pop ebx
pop ebp
push eax
pop edi
pop esp
push esp
pop ebp
pop esi
push eax
pop ecx
pop edi
push edx
pop edx
push esi
pop ebp
push edi
cmp dword [ebp - 0x2c4], 0xffffffff
je 0x1006bd28
call fcn.10064a42
test al, al
je 0x1006bb08
push eax
pop ebx
pop edx
push edi
push edi
pop esp
pop esp
push esi
push esi
pop edx
push edx
pop ebx
push edx
push esi
push edi
push ebp
pop ebp
call fcn.10065033
test al, al
je 0x1006bb31
pop eax
pop edx
pop ecx
pop ebx
pop edx
push ebx
pop ebp
pop edi
push esp
pop esp
push esp
push edi
pop edx
push edi
push ebx
pop edx
push edx
push edx
push edx
pop esi
push eax
push ebx
pop edx
push esi
pop esp
push ebp
push edi
pop edx
pop ebx
push edx
pop edx
push ebx
call fcn.100649fd
test al, al
je 0x1006bb4d
push edi
pop ecx
push edi
push ebp
pop ecx
push edx
pop edx
push esi
pop esi
pop ebp
pop edi
push ebx
push ecx
push esp
pop esp
pop esi
push edx
pop ebp
push eax
mov edi, dword [ebp - 0x2d8]
test byte [ebp - 0x2c0], 0x10
je 0x1006bbd2
cmp word [ebp - 0x294], 0x2e
je 0x1006bc95
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.100085f0
cmp word [ebp - 0x294], 0
mov byte [ebp - 4], 5
jne 0x1006bb88
xor eax, eax
jmp 0x1006bb95
lea eax, [ebp - 0x294]
push eax
call fcn.10093843
pop ecx
push eax
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x28]
call fcn.100065e0
cmp byte [ebp + 0x14], 0
je 0x1006bc85
push dword [ebp + 0x14]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push edi
cmovae eax, dword [ebp - 0x28]
push dword [ebp - 0x2c8]
push eax
call fcn.1006b978
add esp, 0x10
jmp 0x1006bc85
lea eax, [ebp - 0x294]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10067339
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 6
push eax
call fcn.100643de
mov esi, dword [ebp - 0x2d4]
add esp, 0xc
xor bl, bl
jmp 0x1006bc23
cmp dword [esi + 0x14], 8
jb 0x1006bc06
mov ecx, dword [esi]
jmp 0x1006bc08
mov ecx, esi
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.100939e8
pop ecx
pop ecx
test eax, eax
je 0x1006bc2d
add esi, 0x18
cmp esi, dword [ebp - 0x2d0]
jne 0x1006bbfc
jmp 0x1006bc2f
mov bl, 1
test bl, bl
je 0x1006bc85
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x58]
call fcn.100085f0
cmp word [ebp - 0x294], 0
mov byte [ebp - 4], 7
jne 0x1006bc51
xor eax, eax
jmp 0x1006bc5e
lea eax, [ebp - 0x294]
push eax
call fcn.10093843
pop ecx
push eax
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x58]
call fcn.100065e0
lea eax, [ebp - 0x58]
mov ecx, edi
push eax
call fcn.10006c40
push 0
push 1
lea ecx, [ebp - 0x58]
call fcn.10006390
push 0
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.10006390
lea eax, [ebp - 0x2c0]
push eax
push dword [ebp - 0x2c4]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1006bb53
call fcn.10064d39
test al, al
je 0x1006bcd7
push edi
push edi
push ebp
pop edi
push esi
pop ebx
pop ecx
push ecx
push edi
push esp
pop ecx
pop esi
pop esp
push esi
pop esi
push ecx
push esi
pop edi
pop esi
pop ebp
push edx
push eax
pop edx
pop edx
push edi
push edx
push edi
push esi
pop ebp
pop esi
call fcn.10064f61
test al, al
je 0x1006bcf4
push esp
pop esp
push esp
pop edx
push edx
pop edi
pop edi
pop eax
push ebx
push ecx
pop ecx
push ebx
push ebx
pop edi
pop ebp
pop ebx
push ecx
push edi
pop ebp
push edi
call fcn.10064ed7
test al, al
je 0x1006bd1c
pop esi
pop esp
pop edi
push edx
push ecx
push edi
push edi
pop ecx
push eax
push ebx
push ebp
push eax
push eax
pop ebx
push esp
pop ecx
push esp
pop ecx
pop ebx
push esp
pop edx
pop edx
push ecx
pop edi
pop edi
push ebp
pop esi
pop esi
push ebx
pop eax
pop esi
push dword [ebp - 0x2c4]
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0
push 1
lea ecx, [ebp - 0x70]
call fcn.10006390
lea ecx, [ebp - 0x2d4]
call fcn.10069659
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.10006390
call fcn.1016d0c5
ret