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

Disassembly:
push ebp
lea ebp, [esp - 0x2a54]
mov eax, 0x2a54
call fcn.004fe1a0
push 0xffffffffffffffff
push 0x51f2e0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x5a4aa8]
xor eax, ebp
mov dword [ebp + 0x2a50], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 0x2a5c]
mov edi, dword [ebp + 0x2a60]
mov ebx, dword [ebp + 0x2a68]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 4], 0
test esi, esi
je 0x49c5d9
test edi, edi
je 0x49c5d9
mov eax, esi
lea edx, [eax + 2]
jmp 0x49c320
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x49c320
sub eax, edx
sar eax, 1
je 0x49c5d9
mov eax, edi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x49c340
sub eax, edx
sar eax, 1
je 0x49c5d9
push 0x800
push 0
lea eax, [ebp + 0x1250]
push eax
call fcn.004fd670
push 0x800
push 0
lea ecx, [ebp + 0xa50]
push ecx
call fcn.004fd670
push 0x3ff
push esi
push 0x400
lea edx, [ebp + 0x1250]
push edx
call fcn.004fa71b
push 0x3ff
push edi
push 0x400
lea eax, [ebp + 0xa50]
push eax
call fcn.004fa71b
mov ecx, 0x539d98
lea edx, [ebp + 0x1250]
call fcn.00494ad0
mov ecx, 0x568974
lea edx, [ebp + 0x1250]
call fcn.00494c80
mov ecx, 0x539d98
lea edx, [ebp + 0xa50]
call fcn.00494ad0
mov ecx, 0x568974
lea edx, [ebp + 0xa50]
call fcn.00494c80
mov edi, dword [ebp + 0x2a6c]
push edi
push ebx
lea edx, [ebp + 0xa50]
call fcn.0049d3f0
add esp, 0x40
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
je 0x49c419
mov dword [ebp - 0x24], esi
push 0x5814b0
lea ecx, [ebp - 0x24]
push ecx
call fcn.004fd5a3
push 0x800
push 0
lea edx, [ebp + 0x250]
push edx
call fcn.004fd670
lea eax, [ebp + 0x1250]
push eax
push str._s.
lea edx, [ebp + 0x250]
call fcn.00404380
add esp, 0x14
lea ecx, [ebp]
push ecx
lea edx, [ebp + 0x250]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp + 0x2a74]
cmp dword [ebp - 0x18], 0xffffffff
je 0x49c5d0
lea eax, [ebp + 0x2c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x49c470
sub eax, edx
sar eax, 1
cmp eax, 2
jne 0x49c499
mov eax, 0x2e
cmp word [ebp + 0x2c], ax
jne 0x49c499
cmp word [ebp + 0x2e], ax
je 0x49c5a5
lea eax, [ebp + 0x2c]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x49c4a0
sub eax, edx
sar eax, 1
cmp eax, 1
jne 0x49c4bf
cmp word [ebp + 0x2c], 0x2e
je 0x49c5a5
push 0x800
push 0
lea eax, [ebp + 0x2250]
push eax
call fcn.004fd670
push 0x800
push 0
lea ecx, [ebp + 0x1a50]
push ecx
call fcn.004fd670
lea edx, [ebp + 0x2c]
push edx
lea eax, [ebp + 0x1250]
push eax
push 0x535a74
lea edx, [ebp + 0x2250]
call fcn.00404380
lea ecx, [ebp + 0x2c]
push ecx
lea edx, [ebp + 0xa50]
push edx
push 0x535a74
lea edx, [ebp + 0x1a50]
call fcn.00404380
add esp, 0x30
test byte [ebp], 0x10
je 0x49c57f
mov eax, dword [ebp + 0x2a64]
test al, al
je 0x49c57f
push ebx
mov ecx, dword [ebp + 0x2a70]
push ecx
push edi
mov edx, dword [ebp - 0x1c]
push edx
push eax
lea eax, [ebp + 0x1a50]
push eax
lea ecx, [ebp + 0x2250]
push ecx
call fcn.0049c2a0
add esp, 0x1c
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
je 0x49c5a5
lea edx, [ebp + 0x1a50]
push edx
lea eax, [ebp + 0x2250]
push eax
push str.Copy_Directory_:__s______s_
mov ecx, esi
mov edx, 0x649e50
call fcn.004917b0
add esp, 0xc
jmp 0x49c5a5
push ebx
push 0
movzx ecx, byte [ebp + 0x2a70]
push ecx
push edi
mov edx, dword [ebp - 0x1c]
push edx
lea eax, [ebp + 0x1a50]
push eax
lea ecx, [ebp + 0x2250]
push ecx
call fcn.0049be30
add esp, 0x1c
lea edx, [ebp]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x49c460
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x14], esi
cmp esi, 0x12
jne 0x49c5d0
xor esi, esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0xffffffff
jmp 0x49c61c
mov eax, 0x57
jmp 0x49c62d
mov eax, dword [ebp - 0x18]
cmp eax, 0xffffffff
je 0x49c62b
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2a50]
xor ecx, ebp
call fcn.004fa103
add ebp, 0x2a54
mov esp, ebp
pop ebp
ret