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

Disassembly:
mov eax, 0x4b2ee3
call fcn.0049dfc4
sub esp, 0xc0
push ebx
push esi
push edi
xor edi, edi
push 0xffffffffffffffff
push 0x4f1ef8
mov dword [ebp - 0x38], edi
call fcn.00401275
pop ecx
mov dword [ebp - 0x34], eax
pop ecx
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x30]
push eax
mov dword [ebp - 4], 1
call fcn.00411368
push dword [ebp - 0x34]
mov byte [ebp - 4], 3
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov esi, 0x94
lea eax, [ebp - 0xcc]
push esi
push edi
push eax
call fcn.0049ec00
add esp, 0xc
lea eax, [ebp - 0xcc]
mov dword [ebp - 0xcc], esi
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0xc8], 4
jne 0x42f43a
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.00428a44
pop ecx
pop ecx
push dword [eax + 0xc]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.00402252
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.004036b2
push 0x4e8cfc
lea ecx, [ebp - 0x30]
call fcn.004036f4
jmp 0x42f6a8
lea eax, [ebp - 0x20]
push 0x1a
push eax
call fcn.004037db
pop ecx
pop ecx
push dword [eax + 0xc]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 5
call fcn.00402252
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.004036b2
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push str.FLEXnetConnectDatabase_
call esi
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
call fcn.00401e1e
mov ebx, vtable._zstring_class_ztraits_0__.0
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp - 0x14]
mov edi, dword [sym.imp.OLEAUT32.dll_VariantInit]
push eax
mov byte [ebp - 4], 7
mov dword [ebp - 0x10], eax
call edi
push eax
lea ecx, [ebp - 0x24]
push dword [ebp - 0x10]
call fcn.00401b2b
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.004012b4
lea ecx, [ebp - 0x30]
call fcn.00402f35
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x42f6a8
lea eax, [ebp - 0x20]
push 0x23
push eax
call fcn.004037db
pop ecx
pop ecx
push dword [eax + 0xc]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 8
call fcn.00402252
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.004036b2
push str.FLEXnetConnectDatabase_
call esi
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 9
call fcn.00401e1e
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0xa
push eax
mov dword [ebp - 0x10], eax
call edi
push eax
lea ecx, [ebp - 0x24]
push dword [ebp - 0x10]
call fcn.00401b2b
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.004012b4
lea ecx, [ebp - 0x30]
call fcn.00402f35
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x42f6a8
lea eax, [ebp - 0x20]
push 0x1a
push eax
call fcn.004037db
mov eax, dword [eax + 0xc]
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
push dword [ebp - 0x24]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [ebp - 0x10]
call esi
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x24], eax
call fcn.004036b2
push 0x4e8c7c
call esi
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xb
call fcn.00401e1e
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0xc
push eax
mov dword [ebp - 0x10], eax
call edi
push eax
lea ecx, [ebp - 0x24]
push dword [ebp - 0x10]
call fcn.00401b2b
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.004012b4
lea ecx, [ebp - 0x30]
call fcn.00402f35
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x42f6a8
lea eax, [ebp - 0x20]
push 0x23
push eax
call fcn.004037db
mov eax, dword [eax + 0xc]
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
push dword [ebp - 0x24]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [ebp - 0x10]
call esi
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x24], eax
call fcn.004036b2
push 0x4e8c7c
call esi
and dword [ebp - 0x1c], 0
and dword [ebp - 0x18], 0
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], ebx
push eax
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x10], eax
call edi
push eax
lea ecx, [ebp - 0x24]
push dword [ebp - 0x10]
call fcn.00401b2b
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.004012b4
lea ecx, [ebp - 0x30]
call fcn.00402f35
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x42f6a8
lea eax, [ebp - 0x20]
push 0x23
push eax
call fcn.004037db
mov eax, dword [eax + 0xc]
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
push dword [ebp - 0x24]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [ebp - 0x10]
call esi
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x24], eax
call fcn.004036b2
push str.FLEXnetConnectDatabase_
call esi
and dword [ebp - 0x1c], 0
and dword [ebp - 0x18], 0
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], ebx
push eax
mov byte [ebp - 4], 0xe
mov esi, eax
call edi
push eax
push esi
lea ecx, [ebp - 0x24]
call fcn.00401b2b
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.004012b4
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x30]
push eax
call fcn.0040235c
mov dword [ebp - 0x38], 1
and byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.004012b4
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret