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

Disassembly:
sub esp, 0x68
push ebx
mov ebx, dword [esp + 0x70]
xor eax, eax
push ebp
push esi
xor ebp, ebp
mov dword [esp + 0x2c], eax
push edi
mov edi, dword [ebx]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], edi
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x2c], eax
cmp dword [ebx + 0x24], eax
jne 0x10112ae8
cmp byte [ebx + 0xd4], 1
jne 0x10111c99
cmp byte [esp + 0xa4], 2
jne 0x10112ae8
push ebx
call fcn.1012ddb0
add esp, 4
test eax, eax
jne 0x10112ae8
mov eax, dword [esp + 0x8c]
push eax
push ebx
mov dword [esp + 0x28], eax
call fcn.10120ca0
add esp, 8
test eax, eax
jne 0x10112ae8
cmp dword [esp + 0x88], ebp
je 0x10111dbd
mov esi, dword [esp + 0x84]
lea eax, [esp + 0x30]
push eax
push esi
push dword [esp + 0x88]
push ebx
call fcn.10136720
mov edx, eax
add esp, 0x10
mov dword [esp + 0x1c], edx
test edx, edx
js 0x10112ae8
cmp byte [edi + 0xb1], 0
jne 0x10111d3a
push dword [esp + 0x88]
push ebx
call fcn.10134650
mov edx, dword [esp + 0x24]
add esp, 8
cmp dword [esi + 4], ebp
jne 0x10111d3a
test eax, eax
je 0x10111d3a
mov ecx, dword [edi + 0x10]
mov esi, 1
mov eax, dword [eax + 0x3c]
cmp eax, dword [ecx + 0x1c]
cmove edx, esi
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x30]
push eax
push str.index
push edx
lea eax, [esp + 0x50]
push ebx
push eax
call fcn.1011bec0
mov esi, dword [esp + 0x9c]
lea eax, [esp + 0x58]
push esi
push eax
call fcn.1011bf30
lea eax, [esi + 8]
push eax
push 0
push ebx
call fcn.10124770
mov esi, eax
add esp, 0x28
mov dword [esp + 0x10], esi
test esi, esi
je 0x10112ae8
mov edx, dword [esp + 0x1c]
cmp edx, 1
jne 0x10111da8
mov eax, dword [edi + 0x10]
mov eax, dword [eax + 0x1c]
cmp eax, dword [esi + 0x3c]
je 0x10111da8
push dword [esi]
push str.cannot_create_a_TEMP_index_on_non_TEMP_table___s_
push ebx
call fcn.10114f40
add esp, 0xc
jmp 0x10111ff0
test byte [esi + 0x1c], 0x80
je 0x10111dfc
push esi
call fcn.1012d2e0
add esp, 4
mov dword [esp + 0x2c], eax
jmp 0x10111dfc
mov esi, dword [ebx + 0xf0]
mov dword [esp + 0x10], esi
test esi, esi
je 0x10112ae8
mov ecx, dword [esi + 0x3c]
mov edx, 0xffff8000
mov dword [esp + 0x1c], edx
test ecx, ecx
je 0x10111dfc
mov eax, dword [edi + 0x10]
xor edx, edx
add eax, 0xc
mov dword [esp + 0x1c], edx
cmp dword [eax], ecx
je 0x10111dfc
nop
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x10111df0
mov dword [esp + 0x1c], edx
mov eax, dword [edi + 0x10]
mov ecx, edx
mov ebp, dword [esi]
mov edx, 7
shl ecx, 4
add eax, ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x28], eax
test ebp, ebp
je 0x10111e91
mov esi, ebp
mov edi, str.sqlite_
mov al, byte [esi]
dec edx
test al, al
je 0x10111e42
movzx ecx, byte [edi]
movzx eax, al
mov al, byte [eax + 0x1018ff38]
cmp al, byte [ecx + 0x1018ff38]
jne 0x10111e42
inc esi
inc edi
test edx, edx
jg 0x10111e20
dec edx
test edx, edx
js 0x10111e5e
movzx eax, byte [edi]
movzx ecx, byte [eax + 0x1018ff38]
movzx eax, byte [esi]
movzx eax, byte [eax + 0x1018ff38]
sub eax, ecx
jne 0x10111e89
mov edi, dword [esp + 0x14]
cmp byte [edi + 0xb1], 0
jne 0x10111e8d
cmp dword [esp + 0x88], 0
je 0x10111e8d
push ebp
push str.table__s_may_not_be_indexed
push ebx
call fcn.10114f40
add esp, 0xc
jmp 0x10111ff0
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
mov al, byte [esi + 0x2b]
cmp al, 2
jne 0x10111eab
push str.views_may_not_be_indexed
push ebx
call fcn.10114f40
add esp, 8
jmp 0x10111ff0
cmp al, 1
jne 0x10111ec2
push str.virtual_tables_may_not_be_indexed
push ebx
call fcn.10114f40
add esp, 8
jmp 0x10111ff0
mov eax, dword [esp + 0x30]
test eax, eax
je 0x1011207b
mov edi, dword [eax]
mov esi, dword [eax + 4]
test edi, edi
je 0x10112064
xor eax, eax
mov ecx, esi
add ecx, 1
adc eax, eax
push eax
push ecx
push dword [esp + 0x1c]
call fcn.10112e00
mov ebp, eax
add esp, 0xc
mov dword [esp + 0x18], ebp
test ebp, ebp
je 0x10111fdf
push esi
push edi
push ebp
call fcn.1016b7f0
push ebp
mov byte [esi + ebp], 0
call fcn.10113f40
mov ebp, dword [esp + 0x20]
push dword [ebp]
push str.index
push dword [esp + 0x30]
push ebx
call fcn.1010e710
add esp, 0x20
test eax, eax
jne 0x10112117
cmp byte [ebx + 0xd4], 2
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x28]
jae 0x10111fd2
cmp byte [edi + 0xb1], al
jne 0x10111f7f
push dword [esi]
push dword [esp + 0x1c]
push edi
call fcn.1011b310
add esp, 0xc
test eax, eax
je 0x10111f7f
push dword [esp + 0x18]
push str.there_is_already_a_table_named__s
push ebx
call fcn.10114f40
mov eax, dword [esp + 0x24]
add esp, 0xc
mov dword [esp + 0x18], eax
jmp 0x10111ff4
push dword [esi]
push dword [esp + 0x1c]
push edi
call fcn.1011b260
add esp, 0xc
test eax, eax
je 0x10111fd2
cmp dword [esp + 0xa0], 0
jne 0x10111fb5
mov esi, dword [esp + 0x18]
push esi
push str.index__s_already_exists
push ebx
call fcn.10114f40
add esp, 0xc
mov dword [esp + 0x18], esi
jmp 0x10111ff4
push dword [esp + 0x1c]
push ebx
call fcn.1010fdc0
push ebx
call fcn.1011d070
mov eax, dword [esp + 0x24]
add esp, 0xc
mov dword [esp + 0x18], eax
jmp 0x10111ff4
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
jmp 0x101120bb
push ebp
call fcn.10113f40
add esp, 4
mov dword [esp + 0x18], ebp
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
mov edx, dword [ebp + 8]
lea ecx, [ebp + 8]
test edx, edx
je 0x10112013
nop
cmp byte [edx + 0x36], 5
je 0x10112abb
lea ecx, [edx + 0x14]
mov edx, dword [ecx]
test edx, edx
jne 0x10112000
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x98]
test esi, esi
je 0x10112030
push esi
push edi
call fcn.10118890
add esp, 8
test ebx, ebx
je 0x1011203e
push ebx
push edi
call fcn.100e9a10
add esp, 8
push dword [esp + 0x88]
push edi
call fcn.10134080
add esp, 8
test ebp, ebp
je 0x1011205c
push ebp
push edi
call fcn.10112cf0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret
push 0
call fcn.10113f40
add esp, 4
mov dword [esp + 0x18], 0
jmp 0x10111fec
mov eax, dword [esi + 8]
mov ecx, 1
test eax, eax
je 0x1011208f
mov eax, dword [eax + 0x14]
inc ecx
test eax, eax
jne 0x10112087
push ecx
push ebp
push str.sqlite_autoindex__s__d
push edi
call fcn.10124b40
add esp, 0x10
mov dword [esp + 0x18], eax
test eax, eax
je 0x10112113
cmp byte [ebx + 0xd4], 0
mov esi, dword [esp + 0x28]
mov ebp, dword [esp + 0x10]
je 0x101120bb
inc byte [eax + 7]
cmp byte [ebx + 0xd4], 2
jae 0x10112120
mov esi, dword [esi]
mov ecx, str.sqlite_temp_master
cmp dword [esp + 0x1c], 1
mov eax, str.sqlite_master
push esi
push 0
cmove eax, ecx
push eax
push 0x12
push ebx
call fcn.101095e0
add esp, 0x14
test eax, eax
jne 0x10112117
cmp dword [esp + 0x1c], 1
push esi
mov esi, dword [esp + 0x14]
sete al
push dword [esi]
lea eax, [eax*2 + 1]
push dword [esp + 0x20]
push eax
push ebx
call fcn.101095e0
add esp, 0x14
test eax, eax
je 0x10112124
mov ebp, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
jmp 0x10111ff4
mov esi, dword [esp + 0x10]
mov ebp, dword [esp + 0x8c]
test ebp, ebp
jne 0x101121ec
movsx ecx, word [esi + 0x22]
mov eax, dword [esi + 4]
add ecx, ecx
or word [eax + ecx*8 - 2], 8
mov ebp, dword [eax + ecx*8 - 0x10]
test ebp, ebp
jne 0x1011214e
xor esi, esi
jmp 0x10112162
mov esi, ebp
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10112153
sub esi, ecx
and esi, 0x3fffffff
lea eax, [esi + 0x35]
push 0
push eax
push edi
call fcn.10112e00
mov edi, eax
add esp, 0xc
test edi, edi
je 0x101121b1
push 0x34
push 0
push edi
call fcn.1016bd70
or eax, 0xffffffff
mov byte [edi], 0x3b
mov word [edi + 0x22], ax
add esp, 0xc
lea eax, [edi + 0x34]
mov dword [edi + 8], eax
test esi, esi
je 0x101121a3
push esi
push ebp
push eax
call fcn.1016b7f0
add esp, 0xc
mov eax, dword [edi + 8]
mov byte [esi + eax], 0
mov dword [edi + 0x18], 1
push edi
push dword [ebx]
call fcn.10119750
mov ebp, eax
add esp, 8
mov dword [esp + 0x20], ebp
test ebp, ebp
je 0x10112113
mov ecx, dword [esp + 0x9c]
xor ebx, ebx
movzx edx, cl
cmp ecx, 0xffffffff
mov ecx, dword [ebp]
cmovne ebx, edx
lea eax, [ecx + ecx*4]
mov byte [ebp + eax*4 - 4], bl
mov ebx, dword [esp + 0x7c]
jmp 0x10112216
mov ecx, dword [ebx]
mov eax, dword [ebp]
cmp eax, dword [ecx + 0x80]
jle 0x1011220c
push str.index
push str.too_many_columns_in__s
push ebx
call fcn.10114f40
add esp, 0xc
cmp dword [ebx + 0x24], 0
jne 0x10112113
mov esi, dword [ebp]
test esi, esi
jle 0x10112255
lea edx, [ebp + 8]
xor ebx, ebx
mov ecx, dword [edx]
cmp byte [ecx], 0x71
jne 0x10112245
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x10112242
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10112233
sub ecx, edi
and ecx, 0x3fffffff
inc ebx
add ebx, ecx
add edx, 0x14
sub esi, 1
jne 0x10112222
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x7c]
mov esi, dword [esp + 0x18]
mov eax, ebp
add eax, 8
mov dword [esp + 0x24], eax
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10112265
mov eax, dword [esp + 0x2c]
sub esi, ecx
and esi, 0x3fffffff
test eax, eax
je 0x10112282
movzx ecx, word [eax + 0x32]
jmp 0x10112287
mov ecx, 1
lea eax, [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
inc eax
add eax, esi
push eax
mov ax, word [ebp]
mov ebp, dword [esp + 0x1c]
add ax, cx
movzx eax, ax
push eax
push ebp
call fcn.10107860
add esp, 0x10
mov edi, eax
cmp byte [ebp + 0x57], 0
jne 0x10112565
mov ecx, dword [esp + 0x38]
mov dword [edi], ecx
lea eax, [ecx + 1]
add eax, esi
mov dword [esp + 0x38], eax
lea eax, [esi + 1]
push eax
push dword [esp + 0x1c]
push ecx
call fcn.1016b7f0
mov eax, dword [esp + 0x9c]
add esp, 0xc
movzx esi, byte [esp + 0xa4]
mov edx, dword [esp + 0x10]
and esi, 3
mov byte [edi + 0x36], al
neg eax
mov dword [edi + 0xc], edx
sbb ecx, ecx
mov dword [esp + 0x40], esi
mov eax, dword [edi + 0x38]
and ecx, 8
and eax, 0xfffffff7
or ecx, eax
and ecx, 0xfffffffc
or ecx, esi
mov esi, dword [esp + 0x98]
mov dword [edi + 0x38], ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x20]
mov eax, dword [eax + ecx + 0xc]
mov dword [edi + 0x18], eax
movzx eax, word [ebp]
mov word [edi + 0x32], ax
mov ecx, eax
test esi, esi
je 0x10112359
push 0
push esi
push 2
push edx
push ebx
call fcn.1012ee80
movzx eax, word [edi + 0x32]
add esp, 0x14
mov dword [edi + 0x24], esi
mov ecx, eax
mov dword [esp + 0x98], 0
cmp byte [ebx + 0xd4], 2
movzx edx, ax
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0x4c]
mov byte [esp + 0x8c], al
jb 0x10112381
mov dword [edi + 0x28], ebp
mov dword [esp + 0x20], 0
mov eax, edx
xor ebp, ebp
xor edx, edx
mov dword [esp + 0x28], ebp
cmp dx, cx
jae 0x10112611
mov esi, dword [esp + 0x24]
mov eax, dword [esi]
mov cl, byte [eax]
cmp cl, 0x75
je 0x101123ae
cmp cl, 0x71
jne 0x101123b1
mov eax, dword [eax + 0xc]
cmp byte [eax], 0x75
jne 0x101123b1
mov byte [eax], 0x3b
push 0
push dword [esi]
push 0x20
push dword [esp + 0x1c]
push ebx
call fcn.1012ee80
add esp, 0x14
cmp dword [ebx + 0x24], 0
jne 0x10112561
mov eax, dword [esi]
test eax, eax
je 0x101123e4
test dword [eax + 4], 0x2000
je 0x101123e4
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x101123d4
cmp byte [eax], 0xa7
je 0x10112433
mov edx, dword [esp + 0x10]
cmp edx, dword [ebx + 0xf0]
je 0x10112668
cmp dword [edi + 0x28], 0
jne 0x1011240e
mov eax, dword [esp + 0x20]
mov dword [edi + 0x28], eax
mov dword [esp + 0x20], 0
mov eax, dword [edi + 4]
mov ecx, 0xfffffffe
mov ebx, ecx
mov word [eax + ebp*2], bx
mov eax, dword [edi + 0x38]
mov ebx, dword [esp + 0x7c]
and eax, 0xfffffff7
or eax, 0x800
add edx, 4
mov dword [edi + 0x38], eax
jmp 0x1011247b
movsx ecx, word [eax + 0x20]
test ecx, ecx
jns 0x10112448
mov eax, dword [esp + 0x10]
movsx ecx, word [eax + 0x20]
lea edx, [eax + 4]
jmp 0x10112474
mov edx, dword [esp + 0x10]
mov esi, ecx
add edx, 4
add esi, esi
mov eax, dword [edx]
test byte [eax + esi*8 + 4], 0xf
jne 0x10112460
and dword [edi + 0x38], 0xfffffff7
mov eax, dword [edx]
test byte [eax + esi*8 + 0xe], 0x20
mov esi, dword [esp + 0x24]
je 0x10112474
or dword [edi + 0x38], 0xc00
mov eax, dword [edi + 4]
mov word [eax + ebp*2], cx
mov eax, dword [esi]
cmp byte [eax], 0x71
jne 0x101124be
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x1011248d
xor esi, esi
jmp 0x101124a1
mov esi, ecx
lea edx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10112492
sub esi, edx
and esi, 0x3fffffff
mov ebp, dword [esp + 0x38]
inc esi
push esi
push ecx
push ebp
call fcn.1016b7f0
lea eax, [esi + ebp]
add esp, 0xc
mov esi, dword [esp + 0x24]
mov dword [esp + 0x38], eax
jmp 0x101124f9
test ecx, ecx
js 0x101124fd
shl ecx, 4
add ecx, dword [edx]
movzx edx, word [ecx + 0xe]
test edx, 0x200
je 0x101124fd
mov eax, dword [ecx]
cmp byte [eax], 0
je 0x101124e6
nop word [eax + eax]
inc eax
cmp byte [eax], 0
jne 0x101124e0
test dl, 4
je 0x101124f6
nop dword [eax + eax]
inc eax
cmp byte [eax], 0
jne 0x101124f0
lea ebp, [eax + 1]
test ebp, ebp
jne 0x10112502
mov ebp, 0x1019004c
mov eax, dword [esp + 0x14]
cmp byte [eax + 0xb1], 0
jne 0x101125d2
mov ecx, dword [ebx]
mov al, byte [ecx + 0x54]
mov bl, byte [ecx + 0xb1]
mov byte [esp + 0x34], al
mov esi, dword [esp + 0x34]
movzx eax, bl
push eax
push ebp
push esi
push ecx
call fcn.1011a530
add esp, 0x10
test bl, bl
jne 0x10112559
test eax, eax
je 0x10112547
cmp dword [eax + 0xc], 0
jne 0x101125ca
mov ebx, dword [esp + 0x7c]
push ebp
push eax
push esi
push ebx
call fcn.1011fdd0
add esp, 0x10
jmp 0x1011255d
mov ebx, dword [esp + 0x7c]
test eax, eax
jne 0x101125ce
mov ebp, dword [esp + 0x14]
test edi, edi
je 0x10111fec
mov eax, dword [edi + 0x24]
test eax, eax
je 0x1011257e
push eax
push ebp
call fcn.10118890
add esp, 8
mov eax, dword [edi + 0x28]
test eax, eax
je 0x1011258f
push eax
push ebp
call fcn.100e9a10
add esp, 8
mov eax, dword [edi + 0x10]
test eax, eax
je 0x101125a0
push eax
push ebp
call fcn.10112cf0
add esp, 8
test byte [edi + 0x38], 0x10
je 0x101125b7
mov eax, dword [edi + 0x20]
test eax, eax
je 0x101125b7
push eax
push ebp
call fcn.10112cf0
add esp, 8
push edi
mov edi, dword [esp + 0x18]
push edi
call fcn.10112cf0
add esp, 8
jmp 0x10111ff0
mov ebx, dword [esp + 0x7c]
mov esi, dword [esp + 0x24]
mov eax, dword [edi + 0x20]
mov ecx, dword [esp + 0x28]
mov dword [eax + ecx*4], ebp
xor eax, eax
movzx ecx, byte [esi + 8]
cmp byte [esp + 0x8c], 4
mov ebp, dword [esp + 0x28]
cmovb ecx, eax
mov eax, dword [edi + 0x1c]
add esi, 0x14
mov dword [esp + 0x24], esi
mov byte [eax + ebp], cl
inc ebp
movzx eax, word [edi + 0x32]
mov dword [esp + 0x28], ebp
mov ecx, eax
cmp ebp, eax
jl 0x10112398
mov edx, dword [esp + 0x2c]
movzx eax, ax
test edx, edx
je 0x101126b8
xor ecx, ecx
xor esi, esi
cmp cx, word [edx + 0x32]
jae 0x101126cc
mov ebx, dword [esp + 0x28]
mov ecx, eax
mov eax, dword [edx + 4]
push esi
movzx ecx, cx
push edx
movzx eax, word [eax + esi*2]
mov ebp, ecx
push ecx
push edi
mov dword [esp + 0x9c], eax
call fcn.100f2480
mov edx, dword [esp + 0x3c]
add esp, 0x10
test eax, eax
je 0x1011267b
mov eax, 0xffff
add word [edi + 0x34], ax
mov eax, ebp
jmp 0x101126a6
push str.expressions_prohibited_in_PRIMARY_KEY_and_UNIQUE_constraints
push ebx
call fcn.10114f40
add esp, 8
jmp 0x10112561
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x8c]
mov word [eax + ebx*2], cx
mov eax, dword [edx + 0x20]
mov ecx, dword [edi + 0x20]
mov eax, dword [eax + esi*4]
mov dword [ecx + ebx*4], eax
mov eax, dword [edx + 0x1c]
mov ecx, dword [edi + 0x1c]
mov al, byte [esi + eax]
mov byte [ebx + ecx], al
inc ebx
movzx eax, word [edi + 0x32]
movzx ecx, ax
inc esi
movzx eax, word [edx + 0x32]
cmp esi, eax
jl 0x10112634
mov ebx, dword [esp + 0x7c]
jmp 0x101126cc
mov eax, dword [edi + 4]
or ecx, 0xffffffff
mov word [eax + ebp*2], cx
mov eax, dword [edi + 0x20]
mov dword [eax + ebp*4], 0x1019004c
push edi
call fcn.10113270
add esp, 4
cmp dword [ebx + 0xf0], 0
jne 0x101126e7
push edi
call fcn.100e6680
add esp, 4
push edi
call fcn.100fff50
add esp, 4
cmp dword [esp + 0x88], 0
je 0x10112749
mov ecx, dword [esp + 0x10]
movzx esi, word [edi + 0x34]
movsx eax, word [ecx + 0x22]
cmp esi, eax
jl 0x10112749
or dword [edi + 0x38], 0x20
xor edx, edx
movsx ebp, word [ecx + 0x22]
test ebp, ebp
jle 0x10112749
movsx eax, word [ecx + 0x20]
mov dword [esp + 0x8c], eax
cmp edx, eax
je 0x1011285c
xor eax, eax
test esi, esi
je 0x10112745
mov ecx, dword [edi + 4]
cmp dx, word [ecx]
je 0x10112849
inc eax
add ecx, 2
cmp eax, esi
jl 0x10112734
and dword [edi + 0x38], 0xffffffdf
mov ecx, dword [esp + 0x10]
cmp ecx, dword [ebx + 0xf0]
jne 0x101127e3
mov ebp, dword [ecx + 8]
test ebp, ebp
je 0x101127e3
movzx ecx, word [edi + 0x32]
nop dword [eax + eax]
movzx eax, word [ebp + 0x32]
cmp ax, cx
jne 0x101127d4
mov ecx, eax
xor ebx, ebx
mov dword [esp + 0x8c], ecx
test ecx, ecx
je 0x101127c8
mov eax, dword [ebp + 4]
mov esi, dword [edi + 4]
sub eax, esi
mov dword [esp + 0x38], eax
mov ax, word [eax + esi]
cmp ax, word [esi]
jne 0x101127c8
mov eax, dword [edi + 0x20]
push dword [eax + ebx*4]
mov eax, dword [ebp + 0x20]
push dword [eax + ebx*4]
call fcn.101353f0
mov ecx, dword [esp + 0x94]
add esp, 8
test eax, eax
jne 0x101127c8
mov eax, dword [esp + 0x38]
inc ebx
add esi, 2
cmp ebx, ecx
jl 0x10112794
cmp ebx, ecx
je 0x1011286a
movzx ecx, word [edi + 0x32]
mov ebp, dword [ebp + 0x14]
test ebp, ebp
jne 0x10112770
mov ebx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x10]
cmp byte [ebx + 0xd4], 2
mov ebp, dword [esp + 0x14]
jae 0x10112a75
cmp byte [ebp + 0xb1], 0
je 0x10112902
cmp dword [esp + 0x88], 0
je 0x101128d5
mov eax, dword [ebp + 0xac]
push edi
mov dword [edi + 0x2c], eax
call fcn.10121600
add esp, 4
test eax, eax
je 0x101128d5
push str.invalid_rootpage
push ebx
call fcn.10114f40
push 0x1d903
call fcn.101114b0
add esp, 0xc
mov dword [ebx + 0xc], eax
jmp 0x10112565
movzx eax, ax
test ax, ax
js 0x10112745
mov eax, dword [esp + 0x8c]
inc edx
cmp edx, ebp
jl 0x10112723
jmp 0x10112749
mov al, byte [ebp + 0x36]
mov cl, byte [edi + 0x36]
mov esi, dword [esp + 0x7c]
cmp al, cl
je 0x1011289d
cmp al, 0xb
je 0x10112891
cmp cl, 0xb
je 0x10112891
push 0
push str.conflicting_ON_CONFLICT_clauses_specified
push esi
call fcn.10114f40
add esp, 0xc
cmp byte [ebp + 0x36], 0xb
jne 0x1011289d
mov al, byte [edi + 0x36]
mov byte [ebp + 0x36], al
cmp byte [esp + 0xa4], 2
jne 0x101128b4
mov eax, dword [ebp + 0x38]
and eax, 0xfffffffc
or eax, dword [esp + 0x40]
mov dword [ebp + 0x38], eax
cmp byte [esi + 0xd4], 2
jb 0x10112561
mov eax, dword [esi + 0xf4]
mov dword [edi + 0x14], eax
mov dword [esi + 0xf4], edi
jmp 0x10111fec
mov eax, dword [edi + 0x18]
push edi
push dword [edi]
add eax, 0x18
push eax
call fcn.10120df0
add esp, 0xc
test eax, eax
je 0x101128f9
push ebp
call fcn.10125540
add esp, 4
jmp 0x10112565
or dword [ebp + 0x18], 1
jmp 0x10112a75
test byte [ecx + 0x1c], 0x80
je 0x10112917
mov eax, dword [esp + 0x88]
test eax, eax
je 0x10112a7c
inc dword [ebx + 0x2c]
mov esi, dword [ebx + 8]
mov ebp, dword [ebx + 0x2c]
mov dword [esp + 0x7c], ebp
test esi, esi
jne 0x1011294c
cmp dword [ebx + 0x78], esi
jne 0x10112939
mov eax, dword [ebx]
test byte [eax + 0x50], 8
jne 0x10112939
mov byte [ebx + 0x17], 1
push ebx
call fcn.1013a130
mov esi, eax
add esp, 4
test esi, esi
je 0x10112561
push dword [esp + 0x1c]
push 1
push ebx
call fcn.1010a090
push 0xb8
push esi
call fcn.10139a50
push 2
push ebp
push dword [esp + 0x38]
mov dword [edi + 0x2c], eax
push 0x93
push esi
call fcn.10139b60
add esp, 0x28
cmp dword [esp + 0x94], 0
je 0x101129d2
mov edx, dword [ebx + 0xcc]
add edx, dword [ebx + 0xc8]
mov eax, dword [esp + 0x30]
mov ecx, edx
mov eax, dword [eax]
sub ecx, eax
cmp byte [edx - 1], 0x3b
push eax
lea eax, [ecx - 1]
cmovne eax, ecx
cmp dword [esp + 0x94], 0
push eax
mov ecx, str._UNIQUE
mov eax, 0x10183be2
cmovne eax, ecx
push eax
push str.CREATE_s_INDEX__.s
push dword [esp + 0x24]
call fcn.10124b40
add esp, 0x14
mov ebp, eax
jmp 0x101129d4
xor ebp, ebp
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x3c]
push ebp
push dword [esp + 0x80]
push dword [eax]
mov eax, dword [esp + 0x20]
push dword [edi]
mov eax, dword [eax + 0x10]
push dword [eax + ecx]
push str.INSERT_INTO__Q.sqlite_master_VALUES_index__Q__Q__d__Q__
push ebx
call fcn.10125310
add esp, 0x1c
test ebp, ebp
je 0x10112a14
push ebp
mov ebp, dword [esp + 0x18]
push ebp
call fcn.10112cf0
add esp, 8
jmp 0x10112a18
mov ebp, dword [esp + 0x14]
cmp dword [esp + 0x88], 0
je 0x10112a69
push dword [esp + 0x7c]
push edi
push ebx
call fcn.1012e000
push dword [esp + 0x28]
push ebx
call fcn.1010e6a0
add esp, 0x14
push 0
push dword [edi]
push str.name_q_AND_typeindex
push ebp
call fcn.10124b40
add esp, 0xc
push eax
push dword [esp + 0x24]
push esi
call fcn.10139d80
push 1
push 0
push 0xa6
push esi
call fcn.10139b00
add esp, 0x20
push dword [edi + 0x2c]
push esi
call fcn.10143e90
add esp, 8
mov eax, dword [esp + 0x88]
cmp byte [ebp + 0xb1], 0
jne 0x10112aa1
test eax, eax
je 0x10112aa1
cmp byte [ebx + 0xd4], 2
jb 0x10112565
mov dword [ebx + 0xf4], edi
jmp 0x10111fec
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x10]
mov eax, dword [eax + 8]
mov dword [edi + 0x14], eax
mov dword [ebp + 8], edi
mov edi, dword [esp + 0x14]
jmp 0x10111ff4
mov eax, dword [edx + 0x14]
test eax, eax
je 0x10112013
cmp byte [eax + 0x36], 5
je 0x10112013
mov dword [ecx], eax
lea ecx, [eax + 0x14]
mov eax, dword [ecx]
mov dword [edx + 0x14], eax
mov dword [ecx], edx
mov eax, dword [edx + 0x14]
test eax, eax
jne 0x10112ac6
jmp 0x10112013
mov ebx, dword [esp + 0x8c]
jmp 0x1011201b