Function at 0x1001c800
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101341f1
mov eax, dword fs:[0]
push eax
sub esp, 0x60
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 - 0x4c], vtable.CppSQLite3DB.0
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], 0xea60
push ecx
mov esi, esp
mov eax, edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x2c], esp
call fcn.1001e930
lea eax, [ebp - 0x4c]
push eax
push edi
call fcn.1001ea50
cmp eax, ebx
je 0x1001cbfd
lea ecx, [ebp - 0x14]
call dword [0x1013762c]
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x14]
push str.SELECT__FROM_my_keyword_list_WHERE_user_id_ld
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, 0xc
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp + 0xc], esp
push eax
lea esi, [ebp - 0x4c]
call dword [0x1013761c]
lea ecx, [ebp - 0x6c]
push ecx
push edi
mov ecx, esi
call fcn.10020a50
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 3
call fcn.10019f40
mov ecx, eax
cmp ecx, ebx
mov dword [ebp - 0x2c], ecx
jle 0x1001cb3c
xor eax, eax
mov dword [ebp - 0x18], eax
cmp eax, ecx
jge 0x1001cb3c
lea ecx, [ebp - 0x6c]
call fcn.1001a0f0
push 0x10370438
lea eax, [ebp - 0x6c]
call fcn.1001a090
test al, al
je 0x1001c8f3
mov esi, dword [sym.imp.MSVCR90.dll_atoi]
mov dword [ebp + 0xc], 0xffffffff
jmp 0x1001c910
push 0x10370438
lea edx, [ebp - 0x6c]
push edx
call fcn.10019f90
mov esi, dword [sym.imp.MSVCR90.dll_atoi]
push eax
call esi
add esp, 4
mov dword [ebp + 0xc], eax
push 0
push str.title
lea eax, [ebp - 0x6c]
call fcn.1001a090
test al, al
je 0x1001c92a
mov eax, 0x10138e32
jmp 0x1001c938
push str.title
lea eax, [ebp - 0x6c]
push eax
call fcn.10019f90
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push eax
call dword [0x101377ac]
lea ecx, [ebp - 0x28]
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
push 0
push str.keywords
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 4
call fcn.1001a090
test al, al
je 0x1001c96f
mov eax, 0x10138e32
jmp 0x1001c97d
push str.keywords
lea edx, [ebp - 0x6c]
push edx
call fcn.10019f90
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push eax
call dword [0x101377ac]
lea eax, [ebp - 0x24]
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
push 0
push str.settings
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 5
call fcn.1001a090
test al, al
je 0x1001c9b4
mov eax, 0x10138e32
jmp 0x1001c9c2
push str.settings
lea ecx, [ebp - 0x6c]
push ecx
call fcn.10019f90
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push eax
call dword [0x101377ac]
lea edx, [ebp - 0x20]
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
push 0
push str.gtype
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 6
call fcn.1001a090
test al, al
je 0x1001c9f9
mov eax, 0x10370738
jmp 0x1001ca07
push str.gtype
lea eax, [ebp - 0x6c]
push eax
call fcn.10019f90
push ecx
mov ecx, esp
mov dword [ebp - 0x30], 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
push str.counts
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 7
call fcn.1001a090
test al, al
je 0x1001ca39
xor ebx, ebx
jmp 0x1001ca4f
push str.counts
lea edx, [ebp - 0x6c]
push edx
call fcn.10019f90
push eax
call esi
add esp, 4
mov ebx, eax
push str.freq
lea eax, [ebp - 0x6c]
call fcn.1001a090
test al, al
je 0x1001ca64
xor edi, edi
jmp 0x1001ca7a
push str.freq
lea eax, [ebp - 0x6c]
push eax
call fcn.10019f90
push eax
call esi
add esp, 4
mov edi, eax
push 0x20
call sub.mfc90u.dll_new
mov esi, eax
add esp, 4
mov dword [ebp - 0x30], esi
mov byte [ebp - 4], 8
test esi, esi
je 0x1001caf2
push edi
push ecx
lea edx, [ebp - 0x20]
mov ecx, esp
mov dword [ebp - 0x34], esp
push edx
call dword [0x1013761c]
push ecx
mov byte [ebp - 4], 9
lea eax, [ebp - 0x24]
mov ecx, esp
mov dword [ebp - 0x38], esp
push eax
call dword [0x1013761c]
push ebx
push ecx
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp - 0x3c], esp
push edx
call dword [0x1013761c]
push ecx
lea eax, [ebp - 0x28]
mov ecx, esp
mov dword [ebp - 0x40], esp
push eax
mov byte [ebp - 4], 0xb
call dword [0x1013761c]
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, esi
mov byte [ebp - 4], 8
call sym.NirvanaBiz.dll_public:_void___thiscall_CMyKeywordList::constructor_int__class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____int__class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____int_
mov esi, eax
jmp 0x1001caf4
xor esi, esi
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 7
mov edx, dword [ebp + 0xc]
push edx
call fcn.100149d0
lea ecx, [ebp - 0x1c]
mov dword [eax], esi
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 - 0x20]
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 - 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]
mov byte [ebp - 4], 3
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 dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
jmp 0x1001c8c3
mov esi, dword [ebp - 0x48]
test esi, esi
je 0x1001cb54
push 0
mov eax, esi
call fcn.10082060
add esp, 4
xor esi, esi
mov dword [ebp - 0x48], esi
lea ecx, [ebp - 0x6c]
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 - 0x4c], vtable.CppSQLite3DB.0
test esi, esi
je 0x1001cb87
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 - 0x48]
cmp eax, ebx
je 0x1001cc14
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