Function at 0x4023fe
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1a68
call fcn.00404eb0
push esi
push edi
mov word [ebp - 0x800], 0
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x7fe]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x1000]
push ecx
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
push str..
lea edx, [ebp - 0x1000]
push edx
call dword [sym.imp.MSVCRT.dll_wcscat]
add esp, 8
lea eax, [ebp - 0x1250]
push eax
lea ecx, [ebp - 0x1000]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x1254], eax
cmp dword [ebp - 0x1254], 0xffffffff
jne 0x40247a
xor eax, eax
jmp 0x4026fd
lea edx, [ebp - 0x1250]
push edx
mov eax, dword [ebp - 0x1254]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x4026fb
push 0x409930
lea ecx, [ebp - 0x1224]
push ecx
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
je 0x4024c8
push 0x409934
lea edx, [ebp - 0x1224]
push edx
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
jne 0x4024ca
jmp 0x40247a
lea eax, [ebp - 0x1224]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str._s_s
lea edx, [ebp - 0x1a54]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
mov dword [ebp - 0x1a64], 0xffffffff
mov dword [ebp - 0x1a60], 0
mov eax, dword [ebp - 0x1234]
xor ecx, ecx
mov edx, dword [ebp - 0x1a64]
add edx, 1
mov esi, dword [ebp - 0x1a60]
adc esi, 0
push esi
push edx
push ecx
push eax
call fcn.00404f20
mov ecx, dword [ebp - 0x1230]
xor esi, esi
add eax, ecx
adc edx, esi
mov dword [ebp - 0x1a5c], eax
mov dword [ebp - 0x1a58], edx
push 0x5c
lea edx, [ebp - 0x1a54]
push edx
call dword [sym.imp.MSVCRT.dll_wcsrchr]
add esp, 8
mov dword [ebp - 0x1a68], eax
mov eax, dword [ebp - 0x1a68]
push eax
lea ecx, [ebp - 0x800]
push ecx
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
lea edx, [ebp - 0x800]
push edx
call dword [sym.imp.MSVCRT.dll__wcslwr]
add esp, 4
cmp dword [ebp - 0x1a68], 0
je 0x4026da
mov eax, dword [ebp - 0x1a68]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
cmp eax, 0x1e
jae 0x4026da
push 0x409948
lea ecx, [ebp - 0x800]
push ecx
call dword [sym.imp.MSVCRT.dll_wcsstr]
add esp, 8
test eax, eax
jne 0x402659
push 0x409950
lea edx, [ebp - 0x800]
push edx
call dword [sym.imp.MSVCRT.dll_wcsstr]
add esp, 8
test eax, eax
jne 0x402659
push 0x409958
lea eax, [ebp - 0x800]
push eax
call dword [sym.imp.MSVCRT.dll_wcsstr]
add esp, 8
test eax, eax
jne 0x402659
push 0x409960
lea ecx, [ebp - 0x800]
push ecx
call dword [sym.imp.MSVCRT.dll_wcsstr]
add esp, 8
test eax, eax
jne 0x402659
push 0x409968
lea edx, [ebp - 0x800]
push edx
call dword [sym.imp.MSVCRT.dll_wcsstr]
add esp, 8
test eax, eax
jne 0x402659
push 0x409970
lea eax, [ebp - 0x800]
push eax
call dword [sym.imp.MSVCRT.dll_wcsstr]
add esp, 8
test eax, eax
jne 0x402659
push 0x409978
lea ecx, [ebp - 0x800]
push ecx
call dword [sym.imp.MSVCRT.dll_wcsstr]
add esp, 8
test eax, eax
je 0x4026da
cmp dword [ebp - 0x1a58], 0
ja 0x40266e
cmp dword [ebp - 0x1a5c], 0xc800
jbe 0x4026da
cmp dword [ebp - 0x1a58], 0
ja 0x4026da
jb 0x402685
cmp dword [ebp - 0x1a5c], 0x32000000
jae 0x4026da
lea edx, [ebp - 0x1a54]
push edx
call fcn.004010dc
add esp, 4
test eax, eax
je 0x4026da
lea eax, [ebp - 0x1a54]
push eax
mov ecx, dword [0x42b6b4]
imul ecx, ecx, 0x208
add ecx, 0x40a694
push ecx
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
mov edx, dword [0x42b6b4]
add edx, 1
mov dword [0x42b6b4], edx
cmp dword [0x42b6b4], 0xc8
jle 0x4026da
xor eax, eax
jmp 0x4026fd
mov eax, dword [ebp - 0x1250]
and eax, 0x10
test eax, eax
je 0x4026f6
lea ecx, [ebp - 0x1a54]
push ecx
call fcn.00401177
add esp, 4
jmp 0x40247a
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret