Function at 0x10020300
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10133dd7
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 - 4], ebx
mov dword [ebp - 0x28], vtable.CppSQLite3DB.0
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], 0xea60
push ecx
mov byte [ebp - 4], 1
mov esi, esp
mov eax, edi
mov dword [ebp - 0x14], esp
call fcn.1001e930
lea eax, [ebp - 0x28]
push eax
push edi
call fcn.1001ea50
cmp eax, ebx
jne 0x1002037f
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x100206d6
push ebx
call fcn.10082060
add esp, 4
jmp 0x100206d6
lea ecx, [ebp - 0x14]
call dword [0x1013762c]
mov ebx, 2
mov byte [ebp - 4], bl
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x14]
push str.SELECT__FROM_my_running_list_WHERE_program_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, 8
mov byte [ebp - 4], 3
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x18], 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], 4
call fcn.10019f40
lea ecx, [ebp - 0x48]
cmp eax, 1
jne 0x10020613
xor eax, eax
call fcn.1001a0f0
push str.user_id
lea eax, [ebp - 0x48]
call fcn.1001a090
test al, al
je 0x10020403
mov esi, dword [sym.imp.MSVCR90.dll_atoi]
or eax, 0xffffffff
jmp 0x1002041d
push str.user_id
lea edx, [ebp - 0x48]
push edx
call fcn.10019f90
mov esi, dword [sym.imp.MSVCR90.dll_atoi]
push eax
call esi
add esp, 4
mov ecx, dword [ebp + 0x10]
push 0
mov dword [ecx], eax
push str.user_name
lea eax, [ebp - 0x48]
call fcn.1001a090
test al, al
je 0x1002043c
mov eax, 0x10138e32
jmp 0x1002044a
push str.user_name
lea edx, [ebp - 0x48]
push edx
call fcn.10019f90
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call dword [0x101377ac]
lea eax, [ebp + 0x10]
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
mov ecx, dword [ebp + 0x14]
push eax
mov byte [ebp - 4], 5
call dword [0x101375f4]
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 4
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 0
push str.bid_settings
lea eax, [ebp - 0x48]
call fcn.1001a090
test al, al
je 0x10020498
mov eax, 0x10138e32
jmp 0x100204a6
push str.bid_settings
lea ecx, [ebp - 0x48]
push ecx
call fcn.10019f90
push ecx
mov ecx, esp
mov dword [ebp + 0x14], esp
push eax
call dword [0x101377ac]
lea edx, [ebp + 0x10]
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 ecx, dword [ebp + 0x18]
push eax
mov byte [ebp - 4], 6
call dword [0x101375f4]
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 4
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 0
push str.auto_settings
lea eax, [ebp - 0x48]
call fcn.1001a090
test al, al
je 0x100204f4
mov eax, 0x10138e32
jmp 0x10020502
push str.auto_settings
lea eax, [ebp - 0x48]
push eax
call fcn.10019f90
push ecx
mov ecx, esp
mov dword [ebp + 0x14], esp
push eax
call dword [0x101377ac]
lea ecx, [ebp + 0x10]
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 ecx, dword [ebp + 0x1c]
push eax
mov byte [ebp - 4], 7
call dword [0x101375f4]
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 4
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 str.total_count
lea eax, [ebp - 0x48]
call fcn.1001a090
test al, al
je 0x1002054b
xor eax, eax
jmp 0x1002055f
push str.total_count
lea edx, [ebp - 0x48]
push edx
call fcn.10019f90
push eax
call esi
add esp, 4
mov ecx, dword [ebp + 0x20]
mov dword [ecx], eax
push str.completed_count
lea eax, [ebp - 0x48]
call fcn.1001a090
test al, al
je 0x10020579
xor eax, eax
jmp 0x1002058d
push str.completed_count
lea edx, [ebp - 0x48]
push edx
call fcn.10019f90
push eax
call esi
add esp, 4
mov ecx, dword [ebp + 0x24]
mov dword [ecx], eax
push str.create_date
lea eax, [ebp - 0x48]
call fcn.1001a090
test al, al
je 0x100205a7
xor eax, eax
jmp 0x100205bb
push str.create_date
lea edx, [ebp - 0x48]
push edx
call fcn.10019f90
push eax
call esi
add esp, 4
mov ecx, dword [ebp + 0x28]
mov dword [ecx], eax
lea ecx, [ebp - 0x48]
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], 0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], vtable.CppSQLite3DB.0
test eax, eax
je 0x100205f1
push 0
call fcn.10082060
add esp, 4
lea ecx, [ebp + 0xc]
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 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 0x24
mov byte [ebp - 4], 3
call fcn.10019e40
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
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], 0
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x100206d6
push 0
call fcn.10082060
add esp, 4
jmp 0x100206d6
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
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 0x24