Function at 0x48d660
Capabilities:
Check if file exists
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c9637
mov eax, dword fs:[0]
push eax
sub esp, 0x4cc
mov eax, dword [0x4f3280]
xor eax, esp
mov dword [esp + 0x4c4], eax
push ebx
push edi
mov eax, dword [0x4f3280]
xor eax, esp
push eax
lea eax, [esp + 0x4d8]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
test edi, edi
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x14], eax
je 0x48d79e
test eax, eax
je 0x48d79e
push 0x208
lea eax, [esp + 0x2c2]
push 0
push eax
mov word [esp + 0x2c8], 0
call fcn.004a1e50
push 0x104
lea ecx, [esp + 0x2cc]
push edi
push ecx
call fcn.004a4f54
add esp, 0x18
test eax, eax
je 0x48d79e
lea edx, [esp + 0x2bc]
push edx
lea ecx, [esp + 0x38]
call fcn.004093c0
lea ecx, [esp + 0x34]
mov dword [esp + 0x4e0], 0
call fcn.00403570
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48d795
lea eax, [esp + 0x2bc]
push eax
lea ecx, [esp + 0x54]
call fcn.004093c0
lea edi, [esp + 0x50]
mov byte [esp + 0x4e0], 1
call fcn.0048c000
push 0x4e1f4c
mov ebx, edi
call fcn.0048c250
lea ecx, [esp + 0x6c]
push ecx
mov ecx, edi
call fcn.00403570
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
push eax
lea ecx, [esp + 0x14]
call fcn.004431f0
lea ecx, [esp + 0x10]
mov byte [esp + 0x4e0], 2
call fcn.00451e20
test eax, eax
jne 0x48d7d0
lea ecx, [esp + 0x10]
call fcn.00451e40
mov ecx, edi
call fcn.00406930
lea ecx, [esp + 0x34]
call fcn.00406930
xor eax, eax
mov ecx, dword [esp + 0x4d8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x4c4]
xor ecx, esp
call fcn.004a1873
mov esp, ebp
pop ebp
ret
mov ecx, 0x4e1f50
lea eax, [esp + 0x98]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x48d806
test dx, dx
je 0x48d802
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x48d806
add eax, 4
add ecx, 4
test dx, dx
jne 0x48d7e0
xor eax, eax
jmp 0x48d80b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x48d902
mov ecx, 0x4e1f54
lea eax, [esp + 0x98]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x48d846
test dx, dx
je 0x48d842
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x48d846
add eax, 4
add ecx, 4
test dx, dx
jne 0x48d820
xor eax, eax
jmp 0x48d84b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x48d902
test byte [esp + 0x6c], 0x10
je 0x48d8b0
cmp dword [ebp + 0x10], 0
je 0x48d8fb
lea edx, [esp + 0x2bc]
push edx
lea ecx, [esp + 0x1c]
call fcn.004093c0
lea edi, [esp + 0x18]
mov byte [esp + 0x4e0], 3
call fcn.0048c000
lea eax, [esp + 0x98]
push eax
mov ebx, edi
call fcn.0048c250
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x14]
push ecx
push edx
mov ecx, edi
call fcn.00403570
push eax
call fcn.0048d660
add esp, 0xc
jmp 0x48d8ea
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x1c]
call fcn.00409680
lea edi, [esp + 0x18]
mov byte [esp + 0x4e0], 4
call fcn.0048c000
lea ecx, [esp + 0x98]
push ecx
mov ebx, edi
call fcn.0048c250
mov ecx, dword [esp + 0x14]
mov edx, edi
push edx
call fcn.00451ca0
lea ecx, [esp + 0x18]
mov byte [esp + 0x4e0], 2
call fcn.00406930
lea eax, [esp + 0x6c]
push eax
jmp 0x48d907
lea ecx, [esp + 0x6c]
push ecx
lea ecx, [esp + 0x14]
call fcn.0042cd20
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x48d7d0
lea ecx, [esp + 0x10]
call fcn.00451e40
lea ecx, [esp + 0x50]
call fcn.00406930
lea ecx, [esp + 0x34]
call fcn.00406930
mov eax, 1
jmp 0x48d7a0