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

Disassembly:
mov eax, 0x4799d4
call fcn.0045c5c4
sub esp, 0x190
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [0x4a94a4]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
call fcn.00408fcb
lea eax, [ebp + 8]
push 0x49fe28
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x14], ebx
call fcn.0046c6d1
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.0046c575
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.0046c488
mov esi, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea eax, [ebp - 0x19c]
push eax
push dword [ebp - 0x10]
call esi
cmp eax, 0xffffffff
mov dword [ebp - 0x18], eax
je 0x409479
call fcn.0040812c
lea eax, [ebp - 0x170]
push 0x49fe24
push eax
call fcn.0045ddb0
pop ecx
test eax, eax
pop ecx
je 0x40944d
lea eax, [ebp - 0x170]
push 0x49fe20
push eax
call fcn.0045ddb0
pop ecx
test eax, eax
pop ecx
je 0x40944d
test byte [ebp - 0x19c], 0x10
je 0x40944d
lea eax, [ebp - 0x170]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0046c6d1
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.0046c575
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.0046c488
cmp dword [ebp + 0x18], ebx
je 0x409403
push ebx
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.0046c1fd
lea eax, [ebp - 0x19c]
lea ecx, [ebp - 0x5c]
push eax
call fcn.00409043
push dword [ebp + 0x14]
mov eax, dword [edi]
lea ecx, [ebp - 0x5c]
push ecx
mov ecx, edi
call dword [eax + 0xc]
inc dword [ebp - 0x14]
cmp dword [ebp + 0x20], ebx
je 0x409403
push dword [ebp + 0x20]
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp dword [ebp + 0x10], ebx
je 0x40944d
push dword [ebp + 0x20]
lea eax, [ebp + 0xc]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.0046c1fd
push ecx
lea ecx, [ebp - 0x10]
mov eax, esp
mov dword [ebp - 0x24], esp
push 0x49f918
push ecx
push eax
mov byte [ebp - 4], 6
call fcn.0046c6d1
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.004092cd
add dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x1c]
cmp eax, ebx
je 0x409458
cmp dword [eax], ebx
jne 0x409470
lea eax, [ebp - 0x19c]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40934b
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp + 0x1c]
cmp eax, ebx
je 0x409488
cmp dword [eax], ebx
jne 0x409565
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 0x18]
push eax
call fcn.0046c66b
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 7
call fcn.0046c575
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 3
call fcn.0046c488
lea eax, [ebp - 0x19c]
push eax
push dword [ebp - 0x10]
call esi
mov esi, eax
cmp esi, 0xffffffff
je 0x409565
test byte [ebp - 0x19c], 0x10
jne 0x40953d
lea eax, [ebp - 0x170]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 0x18]
push eax
call fcn.0046c6d1
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 8
call fcn.0046c575
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 3
call fcn.0046c488
push ebx
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp + 0x10], esp
push eax
call fcn.0046c1fd
lea eax, [ebp - 0x19c]
lea ecx, [ebp - 0x5c]
push eax
call fcn.00409043
push dword [ebp + 0x14]
mov eax, dword [edi]
lea ecx, [ebp - 0x5c]
push ecx
mov ecx, edi
call dword [eax + 0xc]
inc dword [ebp - 0x14]
cmp dword [ebp + 0x20], ebx
je 0x40953d
push dword [ebp + 0x20]
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [ebp + 0x1c]
cmp eax, ebx
je 0x409548
cmp dword [eax], ebx
jne 0x40955e
lea eax, [ebp - 0x19c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4094c9
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
call fcn.0040903b
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0046c488
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call fcn.0046c488
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0046c488
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x1c