Function at 0x1001cc30
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013415f
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
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
xor ebx, ebx
mov dword [ebp - 0x3c], vtable.CppSQLite3DB.0
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], 0xea60
mov edi, dword [ebp + 8]
push ecx
mov dword [ebp - 4], ebx
mov esi, esp
mov eax, edi
mov dword [ebp - 0x2c], esp
call fcn.1001e930
lea eax, [ebp - 0x3c]
push eax
push edi
call fcn.1001ea50
cmp eax, ebx
je 0x1001cfcb
lea ecx, [ebp - 0x14]
call dword [0x1013762c]
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 0xc]
mov ebx, dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
push ecx
lea edx, [ebp - 0x14]
push str.DELETE_FROM_share_keyword_list_WHERE_user_id_d
push edx
call ebx
add esp, 0xc
push 0
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
lea esi, [ebp - 0x3c]
call dword [0x1013761c]
push edi
mov ecx, esi
call fcn.10020700
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x14]
push str.SELECT_id__title_FROM_my_keyword_list_WHERE_user_id_ld
push edx
call ebx
add esp, 0xc
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
call dword [0x1013761c]
lea ecx, [ebp - 0x5c]
push ecx
push edi
mov ecx, esi
call fcn.10020a50
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 3
call fcn.10019f40
push 0xa
lea ecx, [ebp - 0x78]
mov ebx, eax
call fcn.10126b16
mov byte [ebp - 4], 4
test ebx, ebx
jle 0x1001cdce
mov edi, dword [sym.imp.MSVCR90.dll_atoi]
xor esi, esi
nop
cmp esi, ebx
jge 0x1001cdcb
mov eax, esi
lea ecx, [ebp - 0x5c]
call fcn.1001a0f0
push 0x10370438
lea eax, [ebp - 0x5c]
call fcn.1001a090
test al, al
jne 0x1001cd67
push 0x10370438
lea edx, [ebp - 0x5c]
push edx
call fcn.10019f90
push eax
call edi
add esp, 4
push 0
push str.title
lea eax, [ebp - 0x5c]
call fcn.1001a090
test al, al
je 0x1001cd81
mov eax, 0x10138e32
jmp 0x1001cd8f
push str.title
lea eax, [ebp - 0x5c]
push eax
call fcn.10019f90
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
call dword [0x101377ac]
lea ecx, [ebp - 0x1c]
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
lea edx, [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 5
call sub.mfc90u.dll_CStringList::AddTail
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
inc esi
jmp 0x1001cd30
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0xc]
neg eax
sbb eax, eax
mov dword [ebp - 0x1c], eax
jmp 0x1001cde3
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1001cefe
mov ebx, dword [ebp + 0x10]
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x1c]
push eax
call fcn.10013c00
mov esi, dword [ebp - 0x20]
mov eax, dword [esi + 8]
lea ebx, [esi + 8]
push 0
push eax
lea ecx, [ebp - 0x78]
call sub.mfc90u.dll_CStringList::Find
test eax, eax
jne 0x1001cde0
lea ecx, [ebp - 0x18]
call dword [0x1013762c]
mov byte [ebp - 4], 6
mov ecx, dword [esi + 0x1c]
push ecx
push ecx
lea edx, [esi + 0x18]
mov ecx, esp
mov dword [ebp - 0x30], esp
push edx
call dword [0x1013761c]
lea eax, [ebp - 0x2c]
push eax
call sub.NirvanaUtils.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_FixQuote_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____
add esp, 8
mov byte [ebp - 4], 7
mov ecx, dword [eax]
push ecx
push ecx
lea edx, [esi + 0x14]
mov ecx, esp
mov dword [ebp - 0x30], esp
push edx
call dword [0x1013761c]
lea eax, [ebp - 0x28]
push eax
call sub.NirvanaUtils.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_FixQuote_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____
add esp, 8
mov byte [ebp - 4], 8
mov ecx, dword [eax]
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0xc]
push ecx
push edx
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push ebx
call dword [0x1013761c]
lea ecx, [ebp - 0x24]
push ecx
call sub.NirvanaUtils.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_FixQuote_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____
add esp, 8
mov byte [ebp - 4], 9
mov edx, dword [eax]
mov eax, dword [esi + 4]
mov ecx, dword [ebp + 0xc]
push edx
push eax
push ecx
lea edx, [ebp - 0x18]
push str.INSERT_INTO_share_keyword_list__user_id_id_title_gtype_counts_keywords_settings_freq__VALUES___d__d__s__s__d__s__s__d_
push edx
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
add esp, 0x28
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 6
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 0
push ecx
lea eax, [ebp - 0x18]
mov ecx, esp
mov dword [ebp - 0x30], esp
push eax
lea esi, [ebp - 0x3c]
call dword [0x1013761c]
push edi
mov ecx, esi
call fcn.10020700
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
jmp 0x1001cde0
mov esi, dword [ebp - 0x38]
test esi, esi
je 0x1001cf16
push 0
mov eax, esi
call fcn.10082060
add esp, 4
xor esi, esi
mov dword [ebp - 0x38], esi
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 3
call sub.mfc90u.dll_CStringList::CStringList
lea ecx, [ebp - 0x5c]
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 - 0x3c], vtable.CppSQLite3DB.0
test esi, esi
je 0x1001cf55
push 0
mov eax, esi
call fcn.10082060
add esp, 4
mov eax, 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 0xc
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x38]
cmp eax, ebx
je 0x1001cfe2
push ebx
call fcn.10082060
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc