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

Disassembly:
sub esp, 0x44
push ebx
push ebp
mov ebp, dword [esp + 0x50]
push esi
xor ebx, ebx
push edi
mov edi, dword [ebp]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x14], edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2c], ebx
cmp byte [edi + 0x1e], bl
jne 0x4a4294
cmp byte [ebp + 0x1ec], bl
jne 0x4a4294
cmp byte [edi + 0x78], bl
jne 0x4a3a67
lea eax, [ebp + 8]
push eax
mov esi, edi
call fcn.004b0f70
add esp, 4
cmp eax, ebx
je 0x4a3a67
inc dword [ebp + 0x40]
mov dword [ebp + 4], eax
jmp 0x4a4294
cmp dword [esp + 0x64], ebx
je 0x4a3b26
mov esi, dword [esp + 0x60]
mov ebx, dword [esp + 0x5c]
push ebp
lea ecx, [esp + 0x24]
mov eax, esi
call fcn.004a14b0
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
jl 0x4a4294
cmp byte [edi + 0x78], 0
jne 0x4a3ac4
mov eax, dword [esp + 0x64]
push ebp
call fcn.004a5f70
add esp, 4
cmp dword [esi + 4], 0
jne 0x4a3ac4
test eax, eax
je 0x4a3ac4
mov ecx, dword [edi + 8]
mov edx, dword [eax + 0x44]
cmp edx, dword [ecx + 0x1c]
jne 0x4a3ac4
mov dword [esp + 0x1c], 1
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
push str.index
mov esi, ebp
lea ecx, [esp + 0x48]
call fcn.0049fd00
add esp, 8
test eax, eax
je 0x4a3af6
mov ecx, dword [esp + 0x64]
push ecx
lea edx, [esp + 0x44]
push edx
call fcn.0049fd30
add esp, 8
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0xc]
mov ebx, dword [eax + 8]
push ecx
push 0
mov eax, ebp
call fcn.004a0940
mov ebx, eax
add esp, 8
mov dword [esp + 0x18], eax
test ebx, ebx
je 0x4a4294
cmp byte [edi + 0x1e], 0
je 0x4a3b46
jmp 0x4a4294
mov ebx, dword [ebp + 0x1d4]
mov dword [esp + 0x18], ebx
test ebx, ebx
je 0x4a4294
mov esi, dword [ebx + 0x44]
mov ecx, edi
call fcn.004b1120
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [edi + 8]
mov esi, dword [ebx + 4]
shl eax, 4
add ecx, eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x28], ecx
mov eax, 7
mov edx, str.sqlite_
mov ecx, esi
call fcn.0047b000
test eax, eax
jne 0x4a3bb5
mov eax, 9
mov ecx, str.altertab_
lea edx, [esi + 7]
nop
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x4a3b9a
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x4a3b80
mov al, byte [ecx]
cmp al, byte [edx]
je 0x4a3bb2
mov ecx, dword [ebx + 4]
push ecx
push str.table__s_may_not_be_indexed
mov edi, ebp
call fcn.0047ae50
add esp, 8
jmp 0x4a4294
mov esi, dword [ebx + 4]
cmp dword [ebx + 0x1c], 0
je 0x4a3bcc
push str.views_may_not_be_indexed
mov edi, ebp
call fcn.0047ae50
jmp 0x4a4291
test byte [ebx + 0x22], 0x10
je 0x4a3be3
push str.virtual_tables_may_not_be_indexed
mov edi, ebp
call fcn.0047ae50
jmp 0x4a4291
cmp dword [esp + 0x20], 0
je 0x4a3c77
mov eax, dword [esp + 0x20]
push edi
call fcn.004a12a0
mov esi, eax
add esp, 4
mov dword [esp + 0x24], esi
test esi, esi
je 0x4a4294
mov eax, ebp
call fcn.004a1510
test eax, eax
jne 0x4a4294
cmp byte [edi + 0x78], al
jne 0x4a3c41
push eax
push esi
push edi
call fcn.004a0840
add esp, 0xc
test eax, eax
je 0x4a3c41
push esi
push str.there_is_already_a_table_named__s
mov edi, ebp
call fcn.0047ae50
add esp, 8
jmp 0x4a4294
mov edx, dword [esp + 0x28]
mov eax, dword [edx]
push eax
push esi
mov ecx, edi
call fcn.004a09d0
add esp, 8
test eax, eax
je 0x4a3caa
cmp dword [esp + 0x7c], 0
jne 0x4a4294
push esi
push str.index__s_already_exists
mov edi, ebp
call fcn.0047ae50
add esp, 8
jmp 0x4a4294
mov eax, dword [ebx + 0x14]
mov ecx, 1
test eax, eax
je 0x4a3c8b
mov eax, dword [eax + 0x20]
inc ecx
test eax, eax
jne 0x4a3c83
push ecx
push esi
push str.sqlite_autoindex__s__d
mov esi, edi
call fcn.0047a300
mov esi, eax
add esp, 0xc
mov dword [esp + 0x24], esi
test esi, esi
je 0x4a4294
cmp dword [esp + 0x1c], 1
mov ecx, dword [esp + 0x28]
mov edi, dword [ecx]
mov eax, str.sqlite_temp_master
je 0x4a3cc1
mov eax, str.sqlite_master
push edi
push 0
push eax
push 0x12
mov eax, ebp
call fcn.004a01f0
add esp, 0x10
test eax, eax
jne 0x4a4294
mov eax, 1
cmp dword [esp + 0x1c], eax
jne 0x4a3ce9
mov eax, 3
mov edx, dword [ebx + 4]
push edi
push edx
push esi
push eax
mov eax, ebp
call fcn.004a01f0
add esp, 0x10
test eax, eax
jne 0x4a4294
mov edi, dword [esp + 0x68]
test edi, edi
jne 0x4a3d59
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x10]
lea eax, [eax + eax*2]
mov ecx, dword [ecx + eax*8 - 0x18]
mov dword [esp + 0x34], ecx
call fcn.0047ad90
mov dword [esp + 0x38], eax
xor ecx, ecx
mov eax, ebp
call fcn.00499b60
mov edi, eax
mov dword [esp + 0x68], edi
test edi, edi
je 0x4a4294
push 0
push ebp
lea edx, [esp + 0x3c]
mov ecx, edi
call fcn.00499c50
mov edx, dword [edi + 0xc]
mov al, byte [esp + 0x80]
add esp, 8
mov byte [edx + 0xc], al
mov esi, dword [edi]
test esi, esi
jle 0x4a3d8c
mov edi, dword [edi + 0xc]
mov ebx, dword [esp + 0x2c]
mov edx, esi
mov eax, dword [edi]
test eax, eax
je 0x4a3d80
mov eax, dword [eax + 0x14]
test eax, eax
je 0x4a3d80
mov ecx, dword [eax]
call fcn.0047ad90
lea ebx, [ebx + eax + 1]
add edi, 0x14
sub edx, 1
jne 0x4a3d68
mov dword [esp + 0x2c], ebx
mov ecx, dword [esp + 0x24]
call fcn.0047ad90
mov edx, dword [esp + 0x2c]
mov ecx, esi
imul ecx, ecx, 0xd
mov ebx, eax
mov eax, dword [esp + 0x14]
add ecx, ebx
lea edi, [ecx + edx + 0x35]
call fcn.00479050
mov ebp, eax
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x1e], 0
jne 0x4a3fc2
mov edx, dword [esp + 0x24]
lea eax, [ebp + 0x30]
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.004cf8d0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x74]
mov dword [ebp + 0x10], eax
mov edx, dword [ecx]
mov al, byte [esp + 0x78]
add esp, 0xc
cmp dword [esp + 0x20], 0
mov dword [ebp + 4], edx
mov edx, dword [esp + 0x14]
sete cl
mov byte [ebp + 0x18], al
mov byte [ebp + 0x19], cl
mov eax, dword [edx + 8]
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx + eax + 0xc]
mov eax, dword [esp + 0x28]
mov dword [ebp + 0x24], edx
mov ecx, dword [eax + 0xc]
cmp byte [ecx + 0x38], 4
mov eax, dword [esp + 0x68]
mov edx, dword [eax + 0xc]
sbb ebx, ebx
neg ebx
xor edi, edi
dec ebx
cmp dword [eax], edi
mov dword [esp + 0x2c], edx
jle 0x4a3f4f
mov edi, edi
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 4]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0x10]
xor esi, esi
cmp dword [ecx + 0xc], esi
mov dword [esp + 0x28], edx
jle 0x4a3e96
lea ecx, [ecx]
mov eax, dword [esp + 0x28]
mov edx, dword [eax]
mov ecx, dword [esp + 0x34]
call fcn.0047afb0
test eax, eax
je 0x4a3e92
mov ecx, dword [esp + 0x18]
add dword [esp + 0x28], 0x18
inc esi
cmp esi, dword [ecx + 0xc]
jl 0x4a3e70
mov ecx, dword [esp + 0x18]
cmp esi, dword [ecx + 0xc]
jge 0x4a3fa4
mov edx, dword [ebp + 8]
mov eax, dword [esp + 0x2c]
mov dword [edx + edi*4], esi
mov eax, dword [eax]
test eax, eax
je 0x4a3edf
mov eax, dword [eax + 0x14]
test eax, eax
je 0x4a3edf
mov ecx, dword [eax]
call fcn.0047ad90
mov esi, eax
inc esi
push esi
push ecx
mov ecx, dword [esp + 0x38]
push ecx
call fcn.004cf8d0
mov eax, dword [esp + 0x3c]
add esp, 0xc
mov dword [esp + 0x28], eax
add eax, esi
mov dword [esp + 0x30], eax
jmp 0x4a3efe
mov eax, dword [ecx + 0x10]
lea edx, [esi + esi*2]
mov eax, dword [eax + edx*8 + 0x10]
mov dword [esp + 0x28], eax
test eax, eax
jne 0x4a3efe
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x2c]
mov eax, dword [edx]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x14]
cmp byte [ecx + 0x78], 0
jne 0x4a3f22
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x58]
push edx
push eax
call fcn.004a1ff0
add esp, 8
test eax, eax
je 0x4a3fc2
mov ecx, dword [ebp + 0x2c]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov dword [ecx + edi*4], edx
mov cl, byte [eax + 0xc]
mov edx, dword [ebp + 0x28]
add eax, 0x14
and cl, bl
mov byte [edi + edx], cl
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x68]
inc edi
cmp edi, dword [eax]
jl 0x4a3e50
mov edx, ebp
call fcn.004a4300
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x58]
cmp eax, dword [esi + 0x1d4]
jne 0x4a4051
mov ebx, dword [eax + 0x14]
test ebx, ebx
je 0x4a4051
jmp 0x4a3f80
mov eax, dword [ebx + 4]
cmp eax, dword [ebp + 4]
jne 0x4a4046
xor esi, esi
test eax, eax
jle 0x4a403d
mov edi, dword [ebp + 8]
mov ecx, dword [ebx + 8]
sub ecx, edi
mov dword [esp + 0x34], ecx
jmp 0x4a4014
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 4]
mov edi, dword [esp + 0x58]
push ecx
push eax
push str.table__s_has_no_column_named__s
call fcn.0047ae50
add esp, 0xc
test ebp, ebp
je 0x4a4294
mov eax, dword [ebp + 0x1c]
push eax
call fcn.00478e00
mov eax, dword [esp + 0x18]
add esp, 4
cmp ebp, dword [eax + 0xe8]
jb 0x4a428b
cmp ebp, dword [eax + 0xec]
jae 0x4a428b
mov ecx, dword [eax + 0xe4]
mov dword [ebp], ecx
dec dword [eax + 0xdc]
mov dword [eax + 0xe4], ebp
jmp 0x4a4294
mov ecx, dword [esp + 0x34]
lea eax, [edi + esi*4]
mov ecx, dword [ecx + eax]
cmp ecx, dword [eax]
jne 0x4a403d
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 0x4a4037
call fcn.0047afb0
test eax, eax
jne 0x4a403d
inc esi
cmp esi, dword [ebx + 4]
jl 0x4a4010
cmp esi, dword [ebx + 4]
je 0x4a4084
mov esi, dword [esp + 0x58]
mov ebx, dword [ebx + 0x20]
test ebx, ebx
jne 0x4a3f80
mov edi, dword [esp + 0x14]
cmp byte [edi + 0x78], 0
je 0x4a40df
mov ecx, dword [ebp]
push ebp
call fcn.0047ad90
push ecx
mov ecx, dword [ebp + 0x24]
add ecx, 0x14
call fcn.0047bc90
add esp, 8
test eax, eax
je 0x4a40c3
mov byte [edi + 0x1e], 1
jmp 0x4a3fc2
mov al, byte [ebx + 0x18]
mov cl, byte [ebp + 0x18]
cmp al, cl
je 0x4a3fc2
cmp al, 0x63
je 0x4a40ae
cmp cl, 0x63
je 0x4a40ae
mov edi, dword [esp + 0x58]
push 0
push str.conflicting_ON_CONFLICT_clauses_specified
call fcn.0047ae50
add esp, 8
cmp byte [ebx + 0x18], 0x63
jne 0x4a3fc2
mov cl, byte [ebp + 0x18]
mov byte [ebx + 0x18], cl
jmp 0x4a3fc2
or dword [edi + 0xc], 0x10
cmp dword [esp + 0x64], 0
je 0x4a422f
mov edx, edi
mov eax, dword [edx + 0x74]
mov dword [ebp + 0x14], eax
jmp 0x4a422f
inc dword [esi + 0x48]
mov ebx, dword [esi + 0x48]
mov edi, esi
mov dword [esp + 0x34], ebx
call fcn.004b3ab0
mov edi, eax
test edi, edi
je 0x4a3fc2
mov ecx, dword [esp + 0x1c]
push ecx
push 1
mov eax, esi
call fcn.004a51c0
push 0
push ebx
mov ebx, dword [esp + 0x2c]
push ebx
push 0x22
mov eax, edi
call fcn.0048ca00
add esp, 0x18
cmp dword [esp + 0x70], 0
je 0x4a415b
cmp dword [esp + 0x6c], 0
mov eax, 0x4f65b8
je 0x4a4134
mov eax, str._UNIQUE
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
mov esi, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x78]
mov edx, dword [edx]
sub edx, dword [ecx]
inc edx
push edx
push eax
push str.CREATE_s_INDEX__.s
call fcn.0047a300
add esp, 0x10
mov esi, eax
jmp 0x4a415d
xor esi, esi
mov eax, str.sqlite_temp_master
cmp ebx, 1
je 0x4a416c
mov eax, str.sqlite_master
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x58]
push esi
push ecx
mov ecx, dword [edx + 4]
mov edx, dword [ebp]
push ecx
push edx
mov edx, dword [esp + 0x4c]
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.004a0780
mov ecx, dword [esp + 0x30]
add esp, 0x1c
push esi
push ecx
call fcn.00478e80
add esp, 8
cmp dword [esp + 0x64], 0
je 0x4a422f
mov edx, dword [esp + 0x34]
push edx
mov esi, ebx
push ebp
mov eax, esi
call fcn.004a3610
mov ebx, dword [esp + 0x24]
add esp, 8
call fcn.004a2070
mov eax, dword [ebp]
mov esi, dword [esp + 0x14]
push 0xffffffffffffffff
push ecx
push eax
push str.name_q
call fcn.0047a300
add esp, 0xc
push eax
push 0x1f
xor eax, eax
xor ecx, ecx
mov edx, ebx
call fcn.0048caf0
mov esi, dword [edi + 0xc]
add esp, 0xc
cmp dword [edi + 0x10], esi
jg 0x4a4209
call fcn.0048c980
test eax, eax
jne 0x4a422f
mov edx, dword [edi + 0x14]
inc dword [edi + 0xc]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
xor ecx, ecx
mov byte [eax], 0xe
mov byte [eax + 3], cl
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov byte [edi + 0x6e], cl
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x78], 0
jne 0x4a4244
cmp dword [esp + 0x64], 0
jne 0x4a3fc2
mov ecx, dword [esp + 0x18]
mov edx, 5
cmp dword [esp + 0x6c], edx
jne 0x4a4280
mov eax, dword [ecx + 0x14]
test eax, eax
je 0x4a4280
cmp byte [eax + 0x18], dl
je 0x4a4280
cmp dword [eax + 0x20], 0
je 0x4a4275
mov ecx, dword [eax + 0x20]
cmp byte [ecx + 0x18], dl
je 0x4a4275
mov eax, ecx
cmp dword [eax + 0x20], 0
jne 0x4a4265
mov ecx, dword [eax + 0x20]
mov dword [ebp + 0x20], ecx
mov dword [eax + 0x20], ebp
jmp 0x4a4294
mov edx, dword [ecx + 0x14]
mov dword [ebp + 0x20], edx
mov dword [ecx + 0x14], ebp
jmp 0x4a4294
push ebp
call fcn.00478e00
add esp, 4
mov ebx, dword [esp + 0x68]
mov esi, dword [esp + 0x14]
call fcn.00499d70
mov edx, dword [esp + 0x64]
push edx
mov eax, esi
call fcn.004a49c0
mov eax, dword [esp + 0x28]
add esp, 4
test eax, eax
je 0x4a42e4
cmp eax, dword [esi + 0xe8]
jb 0x4a42e4
cmp eax, dword [esi + 0xec]
jae 0x4a42e4
mov ecx, dword [esi + 0xe4]
mov dword [eax], ecx
dec dword [esi + 0xdc]
mov dword [esi + 0xe4], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
push eax
call fcn.00478e00
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret