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

Disassembly:
sub esp, 0x54
push ebx
push ebp
mov ebp, dword [esp + 0x6c]
push esi
xor eax, eax
push edi
mov edi, dword [esp + 0x68]
mov esi, dword [edi]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x34], eax
cmp byte [esi + 0x40], al
jne 0x45a769
cmp byte [edi + 0x1c3], al
jne 0x45a769
cmp byte [esi + 0x91], al
jne 0x45a188
lea eax, [edi + 4]
push eax
push esi
call fcn.0046b5f0
add esp, 8
test eax, eax
je 0x45a188
inc dword [edi + 0x40]
mov dword [edi + 0xc], eax
jmp 0x45a769
test ebp, ebp
je 0x45a261
mov eax, dword [esp + 0x70]
mov ebx, dword [esp + 0x6c]
push edi
lea ecx, [esp + 0x28]
call fcn.004574f0
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
jl 0x45a769
cmp byte [esi + 0x91], 0
jne 0x45a1e4
mov eax, ebp
mov ebx, edi
call fcn.0045ce50
mov ecx, dword [esp + 0x70]
cmp dword [ecx + 4], 0
jne 0x45a1e4
test eax, eax
je 0x45a1e4
mov edx, dword [esi + 0x10]
mov eax, dword [eax + 0x44]
cmp eax, dword [edx + 0x1c]
jne 0x45a1e4
mov dword [esp + 0x14], 1
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x14]
push ecx
push str.index
mov ecx, edi
lea eax, [esp + 0x50]
call fcn.00455cc0
mov edx, eax
push ebp
push edx
call fcn.00455d00
add ebp, 8
push ebp
push 0
mov eax, edi
call fcn.00456a30
mov ebp, eax
add esp, 0x18
mov dword [esp + 0x18], ebp
test ebp, ebp
je 0x45a769
mov ebx, dword [esp + 0x10]
cmp esi, 1
jne 0x45a24e
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax + 0x1c]
cmp ecx, dword [ebp + 0x44]
je 0x45a24e
mov edx, dword [ebp]
push edx
push str.cannot_create_a_TEMP_index_on_non_TEMP_table___s_
call fcn.004231b0
add esp, 8
jmp 0x45a769
test byte [ebp + 0x2c], 0x20
je 0x45a289
mov eax, ebp
call fcn.004575b0
mov dword [esp + 0x34], eax
jmp 0x45a289
mov ebp, dword [edi + 0x1e4]
mov dword [esp + 0x18], ebp
test ebp, ebp
je 0x45a769
mov esi, dword [ebp + 0x44]
mov ecx, dword [esp + 0x10]
call fcn.0046b9c0
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x14], eax
mov esi, eax
mov ecx, dword [ebx + 0x10]
mov eax, esi
mov esi, dword [ebp]
shl eax, 4
push 7
add ecx, eax
push str.sqlite_
push esi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x34], ecx
call fcn.00423390
add esp, 0xc
test eax, eax
jne 0x45a2e4
cmp byte [ebx + 0x91], al
jne 0x45a2e4
push 9
lea eax, [esi + 7]
push str.altertab_
push eax
call fcn.00423390
add esp, 0xc
test eax, eax
je 0x45a2e4
push esi
push str.table__s_may_not_be_indexed
call fcn.004231b0
add esp, 8
jmp 0x45a769
cmp dword [ebp + 0xc], 0
je 0x45a2fc
push str.views_may_not_be_indexed
call fcn.004231b0
add esp, 4
jmp 0x45a769
test byte [ebp + 0x2c], 0x10
je 0x45a314
push str.virtual_tables_may_not_be_indexed
call fcn.004231b0
add esp, 4
jmp 0x45a769
cmp dword [esp + 0x24], 0
je 0x45a3c4
mov ecx, dword [esp + 0x24]
push ebx
call fcn.00457320
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
test esi, esi
je 0x45a769
mov eax, edi
call fcn.00457560
test eax, eax
jne 0x45a769
cmp byte [ebx + 0x91], al
jne 0x45a37c
mov ebx, dword [esp + 0x10]
push eax
push esi
call fcn.004568e0
add esp, 8
test eax, eax
je 0x45a378
mov ecx, esi
push ecx
push str.there_is_already_a_table_named__s
call fcn.004231b0
add esp, 8
jmp 0x45a769
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
mov ebx, dword [edx]
mov ecx, dword [esp + 0x10]
push esi
call fcn.00456a90
add esp, 4
test eax, eax
je 0x45a3f5
cmp dword [esp + 0x8c], 0
jne 0x45a3b4
mov eax, dword [esp + 0x1c]
push eax
push str.index__s_already_exists
call fcn.004231b0
add esp, 8
jmp 0x45a769
mov ecx, dword [esp + 0x14]
mov edx, edi
call fcn.0045b8c0
jmp 0x45a769
mov eax, dword [ebp + 8]
mov ecx, 1
test eax, eax
je 0x45a3d8
mov eax, dword [eax + 0x14]
inc ecx
test eax, eax
jne 0x45a3d0
push ecx
push esi
push str.sqlite_autoindex__s__d
mov esi, ebx
call fcn.00422430
add esp, 0xc
mov dword [esp + 0x1c], eax
test eax, eax
je 0x45a769
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
mov esi, dword [ecx]
mov eax, str.sqlite_temp_master
cmp ebx, 1
je 0x45a40e
mov eax, str.sqlite_master
push esi
push 0
push eax
push 0x12
mov eax, edi
call fcn.004562d0
add esp, 0x10
test eax, eax
jne 0x45a769
mov eax, 1
cmp ebx, eax
jne 0x45a434
mov eax, 3
mov edx, dword [ebp]
mov ecx, dword [esp + 0x1c]
push esi
push edx
push ecx
push eax
mov eax, edi
call fcn.004562d0
add esp, 0x10
test eax, eax
jne 0x45a769
mov esi, dword [esp + 0x78]
test esi, esi
jne 0x45a4a0
push esi
xor ecx, ecx
mov eax, edi
call fcn.0044e940
mov esi, eax
add esp, 4
mov dword [esp + 0x78], esi
test esi, esi
je 0x45a769
movsx eax, word [ebp + 0x26]
mov ecx, dword [edi]
lea edx, [eax + eax*2]
mov eax, dword [ebp + 4]
mov ebx, dword [eax + edx*8 - 0x18]
push ecx
call fcn.00420f60
mov edx, dword [esi + 4]
mov cl, byte [esp + 0x8c]
mov dword [edx + 4], eax
mov eax, dword [esi + 4]
add esp, 4
mov byte [eax + 0xc], cl
mov eax, dword [esi]
test eax, eax
jle 0x45a4ce
mov esi, dword [esi + 4]
mov edi, dword [esp + 0x30]
mov edx, eax
nop
mov eax, dword [esi]
test eax, eax
je 0x45a4c2
mov ecx, dword [eax + 8]
call fcn.004230d0
lea edi, [edi + eax + 1]
add esi, 0x18
sub edx, 1
jne 0x45a4b0
mov dword [esp + 0x30], edi
mov ecx, dword [esp + 0x1c]
call fcn.004230d0
mov esi, eax
mov eax, dword [esp + 0x34]
test eax, eax
je 0x45a4e7
movzx eax, word [eax + 0x32]
jmp 0x45a4ec
mov eax, 1
mov ebx, dword [esp + 0x78]
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x10]
lea edx, [esp + 0x20]
push edx
mov dx, word [ebx]
add dx, ax
movzx eax, dx
push eax
lea ecx, [esi + ecx + 1]
push edi
call fcn.0045a090
add esp, 0xc
cmp byte [edi + 0x40], 0
mov ebp, eax
jne 0x45a75a
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
lea ecx, [eax + esi + 1]
inc esi
push esi
push edx
push eax
mov dword [ebp], eax
mov dword [esp + 0x2c], ecx
call fcn.004adef0
mov ecx, dword [esp + 0x88]
xor edx, edx
add esp, 0xc
test ecx, ecx
setne dl
mov eax, dword [esp + 0x18]
mov byte [ebp + 0x36], cl
xor ecx, ecx
mov esi, dword [esp + 0x84]
mov dword [ebp + 0xc], eax
and edx, 1
add edx, edx
add edx, edx
add edx, edx
cmp dword [esp + 0x24], ecx
sete cl
and ecx, 3
or edx, ecx
mov ecx, dword [ebp + 0x38]
and ecx, 0xfffffff4
or edx, ecx
mov ecx, dword [esp + 0x40]
mov dword [ebp + 0x38], edx
mov edx, dword [edi + 0x10]
mov edx, dword [ecx + edx + 0xc]
mov dword [ebp + 0x18], edx
mov cx, word [ebx]
mov word [ebp + 0x32], cx
test esi, esi
je 0x45a5b9
mov edx, dword [esp + 0x68]
push 0
push esi
push 0x10
push edx
call fcn.0044d0e0
add esp, 0x10
mov dword [ebp + 0x24], esi
mov dword [esp + 0x84], 0
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0xc]
cmp byte [ecx + 0x4c], 4
mov edx, dword [ebx + 4]
sbb eax, eax
neg eax
xor edi, edi
dec eax
cmp dword [ebx], edi
mov dword [esp + 0x44], eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x28], edx
jle 0x45a6f5
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x18]
mov ecx, dword [eax + 4]
movsx eax, word [esi + 0x26]
mov edx, dword [esi + 4]
xor ebx, ebx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x30], edx
test eax, eax
jle 0x45a628
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
mov edx, dword [esp + 0x3c]
push ecx
push edx
call fcn.00423340
add esp, 8
test eax, eax
je 0x45a628
movsx eax, word [esi + 0x26]
add dword [esp + 0x30], 0x18
inc ebx
cmp ebx, eax
jl 0x45a602
movsx eax, word [esi + 0x26]
cmp ebx, eax
jge 0x45a73d
mov ecx, dword [ebp + 4]
mov edx, dword [esp + 0x28]
mov word [ecx + edi*2], bx
mov eax, dword [edx]
test eax, eax
je 0x45a66f
mov ecx, dword [eax + 8]
call fcn.004230d0
mov esi, eax
mov eax, dword [esp + 0x20]
inc esi
push esi
push ecx
push eax
call fcn.004adef0
mov eax, dword [esp + 0x2c]
add esp, 0xc
mov dword [esp + 0x30], eax
add eax, esi
mov dword [esp + 0x20], eax
jmp 0x45a689
mov edx, dword [esi + 4]
lea ecx, [ebx + ebx*2]
mov eax, dword [edx + ecx*8 + 0x10]
mov dword [esp + 0x30], eax
test eax, eax
jne 0x45a689
mov dword [esp + 0x30], str.BINARY
mov eax, dword [esp + 0x10]
cmp byte [eax + 0x91], 0
jne 0x45a6af
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x68]
call fcn.004580c0
test eax, eax
je 0x45a75a
mov edi, dword [esp + 0x38]
mov ecx, dword [ebp + 0x20]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
mov dword [ecx + edi*4], edx
mov cl, byte [eax + 0xc]
and cl, byte [esp + 0x44]
mov edx, dword [ebp + 0x1c]
mov byte [edi + edx], cl
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 4]
lea eax, [ebx + ebx*2]
cmp byte [edx + eax*8 + 0x14], 0
jne 0x45a6df
and dword [ebp + 0x38], 0xfffffff7
mov eax, dword [esp + 0x78]
add dword [esp + 0x28], 0x18
inc edi
cmp edi, dword [eax]
mov dword [esp + 0x38], edi
jl 0x45a5e2
mov ebx, dword [esp + 0x34]
test ebx, ebx
je 0x45a7fb
xor eax, eax
xor esi, esi
cmp ax, word [ebx + 0x32]
jae 0x45a80f
nop
mov ecx, dword [ebx + 4]
movsx edx, word [ecx + esi*2]
movzx eax, word [ebp + 0x32]
mov ecx, dword [ebp + 4]
mov dword [esp + 0x44], edx
call fcn.00458680
test eax, eax
je 0x45a7c7
mov edx, 0xffff
add word [ebp + 0x34], dx
jmp 0x45a7ec
mov ecx, dword [esp + 0x3c]
mov edx, dword [esi]
mov edi, dword [esp + 0x68]
push ecx
push edx
push str.table__s_has_no_column_named__s
call fcn.004231b0
add esp, 0xc
mov byte [edi + 0x11], 1
test ebp, ebp
je 0x45a769
mov esi, dword [esp + 0x10]
mov edi, ebp
call fcn.00456b60
mov eax, dword [esp + 0x84]
mov esi, dword [esp + 0x10]
push eax
push esi
call fcn.0044de10
mov ecx, dword [esp + 0x80]
push ecx
push esi
call fcn.0044eb50
mov edx, dword [esp + 0x84]
push edx
mov eax, esi
call fcn.0045b240
mov eax, dword [esp + 0x30]
add esp, 0x14
test eax, eax
je 0x45ab1d
cmp dword [esi + 0x208], 0
je 0x45aae4
mov ecx, esi
call fcn.00420ae0
mov eax, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
mov eax, dword [ebp + 4]
mov cx, word [esp + 0x44]
mov word [eax + edi*2], cx
mov edx, dword [ebx + 0x20]
mov ecx, dword [edx + esi*4]
mov eax, dword [ebp + 0x20]
mov dword [eax + edi*4], ecx
mov edx, dword [ebx + 0x1c]
mov eax, dword [ebp + 0x1c]
mov cl, byte [esi + edx]
mov byte [edi + eax], cl
inc edi
movzx edx, word [ebx + 0x32]
inc esi
cmp esi, edx
jl 0x45a710
jmp 0x45a80f
mov eax, dword [ebp + 4]
or ecx, 0xffffffff
mov word [eax + edi*2], cx
mov edx, dword [ebp + 0x20]
mov dword [edx + edi*4], str.BINARY
mov esi, ebp
call fcn.0045ab30
mov esi, dword [esp + 0x68]
cmp dword [esi + 0x1e4], 0
jne 0x45a82a
mov edi, ebp
call fcn.00458620
mov eax, dword [esp + 0x18]
cmp eax, dword [esi + 0x1e4]
jne 0x45a8aa
mov ebx, dword [eax + 8]
test ebx, ebx
je 0x45a8aa
lea ecx, [ecx]
movzx eax, word [ebx + 0x32]
movzx ecx, word [ebp + 0x32]
cmp ax, cx
jne 0x45a8a3
movzx eax, ax
xor esi, esi
mov dword [esp + 0x3c], eax
test eax, eax
jle 0x45a89d
mov edi, dword [ebp + 4]
mov edx, dword [ebx + 4]
sub edx, edi
mov dword [esp + 0x44], edx
mov ax, word [edx + edi]
cmp ax, word [edi]
jne 0x45a89d
mov ecx, dword [ebx + 0x20]
mov eax, dword [ecx + esi*4]
mov ecx, dword [ebp + 0x20]
mov ecx, dword [ecx + esi*4]
cmp eax, ecx
je 0x45a891
push ecx
push eax
call fcn.00423340
add esp, 8
test eax, eax
jne 0x45a89d
mov edx, dword [esp + 0x44]
movzx eax, word [ebx + 0x32]
inc esi
add edi, 2
cmp esi, eax
jl 0x45a866
cmp esi, dword [esp + 0x3c]
je 0x45a8d8
mov ebx, dword [ebx + 0x14]
test ebx, ebx
jne 0x45a840
mov edi, dword [esp + 0x10]
cmp byte [edi + 0x91], 0
je 0x45a936
mov edx, dword [ebp]
mov eax, dword [ebp + 0x18]
push edx
add eax, 0x18
mov esi, ebp
call fcn.00424920
add esp, 4
test eax, eax
je 0x45a917
mov byte [edi + 0x40], 1
jmp 0x45a75a
mov al, byte [ebx + 0x36]
mov cl, byte [ebp + 0x36]
cmp al, cl
je 0x45a75a
cmp al, 0xa
je 0x45a902
cmp cl, 0xa
je 0x45a902
mov edi, dword [esp + 0x68]
push 0
push str.conflicting_ON_CONFLICT_clauses_specified
call fcn.004231b0
add esp, 8
cmp byte [ebx + 0x36], 0xa
jne 0x45a75a
mov cl, byte [ebp + 0x36]
mov byte [ebx + 0x36], cl
jmp 0x45a75a
or dword [edi + 0x18], 2
cmp dword [esp + 0x74], 0
je 0x45aa76
mov eax, edi
mov ecx, dword [eax + 0x8c]
mov dword [ebp + 0x2c], ecx
jmp 0x45aa76
mov edx, dword [esp + 0x68]
cmp dword [edx + 0x40], 0
jne 0x45aa76
mov eax, dword [esp + 0x18]
test byte [eax + 0x2c], 0x20
je 0x45a959
cmp dword [esp + 0x74], 0
je 0x45aa76
mov ebx, edx
inc dword [ebx + 0x48]
mov edi, dword [ebx + 0x48]
mov eax, ebx
call fcn.0046ee30
mov esi, eax
mov dword [esp + 0x44], esi
test esi, esi
je 0x45a75a
mov ecx, dword [esp + 0x14]
push 1
mov edx, ebx
call fcn.0045b9a0
mov ecx, dword [esp + 0x18]
add esp, 4
push edi
push ecx
push 0x78
call fcn.0043c9d0
add esp, 0xc
cmp dword [esp + 0x80], 0
je 0x45a9e5
mov eax, dword [ebx + 0x1fc]
add eax, dword [ebx + 0x1f8]
mov ecx, dword [esp + 0x24]
sub eax, dword [ecx]
mov ecx, dword [ecx]
cmp byte [ecx + eax - 1], 0x3b
jne 0x45a9bc
dec eax
cmp dword [esp + 0x7c], 0
mov edx, 0x4d5034
je 0x45a9cd
mov edx, str._UNIQUE
mov esi, dword [esp + 0x10]
push ecx
push eax
push edx
push str.CREATE_s_INDEX__.s
call fcn.00422430
add esp, 0x10
mov esi, eax
jmp 0x45a9e7
xor esi, esi
cmp dword [esp + 0x14], 1
mov eax, str.sqlite_temp_master
je 0x45a9f8
mov eax, str.sqlite_master
mov edx, dword [esp + 0x18]
mov ecx, dword [edx]
mov edx, dword [ebp]
push esi
push edi
push ecx
push edx
mov edx, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x10]
mov eax, dword [edx + ecx]
push eax
push str.INSERT_INTO__Q._s_VALUES_index__Q__Q__d__Q__
call fcn.00456820
mov ecx, dword [esp + 0x2c]
add esp, 0x1c
mov eax, esi
call fcn.00420b20
cmp dword [esp + 0x74], 0
je 0x45aa76
push edi
push ebp
mov edi, ebx
call fcn.00459d00
mov ebx, dword [esp + 0x1c]
push ebx
call fcn.00458130
mov ecx, dword [ebp]
mov esi, dword [esp + 0x1c]
add esp, 0xc
push ecx
push str.name_q_AND_typeindex
call fcn.00422430
mov esi, dword [esp + 0x4c]
push eax
push ebx
call fcn.0043caa0
push 0
push 0x8e
call fcn.0043c980
add esp, 0x18
mov edx, dword [esp + 0x10]
cmp byte [edx + 0x91], 0
jne 0x45aa8e
cmp dword [esp + 0x74], 0
jne 0x45a75a
mov ecx, dword [esp + 0x18]
mov edx, 5
cmp dword [esp + 0x7c], edx
jne 0x45aad2
mov eax, dword [ecx + 8]
test eax, eax
je 0x45aad2
cmp byte [eax + 0x36], dl
je 0x45aad2
cmp dword [eax + 0x14], 0
je 0x45aac0
nop
mov ecx, dword [eax + 0x14]
cmp byte [ecx + 0x36], dl
je 0x45aac0
mov eax, ecx
cmp dword [eax + 0x14], 0
jne 0x45aab0
mov ecx, dword [eax + 0x14]
mov dword [ebp + 0x14], ecx
mov dword [eax + 0x14], ebp
mov dword [esp + 0x2c], ebp
jmp 0x45a769
mov edx, dword [ecx + 8]
mov dword [ebp + 0x14], edx
mov dword [ecx + 8], ebp
mov dword [esp + 0x2c], ebp
jmp 0x45a769
cmp eax, dword [esi + 0x114]
jb 0x45ab14
cmp eax, dword [esi + 0x118]
jae 0x45ab14
mov ecx, dword [esi + 0x110]
mov dword [eax], ecx
dec dword [esi + 0xfc]
mov dword [esi + 0x110], eax
mov eax, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
push eax
call fcn.00420a40
add esp, 4
mov eax, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret