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

Disassembly:
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x78]
xor eax, eax
xor ebp, ebp
mov dword [esp + 0x18], 0
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov ebx, dword [edi]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x28], eax
cmp dword [edi + 0x24], eax
jne 0x49d762
cmp byte [edi + 0xdc], 1
jne 0x49c8d9
cmp byte [esp + 0xa0], 2
jne 0x49d762
push edi
call fcn.004baa80
add esp, 4
test eax, eax
jne 0x49d762
mov eax, dword [esp + 0x88]
push eax
push edi
mov dword [esp + 0x28], eax
call fcn.004ad3d0
add esp, 8
test eax, eax
jne 0x49d762
cmp dword [esp + 0x84], ebp
je 0x49c9fd
mov esi, dword [esp + 0x80]
lea eax, [esp + 0x2c]
push eax
push esi
push dword [esp + 0x84]
push edi
call fcn.004c3540
mov edx, eax
add esp, 0x10
mov dword [esp + 0x1c], edx
test edx, edx
js 0x49d762
cmp byte [ebx + 0xb1], 0
jne 0x49c97a
push dword [esp + 0x84]
push edi
call fcn.004c1480
mov edx, dword [esp + 0x24]
add esp, 8
cmp dword [esi + 4], ebp
jne 0x49c97a
test eax, eax
je 0x49c97a
mov ecx, dword [ebx + 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 + 0x2c]
push eax
push str.index
push edx
lea eax, [esp + 0x4c]
push edi
push eax
call fcn.004a75d0
mov esi, dword [esp + 0x98]
lea eax, [esp + 0x54]
push esi
push eax
call fcn.004a7640
lea eax, [esi + 8]
push eax
push 0
push edi
call fcn.004b13e0
mov esi, eax
add esp, 0x28
mov dword [esp + 0x14], esi
test esi, esi
je 0x49d762
mov edx, dword [esp + 0x1c]
cmp edx, 1
jne 0x49c9e8
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0x1c]
cmp eax, dword [esi + 0x3c]
je 0x49c9e8
push dword [esi]
push str.cannot_create_a_TEMP_index_on_non_TEMP_table___s_
push edi
call fcn.0049fe60
add esp, 0xc
jmp 0x49caee
test byte [esi + 0x1c], 0x80
je 0x49ca3c
push esi
call fcn.004b9e00
add esp, 4
mov dword [esp + 0x28], eax
jmp 0x49ca3c
mov esi, dword [edi + 0xf8]
mov dword [esp + 0x14], esi
test esi, esi
je 0x49d762
mov ecx, dword [esi + 0x3c]
mov edx, 0xffff8000
mov dword [esp + 0x1c], edx
test ecx, ecx
je 0x49ca3c
mov eax, dword [ebx + 0x10]
xor edx, edx
add eax, 0xc
mov dword [esp + 0x1c], edx
cmp dword [eax], ecx
je 0x49ca3c
nop
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x49ca30
mov dword [esp + 0x1c], edx
mov eax, dword [ebx + 0x10]
mov ecx, edx
mov ebx, dword [esi]
mov edx, 7
shl ecx, 4
add eax, ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x24], eax
test ebx, ebx
je 0x49cad1
mov esi, ebx
mov edi, str.sqlite_
mov al, byte [esi]
dec edx
test al, al
je 0x49ca82
movzx ecx, byte [edi]
movzx eax, al
mov al, byte [eax + 0x52e638]
cmp al, byte [ecx + 0x52e638]
jne 0x49ca82
inc esi
inc edi
test edx, edx
jg 0x49ca60
dec edx
test edx, edx
js 0x49ca9e
movzx eax, byte [edi]
movzx ecx, byte [eax + 0x52e638]
movzx eax, byte [esi]
movzx eax, byte [eax + 0x52e638]
sub eax, ecx
jne 0x49cac9
mov eax, dword [esp + 0x10]
cmp byte [eax + 0xb1], 0
jne 0x49cac9
cmp dword [esp + 0x84], ebp
je 0x49cac9
mov eax, dword [esp + 0x78]
push ebx
push str.table__s_may_not_be_indexed
push eax
call fcn.0049fe60
add esp, 0xc
jmp 0x49caea
mov edi, dword [esp + 0x78]
mov esi, dword [esp + 0x14]
mov al, byte [esi + 0x2b]
cmp al, 2
jne 0x49cb8c
push str.views_may_not_be_indexed
push edi
call fcn.0049fe60
add esp, 8
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
add edx, 8
mov ecx, dword [edx]
test ecx, ecx
je 0x49cb13
nop dword [eax + eax]
cmp byte [ecx + 0x36], 5
je 0x49d72e
lea edx, [ecx + 0x14]
mov ecx, dword [edx]
test ecx, ecx
jne 0x49cb00
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x94]
test esi, esi
je 0x49cb2c
push esi
push ebx
call fcn.004a3d70
add esp, 8
test edi, edi
je 0x49cb3a
push edi
push ebx
call fcn.0046e100
add esp, 8
push dword [esp + 0x84]
push ebx
call fcn.004c0ed0
mov esi, dword [esp + 0x20]
add esp, 8
test esi, esi
je 0x49d805
test ebx, ebx
je 0x49d7a7
cmp esi, dword [ebx + 0x164]
jae 0x49d78c
cmp esi, dword [ebx + 0x15c]
jb 0x49d76e
mov eax, dword [ebx + 0x158]
pop edi
mov dword [esi], eax
mov dword [ebx + 0x158], esi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
cmp al, 1
jne 0x49cb9a
push str.virtual_tables_may_not_be_indexed
jmp 0x49cae1
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x49ccec
mov edi, dword [eax]
mov esi, dword [eax + 4]
test edi, edi
je 0x49ccd9
mov ebx, dword [esp + 0x10]
xor eax, eax
mov ecx, esi
add ecx, 1
adc eax, eax
push eax
push ecx
push ebx
call fcn.0049db10
add esp, 0xc
mov dword [esp + 0x18], eax
test eax, eax
je 0x49ccc3
push esi
push edi
mov edi, eax
push edi
call fcn.004fd090
push edi
mov byte [esi + edi], 0
call fcn.0049ee10
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x88]
push dword [edx]
push str.index
push edi
push ebx
call fcn.00498b30
add esp, 0x20
test eax, eax
jne 0x49caea
cmp byte [ebx + 0xdc], 2
mov esi, dword [esp + 0x24]
jae 0x49ccbd
mov edi, dword [esp + 0x10]
cmp byte [edi + 0xb1], al
jne 0x49cc5d
push dword [esi]
push dword [esp + 0x1c]
push edi
call fcn.004a6ae0
add esp, 0xc
test eax, eax
je 0x49cc5d
mov esi, dword [esp + 0x18]
push esi
push str.there_is_already_a_table_named__s
push ebx
call fcn.0049fe60
add esp, 0xc
mov dword [esp + 0x18], esi
mov ebx, edi
jmp 0x49caee
push dword [esi]
push dword [esp + 0x1c]
push edi
call fcn.004a6a10
add esp, 0xc
test eax, eax
je 0x49ccb9
cmp dword [esp + 0x9c], ebp
jne 0x49cc97
mov esi, dword [esp + 0x18]
push esi
push str.index__s_already_exists
push ebx
call fcn.0049fe60
add esp, 0xc
mov dword [esp + 0x18], esi
mov ebx, edi
jmp 0x49caee
push dword [esp + 0x1c]
push ebx
call fcn.0049a3e0
push ebx
call fcn.004a8b70
mov eax, dword [esp + 0x24]
add esp, 0xc
mov dword [esp + 0x18], eax
mov ebx, edi
jmp 0x49caee
mov edi, dword [esp + 0x18]
mov dword [esp + 0x18], edi
jmp 0x49cd36
push eax
call fcn.0049ee10
mov eax, dword [esp + 0x1c]
add esp, 4
mov dword [esp + 0x18], eax
jmp 0x49caee
push 0
call fcn.0049ee10
add esp, 4
mov dword [esp + 0x18], ebp
jmp 0x49caea
mov eax, dword [esi + 8]
mov ecx, 1
test eax, eax
je 0x49cd00
mov eax, dword [eax + 0x14]
inc ecx
test eax, eax
jne 0x49ccf8
push ecx
push ebx
mov ebx, dword [esp + 0x18]
push str.sqlite_autoindex__s__d
push ebx
call fcn.004b17d0
mov edi, eax
add esp, 0x10
mov dword [esp + 0x18], edi
test edi, edi
je 0x49caee
mov ebx, dword [esp + 0x78]
mov esi, dword [esp + 0x24]
cmp byte [ebx + 0xdc], 0
je 0x49cd36
inc byte [edi + 7]
cmp byte [ebx + 0xdc], 2
jae 0x49cd95
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.00493a60
add esp, 0x14
test eax, eax
jne 0x49caea
cmp dword [esp + 0x1c], 1
push esi
mov esi, dword [esp + 0x18]
sete al
push dword [esi]
lea eax, [eax*2 + 1]
push edi
push eax
push ebx
call fcn.00493a60
add esp, 0x14
test eax, eax
jne 0x49caea
jmp 0x49cd99
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x88]
test edi, edi
jne 0x49ce68
movsx ecx, word [esi + 0x22]
mov eax, dword [esi + 4]
add ecx, ecx
or word [eax + ecx*8 - 2], 8
mov ebx, dword [eax + ecx*8 - 0x10]
test ebx, ebx
jne 0x49cdc3
xor esi, esi
jmp 0x49cdd7
mov esi, ebx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x49cdc8
sub esi, ecx
and esi, 0x3fffffff
lea eax, [esi + 0x35]
push 0
push eax
mov eax, dword [esp + 0x18]
push eax
call fcn.0049db10
mov edi, eax
add esp, 0xc
test edi, edi
je 0x49ce2a
push 0x34
push 0
push edi
call fcn.004fd610
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 0x49ce1f
push esi
push ebx
push eax
call fcn.004fd090
mov eax, dword [edi + 8]
add esp, 0xc
mov byte [eax + esi], 0
mov dword [edi + 0x18], 1
mov eax, dword [esp + 0x78]
push edi
push dword [eax]
call fcn.004a4cb0
mov edi, eax
add esp, 8
mov dword [esp + 0x20], edi
test edi, edi
je 0x49caea
mov ecx, dword [esp + 0x98]
xor ebx, ebx
movzx edx, cl
cmp ecx, 0xffffffff
mov ecx, dword [edi]
cmovne ebx, edx
lea eax, [ecx + ecx*4]
mov byte [edi + eax*4 - 4], bl
mov ebx, dword [esp + 0x78]
jmp 0x49ce90
mov ecx, dword [ebx]
mov eax, dword [edi]
cmp eax, dword [ecx + 0x80]
jle 0x49ce87
push str.index
push str.too_many_columns_in__s
push ebx
call fcn.0049fe60
add esp, 0xc
cmp dword [ebx + 0x24], ebp
jne 0x49caea
mov esi, dword [edi]
test esi, esi
jle 0x49cecf
lea edx, [edi + 8]
nop dword [eax]
mov ecx, dword [edx]
cmp byte [ecx], 0x71
jne 0x49cec3
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x49cec0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x49ceb1
sub ecx, edi
and ecx, 0x3fffffff
inc ebp
add ebp, ecx
add edx, 0x14
sub esi, 1
jne 0x49cea0
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x49ced6
mov eax, dword [esp + 0x28]
sub esi, ecx
and esi, 0x3fffffff
test eax, eax
je 0x49cef3
movzx ecx, word [eax + 0x32]
jmp 0x49cef8
mov ecx, 1
lea eax, [esp + 0x30]
push eax
lea eax, [ebp + 1]
add eax, esi
push eax
mov ax, word [edi]
mov edi, dword [esp + 0x18]
add ax, cx
movzx eax, ax
push eax
push edi
call fcn.00491310
add esp, 0x10
mov ebp, eax
cmp byte [edi + 0x57], 0
jne 0x49d449
mov ecx, dword [esp + 0x30]
mov dword [ebp], ecx
lea eax, [ecx + 1]
lea ecx, [esi + 1]
add eax, esi
push ecx
push dword [esp + 0x1c]
mov dword [esp + 0x38], eax
push dword [ebp]
call fcn.004fd090
mov eax, dword [esp + 0x98]
add esp, 0xc
mov edx, dword [esp + 0x14]
mov byte [ebp + 0x36], al
neg eax
mov esi, dword [esp + 0x94]
sbb ecx, ecx
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0x38]
and ecx, 8
and eax, 0xfffffff7
or ecx, eax
movzx eax, byte [esp + 0xa0]
and eax, 3
and ecx, 0xfffffffc
or ecx, eax
mov dword [ebp + 0x38], ecx
mov eax, dword [edi + 0x10]
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx + eax + 0xc]
mov dword [ebp + 0x18], eax
mov eax, dword [esp + 0x20]
movzx eax, word [eax]
mov word [ebp + 0x32], ax
mov ecx, eax
test esi, esi
je 0x49cfc7
push 0
push esi
push 2
push edx
push ebx
call fcn.004bbad0
movzx ecx, word [ebp + 0x32]
add esp, 0x14
mov edx, dword [esp + 0x14]
mov dword [ebp + 0x24], esi
mov dword [esp + 0x94], 0
cmp byte [ebx + 0xdc], 2
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0x4c]
mov byte [esp + 0x88], al
mov eax, dword [esp + 0x20]
lea edi, [eax + 8]
mov dword [esp + 0x34], edi
jb 0x49cff7
mov dword [ebp + 0x28], eax
mov dword [esp + 0x20], 0
xor esi, esi
xor eax, eax
mov dword [esp + 0x24], esi
cmp ax, cx
jae 0x49d228
mov eax, dword [edi]
mov cl, byte [eax]
cmp cl, 0x75
je 0x49d01e
cmp cl, 0x71
jne 0x49d021
mov eax, dword [eax + 0xc]
cmp byte [eax], 0x75
jne 0x49d021
mov byte [eax], 0x3b
push 0
push dword [edi]
push 0x20
push edx
push ebx
call fcn.004bbad0
add esp, 0x14
cmp dword [ebx + 0x24], 0
jne 0x49d21f
mov eax, dword [edi]
test eax, eax
je 0x49d051
test dword [eax + 4], 0x2000
je 0x49d051
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x49d041
cmp byte [eax], 0xa7
je 0x49d09d
mov edx, dword [esp + 0x14]
cmp edx, dword [ebx + 0xf8]
je 0x49d211
cmp dword [ebp + 0x28], 0
jne 0x49d07b
mov eax, dword [esp + 0x20]
mov dword [ebp + 0x28], eax
mov dword [esp + 0x20], 0
mov eax, dword [ebp + 4]
mov ecx, 0xfffffffe
mov ebx, ecx
mov word [eax + esi*2], bx
mov eax, dword [ebp + 0x38]
mov ebx, dword [esp + 0x78]
and eax, 0xfffffff7
or eax, 0x1000
mov dword [ebp + 0x38], eax
jmp 0x49d0e5
movsx ecx, word [eax + 0x20]
test ecx, ecx
jns 0x49d0af
mov edx, dword [esp + 0x14]
movsx ecx, word [edx + 0x20]
jmp 0x49d0de
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 4]
mov eax, ecx
add eax, eax
test byte [edx + eax*8 + 4], 0xf
jne 0x49d0cc
mov edx, dword [esp + 0x14]
and dword [ebp + 0x38], 0xfffffff7
mov edx, dword [edx + 4]
test byte [edx + eax*8 + 0xe], 0x20
mov edx, dword [esp + 0x14]
je 0x49d0de
or dword [ebp + 0x38], 0x1800
mov eax, dword [ebp + 4]
mov word [eax + esi*2], cx
mov eax, dword [edi]
cmp byte [eax], 0x71
jne 0x49d12c
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x49d0f7
xor esi, esi
jmp 0x49d10f
mov esi, ecx
lea edx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x49d100
sub esi, edx
and esi, 0x3fffffff
mov edi, dword [esp + 0x30]
inc esi
push esi
push ecx
push edi
call fcn.004fd090
lea eax, [esi + edi]
add esp, 0xc
mov esi, dword [esp + 0x24]
mov dword [esp + 0x30], eax
jmp 0x49d169
test ecx, ecx
js 0x49d16d
shl ecx, 4
add ecx, dword [edx + 4]
movzx edx, word [ecx + 0xe]
test edx, 0x200
je 0x49d16d
mov eax, dword [ecx]
cmp byte [eax], 0
je 0x49d156
nop dword [eax]
inc eax
cmp byte [eax], 0
jne 0x49d150
test dl, 4
je 0x49d166
nop dword [eax + eax]
inc eax
cmp byte [eax], 0
jne 0x49d160
lea edi, [eax + 1]
test edi, edi
jne 0x49d172
mov edi, 0x52e74c
mov eax, dword [esp + 0x10]
cmp byte [eax + 0xb1], 0
jne 0x49d1d3
mov ecx, dword [ebx]
mov al, byte [ecx + 0x54]
mov bl, byte [ecx + 0xb1]
mov byte [esp + 0x3c], al
mov esi, dword [esp + 0x3c]
movzx eax, bl
push eax
push edi
push esi
push ecx
call fcn.004a5cf0
add esp, 0x10
test bl, bl
jne 0x49d1c1
test eax, eax
je 0x49d1af
cmp dword [eax + 0xc], 0
jne 0x49d1cb
mov ebx, dword [esp + 0x78]
push edi
push eax
push esi
push ebx
call fcn.004ac510
add esp, 0x10
jmp 0x49d1c5
mov ebx, dword [esp + 0x78]
test eax, eax
je 0x49d21f
jmp 0x49d1cf
mov ebx, dword [esp + 0x78]
mov esi, dword [esp + 0x24]
mov eax, dword [ebp + 0x20]
mov dword [eax + esi*4], edi
xor eax, eax
mov edi, dword [esp + 0x34]
cmp byte [esp + 0x88], 4
movzx ecx, byte [edi + 8]
cmovb ecx, eax
mov eax, dword [ebp + 0x1c]
add edi, 0x14
mov dword [esp + 0x34], edi
mov byte [esi + eax], cl
inc esi
movzx eax, word [ebp + 0x32]
mov dword [esp + 0x24], esi
cmp esi, eax
jge 0x49d228
mov edx, dword [esp + 0x14]
jmp 0x49d008
push str.expressions_prohibited_in_PRIMARY_KEY_and_UNIQUE_constraints
push ebx
call fcn.0049fe60
add esp, 8
mov ebx, dword [esp + 0x10]
jmp 0x49d44b
mov edx, dword [esp + 0x28]
test edx, edx
je 0x49d299
xor eax, eax
xor esi, esi
cmp ax, word [edx + 0x32]
jae 0x49d2ad
mov ebx, dword [esp + 0x24]
nop
mov eax, dword [edx + 4]
push esi
push edx
movzx edi, word [eax + esi*2]
movzx eax, word [ebp + 0x32]
push eax
push ebp
call fcn.00477690
mov edx, dword [esp + 0x38]
add esp, 0x10
test eax, eax
je 0x49d26a
mov eax, 0xffff
add word [ebp + 0x34], ax
jmp 0x49d28a
mov eax, dword [ebp + 4]
mov word [eax + ebx*2], di
mov eax, dword [edx + 0x20]
mov ecx, dword [ebp + 0x20]
mov eax, dword [eax + esi*4]
mov dword [ecx + ebx*4], eax
mov eax, dword [edx + 0x1c]
mov ecx, dword [ebp + 0x1c]
mov al, byte [esi + eax]
mov byte [ebx + ecx], al
inc ebx
movzx eax, word [edx + 0x32]
inc esi
cmp esi, eax
jl 0x49d240
mov ebx, dword [esp + 0x78]
jmp 0x49d2ad
mov eax, dword [ebp + 4]
or ecx, 0xffffffff
mov word [eax + esi*2], cx
mov eax, dword [ebp + 0x20]
mov dword [eax + esi*4], 0x52e74c
push ebp
call fcn.0049dfe0
add esp, 4
cmp dword [ebx + 0xf8], 0
jne 0x49d2c8
push ebp
call fcn.0046ac70
add esp, 4
push ebp
call fcn.004897c0
mov ecx, dword [esp + 0x18]
add esp, 4
cmp dword [esp + 0x84], 0
je 0x49d32e
movzx esi, word [ebp + 0x34]
movsx eax, word [ecx + 0x22]
cmp esi, eax
jl 0x49d32e
or dword [ebp + 0x38], 0x20
xor edx, edx
movsx edi, word [ecx + 0x22]
test edi, edi
jle 0x49d32e
movsx ebx, word [ecx + 0x20]
nop dword [eax]
cmp edx, ebx
je 0x49d4b8
xor ecx, ecx
test esi, esi
je 0x49d322
mov eax, dword [ebp + 4]
cmp dx, word [eax]
je 0x49d4ac
inc ecx
add eax, 2
cmp ecx, esi
jl 0x49d311
and dword [ebp + 0x38], 0xffffffdf
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x78]
cmp ecx, dword [ebx + 0xf8]
jne 0x49d3e8
mov edx, dword [ecx + 8]
mov dword [esp + 0x88], edx
test edx, edx
je 0x49d3e8
movzx eax, word [ebp + 0x32]
movzx ecx, word [edx + 0x32]
cmp cx, ax
jne 0x49d3ce
xor eax, eax
xor edi, edi
mov ebx, ecx
cmp ax, cx
jae 0x49d3bf
mov eax, dword [ebp + 4]
mov esi, dword [edx + 4]
sub eax, esi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x3c], eax
mov edx, dword [esp + 0x3c]
mov ax, word [esi]
movzx ebx, cx
cmp ax, word [edx + esi]
mov edx, dword [esp + 0x88]
jne 0x49d3bf
mov eax, dword [ebp + 0x20]
movzx ebx, cx
push dword [eax + edi*4]
mov eax, dword [edx + 0x20]
push dword [eax + edi*4]
call fcn.004c1f20
mov edx, dword [esp + 0x90]
add esp, 8
test eax, eax
jne 0x49d3bf
movzx ecx, word [edx + 0x32]
inc edi
add esi, 2
mov ebx, ecx
cmp edi, ecx
mov ecx, dword [esp + 0x34]
jl 0x49d374
movzx eax, bx
cmp edi, eax
je 0x49d4c6
movzx eax, word [ebp + 0x32]
mov edx, dword [edx + 0x14]
mov dword [esp + 0x88], edx
test edx, edx
jne 0x49d350
mov ebx, dword [esp + 0x78]
mov ecx, dword [esp + 0x14]
cmp byte [ebx + 0xdc], 2
mov edi, dword [esp + 0x10]
jae 0x49d6f0
cmp byte [edi + 0xb1], 0
je 0x49d570
cmp dword [esp + 0x84], 0
je 0x49d540
mov eax, dword [edi + 0xac]
push ebp
mov dword [ebp + 0x2c], eax
call fcn.004adcf0
add esp, 4
test eax, eax
je 0x49d540
push str.invalid_rootpage
push ebx
call fcn.0049fe60
push 0x1e811
call fcn.0049c060
add esp, 0xc
mov dword [ebx + 0xc], eax
mov ebx, edi
test ebp, ebp
je 0x49caee
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x49d464
push eax
push ebx
call fcn.004a3d70
add esp, 8
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x49d475
push eax
push ebx
call fcn.0046e100
add esp, 8
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x49d486
push eax
push ebx
call fcn.0049da00
add esp, 8
test byte [ebp + 0x38], 0x10
je 0x49d49d
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x49d49d
push eax
push ebx
call fcn.0049da00
add esp, 8
push ebp
push ebx
call fcn.0049da00
add esp, 8
jmp 0x49caee
movzx eax, cx
test ax, ax
js 0x49d322
inc edx
cmp edx, edi
jl 0x49d300
jmp 0x49d326
mov al, byte [edx + 0x36]
mov cl, byte [ebp + 0x36]
cmp al, cl
je 0x49d501
cmp al, 0xb
je 0x49d4fb
cmp cl, 0xb
je 0x49d501
mov eax, dword [esp + 0x78]
push 0
push str.conflicting_ON_CONFLICT_clauses_specified
push eax
call fcn.0049fe60
mov edx, dword [esp + 0x94]
add esp, 0xc
mov al, byte [edx + 0x36]
cmp al, 0xb
jne 0x49d501
mov al, byte [ebp + 0x36]
mov byte [edx + 0x36], al
cmp byte [esp + 0xa0], 2
jne 0x49d517
mov eax, dword [edx + 0x38]
and eax, 0xfffffffe
or eax, 2
mov dword [edx + 0x38], eax
mov ecx, dword [esp + 0x78]
mov ebx, dword [esp + 0x10]
cmp byte [ecx + 0xdc], 2
jb 0x49d44b
mov eax, dword [ecx + 0xfc]
mov dword [ebp + 0x14], eax
mov dword [ecx + 0xfc], ebp
jmp 0x49caee
mov eax, dword [ebp + 0x18]
push ebp
push dword [ebp]
add eax, 0x18
push eax
call fcn.004ad520
add esp, 0xc
test eax, eax
je 0x49d567
mov ebx, edi
push ebx
call fcn.004b2250
add esp, 4
jmp 0x49d44b
or dword [edi + 0x18], 1
jmp 0x49d6f0
test byte [ecx + 0x1c], 0x80
je 0x49d585
mov eax, dword [esp + 0x84]
test eax, eax
je 0x49d6f7
mov edi, dword [esp + 0x78]
inc dword [ebx + 0x2c]
mov ebx, dword [ebx + 0x2c]
mov esi, dword [edi + 8]
test esi, esi
jne 0x49d5bd
cmp dword [edi + 0x80], esi
jne 0x49d5aa
mov eax, dword [edi]
test byte [eax + 0x50], 8
jne 0x49d5aa
mov byte [edi + 0x17], 1
push edi
call fcn.004c7580
mov esi, eax
add esp, 4
test esi, esi
je 0x49d21f
push dword [esp + 0x1c]
push 1
push edi
call fcn.00494600
push 0xbb
push esi
call fcn.004c6ce0
push 2
push ebx
push dword [esp + 0x38]
mov dword [ebp + 0x2c], eax
push 0x93
push esi
call fcn.004c6df0
add esp, 0x28
cmp dword [esp + 0x90], 0
je 0x49d643
mov edx, dword [edi + 0xd4]
add edx, dword [edi + 0xd0]
mov eax, dword [esp + 0x2c]
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 + 0x90], 0
push eax
mov ecx, str._UNIQUE
mov eax, 0x5461cf
cmovne eax, ecx
push eax
push str.CREATE_s_INDEX__.s
push dword [esp + 0x20]
call fcn.004b17d0
add esp, 0x14
mov edi, eax
jmp 0x49d645
xor edi, edi
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x38]
push edi
push ebx
push dword [eax]
mov eax, dword [esp + 0x1c]
push dword [ebp]
mov eax, dword [eax + 0x10]
push dword [ecx + eax]
mov eax, dword [esp + 0x8c]
push str.INSERT_INTO__Q.sqlite_master_VALUES_index__Q__Q__d__Q__
push eax
call fcn.004b2010
add esp, 0x1c
test edi, edi
je 0x49d687
push edi
mov edi, dword [esp + 0x14]
push edi
call fcn.0049da00
add esp, 8
jmp 0x49d68b
mov edi, dword [esp + 0x10]
cmp dword [esp + 0x84], 0
je 0x49d6e0
push ebx
mov ebx, dword [esp + 0x7c]
push ebp
push ebx
call fcn.004bacc0
push dword [esp + 0x28]
push ebx
call fcn.00498ac0
add esp, 0x14
push 0
push dword [ebp]
push str.name_q_AND_typeindex
push edi
call fcn.004b17d0
add esp, 0xc
push eax
push dword [esp + 0x24]
push esi
call fcn.004c6ff0
push 1
push 0
push 0xa6
push esi
call fcn.004c6d90
add esp, 0x20
jmp 0x49d6e4
mov ebx, dword [esp + 0x78]
push dword [ebp + 0x2c]
push esi
call fcn.004d1180
add esp, 8
mov eax, dword [esp + 0x84]
cmp byte [edi + 0xb1], 0
jne 0x49d71c
test eax, eax
je 0x49d71c
cmp byte [ebx + 0xdc], 2
jb 0x49d21f
mov dword [ebx + 0xfc], ebp
jmp 0x49caea
mov ebx, dword [esp + 0x14]
mov eax, dword [ebx + 8]
mov dword [ebp + 0x14], eax
mov dword [ebx + 8], ebp
jmp 0x49caea
mov eax, dword [ecx + 0x14]
test eax, eax
je 0x49cb13
nop dword [eax]
cmp byte [eax + 0x36], 5
je 0x49cb13
mov dword [edx], eax
lea edx, [eax + 0x14]
mov eax, dword [edx]
mov dword [ecx + 0x14], eax
mov dword [edx], ecx
mov eax, dword [ecx + 0x14]
test eax, eax
jne 0x49d740
jmp 0x49cb13
mov edi, dword [esp + 0x88]
jmp 0x49cb17
cmp esi, dword [ebx + 0x160]
jb 0x49d78c
mov eax, dword [ebx + 0x150]
pop edi
mov dword [esi], eax
mov dword [ebx + 0x150], esi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
cmp dword [ebx + 0x210], 0
je 0x49d7a7
push esi
push ebx
call fcn.0047fe10
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
cmp dword [0x56f0f8], 0
je 0x49d7fb
mov eax, dword [0x574ff8]
test eax, eax
je 0x49d7c3
push eax
call dword [0x56f148]
add esp, 4
push esi
call dword [0x56f124]
sub dword [0x574f98], eax
dec dword [0x574fbc]
push esi
call dword [0x56f11c]
mov eax, dword [0x574ff8]
add esp, 8
test eax, eax
je 0x49d805
push eax
call dword [0x56f150]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
push esi
call dword [0x56f11c]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret