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

Disassembly:
push 0xffffffffffffffff
push 0x46d904
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x368
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x18], ecx
push 0x490728
lea ecx, [esp + 0x14]
mov dword [esp + 0x384], 0
call fcn.00460131
mov ebp, dword [esp + 0x388]
or ecx, 0xffffffff
mov edi, ebp
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x274]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x274]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
mov byte [esp + 0x380], 1
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x38c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x30]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x278]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x20], esi
je 0x4267c5
test byte [esp + 0x30], 0x10
je 0x42668f
cmp byte [esp + 0x5c], 0x2e
je 0x42679b
or ecx, 0xffffffff
mov edi, ebp
xor eax, eax
lea edx, [esp + 0x170]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [esp + 0x170]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x489384
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x170]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x5c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x38c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.0045fe38
lea ecx, [esp + 0x174]
push ecx
mov ecx, dword [esp + 0x20]
call fcn.00426500
mov esi, dword [esp + 0x20]
jmp 0x42679b
push ebp
lea ecx, [esp + 0x14]
call fcn.0046024c
lea edx, [esp + 0x10]
push 0x489384
lea eax, [esp + 0x28]
push edx
push eax
call fcn.00460358
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x384], 2
call fcn.004601fc
lea ecx, [esp + 0x24]
mov byte [esp + 0x380], 1
call fcn.004600c3
lea ecx, [esp + 0x5c]
lea edx, [esp + 0x10]
push ecx
lea eax, [esp + 0x20]
push edx
push eax
call fcn.00460358
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x384], 3
call fcn.004601fc
lea ecx, [esp + 0x1c]
mov byte [esp + 0x380], 1
call fcn.004600c3
push str..lnk
lea ecx, [esp + 0x18]
call fcn.00460183
lea ecx, [esp + 0x10]
mov byte [esp + 0x380], 4
call fcn.0046058a
lea ecx, [esp + 0x14]
call fcn.0046058a
lea ecx, [esp + 0x28]
push 4
push ecx
lea ecx, [esp + 0x18]
call fcn.0045e323
mov edx, dword [esp + 0x14]
mov eax, dword [eax]
push edx
push eax
call fcn.0043c2e6
add esp, 8
lea ecx, [esp + 0x28]
test eax, eax
sete bl
call fcn.004600c3
test bl, bl
je 0x42678a
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x10]
mov eax, dword [eax - 8]
push eax
call fcn.004604f3
mov ecx, dword [esp + 0x18]
push eax
call fcn.00426900
push 0x490728
lea ecx, [esp + 0x14]
call fcn.0046024c
lea ecx, [esp + 0x14]
mov byte [esp + 0x380], 1
call fcn.004600c3
lea ecx, [esp + 0x30]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x4267b8
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4265c6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x10]
mov byte [esp + 0x380], 0
call fcn.004600c3
lea ecx, [esp + 0x38c]
mov dword [esp + 0x380], 0xffffffff
call fcn.004600c3
mov ecx, dword [esp + 0x378]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x374
ret 8