Function at 0x1011a778
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, eax
xor eax, eax
sub esp, 0xbc
mov dword [ebp - 0x94], edx
lea edx, [ebp - 0x48]
mov dword [ebp - 0x98], ecx
mov edi, edx
mov ecx, 2
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
xor eax, eax
cmp dword [ebx + 0x24], 0
rep stosd dword es:[edi], eax
mov eax, dword [ebx]
mov dword [ebp - 0x74], eax
jne 0x1011ac95
mov edx, dword [ebp - 0x94]
mov eax, ebx
call sym._sqlite3SrcListLookup
mov esi, eax
test eax, eax
je 0x1011ac95
xor eax, eax
mov ecx, pe_nt_image_headers32
mov edx, esi
mov dword [esp + 4], eax
mov dword [esp], eax
mov eax, ebx
call sym._sqlite3TriggersExist
mov dword [ebp - 0x70], 1
mov dword [ebp - 0xa4], eax
mov al, byte [esi + 0x2b]
cmp dword [ebp - 0xa4], 0
mov byte [ebp - 0x99], al
jne 0x1011a81f
xor eax, eax
xor ecx, ecx
mov edx, esi
mov dword [esp], eax
mov eax, dword [ebx]
call sym._sqlite3FkRequired.isra.0
test eax, eax
setne al
movzx eax, al
mov dword [ebp - 0x70], eax
mov edx, esi
mov eax, ebx
call sym._sqlite3ViewGetColumnNames
test eax, eax
jne 0x1011ac95
xor ecx, ecx
cmp dword [ebp - 0xa4], 0
mov edx, esi
mov eax, ebx
setne cl
call sym._sqlite3IsReadOnly
mov dword [ebp - 0x8c], eax
test eax, eax
jne 0x1011ac95
mov edx, dword [esi + 0x3c]
mov eax, dword [ebp - 0x74]
call sym._sqlite3SchemaToIndex
mov edi, dword [ebp - 0x74]
mov edx, 9
mov dword [ebp - 0x64], eax
shl eax, 4
add eax, dword [edi + 0x10]
xor edi, edi
mov eax, dword [eax]
mov dword [esp], edi
mov dword [esp + 4], eax
mov ecx, dword [esi]
mov eax, ebx
call sym._sqlite3AuthCheck
mov dword [ebp - 0x78], eax
dec eax
je 0x1011ac95
mov eax, dword [ebx + 0x28]
mov dword [ebp - 0x68], eax
inc eax
mov edi, dword [ebp - 0x68]
mov dword [ebx + 0x28], eax
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x94]
mov dword [eax + 0x34], edi
mov eax, dword [esi + 8]
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
je 0x1011a8c6
mov eax, dword [ebp - 0x60]
inc dword [ebx + 0x28]
inc dword [ebp - 0x8c]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x60], eax
jmp 0x1011a8ac
cmp byte [ebp - 0x99], 2
jne 0x1011a8e3
mov eax, dword [esi]
mov edx, dword [ebx + 0xf8]
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], edx
mov dword [ebx + 0xf8], eax
mov eax, ebx
call sym._sqlite3GetVdbe
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x1011ac95
cmp byte [ebx + 0x12], 0
jne 0x1011a902
or byte [eax + 0x98], 0x10
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x70]
mov eax, ebx
call sym._sqlite3BeginWriteOperation
cmp byte [ebp - 0x99], 2
jne 0x1011a936
mov eax, dword [ebp - 0x68]
mov edx, esi
mov dword [esp], eax
mov ecx, dword [ebp - 0x98]
mov eax, ebx
call sym._sqlite3MaterializeView.constprop.0
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], eax
lea edx, [ebp - 0x30]
xor eax, eax
mov ecx, 6
mov dword [ebp - 0x38], ebx
mov edi, edx
mov edx, dword [ebp - 0x98]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x38]
call sym._sqlite3ResolveExprNames
mov dword [ebp - 0x84], eax
test eax, eax
jne 0x1011ac95
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x6c], 0
mov eax, dword [eax + 0x24]
and eax, 1
je 0x1011a9af
cmp byte [ebx + 0x12], 0
jne 0x1011a9af
cmp dword [ebx + 0x78], 0
jne 0x1011a9af
cmp byte [ebx + 0x95], 0
jne 0x1011a9af
mov eax, dword [ebx + 0x2c]
xor ecx, ecx
mov edx, 0x47
inc eax
mov dword [ebp - 0x6c], eax
mov dword [ebx + 0x2c], eax
mov dword [esp], eax
mov eax, dword [ebp - 0x5c]
call sym._sqlite3VdbeAddOp2
mov eax, dword [ebp - 0x78]
or eax, dword [ebp - 0x98]
jne 0x1011aa9c
cmp dword [ebp - 0x70], 0
jne 0x1011aab0
cmp byte [esi + 0x2b], 1
je 0x1011aa8e
mov eax, dword [esi]
mov ecx, dword [esi + 0x14]
mov dword [esp], 1
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x64]
mov eax, ebx
call sym._sqlite3TableLock
test byte [esi + 0x1c], 0x80
jne 0x1011aa27
mov edx, dword [esi]
cmp dword [ebp - 0x6c], 0
mov eax, 0xffffffff
cmovne eax, dword [ebp - 0x6c]
mov ecx, dword [esi + 0x14]
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], edx
mov edx, 0x91
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x64]
mov dword [esp], eax
mov eax, dword [ebp - 0x5c]
call sym._sqlite3VdbeAddOp4
mov eax, dword [esi + 8]
cmp dword [ebp - 0x6c], 0
mov dword [ebp - 0x60], eax
mov eax, 0xffffffff
cmovne eax, dword [ebp - 0x6c]
mov edi, eax
cmp dword [ebp - 0x60], 0
je 0x1011b027
mov eax, dword [ebp - 0x60]
mov edx, 0x91
mov ecx, dword [eax + 0x2c]
mov eax, dword [ebp - 0x64]
mov dword [esp], eax
mov eax, dword [ebp - 0x5c]
call sym._sqlite3VdbeAddOp2
mov eax, dword [ebp - 0x60]
mov al, byte [eax + 0x38]
mov byte [ebp - 0x68], al
and eax, 3
cmp al, 2
jne 0x1011aa83
test byte [esi + 0x1c], 0x80
je 0x1011aa83
mov eax, dword [ebp - 0x5c]
or edx, 0xffffffff
call sym._sqlite3VdbeGetOp
mov dword [eax + 0xc], edi
mov eax, dword [ebp - 0x60]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x60], eax
jmp 0x1011aa3c
mov eax, dword [ebp - 0x20]
shr eax, 6
xor eax, 1
and eax, 1
jmp 0x1011aaab
mov eax, dword [ebp - 0x20]
and eax, 0x40
or eax, dword [ebp - 0x70]
sete al
movzx eax, al
shl eax, 3
jmp 0x1011aab2
xor eax, eax
or eax, 0x14
mov edi, eax
test byte [esi + 0x1c], 0x80
jne 0x1011aaf8
mov eax, dword [ebx + 0x2c]
xor ecx, ecx
mov edx, 0x4b
inc eax
mov dword [ebp - 0x90], eax
mov dword [ebx + 0x2c], eax
mov dword [esp], eax
mov eax, dword [ebp - 0x5c]
call sym._sqlite3VdbeAddOp2
xor ecx, ecx
mov word [ebp - 0x88], 1
mov dword [ebp - 0xa8], ecx
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x78], ecx
jmp 0x1011ab58
mov eax, dword [esi + 8]
call sym._sqlite3PrimaryKeyIndex.isra.0
mov dword [ebp - 0x78], eax
mov ax, word [eax + 0x32]
mov word [ebp - 0x88], ax
mov eax, dword [ebx + 0x2c]
movsx edx, word [ebp - 0x88]
lea ecx, [eax + 1]
add eax, edx
mov dword [ebp - 0x64], ecx
mov dword [ebx + 0x2c], eax
mov eax, dword [ebx + 0x28]
mov dword [ebp - 0x7c], eax
inc eax
mov dword [ebx + 0x28], eax
mov dword [esp], edx
mov ecx, dword [ebp - 0x7c]
mov edx, 0x76
mov eax, dword [ebp - 0x5c]
call sym._sqlite3VdbeAddOp2
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0xa8], eax
mov eax, ebx
call sym._sqlite3VdbeSetP4KeyInfo
xor edx, edx
mov dword [ebp - 0x90], edx
mov eax, dword [ebp - 0x80]
mov dword [esp + 0x10], eax
movsx eax, di
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 4], eax
mov dword [esp], eax
mov ecx, dword [ebp - 0x98]
mov eax, ebx
mov edx, dword [ebp - 0x94]
call sym._sqlite3WhereBegin
mov dword [ebp - 0x80], eax
test eax, eax
je 0x1011ac95
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x80]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x80]
movzx eax, byte [eax + 0x32]
mov dword [ebp - 0x70], eax
dec eax
je 0x1011abb4
mov eax, ebx
call sym._sqlite3MultiWrite
mov eax, dword [ebp - 0x80]
test byte [eax + 0x34], 1
je 0x1011abcd
mov ecx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x5c]
mov edx, 0x8f
call sym._sqlite3VdbeAddOp1
cmp dword [ebp - 0x6c], 0
je 0x1011abea
mov dword [esp], 1
mov ecx, dword [ebp - 0x6c]
mov edx, 0x56
mov eax, dword [ebp - 0x5c]
call sym._sqlite3VdbeAddOp2
xor eax, eax
cmp dword [ebp - 0x78], 0
movsx edi, word [ebp - 0x88]
mov dword [ebp - 0xa0], eax
je 0x1011ac38
cmp dword [ebp - 0xa0], edi
jge 0x1011ac66
mov ecx, dword [ebp - 0xa0]
mov eax, dword [ebp - 0x64]
mov edx, esi
add eax, ecx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x78]
mov eax, dword [eax + 4]
movsx eax, word [eax + ecx*2]
mov dword [esp], eax
mov ecx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x5c]
call sym._sqlite3ExprCodeGetColumnOfTable
inc dword [ebp - 0xa0]
jmp 0x1011abff
mov eax, dword [ebx + 0x2c]
mov edx, esi
inc eax
mov dword [ebp - 0x64], eax
mov dword [ebx + 0x2c], eax
mov dword [esp + 4], eax
mov dword [esp], 0xffffffff
mov ecx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x5c]
call sym._sqlite3ExprCodeGetColumnOfTable
cmp dword [ebp - 0x70], 0
je 0x1011ad89
jmp 0x1011ac70
cmp dword [ebp - 0x70], 0
je 0x1011ad15
mov eax, dword [ebp - 0x8c]
lea edx, [eax + 2]
mov eax, dword [ebp - 0x74]
mov ecx, edx
sar ecx, 0x1f
call sym._sqlite3DbMallocRawNN
mov dword [ebp - 0x60], eax
test eax, eax
jne 0x1011ac9f
mov eax, dword [ebp - 0x80]
call sym._sqlite3WhereEnd
xor eax, eax
mov dword [ebp - 0x60], eax
jmp 0x1011b050
mov eax, dword [ebp - 0x8c]
mov edi, dword [ebp - 0x60]
lea ecx, [eax + 1]
mov al, 1
rep stosb byte es:[edi], al
mov eax, dword [ebp - 0x60]
mov edi, dword [ebp - 0x8c]
mov byte [eax + edi + 1], 0
mov eax, dword [ebp - 0x40]
test eax, eax
js 0x1011acd0
mov edi, dword [ebp - 0x68]
sub eax, edi
mov edi, dword [ebp - 0x60]
mov byte [edi + eax], 0
mov eax, dword [ebp - 0x3c]
test eax, eax
js 0x1011ace3
mov edi, dword [ebp - 0x68]
sub eax, edi
mov edi, dword [ebp - 0x60]
mov byte [edi + eax], 0
cmp dword [ebp - 0xa8], 0
je 0x1011acfa
mov edx, dword [ebp - 0xa8]
mov eax, dword [ebp - 0x5c]
call sym._sqlite3VdbeChangeToNoop.isra.0
mov eax, dword [ebx + 0x38]
cmp byte [ebp - 0x99], 2
lea edi, [eax - 1]
mov dword [ebx + 0x38], edi
jne 0x1011adcc
jmp 0x1011ae3a
mov eax, dword [ebx + 0x2c]
mov edx, dword [ebp - 0x78]
inc eax
mov dword [ebx + 0x2c], eax
mov dword [ebp - 0x88], eax
mov eax, dword [ebx]
call sym._sqlite3IndexAffinityStr
mov dword [esp + 0xc], edi
mov edx, 0x61
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x88]
mov dword [esp], edi
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x5c]
call sym._sqlite3VdbeAddOp4
mov dword [esp + 8], edi
mov eax, dword [ebp - 0x64]
mov edx, 0x8a
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x88]
mov dword [esp], eax
mov ecx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x5c]
call sym._sqlite3VdbeAddOp4Int
mov eax, dword [ebp - 0x88]
mov word [ebp - 0x88], 0
mov dword [ebp - 0x64], eax
jmp 0x1011adab
mov eax, dword [ebp - 0x64]
mov edx, 0x9c
mov dword [esp], eax
mov ecx, dword [ebp - 0x90]
mov eax, dword [ebp - 0x5c]
call sym._sqlite3VdbeAddOp2
mov word [ebp - 0x88], 1
mov eax, dword [ebp - 0x80]
xor edi, edi
call sym._sqlite3WhereEnd
cmp byte [ebp - 0x99], 2
je 0x1011ae7f
xor eax, eax
mov dword [ebp - 0x8c], eax
jmp 0x1011aded
xor eax, eax
cmp dword [ebp - 0x70], 2
mov dword [ebp - 0x8c], eax
jne 0x1011aded
mov eax, dword [ebp - 0x5c]
mov edx, 0xe
call sym._sqlite3VdbeAddOp0
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x4c]
mov ecx, 0x71
mov edx, esi
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x50]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x60]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x68]
mov dword [esp], 8
mov dword [esp + 4], eax
mov eax, ebx
call sym._sqlite3OpenTableAndIndices
cmp dword [ebp - 0x70], 2
jne 0x1011ae34
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x5c]
call sym._sqlite3VdbeJumpHereOrPopInst
jmp 0x1011ae3a
cmp dword [ebp - 0x70], 0
je 0x1011ae7f
cmp byte [esi + 0x2b], 1
je 0x1011aef9
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x68]
mov eax, ecx
sub eax, edx
mov edx, dword [ebp - 0x60]
cmp byte [edx + eax], 0
je 0x1011aef9
movsx eax, word [ebp - 0x88]
mov edx, 0x1b
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x64]
mov dword [esp], edi
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x5c]
call sym._sqlite3VdbeAddOp4Int
jmp 0x1011aef9
cmp dword [ebp - 0x78], 0
je 0x1011aed4
mov ecx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x5c]
mov edx, 0x23
call sym._sqlite3VdbeAddOp1
cmp byte [esi + 0x2b], 1
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x64]
jne 0x1011aebf
xor ecx, ecx
mov dword [esp + 4], eax
mov edx, 0x5e
mov dword [esp], ecx
mov ecx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x5c]
call sym._sqlite3VdbeAddOp3
jmp 0x1011aef9
mov dword [esp], eax
mov ecx, dword [ebp - 0x7c]
mov edx, 0x86
mov eax, dword [ebp - 0x5c]
call sym._sqlite3VdbeAddOp2
jmp 0x1011aef9
mov eax, dword [ebp - 0x64]
xor edx, edx
mov dword [esp], edx
mov edx, 0x2d
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x90]
mov eax, dword [ebp - 0x5c]
call sym._sqlite3VdbeAddOp3
mov dword [ebp - 0x84], eax
cmp byte [esi + 0x2b], 1
jne 0x1011af7e
mov edx, dword [esi + 0x34]
mov eax, dword [ebp - 0x74]
call sym._sqlite3GetVTable.isra.0
mov edx, esi
mov dword [ebp - 0x88], eax
mov eax, ebx
call sym._sqlite3VtabMakeWritable
mov eax, ebx
call sym._sqlite3MayAbort
cmp dword [ebp - 0x70], 1
jne 0x1011af40
mov ecx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x5c]
mov edx, 0x7a
call sym._sqlite3VdbeAddOp1
cmp dword [ebx + 0x74], 0
jne 0x1011af40
mov byte [ebx + 0x14], 0
mov dword [esp + 0xc], 0xfffffff5
mov eax, dword [ebp - 0x88]
xor ecx, ecx
mov edx, 7
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x64]
mov dword [esp], 1
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x5c]
call sym._sqlite3VdbeAddOp4
mov eax, dword [ebp - 0x5c]
mov edx, 2
call sym._sqlite3VdbeChangeP5
jmp 0x1011afcf
mov eax, dword [ebp - 0x3c]
mov edx, esi
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0x70]
mov dword [esp + 0x14], 0xb
mov dword [esp + 0x18], eax
xor eax, eax
cmp byte [ebx + 0x12], 0
sete al
mov dword [esp + 0x10], eax
movsx eax, word [ebp - 0x88]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x64]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x4c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x50]
mov dword [esp], eax
mov ecx, dword [ebp - 0xa4]
mov eax, ebx
call sym._sqlite3GenerateRowDelete
cmp dword [ebp - 0x70], 0
je 0x1011afe9
mov eax, dword [ebp - 0x5c]
mov edx, edi
call sym._sqlite3VdbeResolveLabel
mov eax, dword [ebp - 0x80]
call sym._sqlite3WhereEnd
jmp 0x1011b027
cmp dword [ebp - 0x78], 0
je 0x1011b00b
mov eax, dword [ebp - 0x84]
mov edx, 0x26
inc eax
mov dword [esp], eax
mov ecx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x5c]
call sym._sqlite3VdbeAddOp2
jmp 0x1011b019
mov edx, dword [ebp - 0x84]
mov eax, dword [ebp - 0x5c]
call sym._sqlite3VdbeGoto
mov edx, dword [ebp - 0x84]
mov eax, dword [ebp - 0x5c]
call sym._sqlite3VdbeJumpHere
cmp byte [ebx + 0x12], 0
jne 0x1011b03a
cmp dword [ebx + 0x78], 0
jne 0x1011b03a
mov eax, ebx
call sym._sqlite3AutoincrementEnd
cmp dword [ebp - 0x6c], 0
je 0x1011b050
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x5c]
mov ecx, str.rows_deleted
call sym._sqlite3CodeChangeCount
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x1011b065
mov edx, dword [ebp - 0x48]
mov dword [eax + 0xf8], edx
xor eax, eax
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x74]
call sym._sqlite3SrcListDelete
mov eax, dword [ebp - 0x98]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x74]
mov dword [esp], eax
call sym._sqlite3ExprDelete
mov eax, dword [ebp - 0x60]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x74]
mov dword [esp], eax
call sym._sqlite3DbFree
add esp, 0xbc
pop ebx
pop esi
pop edi
pop ebp
ret