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

Disassembly:
sub esp, 0x54
push ebx
push ebp
push esi
mov esi, dword [esp + 0x64]
mov ebx, dword [esp + 0x70]
xor ebp, ebp
mov eax, dword [esi]
push edi
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x18]
cmp eax, ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x20], ebp
jne 0x41b25b
call fcn.0040e880
test eax, eax
jne 0x41b25b
mov al, byte [esi + 0xbc]
test al, al
jne 0x41b25b
cmp ebx, ebp
je 0x41acd6
mov edi, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
lea ecx, [esp + 0x18]
push ecx
push edi
push edx
push esi
call fcn.00419060
mov ebp, eax
add esp, 0x10
test ebp, ebp
mov dword [esp + 0x1c], ebp
jl 0x41b25b
push ebx
push esi
call fcn.004340f0
add esp, 8
test edi, edi
je 0x41ac8a
test dword [edi + 4], 0xfffffffe
jne 0x41ac8a
test eax, eax
je 0x41ac8a
mov ecx, dword [esp + 0x14]
mov eax, dword [eax + 0x4c]
mov edx, dword [ecx + 4]
cmp eax, dword [edx + 0x2c]
jne 0x41ac8a
mov ebp, 1
mov dword [esp + 0x1c], ebp
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x34]
push ecx
push str.index
push ebp
push esi
push edx
call fcn.00432eb0
add esp, 0x14
test eax, eax
je 0x41acb5
lea eax, [esp + 0x34]
push ebx
push eax
call fcn.00432ef0
add esp, 8
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 8]
push ecx
push edx
push esi
call fcn.00418a40
mov edi, eax
add esp, 0xc
test edi, edi
mov dword [esp + 0x70], edi
je 0x41b25b
jmp 0x41acff
mov edi, dword [esi + 0xa4]
cmp edi, ebp
mov dword [esp + 0x70], edi
je 0x41b25b
mov eax, dword [edi + 0x4c]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call fcn.0040fc40
mov ebp, eax
add esp, 8
mov dword [esp + 0x1c], ebp
mov edx, dword [esp + 0x14]
lea eax, [ebp + ebp*2]
shl eax, 3
mov ecx, dword [edx + 4]
mov dword [esp + 0x28], eax
mov ebx, eax
mov eax, dword [esi + 0x18]
add ebx, ecx
test eax, eax
mov dword [esp + 0x6c], ebx
jne 0x41b25b
mov al, byte [edi + 0x34]
test al, al
je 0x41ad41
mov eax, dword [edi]
push eax
push str.table__s_may_not_be_indexed
push esi
call fcn.0040dbe0
add esp, 0xc
jmp 0x41b25b
mov eax, dword [edi + 0x18]
test eax, eax
je 0x41ad5b
push str.views_may_not_be_indexed
push esi
call fcn.0040dbe0
add esp, 8
jmp 0x41b25b
mov al, byte [edi + 0x39]
test al, al
je 0x41ad75
push str.virtual_tables_may_not_be_indexed
push esi
call fcn.0040dbe0
add esp, 8
jmp 0x41b25b
mov eax, dword [esp + 0x18]
test eax, eax
je 0x41ae46
push eax
call fcn.00418f50
push esi
mov dword [esp + 0x18], eax
call fcn.0040fc10
add esp, 8
test eax, eax
jne 0x41b25b
mov eax, dword [esp + 0x10]
test eax, eax
je 0x41b25b
push eax
push esi
call fcn.004190c0
add esp, 8
test eax, eax
jne 0x41b25b
mov ecx, dword [esp + 0x14]
mov al, byte [ecx + 0x44]
test al, al
jne 0x41ae9a
push esi
call fcn.0040fc10
add esp, 4
test eax, eax
jne 0x41b25b
mov edx, dword [ebx]
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
push edx
push eax
push ebx
call fcn.00418ab0
add esp, 0xc
test eax, eax
je 0x41ae1a
mov eax, dword [esp + 0x8c]
test eax, eax
jne 0x41b25b
mov ecx, dword [esp + 0x10]
push ecx
push str.index__s_already_exists
push esi
call fcn.0040dbe0
add esp, 0xc
jmp 0x41b25b
mov edx, dword [esp + 0x10]
push 0
push edx
push ebx
call fcn.004189b0
add esp, 0xc
test eax, eax
je 0x41ae9a
mov eax, dword [esp + 0x10]
push eax
push str.there_is_already_a_table_named__s
push esi
call fcn.0040dbe0
add esp, 0xc
jmp 0x41b25b
mov eax, dword [edi + 0x10]
mov ecx, 1
test eax, eax
je 0x41ae5a
mov eax, dword [eax + 0x20]
inc ecx
test eax, eax
jne 0x41ae52
push ecx
lea ecx, [esp + 0x48]
push 0x45378c
push ecx
call fcn.004041bb
mov dword [esp + 0x1c], 0
mov eax, dword [edi]
lea edx, [esp + 0x50]
push 0
push edx
push eax
lea ecx, [esp + 0x28]
push str.sqlite_autoindex_
push ecx
call fcn.0040dad0
mov eax, dword [esp + 0x30]
add esp, 0x20
test eax, eax
je 0x41b25b
mov edx, dword [esp + 0x6c]
cmp ebp, 1
mov eax, str.sqlite_temp_master
mov ebx, dword [edx]
je 0x41aeaf
mov eax, str.sqlite_master
push ebx
push 0
push eax
push 0x12
push esi
call fcn.00428010
add esp, 0x14
test eax, eax
jne 0x41b25b
mov eax, 1
cmp ebp, eax
jne 0x41aed4
mov eax, 3
mov ecx, dword [edi]
mov edx, dword [esp + 0x10]
push ebx
push ecx
push edx
push eax
push esi
call fcn.00428010
add esp, 0x14
test eax, eax
jne 0x41b25b
mov eax, dword [esp + 0x78]
test eax, eax
jne 0x41af4b
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
mov edx, dword [esp + 0x30]
lea eax, [eax + eax*4]
and edx, 1
mov edi, dword [ecx + eax*4 - 0x14]
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x2c], edi
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x2c]
shl ecx, 1
push eax
or ecx, edx
push 0
push 0
mov dword [esp + 0x3c], ecx
call fcn.00430380
add esp, 0xc
mov dword [esp + 0x78], eax
test eax, eax
je 0x41b25b
mov ecx, dword [eax + 0xc]
mov dl, byte [esp + 0x88]
mov byte [ecx + 8], dl
mov esi, dword [eax]
test esi, esi
jle 0x41af7b
mov edx, dword [eax + 0xc]
mov ebp, dword [esp + 0x20]
mov ebx, esi
mov eax, dword [edx]
test eax, eax
je 0x41af73
mov eax, dword [eax + 4]
or ecx, 0xffffffff
mov edi, dword [eax]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea ebp, [ecx + ebp + 1]
add edx, 0xc
dec ebx
jne 0x41af5a
jmp 0x41af7f
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
lea ecx, [esi + esi*2]
lea edx, [edi + esi]
lea eax, [edx + ecx*4]
lea ecx, [eax + ebp + 0x35]
push ecx
call fcn.0040d9d0
add esp, 8
mov ebp, eax
call fcn.0040e880
test eax, eax
jne 0x41b24e
lea eax, [ebp + 0x30]
or ecx, 0xffffffff
mov dword [ebp + 0x2c], eax
mov dword [esp + 0x88], 0
lea eax, [eax + esi*4]
mov dword [ebp + 8], eax
lea eax, [eax + esi*4]
mov dword [ebp + 0xc], eax
lea eax, [eax + esi*4 + 4]
mov dword [ebp + 0x28], eax
lea edx, [eax + esi]
mov dword [ebp], edx
lea eax, [edx + edi + 1]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x20], eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, dword [esp + 0x78]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x70]
mov dword [ebp + 0x10], ecx
mov eax, dword [edx]
mov cl, byte [esp + 0x7c]
mov dword [ebp + 4], eax
mov byte [ebp + 0x18], cl
mov eax, dword [esp + 0x18]
test eax, eax
mov eax, dword [esp + 0x14]
sete dl
mov byte [ebp + 0x19], dl
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x28]
mov eax, dword [edx + ecx + 0x14]
mov ecx, dword [esp + 0x6c]
mov dword [ebp + 0x24], eax
mov eax, dword [esp + 0x78]
mov edx, dword [ecx + 0x14]
mov ecx, dword [eax + 0xc]
mov bl, byte [edx + 0x78]
mov dword [esp + 0x6c], ecx
mov ecx, dword [eax]
cmp bl, 4
sbb ebx, ebx
neg ebx
dec ebx
test ecx, ecx
jle 0x41b1a3
mov edi, dword [esp + 0x88]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
xor esi, esi
mov eax, dword [edx + 4]
mov edx, dword [ecx + 8]
mov dword [esp + 0x24], eax
mov eax, dword [ecx + 4]
test eax, eax
mov dword [esp + 0x8c], edx
jle 0x41b0ca
mov eax, dword [esp + 0x8c]
mov edx, dword [esp + 0x24]
mov ecx, dword [eax]
push ecx
push edx
call fcn.0040dd00
add esp, 8
test eax, eax
je 0x41b0c6
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x8c]
inc esi
add edx, 0x14
mov ecx, dword [eax + 4]
mov dword [esp + 0x8c], edx
cmp esi, ecx
jl 0x41b08e
mov ecx, dword [esp + 0x70]
cmp esi, dword [ecx + 4]
jge 0x41b230
mov edx, dword [ebp + 8]
mov eax, dword [esp + 0x6c]
mov dword [edx + edi*4], esi
mov eax, dword [eax]
test eax, eax
je 0x41b133
mov ecx, dword [eax + 4]
xor eax, eax
mov edx, dword [esp + 0x20]
mov edi, dword [ecx]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x8c], edx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
mov edi, dword [esp + 0x88]
dec ecx
mov esi, edx
lea ecx, [edx + ecx + 1]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x70]
jmp 0x41b14a
mov eax, dword [ecx + 8]
lea edx, [esi + esi*4]
mov esi, dword [eax + edx*4 + 0xc]
test esi, esi
jne 0x41b14a
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x1c]
mov esi, dword [eax]
mov edx, dword [esp + 0x14]
mov al, byte [edx + 0x44]
test al, al
jne 0x41b171
mov eax, dword [esp + 0x68]
push 0xffffffffffffffff
push esi
push eax
call fcn.004199d0
add esp, 0xc
test eax, eax
je 0x41b24e
mov ecx, dword [esp + 0x70]
mov edx, dword [ebp + 0x2c]
mov dword [edx + edi*4], esi
mov esi, dword [esp + 0x6c]
mov edx, dword [ebp + 0x28]
mov al, byte [esi + 8]
add esi, 0xc
and al, bl
mov dword [esp + 0x6c], esi
mov byte [edx + edi], al
mov eax, dword [esp + 0x78]
inc edi
mov edx, dword [eax]
mov dword [esp + 0x88], edi
cmp edi, edx
jl 0x41b070
push ebp
call fcn.0041b6c0
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x74]
add esp, 4
cmp eax, dword [edx + 0xa4]
jne 0x41b2b9
mov ecx, eax
mov edi, dword [ecx + 0x10]
test edi, edi
je 0x41b2b9
mov eax, dword [edi + 4]
mov ecx, dword [ebp + 4]
cmp eax, ecx
jne 0x41b224
xor esi, esi
test eax, eax
jle 0x41b21f
mov edx, dword [edi + 0x2c]
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp + 0x2c]
mov eax, dword [edx + esi*4]
mov edx, dword [edi + 8]
mov ecx, dword [ecx + esi*4]
mov edx, dword [edx + esi*4]
cmp edx, dword [ebx + esi*4]
jne 0x41b21f
mov edx, dword [edi + 0x28]
mov ebx, dword [ebp + 0x28]
mov dl, byte [edx + esi]
cmp dl, byte [ebx + esi]
jne 0x41b21f
cmp eax, ecx
je 0x41b217
push ecx
push eax
call fcn.0040dd00
add esp, 8
test eax, eax
jne 0x41b21f
mov eax, dword [edi + 4]
inc esi
cmp esi, eax
jl 0x41b1dd
cmp esi, dword [edi + 4]
je 0x41b284
mov edi, dword [edi + 0x20]
test edi, edi
jne 0x41b1cd
jmp 0x41b2b9
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x6c]
mov eax, dword [edx]
push eax
push str.table__s_has_no_column_named__s
push ecx
call fcn.0040dbe0
add esp, 0x10
test ebp, ebp
je 0x41b25b
push ebp
call fcn.00418bc0
add esp, 4
mov edx, dword [esp + 0x78]
push edx
call fcn.00430420
mov eax, dword [esp + 0x78]
push eax
call fcn.0041bb70
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0040d9b0
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
mov al, byte [edi + 0x18]
mov cl, byte [ebp + 0x18]
cmp al, cl
je 0x41b24e
cmp al, 0x63
je 0x41b2ab
cmp cl, 0x63
je 0x41b2ab
mov eax, dword [esp + 0x68]
push 0
push str.conflicting_ON_CONFLICT_clauses_specified
push eax
call fcn.0040dbe0
add esp, 0xc
cmp byte [edi + 0x18], 0x63
jne 0x41b24e
mov cl, byte [ebp + 0x18]
mov byte [edi + 0x18], cl
jmp 0x41b24e
mov edx, dword [esp + 0x14]
mov al, byte [edx + 0x44]
test al, al
je 0x41b310
mov edx, dword [ebp]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [ebp + 0x24]
push ebp
not ecx
push ecx
add eax, 0x20
push edx
push eax
call fcn.004112b0
add esp, 0x10
test eax, eax
jne 0x41b24e
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x74]
mov ecx, dword [edi + 8]
or ecx, 0x10
test eax, eax
mov dword [edi + 8], ecx
je 0x41b44e
mov ecx, dword [edi + 0x40]
mov dword [ebp + 0x14], ecx
jmp 0x41b44e
mov eax, dword [esp + 0x68]
push eax
mov ebx, dword [eax + 0x20]
mov dword [esp + 0x70], ebx
lea edx, [ebx + 1]
mov dword [eax + 0x20], edx
call fcn.0042c880
mov esi, eax
add esp, 4
test esi, esi
je 0x41b24e
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x68]
push edi
push 1
push eax
call fcn.0041be50
push 0
push edi
push 0x1f
push esi
call fcn.0041d090
push 0
push ebx
push 0x7c
push esi
call fcn.0041d090
mov eax, dword [esp + 0xac]
add esp, 0x2c
test eax, eax
je 0x41b3a5
mov edx, dword [esp + 0x84]
test edx, edx
je 0x41b3a5
mov eax, dword [esp + 0x7c]
mov ecx, 0x455d8c
test eax, eax
je 0x41b386
mov ecx, str._UNIQUE
mov eax, dword [esp + 0x18]
mov edx, dword [edx]
mov eax, dword [eax]
sub edx, eax
push eax
inc edx
push edx
push ecx
push str.CREATE_s_INDEX__.s
call fcn.004225b0
add esp, 0x10
mov ebx, eax
jmp 0x41b3a7
xor ebx, ebx
cmp edi, 1
mov eax, str.sqlite_temp_master
je 0x41b3b6
mov eax, str.sqlite_master
mov ecx, dword [esp + 0x70]
mov edi, dword [esp + 0x14]
push ebx
mov edx, dword [ecx]
mov ecx, dword [ebp]
push edx
mov edx, dword [edi + 4]
push ecx
push eax
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + edx]
mov edx, dword [esp + 0x78]
push ecx
push str.INSERT_INTO__Q._s_VALUES_index__Q__Q_0__Q__
push edx
call fcn.00418920
push 0
push 1
push 0xb
push esi
call fcn.0041d090
push ebx
call fcn.0040d9b0
mov eax, dword [esp + 0xa4]
add esp, 0x30
test eax, eax
je 0x41b44e
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
push eax
push ebp
push ecx
call fcn.0041b4b0
mov ebx, dword [esp + 0x28]
push ebx
push esi
push edi
call fcn.00419a70
mov edx, dword [ebp]
add esp, 0x18
push 0xffffffffffffffff
push edx
push str.name_q
call fcn.004225b0
add esp, 8
push eax
push 0
push ebx
push 0x1c
push esi
call fcn.0041d170
push 0
push 0
push 0xf
push esi
call fcn.0041d090
add esp, 0x28
mov al, byte [edi + 0x44]
test al, al
jne 0x41b461
mov eax, dword [esp + 0x74]
test eax, eax
jne 0x41b24e
mov eax, dword [esp + 0x7c]
mov edx, 5
cmp eax, edx
mov eax, dword [esp + 0x70]
jne 0x41b4a1
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x41b4a1
cmp byte [ecx + 0x18], dl
je 0x41b4a1
mov eax, dword [ecx + 0x20]
test eax, eax
je 0x41b493
cmp byte [eax + 0x18], dl
je 0x41b493
mov ecx, eax
mov eax, dword [ecx + 0x20]
test eax, eax
jne 0x41b485
mov eax, dword [ecx + 0x20]
mov dword [ebp + 0x20], eax
mov dword [ecx + 0x20], ebp
jmp 0x41b25b
mov ecx, dword [eax + 0x10]
mov dword [ebp + 0x20], ecx
mov dword [eax + 0x10], ebp
jmp 0x41b25b