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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
push esi
push edi
mov edi, ecx
mov eax, edx
mov dword [esp + 0x10], eax
mov ecx, str.sqlite_temp_master
mov dword [esp + 0x20], edi
mov esi, dword [edi]
mov dword [esp + 0x14], esi
cmp byte [esi + 0xb1], 0
je 0x456ad3
cmp dword [esi + 0xac], 1
jne 0x456ad3
movzx ebx, byte [esi + 0xb0]
mov eax, str.sqlite_master
cmp ebx, 1
cmove eax, ecx
mov ecx, eax
mov dword [esp + 0x28], eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x456a90
sub ecx, edx
push 0
lea eax, [ecx + 1]
mov ecx, esi
push eax
mov dword [esp + 0x34], eax
call fcn.00404a90
mov esi, eax
add esp, 8
test esi, esi
je 0x456ac4
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push esi
call fcn.004c2130
add esp, 0xc
lea edx, [edi + 0xcc]
mov dword [esp + 0x18], edx
jmp 0x456b9d
lea ecx, [esp + 0x2c]
push ecx
push dword [ebp + 8]
mov ecx, edi
call fcn.00456580
mov ebx, eax
add esp, 8
test ebx, ebx
js 0x45741b
cmp dword [ebp + 0xc], 0
je 0x456b1d
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0
jbe 0x456b18
cmp ebx, 1
je 0x456b18
push str.temporary_table_name_must_be_unqualified
push edi
call fcn.00407e90
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, 1
mov eax, dword [esp + 0x2c]
mov ecx, esi
mov edx, eax
mov dword [esp + 0x10], eax
call fcn.00456420
mov cl, byte [edi + 0xcc]
mov esi, eax
lea eax, [edi + 0xcc]
mov dword [esp + 0x18], eax
cmp cl, 2
jb 0x456b9d
mov dword [esp + 0x18], eax
cmp cl, 3
je 0x456b9d
mov ecx, dword [edi]
push 0
push 0x10
test ecx, ecx
je 0x456b5f
call fcn.00404a90
jmp 0x456b64
call fcn.004043b0
mov edx, eax
add esp, 8
test edx, edx
je 0x456b93
mov ecx, dword [esp + 0x10]
xorps xmm0, xmm0
movups xmmword [edx], xmm0
mov dword [edx], esi
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edx + 4], eax
mov dword [edx + 8], ecx
mov eax, dword [edi + 0x108]
mov dword [edx + 0xc], eax
mov dword [edi + 0x108], edx
lea eax, [edi + 0xcc]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edi + 0xb8], eax
mov dword [edi + 0xbc], ecx
test esi, esi
je 0x45741b
cmp dword [ebp + 0x10], 0
mov ecx, str.table
mov eax, str.view
mov edx, esi
cmove eax, ecx
mov ecx, edi
push esi
push eax
call fcn.004566d0
add esp, 8
test eax, eax
jne 0x45740c
mov eax, 1
mov edx, ebx
mov ecx, eax
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x14]
cmp byte [eax + 0xb0], cl
mov eax, dword [eax + 0x10]
cmovne ecx, dword [ebp + 0xc]
shl edx, 4
cmp ecx, 1
mov dword [esp + 0x28], ecx
mov ecx, str.sqlite_temp_master
mov dword [esp + 0x1c], edx
mov eax, dword [edx + eax]
mov edx, 0x12
push eax
mov dword [esp + 0x30], eax
mov eax, str.sqlite_master
cmove eax, ecx
mov ecx, edi
push 0
push eax
call fcn.00454a20
add esp, 0xc
test eax, eax
jne 0x45740c
cmp dword [ebp + 0x14], eax
jne 0x456c68
push dword [esp + 0x2c]
mov ecx, dword [ebp + 0x10]
push eax
mov eax, dword [esp + 0x30]
push esi
movzx edx, byte [eax + ecx*2 + 0x4e33e4]
mov ecx, edi
call fcn.00454a20
add esp, 0xc
test eax, eax
jne 0x45740c
mov eax, dword [esp + 0x18]
cmp byte [eax], 0
jne 0x456d2b
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
mov eax, dword [ecx + eax]
mov ecx, edi
mov dword [esp + 0x18], eax
call fcn.00477790
test eax, eax
jne 0x45740c
push dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov edx, esi
call fcn.00455650
add esp, 4
test eax, eax
je 0x456d01
cmp dword [ebp + 0x18], 0
jne 0x456cca
mov ecx, dword [esp + 0x10]
push ecx
push str.table__T_already_exists
push edi
call fcn.00407e90
add esp, 0xc
jmp 0x45740c
mov eax, dword [edi + 0x74]
mov edx, edi
test eax, eax
mov ecx, ebx
cmovne edx, eax
shl dword [esp + 0xc], cl
mov eax, dword [edx + 0x54]
test dword [esp + 0xc], eax
jne 0x456cf5
bts eax, ebx
mov dword [edx + 0x54], eax
cmp ebx, 1
jne 0x456cf5
mov ecx, edx
call fcn.0045e3b0
mov ecx, edi
call fcn.004569a0
jmp 0x45740c
push dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov edx, esi
call fcn.00455bf0
add esp, 4
test eax, eax
je 0x456d2b
push esi
push str.there_is_already_an_index_named__s
push edi
call fcn.00407e90
add esp, 0xc
jmp 0x45740c
mov ecx, dword [esp + 0x14]
push 0
push 0x40
call fcn.00404a90
add esp, 8
mov dword [esp + 0x2c], eax
test eax, eax
je 0x457402
push 0x40
push 0
push eax
call fcn.004c0cc0
mov edx, dword [esp + 0x38]
or eax, 0xffffffff
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov dword [edx], esi
mov esi, dword [esp + 0x1c]
mov word [edx + 0x20], ax
mov eax, dword [ecx + 0x10]
mov eax, dword [esi + eax + 0xc]
mov dword [edx + 0x3c], eax
mov eax, 0xc8
mov dword [edx + 0x18], 1
mov word [edx + 0x26], ax
mov dword [edi + 0xe8], edx
cmp byte [ecx + 0xb1], 0
jne 0x45741b
mov esi, dword [edi + 8]
mov dword [esp + 0x18], esi
test esi, esi
je 0x456dac
lea ecx, [edi + 0x74]
mov dword [esp + 0x2c], ecx
mov eax, ecx
jmp 0x456dda
cmp dword [edi + 0x74], 0
jne 0x456dbe
mov eax, dword [edi]
test byte [eax + 0x4c], 8
jne 0x456dbe
mov byte [edi + 0x17], 1
mov ecx, edi
call fcn.0042a700
mov esi, eax
lea eax, [edi + 0x74]
mov dword [esp + 0x18], esi
mov dword [esp + 0x2c], eax
test esi, esi
je 0x45741b
mov eax, dword [eax]
mov edx, edi
test eax, eax
mov ecx, ebx
cmovne edx, eax
mov eax, dword [esp + 0xc]
shl eax, cl
mov dword [esp + 0x24], edx
mov ecx, dword [edx + 0x54]
test ecx, eax
jne 0x456e0c
bts ecx, ebx
mov dword [edx + 0x54], ecx
cmp ebx, 1
jne 0x456e0c
mov ecx, edx
call fcn.0045e3b0
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0x50]
or byte [edx + 0x14], 1
bts eax, ebx
cmp dword [ebp + 0x14], 0
mov dword [edx + 0x50], eax
je 0x456e71
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x456e3e
push 0
push 0
push 0
mov edx, 0xa8
mov ecx, esi
call fcn.0042a9a0
add esp, 0xc
jmp 0x456e71
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0xa8
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x2c]
inc eax
mov dword [edi + 0x58], eax
mov dword [esp + 0x10], eax
inc eax
mov dword [edi + 0x5c], eax
lea edx, [eax + 1]
mov dword [edi + 0x2c], edx
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x456eaa
push 2
push edx
push ebx
mov edx, 0x61
mov ecx, esi
call fcn.0042a9a0
lea eax, [esi + 0x70]
add esp, 0xc
mov dword [esp + 0xc], eax
jmp 0x456edb
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
lea eax, [esi + 0x70]
mov dword [esp + 0xc], eax
mov eax, dword [eax]
mov dword [eax + ecx*4], 0x61
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 2
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0xa4]
bts eax, ebx
mov dword [esi + 0xa4], eax
cmp ebx, 1
je 0x456f11
mov eax, dword [esi]
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + ecx + 4]
cmp byte [eax + 9], 0
je 0x456f11
mov eax, dword [esi + 0xa8]
bts eax, ebx
mov dword [esi + 0xa8], eax
mov edx, dword [esi + 0x74]
mov dword [esp + 0x28], edx
cmp dword [esi + 0x78], edx
jg 0x456f3e
mov eax, dword [esp + 0x10]
mov edx, 0x12
push 0
add eax, 2
mov ecx, esi
push 0
push eax
call fcn.0042a9a0
add esp, 0xc
mov dword [esp + 0x28], eax
jmp 0x456f7f
mov edi, dword [esp + 0x20]
lea ecx, [edx + edx*4]
lea eax, [edx + 1]
mov edx, dword [esp + 0xc]
mov dword [esi + 0x74], eax
mov esi, dword [esp + 0x18]
mov eax, dword [edx]
mov edx, dword [esp + 0x10]
add edx, 2
mov dword [eax + ecx*4], 0x12
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
mov eax, dword [eax + 0x20]
and eax, 2
or eax, 0
mov eax, 1
jne 0x456f9c
mov eax, 4
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x24], eax
cmp dword [esi + 0x78], ecx
jg 0x456fbd
push eax
push 2
push ebx
mov edx, 0x62
mov ecx, esi
call fcn.0042a9a0
add esp, 0xc
jmp 0x456feb
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx]
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x62
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], 2
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x74]
mov edx, dword [esp + 0xc]
movzx eax, byte [eax + 0x50]
mov dword [esp + 0x24], eax
cmp dword [esi + 0x78], ecx
jg 0x457018
push eax
push 5
push ebx
mov edx, 0x62
mov ecx, esi
call fcn.0042a9a0
add esp, 0xc
jmp 0x457046
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx]
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x62
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], 5
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x28]
mov eax, dword [esi + 0x74]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x24], eax
test ecx, ecx
jns 0x45705c
lea ecx, [eax - 1]
mov eax, dword [esi]
cmp byte [eax + 0x53], 0
je 0x45706b
mov eax, 0x4edf68
jmp 0x457073
mov eax, dword [edx]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
cmp dword [ebp + 0x10], 0
mov ecx, dword [esp + 0x24]
mov dword [eax + 8], ecx
jne 0x4570f6
cmp dword [ebp + 0x14], 0
jne 0x4570f6
mov edx, dword [esi + 0x74]
cmp dword [esi + 0x78], edx
jg 0x4570b3
mov eax, dword [esp + 0x10]
mov edx, 0x91
push 1
inc eax
mov ecx, esi
push eax
push ebx
call fcn.0042a9a0
mov edx, eax
add esp, 0xc
mov dword [edi + 0x84], edx
jmp 0x457150
mov edi, dword [esp + 0x10]
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esp + 0xc]
inc edi
mov esi, dword [esp + 0x18]
mov eax, dword [eax]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x20]
mov dword [eax + ecx*4], 0x91
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 0xc], 1
mov dword [eax + ecx*4 + 0x10], 0
mov dword [edi + 0x84], edx
jmp 0x457150
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x457119
mov eax, dword [esp + 0x10]
mov edx, 0x46
push 0
inc eax
mov ecx, esi
push eax
push 0
call fcn.0042a9a0
add esp, 0xc
jmp 0x457150
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx]
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
inc edx
mov dword [eax + ecx*4], 0x46
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 8]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x45717b
mov eax, dword [esp + 0x2c]
cmp dword [eax], 0
jne 0x457170
mov eax, dword [edi]
test byte [eax + 0x4c], 8
jne 0x457170
mov byte [edi + 0x17], 1
mov ecx, edi
call fcn.0042a700
mov dword [esp + 0x14], eax
cmp ebx, 1
je 0x4571a8
mov ecx, dword [edi]
mov eax, dword [esp + 0x1c]
mov ecx, dword [ecx + 0x10]
mov ecx, dword [ecx + eax + 4]
cmp byte [ecx + 9], 0
je 0x4571a8
push str.sqlite_master
push 1
push 1
mov edx, ebx
mov ecx, edi
call fcn.00454ac0
add esp, 0xc
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0x74]
mov dword [esp + 0x2c], ecx
cmp dword [edx + 0x78], ecx
jg 0x4571d6
mov ecx, dword [esp + 0x14]
mov edx, 0x65
push ebx
push 1
push 0
call fcn.0042a9a0
mov edx, dword [esp + 0x20]
add esp, 0xc
mov ecx, eax
jmp 0x45720d
mov esi, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [edx + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + 0x70]
mov dword [eax + ecx*4], 0x65
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x2c]
mov eax, dword [edx]
cmp byte [eax + 0x53], 0
jne 0x457228
mov eax, dword [edx + 0x70]
lea ecx, [ecx + ecx*4]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], 5
cmp dword [edi + 0x28], 0
jne 0x457235
mov dword [edi + 0x28], 1
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x45725a
push 0
push dword [esp + 0x14]
mov edx, 0x7d
mov ecx, esi
push 0
call fcn.0042a9a0
mov ebx, dword [esp + 0x18]
add esp, 0xc
jmp 0x457290
mov ebx, dword [esp + 0xc]
lea eax, [ecx + 1]
mov edx, dword [esp + 0x10]
lea ecx, [ecx + ecx*4]
mov dword [esi + 0x74], eax
mov eax, dword [ebx]
mov dword [eax + ecx*4], 0x7d
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edi, dword [esp + 0x10]
mov edx, dword [esi + 0x74]
add edi, 2
cmp dword [esi + 0x78], edx
jg 0x4572b7
push 0
push edi
push 6
mov edx, 0x4b
mov ecx, esi
call fcn.0042a9a0
add esp, 0xc
mov edx, eax
jmp 0x4572ed
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx]
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0xc]
mov dword [eax + ecx*4], 0x4b
mov dword [eax + ecx*4 + 4], 6
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi]
cmp byte [ecx + 0x53], 0
je 0x457307
push 0x4e1d10
or edx, 0xffffffff
call fcn.0042b470
add esp, 4
jmp 0x45733e
test edx, edx
jns 0x45730f
mov edx, dword [esi + 0x74]
dec edx
mov eax, dword [ebx]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x457333
push 0xffffffffffffffff
push 0x4e1d10
mov edx, eax
mov ecx, esi
call fcn.0042b6e0
add esp, 8
jmp 0x45733e
mov dword [eax + 0x10], 0x4e1d10
mov byte [eax + 1], 0xff
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x45735e
push dword [esp + 0x10]
mov edx, 0x7e
mov ecx, esi
push edi
push 0
call fcn.0042a9a0
add esp, 0xc
jmp 0x45738d
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x7e
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x74]
test eax, eax
jle 0x4573a4
lea ecx, [eax + eax*4]
mov edx, 8
mov eax, dword [esi + 0x70]
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4573c8
push 0
push 0
push 0
mov edx, 0x78
mov ecx, esi
call fcn.0042a9a0
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x78
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
inc dword [edi + 0x24]
mov dword [edi + 0xc], 7
mov ecx, dword [esp + 0x14]
mov edx, esi
mov byte [edi + 0x11], 1
call fcn.00404680
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret