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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc84
mov eax, dword [0x4af6f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0x206
push eax
mov word [ebp - 0xa2c], ax
lea eax, [ebp - 0xa2a]
push eax
call fcn.0046f6e0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x824], ax
lea eax, [ebp - 0x822]
push eax
call fcn.0046f6e0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x61c], ax
lea eax, [ebp - 0x61a]
push eax
call fcn.0046f6e0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.0046f6e0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call fcn.0046f6e0
push esi
lea eax, [ebp - 0x20c]
xor edi, edi
push 0x104
push eax
mov dword [ebp - 0xc84], edi
call fcn.0046fd12
add esp, 0x48
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push esi
lea eax, [ebp - 0x61c]
push 0x104
push eax
call fcn.0046fd12
add esp, 0xc
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripPathW]
mov ecx, 0x4cf7c8
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x467b47
sub ecx, edx
sar ecx, 1
jne 0x467b85
lea eax, [ebp - 0x20c]
mov dword [ebp - 0xc84], 1
push eax
push 0x104
push 0x4cf7c8
call fcn.0046fd12
mov eax, dword [ebx]
add esp, 0xc
cmp eax, dword [ebx + 4]
je 0x467b85
mov dword [ebx + 4], eax
lea eax, [ebp - 0x20c]
push eax
push str._s.
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.0046ebde
add esp, 0x10
lea eax, [ebp - 0xc7c]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0xc80], eax
cmp eax, 0xffffffff
jne 0x467bd7
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ebfa
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ecx]
mov cx, word [ebp - 0xc4e]
mov ax, word [ebp - 0xc50]
test cx, cx
jne 0x467bfd
cmp ax, 0x2e
je 0x467cd9
cmp word [ebp - 0xc4c], 0
jne 0x467c16
cmp ax, 0x2e
jne 0x467c16
cmp cx, ax
je 0x467cd9
test byte [ebp - 0xc7c], 0x10
je 0x467c8e
lea eax, [ebp - 0xc50]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x824]
push eax
call esi
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x414]
push eax
call esi
push dword [ebp + 0x10]
lea eax, [ebp - 0x414]
push eax
push ebx
call fcn.00467a50
add esp, 0xc
mov edi, eax
test byte [ebp + 0x10], 2
je 0x467cd9
test edi, edi
jne 0x467cd9
push dword [ebp - 0xc7c]
lea eax, [ebp - 0x824]
push 0x4cf7c8
push eax
push ebx
call fcn.00466fb0
add esp, 0x10
mov edi, 1
jmp 0x467cd9
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0xc50]
push eax
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
test eax, eax
je 0x467cd9
lea eax, [ebp - 0xc50]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0xa2c]
push eax
call esi
push dword [ebp - 0xc7c]
lea eax, [ebp - 0xa2c]
push 0x4cf7c8
push eax
push ebx
call fcn.00466fb0
add esp, 0x10
inc edi
lea eax, [ebp - 0xc7c]
push eax
push dword [ebp - 0xc80]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x467cfd
cmp dword [0x4b552c], 0
je 0x467be0
push dword [ebp - 0xc80]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0xc84], 0
je 0x467d3e
xor eax, eax
mov word [0x4cf7c8], ax
mov eax, 0x52835813
mov ecx, dword [ebx + 4]
sub ecx, dword [ebx]
imul ecx
sar edx, 0xa
mov edi, edx
shr edi, 0x1f
add edi, edx
push edi
push str.ScanPathArray____NBFiles_u
call fcn.00469290
add esp, 8
mov eax, dword [ebx]
cmp eax, dword [ebx + 4]
je 0x467d47
mov dword [eax], edi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046ebfa
mov esp, ebp
pop ebp
ret