Function at 0x10033420
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009a9c2
mov eax, dword fs:[0]
push eax
sub esp, 0x74
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 0x1003347d
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x10033476
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_cmd___
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 0x100334bd
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 0x100334e1
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 0x10033971
push 0x80
call dword [sym.imp.MSVCR110.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
test eax, eax
je 0x10033520
mov ecx, eax
call fcn.100320b0
mov esi, eax
jmp 0x10033522
xor esi, esi
movzx eax, byte [0x100e8a72]
push eax
lea eax, [ebp - 0x58]
push eax
push ecx
lea eax, [ebp - 0x80]
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 - 0x7c], 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 0x1003358d
xor ecx, ecx
jmp 0x1003359b
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10033592
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 0x100335cc
mov edx, dword [edx]
cmp word [edx], 0
jne 0x100335d6
xor ecx, ecx
jmp 0x100335f0
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 0x100335e0
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 0x10033608
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 0x1003362e
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 - 0x7c], 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 0x10033676
xor ecx, ecx
jmp 0x10033689
mov ecx, edx
lea ebx, [ecx + 1]
jmp 0x10033680
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10033680
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 0x100336e1
cmp dword [ebx + 0x14], 8
jb 0x100336c6
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 0x100336ef
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 0x10033715
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 0x10033745
xor ecx, ecx
jmp 0x10033759
mov ecx, edx
lea ebx, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10033750
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 0x100337aa
cmp dword [esi + 0x14], 8
jb 0x1003378f
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 0x100337b8
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 0x100337de
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 0x1003380e
xor ecx, ecx
jmp 0x1003381c
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10033813
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 0x10033874
cmp dword [ebx + 0x14], 8
jb 0x10033859
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 0x10033882
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 0x100338a8
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 0x100338d8
xor ecx, ecx
jmp 0x100338e9
mov ecx, edx
lea ebx, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100338e0
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 0x10033941
cmp dword [ebx + 0x14], 8
jb 0x10033926
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 0x1003394f
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 0x10033971
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 0x1003399c
cmp dword [ebp + 0x1c], 8
jb 0x100339aa
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