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

Disassembly:
sub esp, 0x48
push ebx
mov ebx, dword [esp + 0x50]
push ebp
mov ebp, dword [ebx]
push esi
mov esi, dword [esp + 0x64]
push edi
xor edi, edi
cmp byte [ebp + 0x40], 0
mov dword [esp + 0x38], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], edi
jne 0x460f37
cmp byte [ebx + 0x1f2], 0
jne 0x460f37
push ebx
call fcn.00443560
add esp, 4
test eax, eax
jne 0x460f37
cmp esi, edi
je 0x460a23
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
lea eax, [esp + 0x24]
push eax
push ecx
push edx
push ebx
call fcn.0045dfc0
mov edi, eax
add esp, 0x10
test edi, edi
mov dword [esp + 0x18], edi
jl 0x460f37
cmp byte [ebp + 0x89], 0
jne 0x4609aa
push esi
push ebx
call fcn.0048a110
mov ecx, dword [esp + 0x6c]
add esp, 8
cmp dword [ecx + 4], 0
jne 0x4609aa
test eax, eax
je 0x4609aa
mov edx, dword [ebp + 0x10]
mov eax, dword [eax + 0x44]
cmp eax, dword [edx + 0x1c]
jne 0x4609aa
mov edi, 1
mov dword [esp + 0x18], edi
mov ecx, dword [esp + 0x24]
push ecx
push 0x529ab4
push edi
lea edx, [esp + 0x4c]
push ebx
push edx
call fcn.0048cf90
lea eax, [esp + 0x54]
push esi
push eax
call fcn.0048d0c0
add esi, 8
push esi
push 0
push ebx
call fcn.0045d950
mov esi, eax
add esp, 0x28
test esi, esi
mov dword [esp + 0x10], esi
je 0x460f37
cmp edi, 1
jne 0x460a0e
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0x1c]
cmp edx, dword [esi + 0x44]
je 0x460a0e
mov eax, dword [esi]
push eax
push str.cannot_create_a_TEMP_index_on_non_TEMP_table___s_
push ebx
call fcn.0045aec0
add esp, 0xc
jmp 0x460f37
test byte [esi + 0x2c], 0x20
je 0x460a48
push esi
call fcn.0045e0a0
add esp, 4
mov dword [esp + 0x1c], eax
jmp 0x460a48
mov esi, dword [ebx + 0x214]
test esi, esi
mov dword [esp + 0x10], esi
je 0x460f37
mov ecx, dword [esi + 0x44]
push ecx
push ebp
call fcn.00442960
mov edi, eax
add esp, 8
mov dword [esp + 0x18], edi
mov ecx, dword [ebp + 0x10]
mov edx, dword [esi]
mov eax, edi
shl eax, 4
push 7
add ecx, eax
push str.sqlite_
push edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ecx
call fcn.0045b020
add esp, 0xc
test eax, eax
jne 0x460a9f
mov eax, dword [esi]
push 9
add eax, 7
push str.altertab_
push eax
call fcn.0045b020
add esp, 0xc
test eax, eax
je 0x460a9f
mov ecx, dword [esi]
push ecx
push str.table__s_may_not_be_indexed
push ebx
call fcn.0045aec0
add esp, 0xc
jmp 0x460f37
cmp dword [esi + 0xc], 0
je 0x460ab8
push str.views_may_not_be_indexed
push ebx
call fcn.0045aec0
add esp, 8
jmp 0x460f37
test byte [esi + 0x2c], 0x10
je 0x460ad1
push str.virtual_tables_may_not_be_indexed
push ebx
call fcn.0045aec0
add esp, 8
jmp 0x460f37
cmp dword [esp + 0x24], 0
je 0x460b7b
mov edx, dword [esp + 0x24]
push edx
push ebp
call fcn.0045de80
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x2c], edi
je 0x460f37
push edi
push ebx
call fcn.0045e040
add esp, 8
test eax, eax
jne 0x460f37
cmp byte [ebp + 0x89], al
jne 0x460b35
push eax
push edi
push ebp
call fcn.0045d840
add esp, 0xc
test eax, eax
je 0x460b35
push edi
push str.there_is_already_a_table_named__s
push ebx
call fcn.0045aec0
add esp, 0xc
jmp 0x460f37
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
push ecx
push edi
push ebp
call fcn.0045d9a0
add esp, 0xc
test eax, eax
je 0x460bb1
cmp dword [esp + 0x80], 0
jne 0x460b68
push edi
push str.index__s_already_exists
push ebx
call fcn.0045aec0
add esp, 0xc
jmp 0x460f37
mov edx, dword [esp + 0x18]
push edx
push ebx
call fcn.0045f540
add esp, 8
jmp 0x460f37
mov eax, dword [esi + 8]
test eax, eax
mov ecx, 1
je 0x460b91
mov eax, dword [eax + 0x14]
add ecx, 1
test eax, eax
jne 0x460b87
mov eax, dword [esi]
push ecx
push eax
push str.sqlite_autoindex__s__d
push ebp
call fcn.0043f200
mov edi, eax
add esp, 0x10
test edi, edi
mov dword [esp + 0x2c], edi
je 0x460f37
cmp dword [esp + 0x18], 1
mov ecx, dword [esp + 0x30]
mov ebp, dword [ecx]
mov eax, str.sqlite_temp_master
je 0x460bc8
mov eax, str.sqlite_master
push ebp
push 0
push eax
push 0x12
push ebx
call fcn.00481160
add esp, 0x14
test eax, eax
jne 0x460f37
mov eax, 1
cmp dword [esp + 0x18], eax
jne 0x460bef
mov eax, 3
mov edx, dword [esi]
push ebp
push edx
push edi
push eax
push ebx
call fcn.00481160
add esp, 0x14
test eax, eax
jne 0x460f37
mov edi, dword [esp + 0x6c]
test edi, edi
jne 0x460c54
push edi
push edi
push ebx
call fcn.00479d00
mov edi, eax
add esp, 0xc
test edi, edi
mov dword [esp + 0x6c], edi
je 0x460f37
movsx eax, word [esi + 0x26]
mov ecx, dword [esi + 4]
lea eax, [eax + eax*2]
mov edx, dword [ecx + eax*8 - 0x18]
mov eax, dword [ebx]
push edx
push eax
call fcn.0043fed0
mov ecx, dword [edi + 8]
mov dword [ecx + 4], eax
mov edx, dword [edi + 8]
mov al, byte [esp + 0x84]
add esp, 8
mov byte [edx + 0xc], al
xor ebp, ebp
cmp dword [edi], ebp
jle 0x460c8c
xor esi, esi
lea esp, [esp]
mov ecx, dword [edi + 8]
mov eax, dword [esi + ecx]
test eax, eax
je 0x460c82
mov edx, dword [eax + 8]
push edx
call fcn.0045ae30
mov ecx, dword [esp + 0x2c]
lea edx, [ecx + eax + 1]
add esp, 4
mov dword [esp + 0x28], edx
add ebp, 1
add esi, 0x18
cmp ebp, dword [edi]
jl 0x460c60
mov eax, dword [esp + 0x2c]
push eax
call fcn.0045ae30
mov esi, eax
mov eax, dword [esp + 0x20]
add esp, 4
test eax, eax
je 0x460ca9
movzx eax, word [eax + 0x32]
jmp 0x460cae
mov eax, 1
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esi + edx + 1]
movzx edx, word [edi]
add dx, ax
mov eax, dword [esp + 0x18]
push ecx
push edx
push eax
call fcn.0045ee40
mov ecx, dword [esp + 0x24]
add esp, 0x10
cmp byte [ecx + 0x40], 0
mov ebp, eax
jne 0x460f28
mov eax, dword [esp + 0x20]
lea edx, [eax + esi + 1]
mov dword [ebp], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [ebp]
add esi, 1
push esi
push eax
push ecx
mov dword [esp + 0x2c], edx
call fcn.004f5c90
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x1c]
xor ecx, ecx
add esp, 0xc
test eax, eax
setne cl
mov dword [ebp + 0xc], edx
mov esi, dword [esp + 0x78]
xor edx, edx
mov byte [ebp + 0x36], al
mov eax, dword [ebp + 0x38]
and ecx, 1
add ecx, ecx
add ecx, ecx
add ecx, ecx
cmp dword [esp + 0x24], edx
sete dl
and eax, 0xfffffff4
and edx, 3
or ecx, edx
or ecx, eax
test esi, esi
mov eax, dword [esp + 0x34]
mov dword [ebp + 0x38], ecx
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x10]
mov ecx, dword [eax + edx + 0xc]
mov dword [ebp + 0x18], ecx
mov dx, word [edi]
mov word [ebp + 0x32], dx
je 0x460d7a
mov eax, dword [esp + 0x10]
push 0
push esi
push 0x10
push eax
push ebx
call fcn.0048c710
add esp, 0x14
mov dword [ebp + 0x24], esi
mov dword [esp + 0x78], 0
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 0xc]
cmp byte [edx + 0x4c], 4
sbb eax, eax
neg eax
sub eax, 1
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 8]
xor esi, esi
cmp dword [edi], esi
mov dword [esp + 0x28], eax
jle 0x460ebe
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 4]
mov ebx, dword [ecx + 4]
xor edi, edi
cmp word [ecx + 0x26], di
mov dword [esp + 0x30], eax
jle 0x460dea
jmp 0x460dc0
mov ecx, dword [ebx]
mov edx, dword [esp + 0x30]
push ecx
push edx
call fcn.0045afd0
add esp, 8
test eax, eax
je 0x460de6
mov eax, dword [esp + 0x10]
movsx ecx, word [eax + 0x26]
add edi, 1
add ebx, 0x18
cmp edi, ecx
jl 0x460dc0
mov ecx, dword [esp + 0x10]
movsx edx, word [ecx + 0x26]
cmp edi, edx
jge 0x460f06
mov eax, dword [ebp + 4]
mov edx, dword [esp + 0x28]
mov word [eax + esi*2], di
mov eax, dword [edx]
test eax, eax
je 0x460e44
mov eax, dword [eax + 8]
push eax
mov dword [esp + 0x34], eax
call fcn.0045ae30
mov ecx, dword [esp + 0x24]
mov ebx, eax
mov eax, dword [esp + 0x34]
add ebx, 1
push ebx
push eax
push ecx
call fcn.004f5c90
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x40], eax
add esp, 0x10
add eax, ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x20], eax
jmp 0x460e57
mov eax, dword [ecx + 4]
lea edx, [edi + edi*2]
mov ebx, dword [eax + edx*8 + 0x10]
test ebx, ebx
jne 0x460e57
mov ebx, str.BINARY
mov edx, dword [esp + 0x14]
cmp byte [edx + 0x89], 0
jne 0x460e7e
mov eax, dword [esp + 0x5c]
push ebx
push eax
call fcn.0045e540
add esp, 8
test eax, eax
je 0x460f28
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 0x20]
mov eax, dword [esp + 0x28]
mov dword [edx + esi*4], ebx
mov dl, byte [eax + 0xc]
and dl, byte [esp + 0x3c]
mov eax, dword [ebp + 0x1c]
mov byte [esi + eax], dl
mov eax, dword [ecx + 4]
lea edx, [edi + edi*2]
cmp byte [eax + edx*8 + 0x14], 0
jne 0x460ea6
and dword [ebp + 0x38], 0xfffffff7
mov edx, dword [esp + 0x6c]
add dword [esp + 0x28], 0x18
add esi, 1
cmp esi, dword [edx]
jl 0x460da5
mov ebx, dword [esp + 0x5c]
cmp dword [esp + 0x1c], 0
je 0x460fb1
mov eax, dword [esp + 0x1c]
xor edi, edi
cmp word [eax + 0x32], di
jbe 0x460fc4
lea esp, [esp]
mov ecx, dword [eax + 4]
movsx edx, word [ecx + edi*2]
movzx eax, word [ebp + 0x32]
mov ecx, dword [ebp + 4]
call fcn.0045e9a0
test eax, eax
je 0x460f76
add word [ebp + 0x34], 0xffff
mov eax, dword [esp + 0x1c]
jmp 0x460f9c
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov esi, dword [esp + 0x5c]
push eax
push edx
push str.table__s_has_no_column_named__s
push esi
call fcn.0045aec0
add esp, 0x10
mov byte [esi + 0x11], 1
test ebp, ebp
je 0x460f37
mov esi, dword [esp + 0x14]
mov edi, ebp
call fcn.0045da30
mov eax, dword [esp + 0x78]
mov esi, dword [esp + 0x14]
push eax
push esi
call fcn.00479930
mov ecx, dword [esp + 0x74]
push ecx
push esi
call fcn.00478810
mov edx, dword [esp + 0x78]
push edx
push esi
call fcn.0045f1a0
mov eax, dword [esp + 0x44]
push eax
push esi
call fcn.0043f760
mov eax, dword [esp + 0x58]
add esp, 0x20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret
mov eax, dword [ebp + 4]
mov word [eax + esi*2], dx
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 0x20]
mov ecx, dword [ebp + 0x20]
mov edx, dword [edx + edi*4]
mov dword [ecx + esi*4], edx
mov ecx, dword [eax + 0x1c]
mov edx, dword [ebp + 0x1c]
mov cl, byte [edi + ecx]
mov byte [esi + edx], cl
add esi, 1
movzx edx, word [eax + 0x32]
add edi, 1
cmp edi, edx
jl 0x460ee0
mov ebx, dword [esp + 0x5c]
jmp 0x460fc4
mov eax, dword [ebp + 4]
mov word [eax + esi*2], 0xffff
mov ecx, dword [ebp + 0x20]
mov dword [ecx + esi*4], str.BINARY
push ebp
call fcn.0045eec0
add esp, 4
cmp dword [ebx + 0x214], 0
jne 0x460fdd
mov edi, ebp
call fcn.0045e940
mov edx, dword [esp + 0x10]
cmp edx, dword [ebx + 0x214]
jne 0x46104b
mov eax, edx
mov esi, dword [eax + 8]
test esi, esi
je 0x46104b
movzx eax, word [esi + 0x32]
cmp ax, word [ebp + 0x32]
jne 0x461044
xor edi, edi
test ax, ax
jbe 0x46103c
mov ecx, dword [esi + 4]
mov edx, dword [ebp + 4]
mov ax, word [ecx + edi*2]
cmp ax, word [edx + edi*2]
jne 0x46103c
mov ecx, dword [esi + 0x20]
mov eax, dword [ecx + edi*4]
mov edx, dword [ebp + 0x20]
mov ecx, dword [edx + edi*4]
cmp eax, ecx
je 0x461031
push ecx
push eax
call fcn.0045afd0
add esp, 8
test eax, eax
jne 0x46103c
movzx eax, word [esi + 0x32]
add edi, 1
cmp edi, eax
jl 0x461003
movzx ecx, word [esi + 0x32]
cmp edi, ecx
je 0x46108e
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x460ff2
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x89], 0
je 0x4610ed
mov ecx, dword [ebp]
push ebp
push ecx
call fcn.0045ae30
mov edx, dword [ebp]
add esp, 4
push eax
mov eax, dword [ebp + 0x18]
push edx
add eax, 0x18
push eax
call fcn.0046cf90
add esp, 0x10
test eax, eax
je 0x4610ca
mov ecx, dword [esp + 0x14]
mov byte [ecx + 0x40], 1
jmp 0x460f28
mov al, byte [esi + 0x36]
mov cl, byte [ebp + 0x36]
cmp al, cl
je 0x460f28
cmp al, 0xa
je 0x4610b5
cmp cl, 0xa
je 0x4610b5
push 0
push str.conflicting_ON_CONFLICT_clauses_specified
push ebx
call fcn.0045aec0
add esp, 0xc
cmp byte [esi + 0x36], 0xa
jne 0x460f28
mov dl, byte [ebp + 0x36]
mov byte [esi + 0x36], dl
jmp 0x460f28
mov eax, dword [esp + 0x14]
or dword [eax + 0x18], 2
cmp dword [esp + 0x68], 0
je 0x461230
mov edx, eax
mov eax, dword [edx + 0x84]
mov dword [ebp + 0x2c], eax
jmp 0x461230
cmp dword [ebx + 0x44], 0
jne 0x461230
mov ecx, dword [esp + 0x10]
test byte [ecx + 0x2c], 0x20
je 0x46110c
cmp dword [esp + 0x68], 0
je 0x461230
add dword [ebx + 0x4c], 1
mov edi, dword [ebx + 0x4c]
push ebx
mov dword [esp + 0x60], edi
call fcn.00464060
add esp, 4
test eax, eax
mov dword [esp + 0x30], eax
je 0x460f28
mov esi, dword [esp + 0x18]
push esi
push 1
push ebx
call fcn.0045f640
mov edx, dword [esp + 0x3c]
push edi
push esi
push 0x70
push edx
call fcn.00457ef0
add esp, 0x1c
cmp dword [esp + 0x74], 0
je 0x461199
mov eax, dword [ebx + 0x22c]
add eax, dword [ebx + 0x228]
mov ecx, dword [esp + 0x24]
sub eax, dword [ecx]
mov ecx, dword [ecx]
cmp byte [eax + ecx - 1], 0x3b
jne 0x46116f
sub eax, 1
cmp dword [esp + 0x70], 0
mov edx, 0x5476a1
je 0x461180
mov edx, str._UNIQUE
mov edi, dword [esp + 0x14]
push ecx
push eax
push edx
push str.CREATE_s_INDEX__.s
push edi
call fcn.0043f200
add esp, 0x14
mov esi, eax
jmp 0x46119f
mov edi, dword [esp + 0x14]
xor esi, esi
cmp dword [esp + 0x18], 1
mov eax, str.sqlite_temp_master
je 0x4611b0
mov eax, str.sqlite_master
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x10]
push esi
push ecx
mov ecx, dword [edx]
mov edx, dword [ebp]
push ecx
mov ecx, dword [esp + 0x40]
push edx
push eax
mov eax, dword [edi + 0x10]
mov edx, dword [ecx + eax]
push edx
push str.INSERT_INTO__Q._s_VALUES_index__Q__Q__d__Q__
push ebx
call fcn.0045d780
push esi
push edi
call fcn.0043f760
add esp, 0x28
cmp dword [esp + 0x68], 0
je 0x461230
mov eax, dword [esp + 0x5c]
push eax
push ebp
mov edi, ebx
call fcn.00460650
mov esi, dword [esp + 0x20]
push esi
push ebx
call fcn.0045e5a0
mov ecx, dword [ebp]
mov edx, dword [esp + 0x24]
push ecx
push str.name_q_AND_typeindex
push edx
call fcn.0043f200
push eax
push esi
mov esi, dword [esp + 0x54]
push esi
call fcn.0045a6a0
push 0
push 0x86
push esi
call fcn.00457e90
add esp, 0x34
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x89], 0
jne 0x461248
cmp dword [esp + 0x68], 0
jne 0x460f28
mov ecx, dword [esp + 0x10]
mov edx, 5
cmp dword [esp + 0x70], edx
jne 0x461292
mov eax, dword [ecx + 8]
test eax, eax
je 0x461292
cmp byte [eax + 0x36], dl
je 0x461292
cmp dword [eax + 0x14], 0
je 0x461280
lea esp, [esp]
mov ecx, dword [eax + 0x14]
cmp byte [ecx + 0x36], dl
je 0x461280
mov eax, ecx
cmp dword [eax + 0x14], 0
jne 0x461270
mov ecx, dword [eax + 0x14]
mov dword [ebp + 0x14], ecx
mov dword [eax + 0x14], ebp
mov dword [esp + 0x38], ebp
jmp 0x460f37
mov edx, dword [ecx + 8]
mov dword [ebp + 0x14], edx
mov dword [ecx + 8], ebp
mov dword [esp + 0x38], ebp
jmp 0x460f37