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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c9607
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 0x48d5ce
test eax, eax
je 0x48d5ce
push 0x208
lea eax, [esp + 0x2c2]
push 0
push eax
mov word [esp + 0x2c8], 0
call fcn.004a1d00
push 0x104
lea ecx, [esp + 0x2cc]
push edi
push ecx
call fcn.004a4e04
add esp, 0x18
test eax, eax
je 0x48d5ce
lea edx, [esp + 0x2bc]
push edx
lea ecx, [esp + 0x38]
call fcn.00431e70
lea ecx, [esp + 0x34]
mov dword [esp + 0x4e0], 0
call fcn.004035c0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48d5c5
lea eax, [esp + 0x2bc]
push eax
lea ecx, [esp + 0x54]
call fcn.00431e70
lea edi, [esp + 0x50]
mov byte [esp + 0x4e0], 1
call fcn.0048be70
push 0x4e1f3c
mov ebx, edi
call fcn.0048c140
lea ecx, [esp + 0x6c]
push ecx
mov ecx, edi
call fcn.004035c0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
push eax
lea ecx, [esp + 0x14]
call fcn.00442980
lea ecx, [esp + 0x10]
mov byte [esp + 0x4e0], 2
call fcn.00451640
test eax, eax
jne 0x48d600
lea ecx, [esp + 0x10]
call fcn.00451660
mov ecx, edi
call fcn.004069c0
lea ecx, [esp + 0x34]
call fcn.004069c0
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.004a1723
mov esp, ebp
pop ebp
ret
mov ecx, 0x4e1f40
lea eax, [esp + 0x98]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x48d636
test dx, dx
je 0x48d632
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x48d636
add eax, 4
add ecx, 4
test dx, dx
jne 0x48d610
xor eax, eax
jmp 0x48d63b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x48d732
mov ecx, 0x4e1f44
lea eax, [esp + 0x98]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x48d676
test dx, dx
je 0x48d672
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x48d676
add eax, 4
add ecx, 4
test dx, dx
jne 0x48d650
xor eax, eax
jmp 0x48d67b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x48d732
test byte [esp + 0x6c], 0x10
je 0x48d6e0
cmp dword [ebp + 0x10], 0
je 0x48d72b
lea edx, [esp + 0x2bc]
push edx
lea ecx, [esp + 0x1c]
call fcn.00431e70
lea edi, [esp + 0x18]
mov byte [esp + 0x4e0], 3
call fcn.0048be70
lea eax, [esp + 0x98]
push eax
mov ebx, edi
call fcn.0048c140
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x14]
push ecx
push edx
mov ecx, edi
call fcn.004035c0
push eax
call fcn.0048d490
add esp, 0xc
jmp 0x48d71a
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x1c]
call fcn.004096c0
lea edi, [esp + 0x18]
mov byte [esp + 0x4e0], 4
call fcn.0048be70
lea ecx, [esp + 0x98]
push ecx
mov ebx, edi
call fcn.0048c140
mov ecx, dword [esp + 0x14]
mov edx, edi
push edx
call fcn.004514c0
lea ecx, [esp + 0x18]
mov byte [esp + 0x4e0], 2
call fcn.004069c0
lea eax, [esp + 0x6c]
push eax
jmp 0x48d737
lea ecx, [esp + 0x6c]
push ecx
lea ecx, [esp + 0x14]
call fcn.004636c0
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x48d600
lea ecx, [esp + 0x10]
call fcn.00451660
lea ecx, [esp + 0x50]
call fcn.004069c0
lea ecx, [esp + 0x34]
call fcn.004069c0
mov eax, 1
jmp 0x48d5d0