Function at 0x10032e70
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009aa42
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x100e6018]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebx + 0x20], eax
je 0x10032ecd
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x10032ec6
call dword [sym.imp.sqlite3.dll_public:_void___thiscall_CppSQLite3DB::close_void_]
mov dword [ebx + 4], 0
mov ecx, ebx
call sym.iImportLib.dll_public:_int___thiscall_UninstCache::initDB_void_
push str.SELECT__FROM_software_cache_WHERE_uninstall_msi___
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 1
mov ecx, dword [ebx + 4]
xor esi, esi
push eax
mov dword [ebp - 0x74], esi
call dword [sym.imp.sqlite3.dll_public:_class_CppSQLite3Statement___thiscall_CppSQLite3DB::compileStatement_char_const__]
push 0xfde9
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x70]
push eax
mov byte [ebp - 4], 2
call sym.iImportLib.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_elex::strings::ws2s_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___unsigned_int_
add esp, 0xc
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 0x10
jb 0x10032f0d
mov eax, dword [eax]
push eax
push 1
lea ecx, [ebp - 0x38]
call dword [sym.imp.sqlite3.dll_public:_void___thiscall_CppSQLite3Statement::bind_int__char_const__]
mov byte [ebp - 4], 2
cmp dword [ebp - 0x5c], 0x10
mov edi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
jb 0x10032f31
push dword [ebp - 0x70]
call edi
add esp, 4
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x38]
call dword [sym.imp.sqlite3.dll_public:_class_CppSQLite3Query___thiscall_CppSQLite3Statement::execQuery_void_]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call dword [sym.imp.sqlite3.dll_public:_bool___thiscall_CppSQLite3Query::eof_void_]
test al, al
jne 0x100333c1
push 0x80
call dword [sym.imp.MSVCR110.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
test eax, eax
je 0x10032f70
mov ecx, eax
call fcn.100320b0
mov esi, eax
jmp 0x10032f72
xor esi, esi
movzx eax, byte [0x100e8a72]
push eax
lea eax, [ebp - 0x58]
push eax
push ecx
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebx + 0x2c]
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x58], esi
mov byte [ebp - 0x54], 0
call fcn.10035170
lea ecx, [ebp - 0x2c]
push 0
push 0
push str.uninstall_regWow64
call dword [sym.imp.sqlite3.dll_public:_long_long___int64____thiscall_CppSQLite3Query::getInt64Field_char_const___long_long___int64__]
lea ecx, [ebp - 0x2c]
push 0x100b375e
push str.uninstall_regPath
mov dword [ebp - 0x78], edx
mov dword [esi + 0x60], eax
call dword [sym.imp.sqlite3.dll_public:_char_const____thiscall_CppSQLite3Query::getStringField_char_const___char_const__]
mov edx, eax
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x50], 0
cmp byte [edx], 0
jne 0x10032fdd
xor ecx, ecx
jmp 0x10032feb
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10032fe2
sub ecx, ebx
push ecx
push edx
lea ecx, [ebp - 0x50]
call fcn.10008870
push 0xfde9
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x70]
push eax
mov byte [ebp - 4], 5
call sym.iImportLib.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_elex::strings::s2ws_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int_
add esp, 0xc
mov edx, eax
mov byte [ebp - 4], 6
cmp dword [edx + 0x14], 8
jb 0x1003301c
mov edx, dword [edx]
cmp word [edx], 0
jne 0x10033026
xor ecx, ecx
jmp 0x10033040
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x54], eax
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10033030
sub ecx, dword [ebp - 0x54]
sar ecx, 1
push ecx
push edx
lea ecx, [esi + 0x48]
call fcn.100089b0
cmp dword [ebp - 0x5c], 8
jb 0x10033058
push dword [ebp - 0x70]
call edi
add esp, 4
xor eax, eax
mov byte [ebp - 4], 4
cmp dword [ebp - 0x3c], 0x10
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
jb 0x1003307e
push dword [ebp - 0x50]
call edi
add esp, 4
push 0
push 0
push str.uninstall_regRoot
lea ecx, [ebp - 0x2c]
call dword [sym.imp.sqlite3.dll_public:_long_long___int64____thiscall_CppSQLite3Query::getInt64Field_char_const___long_long___int64__]
push 0x100b375e
push str.uninstall_cmd
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x78], edx
mov dword [esi + 0x64], eax
call dword [sym.imp.sqlite3.dll_public:_char_const____thiscall_CppSQLite3Query::getStringField_char_const___char_const__]
mov edx, eax
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x50], 0
cmp byte [edx], 0
jne 0x100330c6
xor ecx, ecx
jmp 0x100330d9
mov ecx, edx
lea ebx, [ecx + 1]
jmp 0x100330d0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100330d0
sub ecx, ebx
push ecx
push edx
lea ecx, [ebp - 0x50]
call fcn.10008870
push 0xfde9
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x70]
push eax
mov byte [ebp - 4], 7
call sym.iImportLib.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_elex::strings::s2ws_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int_
lea ebx, [esi + 0x30]
add esp, 0xc
mov dword [ebp - 0x54], eax
cmp ebx, eax
je 0x10033131
cmp dword [ebx + 0x14], 8
jb 0x10033116
push dword [ebx]
call edi
mov eax, dword [ebp - 0x54]
add esp, 4
xor ecx, ecx
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov word [ebx], cx
push eax
mov ecx, ebx
call fcn.1000d5d0
cmp dword [ebp - 0x5c], 8
jb 0x1003313f
push dword [ebp - 0x70]
call edi
add esp, 4
xor eax, eax
mov byte [ebp - 4], 4
cmp dword [ebp - 0x3c], 0x10
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
jb 0x10033165
push dword [ebp - 0x50]
call edi
add esp, 4
push 0x100b375e
push str.software_name
lea ecx, [ebp - 0x2c]
call dword [sym.imp.sqlite3.dll_public:_char_const____thiscall_CppSQLite3Query::getStringField_char_const___char_const__]
mov edx, eax
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x50], 0
cmp byte [edx], 0
jne 0x10033195
xor ecx, ecx
jmp 0x100331a9
mov ecx, edx
lea ebx, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100331a0
sub ecx, ebx
push ecx
push edx
lea ecx, [ebp - 0x50]
call fcn.10008870
push 0xfde9
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x70]
push eax
mov byte [ebp - 4], 8
call sym.iImportLib.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_elex::strings::s2ws_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int_
mov ebx, eax
add esp, 0xc
cmp esi, ebx
je 0x100331fa
cmp dword [esi + 0x14], 8
jb 0x100331df
push dword [esi]
call edi
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
push ebx
mov ecx, esi
mov word [esi], ax
call fcn.1000d5d0
cmp dword [ebp - 0x5c], 8
jb 0x10033208
push dword [ebp - 0x70]
call edi
add esp, 4
xor eax, eax
mov byte [ebp - 4], 4
cmp dword [ebp - 0x3c], 0x10
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
jb 0x1003322e
push dword [ebp - 0x50]
call edi
add esp, 4
push 0x100b375e
push str.software_path
lea ecx, [ebp - 0x2c]
call dword [sym.imp.sqlite3.dll_public:_char_const____thiscall_CppSQLite3Query::getStringField_char_const___char_const__]
mov edx, eax
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x50], 0
cmp byte [edx], 0
jne 0x1003325e
xor ecx, ecx
jmp 0x1003326c
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10033263
sub ecx, ebx
push ecx
push edx
lea ecx, [ebp - 0x50]
call fcn.10008870
push 0xfde9
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x70]
push eax
mov byte [ebp - 4], 9
call sym.iImportLib.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_elex::strings::s2ws_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int_
lea ebx, [esi + 0x18]
add esp, 0xc
mov dword [ebp - 0x54], eax
cmp ebx, eax
je 0x100332c4
cmp dword [ebx + 0x14], 8
jb 0x100332a9
push dword [ebx]
call edi
mov eax, dword [ebp - 0x54]
add esp, 4
xor ecx, ecx
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov word [ebx], cx
push eax
mov ecx, ebx
call fcn.1000d5d0
cmp dword [ebp - 0x5c], 8
jb 0x100332d2
push dword [ebp - 0x70]
call edi
add esp, 4
xor eax, eax
mov byte [ebp - 4], 4
cmp dword [ebp - 0x3c], 0x10
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
jb 0x100332f8
push dword [ebp - 0x50]
call edi
add esp, 4
push 0x100b375e
push str.uninstall_msi
lea ecx, [ebp - 0x2c]
call dword [sym.imp.sqlite3.dll_public:_char_const____thiscall_CppSQLite3Query::getStringField_char_const___char_const__]
mov edx, eax
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x50], 0
cmp byte [edx], 0
jne 0x10033328
xor ecx, ecx
jmp 0x10033339
mov ecx, edx
lea ebx, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10033330
sub ecx, ebx
push ecx
push edx
lea ecx, [ebp - 0x50]
call fcn.10008870
push 0xfde9
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x70]
push eax
mov byte [ebp - 4], 0xa
call sym.iImportLib.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_elex::strings::s2ws_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int_
lea ebx, [esi + 0x68]
add esp, 0xc
mov dword [ebp - 0x54], eax
cmp ebx, eax
je 0x10033391
cmp dword [ebx + 0x14], 8
jb 0x10033376
push dword [ebx]
call edi
mov eax, dword [ebp - 0x54]
add esp, 4
xor ecx, ecx
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov word [ebx], cx
push eax
mov ecx, ebx
call fcn.1000d5d0
cmp dword [ebp - 0x5c], 8
jb 0x1003339f
push dword [ebp - 0x70]
call edi
add esp, 4
xor eax, eax
cmp dword [ebp - 0x3c], 0x10
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
jb 0x100333c1
push dword [ebp - 0x50]
call edi
add esp, 4
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call dword [sym.imp.sqlite3.dll_public_virtual:_void___thiscall_CppSQLite3Query::destructor_void_]
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call dword [sym.imp.sqlite3.dll_public_virtual:_void___thiscall_CppSQLite3Statement::destructor_void_]
jmp 0x100333ec
cmp dword [ebp + 0x1c], 8
jb 0x100333fa
push dword [ebp + 8]
call edi
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 ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100947be
mov esp, ebp
pop ebp
ret 0x18