Function at 0x1002e03d
Capabilities:
Reference sql statements

Disassembly:
push 0x90
mov eax, 0x101c7d6e
call fcn.10186cc3
mov ebx, edx
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x90], eax
call fcn.100dd030
test eax, eax
jne 0x1002e266
mov dword [ebp - 4], 2
and dword [ebp - 0x8c], eax
cmp dword [esi + 0x14], 0x10
jb 0x1002e07b
mov esi, dword [esi]
push 0
push 0x10001
lea edx, [ebp - 0x8c]
mov ecx, esi
call fcn.100e0640
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x1002e124
push str.sqlite3_open_v2___failed_with:
lea ecx, [ebp - 0x40]
call fcn.100041c0
mov byte [ebp - 4], 3
push dword [ebp - 0x8c]
call fcn.100df9f0
pop ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.10004000
mov edx, esi
lea ecx, [ebp - 0x70]
call fcn.1002e64a
push eax
mov edx, 0x101f5c24
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.10006160
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x58]
mov edx, eax
mov dword [esp], 0x101f5c20
call fcn.10019c67
pop ecx
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 6
call fcn.10004030
lea ecx, [ebp - 0x58]
call fcn.10004080
lea ecx, [ebp - 0x28]
call fcn.10004080
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 3
call fcn.10004080
lea eax, [ebp - 0x40]
jmp 0x1002e28a
mov edi, dword [ebp - 0x8c]
mov dword [ebp - 0x18], fcn.100de230
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x90]
and dword [ebp - 0x8c], 0
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x9c], ebx
push eax
push 0x1002df00
push str.SELECT_ip.productId__p.name__ibp.installationpath_FROM_InstalledProducts_ip_INNER_JOIN_Products_p_ON_ip.productId__p.id_INNER_JOIN_InstalledBaseProducts_ibp_ON_ibp.productId__COALESCE_p.parentId__ip.productId__INNER_JOIN_ProductStates_ps_ON_COALESCE_p.parentId__ip.productId___ps.productId_WHERE_ps.operation__0
push edi
call fcn.100a94a0
mov esi, dword [ebp - 0x8c]
add esp, 0x14
mov ebx, eax
mov dword [ebp - 0x94], fcn.1004ddd0
mov dword [ebp - 0x90], esi
mov byte [ebp - 4], 8
test ebx, ebx
je 0x1002e236
push str.sqlite3_exec___failed_with:
lea ecx, [ebp - 0x58]
call fcn.100041c0
mov byte [ebp - 4], 9
test esi, esi
je 0x1002e1bf
lea ecx, [ebp - 0x94]
call fcn.100135db
push eax
lea ecx, [ebp - 0x58]
call fcn.10004000
mov edx, ebx
lea ecx, [ebp - 0x88]
call fcn.1002e64a
push eax
mov edx, 0x101f5c24
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x40]
call fcn.10006160
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x70]
mov edx, eax
mov dword [esp], 0x101f5c20
call fcn.10019c67
pop ecx
push eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xc
call fcn.10004030
lea ecx, [ebp - 0x70]
call fcn.10004080
lea ecx, [ebp - 0x40]
call fcn.10004080
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 9
call fcn.10004080
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x34]
call fcn.10001430
push 0x10229d38
lea eax, [ebp - 0x34]
jmp 0x1002e29b
mov byte [ebp - 4], 0xd
test esi, esi
je 0x1002e245
push esi
call fcn.1004ddd0
pop ecx
mov byte [ebp - 4], 0xe
test edi, edi
je 0x1002e254
push edi
call fcn.100de230
pop ecx
mov dword [ebp - 4], 0xf
call fcn.100dd4e0
call fcn.10186c6d
ret
mov edx, eax
lea ecx, [ebp - 0x88]
call fcn.1002e64a
and dword [ebp - 4], 0
lea ecx, [ebp - 0x70]
push eax
mov edx, str.sqlite3_initialize___failed_with
call fcn.10006160
pop ecx
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x1c]
call fcn.10001430
push 0x10229d38
lea eax, [ebp - 0x1c]
push eax
call fcn.101878e5
int3