Function at 0x455130
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 0x4556e4
cmp byte [edi + 0x214], bl
jne 0x4556e4
cmp byte [ebp + 0x7c], bl
jne 0x45518a
lea eax, [edi + 8]
push eax
mov esi, ebp
call fcn.00464230
add esp, 4
cmp eax, ebx
je 0x45518a
inc dword [edi + 0x40]
mov dword [edi + 4], eax
jmp 0x4556e4
cmp dword [esp + 0x6c], ebx
je 0x45523f
mov esi, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
push edi
lea ecx, [esp + 0x24]
mov eax, esi
call fcn.00452bf0
add esp, 4
cmp eax, ebx
mov dword [esp + 0x1c], eax
jl 0x4556e4
cmp byte [ebp + 0x7c], bl
jne 0x4551e5
mov eax, dword [esp + 0x6c]
push edi
call fcn.004575c0
add esp, 4
cmp dword [esi + 4], ebx
jne 0x4551e5
cmp eax, ebx
je 0x4551e5
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x44]
cmp edx, dword [ecx + 0x1c]
jne 0x4551e5
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.00451730
mov esi, dword [esp + 0x74]
add esp, 8
test eax, eax
je 0x455213
push esi
push ecx
call fcn.00451760
add esp, 8
mov edx, dword [esi + 0xc]
mov ebx, dword [esi + 8]
push edx
push 0
mov eax, edi
call fcn.004523e0
mov ebx, eax
add esp, 8
mov dword [esp + 0x18], eax
test ebx, ebx
je 0x4556e4
cmp byte [ebp + 0x1e], 0
je 0x45525f
jmp 0x4556e4
mov ebx, dword [edi + 0x200]
mov dword [esp + 0x18], ebx
test ebx, ebx
je 0x4556e4
mov esi, dword [ebx + 0x44]
mov ecx, ebp
call fcn.004645d0
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.00425b30
test eax, eax
jne 0x4552c8
mov eax, 9
mov ecx, str.altertab_
lea edx, [esi + 7]
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x4552b1
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x455297
mov al, byte [ecx]
cmp al, byte [edx]
je 0x4552c6
mov ecx, dword [ebx]
push ecx
push str.table__s_may_not_be_indexed
call fcn.004259e0
add esp, 8
jmp 0x4556e4
mov esi, dword [ebx]
cmp dword [ebx + 0x1c], 0
je 0x4552e0
push str.views_may_not_be_indexed
call fcn.004259e0
add esp, 4
jmp 0x4556e4
test byte [ebx + 0x22], 0x10
je 0x4552f8
push str.virtual_tables_may_not_be_indexed
call fcn.004259e0
add esp, 4
jmp 0x4556e4
cmp dword [esp + 0x20], 0
je 0x45538b
mov eax, dword [esp + 0x20]
push ebp
call fcn.00452a30
mov esi, eax
add esp, 4
mov dword [esp + 0x24], esi
test esi, esi
je 0x4556e4
mov eax, edi
call fcn.00452c80
test eax, eax
jne 0x4556e4
cmp byte [ebp + 0x7c], al
jne 0x455354
push eax
push esi
push ebp
call fcn.004522a0
add esp, 0xc
test eax, eax
je 0x455354
push esi
push str.there_is_already_a_table_named__s
call fcn.004259e0
add esp, 8
jmp 0x4556e4
mov edx, dword [esp + 0x2c]
mov eax, dword [edx]
push eax
push esi
mov edx, ebp
call fcn.00452470
add esp, 8
test eax, eax
je 0x4553be
cmp dword [esp + 0x84], 0
jne 0x4556e4
push esi
push str.index__s_already_exists
call fcn.004259e0
add esp, 8
jmp 0x4556e4
mov eax, dword [ebx + 0x10]
mov ecx, 1
test eax, eax
je 0x45539f
mov eax, dword [eax + 0x20]
inc ecx
test eax, eax
jne 0x455397
push ecx
push esi
push str.sqlite_autoindex__s__d
mov esi, ebp
call fcn.00424ea0
mov esi, eax
add esp, 0xc
mov dword [esp + 0x24], esi
test esi, esi
je 0x4556e4
cmp dword [esp + 0x1c], 1
mov ecx, dword [esp + 0x2c]
mov ebp, dword [ecx]
mov eax, str.sqlite_temp_master
je 0x4553d5
mov eax, str.sqlite_master
push ebp
push 0
push eax
push 0x12
mov eax, edi
call fcn.00451c30
add esp, 0x10
test eax, eax
jne 0x4556e4
mov eax, 1
cmp dword [esp + 0x1c], eax
jne 0x4553fd
mov eax, 3
mov edx, dword [ebx]
push ebp
push edx
push esi
push eax
mov eax, edi
call fcn.00451c30
add esp, 0x10
test eax, eax
jne 0x4556e4
mov ebp, dword [esp + 0x70]
test ebp, ebp
jne 0x455470
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.00425940
mov dword [esp + 0x44], eax
push ebp
xor ecx, ecx
mov eax, edi
call fcn.0044ab90
mov ebp, eax
add esp, 4
mov dword [esp + 0x70], ebp
test ebp, ebp
je 0x4556e4
push 0
push edi
lea edx, [esp + 0x48]
mov ecx, ebp
call fcn.0044ac60
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 0x4554a5
mov ebp, dword [ebp + 0xc]
mov edi, dword [esp + 0x28]
mov edx, esi
mov eax, dword [ebp]
test eax, eax
je 0x455499
mov eax, dword [eax + 0x14]
test eax, eax
je 0x455499
mov ecx, dword [eax]
call fcn.00425940
lea edi, [edi + eax + 1]
add ebp, 0x14
sub edx, 1
jne 0x455480
mov dword [esp + 0x28], edi
mov ecx, dword [esp + 0x24]
call fcn.00425940
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.00423bf0
mov ebp, eax
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x1e], 0
jne 0x4556c8
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.00498400
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 0x45565b
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 0x4555ac
nop
mov edx, dword [edi]
mov ecx, dword [esp + 0x2c]
call fcn.00425ae0
test eax, eax
je 0x4555ac
mov ecx, dword [esp + 0x18]
inc esi
add edi, 0x18
cmp esi, dword [ecx + 8]
jl 0x455590
cmp esi, dword [esp + 0x3c]
jge 0x4556a7
mov edx, dword [ebp + 8]
mov eax, dword [esp + 0x28]
mov dword [edx + ebx*4], esi
mov eax, dword [eax]
test eax, eax
je 0x4555ec
mov eax, dword [eax + 0x14]
test eax, eax
je 0x4555ec
mov ecx, dword [eax]
call fcn.00425940
mov edi, dword [esp + 0x30]
mov esi, eax
inc esi
push esi
push ecx
push edi
call fcn.00498400
add esp, 0xc
add dword [esp + 0x30], esi
jmp 0x455607
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 0x455607
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 0x455628
mov ecx, dword [esp + 0x60]
push ecx
mov eax, edi
call fcn.00453660
add esp, 4
test eax, eax
je 0x4556c8
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 0x455570
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov edx, ebp
call fcn.004559b0
mov eax, dword [esp + 0x60]
cmp esi, dword [eax + 0x200]
jne 0x455761
mov ebx, dword [esi + 0x10]
test ebx, ebx
je 0x455761
lea ecx, [ecx]
mov eax, dword [ebx + 4]
cmp eax, dword [ebp + 4]
jne 0x455756
xor esi, esi
test eax, eax
jle 0x45574d
mov edi, dword [ebp + 8]
mov ecx, dword [ebx + 8]
sub ecx, edi
mov dword [esp + 0x40], ecx
jmp 0x455724
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.004259e0
add esp, 0xc
mov byte [edi + 0x12], 1
test ebp, ebp
je 0x4556e4
mov ecx, dword [ebp + 0x1c]
mov esi, dword [esp + 0x14]
push ecx
push esi
call fcn.004239e0
push ebp
push esi
call fcn.004239e0
add esp, 0x10
mov edx, dword [esp + 0x70]
mov esi, dword [esp + 0x14]
push edx
mov edi, esi
call fcn.0044ad60
mov eax, dword [esp + 0x70]
add esp, 4
push eax
call fcn.00456010
mov ecx, dword [esp + 0x28]
add esp, 4
push ecx
push esi
call fcn.004239e0
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 0x45574d
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 0x455747
call fcn.00425ae0
test eax, eax
jne 0x45574d
inc esi
cmp esi, dword [ebx + 4]
jl 0x455720
cmp esi, dword [ebx + 4]
je 0x455776
mov edi, dword [esp + 0x14]
mov ebx, dword [ebx + 0x20]
test ebx, ebx
jne 0x455680
cmp byte [edi + 0x7c], 0
je 0x45580b
mov ebx, dword [ebp]
mov eax, ebx
test ebx, ebx
jne 0x4557b5
jmp 0x4557cd
mov al, byte [ebx + 0x18]
mov cl, byte [ebp + 0x18]
cmp al, cl
je 0x4556c8
cmp al, 0x63
je 0x4557a0
cmp cl, 0x63
je 0x4557a0
mov edi, dword [esp + 0x60]
push 0
push str.conflicting_ON_CONFLICT_clauses_specified
call fcn.004259e0
add esp, 8
cmp byte [ebx + 0x18], 0x63
jne 0x4556c8
mov cl, byte [ebp + 0x18]
mov byte [ebx + 0x18], cl
jmp 0x4556c8
cmp byte [ebx], 0
je 0x4557c6
lea ebx, [ebx]
inc eax
cmp byte [eax], 0
jne 0x4557c0
sub eax, ebx
and eax, 0x3fffffff
push ebp
push eax
mov eax, dword [ebp + 0x24]
add eax, 0x14
call fcn.00426aa0
add esp, 8
test eax, eax
je 0x4557ea
mov byte [edi + 0x1e], 1
jmp 0x4556c8
or dword [edi + 0xc], 0x200
cmp dword [esp + 0x6c], 0
je 0x45593f
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x78]
mov dword [ebp + 0x14], eax
jmp 0x45593f
mov edi, dword [esp + 0x60]
inc dword [edi + 0x48]
mov ecx, dword [edi + 0x48]
mov dword [esp + 0x30], ecx
call fcn.00466cf0
mov edi, eax
test edi, edi
je 0x4556c8
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x60]
push 1
mov ecx, esi
call fcn.004566c0
mov edx, dword [esp + 0x34]
add esp, 4
push edx
push esi
push 0x61
mov eax, edi
call fcn.0043cf70
add esp, 0xc
cmp dword [esp + 0x78], 0
je 0x455890
cmp dword [esp + 0x74], 0
mov ecx, 0x4c1e70
je 0x455866
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.00424ea0
add esp, 0x10
mov esi, eax
jmp 0x455892
xor esi, esi
cmp dword [esp + 0x1c], 1
mov eax, str.sqlite_temp_master
je 0x4558a3
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.004521e0
mov ecx, dword [esp + 0x30]
add esp, 0x1c
push esi
push ecx
call fcn.004239e0
add esp, 8
cmp dword [esp + 0x6c], 0
je 0x45593f
mov edx, dword [esp + 0x30]
push edx
push ebp
mov esi, ebx
push esi
call fcn.00454db0
mov ebx, dword [esp + 0x28]
add esp, 0xc
push ebx
call fcn.004536e0
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.00424ea0
add esp, 0xc
push eax
push 0x63
xor eax, eax
xor ecx, ecx
mov edx, ebx
call fcn.0043cfd0
add esp, 0xc
push 0
push 0x7a
mov eax, edi
call fcn.0043cf10
add esp, 8
mov ecx, dword [esp + 0x14]
cmp byte [ecx + 0x7c], 0
jne 0x455954
cmp dword [esp + 0x6c], 0
jne 0x4556c8
mov ecx, dword [esp + 0x18]
mov edx, 5
cmp dword [esp + 0x74], edx
jne 0x455997
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x455997
cmp byte [eax + 0x18], dl
je 0x455997
cmp dword [eax + 0x20], 0
je 0x455985
mov ecx, dword [eax + 0x20]
cmp byte [ecx + 0x18], dl
je 0x455985
mov eax, ecx
cmp dword [eax + 0x20], 0
jne 0x455975
mov edx, dword [eax + 0x20]
mov dword [ebp + 0x20], edx
mov dword [eax + 0x20], ebp
mov dword [esp + 0x38], ebp
jmp 0x4556e4
mov eax, dword [ecx + 0x10]
mov dword [ebp + 0x20], eax
mov dword [ecx + 0x10], ebp
mov dword [esp + 0x38], ebp
jmp 0x4556e4