Function at 0x100b7380
Capabilities:
Reference sql statements

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x6c
push 0xffffffffffffffff
push 0x10134d27
mov eax, dword fs:[0]
push eax
sub esp, 0x70
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 + 0x38], edi
lea ecx, [ebp + 0x50]
call dword [0x1013762c]
xor ebx, ebx
mov dword [ebp - 4], ebx
lea eax, [ebp + 0x54]
mov byte [ebp - 4], 1
mov ecx, dword [edi + 0x62c]
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 + 0x50]
push str.SELECT__FROM_fc_plan_list_WHERE_user_id_s_ORDER_BY_plan_id
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 + 0x54]
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 + 0x50]
mov ecx, esp
mov dword [ebp + 0x48], esp
push eax
xor esi, esi
call dword [0x1013761c]
mov edx, dword [edi + 0x630]
lea ecx, [ebp + 0x58]
push ecx
push edx
mov ecx, esi
call fcn.10020a50
lea eax, [ebp + 0x58]
mov byte [ebp - 4], 3
call fcn.10019f40
push str._H:_M:_S
lea esi, [ebp + 0x40]
mov dword [ebp + 0x54], eax
call fcn.1000d160
push eax
lea ecx, [ebp + 0x4c]
call fcn.10005710
mov byte [ebp - 4], 4
mov eax, dword [eax]
mov esi, dword [ebp + 0x54]
mov ecx, dword [edi + 0x634]
push eax
push esi
push str.GetPlans_count__d__s
push ecx
call sub.NirvanaUtils.dll_public:_long_int___cdecl_GLog::WriteLogFormat_wchar_t_const__
add esp, 0x10
lea ecx, [ebp + 0x4c]
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]
cmp esi, ebx
jle 0x100b7945
xor edi, edi
jmp 0x100b7480
cmp edi, esi
jge 0x100b7945
mov eax, edi
lea ecx, [ebp + 0x58]
call fcn.1001a0f0
lea ecx, [ebp + 0x10]
mov dword [ebp], vtable.CNVPlan.0
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
call dword [0x1013762c]
lea ecx, [ebp + 0x14]
call dword [0x1013762c]
lea ecx, [ebp + 0x18]
call dword [0x1013762c]
fldz
fstp qword [ebp + 0x30]
mov dword [ebp + 0x1c], 0xffffffff
mov dword [ebp + 0x20], ebx
mov dword [ebp + 0x24], ebx
mov dword [ebp + 0x28], ebx
mov byte [ebp - 4], 5
cmp dword [ebp + 0x68], ebx
jne 0x100b7513
push str.Null_Results_pointer
push 0x3e8
push str.CPPSQLITE_ERROR
push str._s__d_:__s
mov dword [ebp - 0x70], vtable.CppSQLite3Exception.0
mov dword [ebp - 0x6c], 0x3e8
call sym.NirvanaBiz.dll_sqlite3_mprintf
add esp, 0x10
push 0x10393ee8
lea edx, [ebp - 0x70]
push edx
mov dword [ebp - 0x68], eax
call sub.MSVCR90.dll__CxxThrowException
push str.plan_id
lea eax, [ebp + 0x58]
push eax
call fcn.10019f90
cmp eax, ebx
sete al
cmp al, bl
je 0x100b7534
mov esi, dword [sym.imp.MSVCR90.dll_atoi]
xor eax, eax
jmp 0x100b754e
push str.plan_id
lea ecx, [ebp + 0x58]
push ecx
call fcn.10019f90
mov esi, dword [sym.imp.MSVCR90.dll_atoi]
push eax
call esi
add esp, 4
cdq
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], edx
push ebx
cmp dword [ebp + 0x68], ebx
jne 0x100b7596
push str.Null_Results_pointer
push 0x3e8
push str.CPPSQLITE_ERROR
push str._s__d_:__s
mov dword [ebp - 0x1c], vtable.CppSQLite3Exception.0
mov dword [ebp - 0x18], 0x3e8
call sym.NirvanaBiz.dll_sqlite3_mprintf
add esp, 0x10
push 0x10393ee8
lea edx, [ebp - 0x1c]
push edx
mov dword [ebp - 0x14], eax
call sub.MSVCR90.dll__CxxThrowException
push str.plan_name
lea eax, [ebp + 0x58]
push eax
call fcn.10019f90
cmp eax, ebx
sete al
cmp al, bl
je 0x100b75b4
mov eax, 0x10138e32
jmp 0x100b75c2
push str.plan_name
lea ecx, [ebp + 0x58]
push ecx
call fcn.10019f90
push ecx
mov ecx, esp
mov dword [ebp + 0x44], esp
push eax
call dword [0x101377ac]
lea edx, [ebp + 0x4c]
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 eax
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 6
call dword [0x101375f4]
lea ecx, [ebp + 0x4c]
mov byte [ebp - 4], 5
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 ebx
cmp dword [ebp + 0x68], ebx
jne 0x100b7637
push str.Null_Results_pointer
push 0x3e8
push str.CPPSQLITE_ERROR
push str._s__d_:__s
mov dword [ebp - 0x64], vtable.CppSQLite3Exception.0
mov dword [ebp - 0x60], 0x3e8
call sym.NirvanaBiz.dll_sqlite3_mprintf
add esp, 0x10
mov dword [ebp - 0x5c], eax
push 0x10393ee8
lea eax, [ebp - 0x64]
push eax
call sub.MSVCR90.dll__CxxThrowException
push str.area
lea ecx, [ebp + 0x58]
push ecx
call fcn.10019f90
cmp eax, ebx
sete al
cmp al, bl
je 0x100b7655
mov eax, 0x10138e32
jmp 0x100b7663
push str.area
lea edx, [ebp + 0x58]
push edx
call fcn.10019f90
push ecx
mov ecx, esp
mov dword [ebp + 0x44], esp
push eax
call dword [0x101377ac]
lea eax, [ebp + 0x3c]
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, [ebp + 0x18]
mov byte [ebp - 4], 7
call dword [0x101375f4]
lea ecx, [ebp + 0x3c]
mov byte [ebp - 4], 5
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
cmp dword [ebp + 0x68], ebx
jne 0x100b76d7
push str.Null_Results_pointer
push 0x3e8
push str.CPPSQLITE_ERROR
push str._s__d_:__s
mov dword [ebp - 0x58], vtable.CppSQLite3Exception.0
mov dword [ebp - 0x54], 0x3e8
call sym.NirvanaBiz.dll_sqlite3_mprintf
add esp, 0x10
push 0x10393ee8
lea ecx, [ebp - 0x58]
push ecx
mov dword [ebp - 0x50], eax
call sub.MSVCR90.dll__CxxThrowException
push str.status
lea edx, [ebp + 0x58]
push edx
call fcn.10019f90
cmp eax, ebx
sete al
cmp al, bl
je 0x100b76f2
xor eax, eax
jmp 0x100b7706
push str.status
lea eax, [ebp + 0x58]
push eax
call fcn.10019f90
push eax
call esi
add esp, 4
mov dword [ebp + 0x20], eax
push ebx
cmp dword [ebp + 0x68], ebx
jne 0x100b774a
push str.Null_Results_pointer
push 0x3e8
push str.CPPSQLITE_ERROR
push str._s__d_:__s
mov dword [ebp - 0x40], vtable.CppSQLite3Exception.0
mov dword [ebp - 0x3c], 0x3e8
call sym.NirvanaBiz.dll_sqlite3_mprintf
add esp, 0x10
push 0x10393ee8
lea ecx, [ebp - 0x40]
push ecx
mov dword [ebp - 0x38], eax
call sub.MSVCR90.dll__CxxThrowException
push str.user_id
lea edx, [ebp + 0x58]
push edx
call fcn.10019f90
cmp eax, ebx
sete al
cmp al, bl
je 0x100b7768
mov eax, 0x10138e32
jmp 0x100b7776
push str.user_id
lea eax, [ebp + 0x58]
push eax
call fcn.10019f90
push ecx
mov ecx, esp
mov dword [ebp + 0x44], esp
push eax
call dword [0x101377ac]
lea ecx, [ebp + 0x48]
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 eax
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 8
call dword [0x101375f4]
lea ecx, [ebp + 0x48]
mov byte [ebp - 4], 5
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
cmp dword [ebp + 0x68], ebx
jne 0x100b77ea
push str.Null_Results_pointer
push 0x3e8
push str.CPPSQLITE_ERROR
push str._s__d_:__s
mov dword [ebp - 0x4c], vtable.CppSQLite3Exception.0
mov dword [ebp - 0x48], 0x3e8
call sym.NirvanaBiz.dll_sqlite3_mprintf
add esp, 0x10
push 0x10393ee8
lea edx, [ebp - 0x4c]
push edx
mov dword [ebp - 0x44], eax
call sub.MSVCR90.dll__CxxThrowException
push str.device_cfg
lea eax, [ebp + 0x58]
push eax
call fcn.10019f90
cmp eax, ebx
sete al
cmp al, bl
je 0x100b7805
xor eax, eax
jmp 0x100b7819
push str.device_cfg
lea ecx, [ebp + 0x58]
push ecx
call fcn.10019f90
push eax
call esi
add esp, 4
mov dword [ebp + 0x24], eax
cmp dword [ebp + 0x68], ebx
jne 0x100b785c
push str.Null_Results_pointer
push 0x3e8
push str.CPPSQLITE_ERROR
push str._s__d_:__s
mov dword [ebp - 0x28], vtable.CppSQLite3Exception.0
mov dword [ebp - 0x24], 0x3e8
call sym.NirvanaBiz.dll_sqlite3_mprintf
add esp, 0x10
push 0x10393ee8
lea edx, [ebp - 0x28]
push edx
mov dword [ebp - 0x20], eax
call sub.MSVCR90.dll__CxxThrowException
push str.show_prob
lea eax, [ebp + 0x58]
push eax
call fcn.10019f90
cmp eax, ebx
sete al
cmp al, bl
je 0x100b7877
xor eax, eax
jmp 0x100b788b
push str.show_prob
lea ecx, [ebp + 0x58]
push ecx
call fcn.10019f90
push eax
call esi
add esp, 4
mov dword [ebp + 0x28], eax
cmp dword [ebp + 0x68], ebx
jne 0x100b78ce
push str.Null_Results_pointer
push 0x3e8
push str.CPPSQLITE_ERROR
push str._s__d_:__s
mov dword [ebp - 0x34], vtable.CppSQLite3Exception.0
mov dword [ebp - 0x30], 0x3e8
call sym.NirvanaBiz.dll_sqlite3_mprintf
add esp, 0x10
push 0x10393ee8
lea edx, [ebp - 0x34]
push edx
mov dword [ebp - 0x2c], eax
call sub.MSVCR90.dll__CxxThrowException
push str.mprice_factor
lea eax, [ebp + 0x58]
push eax
call fcn.10019f90
cmp eax, ebx
sete al
cmp al, bl
je 0x100b78e9
fldz
jmp 0x100b7901
push str.mprice_factor
lea ecx, [ebp + 0x58]
push ecx
call fcn.10019f90
push eax
call dword [sym.imp.MSVCR90.dll_atof]
add esp, 4
sub esp, 0x38
fstp qword [ebp + 0x30]
lea edx, [ebp]
mov ecx, esp
mov dword [ebp + 0x44], esp
push edx
call sym.NirvanaBiz.dll_public:_void___thiscall_CNVPlan::constructor_class_CNVPlan_const__
mov esi, dword [ebp + 0x74]
call fcn.1009bd20
lea ecx, [ebp + 0x18]
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]
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]
lea ecx, [ebp + 0x10]
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 + 0x54]
inc edi
jmp 0x100b7480
lea ecx, [ebp + 0x58]
mov byte [ebp - 4], 1
call fcn.10019e40
lea ecx, [ebp + 0x50]
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 al, 1
jmp 0x100b79ab
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add ebp, 0x6c
mov esp, ebp
pop ebp
ret 4