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

Disassembly:
sub esp, 0x4c
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov edi, dword [esp + 0x60]
mov ebp, dword [edi]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
cmp byte [ebp + 0x1e], bl
jne 0x452c74
cmp byte [edi + 0x214], bl
jne 0x452c74
cmp byte [ebp + 0x7c], bl
jne 0x45271a
lea eax, [edi + 8]
push eax
mov esi, ebp
call fcn.00461a10
add esp, 4
cmp eax, ebx
je 0x45271a
inc dword [edi + 0x40]
mov dword [edi + 4], eax
jmp 0x452c74
cmp dword [esp + 0x6c], ebx
je 0x4527cf
mov esi, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
push edi
lea ecx, [esp + 0x24]
mov eax, esi
call fcn.00450180
add esp, 4
cmp eax, ebx
mov dword [esp + 0x1c], eax
jl 0x452c74
cmp byte [ebp + 0x7c], bl
jne 0x452775
mov eax, dword [esp + 0x6c]
push edi
call fcn.00454b40
add esp, 4
cmp dword [esi + 4], ebx
jne 0x452775
cmp eax, ebx
je 0x452775
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x44]
cmp edx, dword [ecx + 0x1c]
jne 0x452775
mov dword [esp + 0x1c], 1
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
push str.index
mov esi, edi
lea ecx, [esp + 0x50]
call fcn.0044ecd0
mov esi, dword [esp + 0x74]
add esp, 8
test eax, eax
je 0x4527a3
push esi
push ecx
call fcn.0044ed00
add esp, 8
mov edx, dword [esi + 0xc]
mov ebx, dword [esi + 8]
push edx
push 0
mov eax, edi
call fcn.0044f970
mov ebx, eax
add esp, 8
mov dword [esp + 0x18], eax
test ebx, ebx
je 0x452c74
cmp byte [ebp + 0x1e], 0
je 0x4527ef
jmp 0x452c74
mov ebx, dword [edi + 0x200]
mov dword [esp + 0x18], ebx
test ebx, ebx
je 0x452c74
mov esi, dword [ebx + 0x44]
mov ecx, ebp
call fcn.00461da0
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp + 8]
mov esi, dword [ebx]
shl eax, 4
add ecx, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], ecx
mov eax, 7
mov edx, str.sqlite_
mov ecx, esi
call fcn.004228d0
test eax, eax
jne 0x452858
mov eax, 9
mov ecx, str.altertab_
lea edx, [esi + 7]
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x452841
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x452827
mov al, byte [ecx]
cmp al, byte [edx]
je 0x452856
mov ecx, dword [ebx]
push ecx
push str.table__s_may_not_be_indexed
call fcn.00422780
add esp, 8
jmp 0x452c74
mov esi, dword [ebx]
cmp dword [ebx + 0x1c], 0
je 0x452870
push str.views_may_not_be_indexed
call fcn.00422780
add esp, 4
jmp 0x452c74
test byte [ebx + 0x22], 0x10
je 0x452888
push str.virtual_tables_may_not_be_indexed
call fcn.00422780
add esp, 4
jmp 0x452c74
cmp dword [esp + 0x20], 0
je 0x45291b
mov eax, dword [esp + 0x20]
push ebp
call fcn.0044ffc0
mov esi, eax
add esp, 4
mov dword [esp + 0x24], esi
test esi, esi
je 0x452c74
mov eax, edi
call fcn.00450210
test eax, eax
jne 0x452c74
cmp byte [ebp + 0x7c], al
jne 0x4528e4
push eax
push esi
push ebp
call fcn.0044f830
add esp, 0xc
test eax, eax
je 0x4528e4
push esi
push str.there_is_already_a_table_named__s
call fcn.00422780
add esp, 8
jmp 0x452c74
mov edx, dword [esp + 0x2c]
mov eax, dword [edx]
push eax
push esi
mov edx, ebp
call fcn.0044fa00
add esp, 8
test eax, eax
je 0x45294e
cmp dword [esp + 0x84], 0
jne 0x452c74
push esi
push str.index__s_already_exists
call fcn.00422780
add esp, 8
jmp 0x452c74
mov eax, dword [ebx + 0x10]
mov ecx, 1
test eax, eax
je 0x45292f
mov eax, dword [eax + 0x20]
inc ecx
test eax, eax
jne 0x452927
push ecx
push esi
push str.sqlite_autoindex__s__d
mov esi, ebp
call fcn.00421c70
mov esi, eax
add esp, 0xc
mov dword [esp + 0x24], esi
test esi, esi
je 0x452c74
cmp dword [esp + 0x1c], 1
mov ecx, dword [esp + 0x2c]
mov ebp, dword [ecx]
mov eax, str.sqlite_temp_master
je 0x452965
mov eax, str.sqlite_master
push ebp
push 0
push eax
push 0x12
mov eax, edi
call fcn.0044f1d0
add esp, 0x10
test eax, eax
jne 0x452c74
mov eax, 1
cmp dword [esp + 0x1c], eax
jne 0x45298d
mov eax, 3
mov edx, dword [ebx]
push ebp
push edx
push esi
push eax
mov eax, edi
call fcn.0044f1d0
add esp, 0x10
test eax, eax
jne 0x452c74
mov ebp, dword [esp + 0x70]
test ebp, ebp
jne 0x452a00
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0xc]
lea eax, [eax + eax*2]
mov ecx, dword [ecx + eax*8 - 0x18]
mov dword [esp + 0x40], ecx
call fcn.004226e0
mov dword [esp + 0x44], eax
push ebp
xor ecx, ecx
mov eax, edi
call fcn.00447f20
mov ebp, eax
add esp, 4
mov dword [esp + 0x70], ebp
test ebp, ebp
je 0x452c74
push 0
push edi
lea edx, [esp + 0x48]
mov ecx, ebp
call fcn.00447ff0
mov edx, dword [ebp + 0xc]
mov al, byte [esp + 0x88]
add esp, 8
mov byte [edx + 0xc], al
mov esi, dword [ebp]
test esi, esi
jle 0x452a35
mov ebp, dword [ebp + 0xc]
mov edi, dword [esp + 0x28]
mov edx, esi
mov eax, dword [ebp]
test eax, eax
je 0x452a29
mov eax, dword [eax + 0x14]
test eax, eax
je 0x452a29
mov ecx, dword [eax]
call fcn.004226e0
lea edi, [edi + eax + 1]
add ebp, 0x14
sub edx, 1
jne 0x452a10
mov dword [esp + 0x28], edi
mov ecx, dword [esp + 0x24]
call fcn.004226e0
mov edx, dword [esp + 0x28]
mov ecx, esi
imul ecx, ecx, 0xd
mov ebx, eax
mov eax, dword [esp + 0x14]
add ecx, ebx
lea edi, [ecx + edx + 0x39]
call fcn.00420a00
mov ebp, eax
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x1e], 0
jne 0x452c58
mov edx, dword [esp + 0x24]
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]
inc ebx
push ebx
push edx
push eax
mov dword [ebp], eax
mov dword [esp + 0x3c], ecx
call fcn.004a44a0
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x24]
mov dl, byte [esp + 0x80]
mov edi, dword [esp + 0x20]
mov dword [ebp + 0x10], esi
mov ecx, dword [eax]
mov dword [ebp + 4], ecx
add esp, 0xc
cmp dword [esp + 0x20], 0
mov byte [ebp + 0x18], dl
sete cl
mov byte [ebp + 0x19], cl
mov edx, dword [edi + 8]
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + edx + 0xc]
mov ecx, dword [esp + 0x2c]
mov dword [ebp + 0x24], edx
mov edx, dword [ecx + 0xc]
cmp byte [edx + 0x48], 4
sbb ecx, ecx
neg ecx
dec ecx
mov dword [esp + 0x40], ecx
mov ecx, dword [eax + 0xc]
xor ebx, ebx
cmp dword [eax], ebx
mov dword [esp + 0x28], ecx
jle 0x452beb
lea ebx, [ebx]
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 4]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x18]
mov edi, dword [eax + 0xc]
mov eax, dword [eax + 8]
xor esi, esi
mov dword [esp + 0x3c], eax
test eax, eax
jle 0x452b3c
nop
mov edx, dword [edi]
mov ecx, dword [esp + 0x2c]
call fcn.00422880
test eax, eax
je 0x452b3c
mov ecx, dword [esp + 0x18]
inc esi
add edi, 0x18
cmp esi, dword [ecx + 8]
jl 0x452b20
cmp esi, dword [esp + 0x3c]
jge 0x452c37
mov edx, dword [ebp + 8]
mov eax, dword [esp + 0x28]
mov dword [edx + ebx*4], esi
mov eax, dword [eax]
test eax, eax
je 0x452b7c
mov eax, dword [eax + 0x14]
test eax, eax
je 0x452b7c
mov ecx, dword [eax]
call fcn.004226e0
mov edi, dword [esp + 0x30]
mov esi, eax
inc esi
push esi
push ecx
push edi
call fcn.004a44a0
add esp, 0xc
add dword [esp + 0x30], esi
jmp 0x452b97
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0xc]
lea ecx, [esi + esi*2]
mov edi, dword [eax + ecx*8 + 0x10]
test edi, edi
jne 0x452b97
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x2c]
mov edi, dword [edx]
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x7c], 0
jne 0x452bb8
mov ecx, dword [esp + 0x60]
push ecx
mov eax, edi
call fcn.00450bf0
add esp, 4
test eax, eax
je 0x452c58
mov edx, dword [ebp + 0x2c]
mov esi, dword [esp + 0x28]
mov dword [edx + ebx*4], edi
mov al, byte [esi + 0xc]
and al, byte [esp + 0x40]
mov ecx, dword [ebp + 0x28]
mov edx, dword [esp + 0x70]
mov byte [ebx + ecx], al
inc ebx
add esi, 0x14
cmp ebx, dword [edx]
mov dword [esp + 0x28], esi
jl 0x452b00
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov edx, ebp
call fcn.00452f40
mov eax, dword [esp + 0x60]
cmp esi, dword [eax + 0x200]
jne 0x452cf1
mov ebx, dword [esi + 0x10]
test ebx, ebx
je 0x452cf1
lea ecx, [ecx]
mov eax, dword [ebx + 4]
cmp eax, dword [ebp + 4]
jne 0x452ce6
xor esi, esi
test eax, eax
jle 0x452cdd
mov edi, dword [ebp + 8]
mov ecx, dword [ebx + 8]
sub ecx, edi
mov dword [esp + 0x40], ecx
jmp 0x452cb4
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov edi, dword [esp + 0x60]
push eax
push edx
push str.table__s_has_no_column_named__s
call fcn.00422780
add esp, 0xc
mov byte [edi + 0x12], 1
test ebp, ebp
je 0x452c74
mov ecx, dword [ebp + 0x1c]
mov esi, dword [esp + 0x14]
push ecx
push esi
call fcn.00420800
push ebp
push esi
call fcn.00420800
add esp, 0x10
mov edx, dword [esp + 0x70]
mov esi, dword [esp + 0x14]
push edx
mov edi, esi
call fcn.004480f0
mov eax, dword [esp + 0x70]
add esp, 4
push eax
call fcn.004535a0
mov ecx, dword [esp + 0x28]
add esp, 4
push ecx
push esi
call fcn.00420800
mov eax, dword [esp + 0x40]
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
mov ecx, dword [esp + 0x40]
lea eax, [edi + esi*4]
mov ecx, dword [ecx + eax]
cmp ecx, dword [eax]
jne 0x452cdd
mov edx, dword [ebx + 0x2c]
mov ecx, dword [edx + esi*4]
mov eax, dword [ebp + 0x2c]
mov edx, dword [eax + esi*4]
cmp ecx, edx
je 0x452cd7
call fcn.00422880
test eax, eax
jne 0x452cdd
inc esi
cmp esi, dword [ebx + 4]
jl 0x452cb0
cmp esi, dword [ebx + 4]
je 0x452d06
mov edi, dword [esp + 0x14]
mov ebx, dword [ebx + 0x20]
test ebx, ebx
jne 0x452c10
cmp byte [edi + 0x7c], 0
je 0x452d9b
mov ebx, dword [ebp]
mov eax, ebx
test ebx, ebx
jne 0x452d45
jmp 0x452d5d
mov al, byte [ebx + 0x18]
mov cl, byte [ebp + 0x18]
cmp al, cl
je 0x452c58
cmp al, 0x63
je 0x452d30
cmp cl, 0x63
je 0x452d30
mov edi, dword [esp + 0x60]
push 0
push str.conflicting_ON_CONFLICT_clauses_specified
call fcn.00422780
add esp, 8
cmp byte [ebx + 0x18], 0x63
jne 0x452c58
mov cl, byte [ebp + 0x18]
mov byte [ebx + 0x18], cl
jmp 0x452c58
cmp byte [ebx], 0
je 0x452d56
lea ebx, [ebx]
inc eax
cmp byte [eax], 0
jne 0x452d50
sub eax, ebx
and eax, 0x3fffffff
push ebp
push eax
mov eax, dword [ebp + 0x24]
add eax, 0x14
call fcn.00423840
add esp, 8
test eax, eax
je 0x452d7a
mov byte [edi + 0x1e], 1
jmp 0x452c58
or dword [edi + 0xc], 0x200
cmp dword [esp + 0x6c], 0
je 0x452ecf
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x78]
mov dword [ebp + 0x14], eax
jmp 0x452ecf
mov edi, dword [esp + 0x60]
inc dword [edi + 0x48]
mov ecx, dword [edi + 0x48]
mov dword [esp + 0x30], ecx
call fcn.004644c0
mov edi, eax
test edi, edi
je 0x452c58
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x60]
push 1
mov ecx, esi
call fcn.00453c50
mov edx, dword [esp + 0x34]
add esp, 4
push edx
push esi
push 0x61
mov eax, edi
call fcn.0043a490
add esp, 0xc
cmp dword [esp + 0x78], 0
je 0x452e20
cmp dword [esp + 0x74], 0
mov ecx, 0x4cc6b4
je 0x452df6
mov ecx, str._UNIQUE
mov eax, dword [esp + 0x20]
mov edx, dword [eax]
mov esi, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x80]
mov edx, dword [edx]
sub edx, dword [eax]
inc edx
push edx
push ecx
push str.CREATE_s_INDEX__.s
call fcn.00421c70
add esp, 0x10
mov esi, eax
jmp 0x452e22
xor esi, esi
cmp dword [esp + 0x1c], 1
mov eax, str.sqlite_temp_master
je 0x452e33
mov eax, str.sqlite_master
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x60]
push esi
push ecx
mov ecx, dword [edx]
mov edx, dword [ebp]
push ecx
push edx
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 8]
mov eax, dword [edx + ecx]
push eax
push str.INSERT_INTO__Q._s_VALUES_index__Q__Q__d__Q__
call fcn.0044f770
mov ecx, dword [esp + 0x30]
add esp, 0x1c
push esi
push ecx
call fcn.00420800
add esp, 8
cmp dword [esp + 0x6c], 0
je 0x452ecf
mov edx, dword [esp + 0x30]
push edx
push ebp
mov esi, ebx
push esi
call fcn.00452340
mov ebx, dword [esp + 0x28]
add esp, 0xc
push ebx
call fcn.00450c70
mov eax, dword [ebp]
mov esi, dword [esp + 0x18]
add esp, 4
push 0xffffffffffffffff
push ecx
push eax
push str.name_q_AND_typeindex
call fcn.00421c70
add esp, 0xc
push eax
push 0x63
xor eax, eax
xor ecx, ecx
mov edx, ebx
call fcn.0043a4f0
add esp, 0xc
push 0
push 0x7a
mov eax, edi
call fcn.0043a430
add esp, 8
mov ecx, dword [esp + 0x14]
cmp byte [ecx + 0x7c], 0
jne 0x452ee4
cmp dword [esp + 0x6c], 0
jne 0x452c58
mov ecx, dword [esp + 0x18]
mov edx, 5
cmp dword [esp + 0x74], edx
jne 0x452f27
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x452f27
cmp byte [eax + 0x18], dl
je 0x452f27
cmp dword [eax + 0x20], 0
je 0x452f15
mov ecx, dword [eax + 0x20]
cmp byte [ecx + 0x18], dl
je 0x452f15
mov eax, ecx
cmp dword [eax + 0x20], 0
jne 0x452f05
mov edx, dword [eax + 0x20]
mov dword [ebp + 0x20], edx
mov dword [eax + 0x20], ebp
mov dword [esp + 0x38], ebp
jmp 0x452c74
mov eax, dword [ecx + 0x10]
mov dword [ebp + 0x20], eax
mov dword [ecx + 0x10], ebp
mov dword [esp + 0x38], ebp
jmp 0x452c74