Function at 0x450bd0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x210
push ebx
mov ebx, dword [esp + 0x218]
push ebp
push esi
push edi
xor edi, edi
cmp ebx, edi
mov esi, ecx
jne 0x450c2c
mov ecx, dword [esi + 0xf0]
push 0xffffffffffffffff
push edi
push edi
call fcn.004a14c0
mov eax, dword [esi + 0xf4]
cmp eax, edi
je 0x450c13
push edi
push edi
push 0x10
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esi + 0xf4], edi
mov ecx, esi
call fcn.004511d0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x210
ret 8
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword fs:[0x2c]
mov ebp, eax
mov eax, dword [0x4f83ec]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], edi
mov edx, dword [ecx + eax*4]
mov al, byte [edx + 0x52c]
test al, al
je 0x450e78
test byte [ebx + 0x2c], 1
je 0x450e78
mov ecx, dword [ebx + 4]
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x450e78
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xc8]
test eax, eax
je 0x450e78
mov ecx, ebx
call fcn.00426490
test eax, eax
je 0x450e78
lea eax, [esp + 0x11c]
push 1
push eax
mov ecx, ebx
call fcn.004257f0
lea ecx, [esp + 0x11c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x450e78
mov ecx, dword [esi + 0xf0]
push 0xffffffffffffffff
push edi
push edi
call fcn.004a14c0
mov edx, dword [esi + 0xf4]
cmp edx, edi
je 0x450d36
cmp dword [esp + 0x228], edi
je 0x450d36
mov al, byte [0x4f55a8]
mov ecx, 0x40
mov byte [esp + 0x18], al
xor eax, eax
lea edi, [esp + 0x19]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
stosw word es:[edi], ax
push ecx
push 0x104
push 0x47c
push edx
stosb byte es:[edi], al
call dword [sym.imp.USER32.dll_SendMessageA]
lea edx, [esp + 0x11c]
lea eax, [esp + 0x18]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x450d36
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x210
ret 8
mov eax, dword [0x4f6020]
test eax, eax
jne 0x450dd4
mov ebp, dword [sym.imp.USER32.dll_LoadCursorA]
push 0x7f02
push 0
call ebp
mov ebx, dword [sym.imp.USER32.dll_SetCursor]
push eax
call ebx
push str.msvfw32.dll
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.MCIWndCreate
push eax
mov dword [0x4f601c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x4f6020], eax
jne 0x450db5
test edi, edi
je 0x450d9a
mov eax, edi
push eax
call ebx
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x210
ret 8
push 0x7f00
push 0
call ebp
push eax
call ebx
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x210
ret 8
test edi, edi
je 0x450dbd
mov eax, edi
jmp 0x450dc6
push 0x7f00
push 0
call ebp
push eax
call ebx
mov ebx, dword [esp + 0x224]
mov ebp, dword [esp + 0x14]
mov eax, dword [esi + 0xf4]
test eax, eax
je 0x450def
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x10
push eax
call edi
jmp 0x450df5
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
test esi, esi
jne 0x450dfd
xor eax, eax
jmp 0x450e00
mov eax, dword [esi + 0x1c]
mov edx, dword [0x4f5e08]
lea ecx, [esp + 0x11c]
push ecx
push 0x40804008
push edx
push eax
call dword [0x4f6020]
add esp, 0x10
mov dword [esi + 0xf4], eax
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
or ah, 2
push eax
mov eax, dword [esi + 0xf4]
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov ecx, dword [esi + 0xf4]
push 0
push 0
push 0x490
push ecx
call edi
test eax, eax
je 0x450e78
mov ecx, esi
call fcn.004511d0
mov edx, dword [esi + 0xf4]
push 0
push 0
push 0x47a
push edx
call edi
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0xf4]
test eax, eax
je 0x450ea1
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x450ea1
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esi + 0xf4], 0
test ebp, ebp
je 0x450eb3
push ebp
call dword [sym.imp.USER32.dll_SetActiveWindow]
push ebp
call dword [sym.imp.USER32.dll_SetFocus]
push 1
mov ecx, ebx
call fcn.004263f0
test eax, eax
je 0x450f5f
mov eax, dword [esi + 0xf4]
test eax, eax
jne 0x450f5f
mov ecx, dword [ebx + 4]
push ebx
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, dword [esi + 0xf0]
mov edi, eax
mov ecx, dword [ecx + 0x30]
test ecx, ecx
je 0x450f25
test edi, edi
je 0x450f25
push edi
call fcn.0049e720
test eax, eax
je 0x450f25
mov eax, dword [esp + 0x228]
test eax, eax
jne 0x450f25
mov ecx, edi
call fcn.0049cb20
push edi
call fcn.004bd4c4
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret 8
mov ecx, dword [esi + 0xf0]
push 0xffffffffffffffff
push 0
push 0
call fcn.004a14c0
mov ecx, dword [esi + 0xf0]
push 0xffffffffffffffff
push 4
push edi
call fcn.004a14c0
mov ecx, esi
call fcn.00450f90
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x210
ret 8
mov ecx, dword [esi + 0xf0]
push 0xffffffffffffffff
push 0
push 0
call fcn.004a14c0
mov ecx, esi
call fcn.004511d0
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret 8