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

Disassembly:
sub esp, 0x44
mov eax, dword [esp + 0x48]
mov eax, dword [eax]
push ebx
mov ebx, dword [esp + 0x54]
xor ecx, ecx
cmp byte [eax + 0x1e], cl
push ebp
push esi
push edi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], ecx
jne 0x4287be
mov ecx, dword [esp + 0x58]
cmp byte [ecx + 0x204], 0
jne 0x4287be
mov edx, ecx
push edx
call fcn.00432370
add esp, 4
test eax, eax
jne 0x4287be
cmp dword [esp + 0x64], eax
je 0x428089
mov eax, dword [esp + 0x58]
mov edi, dword [esp + 0x5c]
push eax
lea ecx, [esp + 0x24]
mov eax, ebx
call fcn.004259f0
add esp, 4
test eax, eax
mov dword [esp + 0x18], eax
jl 0x4287be
mov ebp, dword [esp + 0x10]
cmp byte [ebp + 0x7c], 0
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x64]
jne 0x427f7b
push esi
mov eax, edi
call fcn.00450890
add esp, 4
cmp dword [ebx + 4], 0
jne 0x427f7b
test eax, eax
je 0x427f7b
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x44]
cmp edx, dword [ecx + 0x1c]
jne 0x427f7b
mov dword [esp + 0x18], 1
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x1c]
push str.index
lea ecx, [esp + 0x48]
call fcn.0044b6a0
add esp, 8
test eax, eax
je 0x427fa3
push edi
push ecx
call fcn.0044b6d0
add esp, 8
mov edx, dword [edi + 8]
mov eax, dword [edi + 0xc]
push edx
push eax
push 0
push esi
call fcn.00424e70
add esp, 0x10
test eax, eax
mov dword [esp + 0x14], eax
je 0x4287be
mov edi, ebp
cmp byte [edi + 0x1e], 0
jne 0x4287be
mov ebp, eax
mov eax, dword [esp + 0x18]
mov ecx, dword [edi + 8]
mov ebx, dword [ebp + 4]
shl eax, 4
add ecx, eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x24], ecx
push str.sqlite_
mov eax, 7
mov ecx, ebx
call fcn.0040fbb0
add esp, 4
test eax, eax
jne 0x4280d9
mov eax, 9
mov ecx, str.altertab_
lea edx, [ebx + 7]
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x42802c
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x428010
test eax, eax
je 0x4280b8
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x42807b
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x4280b8
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x42807b
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x4280b8
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x42807b
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x4280b8
movzx esi, byte [edx]
movzx edx, byte [ecx]
sub esi, edx
je 0x4280b8
test esi, esi
mov eax, 1
jg 0x4280ba
or eax, 0xffffffff
jmp 0x4280ba
mov ecx, dword [esp + 0x58]
mov eax, dword [ecx + 0x1f0]
test eax, eax
mov dword [esp + 0x14], eax
je 0x4287be
mov edi, dword [esp + 0x10]
mov ebp, eax
mov esi, dword [ebp + 0x44]
mov ecx, edi
call fcn.00432630
mov dword [esp + 0x18], eax
jmp 0x427fd0
xor eax, eax
test eax, eax
je 0x4280d5
mov esi, dword [esp + 0x58]
push ebx
push str.table__s_may_not_be_indexed
call fcn.0040f9e0
add esp, 8
jmp 0x4287be
mov edi, dword [esp + 0x10]
cmp dword [ebp + 0x1c], 0
je 0x4280f2
mov esi, dword [esp + 0x58]
push str.views_may_not_be_indexed
call fcn.0040f9e0
jmp 0x4287bb
test byte [ebp + 0x22], 0x10
je 0x42810b
mov esi, dword [esp + 0x58]
push str.virtual_tables_may_not_be_indexed
call fcn.0040f9e0
jmp 0x4287bb
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4281ae
push edi
call fcn.004257c0
add esp, 4
test eax, eax
mov dword [esp + 0x1c], eax
je 0x4287be
mov edi, eax
mov eax, dword [esp + 0x58]
call fcn.00425a50
test eax, eax
jne 0x4287be
mov edi, dword [esp + 0x10]
cmp byte [edi + 0x7c], al
mov esi, dword [esp + 0x1c]
jne 0x428172
push eax
push esi
push edi
call fcn.00424d60
add esp, 0xc
test eax, eax
je 0x428172
push esi
mov esi, dword [esp + 0x5c]
push str.there_is_already_a_table_named__s
call fcn.0040f9e0
add esp, 8
jmp 0x4287be
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
push ecx
push esi
mov ecx, edi
call fcn.00424f10
add esp, 8
test eax, eax
je 0x4281e5
cmp dword [esp + 0x7c], 0
jne 0x4287be
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x58]
push edx
push str.index__s_already_exists
call fcn.0040f9e0
add esp, 8
jmp 0x4287be
mov eax, dword [ebp + 0x14]
test eax, eax
mov ecx, 1
je 0x4281ca
lea ebx, [ebx]
mov eax, dword [eax + 0x20]
add ecx, 1
test eax, eax
jne 0x4281c0
push ecx
push ebx
push str.sqlite_autoindex__s__d
call fcn.004119c0
add esp, 0xc
test eax, eax
mov dword [esp + 0x1c], eax
je 0x4287be
cmp dword [esp + 0x18], 1
mov eax, dword [esp + 0x24]
mov esi, dword [eax]
mov eax, str.sqlite_temp_master
je 0x4281fc
mov eax, str.sqlite_master
push esi
push 0
push eax
mov eax, dword [esp + 0x64]
push 0x12
call fcn.004416a0
add esp, 0x10
test eax, eax
jne 0x4287be
mov eax, 1
cmp dword [esp + 0x18], eax
jne 0x428226
mov eax, 3
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 4]
mov ecx, dword [esp + 0x1c]
push esi
push edx
push ecx
push eax
mov eax, dword [esp + 0x68]
call fcn.004416a0
add esp, 0x10
test eax, eax
jne 0x4287be
mov edi, dword [esp + 0x68]
test edi, edi
jne 0x4282ad
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0xc]
lea edx, [eax + eax*2]
mov eax, dword [ecx + 0x10]
mov ecx, dword [eax + edx*8 - 0x18]
mov dword [esp + 0x34], ecx
call fcn.0040f940
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x58]
push edi
xor ecx, ecx
call fcn.00447970
add esp, 4
test eax, eax
mov dword [esp + 0x68], eax
je 0x4287be
mov ecx, dword [esp + 0x58]
push edi
mov edi, eax
push ecx
lea edx, [esp + 0x3c]
mov ecx, edi
call fcn.00447a60
mov edx, dword [edi + 0xc]
mov al, byte [esp + 0x80]
add esp, 8
mov byte [edx + 0xc], al
mov esi, dword [edi]
test esi, esi
jle 0x4282e0
mov edi, dword [edi + 0xc]
mov edx, esi
mov eax, dword [edi]
test eax, eax
je 0x4282d8
mov eax, dword [eax + 0x14]
test eax, eax
je 0x4282d8
mov ecx, dword [eax]
call fcn.0040f940
mov ecx, dword [esp + 0x28]
lea eax, [ecx + eax + 1]
mov dword [esp + 0x28], eax
add edi, 0x14
sub edx, 1
jne 0x4282b8
mov ecx, dword [esp + 0x1c]
call fcn.0040f940
mov edx, dword [esp + 0x28]
mov ecx, esi
imul ecx, ecx, 0xd
mov ebx, eax
mov eax, dword [esp + 0x10]
add ecx, ebx
lea edi, [ecx + edx + 0x39]
call fcn.0040f630
mov ebp, eax
mov eax, dword [esp + 0x10]
cmp byte [eax + 0x1e], 0
jne 0x428513
mov edx, dword [esp + 0x1c]
lea eax, [ebp + 0x34]
mov dword [ebp + 0x2c], eax
lea eax, [eax + esi*4]
mov dword [ebp + 8], eax
lea eax, [eax + esi*4]
mov dword [ebp + 0xc], eax
lea eax, [eax + esi*4 + 4]
mov dword [ebp + 0x28], eax
add eax, esi
lea ecx, [eax + ebx + 1]
add ebx, 1
push ebx
push edx
push eax
mov dword [ebp], eax
mov dword [esp + 0x38], ecx
call fcn.00487dd0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x74]
mov dword [ebp + 0x10], eax
mov edx, dword [ecx]
mov al, byte [esp + 0x78]
add esp, 0xc
cmp dword [esp + 0x20], 0
mov dword [ebp + 4], edx
mov edx, dword [esp + 0x10]
sete cl
mov byte [ebp + 0x18], al
mov byte [ebp + 0x19], cl
mov eax, dword [edx + 8]
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx + eax + 0xc]
mov eax, dword [esp + 0x24]
mov dword [ebp + 0x24], edx
mov ecx, dword [eax + 0xc]
cmp byte [ecx + 0x48], 4
mov eax, dword [esp + 0x68]
mov edx, dword [eax + 0xc]
sbb ebx, ebx
neg ebx
xor edi, edi
sub ebx, 1
cmp dword [eax], edi
mov dword [esp + 0x28], edx
jle 0x4284ab
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 4]
mov eax, dword [ecx + 0x10]
xor esi, esi
cmp dword [ecx + 0xc], esi
mov dword [esp + 0x34], edx
mov dword [esp + 0x24], eax
jle 0x4283eb
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x34]
call fcn.0040fb60
test eax, eax
je 0x4283e7
mov edx, dword [esp + 0x14]
add dword [esp + 0x24], 0x18
add esi, 1
cmp esi, dword [edx + 0xc]
jl 0x4283c3
mov ecx, dword [esp + 0x14]
cmp esi, dword [ecx + 0xc]
jge 0x4284f5
mov eax, dword [ebp + 8]
mov edx, dword [esp + 0x28]
mov dword [eax + edi*4], esi
mov eax, dword [edx]
test eax, eax
je 0x42843a
mov eax, dword [eax + 0x14]
test eax, eax
je 0x42843a
mov ecx, dword [eax]
call fcn.0040f940
mov esi, eax
mov eax, dword [esp + 0x2c]
add esi, 1
push esi
push ecx
push eax
call fcn.00487dd0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov dword [esp + 0x24], eax
add eax, esi
mov dword [esp + 0x2c], eax
jmp 0x428459
mov eax, dword [ecx + 0x10]
lea edx, [esi + esi*2]
mov eax, dword [eax + edx*8 + 0x10]
test eax, eax
mov dword [esp + 0x24], eax
jne 0x428459
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x2c]
mov edx, dword [eax]
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x10]
cmp byte [eax + 0x7c], 0
jne 0x42847c
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x58]
call fcn.00426470
test eax, eax
je 0x428513
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp + 0x2c]
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
mov dword [edx + edi*4], eax
mov dl, byte [esi + 0xc]
mov eax, dword [ebp + 0x28]
and dl, bl
mov byte [edi + eax], dl
mov edx, dword [esp + 0x68]
add edi, 1
add esi, 0x14
cmp edi, dword [edx]
mov dword [esp + 0x28], esi
jl 0x4283aa
mov edx, ebp
call fcn.00428830
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x58]
cmp eax, dword [ecx + 0x1f0]
jne 0x42859f
mov edi, dword [eax + 0x14]
test edi, edi
je 0x42859f
mov eax, dword [edi + 4]
cmp eax, dword [ebp + 4]
jne 0x428594
xor esi, esi
test eax, eax
jle 0x42858f
mov ebx, dword [ebp + 8]
mov ecx, dword [edi + 8]
sub ecx, ebx
mov dword [esp + 0x34], ecx
jmp 0x428564
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 4]
mov esi, dword [esp + 0x58]
push eax
push edx
push str.table__s_has_no_column_named__s
call fcn.0040f9e0
add esp, 0xc
test ebp, ebp
je 0x4287be
mov eax, dword [ebp + 0x1c]
push eax
call fcn.0040f3f0
mov eax, dword [esp + 0x14]
add esp, 4
cmp ebp, dword [eax + 0xf0]
jb 0x4287b5
cmp ebp, dword [eax + 0xf4]
jae 0x4287b5
mov ecx, dword [eax + 0xec]
mov dword [ebp], ecx
add dword [eax + 0xe4], 0xffffffff
mov dword [eax + 0xec], ebp
jmp 0x4287be
mov ecx, dword [esp + 0x34]
lea eax, [ebx + esi*4]
mov edx, dword [ecx + eax]
cmp edx, dword [eax]
jne 0x42858f
mov eax, dword [edi + 0x2c]
mov edx, dword [ebp + 0x2c]
mov ecx, dword [eax + esi*4]
mov edx, dword [edx + esi*4]
cmp ecx, edx
je 0x428587
call fcn.0040fb60
test eax, eax
jne 0x42858f
add esi, 1
cmp esi, dword [edi + 4]
jl 0x428560
cmp esi, dword [edi + 4]
je 0x4285d3
mov edi, dword [edi + 0x20]
test edi, edi
jne 0x4284d1
mov esi, dword [esp + 0x10]
cmp byte [esi + 0x7c], 0
je 0x42862e
mov ecx, dword [ebp]
push ebp
call fcn.0040f940
push eax
mov eax, dword [ebp + 0x24]
push ecx
add eax, 0x14
call fcn.00412bd0
add esp, 0xc
test eax, eax
je 0x428612
mov byte [esi + 0x1e], 1
jmp 0x428513
mov al, byte [edi + 0x18]
mov cl, byte [ebp + 0x18]
cmp al, cl
je 0x428513
cmp al, 0x63
je 0x4285fd
cmp cl, 0x63
je 0x4285fd
mov esi, dword [esp + 0x58]
push 0
push str.conflicting_ON_CONFLICT_clauses_specified
call fcn.0040f9e0
add esp, 8
cmp byte [edi + 0x18], 0x63
jne 0x428513
mov al, byte [ebp + 0x18]
mov byte [edi + 0x18], al
jmp 0x428513
or dword [esi + 0xc], 0x10
cmp dword [esp + 0x64], 0
je 0x428751
mov ecx, esi
mov edx, dword [ecx + 0x78]
mov dword [ebp + 0x14], edx
jmp 0x428751
mov edi, dword [esp + 0x58]
add dword [edi + 0x48], 1
mov ebx, dword [edi + 0x48]
call fcn.0043baa0
mov esi, eax
test esi, esi
mov dword [esp + 0x34], esi
je 0x428513
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x58]
push 1
call fcn.00429700
add esp, 4
push ebx
push edi
push 0x60
mov eax, esi
call fcn.00429ec0
add esp, 0xc
cmp dword [esp + 0x70], 0
je 0x4286ad
cmp dword [esp + 0x6c], 0
mov ecx, 0x4ca308
je 0x428684
mov ecx, str._UNIQUE
mov eax, dword [esp + 0x20]
mov edx, dword [eax]
mov edi, dword [esp + 0x10]
push edx
mov edx, dword [esp + 0x78]
mov edx, dword [edx]
sub edx, dword [eax]
add edx, 1
push edx
push ecx
push str.CREATE_s_INDEX__.s
call fcn.004119c0
add esp, 0x10
mov esi, eax
jmp 0x4286b3
mov edi, dword [esp + 0x10]
xor esi, esi
cmp dword [esp + 0x18], 1
mov eax, str.sqlite_temp_master
je 0x4286c4
mov eax, str.sqlite_master
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 4]
mov ecx, dword [ebp]
push esi
push ebx
push edx
mov edx, dword [edi + 8]
push ecx
push eax
mov eax, dword [esp + 0x50]
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.00424c90
push esi
push edi
call fcn.0040f470
add esp, 0x28
cmp dword [esp + 0x64], 0
je 0x428751
mov esi, dword [esp + 0x58]
push ebx
push ebp
push esi
call fcn.00427b60
mov eax, dword [esp + 0x24]
add esp, 0xc
push eax
call fcn.004264f0
add esp, 4
push 0xffffffffffffffff
push ecx
mov ecx, dword [ebp]
push ecx
push str.name_q
call fcn.004119c0
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x44]
add esp, 0xc
push eax
push edx
push 0x62
xor eax, eax
xor ecx, ecx
call fcn.00429f20
push 0
push 0x77
mov eax, edi
call fcn.00429e60
add esp, 0x18
mov eax, dword [esp + 0x10]
cmp byte [eax + 0x7c], 0
jne 0x428766
cmp dword [esp + 0x64], 0
jne 0x428513
mov ecx, dword [esp + 0x14]
mov edx, 5
cmp dword [esp + 0x6c], edx
jne 0x4287a6
mov eax, dword [ecx + 0x14]
test eax, eax
je 0x4287a6
cmp byte [eax + 0x18], dl
je 0x4287a6
cmp dword [eax + 0x20], 0
je 0x428797
mov ecx, dword [eax + 0x20]
cmp byte [ecx + 0x18], dl
je 0x428797
mov eax, ecx
cmp dword [eax + 0x20], 0
jne 0x428787
mov ecx, dword [eax + 0x20]
mov dword [ebp + 0x20], ecx
mov dword [eax + 0x20], ebp
mov dword [esp + 0x30], ebp
jmp 0x4287be
mov edx, dword [ecx + 0x14]
mov dword [ebp + 0x20], edx
mov dword [ecx + 0x14], ebp
mov dword [esp + 0x30], ebp
jmp 0x4287be
push ebp
call fcn.0040f3f0
add esp, 4
mov edx, dword [esp + 0x68]
mov esi, dword [esp + 0x10]
push edx
call fcn.00447b80
mov eax, dword [esp + 0x68]
add esp, 4
push eax
mov eax, esi
call fcn.00428ee0
mov eax, dword [esp + 0x20]
add esp, 4
test eax, eax
je 0x428817
cmp eax, dword [esi + 0xf0]
jb 0x428817
cmp eax, dword [esi + 0xf4]
jae 0x428817
mov ecx, dword [esi + 0xec]
mov dword [eax], ecx
add dword [esi + 0xe4], 0xffffffff
mov dword [esi + 0xec], eax
mov eax, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
push eax
call fcn.0040f3f0
mov eax, dword [esp + 0x34]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret