Function at 0x467b40
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.0046f7e0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x824], ax
lea eax, [ebp - 0x822]
push eax
call fcn.0046f7e0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x61c], ax
lea eax, [ebp - 0x61a]
push eax
call fcn.0046f7e0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.0046f7e0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call fcn.0046f7e0
push esi
lea eax, [ebp - 0x20c]
xor edi, edi
push 0x104
push eax
mov dword [ebp - 0xc84], edi
call fcn.0046fe12
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.0046fe12
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 0x467c37
sub ecx, edx
sar ecx, 1
jne 0x467c75
lea eax, [ebp - 0x20c]
mov dword [ebp - 0xc84], 1
push eax
push 0x104
push 0x4cf7c8
call fcn.0046fe12
mov eax, dword [ebx]
add esp, 0xc
cmp eax, dword [ebx + 4]
je 0x467c75
mov dword [ebx + 4], eax
lea eax, [ebp - 0x20c]
push eax
push str._s.
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.0046ecde
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 0x467cc7
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ecfa
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 0x467ced
cmp ax, 0x2e
je 0x467dc9
cmp word [ebp - 0xc4c], 0
jne 0x467d06
cmp ax, 0x2e
jne 0x467d06
cmp cx, ax
je 0x467dc9
test byte [ebp - 0xc7c], 0x10
je 0x467d7e
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.00467b40
add esp, 0xc
mov edi, eax
test byte [ebp + 0x10], 2
je 0x467dc9
test edi, edi
jne 0x467dc9
push dword [ebp - 0xc7c]
lea eax, [ebp - 0x824]
push 0x4cf7c8
push eax
push ebx
call fcn.004670a0
add esp, 0x10
mov edi, 1
jmp 0x467dc9
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0xc50]
push eax
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
test eax, eax
je 0x467dc9
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.004670a0
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 0x467ded
cmp dword [0x4b552c], 0
je 0x467cd0
push dword [ebp - 0xc80]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0xc84], 0
je 0x467e2e
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.00469390
add esp, 8
mov eax, dword [ebx]
cmp eax, dword [ebx + 4]
je 0x467e37
mov dword [eax], edi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046ecfa
mov esp, ebp
pop ebp
ret