Function at 0x1001bca0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013438c
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
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 - 0x28], vtable.CppSQLite3DB.0
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], 0xea60
push ecx
mov esi, esp
mov eax, edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], esp
call fcn.1001e930
lea eax, [ebp - 0x28]
push eax
push edi
call fcn.1001ea50
cmp eax, ebx
je 0x1001bee1
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_id_title_FROM_my_bidsetting_list_WHERE_user_id_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, 0xc
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp + 0xc], esp
push eax
lea esi, [ebp - 0x28]
call dword [0x1013761c]
lea ecx, [ebp - 0x48]
push ecx
push edi
mov ecx, esi
call fcn.10020a50
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.10019f40
mov edi, dword [ebp + 0x10]
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.10020c50
cmp esi, ebx
jle 0x1001be18
cmp ebx, esi
jge 0x1001be18
mov eax, ebx
lea ecx, [ebp - 0x48]
call fcn.1001a0f0
push 0x10370438
lea eax, [ebp - 0x48]
call fcn.1001a090
test al, al
je 0x1001bd8e
or edi, 0xffffffff
jmp 0x1001bda8
push 0x10370438
lea edx, [ebp - 0x48]
push edx
call fcn.10019f90
push eax
call dword [sym.imp.MSVCR90.dll_atoi]
add esp, 4
mov edi, eax
push 0
push str.title
lea eax, [ebp - 0x48]
call fcn.1001a090
test al, al
je 0x1001bdc2
mov eax, 0x10138e32
jmp 0x1001bdd0
push str.title
lea eax, [ebp - 0x48]
push eax
call fcn.10019f90
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call dword [0x101377ac]
lea ecx, [ebp + 0xc]
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 byte [ebp - 4], 4
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
push edi
call fcn.10020cb0
push esi
mov ecx, eax
call dword [0x10137600]
lea ecx, [ebp + 0xc]
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 esi, dword [ebp - 0x18]
inc ebx
jmp 0x1001bd66
lea ecx, [ebp - 0x48]
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 - 0x24]
mov dword [ebp - 0x28], vtable.CppSQLite3DB.0
test eax, eax
je 0x1001be4c
push 0
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 0xc
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x1001bef8
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 0xc