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

Disassembly:
sub esp, 0x54
mov eax, dword [esp + 0x58]
mov eax, dword [eax]
xor ecx, ecx
push ebx
push ebp
mov ebp, dword [esp + 0x68]
push esi
push edi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x38], ecx
cmp byte [eax + 0x40], cl
jne 0x100ec339
mov ecx, dword [esp + 0x68]
cmp byte [ecx + 0x1e2], 0
jne 0x100ec339
mov esi, eax
cmp byte [esi + 0x89], 0
mov edi, ecx
jne 0x100ebd51
lea edx, [edi + 4]
push edx
call fcn.100fe3b0
add esp, 4
test eax, eax
je 0x100ebd51
inc dword [edi + 0x44]
mov dword [edi + 0xc], eax
jmp 0x100ec339
cmp dword [esp + 0x74], 0
je 0x100ebe32
mov edx, dword [esp + 0x6c]
push edi
lea ecx, [esp + 0x30]
mov eax, ebp
call fcn.100e8c20
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
jl 0x100ec339
cmp byte [esi + 0x89], 0
mov edi, dword [esp + 0x74]
mov ebx, dword [esp + 0x68]
jne 0x100ebdb0
mov eax, edi
call fcn.100ee800
cmp dword [ebp + 4], 0
jne 0x100ebdb0
test eax, eax
je 0x100ebdb0
mov ecx, dword [esi + 0x10]
mov edx, dword [eax + 0x44]
cmp edx, dword [ecx + 0x1c]
jne 0x100ebdb0
mov dword [esp + 0x1c], 1
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x1c]
push eax
push str.index
mov ecx, ebx
lea eax, [esp + 0x50]
call fcn.100e6fe0
mov ecx, eax
push edi
push ecx
call fcn.100e7020
add edi, 8
push edi
push 0
mov eax, ebx
call fcn.100e7e70
add esp, 0x18
mov dword [esp + 0x14], eax
test eax, eax
je 0x100ec339
mov edi, dword [esp + 0x18]
mov edx, esi
mov ebx, eax
cmp edx, 1
jne 0x100ebe1f
mov eax, dword [edi + 0x10]
mov ecx, dword [eax + 0x1c]
cmp ecx, dword [ebx + 0x44]
je 0x100ebe1f
mov edx, dword [ebx]
mov edi, dword [esp + 0x68]
push edx
push str.cannot_create_a_TEMP_index_on_non_TEMP_table___s_
call fcn.100b69f0
add esp, 8
jmp 0x100ec339
test byte [ebx + 0x2c], 0x20
je 0x100ebe5a
mov eax, ebx
call fcn.100e8d00
mov dword [esp + 0x38], eax
jmp 0x100ebe5a
mov edi, dword [edi + 0x204]
mov dword [esp + 0x14], edi
test edi, edi
je 0x100ec339
mov ebx, edi
mov edi, dword [esp + 0x18]
mov esi, dword [ebx + 0x44]
mov ecx, edi
call fcn.100fe710
mov edx, eax
mov dword [esp + 0x1c], edx
mov ebp, dword [edi + 0x10]
mov esi, dword [ebx]
mov eax, edx
shl eax, 4
push 7
add ebp, eax
push str.sqlite_
push esi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], ebp
call fcn.100b6b30
add esp, 0xc
test eax, eax
jne 0x100ebeb0
push 9
lea eax, [esi + 7]
push str.altertab_
push eax
call fcn.100b6b30
add esp, 0xc
test eax, eax
je 0x100ebeb0
mov edi, dword [esp + 0x68]
push esi
push str.table__s_may_not_be_indexed
call fcn.100b69f0
add esp, 8
jmp 0x100ec339
cmp dword [ebx + 0xc], 0
je 0x100ebecc
mov edi, dword [esp + 0x68]
push str.views_may_not_be_indexed
call fcn.100b69f0
add esp, 4
jmp 0x100ec339
test byte [ebx + 0x2c], 0x10
je 0x100ebee8
mov edi, dword [esp + 0x68]
push str.virtual_tables_may_not_be_indexed
call fcn.100b69f0
add esp, 4
jmp 0x100ec339
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x100ebf98
push edi
call fcn.100e8ae0
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
je 0x100ec339
mov esi, eax
mov eax, dword [esp + 0x68]
call fcn.100e8cb0
test eax, eax
jne 0x100ec339
mov edi, dword [esp + 0x18]
cmp byte [edi + 0x89], al
jne 0x100ebf4e
push eax
push esi
push edi
call fcn.100e7ce0
add esp, 0xc
test eax, eax
je 0x100ebf4e
mov edi, dword [esp + 0x68]
push esi
push str.there_is_already_a_table_named__s
call fcn.100b69f0
add esp, 8
jmp 0x100ec339
mov ecx, dword [ebp]
push ecx
push esi
mov ecx, edi
call fcn.100e7ed0
add esp, 8
test eax, eax
je 0x100ebfc9
cmp dword [esp + 0x8c], 0
jne 0x100ebf82
mov edi, dword [esp + 0x68]
push esi
push str.index__s_already_exists
call fcn.100b69f0
add esp, 8
jmp 0x100ec339
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x68]
push edx
call fcn.100ed6a0
add esp, 4
jmp 0x100ec339
mov eax, dword [ebx + 8]
mov ecx, 1
test eax, eax
je 0x100ebfac
mov eax, dword [eax + 0x14]
inc ecx
test eax, eax
jne 0x100ebfa4
push ecx
push esi
push str.sqlite_autoindex__s__d
mov esi, edi
call fcn.100b5f00
add esp, 0xc
mov dword [esp + 0x20], eax
test eax, eax
je 0x100ec339
cmp dword [esp + 0x1c], 1
mov esi, dword [ebp]
mov eax, str.sqlite_temp_master
je 0x100ebfdd
mov eax, str.sqlite_master
push esi
push 0
push eax
mov eax, dword [esp + 0x74]
push 0x12
call fcn.100e75a0
add esp, 0x10
test eax, eax
jne 0x100ec339
mov eax, 1
cmp dword [esp + 0x1c], eax
jne 0x100ec007
mov eax, 3
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x20]
push esi
push edx
push ecx
push eax
mov eax, dword [esp + 0x78]
call fcn.100e75a0
add esp, 0x10
test eax, eax
jne 0x100ec339
mov ecx, dword [esp + 0x78]
test ecx, ecx
jne 0x100ec082
mov eax, dword [esp + 0x68]
push ecx
call fcn.100dfb90
add esp, 4
mov dword [esp + 0x78], eax
test eax, eax
je 0x100ec339
mov ecx, dword [esp + 0x14]
movsx eax, word [ecx + 0x26]
lea edx, [eax + eax*2]
mov eax, dword [ecx + 4]
mov ecx, dword [esp + 0x68]
mov ecx, dword [ecx]
mov ebx, dword [eax + edx*8 - 0x18]
push ecx
call fcn.100b4d20
mov ecx, dword [esp + 0x7c]
mov edx, dword [ecx + 8]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dl, byte [esp + 0x8c]
add esp, 4
mov byte [eax + 0xc], dl
mov eax, dword [ecx]
test eax, eax
jle 0x100ec0af
mov edx, dword [ecx + 8]
mov edi, dword [esp + 0x34]
mov esi, eax
mov eax, dword [edx]
test eax, eax
je 0x100ec0a3
mov ecx, dword [eax + 8]
call fcn.100b6960
lea edi, [edi + eax + 1]
add edx, 0x18
sub esi, 1
jne 0x100ec091
mov dword [esp + 0x34], edi
mov ecx, dword [esp + 0x20]
call fcn.100b6960
mov ebx, eax
mov eax, dword [esp + 0x38]
test eax, eax
je 0x100ec0c8
movzx eax, word [eax + 0x32]
jmp 0x100ec0cd
mov eax, 1
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x78]
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x24]
push ecx
lea ecx, [ebx + edx + 1]
mov dx, word [edi]
add dx, ax
movzx eax, dx
push eax
mov edx, esi
call fcn.100ebc60
add esp, 8
cmp byte [esi + 0x40], 0
mov ebp, eax
jne 0x100ec32a
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
lea ecx, [eax + ebx + 1]
inc ebx
push ebx
push edx
push eax
mov dword [ebp], eax
mov dword [esp + 0x30], ecx
call fcn.10130710
mov ecx, dword [esp + 0x88]
xor edx, edx
add esp, 0xc
test ecx, ecx
setne dl
mov eax, dword [esp + 0x14]
mov byte [ebp + 0x36], cl
xor ecx, ecx
mov dword [ebp + 0xc], eax
and edx, 1
add edx, edx
add edx, edx
add edx, edx
cmp dword [esp + 0x2c], ecx
sete cl
and ecx, 3
or edx, ecx
mov ecx, dword [ebp + 0x38]
and ecx, 0xfffffff4
or edx, ecx
mov ecx, dword [esp + 0x40]
mov dword [ebp + 0x38], edx
mov edx, dword [esi + 0x10]
mov edx, dword [edx + ecx + 0xc]
mov esi, dword [esp + 0x84]
mov dword [ebp + 0x18], edx
mov cx, word [edi]
mov word [ebp + 0x32], cx
test esi, esi
je 0x100ec197
mov edx, dword [esp + 0x68]
push esi
push 0x10
push edx
xor ebx, ebx
call fcn.100de570
add esp, 0xc
mov dword [ebp + 0x24], esi
mov dword [esp + 0x84], ebx
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0xc]
cmp byte [ecx + 0x4c], 4
sbb eax, eax
neg eax
dec eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x78]
mov edx, dword [eax + 8]
xor edi, edi
cmp dword [eax], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x28], edx
jle 0x100ec2bc
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x14]
mov ecx, dword [eax + 4]
movsx eax, word [edi + 0x26]
mov esi, dword [edi + 4]
xor ebx, ebx
mov dword [esp + 0x3c], ecx
test eax, eax
jle 0x100ec200
mov edx, dword [esi]
mov eax, dword [esp + 0x3c]
push edx
push eax
call fcn.100b6ae0
add esp, 8
test eax, eax
je 0x100ec200
movsx ecx, word [edi + 0x26]
inc ebx
add esi, 0x18
cmp ebx, ecx
jl 0x100ec1e0
movsx eax, word [edi + 0x26]
cmp ebx, eax
jge 0x100ec30d
mov eax, dword [esp + 0x34]
mov edx, dword [ebp + 4]
mov ecx, dword [esp + 0x28]
mov word [edx + eax*2], bx
mov eax, dword [ecx]
test eax, eax
je 0x100ec241
mov ecx, dword [eax + 8]
call fcn.100b6960
mov esi, dword [esp + 0x24]
mov edi, eax
inc edi
push edi
push ecx
push esi
call fcn.10130710
add esp, 0xc
add dword [esp + 0x24], edi
jmp 0x100ec258
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 4]
lea edx, [ebx + ebx*2]
mov esi, dword [ecx + edx*8 + 0x10]
test esi, esi
jne 0x100ec258
mov esi, str.BINARY
mov edx, dword [esp + 0x18]
cmp byte [edx + 0x89], 0
jne 0x100ec276
mov edi, dword [esp + 0x68]
call fcn.100e9990
test eax, eax
je 0x100ec32a
mov eax, dword [ebp + 0x20]
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
mov dword [eax + edi*4], esi
mov dl, byte [ecx + 0xc]
and dl, byte [esp + 0x44]
mov eax, dword [ebp + 0x1c]
mov byte [edi + eax], dl
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 4]
lea ecx, [ebx + ebx*2]
cmp byte [eax + ecx*8 + 0x14], 0
jne 0x100ec2a6
and dword [ebp + 0x38], 0xfffffff7
mov ecx, dword [esp + 0x78]
add dword [esp + 0x28], 0x18
inc edi
cmp edi, dword [ecx]
mov dword [esp + 0x34], edi
jl 0x100ec1c4
mov esi, dword [esp + 0x38]
test esi, esi
je 0x100ec3eb
xor ecx, ecx
xor ebx, ebx
cmp cx, word [esi + 0x32]
jae 0x100ec3ff
jmp 0x100ec2e0
mov edx, dword [esi + 4]
movsx edx, word [edx + ebx*2]
movzx eax, word [ebp + 0x32]
mov ecx, dword [ebp + 4]
mov dword [esp + 0x44], edx
call fcn.100e9f40
test eax, eax
je 0x100ec3b7
mov eax, 0xffff
add word [ebp + 0x34], ax
jmp 0x100ec3dc
mov edx, dword [esp + 0x3c]
mov eax, dword [edi]
mov edi, dword [esp + 0x68]
push edx
push eax
push str.table__s_has_no_column_named__s
call fcn.100b69f0
add esp, 0xc
mov byte [edi + 0x11], 1
test ebp, ebp
je 0x100ec339
mov edi, dword [esp + 0x18]
mov esi, ebp
call fcn.100e7fd0
mov eax, dword [esp + 0x84]
mov esi, dword [esp + 0x18]
push eax
push esi
call fcn.100df210
mov ecx, dword [esp + 0x80]
push ecx
push esi
call fcn.100dfd30
mov edx, dword [esp + 0x84]
push edx
mov eax, esi
call fcn.100eced0
mov eax, dword [esp + 0x34]
add esp, 0x14
test eax, eax
je 0x100ec77f
cmp dword [esi + 0x200], 0
je 0x100ec746
cmp eax, dword [esi + 0x10c]
jb 0x100ec728
cmp eax, dword [esi + 0x110]
jae 0x100ec728
movzx eax, word [esi + 0xf0]
mov esi, dword [esi + 0x200]
add dword [esi], eax
mov eax, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
mov eax, dword [ebp + 4]
mov cx, word [esp + 0x44]
mov word [eax + edi*2], cx
mov edx, dword [esi + 0x20]
mov ecx, dword [edx + ebx*4]
mov eax, dword [ebp + 0x20]
mov dword [eax + edi*4], ecx
mov edx, dword [esi + 0x1c]
mov eax, dword [ebp + 0x1c]
mov cl, byte [ebx + edx]
mov byte [edi + eax], cl
inc edi
movzx edx, word [esi + 0x32]
inc ebx
cmp ebx, edx
jl 0x100ec2e0
jmp 0x100ec3ff
mov eax, dword [ebp + 4]
or ecx, 0xffffffff
mov word [eax + edi*2], cx
mov edx, dword [ebp + 0x20]
mov dword [edx + edi*4], str.BINARY
mov edx, ebp
call fcn.100ec790
mov esi, dword [esp + 0x68]
cmp dword [esi + 0x204], 0
jne 0x100ec41a
mov edi, ebp
call fcn.100e9ee0
mov eax, dword [esp + 0x14]
cmp eax, dword [esi + 0x204]
jne 0x100ec49e
mov ebx, dword [eax + 8]
test ebx, ebx
je 0x100ec49e
lea ecx, [ecx]
movzx eax, word [ebx + 0x32]
movzx ecx, word [ebp + 0x32]
cmp ax, cx
jne 0x100ec493
movzx eax, ax
xor edi, edi
mov dword [esp + 0x3c], eax
test eax, eax
jle 0x100ec48d
mov esi, dword [ebp + 4]
mov edx, dword [ebx + 4]
sub edx, esi
mov dword [esp + 0x44], edx
mov ax, word [edx + esi]
cmp ax, word [esi]
jne 0x100ec48d
mov ecx, dword [ebx + 0x20]
mov eax, dword [ecx + edi*4]
mov ecx, dword [ebp + 0x20]
mov ecx, dword [ecx + edi*4]
cmp eax, ecx
je 0x100ec481
push ecx
push eax
call fcn.100b6ae0
add esp, 8
test eax, eax
jne 0x100ec48d
mov edx, dword [esp + 0x44]
movzx eax, word [ebx + 0x32]
inc edi
add esi, 2
cmp edi, eax
jl 0x100ec456
cmp edi, dword [esp + 0x3c]
je 0x100ec4d4
mov ebx, dword [ebx + 0x14]
test ebx, ebx
jne 0x100ec430
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x18]
cmp byte [edi + 0x89], 0
je 0x100ec532
mov ecx, dword [ebp]
push ebp
call fcn.100b6960
push ecx
mov ecx, dword [ebp + 0x18]
add ecx, 0x18
call fcn.100b7ef0
add esp, 8
test eax, eax
je 0x100ec513
mov byte [edi + 0x40], 1
jmp 0x100ec32a
mov al, byte [ebx + 0x36]
mov cl, byte [ebp + 0x36]
cmp al, cl
je 0x100ec32a
cmp al, 0xa
je 0x100ec4fe
cmp cl, 0xa
je 0x100ec4fe
mov edi, dword [esp + 0x68]
push 0
push str.conflicting_ON_CONFLICT_clauses_specified
call fcn.100b69f0
add esp, 8
cmp byte [ebx + 0x36], 0xa
jne 0x100ec32a
mov cl, byte [ebp + 0x36]
mov byte [ebx + 0x36], cl
jmp 0x100ec32a
or dword [edi + 0x18], 2
cmp dword [esp + 0x74], 0
je 0x100ec6bb
mov edx, edi
mov eax, dword [edx + 0x84]
mov dword [ebp + 0x2c], eax
jmp 0x100ec6bb
cmp dword [esi + 0x44], 0
jne 0x100ec6bb
mov ecx, dword [esp + 0x14]
test byte [ecx + 0x2c], 0x20
je 0x100ec551
cmp dword [esp + 0x74], 0
je 0x100ec6bb
mov ebx, dword [esp + 0x68]
inc dword [ebx + 0x4c]
mov edx, dword [ebx + 0x4c]
mov edi, ebx
mov dword [esp + 0x38], edx
call fcn.10101930
mov esi, eax
mov dword [esp + 0x3c], esi
test esi, esi
je 0x100ec32a
mov edi, dword [esp + 0x1c]
push 1
mov eax, ebx
call fcn.100ed7f0
mov eax, dword [esi + 0x1c]
add esp, 4
cmp dword [esi + 0x20], eax
mov dword [esp + 0x44], eax
jg 0x100ec59b
mov edi, esi
call fcn.100cf4d0
test eax, eax
jne 0x100ec5cb
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x1c]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax], 0x70
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
cmp dword [esp + 0x80], 0
je 0x100ec61c
mov eax, dword [ebx + 0x21c]
add eax, dword [ebx + 0x218]
mov ecx, dword [esp + 0x2c]
sub eax, dword [ecx]
mov ecx, dword [ecx]
cmp byte [ecx + eax - 1], 0x3b
jne 0x100ec5f1
dec eax
cmp dword [esp + 0x7c], 0
mov edx, 0x1014d5e3
je 0x100ec602
mov edx, str._UNIQUE
mov edi, dword [esp + 0x18]
push ecx
push eax
push edx
push str.CREATE_s_INDEX__.s
mov esi, edi
call fcn.100b5f00
add esp, 0x10
mov esi, eax
jmp 0x100ec622
mov edi, dword [esp + 0x18]
xor esi, esi
cmp dword [esp + 0x1c], 1
mov eax, str.sqlite_temp_master
je 0x100ec633
mov eax, str.sqlite_master
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x14]
push esi
push edx
mov edx, dword [ecx]
mov ecx, dword [ebp]
push edx
mov edx, dword [edi + 0x10]
push ecx
push eax
mov eax, dword [esp + 0x54]
mov ecx, dword [edx + eax]
push ecx
push str.INSERT_INTO__Q._s_VALUES_index__Q__Q__d__Q__
call fcn.100e7c20
add esp, 0x1c
mov eax, esi
mov ecx, edi
call fcn.100b49f0
cmp dword [esp + 0x74], 0
je 0x100ec6bb
mov edx, dword [esp + 0x38]
push edx
push ebp
push ebx
call fcn.100eb6c0
mov eax, dword [esp + 0x28]
add esp, 0xc
push eax
mov esi, ebx
call fcn.100e9a00
mov ecx, dword [ebp]
add esp, 4
push ecx
push str.name_q_AND_typeindex
mov esi, edi
call fcn.100b5f00
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x44]
push eax
push edx
call fcn.100cf6a0
push 0
push 0x86
mov eax, esi
call fcn.100cf600
add esp, 0x18
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x89], 0
jne 0x100ec6d3
cmp dword [esp + 0x74], 0
jne 0x100ec32a
mov ecx, dword [esp + 0x14]
mov edx, 5
cmp dword [esp + 0x7c], edx
jne 0x100ec716
mov eax, dword [ecx + 8]
test eax, eax
je 0x100ec716
cmp byte [eax + 0x36], dl
je 0x100ec716
cmp dword [eax + 0x14], 0
je 0x100ec704
mov ecx, dword [eax + 0x14]
cmp byte [ecx + 0x36], dl
je 0x100ec704
mov eax, ecx
cmp dword [eax + 0x14], 0
jne 0x100ec6f4
mov ecx, dword [eax + 0x14]
mov dword [ebp + 0x14], ecx
mov dword [eax + 0x14], ebp
mov dword [esp + 0x30], ebp
jmp 0x100ec339
mov edx, dword [ecx + 8]
mov dword [ebp + 0x14], edx
mov dword [ecx + 8], ebp
mov dword [esp + 0x30], ebp
jmp 0x100ec339
push eax
call dword [0x1018e8c0]
mov esi, dword [esi + 0x200]
add esp, 4
add dword [esi], eax
mov eax, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
cmp eax, dword [esi + 0x10c]
jb 0x100ec776
cmp eax, dword [esi + 0x110]
jae 0x100ec776
mov ecx, dword [esi + 0x108]
mov dword [eax], ecx
dec dword [esi + 0xf4]
mov dword [esi + 0x108], eax
mov eax, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
push eax
call fcn.100b4950
add esp, 4
mov eax, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret