Function at 0x10032850
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009a940
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 0x100328b0
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x100328a9
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_
lea eax, [ebp + 8]
xor edi, edi
push eax
mov edx, 0x100b56a0
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x8c], edi
call fcn.10011bc0
add esp, 4
push str.SELECT__FROM_software_cache_WHERE_uninstall_regPath_like__
lea eax, [ebp - 0x38]
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 - 0x50]
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 0x1003290a
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], 3
cmp dword [ebp - 0x74], 0x10
mov esi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
jb 0x10032931
push dword [ebp - 0x88]
call esi
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], 5
call dword [sym.imp.sqlite3.dll_public:_bool___thiscall_CppSQLite3Query::eof_void_]
test al, al
jne 0x10032df0
push 0x80
call dword [sym.imp.MSVCR110.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
test eax, eax
je 0x10032970
mov ecx, eax
call fcn.100320b0
mov edi, eax
jmp 0x10032972
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 - 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 - 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 0x100329e6
xor ecx, ecx
jmp 0x100329f9
mov ecx, edx
lea ebx, [ecx + 1]
jmp 0x100329f0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100329f0
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 0x10032a2d
mov edx, dword [edx]
cmp word [edx], 0
jne 0x10032a37
xor ecx, ecx
jmp 0x10032a50
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x6c], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10032a40
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 0x10032a6b
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 0x10032a94
push dword [ebp - 0x68]
call esi
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 - 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 0x10032adf
xor ecx, ecx
jmp 0x10032aed
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10032ae4
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 0x10032b48
cmp dword [ebx + 0x14], 8
jb 0x10032b2d
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 0x10032b59
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 0x10032b82
push dword [ebp - 0x68]
call esi
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 - 0x54], 0xf
mov dword [ebp - 0x58], 0
mov byte [ebp - 0x68], 0
cmp byte [edx], 0
jne 0x10032bb2
xor ecx, ecx
jmp 0x10032bc0
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10032bb7
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 0x10032c14
cmp dword [edi + 0x14], 8
jb 0x10032bf9
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 0x10032c25
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 0x10032c4e
push dword [ebp - 0x68]
call esi
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 - 0x54], 0xf
mov dword [ebp - 0x58], 0
mov byte [ebp - 0x68], 0
cmp byte [edx], 0
jne 0x10032c7e
xor ecx, ecx
jmp 0x10032c8c
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10032c83
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 0x10032ce7
cmp dword [ebx + 0x14], 8
jb 0x10032ccc
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 0x10032cf8
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 0x10032d21
push dword [ebp - 0x68]
call esi
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 - 0x54], 0xf
mov dword [ebp - 0x58], 0
mov byte [ebp - 0x68], 0
cmp byte [edx], 0
jne 0x10032d51
xor ecx, ecx
jmp 0x10032d5f
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10032d56
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 0x10032dba
cmp dword [ebx + 0x14], 8
jb 0x10032d9f
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 0x10032dcb
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 0x10032df0
push dword [ebp - 0x68]
call esi
add esp, 4
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call dword [sym.imp.sqlite3.dll_public_virtual:_void___thiscall_CppSQLite3Query::destructor_void_]
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call dword [sym.imp.sqlite3.dll_public_virtual:_void___thiscall_CppSQLite3Statement::destructor_void_]
jmp 0x10032e1e
cmp dword [ebp - 0x3c], 8
jb 0x10032e2c
push dword [ebp - 0x50]
call esi
add esp, 4
xor eax, eax
cmp dword [ebp + 0x1c], 8
mov dword [ebp - 0x3c], 7
mov dword [ebp - 0x40], 0
mov word [ebp - 0x50], ax
jb 0x10032e4e
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