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

Disassembly:
push 0x2bc
mov eax, 0x5df121
call fcn.005d2642
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c8], ecx
lea ecx, [ebp - 0x70]
push eax
call fcn.00403740
and dword [ebp - 4], 0
call fcn.00454a62
test al, al
je 0x460b5a
push esi
push edx
push eax
pop ebp
pop edx
pop edx
push edx
pop ebx
push ebp
pop eax
pop ebp
push eax
push esi
pop eax
pop esp
pop ecx
pop ecx
pop ebx
push ebp
lea eax, [ebp - 0x70]
push eax
call fcn.00459c66
pop ecx
test eax, eax
jne 0x460b7e
mov esi, 0x5e283c
push esi
call fcn.0048cd3b
pop ecx
push eax
push esi
lea ecx, [ebp - 0x70]
call fcn.00405290
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x58]
call fcn.00403710
mov esi, 0x5e4250
mov byte [ebp - 4], 1
push esi
call fcn.0048cd3b
pop ecx
push eax
push esi
lea ecx, [ebp - 0x58]
call fcn.00405290
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x2c0]
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
mov dword [ebp - 0x2c4], ebx
call fcn.00454543
test al, al
je 0x460beb
pop ecx
pop eax
pop edx
pop esi
pop ebx
push edi
push esi
push esi
pop edx
pop eax
pop esp
push ebx
pop ecx
pop ebx
pop ebp
pop edx
push ebx
pop eax
pop eax
pop ebp
push eax
pop ebp
push esi
mov ebx, dword [ebp - 0x2c4]
call fcn.004544b9
test al, al
je 0x460c05
pop esi
push edx
push edx
pop edi
pop esi
pop eax
pop esi
push edi
push esi
pop edx
pop edi
push ebx
pop esp
push edi
pop ecx
push eax
pop edx
call fcn.0045483a
test al, al
je 0x460c28
push edx
pop edi
push esp
push eax
push eax
pop esp
pop ebp
pop edi
pop eax
push edx
pop edx
push esi
push ecx
push eax
push edx
push ebp
pop edi
push ebx
pop edi
pop eax
push esi
pop edx
pop edx
pop esp
pop ebp
push edi
cmp ebx, 0xffffffff
je 0x460d69
mov esi, dword [ebp - 0x2c8]
call fcn.004549d8
test al, al
je 0x460c60
push eax
push edi
pop edi
push ecx
pop ebx
push edi
pop edi
pop eax
pop esp
pop eax
pop edx
push eax
pop ebp
pop esp
pop ecx
push esi
pop edx
pop ebx
push edi
pop ebx
push eax
pop ecx
push ebx
pop edi
push esi
push eax
mov ebx, dword [ebp - 0x2c4]
test byte [ebp - 0x2c0], 0x10
je 0x460d30
cmp word [ebp - 0x294], 0x2e
je 0x460d30
and dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp word [ebp - 0x294], ax
je 0x460ca2
lea eax, [ebp - 0x294]
push eax
call fcn.0048cd3b
pop ecx
push eax
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x28]
call fcn.00403000
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
mov ecx, esi
call fcn.0040c6f0
push 0
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0041e4c0
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x40]
call fcn.00403710
cmp word [ebp - 0x294], 0
mov byte [ebp - 4], 3
jne 0x460cef
xor eax, eax
jmp 0x460cfc
lea eax, [ebp - 0x294]
push eax
call fcn.0048cd3b
pop ecx
push eax
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x40]
call fcn.00405290
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push esi
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.00460b16
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.0041e4c0
lea eax, [ebp - 0x2c0]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x460c37
call fcn.00454a62
test al, al
je 0x460d62
push ecx
push ebp
push eax
pop esp
pop ecx
push edx
pop esp
pop ebp
pop ecx
push esp
push ebx
push edx
pop edi
pop esp
pop ebp
pop edx
push edx
push ecx
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0
push 1
lea ecx, [ebp - 0x58]
call fcn.0041e4c0
push 0
push 1
lea ecx, [ebp - 0x70]
call fcn.0041e4c0
call fcn.005d25ec
ret