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

Disassembly:
sub esp, 0x48
mov eax, dword [esp + 0x4c]
mov eax, dword [eax]
mov cl, byte [eax + 0x38]
push ebx
xor ebx, ebx
test cl, cl
push ebp
mov ebp, dword [esp + 0x5c]
push esi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], ebx
jne 0x100ec1a7
mov ecx, dword [esp + 0x58]
mov al, byte [ecx + 0x1d5]
test al, al
jne 0x100ec1a7
mov esi, dword [esp + 0xc]
mov al, byte [esi + 0x81]
test al, al
push edi
mov edi, ecx
jne 0x100ebb6f
lea edx, [edi + 4]
push edx
call fcn.100e5e70
add esp, 4
cmp eax, ebx
je 0x100ebb6f
mov dword [edi + 0xc], eax
inc dword [edi + 0x44]
jmp 0x100ec1a6
cmp dword [esp + 0x68], ebx
je 0x100ebc21
mov edx, dword [esp + 0x60]
push edi
lea ecx, [esp + 0x24]
mov eax, ebp
call fcn.100ab170
add esp, 4
cmp eax, ebx
mov dword [esp + 0x18], eax
jl 0x100ec1a6
mov edi, dword [esp + 0x10]
mov al, byte [edi + 0x81]
test al, al
mov ebx, dword [esp + 0x5c]
mov esi, dword [esp + 0x68]
jne 0x100ebbd3
mov eax, esi
call fcn.100e7210
mov ecx, dword [ebp + 4]
test ecx, ecx
jne 0x100ebbd3
test eax, eax
je 0x100ebbd3
mov ecx, dword [edi + 0x10]
mov edx, dword [eax + 0x40]
cmp edx, dword [ecx + 0x1c]
jne 0x100ebbd3
mov dword [esp + 0x18], 1
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
push eax
push str.index
mov edx, ebx
lea eax, [esp + 0x4c]
call fcn.1009a3a0
add esp, 8
test eax, eax
je 0x100ebc01
lea ecx, [esp + 0x44]
push esi
push ecx
call fcn.100b2fe0
add esp, 8
add esi, 8
push esi
push 0
mov eax, ebx
call fcn.100e6850
add esp, 8
test eax, eax
mov dword [esp + 0x14], eax
je 0x100ec1a6
mov ebx, eax
jmp 0x100ebc45
mov edi, dword [edi + 0x1fc]
cmp edi, ebx
mov dword [esp + 0x14], edi
je 0x100ec1a6
mov ecx, dword [esp + 0x10]
mov ebx, edi
mov esi, dword [ebx + 0x40]
call fcn.1009b4f0
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
mov ecx, dword [esi + 0x10]
mov ebp, dword [ebx]
shl eax, 4
push 7
add ecx, eax
push str.sqlite_
push ebp
mov dword [esp + 0x40], eax
mov dword [esp + 0x30], ecx
call fcn.10093d50
add esp, 0xc
test eax, eax
jne 0x100ebca1
mov ecx, 9
mov edi, str.altertab_
lea esi, [ebp + 7]
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x100ebc9d
mov edi, dword [esp + 0x5c]
push ebp
push str.table__s_may_not_be_indexed
call fcn.100a77d0
add esp, 8
jmp 0x100ec1a6
mov esi, dword [esp + 0x10]
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x100ebcbe
mov edi, dword [esp + 0x5c]
push str.views_may_not_be_indexed
call fcn.100a77d0
add esp, 4
jmp 0x100ec1a6
test byte [ebx + 0x2a], 0x10
je 0x100ebcda
mov edi, dword [esp + 0x5c]
push str.virtual_tables_may_not_be_indexed
call fcn.100a77d0
add esp, 4
jmp 0x100ec1a6
mov eax, dword [esp + 0x20]
test eax, eax
je 0x100ebd8f
mov edx, esi
call fcn.100a3e00
test eax, eax
mov dword [esp + 0x1c], eax
je 0x100ec1a6
mov esi, eax
mov eax, dword [esp + 0x5c]
call fcn.100ab210
test eax, eax
jne 0x100ec1a6
mov edi, dword [esp + 0x10]
mov al, byte [edi + 0x81]
test al, al
jne 0x100ebd41
push 0
push esi
push edi
call fcn.1009a490
add esp, 0xc
test eax, eax
je 0x100ebd41
mov edi, dword [esp + 0x5c]
push esi
push str.there_is_already_a_table_named__s
call fcn.100a77d0
add esp, 8
jmp 0x100ec1a6
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
push ecx
push esi
mov ecx, edi
call fcn.1009a5a0
add esp, 8
test eax, eax
je 0x100ebdc3
mov eax, dword [esp + 0x80]
test eax, eax
jne 0x100ebd79
mov edi, dword [esp + 0x5c]
push esi
push str.index__s_already_exists
call fcn.100a77d0
add esp, 8
jmp 0x100ec1a6
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x5c]
push edx
call fcn.100d5f50
add esp, 4
jmp 0x100ec1a6
mov eax, dword [ebx + 8]
test eax, eax
mov ecx, 1
je 0x100ebda8
jmp 0x100ebda0
mov eax, dword [eax + 0x14]
inc ecx
test eax, eax
jne 0x100ebda0
push ecx
push ebp
push str.sqlite_autoindex__s__d
call fcn.100a7570
add esp, 0xc
test eax, eax
mov dword [esp + 0x1c], eax
je 0x100ec1a6
mov eax, dword [esp + 0x24]
mov esi, dword [eax]
mov eax, dword [esp + 0x18]
mov edi, 1
cmp eax, edi
mov eax, str.sqlite_temp_master
je 0x100ebde0
mov eax, str.sqlite_master
push esi
push 0
push eax
mov eax, dword [esp + 0x68]
push 0x12
call fcn.100aae00
add esp, 0x10
test eax, eax
jne 0x100ec1a6
cmp dword [esp + 0x18], edi
mov eax, edi
jne 0x100ebe07
mov eax, 3
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x1c]
push esi
push edx
push ecx
push eax
mov eax, dword [esp + 0x6c]
call fcn.100aae00
add esp, 0x10
test eax, eax
jne 0x100ec1a6
mov esi, dword [esp + 0x6c]
test esi, esi
jne 0x100ebe8e
mov ecx, dword [esp + 0x14]
movsx eax, word [ecx + 0x26]
lea edx, [eax + eax*2]
mov eax, dword [ecx + 4]
mov ecx, dword [eax + edx*8 - 0x18]
mov dword [esp + 0x3c], ecx
call fcn.10093c30
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x5c]
xor ebx, ebx
xor ecx, ecx
call fcn.100aa540
test eax, eax
mov dword [esp + 0x6c], eax
je 0x100ec1a6
mov ebp, dword [esp + 0x5c]
mov esi, eax
push ebx
push ebp
lea edx, [esp + 0x44]
mov ecx, esi
call fcn.100a3160
mov ecx, dword [esi + 8]
mov dl, byte [esp + 0x84]
add esp, 8
mov byte [ecx + 0xc], dl
jmp 0x100ebe92
mov ebp, dword [esp + 0x5c]
mov eax, dword [esi]
xor ebx, ebx
test eax, eax
jle 0x100ebed4
xor edi, edi
lea esp, [esp]
mov eax, dword [esi + 8]
mov ecx, dword [edi + eax]
test ecx, ecx
je 0x100ebeca
push ebp
call fcn.100bb7a0
add esp, 4
test eax, eax
je 0x100ebeca
mov ecx, dword [eax]
call fcn.10093c30
mov ecx, dword [esp + 0x28]
lea edx, [ecx + eax + 1]
mov dword [esp + 0x28], edx
mov eax, dword [esi]
inc ebx
add edi, 0x14
cmp ebx, eax
jl 0x100ebea0
mov ebx, dword [esp + 0x1c]
mov ecx, ebx
call fcn.10093c30
mov esi, eax
mov eax, dword [esp + 0x6c]
mov edi, dword [eax]
mov eax, dword [esp + 0x28]
lea ecx, [edi*4 + 0xb]
and ecx, 0xfffffff8
add ecx, esi
lea edx, [edi + edi*8]
add edx, ecx
lea eax, [edx + eax + 0x31]
mov edx, dword [esp + 0x10]
call fcn.100a65c0
mov ecx, dword [esp + 0x10]
mov ebp, eax
mov al, byte [ecx + 0x38]
test al, al
jne 0x100ec18b
lea edx, [edi*4 + 8]
and edx, 0xfffffff8
lea eax, [ebp + 0x30]
mov dword [ebp + 8], eax
add eax, edx
mov dword [ebp + 0x20], eax
lea eax, [eax + edi*4]
mov dword [ebp + 4], eax
lea eax, [eax + edi*4]
mov dword [ebp + 0x1c], eax
add edi, eax
mov dword [ebp], edi
lea ecx, [esi + 1]
mov edx, ecx
shr ecx, 2
lea eax, [edi + esi + 1]
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dl, byte [esp + 0x70]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x14]
mov dword [ebp + 0xc], eax
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax]
mov dword [ebp + 0x24], ecx
mov ecx, dword [esp + 0x20]
test ecx, ecx
mov byte [ebp + 0x2c], dl
mov edx, dword [esp + 0x10]
sete cl
mov byte [ebp + 0x2d], cl
mov ecx, dword [edx + 0x10]
mov edx, dword [esp + 0x34]
mov ecx, dword [edx + ecx + 0xc]
mov edx, dword [esp + 0x24]
mov dword [ebp + 0x18], ecx
mov ecx, dword [edx + 0xc]
mov edx, dword [eax + 8]
xor ebx, ebx
mov bl, byte [ecx + 0x4c]
mov ecx, dword [eax]
cmp bl, 4
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], edx
sbb ebx, ebx
neg ebx
dec ebx
test ecx, ecx
jle 0x100ec0cc
lea ecx, [ecx]
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x14]
mov edi, dword [eax + 4]
movsx eax, word [eax + 0x26]
xor esi, esi
test eax, eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x3c], eax
jle 0x100ec008
mov edx, dword [edi]
mov eax, dword [esp + 0x30]
push edx
push eax
call fcn.10093d00
add esp, 8
test eax, eax
je 0x100ec004
mov ecx, dword [esp + 0x14]
movsx edx, word [ecx + 0x26]
inc esi
add edi, 0x18
cmp esi, edx
jl 0x100ebfe0
mov eax, dword [esp + 0x3c]
cmp esi, eax
jge 0x100ec1d9
mov eax, dword [ebp + 4]
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [eax + edi*4], esi
mov ecx, dword [ecx]
test ecx, ecx
je 0x100ec065
mov edx, dword [esp + 0x5c]
push edx
call fcn.100bb7a0
add esp, 4
test eax, eax
je 0x100ec065
mov esi, dword [eax]
mov ecx, esi
call fcn.10093c30
mov edi, dword [esp + 0x2c]
inc eax
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x24]
mov esi, ecx
add ecx, eax
mov dword [esp + 0x2c], ecx
jmp 0x100ec07c
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 4]
lea eax, [esi + esi*2]
mov esi, dword [edx + eax*8 + 0x10]
test esi, esi
jne 0x100ec07c
mov esi, 0x10187d68
mov eax, dword [esp + 0x10]
mov cl, byte [eax + 0x81]
test cl, cl
jne 0x100ec09f
mov edi, dword [esp + 0x5c]
call fcn.100bca90
test eax, eax
je 0x100ec18b
mov edi, dword [esp + 0x24]
mov ecx, dword [ebp + 0x20]
mov eax, dword [esp + 0x28]
mov dword [ecx + edi*4], esi
mov dl, byte [eax + 0xc]
mov ecx, dword [ebp + 0x1c]
and dl, bl
mov byte [edi + ecx], dl
mov edx, dword [esp + 0x6c]
add eax, 0x14
inc edi
mov dword [esp + 0x28], eax
cmp edi, dword [edx]
mov dword [esp + 0x24], edi
jl 0x100ebfc0
mov edx, ebp
call fcn.1009a930
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x14]
cmp eax, dword [ecx + 0x1fc]
jne 0x100ec154
mov ebx, dword [eax + 8]
test ebx, ebx
je 0x100ec154
lea ebx, [ebx]
mov eax, dword [ebx + 0x24]
cmp eax, dword [ebp + 0x24]
jne 0x100ec14d
xor esi, esi
test eax, eax
jle 0x100ec144
mov edi, dword [ebp + 4]
mov edx, dword [ebx + 4]
sub edx, edi
mov dword [esp + 0x3c], edx
lea ebx, [ebx]
lea eax, [edi + esi*4]
mov ecx, dword [edx + eax]
cmp ecx, dword [eax]
jne 0x100ec144
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebp + 0x20]
mov eax, dword [eax + esi*4]
mov ecx, dword [ecx + esi*4]
cmp eax, ecx
je 0x100ec13c
push ecx
push eax
call fcn.10093d00
add esp, 8
test eax, eax
jne 0x100ec144
mov edx, dword [esp + 0x3c]
mov eax, dword [ebx + 0x24]
inc esi
cmp esi, eax
jl 0x100ec110
cmp esi, dword [ebx + 0x24]
je 0x100ec1fc
mov ebx, dword [ebx + 0x14]
test ebx, ebx
jne 0x100ec0f0
mov esi, dword [esp + 0x10]
mov al, byte [esi + 0x81]
test al, al
je 0x100ec25b
mov ecx, dword [ebp]
push ebp
call fcn.10093c30
push eax
mov eax, dword [ebp + 0x18]
push ecx
add eax, 0x18
call fcn.1009e890
add esp, 0xc
test eax, eax
je 0x100ec237
mov byte [esi + 0x38], 1
test ebp, ebp
je 0x100ec1a6
mov esi, dword [esp + 0x10]
mov eax, dword [ebp + 0x10]
mov ecx, esi
call fcn.10093a30
mov eax, ebp
mov ecx, esi
call fcn.10093a30
pop edi
mov ecx, dword [esp + 0x68]
mov esi, dword [esp + 0xc]
push ecx
push esi
call fcn.100a3240
mov edx, dword [esp + 0x6c]
push edx
call fcn.1009aa80
mov eax, dword [esp + 0x24]
add esp, 0xc
mov ecx, esi
call fcn.10093a30
mov eax, dword [esp + 0x34]
pop esi
pop ebp
pop ebx
add esp, 0x48
ret
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov edi, dword [esp + 0x5c]
push eax
push edx
push str.table__s_has_no_column_named__s
call fcn.100a77d0
add esp, 0xc
mov byte [edi + 0x11], 1
jmp 0x100ec18b
mov al, byte [ebx + 0x2c]
mov cl, byte [ebp + 0x2c]
cmp al, cl
je 0x100ec18b
cmp al, 0x63
je 0x100ec222
cmp cl, 0x63
je 0x100ec222
mov edi, dword [esp + 0x5c]
push 0
push str.conflicting_ON_CONFLICT_clauses_specified
call fcn.100a77d0
add esp, 8
cmp byte [ebx + 0x2c], 0x63
jne 0x100ec18b
mov dl, byte [ebp + 0x2c]
mov byte [ebx + 0x2c], dl
jmp 0x100ec18b
mov ecx, dword [esi + 0x18]
mov eax, dword [esp + 0x68]
or ecx, 2
test eax, eax
mov dword [esi + 0x18], ecx
je 0x100ec3b5
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x7c]
mov dword [ebp + 0x28], ecx
jmp 0x100ec3b5
mov edi, dword [esp + 0x5c]
mov ecx, dword [edi + 0x4c]
inc ecx
mov edx, ecx
mov dword [edi + 0x4c], ecx
mov dword [esp + 0x2c], edx
call fcn.100ad930
mov esi, eax
test esi, esi
mov dword [esp + 0x3c], esi
je 0x100ec18b
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x5c]
push 1
call fcn.100d60a0
mov ebx, dword [esi + 0x1c]
mov eax, dword [esi + 0x20]
add esp, 4
cmp eax, ebx
jg 0x100ec2a6
mov edi, esi
call fcn.100a1800
test eax, eax
jne 0x100ec2d6
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x18]
inc eax
mov dword [esi + 0x1c], eax
lea eax, [ebx + ebx*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x2c]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax], 0x68
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
mov eax, dword [esp + 0x74]
test eax, eax
je 0x100ec317
mov eax, dword [esp + 0x70]
test eax, eax
mov ecx, 0x10167a1b
je 0x100ec2f0
mov ecx, str._UNIQUE
mov edx, dword [esp + 0x20]
mov eax, dword [edx]
mov edx, dword [esp + 0x78]
mov edx, dword [edx]
mov esi, dword [esp + 0x10]
push eax
sub edx, eax
inc edx
push edx
push ecx
push str.CREATE_s_INDEX__.s
call fcn.100a7570
add esp, 0x10
mov esi, eax
jmp 0x100ec319
xor esi, esi
cmp dword [esp + 0x18], 1
mov eax, str.sqlite_temp_master
je 0x100ec32a
mov eax, str.sqlite_master
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x5c]
push esi
push ecx
mov ecx, dword [edx]
mov edx, dword [ebp]
push ecx
mov ecx, dword [esp + 0x40]
push edx
push eax
mov eax, dword [edi + 0x10]
mov edx, dword [ecx + eax]
push edx
push str.INSERT_INTO__Q._s_VALUES_index__Q__Q__d__Q__
call fcn.100aae90
add esp, 0x1c
mov eax, esi
mov ecx, edi
call fcn.10093a30
mov eax, dword [esp + 0x68]
test eax, eax
je 0x100ec3b5
mov eax, dword [esp + 0x2c]
push eax
push ebp
push ebx
call fcn.100c8650
mov ecx, dword [esp + 0x24]
push ecx
mov esi, ebx
call fcn.100a3e90
mov edx, dword [ebp]
push edx
push str.name_q_AND_typeindex
mov esi, edi
call fcn.100a7570
mov esi, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x34]
push eax
call fcn.100a9600
push 0
push 0x81
mov eax, esi
call fcn.100a1930
add esp, 0x28
mov ecx, dword [esp + 0x10]
mov al, byte [ecx + 0x81]
test al, al
jne 0x100ec3cf
mov eax, dword [esp + 0x68]
test eax, eax
jne 0x100ec18b
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x14]
mov edx, 5
cmp eax, edx
jne 0x100ec416
mov eax, dword [ecx + 8]
test eax, eax
je 0x100ec416
cmp byte [eax + 0x2c], dl
je 0x100ec416
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x100ec404
mov ecx, dword [eax + 0x14]
cmp byte [ecx + 0x2c], dl
je 0x100ec404
mov eax, ecx
mov ecx, dword [eax + 0x14]
test ecx, ecx
jne 0x100ec3f3
mov edx, dword [eax + 0x14]
mov dword [ebp + 0x14], edx
mov dword [eax + 0x14], ebp
mov dword [esp + 0x38], ebp
jmp 0x100ec1a6
mov eax, dword [ecx + 8]
mov dword [ebp + 0x14], eax
mov dword [ecx + 8], ebp
mov dword [esp + 0x38], ebp
jmp 0x100ec1a6