Function at 0x421a60
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x429f12
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x442060]
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 + 0x1c], eax
je 0x421abb
mov ecx, dword [ebx]
test ecx, ecx
je 0x421ab4
call dword [sym.imp.sqlite3.dll_public:_void___thiscall_CppSQLite3DB::close_void_]
mov dword [ebx], 0
mov ecx, ebx
call fcn.00421630
push str.SELECT__FROM_software_cache_WHERE_uninstall_cmd___
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 1
mov ecx, dword [ebx]
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 ecx
lea edx, [ebp + 8]
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 2
call fcn.0041afe0
add esp, 4
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 0x10
jb 0x421af4
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 0x421b18
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 0x421f81
push 0x80
call dword [sym.imp.MSVCR110.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
test eax, eax
je 0x421b57
mov ecx, eax
call fcn.00421a10
mov esi, eax
jmp 0x421b59
xor esi, esi
movzx eax, byte [0x445a06]
push eax
lea eax, [ebp - 0x58]
push eax
push ecx
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebx + 0x28]
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x58], esi
mov byte [ebp - 0x54], 0
call fcn.00422300
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 0x42eefa
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 0x421bc4
xor ecx, ecx
jmp 0x421bd9
mov ecx, edx
lea ebx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x421bd0
sub ecx, ebx
push ecx
push edx
lea ecx, [ebp - 0x50]
call fcn.0040e490
push ecx
lea edx, [ebp - 0x50]
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 5
call fcn.0041b0f0
add esp, 4
mov edx, eax
mov byte [ebp - 4], 6
cmp dword [edx + 0x14], 8
jb 0x421c04
mov edx, dword [edx]
cmp word [edx], 0
jne 0x421c0e
xor ecx, ecx
jmp 0x421c26
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x54], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x421c16
sub ecx, dword [ebp - 0x54]
sar ecx, 1
push ecx
push edx
lea ecx, [esi + 0x48]
call fcn.00406980
cmp dword [ebp - 0x5c], 8
jb 0x421c3e
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 0x421c64
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 0x42eefa
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 0x421cac
xor ecx, ecx
jmp 0x421cba
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x421cb1
sub ecx, ebx
push ecx
push edx
lea ecx, [ebp - 0x50]
call fcn.0040e490
push ecx
lea edx, [ebp - 0x50]
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 7
call fcn.0041b0f0
lea ebx, [esi + 0x30]
add esp, 4
mov dword [ebp - 0x54], eax
cmp ebx, eax
je 0x421d0c
cmp dword [ebx + 0x14], 8
jb 0x421cf1
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.004067c0
cmp dword [ebp - 0x5c], 8
jb 0x421d1a
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 0x421d40
push dword [ebp - 0x50]
call edi
add esp, 4
push 0x42eefa
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 0x421d70
xor ecx, ecx
jmp 0x421d7e
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x421d75
sub ecx, ebx
push ecx
push edx
lea ecx, [ebp - 0x50]
call fcn.0040e490
push ecx
lea edx, [ebp - 0x50]
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 8
call fcn.0041b0f0
mov ebx, eax
add esp, 4
cmp esi, ebx
je 0x421dc9
cmp dword [esi + 0x14], 8
jb 0x421dae
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.004067c0
cmp dword [ebp - 0x5c], 8
jb 0x421dd7
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 0x421dfd
push dword [ebp - 0x50]
call edi
add esp, 4
push 0x42eefa
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 0x421e2d
xor ecx, ecx
jmp 0x421e3b
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x421e32
sub ecx, ebx
push ecx
push edx
lea ecx, [ebp - 0x50]
call fcn.0040e490
push ecx
lea edx, [ebp - 0x50]
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 9
call fcn.0041b0f0
lea ebx, [esi + 0x18]
add esp, 4
mov dword [ebp - 0x54], eax
cmp ebx, eax
je 0x421e8d
cmp dword [ebx + 0x14], 8
jb 0x421e72
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.004067c0
cmp dword [ebp - 0x5c], 8
jb 0x421e9b
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 0x421ec1
push dword [ebp - 0x50]
call edi
add esp, 4
push 0x42eefa
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 0x421ef1
xor ecx, ecx
jmp 0x421eff
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x421ef6
sub ecx, ebx
push ecx
push edx
lea ecx, [ebp - 0x50]
call fcn.0040e490
push ecx
lea edx, [ebp - 0x50]
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xa
call fcn.0041b0f0
lea ebx, [esi + 0x68]
add esp, 4
mov dword [ebp - 0x54], eax
cmp ebx, eax
je 0x421f51
cmp dword [ebx + 0x14], 8
jb 0x421f36
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.004067c0
cmp dword [ebp - 0x5c], 8
jb 0x421f5f
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 0x421f81
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 0x421fac
cmp dword [ebp + 0x1c], 8
jb 0x421fba
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.004258f6
mov esp, ebp
pop ebp
ret 0x18