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

Disassembly:
push 0xffffffffffffffff
push 0x674070ab
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67460ecc]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, ecx
push 1
lea eax, [esi + 0x28]
push eax
lea ecx, [esp + 0x34]
call sub.MFC80U.DLL_Ordinal_548
mov dword [esp + 0x40], 0
mov edi, dword [esi + 0x20]
cmp edi, 1
je 0x673d5acf
mov dword [esp + 0x40], 0xffffffff
lea ecx, [esp + 0x2c]
call sub.MFC80U.DLL_Ordinal_6201
mov eax, edi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
push str.CImSQLiteBrowser::Initialize
push 0x6741f400
lea ecx, [esp + 0x28]
call fcn.67377fc0
mov byte [esp + 0x40], 1
mov edx, dword [esi]
mov edx, dword [edx + 4]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call edx
mov byte [esp + 0x40], 2
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x24]
push str.SQLite_path___s
push ecx
call fcn.67378120
add esp, 0xc
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_3927]
test al, al
jne 0x673d5bf1
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
mov byte [esp + 0x40], 3
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
mov byte [esp + 0x40], 4
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
call sym.ImUtilsU.dll_Ordinal_1943
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add esp, 0xc
push 0
push 0
call ebx
mov ebp, eax
test ebp, ebp
jbe 0x673d5bd3
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.MFC80U.DLL_Ordinal_265
mov edi, eax
lea eax, [ebp + ebp]
push eax
push 0
push edi
call sub.MSVCR80.dll_memset
add esp, 0x10
push edi
push ebp
call ebx
test edi, edi
je 0x673d5bd3
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
mov ebx, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push eax
call ebx
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push edi
mov dword [esi + 0x1c], eax
call ebx
push edi
call sub.MFC80U.DLL_Ordinal_266
add esp, 4
mov byte [esp + 0x40], 3
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov byte [esp + 0x40], 2
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x673d5c8e
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.sqlite3_open16
push eax
call edi
mov ecx, dword [esi + 0x1c]
push str.sqlite3_prepare16_v2
push ecx
mov dword [esi + 0x18], eax
call edi
mov edx, dword [esi + 0x1c]
push str.sqlite3_close
push edx
mov dword [esi + 4], eax
call edi
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x1c]
push str.sqlite3_finalize
push eax
call edi
mov ecx, dword [esi + 0x1c]
push str.sqlite3_step
push ecx
mov dword [esi + 0xc], eax
call edi
mov edx, dword [esi + 0x1c]
push str.sqlite3_column_text16
push edx
mov dword [esi + 8], eax
call edi
cmp dword [esi + 0x18], 0
mov dword [esi + 0x10], eax
je 0x673d5c7e
cmp dword [esi + 4], 0
je 0x673d5c7e
cmp dword [esi + 0x14], 0
je 0x673d5c7e
cmp dword [esi + 0xc], 0
je 0x673d5c7e
cmp dword [esi + 8], 0
je 0x673d5c7e
test eax, eax
je 0x673d5c7e
mov dword [esi + 0x20], 0
jmp 0x673d5c95
mov ecx, esi
mov dword [esi + 0x20], 3
call fcn.673d5230
jmp 0x673d5c95
mov dword [esi + 0x20], 2
mov eax, dword [esi + 0x20]
test eax, eax
jne 0x673d5cac
push str.Initialized_successfully
lea ecx, [esp + 0x24]
call fcn.673780f0
jmp 0x673d5cbf
push eax
lea eax, [esp + 0x24]
push str.ERROR___Failed_to_initialize_object._error_code__d
push eax
call fcn.67378120
add esp, 0xc
mov esi, dword [esi + 0x20]
mov byte [esp + 0x40], 1
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov byte [esp + 0x40], 0
lea ecx, [esp + 0x20]
call fcn.67378060
mov dword [esp + 0x40], 0xffffffff
lea ecx, [esp + 0x2c]
call sub.MFC80U.DLL_Ordinal_6201
mov eax, esi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret