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

Disassembly:
push 0xffffffffffffffff
push 0x4e2db7
mov eax, dword fs:[0]
push eax
sub esp, 0x4c4
mov eax, dword [0x50f130]
xor eax, esp
mov dword [esp + 0x4bc], eax
push ebx
push esi
push edi
mov eax, dword [0x50f130]
xor eax, esp
push eax
lea eax, [esp + 0x4d4]
mov dword fs:[0], eax
mov esi, dword [esp + 0x4e4]
test esi, esi
mov eax, dword [esp + 0x4e8]
mov dword [esp + 0x10], eax
je 0x48c380
test eax, eax
je 0x48c380
push 0x208
lea eax, [esp + 0x2c2]
push 0
push eax
mov word [esp + 0x2c8], 0
call fcn.004be320
add esp, 0xc
push 0x104
lea ecx, [esp + 0x2c0]
push esi
push ecx
call fcn.004be214
add esp, 0xc
test eax, eax
je 0x48c380
lea edx, [esp + 0x2bc]
lea eax, [esp + 0x34]
call fcn.004036c0
mov dword [esp + 0x4dc], 0
mov eax, dword [esp + 0x38]
mov esi, 8
cmp dword [esp + 0x4c], esi
jae 0x48c309
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48c377
lea edx, [esp + 0x2bc]
lea eax, [esp + 0x50]
call fcn.004036c0
lea edi, [esp + 0x50]
mov byte [esp + 0x4dc], 1
call fcn.0048b1a0
mov ecx, 0x4f4e74
mov edx, edi
call fcn.0048b3c0
cmp dword [esp + 0x68], esi
mov eax, dword [esp + 0x54]
jae 0x48c34f
lea eax, [esp + 0x54]
lea edx, [esp + 0x6c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
mov dword [esp + 0x14], ebx
cmp ebx, 0xffffffff
mov byte [esp + 0x4dc], 2
jne 0x48c3a9
lea esi, [esp + 0x50]
call fcn.00416cb0
lea esi, [esp + 0x34]
call fcn.00416cb0
xor eax, eax
mov ecx, dword [esp + 0x4d4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4bc]
xor ecx, esp
call fcn.004b84de
add esp, 0x4d0
ret
mov ecx, 0x4f09d4
lea eax, [esp + 0x98]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x48c3db
test dx, dx
je 0x48c3d7
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x48c3db
add eax, 4
add ecx, 4
test dx, dx
jne 0x48c3b5
xor eax, eax
jmp 0x48c3e0
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x48c4f0
mov ecx, 0x4f1128
lea eax, [esp + 0x98]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x48c41a
test dx, dx
je 0x48c416
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x48c41a
add eax, 4
add ecx, 4
test dx, dx
jne 0x48c3f4
xor eax, eax
jmp 0x48c41f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x48c4f0
test byte [esp + 0x6c], 0x10
je 0x48c4a2
mov esi, dword [esp + 0x4ec]
test esi, esi
je 0x48c4e9
lea edx, [esp + 0x2bc]
lea eax, [esp + 0x18]
call fcn.004036c0
lea edi, [esp + 0x18]
mov byte [esp + 0x4dc], 3
call fcn.0048b1a0
lea ecx, [esp + 0x98]
mov edx, edi
call fcn.0048b3c0
cmp dword [esp + 0x30], 8
mov eax, dword [esp + 0x1c]
jae 0x48c47b
lea eax, [esp + 0x1c]
mov ecx, dword [esp + 0x10]
push esi
push ecx
push eax
call fcn.0048c240
add esp, 0xc
lea esi, [esp + 0x18]
mov byte [esp + 0x4dc], 2
call fcn.00416cb0
lea eax, [esp + 0x6c]
push eax
jmp 0x48c4f5
lea edx, [esp + 0x34]
push edx
lea esi, [esp + 0x1c]
call fcn.00416980
mov edi, esi
mov byte [esp + 0x4dc], 4
call fcn.0048b1a0
lea ecx, [esp + 0x98]
mov edx, esi
call fcn.0048b3c0
mov ebx, dword [esp + 0x10]
mov eax, esi
call fcn.0048ce70
mov byte [esp + 0x4dc], 2
call fcn.00416cb0
mov ebx, dword [esp + 0x14]
lea eax, [esp + 0x6c]
push eax
jmp 0x48c4f5
lea ecx, [esp + 0x6c]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x48c3a9
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea esi, [esp + 0x50]
call fcn.00416cb0
lea esi, [esp + 0x34]
call fcn.00416cb0
mov eax, 1
jmp 0x48c382