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

Disassembly:
push 0x2e4
mov eax, 0x5df197
call fcn.005d2642
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2e0], ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x2e4], ecx
lea ecx, [ebp - 0x40]
push eax
call fcn.00403740
lea eax, [ebp - 0x40]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00459c66
pop ecx
test eax, eax
jne 0x460ddd
mov esi, 0x5e283c
push esi
call fcn.0048cd3b
pop ecx
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.00405290
call fcn.00454543
test al, al
je 0x460dfa
push ebp
pop esp
pop esi
push ecx
pop edi
push ebx
push ebx
push esi
pop ebp
pop ebp
push ebp
push ecx
push esp
pop edi
pop esi
push esp
push esp
pop ebx
xor ebx, ebx
push dword [ebp - 0x2e0]
lea ecx, [ebp - 0x88]
call fcn.00403740
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 1
push eax
call fcn.0045abba
mov dword [ebp - 0x2f0], ebx
mov dword [ebp - 0x2ec], ebx
mov dword [ebp - 0x2e8], ebx
xor eax, eax
mov byte [ebp - 4], 2
mov esi, 0x5e27d8
mov dword [ebp - 0x14], 7
push esi
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], ax
call fcn.0048cd3b
pop ecx
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00403000
cmp dword [ebp - 0x74], 8
lea eax, [ebp - 0x88]
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
cmovae eax, dword [ebp - 0x88]
push eax
call fcn.00403740
lea eax, [ebp - 0x2f0]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0045a6b5
add esp, 0xc
lea ecx, [ebp - 0x58]
push ebx
push 1
call fcn.0041e4c0
push ebx
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.0041e4c0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x70]
call fcn.00403710
mov esi, 0x5e4250
mov byte [ebp - 4], 5
push esi
call fcn.0048cd3b
pop ecx
push eax
push esi
lea ecx, [ebp - 0x70]
call fcn.00405290
cmp dword [ebp - 0x5c], 8
lea ecx, [ebp - 0x2d8]
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2dc], eax
call fcn.00454543
test al, al
je 0x460f0c
pop ebx
pop eax
pop edi
push esi
push esp
pop ecx
pop ecx
pop edi
pop ebp
pop esi
pop eax
pop edi
push edx
push esp
pop esi
pop ebx
pop eax
push esi
push esp
cmp dword [ebp - 0x2dc], 0xffffffff
je 0x4611b0
test byte [ebp - 0x2d8], 0x10
je 0x460fbd
call fcn.00454543
test al, al
je 0x460f42
pop ebx
pop eax
pop edi
push esi
push esp
pop ecx
pop ecx
pop edi
pop ebp
pop esi
pop eax
pop edi
push edx
push esp
pop esi
pop ebx
pop eax
push esi
push esp
cmp word [ebp - 0x2ac], 0x2e
je 0x461102
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00403710
cmp word [ebp - 0x2ac], 0
mov byte [ebp - 4], 6
jne 0x460f6e
xor eax, eax
jmp 0x460f7b
lea eax, [ebp - 0x2ac]
push eax
call fcn.0048cd3b
pop ecx
push eax
lea eax, [ebp - 0x2ac]
push eax
lea ecx, [ebp - 0x28]
call fcn.00405290
cmp byte [ebp + 0x14], 0
je 0x4610f2
push dword [ebp + 0x14]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [ebp - 0x2e4]
cmovae eax, dword [ebp - 0x28]
push dword [ebp - 0x2e0]
push eax
call fcn.00460d87
add esp, 0x10
jmp 0x4610f2
call fcn.004547f5
test al, al
je 0x460fd6
pop eax
push esp
pop eax
push esi
pop esi
push edx
push edi
push ebp
pop ecx
push ecx
push eax
push ebp
push ebx
push ecx
push eax
pop ebx
call fcn.004549d8
test al, al
je 0x460fef
push ebx
pop edx
push esi
push edx
push esi
pop esp
push ecx
pop edx
pop ecx
pop ebx
push ebp
push esi
push ebx
pop ebp
push edx
pop edx
call fcn.00454657
test al, al
je 0x461016
pop esi
push esp
pop ecx
push esp
push ecx
pop esi
pop esi
pop eax
pop eax
push ebx
push edi
push edi
pop ebp
push ebx
push ecx
push esp
pop edi
pop ecx
push esi
pop edx
push ebp
pop ecx
push edx
pop edi
push eax
pop esi
pop ebx
pop edx
pop eax
pop esp
and dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp word [ebp - 0x2ac], ax
je 0x46103d
lea eax, [ebp - 0x2ac]
push eax
call fcn.0048cd3b
pop ecx
push eax
lea eax, [ebp - 0x2ac]
push eax
lea ecx, [ebp - 0x28]
call fcn.00403000
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 7
push eax
call fcn.0045abba
mov esi, dword [ebp - 0x2f0]
xor bl, bl
pop ecx
jmp 0x46108c
cmp dword [esi + 0x14], 8
jb 0x46106f
mov ecx, dword [esi]
jmp 0x461071
mov ecx, esi
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0048d0e8
pop ecx
pop ecx
test eax, eax
je 0x461096
add esi, 0x18
cmp esi, dword [ebp - 0x2ec]
jne 0x461065
jmp 0x461098
mov bl, 1
test bl, bl
je 0x4610f2
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x58]
call fcn.00403710
cmp word [ebp - 0x2ac], 0
mov byte [ebp - 4], 8
jne 0x4610ba
xor eax, eax
jmp 0x4610c7
lea eax, [ebp - 0x2ac]
push eax
call fcn.0048cd3b
pop ecx
push eax
lea eax, [ebp - 0x2ac]
push eax
lea ecx, [ebp - 0x58]
call fcn.00405290
mov ecx, dword [ebp - 0x2e4]
lea eax, [ebp - 0x58]
push eax
call fcn.00427bb0
push 0
push 1
lea ecx, [ebp - 0x58]
call fcn.0041e4c0
push 0
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.0041e4c0
call fcn.0045483a
test al, al
je 0x461127
pop esi
pop ecx
pop ebp
pop ebp
pop ebp
pop edi
pop ecx
pop esp
pop ecx
pop edi
push ebx
pop ebx
pop esi
pop edx
push ecx
push edx
pop ebx
pop esp
pop edi
pop edi
pop eax
push esi
push ebx
push ebp
pop ebx
pop ebp
pop eax
pop eax
lea eax, [ebp - 0x2d8]
push eax
push dword [ebp - 0x2dc]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x460f19
call fcn.004544b9
test al, al
je 0x461162
pop esi
push ebx
pop edi
push ecx
pop ebx
push edi
pop ebp
push ecx
push ebx
push ebx
push esi
pop edx
push eax
push ecx
pop edi
push edx
push edi
pop ebx
pop esp
pop esi
push edx
pop ebp
push eax
call fcn.004543ea
test al, al
je 0x461182
pop esi
pop ecx
push ecx
pop ebp
push ebp
push ebp
push ebx
push edi
pop ebp
push esp
push ecx
pop edi
push eax
push eax
push ebx
push ebp
pop edx
pop edx
push esi
pop ebp
pop edi
pop ecx
push ecx
call fcn.0045494e
test al, al
je 0x4611a4
push esp
push edi
push edi
push esp
pop esi
pop ecx
push ecx
pop edi
push ecx
pop esp
push ebp
push esi
pop edx
push edx
pop ebx
push esp
pop eax
pop esi
pop eax
pop edx
push ecx
pop esp
push eax
pop edi
push ecx
push dword [ebp - 0x2dc]
call dword [sym.imp.KERNEL32.dll_FindClose]
xor ebx, ebx
lea ecx, [ebp - 0x70]
push ebx
push 1
call fcn.0041e4c0
lea ecx, [ebp - 0x2f0]
call fcn.0045b1a1
push ebx
push 1
lea ecx, [ebp - 0x88]
call fcn.0041e4c0
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.0041e4c0
call fcn.005d25ec
ret