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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1a70
call fcn.00405af0
mov eax, dword [0x417088]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
xor eax, eax
mov word [ebp - 0x808], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x806]
push ecx
call fcn.004058e0
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x1008]
push eax
call fcn.00405acc
add esp, 8
push 0x412610
lea ecx, [ebp - 0x1008]
push ecx
call fcn.00405a9b
add esp, 8
lea edx, [ebp - 0x1258]
push edx
lea eax, [ebp - 0x1008]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x4025d2
xor eax, eax
jmp 0x40283e
lea ecx, [ebp - 0x1258]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x40283c
push 0x41260c
lea eax, [ebp - 0x122c]
push eax
call fcn.00405cc8
add esp, 8
test eax, eax
je 0x40261b
push 0x412604
lea ecx, [ebp - 0x122c]
push ecx
call fcn.00405cc8
add esp, 8
test eax, eax
jne 0x40261d
jmp 0x4025d2
lea edx, [ebp - 0x122c]
push edx
mov eax, dword [ebp + 8]
push eax
push str._s_s
lea ecx, [ebp - 0x1a58]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
mov dword [ebp - 0x1a60], 0xffffffff
mov dword [ebp - 0x1a5c], 0
mov edx, dword [ebp - 0x123c]
xor eax, eax
mov ecx, dword [ebp - 0x1a60]
add ecx, 1
mov esi, dword [ebp - 0x1a5c]
adc esi, 0
push esi
push ecx
push eax
push edx
call fcn.00406050
mov ecx, dword [ebp - 0x1238]
xor esi, esi
add eax, ecx
adc edx, esi
mov dword [ebp - 0x1a70], eax
mov dword [ebp - 0x1a6c], edx
push 0x5c
lea edx, [ebp - 0x1a58]
push edx
call fcn.00405d06
add esp, 8
mov dword [ebp - 0x1a64], eax
mov eax, dword [ebp - 0x1a64]
push eax
lea ecx, [ebp - 0x808]
push ecx
call fcn.00405acc
add esp, 8
lea edx, [ebp - 0x808]
push edx
call fcn.00405fde
add esp, 4
cmp dword [ebp - 0x1a64], 0
je 0x40281d
mov eax, dword [ebp - 0x1a64]
push eax
call fcn.00405b1b
add esp, 4
cmp eax, 0x1e
jae 0x40281d
push 0x4125f0
lea ecx, [ebp - 0x808]
push ecx
call fcn.00405d34
add esp, 8
test eax, eax
jne 0x40279d
push 0x4125e8
lea edx, [ebp - 0x808]
push edx
call fcn.00405d34
add esp, 8
test eax, eax
jne 0x40279d
push 0x4125e0
lea eax, [ebp - 0x808]
push eax
call fcn.00405d34
add esp, 8
test eax, eax
jne 0x40279d
push 0x4125d8
lea ecx, [ebp - 0x808]
push ecx
call fcn.00405d34
add esp, 8
test eax, eax
jne 0x40279d
push 0x4125d0
lea edx, [ebp - 0x808]
push edx
call fcn.00405d34
add esp, 8
test eax, eax
jne 0x40279d
push 0x4125c8
lea eax, [ebp - 0x808]
push eax
call fcn.00405d34
add esp, 8
test eax, eax
jne 0x40279d
push 0x4125c0
lea ecx, [ebp - 0x808]
push ecx
call fcn.00405d34
add esp, 8
test eax, eax
je 0x40281d
cmp dword [ebp - 0x1a6c], 0
ja 0x4027b2
cmp dword [ebp - 0x1a70], 0xc800
jbe 0x40281d
cmp dword [ebp - 0x1a6c], 0
ja 0x40281d
jb 0x4027c9
cmp dword [ebp - 0x1a70], 0x32000000
jae 0x40281d
lea edx, [ebp - 0x1a58]
push edx
call fcn.004020d0
add esp, 4
test eax, eax
je 0x40281d
lea eax, [ebp - 0x1a58]
push eax
mov ecx, dword [0x418604]
imul ecx, ecx, 0x208
add ecx, 0x418710
push ecx
call fcn.00405acc
add esp, 8
mov edx, dword [0x418604]
add edx, 1
mov dword [0x418604], edx
cmp dword [0x418604], 0xc8
jle 0x40281d
xor eax, eax
jmp 0x40283e
mov eax, dword [ebp - 0x1258]
and eax, 0x10
je 0x402837
lea ecx, [ebp - 0x1a58]
push ecx
call fcn.00402550
add esp, 4
jmp 0x4025d2
xor eax, eax
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00405605
mov esp, ebp
pop ebp
ret