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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x525ed3
mov eax, dword fs:[0]
push eax
sub esp, 0x780
mov eax, dword [0x57f82c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x770], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x424], 1
mov byte [ebp - 0x214], 0
push 0x1ff
push 0
lea eax, [ebp - 0x213]
push eax
call fcn.0050c7f0
add esp, 0xc
mov byte [ebp - 0x764], 0
push 0x1ff
push 0
lea ecx, [ebp - 0x763]
push ecx
call fcn.0050c7f0
add esp, 0xc
mov byte [ebp - 0x41c], 0
push 0x1ff
push 0
lea edx, [ebp - 0x41b]
push edx
call fcn.0050c7f0
add esp, 0xc
lea ecx, [ebp - 0x21c]
call fcn.0040a150
mov byte [ebp - 4], 1
mov dword [ebp - 0x218], 0
lea ecx, [ebp + 8]
call fcn.00401730
cmp eax, 0x200
jle 0x40b865
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x21c]
call fcn.004019f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004019f0
jmp 0x40bb08
lea ecx, [ebp + 8]
call fcn.00401730
cmp eax, 0x200
jae 0x40b8dd
lea ecx, [ebp + 8]
call fcn.00401750
mov dword [ebp - 0x774], eax
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x778], eax
mov ecx, dword [ebp - 0x778]
mov dword [ebp - 0x77c], ecx
mov edx, dword [ebp - 0x774]
mov al, byte [edx]
mov byte [ebp - 0x77d], al
mov ecx, dword [ebp - 0x778]
mov dl, byte [ebp - 0x77d]
mov byte [ecx], dl
mov eax, dword [ebp - 0x774]
add eax, 1
mov dword [ebp - 0x774], eax
mov ecx, dword [ebp - 0x778]
add ecx, 1
mov dword [ebp - 0x778], ecx
cmp byte [ebp - 0x77d], 0
jne 0x40b89a
lea edx, [ebp - 0x41c]
add edx, 0xffffffff
mov dword [ebp - 0x784], edx
mov eax, dword [ebp - 0x784]
mov cl, byte [eax + 1]
mov byte [ebp - 0x785], cl
add dword [ebp - 0x784], 1
cmp byte [ebp - 0x785], 0
jne 0x40b8ec
mov edi, dword [ebp - 0x784]
mov edx, dword [0x538efc]
mov dword [edi], edx
mov al, byte [0x538f00]
mov byte [edi + 4], al
lea ecx, [ebp - 0x564]
push ecx
lea edx, [ebp - 0x41c]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0xffffffff
jne 0x40b967
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x21c]
call fcn.004019f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004019f0
jmp 0x40bb08
mov dword [ebp - 0x768], 0
cmp dword [ebp - 0x424], 0
je 0x40badd
mov eax, dword [ebp - 0x768]
add eax, 1
mov dword [ebp - 0x768], eax
lea ecx, [ebp + 8]
call fcn.00401730
cmp eax, 0x200
jbe 0x40b9a1
jmp 0x40badd
lea ecx, [ebp - 0x538]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x538f04
lea eax, [ebp - 0x214]
push eax
call fcn.0050e436
add esp, 0x10
mov ecx, dword [ebp - 0x564]
and ecx, 0x10
je 0x40ba1d
lea edx, [ebp - 0x214]
push edx
push 0x538f0c
lea eax, [ebp - 0x764]
push eax
call fcn.0050e436
add esp, 0xc
movsx ecx, byte [ebp - 0x538]
cmp ecx, 0x2e
je 0x40ba18
push ecx
mov ecx, esp
mov dword [ebp - 0x76c], esp
lea edx, [ebp - 0x214]
push edx
call fcn.00401020
mov dword [ebp - 0x78c], eax
mov ecx, dword [ebp - 0x770]
call fcn.0040b780
jmp 0x40babe
mov eax, dword [ebp - 0x770]
cmp dword [eax + 0x7c], 0
jne 0x40ba41
push str.tc_fltr.exe
lea ecx, [ebp - 0x538]
push ecx
call fcn.005185d9
add esp, 8
test eax, eax
je 0x40ba80
mov edx, dword [ebp - 0x770]
cmp dword [edx + 0x88], 0
jne 0x40ba9f
push str.TC_RV.exe
lea eax, [ebp - 0x538]
push eax
call fcn.005185d9
add esp, 8
test eax, eax
je 0x40ba80
push str.TC_R.exe
lea ecx, [ebp - 0x538]
push ecx
call fcn.005185d9
add esp, 8
test eax, eax
jne 0x40ba9f
lea edx, [ebp - 0x564]
push edx
mov eax, dword [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov dword [ebp - 0x424], eax
jmp 0x40b971
lea ecx, [ebp + 8]
push ecx
mov ecx, 0x5832e4
call fcn.00408190
lea edx, [ebp - 0x538]
push edx
mov ecx, 0x5832f8
call fcn.0040bb30
lea eax, [ebp - 0x564]
push eax
mov ecx, dword [ebp - 0x420]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov dword [ebp - 0x424], eax
jmp 0x40b971
mov edx, dword [ebp - 0x420]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x21c]
call fcn.004019f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004019f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050c6c0
mov esp, ebp
pop ebp
ret 4