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

Disassembly:
sub esp, 0x44
mov eax, dword [esp + 0x48]
mov eax, dword [eax]
push ebp
mov ebp, dword [esp + 0x54]
push edi
xor edi, edi
cmp byte [eax + 0x1e], 0
mov dword [esp + 0x2c], edi
mov dword [esp + 0x14], edi
mov dword [esp + 8], eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
jne 0x46ff83
mov ecx, dword [esp + 0x50]
cmp byte [ecx + 0x210], 0
jne 0x46ff83
push esi
mov esi, ecx
call fcn.0046bd00
test eax, eax
jne 0x46ff82
push ebx
cmp dword [esp + 0x64], edi
je 0x46fb11
mov ebx, dword [esp + 0x5c]
mov edx, esi
push edx
lea ecx, [esp + 0x24]
mov eax, ebp
call fcn.00441680
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
jl 0x46ff81
mov edi, dword [esp + 0x10]
cmp byte [edi + 0x7c], 0
mov ebx, dword [esp + 0x64]
jne 0x46fa52
push esi
mov eax, ebx
call fcn.0046cae0
add esp, 4
cmp dword [ebp + 4], 0
jne 0x46fa52
test eax, eax
je 0x46fa52
mov ecx, dword [edi + 8]
mov edx, dword [eax + 0x44]
cmp edx, dword [ecx + 0x1c]
jne 0x46fa52
mov dword [esp + 0x18], 1
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x1c]
push str.index
lea ecx, [esp + 0x4c]
call fcn.004342e0
add esp, 8
test eax, eax
je 0x46fa7a
push ebx
push ecx
call fcn.004479d0
add esp, 8
mov edx, dword [ebx + 0xc]
mov ebx, dword [ebx + 8]
push edx
push 0
mov eax, esi
call fcn.0046c370
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
je 0x46ff81
mov ebp, edi
cmp byte [ebp + 0x1e], 0
jne 0x46ff81
mov ebx, eax
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 8]
mov esi, dword [ebx]
shl eax, 4
push 7
add ecx, eax
push str.sqlite_
push esi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x34], ecx
call fcn.0042dc00
add esp, 0xc
test eax, eax
jne 0x46fb3e
mov eax, 9
mov ecx, str.altertab_
lea edx, [esi + 7]
mov edi, edi
mov edi, dword [edx]
cmp edi, dword [ecx]
jne 0x46fafa
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x46fae0
mov cl, byte [ecx]
cmp cl, byte [edx]
je 0x46fb3e
mov edi, dword [esp + 0x58]
push esi
push str.table__s_may_not_be_indexed
call fcn.0043e7b0
add esp, 8
jmp 0x46ff81
mov eax, esi
mov eax, dword [eax + 0x1fc]
mov dword [esp + 0x14], eax
cmp eax, edi
je 0x46ff81
mov ebp, dword [esp + 0x10]
mov ebx, eax
mov esi, dword [ebx + 0x44]
mov ecx, ebp
call fcn.00435200
mov dword [esp + 0x18], eax
jmp 0x46faa7
cmp dword [ebx + 0x1c], 0
je 0x46fb5a
mov edi, dword [esp + 0x58]
push str.views_may_not_be_indexed
call fcn.0043e7b0
add esp, 4
jmp 0x46ff81
test byte [ebx + 0x22], 0x10
je 0x46fb76
mov edi, dword [esp + 0x58]
push str.virtual_tables_may_not_be_indexed
call fcn.0043e7b0
add esp, 4
jmp 0x46ff81
mov eax, dword [esp + 0x20]
test eax, eax
je 0x46fc1d
mov edx, ebp
call fcn.0043bc00
mov dword [esp + 0x1c], eax
test eax, eax
je 0x46ff81
mov esi, eax
mov eax, dword [esp + 0x58]
call fcn.004416e0
test eax, eax
jne 0x46ff81
mov ebx, dword [esp + 0x10]
cmp byte [ebx + 0x7c], al
jne 0x46fbd7
push eax
push esi
push ebx
call fcn.004343f0
add esp, 0xc
test eax, eax
je 0x46fbd7
mov edi, dword [esp + 0x58]
push esi
push str.there_is_already_a_table_named__s
call fcn.0043e7b0
add esp, 8
jmp 0x46ff81
mov edx, dword [esp + 0x28]
mov eax, dword [edx]
push eax
push esi
mov edx, ebx
call fcn.00434480
add esp, 8
test eax, eax
je 0x46fc55
cmp dword [esp + 0x7c], 0
jne 0x46fc0b
mov edi, dword [esp + 0x58]
push esi
push str.index__s_already_exists
call fcn.0043e7b0
add esp, 8
jmp 0x46ff81
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x58]
call fcn.0045f6c0
jmp 0x46ff81
mov eax, dword [ebx + 0x10]
mov ecx, 1
test eax, eax
je 0x46fc38
lea esp, [esp]
mov eax, dword [eax + 0x20]
inc ecx
test eax, eax
jne 0x46fc30
push ecx
push esi
push str.sqlite_autoindex__s__d
mov esi, ebp
call fcn.0043e590
add esp, 0xc
mov dword [esp + 0x1c], eax
test eax, eax
je 0x46ff81
cmp dword [esp + 0x18], 1
mov ecx, dword [esp + 0x28]
mov esi, dword [ecx]
mov eax, str.sqlite_temp_master
je 0x46fc6c
mov eax, str.sqlite_master
push esi
push 0
push eax
mov eax, dword [esp + 0x64]
push 0x12
call fcn.00441440
add esp, 0x10
test eax, eax
jne 0x46ff81
mov eax, 1
cmp dword [esp + 0x18], eax
jne 0x46fc96
mov eax, 3
mov edx, dword [esp + 0x14]
mov ecx, dword [edx]
mov edx, dword [esp + 0x1c]
push esi
push ecx
push edx
push eax
mov eax, dword [esp + 0x68]
call fcn.00441440
add esp, 0x10
test eax, eax
jne 0x46ff81
mov ebx, dword [esp + 0x68]
test ebx, ebx
jne 0x46fd1c
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
lea eax, [eax + eax*2]
mov ecx, dword [ecx + eax*8 - 0x18]
mov dword [esp + 0x3c], ecx
call fcn.0042dae0
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x58]
push ebx
xor ecx, ecx
call fcn.00440d70
add esp, 4
mov dword [esp + 0x68], eax
test eax, eax
je 0x46ff81
mov edx, dword [esp + 0x58]
push ebx
mov ebx, eax
push edx
lea edx, [esp + 0x44]
mov ecx, ebx
call fcn.0043b170
mov eax, dword [ebx + 0xc]
mov cl, byte [esp + 0x80]
add esp, 8
mov byte [eax + 0xc], cl
mov esi, dword [ebx]
test esi, esi
jle 0x46fd4f
mov ebx, dword [ebx + 0xc]
mov edx, esi
mov eax, dword [ebx]
test eax, eax
je 0x46fd47
mov eax, dword [eax + 0x14]
test eax, eax
je 0x46fd47
mov ecx, dword [eax]
call fcn.0042dae0
mov ecx, dword [esp + 0x24]
lea eax, [ecx + eax + 1]
mov dword [esp + 0x24], eax
add ebx, 0x14
sub edx, 1
jne 0x46fd27
mov ecx, dword [esp + 0x1c]
call fcn.0042dae0
mov edx, dword [esp + 0x24]
mov ecx, esi
imul ecx, ecx, 0xd
mov ebp, eax
mov eax, dword [esp + 0x10]
add ecx, ebp
lea edi, [ecx + edx + 0x35]
call fcn.0043d770
mov ebx, eax
mov eax, dword [esp + 0x10]
cmp byte [eax + 0x1e], 0
jne 0x46ff65
mov edx, dword [esp + 0x1c]
lea eax, [ebx + 0x30]
mov dword [ebx + 0xc], eax
lea eax, [eax + esi*4 + 4]
mov dword [ebx + 0x2c], eax
lea eax, [eax + esi*4]
mov dword [ebx + 8], eax
lea eax, [eax + esi*4]
mov dword [ebx + 0x28], eax
add eax, esi
lea ecx, [eax + ebp + 1]
inc ebp
push ebp
push edx
push eax
mov dword [ebx], eax
mov dword [esp + 0x38], ecx
call fcn.00478f00
mov eax, dword [esp + 0x74]
mov esi, dword [esp + 0x20]
mov dl, byte [esp + 0x78]
mov edi, dword [esp + 0x1c]
mov dword [ebx + 0x10], esi
mov ecx, dword [eax]
mov dword [ebx + 4], ecx
add esp, 0xc
cmp dword [esp + 0x20], 0
mov byte [ebx + 0x18], dl
sete cl
mov byte [ebx + 0x19], cl
mov edx, dword [edi + 8]
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + edx + 0xc]
mov ecx, dword [esp + 0x28]
mov dword [ebx + 0x24], edx
mov edx, dword [ecx + 0xc]
cmp byte [edx + 0x4c], 4
sbb ecx, ecx
neg ecx
dec ecx
mov dword [esp + 0x3c], ecx
mov ecx, dword [eax + 0xc]
xor ebp, ebp
cmp dword [eax], ebp
mov dword [esp + 0x24], ecx
jle 0x46fef9
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 4]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x14]
mov edi, dword [eax + 0xc]
mov eax, dword [eax + 8]
xor esi, esi
mov dword [esp + 0x38], eax
test eax, eax
jle 0x46fe4c
nop
mov edx, dword [edi]
mov ecx, dword [esp + 0x28]
call fcn.0042dbb0
test eax, eax
je 0x46fe4c
mov ecx, dword [esp + 0x14]
inc esi
add edi, 0x18
cmp esi, dword [ecx + 8]
jl 0x46fe30
cmp esi, dword [esp + 0x38]
jge 0x46ff44
mov edx, dword [ebx + 8]
mov eax, dword [esp + 0x24]
mov dword [edx + ebp*4], esi
mov eax, dword [eax]
test eax, eax
je 0x46fe8c
mov eax, dword [eax + 0x14]
test eax, eax
je 0x46fe8c
mov ecx, dword [eax]
call fcn.0042dae0
mov edi, dword [esp + 0x2c]
mov esi, eax
inc esi
push esi
push ecx
push edi
call fcn.00478f00
add esp, 0xc
add dword [esp + 0x2c], esi
jmp 0x46fea7
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0xc]
lea ecx, [esi + esi*2]
mov edi, dword [eax + ecx*8 + 0x10]
test edi, edi
jne 0x46fea7
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0x2c]
mov edi, dword [edx]
mov eax, dword [esp + 0x10]
cmp byte [eax + 0x7c], 0
jne 0x46fec6
mov eax, dword [esp + 0x58]
push edi
call fcn.0044e250
add esp, 4
test eax, eax
je 0x46ff65
mov ecx, dword [ebx + 0x2c]
mov esi, dword [esp + 0x24]
mov dword [ecx + ebp*4], edi
mov dl, byte [esi + 0xc]
and dl, byte [esp + 0x3c]
mov eax, dword [ebx + 0x28]
mov ecx, dword [esp + 0x68]
mov byte [eax + ebp], dl
inc ebp
add esi, 0x14
cmp ebp, dword [ecx]
mov dword [esp + 0x24], esi
jl 0x46fe10
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
mov edx, ebx
call fcn.00434700
mov edx, dword [esp + 0x58]
cmp esi, dword [edx + 0x1fc]
jne 0x46fff6
mov ebp, dword [esi + 0x10]
test ebp, ebp
je 0x46fff6
jmp 0x46ff20
mov eax, dword [ebp + 4]
cmp eax, dword [ebx + 4]
jne 0x46ffeb
xor esi, esi
test eax, eax
jle 0x46ffe2
mov edi, dword [ebx + 8]
mov ecx, dword [ebp + 8]
sub ecx, edi
mov dword [esp + 0x3c], ecx
jmp 0x46ffb9
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edi, dword [esp + 0x58]
push edx
push ecx
push str.table__s_has_no_column_named__s
call fcn.0043e7b0
add esp, 0xc
mov byte [edi + 0x12], 1
test ebx, ebx
je 0x46ff81
mov eax, dword [ebx + 0x1c]
mov esi, dword [esp + 0x10]
push eax
push esi
call fcn.0042d860
push ebx
push esi
call fcn.0042d860
add esp, 0x10
pop ebx
pop esi
mov ecx, dword [esp + 0x60]
mov edi, dword [esp + 8]
push ecx
call fcn.00433c40
mov edx, dword [esp + 0x60]
push edx
mov eax, edi
call fcn.00434840
mov eax, dword [esp + 0x1c]
push eax
push edi
call fcn.0042d860
mov eax, dword [esp + 0x3c]
add esp, 0x10
pop edi
pop ebp
add esp, 0x44
ret
mov ecx, dword [esp + 0x3c]
lea eax, [edi + esi*4]
mov ecx, dword [eax + ecx]
cmp ecx, dword [eax]
jne 0x46ffe2
mov edx, dword [ebp + 0x2c]
mov ecx, dword [edx + esi*4]
mov eax, dword [ebx + 0x2c]
mov edx, dword [eax + esi*4]
cmp ecx, edx
je 0x46ffdc
call fcn.0042dbb0
test eax, eax
jne 0x46ffe2
inc esi
cmp esi, dword [ebp + 4]
jl 0x46ffb5
cmp esi, dword [ebp + 4]
je 0x470024
mov edi, dword [esp + 0x10]
mov ebp, dword [ebp + 0x20]
test ebp, ebp
jne 0x46ff20
cmp byte [edi + 0x7c], 0
je 0x470084
mov ecx, dword [ebx]
push ebx
call fcn.0042dae0
push ecx
mov ecx, dword [ebx + 0x24]
add ecx, 0x18
call fcn.00437df0
add esp, 8
test eax, eax
je 0x470063
mov byte [edi + 0x1e], 1
jmp 0x46ff65
mov al, byte [ebp + 0x18]
mov cl, byte [ebx + 0x18]
cmp al, cl
je 0x46ff65
cmp al, 0x63
je 0x47004e
cmp cl, 0x63
je 0x47004e
mov edi, dword [esp + 0x58]
push 0
push str.conflicting_ON_CONFLICT_clauses_specified
call fcn.0043e7b0
add esp, 8
cmp byte [ebp + 0x18], 0x63
jne 0x46ff65
mov cl, byte [ebx + 0x18]
mov byte [ebp + 0x18], cl
jmp 0x46ff65
or dword [edi + 0xc], 0x200
cmp dword [esp + 0x64], 0
je 0x470193
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x78]
mov dword [ebx + 0x14], eax
jmp 0x470193
mov edi, dword [esp + 0x58]
inc dword [edi + 0x48]
mov ebp, dword [edi + 0x48]
call fcn.004435d0
mov esi, eax
mov dword [esp + 0x3c], esi
test esi, esi
je 0x46ff65
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x58]
push 1
mov ecx, edi
call fcn.0045f790
push esi
mov eax, ebp
mov ecx, edi
mov edx, 0x68
call fcn.0043a030
add esp, 8
cmp dword [esp + 0x70], 0
je 0x470103
cmp dword [esp + 0x6c], 0
mov ecx, 0x494702
je 0x4700dc
mov ecx, str._UNIQUE
mov eax, dword [esp + 0x20]
mov edx, dword [eax]
mov esi, dword [esp + 0x10]
push edx
mov edx, dword [esp + 0x78]
mov edx, dword [edx]
sub edx, dword [eax]
inc edx
push edx
push ecx
push str.CREATE_s_INDEX__.s
call fcn.0043e590
add esp, 0x10
mov edi, eax
jmp 0x470109
mov esi, dword [esp + 0x10]
xor edi, edi
cmp dword [esp + 0x18], 1
mov eax, str.sqlite_temp_master
je 0x47011a
mov eax, str.sqlite_master
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebx]
push edi
push ebp
push edx
mov edx, dword [esi + 8]
push ecx
push eax
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + edx]
mov edx, dword [esp + 0x6c]
push ecx
push str.INSERT_INTO__Q._s_VALUES_index__Q__Q__d__Q__
push edx
call fcn.004414d0
push edi
push esi
call fcn.0042d860
add esp, 0x28
cmp dword [esp + 0x64], 0
je 0x470193
mov edi, dword [esp + 0x58]
push ebp
push ebx
push edi
call fcn.00455400
mov eax, dword [esp + 0x24]
push eax
call fcn.0043bc90
mov ecx, dword [ebx]
push ecx
push str.name_q_AND_typeindex
call fcn.0043e590
mov esi, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x34]
call fcn.004400f0
push esi
xor eax, eax
mov ecx, 0x81
call fcn.0043a010
add esp, 0x20
mov edx, dword [esp + 0x10]
cmp byte [edx + 0x7c], 0
jne 0x4701a8
cmp dword [esp + 0x64], 0
jne 0x46ff65
mov ecx, dword [esp + 0x14]
mov edx, 5
cmp dword [esp + 0x6c], edx
jne 0x4701f2
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x4701f2
cmp byte [eax + 0x18], dl
je 0x4701f2
cmp dword [eax + 0x20], 0
je 0x4701e0
lea esp, [esp]
mov ecx, dword [eax + 0x20]
cmp byte [ecx + 0x18], dl
je 0x4701e0
mov eax, ecx
cmp dword [eax + 0x20], 0
jne 0x4701d0
mov ecx, dword [eax + 0x20]
mov dword [ebx + 0x20], ecx
mov dword [eax + 0x20], ebx
mov dword [esp + 0x34], ebx
jmp 0x46ff81
mov edx, dword [ecx + 0x10]
mov dword [ebx + 0x20], edx
mov dword [ecx + 0x10], ebx
mov dword [esp + 0x34], ebx
jmp 0x46ff81