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

Disassembly:
sub esp, 0xb4
push ebx
mov ebx, ecx
xor eax, eax
push ebp
push esi
xor esi, esi
mov dword [esp + 0x14], ebx
mov ebp, dword [ebx]
push edi
mov edi, edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], ebp
mov dword [esp + 0x40], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x34], eax
cmp byte [ebp + 0x41], al
jne 0x4606ae
cmp byte [ebx + 0x1bf], al
jne 0x4606ae
cmp dword [ebx + 0x40], eax
jg 0x4606ae
cmp byte [ebp + 0x91], al
jne 0x46057f
lea edx, [ebx + 4]
mov ecx, ebp
call fcn.00477680
test eax, eax
je 0x46057f
inc dword [ebx + 0x40]
mov dword [ebx + 0xc], eax
jmp 0x4606ae
cmp dword [esp + 0xcc], esi
je 0x460736
mov esi, dword [esp + 0xc8]
lea eax, [esp + 0x40]
push eax
push esi
mov edx, edi
mov ecx, ebx
call fcn.0045c4b0
mov edi, eax
add esp, 8
mov dword [esp + 0x1c], edi
test edi, edi
js 0x4606ac
cmp byte [ebp + 0x91], 0
jne 0x4605e9
mov edx, dword [esp + 0xcc]
mov ecx, ebx
call fcn.00463be0
cmp dword [esi + 4], 0
jne 0x4605e9
test eax, eax
je 0x4605e9
mov ecx, dword [ebp + 0x10]
mov eax, dword [eax + 0x40]
cmp eax, dword [ecx + 0x1c]
mov eax, 1
cmove edi, eax
mov dword [esp + 0x1c], edi
mov eax, dword [ebx]
mov ecx, edi
mov edx, dword [esp + 0x40]
shl ecx, 4
mov dword [esp + 0x5c], edx
mov eax, dword [eax + 0x10]
add ecx, eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x58], str.index
mov eax, dword [ecx]
mov dword [esp + 0x54], eax
mov eax, dword [ecx + 0xc]
lea ecx, [esp + 0x48]
mov dword [esp + 0x4c], eax
xor eax, eax
cmp edi, 1
mov edi, dword [esp + 0xcc]
mov edx, edi
sete al
mov dword [esp + 0x50], eax
call fcn.0045ad20
mov esi, dword [edi + 8]
test esi, esi
je 0x46066d
mov edi, dword [ebx]
xor ecx, ecx
mov edx, dword [edi + 0x14]
test edx, edx
jle 0x46065c
mov eax, dword [edi + 0x10]
add eax, 0xc
nop dword [eax]
cmp dword [eax], esi
je 0x46065c
inc ecx
add eax, 0x10
cmp ecx, edx
jl 0x460650
mov eax, dword [edi + 0x10]
add ecx, ecx
mov edi, dword [esp + 0xcc]
mov eax, dword [eax + ecx*8]
jmp 0x460670
mov eax, dword [edi + 0xc]
push eax
push dword [edi + 0x10]
xor edx, edx
mov ecx, ebx
call fcn.0045b9f0
mov edi, eax
add esp, 8
mov dword [esp + 0x14], edi
test edi, edi
je 0x4606ac
cmp dword [esp + 0x1c], 1
jne 0x46070b
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x1c]
cmp eax, dword [edi + 0x40]
je 0x46070b
push dword [edi]
push str.cannot_create_a_TEMP_index_on_non_TEMP_table___s_
push ebx
call fcn.00422040
add esp, 0xc
xor esi, esi
mov edi, dword [esp + 0x10]
mov ecx, edi
mov edx, dword [esp + 0xdc]
call fcn.00450900
mov edx, dword [esp + 0xd0]
mov ecx, edi
call fcn.00451530
mov edx, dword [esp + 0xcc]
mov ecx, edi
call fcn.00461e90
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x4615a3
cmp dword [edi + 0x208], 0
je 0x461569
mov edx, ecx
mov ecx, edi
call fcn.0041f520
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb4
ret
test byte [edi + 0x2a], 0x20
je 0x460780
mov esi, dword [edi + 8]
mov dword [esp + 0x34], esi
test esi, esi
je 0x460780
nop dword [eax]
mov eax, dword [esi + 0x38]
and al, 3
cmp al, 2
je 0x460730
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x460720
mov dword [esp + 0x34], esi
jmp 0x460780
mov edi, dword [ebx + 0x1e0]
mov dword [esp + 0x14], edi
test edi, edi
je 0x4606ae
mov edx, dword [edi + 0x40]
mov dword [esp + 0x1c], 0xfff0bdc0
test edx, edx
je 0x460780
mov ecx, dword [ebp + 0x14]
xor ebx, ebx
mov dword [esp + 0x1c], ebx
test ecx, ecx
jle 0x460780
mov eax, dword [ebp + 0x10]
add eax, 0xc
nop word [eax + eax]
cmp dword [eax], edx
je 0x46077c
inc ebx
add eax, 0x10
cmp ebx, ecx
jl 0x460770
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x1c]
mov edx, 7
mov ebp, dword [ebp + 0x10]
mov ebx, dword [edi]
shl eax, 4
add ebp, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x30], ebp
test ebx, ebx
je 0x46085d
mov esi, ebx
mov edi, str.sqlite_
nop word [eax + eax]
mov al, byte [esi]
dec edx
test al, al
je 0x4607d2
movzx ecx, byte [edi]
movzx eax, al
mov al, byte [eax + 0x4ca7f0]
cmp al, byte [ecx + 0x4ca7f0]
jne 0x4607d2
inc esi
inc edi
test edx, edx
jg 0x4607b0
dec edx
test edx, edx
js 0x4607ee
movzx eax, byte [edi]
movzx ecx, byte [eax + 0x4ca7f0]
movzx eax, byte [esi]
movzx eax, byte [eax + 0x4ca7f0]
sub eax, ecx
jne 0x46085d
mov edi, dword [esp + 0x10]
cmp byte [edi + 0x91], 0
jne 0x460861
lea esi, [ebx + 7]
mov edx, 9
test esi, esi
je 0x46084e
mov edi, str.altertab_
nop dword [eax]
mov al, byte [esi]
dec edx
test al, al
je 0x460832
movzx ecx, byte [edi]
movzx eax, al
mov al, byte [eax + 0x4ca7f0]
cmp al, byte [ecx + 0x4ca7f0]
jne 0x460832
inc esi
inc edi
test edx, edx
jg 0x460810
dec edx
test edx, edx
js 0x46085d
movzx eax, byte [edi]
movzx ecx, byte [eax + 0x4ca7f0]
movzx eax, byte [esi]
movzx eax, byte [eax + 0x4ca7f0]
sub eax, ecx
je 0x46085d
push ebx
push str.table__s_may_not_be_indexed
push dword [esp + 0x20]
jmp 0x4606a4
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
cmp dword [eax + 0xc], 0
je 0x460881
push str.views_may_not_be_indexed
push dword [esp + 0x1c]
call fcn.00422040
add esp, 8
jmp 0x4606ac
test byte [eax + 0x2a], 0x10
je 0x46089d
push str.virtual_tables_may_not_be_indexed
push dword [esp + 0x1c]
call fcn.00422040
add esp, 8
jmp 0x4606ac
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x4609b3
mov edi, dword [ecx]
test edi, edi
jne 0x4608b7
xor ebx, ebx
mov dword [esp + 0x20], ebx
jmp 0x4608df
mov esi, dword [ecx + 4]
mov ecx, dword [esp + 0x10]
lea edx, [esi + 1]
call fcn.0041f7a0
mov ebx, eax
mov dword [esp + 0x20], ebx
test ebx, ebx
je 0x4608df
push esi
push edi
push ebx
call fcn.004a5830
add esp, 0xc
mov byte [ebx + esi], 0
mov ecx, ebx
call fcn.00422130
test ebx, ebx
je 0x4606ac
mov edx, ebx
mov ebx, dword [esp + 0x18]
mov ecx, ebx
call fcn.0045c530
test eax, eax
jne 0x4606ac
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x20]
cmp byte [edi + 0x91], al
jne 0x46092f
push eax
mov edx, esi
mov ecx, edi
call fcn.0045b950
add esp, 4
test eax, eax
je 0x46092f
push esi
push str.there_is_already_a_table_named__s
jmp 0x4606a3
push dword [ebp]
mov edx, esi
mov ecx, edi
call fcn.0045baf0
add esp, 4
test eax, eax
je 0x4609e8
cmp dword [esp + 0xe4], 0
jne 0x46095b
push esi
push str.index__s_already_exists
jmp 0x4606a3
mov eax, dword [ebx + 0x198]
mov edx, 1
mov ecx, dword [esp + 0x1c]
test eax, eax
cmovne ebx, eax
shl edx, cl
mov eax, dword [ebx + 0x14c]
test eax, edx
jne 0x4606ac
mov edx, dword [esp + 0x44]
bts eax, ecx
mov dword [ebx + 0x14c], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + edx + 0xc]
mov eax, dword [eax]
mov dword [ebx + ecx*4 + 0x150], eax
cmp ecx, 1
jne 0x4606ac
mov ecx, ebx
call fcn.00462560
jmp 0x4606ac
mov eax, dword [eax + 8]
mov ecx, 1
test eax, eax
je 0x4609c8
nop
mov eax, dword [eax + 0x14]
inc ecx
test eax, eax
jne 0x4609c0
push ecx
push ebx
push str.sqlite_autoindex__s__d
push edi
call fcn.00421400
add esp, 0x10
mov dword [esp + 0x20], eax
test eax, eax
je 0x4606ac
mov ebx, dword [esp + 0x18]
mov ecx, dword [ebx]
mov esi, dword [ebp]
mov ebp, str.sqlite_temp_master
cmp byte [ecx + 0x91], 0
jne 0x460a78
cmp byte [ebx + 0x1bf], 0
jne 0x460a78
mov edx, dword [ecx + 0x11c]
test edx, edx
je 0x460a78
push dword [ebx + 0x1e8]
cmp dword [esp + 0x20], 1
mov eax, str.sqlite_master
push esi
push 0
cmove eax, ebp
push eax
push 0x12
push dword [ecx + 0x120]
call edx
add esp, 0x18
cmp eax, 1
jne 0x460a51
push str.not_authorized
push ebx
call fcn.00422040
add esp, 8
mov dword [ebx + 0xc], 0x17
jmp 0x4606ac
test eax, eax
je 0x460a78
cmp eax, 2
je 0x4606ac
push str.authorizer_malfunction
push ebx
call fcn.00422040
add esp, 8
mov dword [ebx + 0xc], 1
jmp 0x4606ac
mov ebp, dword [esp + 0x20]
xor edx, edx
cmp dword [esp + 0x1c], 1
mov ecx, ebx
push esi
mov esi, dword [esp + 0x18]
sete dl
push dword [esi]
lea edx, [edx*2 + 1]
push ebp
call fcn.0045b170
add esp, 0xc
test eax, eax
jne 0x4606ac
mov ecx, dword [esp + 0xd0]
test ecx, ecx
jne 0x460bcd
movsx eax, word [esi + 0x22]
lea ecx, [eax + eax*2]
mov eax, dword [esi + 4]
mov ebp, dword [eax + ecx*8 - 0x18]
test ebp, ebp
jne 0x460acc
xor esi, esi
jmp 0x460ae0
mov esi, ebp
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x460ad1
sub esi, ecx
and esi, 0x3fffffff
lea ebx, [esi + 0x31]
mov ecx, edi
mov edx, ebx
call fcn.0041f7a0
mov edi, eax
test edi, edi
je 0x460b2b
push ebx
push 0
push edi
call fcn.004a3c90
or eax, 0xffffffff
mov byte [edi], 0x1b
mov word [edi + 0x22], ax
add esp, 0xc
lea eax, [edi + 0x30]
mov dword [edi + 8], eax
test esi, esi
je 0x460b20
push esi
push ebp
push eax
call fcn.004a5830
mov eax, dword [edi + 8]
add esp, 0xc
mov byte [eax + esi], 0
mov dword [edi + 0x18], 1
mov ebx, dword [esp + 0x18]
mov edx, 8
mov esi, dword [ebx]
mov ecx, esi
call fcn.0041f7a0
mov ebp, eax
mov dword [esp + 0xd0], ebp
test ebp, ebp
je 0x460bab
xorps xmm0, xmm0
mov edx, 0x18
mov ecx, esi
movq qword [ebp], xmm0
call fcn.0041f7a0
mov edx, eax
mov dword [ebp + 4], edx
test edx, edx
je 0x460bab
mov ecx, dword [ebp]
xorps xmm0, xmm0
lea eax, [ecx + ecx*2]
lea edx, [edx + eax*8]
lea eax, [ecx + 1]
mov dword [ebp], eax
movups xmmword [edx], xmm0
movq qword [edx + 0x10], xmm0
mov dword [edx], edi
mov edx, dword [esp + 0xe0]
test edx, edx
js 0x460b9b
mov eax, dword [ebp]
lea ecx, [eax + eax*2]
mov eax, dword [ebp + 4]
mov byte [eax + ecx*8 - 0xc], dl
mov esi, dword [ebp]
mov ebp, dword [esp + 0x20]
mov ecx, dword [esp + 0xd0]
jmp 0x460bf2
mov edx, edi
mov ecx, esi
call fcn.00450900
mov edx, ebp
mov ecx, esi
call fcn.00451530
mov dword [esp + 0xd0], 0
jmp 0x4606ac
mov eax, dword [ebx]
mov esi, dword [ecx]
cmp esi, dword [eax + 0x60]
jle 0x460bf2
push str.index
push str.too_many_columns_in__s
push ebx
call fcn.00422040
mov ecx, dword [esp + 0xdc]
add esp, 0xc
mov esi, dword [ecx]
test esi, esi
jle 0x460c33
mov edx, dword [ecx + 4]
nop dword [eax]
mov ecx, dword [edx]
cmp byte [ecx], 0x5f
jne 0x460c2b
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x460c20
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x460c11
sub ecx, edi
and ecx, 0x3fffffff
mov eax, dword [esp + 0x24]
inc eax
add eax, ecx
mov dword [esp + 0x24], eax
add edx, 0x18
sub esi, 1
jne 0x460c00
test ebp, ebp
jne 0x460c3b
xor esi, esi
jmp 0x460c4f
mov esi, ebp
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x460c40
sub esi, ecx
and esi, 0x3fffffff
mov eax, dword [esp + 0x34]
test eax, eax
je 0x460c5d
movzx ecx, word [eax + 0x32]
jmp 0x460c62
mov ecx, 1
mov edx, dword [esp + 0xd0]
lea eax, [esp + 0x28]
mov edi, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x28]
movzx edx, word [edx]
inc eax
add eax, esi
add dx, cx
push eax
mov ecx, edi
call fcn.00460480
add esp, 8
mov ebp, eax
cmp byte [edi + 0x41], 0
mov dword [esp + 0x24], ebp
jne 0x46154f
mov eax, dword [esp + 0x28]
mov dword [ebp], eax
inc eax
add eax, esi
mov dword [esp + 0x38], eax
lea eax, [esi + 1]
push eax
mov eax, dword [esp + 0x24]
push eax
push dword [ebp]
call fcn.004a5830
mov eax, dword [esp + 0x20]
add esp, 0xc
mov dword [ebp + 0xc], eax
mov eax, dword [esp + 0xd4]
mov byte [ebp + 0x36], al
neg eax
mov esi, dword [esp + 0xdc]
sbb ecx, ecx
mov eax, dword [ebp + 0x38]
and eax, 0xfffffff7
and ecx, 8
or ecx, eax
xor eax, eax
and ecx, 0xfffffffc
cmp dword [esp + 0x40], eax
sete al
or ecx, eax
mov dword [ebp + 0x38], ecx
mov eax, dword [edi + 0x10]
mov ecx, dword [esp + 0x44]
mov eax, dword [eax + ecx + 0xc]
mov dword [ebp + 0x18], eax
mov eax, dword [esp + 0xd0]
mov ax, word [eax]
mov word [ebp + 0x32], ax
test esi, esi
je 0x460d85
push 0x58
xorps xmm0, xmm0
lea eax, [esp + 0x6c]
push 0
push eax
movups xmmword [esp + 0x54], xmm0
movups xmmword [esp + 0x64], xmm0
call fcn.004a3c90
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov dword [esp + 0x80], ecx
mov edx, esi
mov dword [esp + 0x68], 1
mov dword [esp + 0xa0], 0xffffffff
mov eax, dword [ecx]
lea ecx, [esp + 0x48]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x68]
mov dword [esp + 0x4c], eax
mov eax, 0x10
mov dword [esp + 0x48], ebx
mov word [esp + 0x64], ax
call fcn.0044f8d0
mov dword [ebp + 0x24], esi
mov dword [esp + 0xdc], 0
mov eax, dword [esp + 0x30]
xor edi, edi
mov dword [esp + 0x3c], edi
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0x4c]
mov byte [esp + 0x2f], al
mov eax, dword [esp + 0xd0]
mov esi, dword [eax + 4]
mov dword [esp + 0x28], esi
cmp dword [eax], edi
jle 0x460fdf
mov dword [esp + 0x30], edi
mov eax, dword [esi]
mov cl, byte [eax]
cmp cl, 0x61
je 0x460dc9
cmp cl, 0x5f
jne 0x460dcc
mov eax, dword [eax + 0xc]
cmp byte [eax], 0x61
jne 0x460dcc
mov byte [eax], 0x1b
push 0x58
xorps xmm0, xmm0
lea eax, [esp + 0x6c]
push 0
push eax
movups xmmword [esp + 0x54], xmm0
movups xmmword [esp + 0x64], xmm0
call fcn.004a3c90
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov edx, dword [esi]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x68], 1
mov eax, dword [ecx]
lea ecx, [esp + 0x48]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x68]
mov dword [esp + 0x4c], eax
mov eax, 0x20
mov dword [esp + 0xa0], 0xffffffff
mov dword [esp + 0x48], ebx
mov word [esp + 0x64], ax
call fcn.0044f8d0
cmp dword [ebx + 0x40], 0
jne 0x461066
mov eax, dword [esi]
test eax, eax
je 0x460e64
nop
mov ecx, dword [eax + 4]
test ecx, 0x1000
je 0x460e64
test ecx, 0x40000
je 0x460e5d
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 4]
mov eax, dword [eax]
jmp 0x460e60
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x460e40
cmp byte [eax], 0x9a
je 0x460ec0
mov eax, dword [esp + 0x14]
cmp eax, dword [ebx + 0x1e0]
je 0x461058
cmp dword [ebp + 0x28], 0
jne 0x460eac
mov edx, dword [esp + 0xd0]
mov ecx, dword [esp + 0x10]
push 0
call fcn.00450d10
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [ebp + 0x28], eax
cmp byte [ecx + 0x41], 0
jne 0x460eac
mov esi, dword [eax + 4]
add esi, dword [esp + 0x30]
mov dword [esp + 0x28], esi
mov eax, dword [ebp + 4]
mov edx, 0xfffffffe
mov ecx, edx
mov word [eax + edi*2], cx
and dword [ebp + 0x38], 0xfffffff7
jmp 0x460eea
movsx edx, word [eax + 0x20]
mov eax, dword [esp + 0x14]
test edx, edx
jns 0x460ed2
movsx edx, word [eax + 0x20]
jmp 0x460ee3
mov eax, dword [eax + 4]
lea ecx, [edx + edx*2]
cmp byte [eax + ecx*8 + 0x14], 0
jne 0x460ee3
and dword [ebp + 0x38], 0xfffffff7
mov eax, dword [ebp + 4]
mov word [eax + edi*2], dx
mov eax, dword [esi]
cmp byte [eax], 0x5f
jne 0x460f2d
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x460efc
xor esi, esi
jmp 0x460f10
mov esi, ecx
lea edx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x460f01
sub esi, edx
and esi, 0x3fffffff
mov edi, dword [esp + 0x38]
inc esi
push esi
push ecx
push edi
call fcn.004a5830
lea eax, [esi + edi]
add esp, 0xc
mov esi, dword [esp + 0x28]
mov dword [esp + 0x38], eax
jmp 0x460f3f
test edx, edx
js 0x460f43
mov eax, dword [esp + 0x14]
lea ecx, [edx + edx*2]
mov eax, dword [eax + 4]
mov edi, dword [eax + ecx*8 + 0x10]
test edi, edi
jne 0x460f48
mov edi, str.BINARY
mov eax, dword [esp + 0x10]
cmp byte [eax + 0x91], 0
jne 0x460f9d
mov ecx, dword [ebx]
mov bl, byte [ecx + 0x91]
mov bh, byte [ecx + 0x3e]
movzx eax, bl
mov dl, bh
push eax
push edi
call fcn.00463520
add esp, 8
test bl, bl
jne 0x460f91
test eax, eax
je 0x460f7d
cmp dword [eax + 0xc], 0
jne 0x460f91
mov dl, bh
mov ebx, dword [esp + 0x18]
push edi
push eax
mov ecx, ebx
call fcn.00463290
add esp, 8
jmp 0x460f95
mov ebx, dword [esp + 0x18]
test eax, eax
je 0x461066
mov eax, dword [ebp + 0x20]
mov ecx, dword [esp + 0x3c]
mov dword [eax + ecx*4], edi
xor eax, eax
movzx ecx, byte [esi + 0xc]
cmp byte [esp + 0x2f], 4
mov edi, dword [esp + 0x3c]
cmovb ecx, eax
mov eax, dword [ebp + 0x1c]
add dword [esp + 0x30], 0x18
add esi, 0x18
mov dword [esp + 0x28], esi
mov byte [edi + eax], cl
inc edi
mov eax, dword [esp + 0xd0]
mov dword [esp + 0x3c], edi
cmp edi, dword [eax]
jl 0x460db3
mov ebx, dword [esp + 0x34]
test ebx, ebx
je 0x46107e
xor eax, eax
xor edi, edi
cmp ax, word [ebx + 0x32]
jae 0x461092
nop dword [eax]
mov eax, dword [ebx + 4]
movzx ecx, word [ebp + 0x32]
mov ebx, dword [ebp + 4]
mov edx, ebx
movzx esi, word [eax + edi*2]
test ecx, ecx
je 0x461024
movzx eax, word [edx]
lea edx, [edx + 2]
dec ecx
cmp si, ax
je 0x46106f
test ecx, ecx
jg 0x461014
mov edx, dword [esp + 0x3c]
mov word [ebx + edx*2], si
mov ebx, dword [esp + 0x34]
mov ecx, dword [ebp + 0x20]
mov eax, dword [ebx + 0x20]
mov eax, dword [eax + edi*4]
mov dword [ecx + edx*4], eax
mov eax, dword [ebx + 0x1c]
mov ecx, dword [ebp + 0x1c]
mov al, byte [edi + eax]
mov byte [edx + ecx], al
inc edx
mov dword [esp + 0x3c], edx
movzx eax, word [ebx + 0x32]
inc edi
cmp edi, eax
jl 0x461000
jmp 0x461092
push str.expressions_prohibited_in_PRIMARY_KEY_and_UNIQUE_constraints
push ebx
call fcn.00422040
add esp, 8
mov ebx, dword [esp + 0x10]
jmp 0x461551
mov ebx, dword [esp + 0x34]
mov eax, 0xffff
add word [ebp + 0x34], ax
jmp 0x46104d
mov eax, dword [ebp + 4]
or ecx, 0xffffffff
mov word [eax + edi*2], cx
mov eax, dword [ebp + 0x20]
mov dword [eax + edi*4], str.BINARY
mov ecx, ebp
call fcn.004615b0
mov edi, dword [esp + 0x18]
mov eax, dword [edi + 0x1e0]
test eax, eax
jne 0x4610b4
mov ecx, ebp
call fcn.0045de00
mov eax, dword [edi + 0x1e0]
mov edx, dword [esp + 0x14]
cmp edx, eax
jne 0x461159
mov ebx, dword [edx + 8]
test ebx, ebx
je 0x461159
movzx eax, word [ebp + 0x32]
mov dword [esp + 0x30], eax
movzx ebp, word [ebx + 0x32]
mov ecx, ebp
mov dword [esp + 0x28], ecx
cmp bp, ax
jne 0x461146
xor eax, eax
xor edi, edi
cmp ax, bp
jae 0x46113b
mov edx, dword [esp + 0x24]
mov eax, dword [ebx + 4]
mov esi, dword [edx + 4]
sub eax, esi
mov dword [esp + 0x38], eax
nop dword [eax + eax]
mov ax, word [eax + esi]
cmp ax, word [esi]
jne 0x461137
mov eax, dword [ebx + 0x20]
mov ecx, dword [eax + edi*4]
mov eax, dword [edx + 0x20]
mov eax, dword [eax + edi*4]
cmp ecx, eax
je 0x46112b
push eax
push ecx
call fcn.004221d0
add esp, 8
test eax, eax
jne 0x461137
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x38]
inc edi
add esi, 2
cmp edi, ebp
jl 0x461100
mov ecx, dword [esp + 0x28]
movzx eax, cx
cmp edi, eax
je 0x461189
mov eax, dword [esp + 0x30]
mov ebx, dword [ebx + 0x14]
test ebx, ebx
jne 0x4610d3
mov ebp, dword [esp + 0x24]
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
cmp byte [ebx + 0x91], 0
je 0x4611f0
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp]
add ecx, 0x18
push ebp
call fcn.00423640
add esp, 4
test eax, eax
je 0x4611cb
mov byte [ebx + 0x41], 1
jmp 0x461551
mov ebp, dword [esp + 0x24]
mov al, byte [ebx + 0x36]
mov cl, byte [ebp + 0x36]
cmp al, cl
je 0x4611c0
cmp al, 0xa
je 0x4611ba
cmp cl, 0xa
je 0x4611b6
push 0
push str.conflicting_ON_CONFLICT_clauses_specified
push dword [esp + 0x20]
call fcn.00422040
mov al, byte [ebx + 0x36]
add esp, 0xc
cmp al, 0xa
jne 0x4611c0
mov al, byte [ebp + 0x36]
mov byte [ebx + 0x36], al
mov esi, ebx
mov ebx, dword [esp + 0x10]
jmp 0x461553
or dword [ebx + 0x18], 2
mov eax, dword [esp + 0xcc]
mov edx, dword [esp + 0x14]
test eax, eax
je 0x4614f1
mov eax, dword [ebx + 0x8c]
mov dword [ebp + 0x2c], eax
jmp 0x4614ea
test byte [edx + 0x2a], 0x20
je 0x461205
mov eax, dword [esp + 0xcc]
test eax, eax
je 0x4614f1
inc dword [edi + 0x48]
mov ecx, edi
mov ebx, dword [edi + 0x48]
call fcn.0047b830
mov esi, eax
test esi, esi
je 0x461066
mov eax, dword [edi + 0x198]
mov edx, 1
mov ecx, dword [esp + 0x1c]
test eax, eax
cmovne edi, eax
shl edx, cl
mov eax, dword [edi + 0x14c]
test eax, edx
jne 0x46126b
mov edx, dword [esp + 0x44]
bts eax, ecx
mov dword [edi + 0x14c], eax
mov eax, dword [edi]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + edx + 0xc]
mov eax, dword [eax]
mov dword [edi + ecx*4 + 0x150], eax
cmp ecx, 1
jne 0x46126b
mov ecx, edi
call fcn.00462560
mov ecx, dword [esp + 0x1c]
mov eax, dword [edi + 0x148]
or byte [edi + 0x14], 1
bts eax, ecx
mov dword [edi + 0x148], eax
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
mov ecx, edi
cmp dword [eax + 0x54], edi
jg 0x4612a0
mov ecx, esi
call fcn.0043d1e0
test eax, eax
je 0x46129d
mov edi, 1
jmp 0x4612d7
mov ecx, dword [esi + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x9f
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov dword [ebp + 0x2c], edi
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
mov ecx, edi
cmp dword [eax + 0x54], edi
jg 0x4612f5
mov ecx, esi
call fcn.0043d1e0
test eax, eax
jne 0x461328
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x79
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [esp + 0xd8], 0
je 0x461385
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 0x1f8]
mov eax, dword [eax + 0x1f4]
add edx, eax
mov eax, dword [esp + 0x40]
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 + 0xd8], 0
push eax
mov ecx, str._UNIQUE
mov eax, 0x4c7b7c
cmovne eax, ecx
push eax
push str.CREATE_s_INDEX__.s
push dword [esp + 0x20]
call fcn.00421400
add esp, 0x14
mov edi, eax
jmp 0x461387
xor edi, edi
mov eax, dword [esp + 0x14]
mov ecx, str.sqlite_temp_master
cmp dword [esp + 0x1c], 1
push edi
push ebx
push dword [eax]
mov eax, str.sqlite_master
push dword [ebp]
cmove eax, ecx
mov ecx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x10]
push dword [eax + ecx]
push str.INSERT_INTO__Q._s_VALUES_index__Q__Q__d__Q__
push dword [esp + 0x34]
call fcn.0045b7d0
add esp, 0x20
test edi, edi
je 0x46140d
mov ecx, dword [esp + 0x10]
cmp dword [ecx + 0x208], 0
je 0x4613de
mov edx, edi
call fcn.0041f520
jmp 0x46140d
cmp edi, dword [ecx + 0x114]
jb 0x461404
cmp edi, dword [ecx + 0x118]
jae 0x461404
mov eax, dword [ecx + 0x110]
mov dword [edi], eax
dec dword [ecx + 0xfc]
mov dword [ecx + 0x110], edi
jmp 0x46140d
push edi
call fcn.0041f4b0
add esp, 4
cmp dword [esp + 0xcc], 0
je 0x4614af
mov ecx, dword [esp + 0x18]
mov edx, ebp
push ebx
call fcn.0045fc20
mov edx, dword [esp + 0x20]
add esp, 4
mov ecx, dword [esp + 0x18]
call fcn.0045d970
push dword [ebp]
mov ebx, dword [esp + 0x14]
push str.name_q_AND_typeindex
push ebx
call fcn.00421400
mov edx, dword [esp + 0x28]
add esp, 0xc
mov ecx, esi
push eax
call fcn.0043d490
mov eax, dword [esi + 0x18]
add esp, 4
mov edi, dword [esi + 0x20]
mov ecx, edi
cmp dword [eax + 0x54], edi
jg 0x461476
mov ecx, esi
call fcn.0043d1e0
test eax, eax
jne 0x4614b3
mov ecx, dword [esi + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x93
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4614b3
mov ebx, dword [esp + 0x10]
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov edi, dword [ebp + 0x2c]
dec ecx
mov dword [eax + 0x58], ecx
mov eax, dword [esi]
mov edx, dword [esi + 0x20]
cmp byte [eax + 0x41], 0
je 0x4614d2
mov eax, 0x4dda18
jmp 0x4614e3
test edi, edi
lea eax, [edx - 1]
cmovns eax, edi
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0xcc]
cmp byte [ebx + 0x91], 0
jne 0x4614fe
test eax, eax
jne 0x461551
cmp dword [esp + 0xd4], 5
jne 0x46153f
mov ecx, dword [edx + 8]
test ecx, ecx
je 0x46153f
cmp byte [ecx + 0x36], 5
je 0x46153f
mov eax, dword [ecx + 0x14]
test eax, eax
je 0x46152f
nop dword [eax]
cmp byte [eax + 0x36], 5
je 0x46152f
mov ecx, eax
mov eax, dword [ecx + 0x14]
test eax, eax
jne 0x461520
mov eax, dword [ecx + 0x14]
mov esi, ebp
mov dword [ebp + 0x14], eax
mov dword [ecx + 0x14], ebp
jmp 0x4606ae
mov eax, dword [edx + 8]
mov esi, ebp
mov dword [ebp + 0x14], eax
mov dword [edx + 8], ebp
jmp 0x4606ae
mov ebx, edi
xor esi, esi
test ebp, ebp
je 0x4606ae
mov edx, ebp
mov ecx, ebx
call fcn.0045bb90
jmp 0x4606ae
cmp ecx, dword [edi + 0x114]
jb 0x46159a
cmp ecx, dword [edi + 0x118]
jae 0x46159a
mov eax, dword [edi + 0x110]
mov dword [ecx], eax
mov eax, esi
dec dword [edi + 0xfc]
mov dword [edi + 0x110], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb4
ret
push ecx
call fcn.0041f4b0
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0xb4
ret