Function at 0x1001c4e0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10134255
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x103b2018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x20], vtable.CppSQLite3DB.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 0xea60
push ecx
mov dword [ebp - 4], ebx
mov esi, esp
mov eax, edi
mov dword [ebp - 0x14], esp
call fcn.1001e930
lea eax, [ebp - 0x20]
push eax
push edi
call fcn.1001ea50
cmp eax, ebx
je 0x1001c7c9
lea ecx, [ebp - 0x14]
call dword [0x1013762c]
mov edx, dword [ebp + 0xc]
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 0x10]
push ecx
push edx
lea eax, [ebp - 0x14]
push str.SELECT__FROM_share_keyword_list_WHERE_user_id_ld_AND_id_d
push eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
add esp, 0x10
push ecx
lea edx, [ebp - 0x14]
mov ecx, esp
mov dword [ebp + 0x10], esp
push edx
lea esi, [ebp - 0x20]
call dword [0x1013761c]
lea eax, [ebp - 0x40]
push eax
push edi
mov ecx, esi
call fcn.10020a50
mov bl, 3
lea eax, [ebp - 0x40]
mov byte [ebp - 4], bl
call fcn.10019f40
cmp eax, 1
je 0x1001c5ea
mov edi, dword [edi + 0x44]
test edi, edi
je 0x1001c5b5
mov ecx, dword [ebp - 0x14]
push ecx
push eax
push str.sharekeywordlist_select_row_count__d_sql__s
push edi
call sub.NirvanaUtils.dll_public:_long_int___cdecl_GLog::WriteLogFormat_wchar_t_const__
add esp, 0x10
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.10019e40
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], vtable.CppSQLite3DB.0
test eax, eax
je 0x1001c7e0
push 0
jmp 0x1001c7d8
xor eax, eax
lea ecx, [ebp - 0x40]
call fcn.1001a0f0
push 0
push str.gtype
lea eax, [ebp - 0x40]
call fcn.1001a090
test al, al
je 0x1001c60e
mov eax, 0x10138e32
jmp 0x1001c61c
push str.gtype
lea edx, [ebp - 0x40]
push edx
call fcn.10019f90
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push eax
call dword [0x101377ac]
lea eax, [ebp + 0x10]
push eax
call sub.NirvanaUtils.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_GetWCString_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char_____unsigned_int_
add esp, 0xc
mov ecx, dword [ebp + 0x14]
push eax
mov byte [ebp - 4], 4
call dword [0x101375f4]
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], bl
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push 0x3a8
push str.keywords
lea eax, [ebp - 0x40]
call fcn.1001a090
test al, al
je 0x1001c66c
mov eax, 0x10138e32
jmp 0x1001c67a
push str.keywords
lea ecx, [ebp - 0x40]
push ecx
call fcn.10019f90
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push eax
call dword [0x101377ac]
lea edx, [ebp + 0x10]
push edx
call sub.NirvanaUtils.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_GetWCString_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char_____unsigned_int_
add esp, 0xc
mov ecx, dword [ebp + 0x18]
push eax
mov byte [ebp - 4], 5
call dword [0x101375f4]
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], bl
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push 0x3a8
push str.settings
lea eax, [ebp - 0x40]
call fcn.1001a090
test al, al
je 0x1001c6ca
mov eax, 0x10138e32
jmp 0x1001c6d8
push str.settings
lea eax, [ebp - 0x40]
push eax
call fcn.10019f90
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push eax
call dword [0x101377ac]
lea ecx, [ebp + 0x10]
push ecx
call sub.NirvanaUtils.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_GetWCString_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char_____unsigned_int_
add esp, 0xc
mov ecx, dword [ebp + 0x1c]
push eax
mov byte [ebp - 4], 6
call dword [0x101375f4]
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], bl
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x1001c723
push 0
mov eax, esi
call fcn.10082060
add esp, 4
xor esi, esi
mov dword [ebp - 0x1c], esi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.10019e40
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x20], vtable.CppSQLite3DB.0
test esi, esi
je 0x1001c756
push 0
mov eax, esi
call fcn.10082060
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x1001c7e0
push ebx
call fcn.10082060
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18