Function at 0xa1e8f0
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 + 0x14], 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 0xa1ef49
mov ecx, dword [esp + 0x68]
cmp byte [ecx + 0x1e2], 0
jne 0xa1ef49
mov esi, eax
cmp byte [esi + 0x89], 0
mov edi, ecx
jne 0xa1e961
lea edx, [edi + 4]
push edx
call fcn.00a310d0
add esp, 4
test eax, eax
je 0xa1e961
inc dword [edi + 0x44]
mov dword [edi + 0xc], eax
jmp 0xa1ef49
cmp dword [esp + 0x74], 0
je 0xa1ea42
mov edx, dword [esp + 0x6c]
push edi
lea ecx, [esp + 0x30]
mov eax, ebp
call fcn.00a1b8e0
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
jl 0xa1ef49
cmp byte [esi + 0x89], 0
mov edi, dword [esp + 0x74]
mov ebx, dword [esp + 0x68]
jne 0xa1e9c0
mov eax, edi
call fcn.00a21460
cmp dword [ebp + 4], 0
jne 0xa1e9c0
test eax, eax
je 0xa1e9c0
mov ecx, dword [esi + 0x10]
mov edx, dword [eax + 0x44]
cmp edx, dword [ecx + 0x1c]
jne 0xa1e9c0
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.00a19d10
mov ecx, eax
push edi
push ecx
call fcn.00a19d50
add edi, 8
push edi
push 0
mov eax, ebx
call fcn.00a1ab50
add esp, 0x18
mov dword [esp + 0x18], eax
test eax, eax
je 0xa1ef49
mov edi, dword [esp + 0x14]
mov edx, esi
mov ebx, eax
cmp edx, 1
jne 0xa1ea2f
mov eax, dword [edi + 0x10]
mov ecx, dword [eax + 0x1c]
cmp ecx, dword [ebx + 0x44]
je 0xa1ea2f
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.009e9ff0
add esp, 8
jmp 0xa1ef49
test byte [ebx + 0x2c], 0x20
je 0xa1ea6a
mov eax, ebx
call fcn.00a1b9c0
mov dword [esp + 0x38], eax
jmp 0xa1ea6a
mov edi, dword [edi + 0x204]
mov dword [esp + 0x18], edi
test edi, edi
je 0xa1ef49
mov ebx, edi
mov edi, dword [esp + 0x14]
mov esi, dword [ebx + 0x44]
mov ecx, edi
call fcn.00a31430
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.009ea130
add esp, 0xc
test eax, eax
jne 0xa1eac0
push 9
lea eax, [esi + 7]
push str.altertab_
push eax
call fcn.009ea130
add esp, 0xc
test eax, eax
je 0xa1eac0
mov edi, dword [esp + 0x68]
push esi
push str.table__s_may_not_be_indexed
call fcn.009e9ff0
add esp, 8
jmp 0xa1ef49
cmp dword [ebx + 0xc], 0
je 0xa1eadc
mov edi, dword [esp + 0x68]
push str.views_may_not_be_indexed
call fcn.009e9ff0
add esp, 4
jmp 0xa1ef49
test byte [ebx + 0x2c], 0x10
je 0xa1eaf8
mov edi, dword [esp + 0x68]
push str.virtual_tables_may_not_be_indexed
call fcn.009e9ff0
add esp, 4
jmp 0xa1ef49
mov eax, dword [esp + 0x2c]
test eax, eax
je 0xa1eba8
push edi
call fcn.00a1b7a0
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
je 0xa1ef49
mov esi, eax
mov eax, dword [esp + 0x68]
call fcn.00a1b970
test eax, eax
jne 0xa1ef49
mov edi, dword [esp + 0x14]
cmp byte [edi + 0x89], al
jne 0xa1eb5e
push eax
push esi
push edi
call fcn.00a1a9c0
add esp, 0xc
test eax, eax
je 0xa1eb5e
mov edi, dword [esp + 0x68]
push esi
push str.there_is_already_a_table_named__s
call fcn.009e9ff0
add esp, 8
jmp 0xa1ef49
mov ecx, dword [ebp]
push ecx
push esi
mov ecx, edi
call fcn.00a1abb0
add esp, 8
test eax, eax
je 0xa1ebd9
cmp dword [esp + 0x8c], 0
jne 0xa1eb92
mov edi, dword [esp + 0x68]
push esi
push str.index__s_already_exists
call fcn.009e9ff0
add esp, 8
jmp 0xa1ef49
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x68]
push edx
call fcn.00a20270
add esp, 4
jmp 0xa1ef49
mov eax, dword [ebx + 8]
mov ecx, 1
test eax, eax
je 0xa1ebbc
mov eax, dword [eax + 0x14]
inc ecx
test eax, eax
jne 0xa1ebb4
push ecx
push esi
push str.sqlite_autoindex__s__d
mov esi, edi
call fcn.009e94f0
add esp, 0xc
mov dword [esp + 0x20], eax
test eax, eax
je 0xa1ef49
cmp dword [esp + 0x1c], 1
mov esi, dword [ebp]
mov eax, str.sqlite_temp_master
je 0xa1ebed
mov eax, str.sqlite_master
push esi
push 0
push eax
mov eax, dword [esp + 0x74]
push 0x12
call fcn.00a1a2d0
add esp, 0x10
test eax, eax
jne 0xa1ef49
mov eax, 1
cmp dword [esp + 0x1c], eax
jne 0xa1ec17
mov eax, 3
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x20]
push esi
push edx
push ecx
push eax
mov eax, dword [esp + 0x78]
call fcn.00a1a2d0
add esp, 0x10
test eax, eax
jne 0xa1ef49
mov ecx, dword [esp + 0x78]
test ecx, ecx
jne 0xa1ec92
mov eax, dword [esp + 0x68]
push ecx
call fcn.00a12e10
add esp, 4
mov dword [esp + 0x78], eax
test eax, eax
je 0xa1ef49
mov ecx, dword [esp + 0x18]
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.009e8300
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 0xa1ecbf
mov edx, dword [ecx + 8]
mov edi, dword [esp + 0x34]
mov esi, eax
mov eax, dword [edx]
test eax, eax
je 0xa1ecb3
mov ecx, dword [eax + 8]
call fcn.009e9f60
lea edi, [edi + eax + 1]
add edx, 0x18
sub esi, 1
jne 0xa1eca1
mov dword [esp + 0x34], edi
mov ecx, dword [esp + 0x20]
call fcn.009e9f60
mov ebx, eax
mov eax, dword [esp + 0x38]
test eax, eax
je 0xa1ecd8
movzx eax, word [eax + 0x32]
jmp 0xa1ecdd
mov eax, 1
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x78]
mov esi, dword [esp + 0x14]
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.00a1e870
add esp, 8
cmp byte [esi + 0x40], 0
mov ebp, eax
jne 0xa1ef3a
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.00a828e0
mov ecx, dword [esp + 0x88]
xor edx, edx
add esp, 0xc
test ecx, ecx
setne dl
mov eax, dword [esp + 0x18]
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 0xa1eda7
mov edx, dword [esp + 0x68]
push esi
push 0x10
push edx
xor ebx, ebx
call fcn.00a117f0
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 0xa1eecc
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x18]
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 0xa1ee10
mov edx, dword [esi]
mov eax, dword [esp + 0x3c]
push edx
push eax
call fcn.009ea0e0
add esp, 8
test eax, eax
je 0xa1ee10
movsx ecx, word [edi + 0x26]
inc ebx
add esi, 0x18
cmp ebx, ecx
jl 0xa1edf0
movsx eax, word [edi + 0x26]
cmp ebx, eax
jge 0xa1ef1d
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 0xa1ee51
mov ecx, dword [eax + 8]
call fcn.009e9f60
mov esi, dword [esp + 0x24]
mov edi, eax
inc edi
push edi
push ecx
push esi
call fcn.00a828e0
add esp, 0xc
add dword [esp + 0x24], edi
jmp 0xa1ee68
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 4]
lea edx, [ebx + ebx*2]
mov esi, dword [ecx + edx*8 + 0x10]
test esi, esi
jne 0xa1ee68
mov esi, str.BINARY
mov edx, dword [esp + 0x14]
cmp byte [edx + 0x89], 0
jne 0xa1ee86
mov edi, dword [esp + 0x68]
call fcn.00a1c5c0
test eax, eax
je 0xa1ef3a
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 + 0x18]
mov eax, dword [edx + 4]
lea ecx, [ebx + ebx*2]
cmp byte [eax + ecx*8 + 0x14], 0
jne 0xa1eeb6
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 0xa1edd4
mov esi, dword [esp + 0x38]
test esi, esi
je 0xa1effb
xor ecx, ecx
xor ebx, ebx
cmp cx, word [esi + 0x32]
jae 0xa1f00f
jmp 0xa1eef0
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.00a1cb00
test eax, eax
je 0xa1efc7
mov eax, 0xffff
add word [ebp + 0x34], ax
jmp 0xa1efec
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.009e9ff0
add esp, 0xc
mov byte [edi + 0x11], 1
test ebp, ebp
je 0xa1ef49
mov edi, dword [esp + 0x14]
mov esi, ebp
call fcn.00a1acb0
mov ecx, dword [esp + 0x84]
mov esi, dword [esp + 0x14]
push ecx
push esi
call fcn.00a12490
mov edx, dword [esp + 0x80]
push edx
push esi
call fcn.00a12fa0
mov eax, dword [esp + 0x84]
push eax
mov eax, esi
call fcn.00a1fad0
mov eax, dword [esp + 0x34]
add esp, 0x14
test eax, eax
je 0xa1f38b
cmp dword [esi + 0x200], 0
je 0xa1f352
cmp eax, dword [esi + 0x10c]
jb 0xa1f334
cmp eax, dword [esi + 0x110]
jae 0xa1f334
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 0xa1eef0
jmp 0xa1f00f
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.00a1f3a0
mov esi, dword [esp + 0x68]
cmp dword [esi + 0x204], 0
jne 0xa1f02a
mov edi, ebp
call fcn.00a1caa0
mov eax, dword [esp + 0x18]
cmp eax, dword [esi + 0x204]
jne 0xa1f0ae
mov ebx, dword [eax + 8]
test ebx, ebx
je 0xa1f0ae
lea ecx, [ecx]
movzx eax, word [ebx + 0x32]
movzx ecx, word [ebp + 0x32]
cmp ax, cx
jne 0xa1f0a3
movzx eax, ax
xor edi, edi
mov dword [esp + 0x3c], eax
test eax, eax
jle 0xa1f09d
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 0xa1f09d
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 0xa1f091
push ecx
push eax
call fcn.009ea0e0
add esp, 8
test eax, eax
jne 0xa1f09d
mov edx, dword [esp + 0x44]
movzx eax, word [ebx + 0x32]
inc edi
add esi, 2
cmp edi, eax
jl 0xa1f066
cmp edi, dword [esp + 0x3c]
je 0xa1f0e4
mov ebx, dword [ebx + 0x14]
test ebx, ebx
jne 0xa1f040
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x14]
cmp byte [edi + 0x89], 0
je 0xa1f142
mov ecx, dword [ebp]
push ebp
call fcn.009e9f60
push ecx
mov ecx, dword [ebp + 0x18]
add ecx, 0x18
call fcn.009eb4a0
add esp, 8
test eax, eax
je 0xa1f123
mov byte [edi + 0x40], 1
jmp 0xa1ef3a
mov al, byte [ebx + 0x36]
mov cl, byte [ebp + 0x36]
cmp al, cl
je 0xa1ef3a
cmp al, 0xa
je 0xa1f10e
cmp cl, 0xa
je 0xa1f10e
mov edi, dword [esp + 0x68]
push 0
push str.conflicting_ON_CONFLICT_clauses_specified
call fcn.009e9ff0
add esp, 8
cmp byte [ebx + 0x36], 0xa
jne 0xa1ef3a
mov cl, byte [ebp + 0x36]
mov byte [ebx + 0x36], cl
jmp 0xa1ef3a
or dword [edi + 0x18], 2
cmp dword [esp + 0x74], 0
je 0xa1f2c0
mov edx, edi
mov eax, dword [edx + 0x84]
mov dword [ebp + 0x2c], eax
jmp 0xa1f2c0
cmp dword [esi + 0x44], 0
jne 0xa1f2c0
mov ecx, dword [esp + 0x18]
test byte [ecx + 0x2c], 0x20
je 0xa1f161
cmp dword [esp + 0x74], 0
je 0xa1f2c0
mov esi, dword [esp + 0x68]
inc dword [esi + 0x4c]
mov edx, dword [esi + 0x4c]
mov edi, esi
mov dword [esp + 0x38], edx
call fcn.00a34450
mov ebx, eax
mov dword [esp + 0x34], ebx
test ebx, ebx
je 0xa1ef3a
mov edi, dword [esp + 0x1c]
push 1
mov eax, esi
call fcn.00a203c0
mov eax, dword [esp + 0x3c]
add esp, 4
push 0
push eax
push edi
push 0x70
mov eax, ebx
call fcn.00a02a40
add esp, 0x10
cmp dword [esp + 0x80], 0
je 0xa1f1f7
mov eax, dword [esi + 0x21c]
add eax, dword [esi + 0x218]
mov ecx, dword [esp + 0x2c]
sub eax, dword [ecx]
mov ecx, dword [ecx]
cmp byte [ecx + eax - 1], 0x3b
jne 0xa1f1ce
dec eax
cmp dword [esp + 0x7c], 0
mov edx, 0xaa1543
je 0xa1f1df
mov edx, str._UNIQUE
mov esi, dword [esp + 0x14]
push ecx
push eax
push edx
push str.CREATE_s_INDEX__.s
call fcn.009e94f0
add esp, 0x10
mov edi, eax
jmp 0xa1f1fd
mov esi, dword [esp + 0x14]
xor edi, edi
cmp dword [esp + 0x1c], 1
mov eax, str.sqlite_temp_master
je 0xa1f20e
mov eax, str.sqlite_master
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x68]
push edi
push ecx
mov ecx, dword [edx]
mov edx, dword [ebp]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
push eax
mov eax, dword [esi + 0x10]
mov edx, dword [eax + ecx]
push edx
push str.INSERT_INTO__Q._s_VALUES_index__Q__Q__d__Q__
call fcn.00a1a900
add esp, 0x1c
mov eax, edi
mov ecx, esi
call fcn.009e8000
cmp dword [esp + 0x74], 0
je 0xa1f2c0
mov eax, dword [esp + 0x38]
push eax
push ebp
mov esi, ebx
push esi
call fcn.00a1e300
mov ebx, dword [esp + 0x28]
add esp, 0xc
call fcn.00a1c630
mov ecx, dword [ebp]
mov esi, dword [esp + 0x14]
push ecx
push str.name_q_AND_typeindex
call fcn.009e94f0
mov esi, dword [esp + 0x3c]
push eax
push ebx
call fcn.00a02b60
mov ebx, dword [esi + 0x1c]
add esp, 0x10
cmp dword [esi + 0x20], ebx
jg 0xa1f299
mov edi, esi
call fcn.00a029c0
test eax, eax
jne 0xa1f2c0
mov eax, dword [esp + 0x34]
inc dword [eax + 0x1c]
mov eax, dword [eax + 4]
xor ecx, ecx
lea edx, [ebx + ebx*4]
lea eax, [eax + edx*4]
mov byte [eax], 0x86
mov byte [eax + 3], cl
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov ecx, dword [esp + 0x14]
cmp byte [ecx + 0x89], 0
jne 0xa1f2d8
cmp dword [esp + 0x74], 0
jne 0xa1ef3a
mov ecx, dword [esp + 0x18]
mov edx, 5
cmp dword [esp + 0x7c], edx
jne 0xa1f322
mov eax, dword [ecx + 8]
test eax, eax
je 0xa1f322
cmp byte [eax + 0x36], dl
je 0xa1f322
cmp dword [eax + 0x14], 0
je 0xa1f310
lea esp, [esp]
mov ecx, dword [eax + 0x14]
cmp byte [ecx + 0x36], dl
je 0xa1f310
mov eax, ecx
cmp dword [eax + 0x14], 0
jne 0xa1f300
mov edx, dword [eax + 0x14]
mov dword [ebp + 0x14], edx
mov dword [eax + 0x14], ebp
mov dword [esp + 0x30], ebp
jmp 0xa1ef49
mov eax, dword [ecx + 8]
mov dword [ebp + 0x14], eax
mov dword [ecx + 8], ebp
mov dword [esp + 0x30], ebp
jmp 0xa1ef49
push eax
call dword [0xb24a48]
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 0xa1f382
cmp eax, dword [esi + 0x110]
jae 0xa1f382
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.009e7f60
add esp, 4
mov eax, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret