Function at 0x1001bf20
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10134326
mov eax, dword fs:[0]
push eax
sub esp, 0x44
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 - 0x18], ebx
mov dword [ebp - 0x2c], vtable.CppSQLite3DB.0
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], 0xea60
push ecx
mov dword [ebp - 4], 1
mov esi, esp
mov eax, edi
mov dword [ebp - 0x14], esp
call fcn.1001e930
lea eax, [ebp - 0x2c]
push eax
push edi
call fcn.1001ea50
cmp eax, ebx
je 0x1001c17e
lea ecx, [ebp - 0x14]
call dword [0x1013762c]
mov edx, dword [ebp + 0x10]
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 0x14]
push ecx
push edx
lea eax, [ebp - 0x14]
push str.SELECT_settings_FROM_my_bidsetting_list_WHERE_user_id_ld_AND_id_d
push eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
add esp, 0x10
push ecx
lea edx, [ebp - 0x14]
mov ecx, esp
mov dword [ebp + 0x14], esp
push edx
lea esi, [ebp - 0x2c]
call dword [0x1013761c]
lea eax, [ebp - 0x4c]
push eax
push edi
mov ecx, esi
call fcn.10020a50
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 4
call fcn.10019f40
mov esi, 1
cmp eax, esi
jne 0x1001c097
xor eax, eax
lea ecx, [ebp - 0x4c]
call fcn.1001a0f0
push ebx
push str.settings
lea eax, [ebp - 0x4c]
call fcn.1001a090
cmp al, bl
je 0x1001c00c
mov eax, 0x10138e32
jmp 0x1001c01a
push str.settings
lea ecx, [ebp - 0x4c]
push ecx
call fcn.10019f90
push ecx
mov ecx, esp
mov dword [ebp + 0x10], esp
push eax
call dword [0x101377ac]
lea edx, [ebp + 0x14]
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
mov byte [ebp - 4], 5
mov edi, dword [ebp + 0xc]
lea eax, [ebp + 0x14]
push eax
mov ecx, edi
call dword [0x1013761c]
lea ecx, [ebp + 0x14]
mov dword [ebp - 0x18], 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 - 0x4c]
mov byte [ebp - 4], 3
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 byte [ebp - 4], bl
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], vtable.CppSQLite3DB.0
cmp eax, ebx
je 0x1001c081
push ebx
call fcn.10082060
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [edi + 0x44]
cmp ecx, ebx
je 0x1001c0a8
push 0x103704ec
call sub.NirvanaUtils.dll_public:_long_int___thiscall_GLog::WriteLog_wchar_t_const__
mov edi, dword [ebp + 0xc]
push 0x10137da4
mov ecx, edi
call dword [0x10137604]
mov dword [ebp - 0x18], esi
jmp 0x1001c052
mov esi, dword [ebp + 0xc]
push 0x10137da4
mov ecx, esi
call dword [0x10137604]
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], 1
cmp eax, ebx
je 0x1001c1a8
push ebx
call fcn.10082060
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10