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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009af1a
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x100e6018]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x7c], 0
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x78], edi
jb 0x10035b59
mov eax, dword [esi]
jmp 0x10035b5b
mov eax, esi
test eax, eax
je 0x10035d84
cmp word [eax], 0
je 0x10035d84
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10035d84
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 1
call dword [sym.imp.sqlite3.dll_public:_void___thiscall_CppSQLite3DB::constructor_void_]
push 0xfde9
lea eax, [ebp - 0x94]
push esi
push eax
mov byte [ebp - 4], 3
call sym.iImportLib.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_elex::strings::ws2s_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___unsigned_int_
add esp, 0xc
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 0x10
jb 0x10035bc6
mov eax, dword [eax]
push 1
push eax
lea ecx, [ebp - 0x38]
call dword [sym.imp.sqlite3.dll_public:_void___thiscall_CppSQLite3DB::open_char_const___bool_]
mov byte [ebp - 4], 3
cmp dword [ebp - 0x80], 0x10
mov esi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
jb 0x10035bed
push dword [ebp - 0x94]
call esi
add esp, 4
push 0x28
push str.select__from_meta_where_key__version
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x50], 0
call fcn.10008870
mov byte [ebp - 4], 5
cmp dword [ebp - 0x3c], 0x10
lea eax, [ebp - 0x50]
cmovae eax, dword [ebp - 0x50]
push eax
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x38]
call dword [sym.imp.sqlite3.dll_public:_class_CppSQLite3Statement___thiscall_CppSQLite3DB::compileStatement_char_const__]
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 6
call dword [sym.imp.sqlite3.dll_public:_class_CppSQLite3Query___thiscall_CppSQLite3Statement::execQuery_void_]
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 7
call dword [sym.imp.sqlite3.dll_public:_bool___thiscall_CppSQLite3Query::eof_void_]
test al, al
jne 0x10035d05
push 0x100b5a24
push str.value
lea ecx, [ebp - 0x74]
call dword [sym.imp.sqlite3.dll_public:_char_const____thiscall_CppSQLite3Query::getStringField_char_const___char_const__]
push eax
lea ecx, [ebp - 0x94]
call fcn.100084a0
push 0xfde9
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0xac]
push eax
mov byte [ebp - 4], 8
call sym.iImportLib.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_elex::strings::s2ws_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int_
mov ebx, eax
lea eax, [ebp - 0x2c]
add esp, 0xc
cmp eax, ebx
je 0x10035cc3
cmp dword [ebp - 0x18], 8
jb 0x10035ca6
push dword [ebp - 0x2c]
call esi
add esp, 4
xor eax, eax
push ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.1000d5d0
cmp dword [ebp - 0x98], 8
jb 0x10035cd7
push dword [ebp - 0xac]
call esi
add esp, 4
xor eax, eax
cmp dword [ebp - 0x80], 0x10
mov dword [ebp - 0x98], 7
mov dword [ebp - 0x9c], 0
mov word [ebp - 0xac], ax
jb 0x10035d05
push dword [ebp - 0x94]
call esi
add esp, 4
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 6
call dword [sym.imp.sqlite3.dll_public_virtual:_void___thiscall_CppSQLite3Query::destructor_void_]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 5
call dword [sym.imp.sqlite3.dll_public_virtual:_void___thiscall_CppSQLite3Statement::destructor_void_]
cmp dword [ebp - 0x3c], 0x10
jb 0x10035d2d
push dword [ebp - 0x50]
call esi
add esp, 4
mov dword [ebp - 4], 2
jmp 0x10035d4c
lea ecx, [ebp - 0x38]
call dword [sym.imp.sqlite3.dll_public:_void___thiscall_CppSQLite3DB::close_void_]
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
call fcn.1000f9e0
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x7c], 1
mov byte [ebp - 4], 1
call dword [sym.imp.sqlite3.dll_public_virtual:_void___thiscall_CppSQLite3DB::destructor_void_]
cmp dword [ebp - 0x18], 8
jb 0x10035d90
push dword [ebp - 0x2c]
call esi
add esp, 4
jmp 0x10035d90
push 0x100b2814
mov ecx, edi
call fcn.10008550
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100947be
mov esp, ebp
pop ebp
ret