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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4320cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x6024
call fcn.00431220
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
push ebx
push esi
push edi
cmp ecx, eax
mov dword [ebp - 0x10], esp
jg 0x428a0e
mov esi, dword [ebp + 8]
xor edi, edi
push edi
push esi
call dword [sym.imp.MSVCRT.dll__waccess]
add esp, 8
test eax, eax
je 0x42860e
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x274], edi
mov dword [ebp - 0x270], edi
push esi
lea ecx, [ebp - 0x40f4]
push 0x438144
push ecx
mov dword [ebp - 4], edi
call dword [sym.imp.MSVCRT.dll_swprintf]
add esp, 0xc
lea edx, [ebp - 0x26c]
lea eax, [ebp - 0x40f4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x14], eax
je 0x428a0e
mov ebx, dword [ebp + 0xc]
mov byte [ebp - 4], 1
test byte [ebp - 0x26c], 0x10
je 0x428793
mov esi, dword [sym.imp.MSVCRT.dll_wcscmp]
lea ecx, [ebp - 0x240]
push 0x438140
push ecx
call esi
add esp, 8
test eax, eax
je 0x428981
lea edx, [ebp - 0x240]
push 0x438138
push edx
call esi
add esp, 8
test eax, eax
je 0x428981
mov eax, edi
and eax, 0xf
test al, al
jne 0x42871f
lea eax, [edi + edi*4 + 0x50]
lea eax, [eax + eax*4]
lea ecx, [eax + eax*4]
lea edx, [edi + ecx*4 + 0x10]
lea eax, [edi + edx*8 + 0x10]
shl eax, 2
push eax
call sub.MFC42.DLL_operatornew
lea ecx, [edi + edi*4]
mov esi, dword [ebp - 0x274]
mov dword [ebp + 0xc], eax
add esp, 4
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
lea edx, [edi + ecx*4]
lea edx, [edi + edx*8]
mov edi, eax
shl edx, 2
mov ecx, edx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 0xc]
mov ecx, 0xfa90
lea edi, [edx + esi]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x274]
push ecx
call sub.MFC42.DLL_operatordelete
mov edi, dword [ebp - 0x270]
mov edx, esi
add esp, 4
mov dword [ebp - 0x274], edx
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x240]
push eax
push ecx
lea edx, [ebp - 0x6034]
push 0x438118
push edx
call dword [sym.imp.MSVCRT.dll_swprintf]
lea eax, [edi + edi*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea ecx, [edi + eax*4]
mov eax, dword [ebp - 0x274]
lea edx, [edi + ecx*8]
lea ecx, [ebp - 0x6034]
inc edi
push ecx
lea esi, [eax + edx*4]
mov dword [ebp - 0x270], edi
push esi
call dword [sym.imp.MSVCRT.dll_wcscpy]
mov edx, dword [ebp - 0x258]
add esp, 0x18
mov dword [esi + 0x3e8c], edx
mov eax, dword [ebp - 0x254]
mov dword [esi + 0x3e90], eax
mov dword [esi + 0x3e80], 1
jmp 0x428981
mov ecx, dword [ebp - 0x250]
push 1
push 0
push 0
push ecx
call fcn.00431480
mov ecx, dword [ebp - 0x24c]
xor esi, esi
add eax, ecx
push 0x2e
adc edx, esi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
lea edx, [ebp - 0x240]
push edx
call dword [sym.imp.MSVCRT.dll_wcsrchr]
mov esi, eax
mov eax, dword [ebp + 0x10]
add esp, 8
test esi, esi
je 0x428810
test eax, eax
je 0x42883f
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
test eax, eax
jbe 0x42883f
lea eax, [ebp - 0x240]
mov ecx, dword [ebp + 0x10]
sub esi, eax
add esi, 2
sar esi, 1
lea eax, [ebp + esi*2 - 0x240]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_wcsstr]
add esp, 8
test eax, eax
je 0x428981
jmp 0x42883f
test eax, eax
je 0x42883f
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
test eax, eax
jbe 0x42883f
mov eax, dword [ebp + 0x10]
push 0x4383b8
push eax
call dword [sym.imp.MSVCRT.dll_wcsstr]
add esp, 8
test eax, eax
je 0x428981
mov eax, dword [ebx + 0x1f44]
mov ecx, eax
and ecx, 0xf
test cl, cl
jne 0x4288e2
lea ecx, [eax + eax*4 + 0x50]
lea ecx, [ecx + ecx*4]
lea edx, [ecx + ecx*4]
lea ecx, [eax + edx*4 + 0x10]
lea edx, [eax + ecx*8 + 0x10]
shl edx, 2
push edx
call sub.MFC42.DLL_operatornew
mov edx, eax
mov eax, dword [ebx + 0x1f44]
mov esi, dword [ebx + 0x1f40]
mov edi, edx
lea ecx, [eax + eax*4]
add esp, 4
mov dword [ebp + 0xc], edx
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*4]
lea ecx, [eax + ecx*8]
shl ecx, 2
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebx + 0x1f44]
mov ecx, 0xfa90
lea edi, [esi + esi*4]
lea edi, [edi + edi*4]
lea edi, [edi + edi*4]
lea edi, [esi + edi*4]
lea esi, [esi + edi*8]
lea edi, [edx + esi*4]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x1f40]
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp - 0x270]
add esp, 4
mov dword [ebx + 0x1f40], ecx
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x240]
push edx
push eax
lea ecx, [ebp - 0x6034]
push 0x438118
push ecx
call dword [sym.imp.MSVCRT.dll_swprintf]
mov eax, dword [ebx + 0x1f44]
lea ecx, [eax + eax*4]
lea ecx, [ecx + ecx*4]
lea edx, [ecx + ecx*4]
lea ecx, [eax + edx*4]
lea edx, [eax + ecx*8]
mov ecx, dword [ebx + 0x1f40]
inc eax
lea esi, [ecx + edx*4]
lea edx, [ebp - 0x6034]
push edx
push esi
mov dword [ebx + 0x1f44], eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
mov eax, dword [ebp - 0x258]
add esp, 0x18
mov dword [esi + 0x3e8c], eax
mov ecx, dword [ebp - 0x254]
mov dword [esi + 0x3e90], ecx
mov edx, dword [ebp - 0x268]
mov ecx, dword [ebp - 0x1c]
mov dword [esi + 0x3e94], edx
mov eax, dword [ebp - 0x264]
mov edx, dword [ebp - 0x18]
mov dword [esi + 0x3e84], ecx
mov dword [esi + 0x3e98], eax
mov dword [esi + 0x3e88], edx
mov dword [esi + 0x3e80], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x26c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42865a
xor esi, esi
cmp esi, edi
jge 0x4289e4
lea eax, [esi + esi*4]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
lea eax, [esi + edx*4]
mov edx, dword [ebp - 0x274]
lea ecx, [esi + eax*8]
lea eax, [edx + ecx*4]
mov ecx, dword [edx + ecx*4 + 0x3e80]
cmp ecx, 1
jne 0x4289db
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
push ecx
mov ecx, dword [ebp + 0x10]
inc edx
push edx
push ecx
push ebx
push eax
call fcn.004285b0
add esp, 0x14
inc esi
jmp 0x42899c
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], 0
push edx
call fcn.00419150
mov ecx, eax
call fcn.0041b530
mov eax, dword [ebp - 0x274]
test eax, eax
je 0x428a0e
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret