Function at 0x100b1ee0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10134e1c
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
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, ecx
mov dword [ebp - 0x1c], edi
xor ebx, ebx
cmp dword [edi + 0x634], ebx
je 0x100b2308
lea ecx, [ebp - 0x18]
call dword [0x1013762c]
mov dword [ebp - 4], ebx
mov eax, dword [edi + 4]
mov edx, dword [eax + 0x134]
lea ecx, [edi + 4]
call edx
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
mov ecx, dword [edi + 0x630]
push eax
call sym.NirvanaBiz.dll_public:_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______thiscall_CBaiduUser::GetBaiduID_void_
mov byte [ebp - 4], 2
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0x18]
push str.SELECT_keyword_id__best_pos__has_xj__replace_keyword_FROM_fc_keyword_list_WHERE_user_id_s
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
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
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 ecx
lea eax, [ebp - 0x18]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
xor esi, esi
call dword [0x1013761c]
mov edx, dword [edi + 0x634]
lea ecx, [ebp - 0x34]
push ecx
push edx
mov ecx, esi
call fcn.10020a50
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 3
call fcn.10019f40
mov dword [ebp - 0x38], eax
xor edi, edi
cmp edi, dword [ebp - 0x38]
mov dword [ebp - 0x14], edi
lea ecx, [ebp - 0x34]
jge 0x100b2237
mov eax, edi
call fcn.1001a0f0
push 0x20
call sub.mfc90u.dll_new
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x100b2000
lea edi, [esi + 0x1c]
mov ecx, edi
mov dword [esi], vtable.PersistWordData.0
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], 0xffffffff
call dword [0x1013762c]
mov ecx, edi
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::Empty]
mov edi, dword [ebp - 0x14]
jmp 0x100b2002
xor esi, esi
cmp dword [ebp - 0x24], ebx
jne 0x100b204e
push str.Null_Results_pointer
push 0x3e8
push str.CPPSQLITE_ERROR
push str._s__d_:__s
mov dword [ebp - 0x8c], vtable.CppSQLite3Exception.0
mov dword [ebp - 0x88], 0x3e8
call sym.NirvanaBiz.dll_sqlite3_mprintf
add esp, 0x10
mov dword [ebp - 0x84], eax
push 0x10393ee8
lea eax, [ebp - 0x8c]
push eax
call sub.MSVCR90.dll__CxxThrowException
push str.keyword_id
lea ecx, [ebp - 0x34]
push ecx
call fcn.10019f90
cmp eax, ebx
sete al
test al, al
je 0x100b206b
xor eax, eax
xor edx, edx
jmp 0x100b2083
push str.keyword_id
lea edx, [ebp - 0x34]
push edx
call fcn.10019f90
push eax
call dword [sym.imp.MSVCR90.dll__atoi64]
add esp, 4
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
cmp dword [ebp - 0x24], ebx
jne 0x100b20c9
push str.Null_Results_pointer
push 0x3e8
push str.CPPSQLITE_ERROR
push str._s__d_:__s
mov dword [ebp - 0x80], vtable.CppSQLite3Exception.0
mov dword [ebp - 0x7c], 0x3e8
call sym.NirvanaBiz.dll_sqlite3_mprintf
add esp, 0x10
mov dword [ebp - 0x78], eax
push 0x10393ee8
lea eax, [ebp - 0x80]
push eax
call sub.MSVCR90.dll__CxxThrowException
push str.best_pos
lea ecx, [ebp - 0x34]
push ecx
call fcn.10019f90
cmp eax, ebx
sete al
test al, al
je 0x100b20e4
xor eax, eax
jmp 0x100b20fc
push str.best_pos
lea edx, [ebp - 0x34]
push edx
call fcn.10019f90
push eax
call dword [sym.imp.MSVCR90.dll_atoi]
add esp, 4
mov dword [esi + 0x10], eax
cmp dword [ebp - 0x24], ebx
jne 0x100b213f
push str.Null_Results_pointer
push 0x3e8
push str.CPPSQLITE_ERROR
push str._s__d_:__s
mov dword [ebp - 0x44], vtable.CppSQLite3Exception.0
mov dword [ebp - 0x40], 0x3e8
call sym.NirvanaBiz.dll_sqlite3_mprintf
add esp, 0x10
mov dword [ebp - 0x3c], eax
push 0x10393ee8
lea eax, [ebp - 0x44]
push eax
call sub.MSVCR90.dll__CxxThrowException
push str.has_xj
lea ecx, [ebp - 0x34]
push ecx
call fcn.10019f90
cmp eax, ebx
sete al
test al, al
je 0x100b215a
xor eax, eax
jmp 0x100b2172
push str.has_xj
lea edx, [ebp - 0x34]
push edx
call fcn.10019f90
push eax
call dword [sym.imp.MSVCR90.dll_atoi]
add esp, 4
mov dword [esi + 0x14], eax
push 0x3a8
cmp dword [ebp - 0x24], ebx
jne 0x100b21ba
push str.Null_Results_pointer
push 0x3e8
push str.CPPSQLITE_ERROR
push str._s__d_:__s
mov dword [ebp - 0x68], vtable.CppSQLite3Exception.0
mov dword [ebp - 0x64], 0x3e8
call sym.NirvanaBiz.dll_sqlite3_mprintf
add esp, 0x10
mov dword [ebp - 0x60], eax
push 0x10393ee8
lea eax, [ebp - 0x68]
push eax
call sub.MSVCR90.dll__CxxThrowException
push str.replace_keyword
lea ecx, [ebp - 0x34]
push ecx
call fcn.10019f90
cmp eax, ebx
sete al
test al, al
je 0x100b21d8
mov eax, 0x10138e32
jmp 0x100b21e6
push str.replace_keyword
lea edx, [ebp - 0x34]
push edx
call fcn.10019f90
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call dword [0x101377ac]
lea eax, [ebp - 0x20]
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 eax
lea ecx, [esi + 0x1c]
mov byte [ebp - 4], 4
call dword [0x101375f4]
lea ecx, [ebp - 0x20]
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]
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
mov eax, dword [ebp - 0x1c]
push esi
push ecx
push edx
add eax, 0x1dc
push eax
call fcn.10014690
inc edi
jmp 0x100b1fa9
mov byte [ebp - 4], 1
call fcn.10019e40
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 8
push ecx
mov ecx, dword [edx + 0x630]
call sym.NirvanaBiz.dll_public:_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______thiscall_CBaiduUser::GetBaiduID_void_
mov byte [ebp - 4], 9
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x18]
push str.SELECT_plan_id__rank_area_FROM_fc_plan_list_WHERE_user_id_s
push ecx
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
add esp, 0xc
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 8
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 ecx
lea edx, [ebp - 0x18]
mov ecx, esp
mov dword [ebp - 0x20], esp
push edx
xor esi, esi
call dword [0x1013761c]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x634]
lea eax, [ebp - 0x34]
push eax
push edx
mov ecx, esi
call fcn.10020a50
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x24], ebx
jne 0x100b22ea
push str.Null_Results_pointer
push 0x3e8
push str.CPPSQLITE_ERROR
push str._s__d_:__s
mov dword [ebp - 0x74], vtable.CppSQLite3Exception.0
mov dword [ebp - 0x70], 0x3e8
call sym.NirvanaBiz.dll_sqlite3_mprintf
add esp, 0x10
mov dword [ebp - 0x6c], eax
push 0x10393ee8
lea eax, [ebp - 0x74]
push eax
call sub.MSVCR90.dll__CxxThrowException
mov eax, dword [ebp - 0x2c]
mov ebx, eax
test eax, eax
jg 0x100b231a
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x34]
call fcn.10019e40
lea ecx, [ebp - 0x18]
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 ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor edi, edi
lea esp, [esp]
cmp edi, ebx
lea ecx, [ebp - 0x34]
jge 0x100b246e
mov eax, edi
call fcn.1001a0f0
push 0x18
call sub.mfc90u.dll_new
add esp, 4
test eax, eax
je 0x100b2359
xor ecx, ecx
mov dword [eax], vtable.PersistPlanData.0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 0xffffffff
mov esi, eax
jmp 0x100b235b
xor esi, esi
cmp dword [ebp - 0x24], 0
jne 0x100b239c
push str.Null_Results_pointer
push 0x3e8
push str.CPPSQLITE_ERROR
push str._s__d_:__s
mov dword [ebp - 0x50], vtable.CppSQLite3Exception.0
mov dword [ebp - 0x4c], 0x3e8
call sym.NirvanaBiz.dll_sqlite3_mprintf
add esp, 0x10
push 0x10393ee8
lea ecx, [ebp - 0x50]
push ecx
mov dword [ebp - 0x48], eax
call sub.MSVCR90.dll__CxxThrowException
push str.plan_id
lea edx, [ebp - 0x34]
push edx
call fcn.10019f90
test eax, eax
sete al
test al, al
je 0x100b23b9
xor eax, eax
xor edx, edx
jmp 0x100b23d1
push str.plan_id
lea eax, [ebp - 0x34]
push eax
call fcn.10019f90
push eax
call dword [sym.imp.MSVCR90.dll__atoi64]
add esp, 4
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
cmp dword [ebp - 0x24], 0
jne 0x100b2418
push str.Null_Results_pointer
push 0x3e8
push str.CPPSQLITE_ERROR
push str._s__d_:__s
mov dword [ebp - 0x5c], vtable.CppSQLite3Exception.0
mov dword [ebp - 0x58], 0x3e8
call sym.NirvanaBiz.dll_sqlite3_mprintf
add esp, 0x10
push 0x10393ee8
lea ecx, [ebp - 0x5c]
push ecx
mov dword [ebp - 0x54], eax
call sub.MSVCR90.dll__CxxThrowException
push str.rank_area
lea edx, [ebp - 0x34]
push edx
call fcn.10019f90
test eax, eax
sete al
test al, al
je 0x100b2436
mov eax, 0xffffffff
jmp 0x100b244e
push str.rank_area
lea eax, [ebp - 0x34]
push eax
call fcn.10019f90
push eax
call dword [sym.imp.MSVCR90.dll_atoi]
add esp, 4
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
push esi
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x1c]
push ecx
push edx
add eax, 0x1f8
push eax
call fcn.10014760
inc edi
jmp 0x100b2320
mov byte [ebp - 4], 8
jmp 0x100b22fa