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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c89ec
mov eax, dword fs:[0]
push eax
sub esp, 0x4fc
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x508]
mov ecx, 0x13f
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x4f3280]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
cmp dword [ebp + 8], 0
je 0x450f41
cmp dword [ebp + 0xc], 0
jne 0x450f48
xor eax, eax
jmp 0x4511e8
mov word [ebp - 0x224], 0
push 0x208
push 0
lea eax, [ebp - 0x222]
push eax
call fcn.004a1d00
add esp, 0xc
push 0x104
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x224]
push edx
call fcn.004a4e04
add esp, 0xc
test eax, eax
jne 0x450f8a
xor eax, eax
jmp 0x4511e8
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x248]
call fcn.00431e70
mov dword [ebp - 4], 0
lea eax, [ebp - 0x248]
call fcn.0048bd00
mov ecx, eax
call fcn.004035c0
mov esi, esp
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp esi, esp
call fcn.004c39d6
test eax, eax
jne 0x450ff0
mov dword [ebp - 0x500], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.004069c0
mov eax, dword [ebp - 0x500]
jmp 0x4511e8
lea ecx, [ebp - 0x224]
push ecx
lea ecx, [ebp - 0x26c]
call fcn.00431e70
mov byte [ebp - 4], 1
lea edi, [ebp - 0x26c]
call fcn.0048be70
push 0x4d9f44
lea ebx, [ebp - 0x26c]
call fcn.0048c140
mov esi, esp
lea edx, [ebp - 0x4c4]
push edx
lea eax, [ebp - 0x26c]
call fcn.0048bd00
mov ecx, eax
call fcn.004035c0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp esi, esp
call fcn.004c39d6
push eax
lea ecx, [ebp - 0x4d0]
call fcn.00442980
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4d0]
call fcn.00451640
test eax, eax
jne 0x4510ae
mov dword [ebp - 0x504], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4d0]
call fcn.00451660
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x26c]
call fcn.004069c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.004069c0
mov eax, dword [ebp - 0x504]
jmp 0x4511e8
mov dword [ebp - 0x4d8], 1
cmp dword [ebp - 0x4d8], 0
je 0x4511a8
push 0x4d9f48
lea eax, [ebp - 0x498]
push eax
call fcn.004a27fe
add esp, 8
test eax, eax
je 0x4510f5
push 0x4d9f4c
lea ecx, [ebp - 0x498]
push ecx
call fcn.004a27fe
add esp, 8
test eax, eax
jne 0x45111f
mov esi, esp
lea edx, [ebp - 0x4c4]
push edx
lea ecx, [ebp - 0x4d0]
call fcn.004636c0
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp esi, esp
call fcn.004c39d6
mov dword [ebp - 0x4d8], eax
jmp 0x4510b8
mov eax, dword [ebp - 0x4c4]
and eax, 0x10
je 0x45117b
lea ecx, [ebp - 0x248]
push ecx
lea ecx, [ebp - 0x4f8]
call fcn.004096c0
mov byte [ebp - 4], 3
lea edx, [ebp - 0x498]
push edx
lea ebx, [ebp - 0x4f8]
call fcn.0048c140
lea edi, [ebp - 0x4f8]
call fcn.0048be70
lea eax, [ebp - 0x4f8]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.004514c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4f8]
call fcn.004069c0
mov esi, esp
lea ecx, [ebp - 0x4c4]
push ecx
lea ecx, [ebp - 0x4d0]
call fcn.004636c0
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp esi, esp
call fcn.004c39d6
mov dword [ebp - 0x4d8], eax
jmp 0x4510b8
mov dword [ebp - 0x508], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4d0]
call fcn.00451660
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x26c]
call fcn.004069c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.004069c0
mov eax, dword [ebp - 0x508]
push edx
mov ecx, ebp
push eax
lea edx, [0x451224]
call fcn.004c39f9
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a1723
add esp, 0x508
cmp ebp, esp
call fcn.004c39d6
mov esp, ebp
pop ebp
ret 8