Function at 0x100339d0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009aad0
mov eax, dword fs:[0]
push eax
sub esp, 0x88
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 0x10033a30
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x10033a29
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_
xor eax, eax
push 0xffffffffffffffff
push eax
mov word [ebp - 0x2c], ax
lea eax, [ebp + 8]
xor edi, edi
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x8c], edi
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
call fcn.10008c80
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x10033a84
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
cmp word [eax + ecx*2 - 2], 0x5c
je 0x10033a84
push 1
push 0x100a21f4
lea ecx, [ebp - 0x2c]
call fcn.10011f70
push str.SELECT__FROM_software_cache_WHERE_software_path___
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 2
mov ecx, dword [ebx + 4]
push eax
call dword [sym.imp.sqlite3.dll_public:_class_CppSQLite3Statement___thiscall_CppSQLite3DB::compileStatement_char_const__]
push 0xfde9
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x88]
push eax
mov byte [ebp - 4], 3
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], 4
cmp dword [eax + 0x14], 0x10
jb 0x10033ac2
mov eax, dword [eax]
push eax
push 1
lea ecx, [ebp - 0x50]
call dword [sym.imp.sqlite3.dll_public:_void___thiscall_CppSQLite3Statement::bind_int__char_const__]
mov byte [ebp - 4], 3
cmp dword [ebp - 0x74], 0x10
mov esi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
jb 0x10033ae9
push dword [ebp - 0x88]
call esi
add esp, 4
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x50]
call dword [sym.imp.sqlite3.dll_public:_class_CppSQLite3Query___thiscall_CppSQLite3Statement::execQuery_void_]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 5
call dword [sym.imp.sqlite3.dll_public:_bool___thiscall_CppSQLite3Query::eof_void_]
test al, al
jne 0x10033fad
push 0x80
call dword [sym.imp.MSVCR110.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
test eax, eax
je 0x10033b28
mov ecx, eax
call fcn.100320b0
mov edi, eax
jmp 0x10033b2a
xor edi, edi
movzx eax, byte [0x100e8a72]
push eax
lea eax, [ebp - 0x70]
push eax
push ecx
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebx + 0x2c]
mov dword [ebp - 0x8c], edi
mov dword [ebp - 0x70], edi
mov byte [ebp - 0x6c], 0
call fcn.10035170
lea ecx, [ebp - 0x44]
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 - 0x44]
push 0x100b375e
push str.uninstall_regPath
mov dword [ebp - 0x90], edx
mov dword [edi + 0x60], eax
call dword [sym.imp.sqlite3.dll_public:_char_const____thiscall_CppSQLite3Query::getStringField_char_const___char_const__]
mov edx, eax
mov dword [ebp - 0x54], 0xf
mov dword [ebp - 0x58], 0
mov byte [ebp - 0x68], 0
cmp byte [edx], 0
jne 0x10033b9e
xor ecx, ecx
jmp 0x10033bac
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10033ba3
sub ecx, ebx
push ecx
push edx
lea ecx, [ebp - 0x68]
call fcn.10008870
push 0xfde9
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x88]
push eax
mov byte [ebp - 4], 6
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], 7
cmp dword [edx + 0x14], 8
jb 0x10033be0
mov edx, dword [edx]
cmp word [edx], 0
jne 0x10033bea
xor ecx, ecx
jmp 0x10033c02
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x6c], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10033bf2
sub ecx, dword [ebp - 0x6c]
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 0x48]
call fcn.100089b0
cmp dword [ebp - 0x74], 8
jb 0x10033c1d
push dword [ebp - 0x88]
call esi
add esp, 4
xor eax, eax
mov byte [ebp - 4], 5
cmp dword [ebp - 0x54], 0x10
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
jb 0x10033c46
push dword [ebp - 0x68]
call esi
add esp, 4
push 0
push 0
push str.uninstall_regRoot
lea ecx, [ebp - 0x44]
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 - 0x44]
mov dword [ebp - 0x90], edx
mov dword [edi + 0x64], eax
call dword [sym.imp.sqlite3.dll_public:_char_const____thiscall_CppSQLite3Query::getStringField_char_const___char_const__]
mov edx, eax
mov dword [ebp - 0x54], 0xf
mov dword [ebp - 0x58], 0
mov byte [ebp - 0x68], 0
cmp byte [edx], 0
jne 0x10033c91
xor ecx, ecx
jmp 0x10033c9f
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10033c96
sub ecx, ebx
push ecx
push edx
lea ecx, [ebp - 0x68]
call fcn.10008870
push 0xfde9
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x88]
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_
lea ebx, [edi + 0x30]
add esp, 0xc
mov dword [ebp - 0x6c], eax
cmp ebx, eax
je 0x10033cfa
cmp dword [ebx + 0x14], 8
jb 0x10033cdf
push dword [ebx]
call esi
mov eax, dword [ebp - 0x6c]
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 - 0x74], 8
jb 0x10033d0b
push dword [ebp - 0x88]
call esi
add esp, 4
xor eax, eax
mov byte [ebp - 4], 5
cmp dword [ebp - 0x54], 0x10
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
jb 0x10033d34
push dword [ebp - 0x68]
call esi
add esp, 4
push 0x100b375e
push str.software_name
lea ecx, [ebp - 0x44]
call dword [sym.imp.sqlite3.dll_public:_char_const____thiscall_CppSQLite3Query::getStringField_char_const___char_const__]
mov edx, eax
mov dword [ebp - 0x54], 0xf
mov dword [ebp - 0x58], 0
mov byte [ebp - 0x68], 0
cmp byte [edx], 0
jne 0x10033d64
xor ecx, ecx
jmp 0x10033d79
mov ecx, edx
lea ebx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10033d70
sub ecx, ebx
push ecx
push edx
lea ecx, [ebp - 0x68]
call fcn.10008870
push 0xfde9
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x88]
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_
mov ebx, eax
add esp, 0xc
cmp edi, ebx
je 0x10033dcd
cmp dword [edi + 0x14], 8
jb 0x10033db2
push dword [edi]
call esi
add esp, 4
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
push ebx
mov ecx, edi
mov word [edi], ax
call fcn.1000d5d0
cmp dword [ebp - 0x74], 8
jb 0x10033dde
push dword [ebp - 0x88]
call esi
add esp, 4
xor eax, eax
mov byte [ebp - 4], 5
cmp dword [ebp - 0x54], 0x10
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
jb 0x10033e07
push dword [ebp - 0x68]
call esi
add esp, 4
push 0x100b375e
push str.software_path
lea ecx, [ebp - 0x44]
call dword [sym.imp.sqlite3.dll_public:_char_const____thiscall_CppSQLite3Query::getStringField_char_const___char_const__]
mov edx, eax
mov dword [ebp - 0x54], 0xf
mov dword [ebp - 0x58], 0
mov byte [ebp - 0x68], 0
cmp byte [edx], 0
jne 0x10033e37
xor ecx, ecx
jmp 0x10033e49
mov ecx, edx
lea ebx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10033e40
sub ecx, ebx
push ecx
push edx
lea ecx, [ebp - 0x68]
call fcn.10008870
push 0xfde9
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x88]
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, [edi + 0x18]
add esp, 0xc
mov dword [ebp - 0x6c], eax
cmp ebx, eax
je 0x10033ea4
cmp dword [ebx + 0x14], 8
jb 0x10033e89
push dword [ebx]
call esi
mov eax, dword [ebp - 0x6c]
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 - 0x74], 8
jb 0x10033eb5
push dword [ebp - 0x88]
call esi
add esp, 4
xor eax, eax
mov byte [ebp - 4], 5
cmp dword [ebp - 0x54], 0x10
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
jb 0x10033ede
push dword [ebp - 0x68]
call esi
add esp, 4
push 0x100b375e
push str.uninstall_msi
lea ecx, [ebp - 0x44]
call dword [sym.imp.sqlite3.dll_public:_char_const____thiscall_CppSQLite3Query::getStringField_char_const___char_const__]
mov edx, eax
mov dword [ebp - 0x54], 0xf
mov dword [ebp - 0x58], 0
mov byte [ebp - 0x68], 0
cmp byte [edx], 0
jne 0x10033f0e
xor ecx, ecx
jmp 0x10033f1c
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10033f13
sub ecx, ebx
push ecx
push edx
lea ecx, [ebp - 0x68]
call fcn.10008870
push 0xfde9
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x88]
push eax
mov byte [ebp - 4], 0xb
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, [edi + 0x68]
add esp, 0xc
mov dword [ebp - 0x6c], eax
cmp ebx, eax
je 0x10033f77
cmp dword [ebx + 0x14], 8
jb 0x10033f5c
push dword [ebx]
call esi
mov eax, dword [ebp - 0x6c]
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 - 0x74], 8
jb 0x10033f88
push dword [ebp - 0x88]
call esi
add esp, 4
xor eax, eax
cmp dword [ebp - 0x54], 0x10
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
jb 0x10033fad
push dword [ebp - 0x68]
call esi
add esp, 4
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call dword [sym.imp.sqlite3.dll_public_virtual:_void___thiscall_CppSQLite3Query::destructor_void_]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
call dword [sym.imp.sqlite3.dll_public_virtual:_void___thiscall_CppSQLite3Statement::destructor_void_]
jmp 0x10033fdb
cmp dword [ebp - 0x18], 8
jb 0x10033fe9
push dword [ebp - 0x2c]
call esi
add esp, 4
xor eax, eax
cmp dword [ebp + 0x1c], 8
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
jb 0x1003400b
push dword [ebp + 8]
call esi
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 ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100947be
mov esp, ebp
pop ebp
ret 0x18