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

Disassembly:
sub esp, 0x40
push ebx
push ebp
push esi
mov esi, dword [esp + 0x50]
push edi
xor edi, edi
mov ebp, dword [esi]
mov dword [esp + 0x18], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x1c], edi
mov al, byte [ebp + 0x40]
mov dword [esp + 0x10], ebp
test al, al
mov dword [esp + 0x14], edi
jne 0x48f924
mov al, byte [esi + 0x1d5]
test al, al
jne 0x48f924
push esi
call fcn.00480b30
add esp, 4
test eax, eax
jne 0x48f924
cmp dword [esp + 0x60], edi
je 0x48f39c
mov ebx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
lea eax, [esp + 0x18]
push eax
push ebx
push ecx
push esi
call fcn.0048d270
mov edi, eax
add esp, 0x10
test edi, edi
mov dword [esp + 0x58], edi
jl 0x48f924
mov al, byte [ebp + 0x89]
test al, al
jne 0x48f324
mov edx, dword [esp + 0x60]
push edx
push esi
call fcn.00490f80
mov ecx, dword [ebx + 4]
add esp, 8
test ecx, ecx
jne 0x48f324
test eax, eax
je 0x48f324
mov ecx, dword [ebp + 0x10]
mov edx, dword [eax + 0x40]
cmp edx, dword [ecx + 0x1c]
jne 0x48f324
mov edi, 1
mov dword [esp + 0x58], edi
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x3c]
push eax
push str.index
push edi
push esi
push ecx
call fcn.0048e650
add esp, 0x14
test eax, eax
je 0x48f353
mov edx, dword [esp + 0x60]
lea eax, [esp + 0x3c]
push edx
push eax
call fcn.0048e710
add esp, 8
mov ecx, dword [esp + 0x60]
add ecx, 8
push ecx
push 0
push esi
call fcn.0048d1c0
mov ebx, eax
add esp, 0xc
test ebx, ebx
mov dword [esp + 0x5c], ebx
je 0x48f924
cmp edi, 1
jne 0x48f3c1
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebx + 0x40]
mov eax, dword [edx + 0x1c]
cmp eax, ecx
je 0x48f3c1
mov ecx, dword [ebx]
push ecx
push str.cannot_create_a_TEMP_index_on_non_TEMP_table___s_
push esi
call fcn.0047a260
add esp, 0xc
jmp 0x48f924
mov ebx, dword [esi + 0x1fc]
test ebx, ebx
mov dword [esp + 0x5c], ebx
je 0x48f924
mov edx, dword [ebx + 0x40]
push edx
push ebp
call fcn.00480b60
mov edi, eax
add esp, 8
mov dword [esp + 0x58], edi
mov edx, dword [ebp + 0x10]
mov eax, edi
shl eax, 4
mov dword [esp + 0x28], eax
add eax, edx
mov dword [esp + 0x20], eax
mov eax, dword [ebx]
push 7
push str.sqlite_
push eax
call fcn.0045a940
add esp, 0xc
test eax, eax
jne 0x48f418
mov ecx, dword [ebx]
push 9
add ecx, 7
push str.altertab_
push ecx
call fcn.0045a940
add esp, 0xc
test eax, eax
je 0x48f418
mov edx, dword [ebx]
push edx
push str.table__s_may_not_be_indexed
push esi
call fcn.0047a260
add esp, 0xc
jmp 0x48f924
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x48f42f
push str.views_may_not_be_indexed
push esi
call fcn.0047a260
jmp 0x48f921
test byte [ebx + 0x2a], 0x10
je 0x48f445
push str.virtual_tables_may_not_be_indexed
push esi
call fcn.0047a260
jmp 0x48f921
mov eax, dword [esp + 0x18]
test eax, eax
je 0x48f4ea
push eax
push ebp
call fcn.0048d210
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x1c], edi
je 0x48f924
push edi
push esi
call fcn.0048d300
add esp, 8
test eax, eax
jne 0x48f924
mov al, byte [ebp + 0x89]
test al, al
jne 0x48f4a9
push 0
push edi
push ebp
call fcn.0047cf10
add esp, 0xc
test eax, eax
je 0x48f4a9
push edi
push str.there_is_already_a_table_named__s
push esi
call fcn.0047a260
add esp, 0xc
jmp 0x48f924
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
push ecx
push edi
push ebp
call fcn.0047d110
add esp, 0xc
test eax, eax
je 0x48f51e
mov eax, dword [esp + 0x78]
test eax, eax
jne 0x48f4da
push edi
push str.index__s_already_exists
push esi
call fcn.0047a260
add esp, 0xc
jmp 0x48f924
mov edx, dword [esp + 0x58]
push edx
push esi
call fcn.00490580
jmp 0x48f921
mov eax, dword [ebx + 8]
mov ecx, 1
test eax, eax
je 0x48f4fe
mov eax, dword [eax + 0x14]
inc ecx
test eax, eax
jne 0x48f4f6
mov eax, dword [ebx]
push ecx
push eax
push str.sqlite_autoindex__s__d
push ebp
call fcn.0046a310
mov edi, eax
add esp, 0x10
test edi, edi
mov dword [esp + 0x1c], edi
je 0x48f924
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x58]
cmp eax, 1
mov eax, str.sqlite_temp_master
mov ebp, dword [ecx]
je 0x48f537
mov eax, str.sqlite_master
push ebp
push 0
push eax
push 0x12
push esi
call fcn.0048cd30
add esp, 0x14
test eax, eax
jne 0x48f924
mov ecx, dword [esp + 0x58]
mov eax, 1
cmp ecx, eax
jne 0x48f560
mov eax, 3
mov edx, dword [ebx]
push ebp
push edx
push edi
push eax
push esi
call fcn.0048cd30
add esp, 0x14
test eax, eax
jne 0x48f924
mov ebp, dword [esp + 0x64]
test ebp, ebp
jne 0x48f5d2
movsx eax, word [ebx + 0x26]
mov ecx, dword [ebx + 4]
lea eax, [eax + eax*2]
mov eax, dword [ecx + eax*8 - 0x18]
push eax
mov dword [esp + 0x38], eax
call fcn.0045a8d0
push ebp
push ebp
push esi
mov dword [esp + 0x48], eax
call fcn.004861e0
mov ebp, eax
add esp, 0x10
test ebp, ebp
mov dword [esp + 0x64], ebp
je 0x48f924
lea edx, [esp + 0x34]
push 0
push edx
push ebp
push esi
call fcn.00486280
mov eax, dword [ebp + 8]
mov cl, byte [esp + 0x84]
add esp, 0x10
mov byte [eax + 0xc], cl
mov eax, dword [ebp]
xor ebx, ebx
test eax, eax
jle 0x48f60a
xor esi, esi
mov edx, dword [ebp + 8]
mov eax, dword [edx + esi]
test eax, eax
je 0x48f5ff
mov eax, dword [eax + 4]
push eax
call fcn.0045a8d0
mov ecx, dword [esp + 0x18]
add esp, 4
lea edx, [ecx + eax + 1]
mov dword [esp + 0x14], edx
mov eax, dword [ebp]
inc ebx
add esi, 0x18
cmp ebx, eax
jl 0x48f5dd
push edi
call fcn.0045a8d0
mov esi, dword [ebp]
mov ebx, eax
mov edx, ebx
mov edi, dword [esp + 0x14]
lea eax, [esi*4 + 0xb]
lea ecx, [esi + esi*8]
and al, 0xf8
add edx, eax
mov eax, dword [esp + 0x18]
add ecx, edx
lea ecx, [ecx + eax + 0x39]
push ecx
push edi
call fcn.0045e8b0
mov ebp, eax
mov al, byte [edi + 0x40]
add esp, 0xc
test al, al
jne 0x48f912
lea edx, [esi*4 + 8]
lea eax, [ebp + 0x38]
and edx, 0xfffffff8
mov dword [ebp + 8], eax
add eax, edx
lea ecx, [ebx + 1]
mov dword [ebp + 0x20], eax
mov edx, ecx
lea eax, [eax + esi*4]
mov dword [ebp + 4], eax
lea edi, [eax + esi*4]
mov dword [ebp + 0x1c], edi
add edi, esi
mov esi, dword [esp + 0x1c]
mov dword [ebp], edi
shr ecx, 2
lea eax, [edi + ebx + 1]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x5c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x64]
mov dword [ebp + 0xc], eax
mov eax, dword [esp + 0x68]
mov esi, dword [ebp + 0x30]
mov dx, word [ecx]
mov byte [ebp + 0x2e], al
mov word [ebp + 0x2c], dx
xor edx, edx
cmp eax, 2
sete dl
and edx, 1
and esi, 0xfffffff7
shl edx, 3
mov eax, edx
or eax, esi
mov dword [ebp + 0x30], eax
mov edx, dword [esp + 0x18]
test edx, edx
sete dl
and edx, 3
and al, 0xfc
or edx, eax
mov eax, dword [esp + 0x10]
mov dword [ebp + 0x30], edx
mov edx, dword [eax + 0x10]
mov eax, dword [esp + 0x28]
mov edx, dword [eax + edx + 0xc]
mov eax, dword [esp + 0x70]
test eax, eax
mov dword [ebp + 0x18], edx
je 0x48f716
mov ecx, dword [esp + 0x54]
mov esi, eax
mov eax, dword [esp + 0x5c]
push 0
push esi
push 0x10
push eax
push ecx
call fcn.0048e160
mov ecx, dword [esp + 0x78]
add esp, 0x14
mov dword [ebp + 0x24], esi
mov dword [esp + 0x70], 0
mov edx, dword [esp + 0x20]
mov dword [esp + 0x74], 0
mov eax, dword [edx + 0xc]
mov edx, dword [ecx + 8]
mov dword [esp + 0x78], edx
cmp byte [eax + 0x4c], 4
sbb eax, eax
neg eax
dec eax
mov dword [esp + 0x30], eax
mov eax, dword [ecx]
test eax, eax
jle 0x48f868
mov edi, dword [esp + 0x5c]
mov eax, dword [esp + 0x78]
mov esi, dword [edi + 4]
xor ebx, ebx
mov ecx, dword [eax + 4]
cmp word [edi + 0x26], bx
mov dword [esp + 0x20], ecx
jle 0x48f77d
mov edx, dword [esi]
mov eax, dword [esp + 0x20]
push edx
push eax
call fcn.0045a8f0
add esp, 8
test eax, eax
je 0x48f77d
movsx ecx, word [edi + 0x26]
inc ebx
add esi, 0x18
cmp ebx, ecx
jl 0x48f75d
movsx edx, word [edi + 0x26]
cmp ebx, edx
jge 0x48f8f4
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
mov dword [eax + ecx*4], ebx
mov eax, dword [edx]
test eax, eax
je 0x48f7da
mov esi, dword [eax + 4]
push esi
call fcn.0045a8d0
mov edi, dword [esp + 0x28]
add esp, 4
inc eax
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x5c]
mov esi, ecx
add ecx, eax
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x14]
sub ecx, eax
mov dword [esp + 0x14], ecx
jmp 0x48f7ed
mov ecx, dword [edi + 4]
lea eax, [ebx + ebx*2]
mov esi, dword [ecx + eax*8 + 0x10]
test esi, esi
jne 0x48f7ed
mov esi, str.BINARY
mov edx, dword [esp + 0x10]
mov al, byte [edx + 0x89]
test al, al
jne 0x48f81b
mov eax, dword [esp + 0x54]
push esi
push eax
call fcn.0048dde0
add esp, 8
test eax, eax
je 0x48f912
mov eax, dword [esp + 0x74]
mov edi, dword [esp + 0x5c]
jmp 0x48f81f
mov eax, dword [esp + 0x74]
mov ecx, dword [ebp + 0x20]
mov edx, dword [esp + 0x78]
mov dword [ecx + eax*4], esi
mov cl, byte [edx + 0xc]
mov dl, byte [esp + 0x30]
and cl, dl
mov edx, dword [ebp + 0x1c]
mov byte [edx + eax], cl
mov edx, dword [edi + 4]
lea ecx, [ebx + ebx*2]
mov bl, byte [edx + ecx*8 + 0x14]
test bl, bl
jne 0x48f84a
and dword [ebp + 0x30], 0xfffffff7
mov ecx, dword [esp + 0x64]
mov esi, dword [esp + 0x78]
inc eax
add esi, 0x18
mov edx, dword [ecx]
mov dword [esp + 0x74], eax
cmp eax, edx
mov dword [esp + 0x78], esi
jl 0x48f747
mov ebx, dword [esp + 0x10]
push ebp
call fcn.0047da40
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x60]
add esp, 4
cmp eax, dword [ecx + 0x1fc]
jne 0x48f99b
mov edi, dword [eax + 8]
test edi, edi
je 0x48f99b
mov ax, word [edi + 0x2c]
cmp ax, word [ebp + 0x2c]
jne 0x48f8e8
xor esi, esi
test ax, ax
jbe 0x48f8de
mov edx, dword [edi + 4]
mov eax, dword [ebp + 4]
mov ecx, dword [edx + esi*4]
mov edx, dword [eax + esi*4]
cmp ecx, edx
jne 0x48f8de
mov edx, dword [edi + 0x20]
mov ecx, dword [ebp + 0x20]
mov eax, dword [edx + esi*4]
mov ecx, dword [ecx + esi*4]
cmp eax, ecx
je 0x48f8d3
push ecx
push eax
call fcn.0045a8f0
add esp, 8
test eax, eax
jne 0x48f8de
xor edx, edx
inc esi
mov dx, word [edi + 0x2c]
cmp esi, edx
jl 0x48f8a5
xor eax, eax
mov ax, word [edi + 0x2c]
cmp esi, eax
je 0x48f963
mov edi, dword [edi + 0x14]
test edi, edi
jne 0x48f894
jmp 0x48f99b
mov edx, dword [esp + 0x20]
mov eax, dword [edi]
mov esi, dword [esp + 0x54]
push edx
push eax
push str.table__s_has_no_column_named__s
push esi
call fcn.0047a260
add esp, 0x10
mov byte [esi + 0x11], 1
test ebp, ebp
je 0x48f924
mov edx, dword [esp + 0x10]
push ebp
push edx
call fcn.0047d520
add esp, 8
mov eax, dword [esp + 0x70]
mov esi, dword [esp + 0x10]
push eax
push esi
call fcn.0047d560
mov ecx, dword [esp + 0x6c]
push ecx
push esi
call fcn.0047d600
mov edx, dword [esp + 0x70]
push edx
push esi
call fcn.00481550
mov eax, dword [esp + 0x34]
push eax
push esi
call fcn.004591b0
mov eax, dword [esp + 0x4c]
add esp, 0x20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
mov al, byte [edi + 0x2e]
mov cl, byte [ebp + 0x2e]
cmp al, cl
je 0x48f912
cmp al, 0x63
je 0x48f98a
cmp cl, 0x63
je 0x48f98a
mov ecx, dword [esp + 0x54]
push 0
push str.conflicting_ON_CONFLICT_clauses_specified
push ecx
call fcn.0047a260
add esp, 0xc
cmp byte [edi + 0x2e], 0x63
jne 0x48f912
mov dl, byte [ebp + 0x2e]
mov byte [edi + 0x2e], dl
jmp 0x48f912
mov al, byte [ebx + 0x89]
test al, al
je 0x48f9f6
mov eax, dword [ebp]
push ebp
push eax
call fcn.0045a8d0
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp]
add esp, 4
add edx, 0x18
push eax
push ecx
push edx
call fcn.0047d210
add esp, 0x10
test eax, eax
je 0x48f9d3
mov byte [ebx + 0x40], 1
jmp 0x48f912
mov ecx, dword [ebx + 0x18]
mov eax, dword [esp + 0x60]
or ecx, 2
test eax, eax
mov dword [ebx + 0x18], ecx
je 0x48fb33
mov eax, dword [ebx + 0x84]
mov dword [ebp + 0x28], eax
jmp 0x48fb33
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx + 0x44]
test eax, eax
jne 0x48fb33
mov esi, ecx
push esi
mov edi, dword [esi + 0x4c]
inc edi
mov dword [esi + 0x4c], edi
call fcn.004983b0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x48f912
mov edx, dword [esp + 0x58]
push edx
push 1
push esi
call fcn.00490680
mov eax, dword [esp + 0x64]
push edi
push eax
push 0x6e
push ebx
call fcn.004870f0
mov eax, dword [esp + 0x88]
add esp, 0x1c
test eax, eax
je 0x48fa93
mov ecx, dword [esp + 0x18]
mov eax, dword [esi + 0x214]
mov edx, dword [esi + 0x210]
mov ecx, dword [ecx]
add eax, edx
sub eax, ecx
cmp byte [eax + ecx - 1], 0x3b
jne 0x48fa68
dec eax
mov edx, dword [esp + 0x68]
test edx, edx
mov edx, 0x4e2868
je 0x48fa7a
mov edx, str._UNIQUE
push ecx
push eax
push edx
mov edx, dword [esp + 0x1c]
push str.CREATE_s_INDEX__.s
push edx
call fcn.0046a310
add esp, 0x14
mov esi, eax
jmp 0x48fa95
xor esi, esi
mov eax, dword [esp + 0x58]
cmp eax, 1
mov eax, str.sqlite_temp_master
je 0x48faa8
mov eax, str.sqlite_master
mov ecx, dword [esp + 0x5c]
push esi
push edi
mov edx, dword [ecx]
mov ecx, dword [ebp]
push edx
mov edx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x38]
push eax
mov eax, dword [edx + 0x10]
mov edx, dword [ecx + eax]
mov eax, dword [esp + 0x68]
push edx
push str.INSERT_INTO__Q._s_VALUES_index__Q__Q__d__Q__
push eax
call fcn.0048d110
mov ecx, dword [esp + 0x30]
push esi
push ecx
call fcn.004591b0
mov eax, dword [esp + 0x88]
add esp, 0x28
test eax, eax
je 0x48fb2f
push edi
mov edi, dword [esp + 0x58]
push ebp
push edi
call fcn.0048fba0
mov esi, dword [esp + 0x64]
push esi
push edi
call fcn.0048de50
mov edx, dword [ebp]
mov eax, dword [esp + 0x24]
push edx
push str.name_q_AND_typeindex
push eax
call fcn.0046a310
push eax
push esi
push ebx
call fcn.00486980
push 0
push 0x84
push ebx
call fcn.00487bd0
add esp, 0x38
mov ebx, dword [esp + 0x10]
mov al, byte [ebx + 0x89]
test al, al
jne 0x48fb49
mov eax, dword [esp + 0x60]
test eax, eax
jne 0x48f912
mov eax, dword [esp + 0x68]
mov edx, 5
cmp eax, edx
mov eax, dword [esp + 0x5c]
jne 0x48fb8d
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x48fb8d
cmp byte [ecx + 0x2e], dl
je 0x48fb8d
mov eax, dword [ecx + 0x14]
test eax, eax
je 0x48fb7b
cmp byte [eax + 0x2e], dl
je 0x48fb7b
mov ecx, eax
mov eax, dword [ecx + 0x14]
test eax, eax
jne 0x48fb6d
mov edx, dword [ecx + 0x14]
mov dword [esp + 0x2c], ebp
mov dword [ebp + 0x14], edx
mov dword [ecx + 0x14], ebp
jmp 0x48f924
mov ecx, dword [eax + 8]
mov dword [esp + 0x2c], ebp
mov dword [ebp + 0x14], ecx
mov dword [eax + 8], ebp
jmp 0x48f924