Function at 0x673535c0
Capabilities:
Get common file path
Link many functions at runtime
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x6740b34c
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x67460ecc]
xor eax, esp
mov dword [esp + 0x234], eax
push ebx
push ebp
push edi
mov eax, dword [0x67460ecc]
xor eax, esp
push eax
lea eax, [esp + 0x248]
mov dword fs:[0], eax
lea ebp, [esi + 4]
push ebp
lea ecx, [esp + 0x1c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
xor ebx, ebx
lea edi, [esp + 0x18]
mov dword [esp + 0x250], ebx
mov byte [esp + 0x17], 1
call fcn.67351820
test al, al
je 0x673538b4
push 0x208
lea eax, [esp + 0x3a]
push ebx
push eax
mov word [esp + 0x40], bx
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [esp + 0x34]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x67353661
lea edx, [esp + 0x34]
push edx
lea ecx, [esi + 0x20]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
mov eax, dword [esp + 0x1c]
mov edi, 8
cmp dword [esp + 0x30], edi
jae 0x67353674
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
jne 0x673536b7
cmp dword [esp + 0x30], edi
mov eax, dword [esp + 0x1c]
jae 0x6735368d
lea eax, [esp + 0x1c]
push eax
push str._Unknown______LoadSqlite3:_SetCurrentDirectory___s__failed.
push 1
push str.Dec_25_2011
push 0x57
push 0xffffffffffffffff
call fcn.6734bae0
mov edx, str..CSqlite3.cpp
mov ecx, 1
mov ebx, eax
call fcn.6734ca70
add esp, 0x18
cmp dword [ebp + 0x18], edi
jb 0x673536c1
mov eax, dword [ebp + 4]
jmp 0x673536c4
lea eax, [ebp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor ebx, ebx
cmp eax, ebx
mov dword [esi + 0x5c], eax
je 0x6735387a
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.sqlite3_open16
push eax
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
call edi
cmp eax, ebx
sete byte [esp + 0x17]
cmp eax, ebx
mov dword [esi + 0x60], eax
jne 0x6735372e
push str._Unknown______LoadSqlite3:_Failed_retrieving_sqlite3_open16_procedure.
push 1
push str.Dec_25_2011
push 0x6b
push 0xffffffffffffffff
push ecx
call fcn.6734bae0
lea ecx, [ebx + 1]
add esp, 4
mov edx, str..CSqlite3.cpp
mov ebx, eax
call fcn.6734ca70
add esp, 0x14
cmp byte [esp + 0x17], 0
jne 0x673538b9
mov eax, dword [esi + 0x5c]
push str.sqlite3_exec
push eax
call edi
test eax, eax
sete byte [esp + 0x17]
test eax, eax
mov dword [esi + 0x64], eax
jne 0x6735377f
push str._Unknown______LoadSqlite3:_Failed_retrieving_sqlite3_exec_procedure.
push 1
push str.Dec_25_2011
push 0x74
push 0xffffffffffffffff
push ecx
call fcn.6734bae0
add esp, 4
mov edx, str..CSqlite3.cpp
mov ecx, 1
mov ebx, eax
call fcn.6734ca70
add esp, 0x14
cmp byte [esp + 0x17], 0
jne 0x673538b9
mov ecx, dword [esi + 0x5c]
push str.sqlite3_close
push ecx
call edi
test eax, eax
sete byte [esp + 0x17]
test eax, eax
mov dword [esi + 0x68], eax
jne 0x673537d0
push str._Unknown______LoadSqlite3:_Failed_retrieving_sqlite3_close_procedure.
push 1
push str.Dec_25_2011
push 0x7e
push 0xffffffffffffffff
push ecx
call fcn.6734bae0
add esp, 4
mov edx, str..CSqlite3.cpp
mov ecx, 1
mov ebx, eax
call fcn.6734ca70
add esp, 0x14
cmp byte [esp + 0x17], 0
jne 0x673538b9
mov edx, dword [esi + 0x5c]
push str.sqlite3_free
push edx
call edi
test eax, eax
sete byte [esp + 0x17]
test eax, eax
mov dword [esi + 0x6c], eax
jne 0x67353824
push str._Unknown______LoadSqlite3:_Failed_retrieving_sqlite3_free_procedure.
push 1
push str.Dec_25_2011
push 0x88
push 0xffffffffffffffff
push ecx
call fcn.6734bae0
add esp, 4
mov edx, str..CSqlite3.cpp
mov ecx, 1
mov ebx, eax
call fcn.6734ca70
add esp, 0x14
cmp byte [esp + 0x17], 0
jne 0x673538b9
mov eax, dword [esi + 0x5c]
push str.sqlite3_errmsg
push eax
call edi
test eax, eax
sete byte [esp + 0x17]
test eax, eax
mov dword [esi + 0x70], eax
jne 0x673538b4
push str._Unknown______LoadSqlite3:_Failed_retrieving_sqlite3_errmsg_procedure.
push 1
push str.Dec_25_2011
push 0x92
push 0xffffffffffffffff
push ecx
call fcn.6734bae0
add esp, 4
mov edx, str..CSqlite3.cpp
mov ecx, 1
mov ebx, eax
call fcn.6734ca70
add esp, 0x14
jmp 0x673538b4
cmp dword [ebp + 0x18], edi
jb 0x67353884
mov ebp, dword [ebp + 4]
jmp 0x67353887
add ebp, 4
push ebp
push str._Unknown______LoadSqlite3:_Failed_loading___s_.
push 1
push str.Dec_25_2011
push 0x98
push 0xffffffffffffffff
call fcn.6734bae0
mov edx, str..CSqlite3.cpp
mov ecx, 1
mov ebx, eax
call fcn.6734ca70
add esp, 0x18
cmp byte [esp + 0x17], 0
lea ecx, [esp + 0x18]
sete bl
mov dword [esp + 0x250], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov al, bl
mov ecx, dword [esp + 0x248]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x234]
xor ecx, esp
call fcn.673f06fa
add esp, 0x244
ret