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

Disassembly:
push 0xffffffffffffffff
push 0x5b29d8
mov eax, dword fs:[0]
push eax
sub esp, 0x690
mov eax, dword [str.W__a]
xor eax, esp
mov dword [esp + 0x688], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [str.W__a]
xor eax, esp
push eax
lea eax, [esp + 0x6a4]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x6b4]
mov edi, dword [esp + 0x6b8]
mov ebp, dword [esp + 0x6bc]
xor esi, esi
push 0x206
lea ecx, [esp + 0x49a]
xor eax, eax
push esi
mov dword [esp + 0x1c], esi
push ecx
mov dword [esp + 0x28], ebx
mov word [esp + 0x4a0], ax
call fcn.0054e420
add esp, 0xc
push 0x206
lea eax, [esp + 0x292]
xor edx, edx
push esi
push eax
mov word [esp + 0x298], dx
call fcn.0054e420
add esp, 0xc
push 0x5d8ec4
push ebx
lea ecx, [esp + 0x49c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x24c
lea edx, [esp + 0x44]
push esi
push edx
mov dword [esp + 0x48], esi
call fcn.0054e420
add esp, 0xc
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x498]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x18], esi
cmp eax, 0xffffffff
je 0x40f195
mov dword [esp + 0x18], eax
mov dword [esp + 0x6ac], esi
cmp dword [esp + 0x18], esi
jne 0x40f1b4
xor al, al
jmp 0x40f386
mov ebx, dword [esp + 0x1c]
lea edx, [esp + 0x68]
push edx
push ebx
lea eax, [esp + 0x294]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test byte [esp + 0x3c], 0x10
jne 0x40f22d
cmp ebp, esi
je 0x40f229
xor ecx, ecx
lea eax, [esp + 0x68]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], cx
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x40f1f0
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x6c]
push edx
lea ecx, [esp + 0x28]
call fcn.00401d20
lea eax, [esp + 0x20]
mov byte [esp + 0x6ac], 1
or dword [esp + 0x14], 1
push eax
call ebp
add esp, 4
test al, al
je 0x40f22d
mov bl, 1
jmp 0x40f22f
xor bl, bl
mov dword [esp + 0x6ac], esi
test byte [esp + 0x14], 1
je 0x40f256
and dword [esp + 0x14], 0xfffffffe
cmp dword [esp + 0x34], 8
jb 0x40f256
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00548a36
add esp, 4
test bl, bl
je 0x40f2ce
xor edx, edx
lea eax, [esp + 0x28c]
mov word [esp + 0x20], dx
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x40f277
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x290]
push eax
lea ecx, [esp + 0x28]
call fcn.00401d20
lea ecx, [esp + 0x20]
mov byte [esp + 0x6ac], 2
call fcn.0040f790
mov byte [esp + 0x6ac], 0
cmp dword [esp + 0x34], 8
jb 0x40f361
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00548a36
add esp, 4
jmp 0x40f361
test byte [esp + 0x3c], 0x10
je 0x40f361
mov ecx, 0x5d8ec8
lea eax, [esp + 0x68]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40f308
cmp dx, si
je 0x40f304
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40f308
add eax, 4
add ecx, 4
cmp dx, si
jne 0x40f2e2
xor eax, eax
jmp 0x40f30d
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
je 0x40f361
mov ecx, 0x5d8ecc
lea eax, [esp + 0x68]
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40f346
cmp dx, si
je 0x40f342
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40f346
add eax, 4
add ecx, 4
cmp dx, si
jne 0x40f320
xor eax, eax
jmp 0x40f34b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
je 0x40f361
push ebp
lea edx, [esp + 0x290]
push edi
push edx
call fcn.0040f0b0
add esp, 0xc
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x3c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40f1b0
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, 1
mov ecx, dword [esp + 0x6a4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x688]
xor ecx, esp
call fcn.00548a41
add esp, 0x69c
ret