Function at 0x41b560
Capabilities:
Reference sql statements

Disassembly:
push 0xffffffffffffffff
push 0x433752
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
mov eax, dword [0x449030]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esp + 0x2c], 0
mov dword [esp + 0x14], 0
je 0x41b61d
mov ecx, dword [esi + 0x18]
lea eax, [esp + 0x14]
push eax
push 0
push 0
push str.CREATE_TABLE_dictionary___nid__INTEGER_PRIMARY_KEY___dictionary__varchar_64__COLLATE_NOCASE_UNIQUE___createtime__int_NOT_NULL___state__int_NOT_NULL_DEFAULT_0___reserved__text_NULL__
push ecx
call sub.sqlite3.dll_sqlite3_exec
add esp, 0x14
test eax, eax
jne 0x41b766
push 0x43a818
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0
call dword [sym.imp.MFC80U.DLL_Ordinal_2461]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
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_wchar_t_const__]
push esi
call fcn.0041df20
push edx
push eax
add esi, 0x1c
call fcn.004131a0
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x1c
ret 4
mov eax, dword [esi + 0x18]
push 0
lea edx, [esp + 0x30]
push edx
push 0xffffffffffffffff
push str.SELECT_COUNT___FROM_sqlite_master_WHERE__type__table__AND_tbl_name_dictionary__
push eax
mov bl, 1
call sub.sqlite3.dll_sqlite3_prepare16
add esp, 0x14
test eax, eax
jne 0x41b662
mov ecx, dword [esp + 0x2c]
push ecx
call sub.sqlite3.dll_sqlite3_step
add esp, 4
cmp eax, 0x64
jne 0x41b662
mov edx, dword [esp + 0x2c]
push 0
push edx
call sub.sqlite3.dll_sqlite3_column_int
add esp, 8
test eax, eax
jg 0x41b664
xor bl, bl
mov eax, dword [esp + 0x2c]
push eax
call sub.sqlite3.dll_sqlite3_finalize
add esp, 4
test bl, bl
jne 0x41b697
mov edx, dword [esi + 0x18]
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
push str.CREATE_TABLE_dictionary___nid__INTEGER_PRIMARY_KEY___dictionary__varchar_64__COLLATE_NOCASE_UNIQUE___createtime__int_NOT_NULL___state__int_NOT_NULL_DEFAULT_0___reserved__text_NULL__
push edx
call sub.sqlite3.dll_sqlite3_exec
add esp, 0x14
test eax, eax
jne 0x41b766
mov ecx, dword [esi + 0x18]
push 0
lea eax, [esp + 0x30]
push eax
push 0xffffffffffffffff
push str.SELECT_COUNT___FROM_dictionary_
push ecx
call sub.sqlite3.dll_sqlite3_prepare16
add esp, 0x14
test eax, eax
jne 0x41b766
mov edx, dword [esp + 0x2c]
push edx
call sub.sqlite3.dll_sqlite3_step
add esp, 4
cmp eax, 0x64
mov eax, dword [esp + 0x2c]
jne 0x41b75d
push 0
push eax
call sub.sqlite3.dll_sqlite3_column_int
add esp, 8
test eax, eax
jg 0x41b73a
mov ecx, dword [esp + 0x2c]
push ecx
call sub.sqlite3.dll_sqlite3_finalize
add esp, 4
push 0x43a818
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], 1
call dword [sym.imp.MFC80U.DLL_Ordinal_2461]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
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_wchar_t_const__]
push esi
call fcn.0041df20
push edx
push eax
add esi, 0x1c
call fcn.004131a0
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov edx, dword [esp + 0x2c]
push edx
call sub.sqlite3.dll_sqlite3_finalize
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x1c
ret 4
push eax
call sub.sqlite3.dll_sqlite3_finalize
add esp, 4
or eax, 0xffffffff
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x1c
ret 4