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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x118
mov eax, dword [0x513040]
xor eax, esp
mov dword [esp + 0x114], eax
mov eax, ecx
mov dword [esp + 0x18], 0
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x28], ecx
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x3c], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [esp + 0x48], ecx
mov ecx, dword [eax]
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 8], ecx
xor ecx, ecx
push edi
mov edi, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x3c], ecx
cmp dword [eax + 0x28], ecx
jne 0x48cc71
cmp byte [eax + 0xe0], 1
jne 0x48b8cb
cmp byte [ebp + 0x28], 2
jne 0x48cc71
mov ecx, eax
call fcn.004a9580
test eax, eax
jne 0x48cc71
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x48b8fd
mov edx, dword [ecx]
test edx, edx
jle 0x48b8fd
add ecx, 0x14
nop dword [eax + eax]
test byte [ecx], 0x20
jne 0x48b970
inc eax
add ecx, 0x14
cmp eax, edx
jl 0x48b8f0
cmp dword [esp + 0x30], 0
mov dword [esp + 0x40], 1
je 0x48bb58
lea eax, [esp + 0x4c]
mov edx, edi
mov edi, dword [esp + 0x10]
mov ecx, edi
push eax
push esi
call fcn.004860d0
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
js 0x48cc71
mov eax, dword [esp + 0xc]
cmp byte [eax + 0xb1], 0
jne 0x48b9a5
mov edx, dword [esp + 0x30]
mov ecx, edi
call fcn.0048f870
cmp dword [esi + 4], 0
jne 0x48b9a5
mov esi, dword [esp + 0x18]
test eax, eax
je 0x48b9a9
mov ecx, dword [esp + 0xc]
mov eax, dword [eax + 0x3c]
mov ecx, dword [ecx + 0x10]
cmp eax, dword [ecx + 0x1c]
cmove esi, dword [esp + 0x40]
mov dword [esp + 0x18], esi
jmp 0x48b9a9
mov edi, dword [esp + 0x1c]
lea eax, [eax + eax*4]
mov al, byte [edi + eax*4 + 0x10]
test al, al
je 0x48b988
cmp al, 3
mov eax, str.LAST
jne 0x48b98d
mov eax, str.FIRST
push eax
mov eax, dword [esp + 0x14]
push str.unsupported_use_of_NULLS__s
push eax
call fcn.00432d50
add esp, 0xc
jmp 0x48cc75
mov esi, dword [esp + 0x18]
mov edx, dword [edi]
mov ecx, esi
mov dword [esp + 0xe8], edi
add ecx, ecx
cmp esi, 1
xorps xmm0, xmm0
movlpd qword [esp + 0x98], xmm0
mov eax, dword [edx + 0x10]
movlpd qword [esp + 0xa0], xmm0
movlpd qword [esp + 0xa8], xmm0
movlpd qword [esp + 0xb0], xmm0
mov eax, dword [eax + ecx*8]
mov dword [esp + 0x110], eax
mov eax, dword [edx + 0x10]
lea edx, [esp + 0x98]
movlpd qword [esp + 0xbc], xmm0
movlpd qword [esp + 0xc4], xmm0
movlpd qword [esp + 0xcc], xmm0
mov eax, dword [eax + ecx*8 + 0xc]
sete byte [esp + 0x10c]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x108], eax
xor eax, eax
mov word [esp + 0x100], ax
lea eax, [esp + 0xe8]
mov dword [esp + 0x118], ecx
lea ecx, [esp + 0xec]
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x114], str.index
mov dword [esp + 0xec], edi
mov dword [esp + 0xf0], 0x4841f0
mov dword [esp + 0xf4], 0x484240
mov dword [esp + 0xf8], fcn.0042e7a0
mov dword [esp + 0xfc], 0
movlpd qword [esp + 0xd4], xmm0
movlpd qword [esp + 0xdc], xmm0
mov dword [esp + 0xb8], eax
call fcn.0046d670
mov eax, dword [esp + 0x30]
mov edx, dword [eax + 8]
test edx, edx
je 0x48bae3
mov eax, dword [edi]
xor ecx, ecx
mov esi, dword [eax + 0x10]
cmp dword [esi + 0xc], edx
lea eax, [esi + 0xc]
je 0x48bad8
nop dword [eax]
lea eax, [eax + 0x10]
inc ecx
cmp dword [eax], edx
jne 0x48bad0
add ecx, ecx
mov eax, dword [esi + ecx*8]
mov esi, dword [esp + 0x18]
jmp 0x48bae6
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [esp + 0x34]
xor edx, edx
mov ecx, edi
push dword [eax + 0x10]
call fcn.004855d0
mov edx, eax
add esp, 8
mov dword [esp + 0x14], edx
test edx, edx
je 0x48cc71
cmp esi, 1
jne 0x48bb31
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x1c]
cmp eax, dword [edx + 0x3c]
je 0x48bb31
push dword [edx]
push str.cannot_create_a_TEMP_index_on_non_TEMP_table___s_
push edi
call fcn.00432d50
add esp, 0xc
jmp 0x48cc31
test byte [edx + 0x1c], 0x80
je 0x48bb9e
mov ecx, dword [edx + 8]
mov dword [esp + 0x3c], ecx
test ecx, ecx
je 0x48bb9e
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x48bb52
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x48bb42
mov dword [esp + 0x3c], ecx
jmp 0x48bb9e
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0xfc]
mov dword [esp + 0x14], eax
test eax, eax
je 0x48cc71
mov ecx, dword [eax + 0x3c]
mov esi, 0xffff8000
mov dword [esp + 0x18], esi
test ecx, ecx
je 0x48bb9e
mov eax, dword [esp + 0xc]
xor esi, esi
mov dword [esp + 0x18], esi
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x48bb9e
lea eax, [eax + 0x10]
inc esi
cmp dword [eax], ecx
jne 0x48bb92
mov dword [esp + 0x18], esi
mov ecx, dword [esp + 0xc]
mov eax, esi
shl eax, 4
mov edx, 7
add eax, dword [ecx + 0x10]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x14]
mov esi, dword [eax]
test esi, esi
je 0x48bc30
mov edi, str.sqlite_
mov al, byte [esi]
dec edx
test al, al
je 0x48bbe4
movzx ecx, byte [edi]
movzx eax, al
mov al, byte [eax + 0x506c98]
cmp al, byte [ecx + 0x506c98]
jne 0x48bbe4
inc esi
inc edi
test edx, edx
jg 0x48bbc2
dec edx
test edx, edx
js 0x48bc00
movzx eax, byte [edi]
movzx ecx, byte [eax + 0x506c98]
movzx eax, byte [esi]
movzx eax, byte [eax + 0x506c98]
sub eax, ecx
jne 0x48bc34
mov esi, dword [esp + 0xc]
cmp byte [esi + 0xb1], 0
jne 0x48bc38
cmp dword [esp + 0x30], 0
je 0x48bc38
mov eax, dword [esp + 0x14]
push dword [eax]
push str.table__s_may_not_be_indexed
push dword [esp + 0x18]
call fcn.00432d50
add esp, 0xc
jmp 0x48cc31
mov esi, ecx
jmp 0x48bc38
mov esi, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov al, byte [edx + 0x2b]
cmp al, 2
jne 0x48bc59
push str.views_may_not_be_indexed
push dword [esp + 0x14]
call fcn.00432d50
add esp, 8
jmp 0x48cc31
cmp al, 1
jne 0x48bc73
push str.virtual_tables_may_not_be_indexed
push dword [esp + 0x14]
call fcn.00432d50
add esp, 8
jmp 0x48cc31
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x48bdec
mov edi, dword [eax]
mov esi, dword [eax + 4]
test edi, edi
je 0x48bdd8
xor eax, eax
mov ecx, esi
add ecx, 1
adc eax, eax
push eax
push ecx
mov ecx, dword [esp + 0x14]
call fcn.0042f570
add esp, 8
mov dword [esp + 0x20], eax
test eax, eax
je 0x48bdc4
push esi
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x2c]
add esp, 0xc
mov ecx, eax
mov byte [esi + eax], 0
call fcn.00432de0
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
mov ecx, edi
mov edx, dword [esp + 0x20]
push dword [eax]
push str.index
call fcn.00486160
add esp, 8
test eax, eax
jne 0x48cc31
cmp byte [edi + 0xe0], 2
mov esi, dword [esp + 0x28]
jae 0x48bdba
mov eax, dword [esp + 0xc]
cmp byte [eax + 0xb1], 0
jne 0x48bd40
push dword [esi]
mov edx, dword [esp + 0x24]
mov ecx, eax
call fcn.004851f0
add esp, 4
test eax, eax
je 0x48bd3c
mov esi, dword [esp + 0x20]
push esi
push str.there_is_already_a_table_named__s
push edi
call fcn.00432d50
add esp, 0xc
mov dword [esp + 0x20], esi
jmp 0x48cc31
mov eax, dword [esp + 0xc]
push dword [esi]
mov edx, dword [esp + 0x24]
mov ecx, eax
call fcn.00485790
add esp, 4
test eax, eax
je 0x48bdba
cmp dword [ebp + 0x24], 0
jne 0x48bd76
mov esi, dword [esp + 0x20]
push esi
push str.index__s_already_exists
push edi
call fcn.00432d50
add esp, 0xc
mov dword [esp + 0x20], esi
jmp 0x48cc31
mov eax, dword [edi + 0x84]
mov edx, edi
mov esi, dword [esp + 0x40]
test eax, eax
mov ecx, dword [esp + 0x18]
cmovne edx, eax
shl esi, cl
mov eax, dword [edx + 0x60]
test eax, esi
jne 0x48bda6
bts eax, ecx
mov dword [edx + 0x60], eax
cmp ecx, 1
jne 0x48bda6
mov ecx, edx
call fcn.0048e0d0
mov ecx, edi
call fcn.00486400
mov eax, dword [esp + 0x20]
mov dword [esp + 0x20], eax
jmp 0x48cc31
mov eax, dword [esp + 0x20]
mov dword [esp + 0x20], eax
jmp 0x48be33
mov esi, dword [esp + 0x20]
mov ecx, esi
call fcn.00432de0
mov dword [esp + 0x20], esi
jmp 0x48cc31
xor ecx, ecx
call fcn.00432de0
mov dword [esp + 0x20], 0
jmp 0x48cc31
mov eax, dword [edx + 8]
mov ecx, 1
test eax, eax
je 0x48be00
mov eax, dword [eax + 0x14]
inc ecx
test eax, eax
jne 0x48bdf8
push ecx
push dword [edx]
push str.sqlite_autoindex__s__d
push esi
call fcn.00431aa0
mov esi, eax
add esp, 0x10
mov dword [esp + 0x20], esi
test esi, esi
je 0x48cc31
mov edi, dword [esp + 0x10]
cmp byte [edi + 0xe0], 0
je 0x48be2f
inc byte [esi + 7]
mov esi, dword [esp + 0x28]
cmp byte [edi + 0xe0], 2
jae 0x48be99
mov esi, dword [esi]
mov ecx, str.sqlite_temp_master
cmp dword [esp + 0x18], 1
mov eax, str.sqlite_master
push esi
cmove eax, ecx
mov edx, 0x12
push 0
push eax
mov ecx, edi
call fcn.00484700
add esp, 0xc
test eax, eax
jne 0x48cc31
mov eax, dword [esp + 0x14]
xor edx, edx
cmp dword [esp + 0x18], 1
mov ecx, edi
push esi
sete dl
push dword [eax]
push dword [esp + 0x28]
lea edx, [edx*2 + 1]
call fcn.00484700
add esp, 0xc
test eax, eax
jne 0x48cc31
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x48bf70
mov eax, dword [esp + 0x14]
movsx ecx, word [eax + 0x22]
mov eax, dword [eax + 4]
add ecx, ecx
or word [eax + ecx*8 - 2], 8
mov eax, dword [eax + ecx*8 - 0x10]
mov dword [esp + 0x34], eax
test eax, eax
jne 0x48bec8
xor esi, esi
jmp 0x48bedf
mov esi, eax
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x48bed0
sub esi, ecx
and esi, 0x3fffffff
mov ecx, dword [esp + 0xc]
lea eax, [esi + 0x35]
push 0
push eax
call fcn.0042f570
mov edi, eax
add esp, 8
test edi, edi
je 0x48bf34
push 0x34
push 0
push edi
call sub.VCRUNTIME140.dll_memset
or eax, 0xffffffff
mov byte [edi], 0x3c
mov word [edi + 0x22], ax
add esp, 0xc
lea eax, [edi + 0x34]
mov dword [edi + 8], eax
test esi, esi
je 0x48bf26
push esi
push dword [esp + 0x38]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [edi + 8]
mov byte [esi + eax], 0
mov dword [edi + 0x18], 1
mov eax, dword [esp + 0x10]
mov edx, edi
mov ecx, dword [eax]
call fcn.00473940
mov edi, eax
mov dword [esp + 0x1c], edi
test edi, edi
je 0x48cc31
mov ecx, dword [ebp + 0x20]
xor eax, eax
movzx edx, cl
cmp ecx, 0xffffffff
mov ecx, dword [edi]
cmovne eax, edx
mov dword [esp + 0x34], eax
lea eax, [ecx + ecx*4]
mov ecx, dword [esp + 0x34]
mov byte [edi + eax*4 - 4], cl
jmp 0x48bf9d
mov ecx, dword [edi]
mov eax, dword [eax]
cmp eax, dword [ecx + 0x80]
jle 0x48bf8f
push str.index
push str.too_many_columns_in__s
push edi
call fcn.00432d50
add esp, 0xc
cmp dword [edi + 0x28], 0
jne 0x48cc31
mov edi, dword [esp + 0x1c]
mov esi, dword [edi]
test esi, esi
jle 0x48bfdd
lea edx, [edi + 8]
mov ecx, dword [edx]
cmp byte [ecx], 0x72
jne 0x48bfd1
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x48bfc6
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x48bfb7
sub ecx, edi
and ecx, 0x3fffffff
mov eax, dword [esp + 0x24]
inc eax
add eax, ecx
mov dword [esp + 0x24], eax
add edx, 0x14
sub esi, 1
jne 0x48bfa6
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x48bfe4
mov eax, dword [esp + 0x3c]
sub esi, ecx
and esi, 0x3fffffff
test eax, eax
je 0x48c001
movzx ecx, word [eax + 0x32]
jmp 0x48c006
mov ecx, 1
mov ax, word [edi]
add ax, cx
movzx eax, ax
mov dword [esp + 0x48], eax
cwde
mov dword [esp + 0x54], eax
lea ecx, [eax*4 + 7]
lea eax, [eax + eax*4]
and ecx, 0xfffffff8
add eax, 9
mov dword [esp + 0x5c], ecx
and eax, 0xfffffff8
add ecx, 0x48
add eax, ecx
mov dword [esp + 0x2c], eax
add eax, esi
add eax, dword [esp + 0x24]
lea ecx, [eax + 1]
cdq
add eax, 1
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0xc]
adc edx, 0
push edx
push eax
call fcn.0042f570
mov edi, eax
add esp, 8
mov dword [esp + 0x58], edi
test edi, edi
je 0x48c0a8
push dword [esp + 0x34]
push 0
push edi
call sub.VCRUNTIME140.dll_memset
mov edx, dword [esp + 0x60]
lea ecx, [edi + 0x48]
mov dword [edi + 0x20], ecx
add esp, 0xc
add ecx, dword [esp + 0x5c]
mov dword [edi + 8], ecx
lea eax, [edx + 1]
lea eax, [ecx + eax*2]
mov ecx, dword [esp + 0x2c]
mov dword [edi + 4], eax
lea eax, [eax + edx*2]
mov dword [edi + 0x1c], eax
mov eax, dword [esp + 0x48]
mov word [edi + 0x34], ax
dec eax
mov word [edi + 0x32], ax
add ecx, edi
jmp 0x48c0aa
xor ecx, ecx
mov eax, dword [esp + 0xc]
cmp byte [eax + 0x57], 0
jne 0x48cbe8
lea eax, [esi + 1]
mov dword [edi], ecx
add eax, ecx
mov dword [esp + 0x34], eax
lea eax, [esi + 1]
push eax
push dword [esp + 0x24]
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x50]
add esp, 0xc
mov esi, dword [esp + 0x14]
mov byte [edi + 0x36], al
neg eax
mov dword [edi + 0xc], esi
sbb ecx, ecx
mov eax, dword [edi + 0x38]
and eax, 0xfffffff7
and ecx, 8
or ecx, eax
movzx eax, byte [ebp + 0x28]
xor eax, ecx
and eax, 3
xor eax, ecx
mov ecx, dword [esp + 0x18]
mov dword [edi + 0x38], eax
add ecx, ecx
cmp dword [esp + 0x50], 0
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + ecx*8 + 0xc]
mov ecx, dword [esp + 0x1c]
mov dword [edi + 0x18], eax
mov ax, word [ecx]
mov word [edi + 0x32], ax
je 0x48c206
mov edx, dword [esp + 0x10]
xorps xmm0, xmm0
mov eax, dword [esi]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xb0], esi
mov eax, dword [edx]
movlpd qword [esp + 0x68], xmm0
movlpd qword [esp + 0x70], xmm0
movlpd qword [esp + 0x7c], xmm0
movlpd qword [esp + 0x9c], xmm0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xac], 0
movlpd qword [esp + 0xb4], xmm0
movlpd qword [esp + 0xbc], xmm0
movlpd qword [esp + 0xc4], xmm0
movlpd qword [esp + 0xd0], xmm0
movlpd qword [esp + 0xd8], xmm0
movlpd qword [esp + 0xe0], xmm0
mov dword [esp + 0x98], 1
mov dword [esp + 0xcc], 0xffffffff
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 0x1c]
lea eax, [esp + 0x98]
cmp dword [esi + 0x3c], ecx
lea ecx, [esp + 0x60]
mov esi, dword [esp + 0x50]
mov dword [esp + 0x60], edx
mov edx, 0x10002
mov dword [esp + 0x64], eax
mov eax, 0x50002
cmove eax, edx
mov edx, esi
mov dword [esp + 0x78], eax
call fcn.00470b30
mov ecx, dword [esp + 0x1c]
mov dword [edi + 0x24], esi
mov dword [esp + 0x50], 0
mov eax, dword [esp + 0x28]
lea edx, [ecx + 8]
mov dword [esp + 0x28], edx
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0x4c]
mov byte [esp + 0x3b], al
mov eax, dword [esp + 0x10]
cmp byte [eax + 0xe0], 2
jb 0x48c233
mov dword [edi + 0x28], ecx
mov dword [esp + 0x1c], 0
xor esi, esi
xor eax, eax
mov dword [esp + 0x24], esi
cmp ax, word [edi + 0x32]
jae 0x48c51c
mov eax, dword [edx]
mov cl, byte [eax]
cmp cl, 0x76
je 0x48c25b
cmp cl, 0x72
jne 0x48c25e
mov eax, dword [eax + 0xc]
cmp byte [eax], 0x76
jne 0x48c25e
mov byte [eax], 0x3c
mov ecx, dword [esp + 0x14]
xorps xmm0, xmm0
mov esi, dword [esp + 0x14]
mov edx, dword [edx]
movaps xmmword [esp + 0x60], xmm0
mov eax, dword [ecx]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0xb0], ecx
movaps xmmword [esp + 0x70], xmm0
mov dword [esp + 0x80], 0
mov eax, dword [eax]
movlpd qword [esp + 0x9c], xmm0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xac], 0
movlpd qword [esp + 0xb4], xmm0
movlpd qword [esp + 0xbc], xmm0
movlpd qword [esp + 0xc4], xmm0
movlpd qword [esp + 0xd0], xmm0
movlpd qword [esp + 0xd8], xmm0
movlpd qword [esp + 0xe0], xmm0
mov dword [esp + 0x98], 1
mov dword [esp + 0xcc], 0xffffffff
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 0x1c]
mov eax, dword [esp + 0x10]
cmp dword [esi + 0x3c], ecx
mov ecx, 0x10020
mov dword [esp + 0x60], eax
lea eax, [esp + 0x98]
mov dword [esp + 0x64], eax
mov eax, 0x50020
cmove eax, ecx
lea ecx, [esp + 0x60]
mov dword [esp + 0x78], eax
call fcn.00470b30
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x24]
cmp dword [ecx + 0x28], 0
jne 0x48c56e
mov edx, dword [esp + 0x28]
mov eax, dword [edx]
test eax, eax
je 0x48c363
test dword [eax + 4], 0x2000
je 0x48c363
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x48c353
cmp byte [eax], 0xa8
je 0x48c3af
mov eax, dword [esp + 0x14]
cmp eax, dword [ecx + 0xfc]
je 0x48c560
cmp dword [edi + 0x28], 0
jne 0x48c38d
mov ecx, dword [esp + 0x1c]
mov dword [edi + 0x28], ecx
mov dword [esp + 0x1c], 0
mov eax, dword [edi + 4]
mov ecx, 0xfffffffe
mov edx, ecx
mov word [eax + esi*2], dx
mov eax, dword [edi + 0x38]
mov edx, dword [esp + 0x28]
and eax, 0xfffffff7
or eax, 0x1000
mov dword [edi + 0x38], eax
jmp 0x48c3f3
movsx ecx, word [eax + 0x20]
mov eax, dword [esp + 0x14]
test ecx, ecx
jns 0x48c3c1
movsx ecx, word [eax + 0x20]
jmp 0x48c3ec
mov eax, dword [eax + 4]
mov edx, ecx
add edx, edx
test byte [eax + edx*8 + 4], 0xf
jne 0x48c3d3
and dword [edi + 0x38], 0xfffffff7
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 4]
test byte [eax + edx*8 + 0xe], 0x20
mov edx, dword [esp + 0x28]
je 0x48c3ec
or dword [edi + 0x38], 0x1800
mov eax, dword [edi + 4]
mov word [eax + esi*2], cx
mov eax, dword [edx]
cmp byte [eax], 0x72
jne 0x48c442
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x48c405
xor esi, esi
jmp 0x48c41f
mov esi, ecx
lea edx, [esi + 1]
nop word [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x48c410
sub esi, edx
and esi, 0x3fffffff
inc esi
push esi
push ecx
push dword [esp + 0x3c]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x40]
add esp, 0xc
mov dword [esp + 0x2c], eax
add eax, esi
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x34], eax
jmp 0x48c479
test ecx, ecx
js 0x48c47d
mov eax, dword [esp + 0x14]
shl ecx, 4
add ecx, dword [eax + 4]
mov eax, 0x200
test word [ecx + 0xe], ax
je 0x48c47d
mov eax, dword [ecx]
cmp byte [eax], 0
je 0x48c468
inc eax
cmp byte [eax], 0
jne 0x48c462
test byte [ecx + 0xe], 4
je 0x48c476
nop
inc eax
cmp byte [eax], 0
jne 0x48c470
lea esi, [eax + 1]
test esi, esi
jne 0x48c482
mov esi, str.BINARY
mov eax, dword [esp + 0xc]
cmp byte [eax + 0xb1], 0
jne 0x48c4de
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov al, byte [ecx + 0xb1]
mov dl, byte [ecx + 0x54]
mov byte [esp + 0x39], al
movzx eax, al
push eax
push esi
mov byte [esp + 0x42], dl
call fcn.0048eed0
add esp, 8
cmp byte [esp + 0x39], 0
jne 0x48c4d6
test eax, eax
je 0x48c4c4
cmp dword [eax + 0xc], 0
jne 0x48c4de
mov dl, byte [esp + 0x3a]
mov ecx, dword [esp + 0x10]
push esi
push eax
call fcn.0048f040
add esp, 8
test eax, eax
je 0x48c56e
mov eax, dword [edi + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4], esi
xor eax, eax
movzx ecx, byte [edx + 8]
cmp byte [esp + 0x3b], 4
mov esi, dword [esp + 0x24]
cmovb ecx, eax
mov eax, dword [edi + 0x1c]
add edx, 0x14
mov dword [esp + 0x28], edx
mov byte [esi + eax], cl
inc esi
movzx eax, word [edi + 0x32]
mov dword [esp + 0x24], esi
cmp esi, eax
jl 0x48c245
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x48c5be
xor eax, eax
xor esi, esi
cmp ax, word [ecx + 0x32]
jae 0x48c5d2
mov eax, dword [ecx + 4]
movzx edx, word [edi + 0x32]
push esi
push ecx
movzx eax, word [eax + esi*2]
mov ecx, edi
mov dword [esp + 0x34], eax
call fcn.00488570
add esp, 8
test eax, eax
je 0x48c577
mov eax, 0xffff
add word [edi + 0x34], ax
jmp 0x48c5ab
push str.expressions_prohibited_in_PRIMARY_KEY_and_UNIQUE_constraints
push ecx
call fcn.00432d50
add esp, 8
mov esi, dword [esp + 0xc]
jmp 0x48cbea
mov edx, dword [esp + 0x24]
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x2c]
mov word [eax + edx*2], cx
mov eax, dword [esp + 0x3c]
mov ecx, dword [edi + 0x20]
mov eax, dword [eax + 0x20]
mov eax, dword [eax + esi*4]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [edi + 0x1c]
mov eax, dword [eax + 0x1c]
mov al, byte [esi + eax]
mov byte [edx + ecx], al
inc edx
mov dword [esp + 0x24], edx
mov ecx, dword [esp + 0x3c]
inc esi
movzx eax, word [ecx + 0x32]
cmp esi, eax
jl 0x48c536
jmp 0x48c5d2
mov eax, dword [edi + 4]
or ecx, 0xffffffff
mov word [eax + esi*2], cx
mov eax, dword [edi + 0x20]
mov dword [eax + esi*4], str.BINARY
mov ecx, edi
call fcn.0048ccd0
mov eax, dword [esp + 0x10]
cmp dword [eax + 0xfc], 0
jne 0x48c5ed
mov ecx, edi
call fcn.00488510
mov ecx, edi
call fcn.00488610
cmp dword [esp + 0x30], 0
je 0x48c68f
mov ecx, dword [esp + 0x14]
movzx eax, word [edi + 0x34]
mov edx, eax
mov dword [esp + 0x48], edx
movsx ecx, word [ecx + 0x22]
cmp eax, ecx
jl 0x48c68f
mov eax, dword [esp + 0x14]
xor esi, esi
or dword [edi + 0x38], 0x20
mov dword [esp + 0x2c], esi
movzx eax, word [eax + 0x22]
mov ecx, eax
mov dword [esp + 0x54], ecx
cmp si, ax
jge 0x48c68f
mov eax, dword [esp + 0x14]
movsx eax, word [eax + 0x20]
mov dword [esp + 0x5c], eax
nop
cmp esi, eax
je 0x48c67d
xor eax, eax
xor ecx, ecx
cmp ax, dx
jae 0x48c68b
movzx eax, dx
mov edx, dword [edi + 4]
mov dword [esp + 0x2c], eax
cmp si, word [edx]
je 0x48c66d
inc ecx
movzx eax, ax
add edx, 2
cmp ecx, eax
jge 0x48c68b
mov eax, dword [esp + 0x2c]
jmp 0x48c657
movzx eax, cx
test ax, ax
js 0x48c68b
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x54]
inc esi
movsx eax, cx
cmp esi, eax
jge 0x48c68f
mov eax, dword [esp + 0x5c]
jmp 0x48c640
and dword [edi + 0x38], 0xffffffdf
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
cmp eax, dword [edx + 0xfc]
jne 0x48c783
mov esi, dword [eax + 8]
mov dword [esp + 0x24], esi
test esi, esi
je 0x48c783
movzx edx, word [edi + 0x32]
movzx eax, word [esi + 0x32]
mov ecx, eax
mov dword [esp + 0x2c], ecx
cmp ax, dx
jne 0x48c76c
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x34], edx
cmp cx, ax
jae 0x48c75c
mov ecx, dword [edi + 4]
mov eax, dword [esi + 4]
sub eax, ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x48], eax
nop word [eax + eax]
mov ax, word [eax + ecx]
cmp ax, word [ecx]
jne 0x48c75c
mov eax, dword [esi + 0x20]
mov ecx, dword [edi + 0x20]
mov eax, dword [eax + edx*4]
mov esi, dword [ecx + edx*4]
sub esi, eax
movzx edx, byte [eax]
movzx ecx, byte [esi + eax]
cmp edx, ecx
jne 0x48c73f
test edx, edx
jne 0x48c751
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
inc edx
mov eax, dword [esp + 0x2c]
add ecx, 2
mov esi, dword [esp + 0x24]
movzx eax, ax
cmp edx, eax
mov dword [esp + 0x34], edx
mov eax, dword [esp + 0x48]
mov dword [esp + 0x28], ecx
jl 0x48c6f0
jmp 0x48c75c
movzx ecx, byte [ecx + 0x506c98]
movzx edx, byte [edx + 0x506c98]
sub edx, ecx
jne 0x48c754
inc eax
jmp 0x48c707
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x24]
movzx eax, word [esi + 0x32]
cmp edx, eax
je 0x48c7f9
movzx edx, word [edi + 0x32]
mov esi, dword [esi + 0x14]
mov dword [esp + 0x24], esi
test esi, esi
jne 0x48c6b6
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
cmp byte [edx + 0xe0], 2
mov esi, dword [esp + 0xc]
jae 0x48cbb3
cmp byte [esi + 0xb1], 0
je 0x48c8a4
cmp dword [esp + 0x30], 0
je 0x48c7d4
mov eax, dword [edi + 0xc]
mov ecx, dword [esi + 0xac]
mov dword [edi + 0x2c], ecx
mov eax, dword [eax + 8]
test eax, eax
je 0x48c7d4
nop dword [eax + eax]
cmp dword [eax + 0x2c], ecx
jne 0x48c7cd
cmp eax, edi
jne 0x48c862
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x48c7c0
mov ecx, dword [edi + 0x18]
mov edx, dword [edi]
add ecx, 0x18
push edi
call fcn.00435b70
add esp, 4
test eax, eax
je 0x48c89b
mov ecx, esi
call fcn.0042f840
jmp 0x48cbea
mov al, byte [esi + 0x36]
mov cl, byte [edi + 0x36]
cmp al, cl
je 0x48c82b
cmp al, 0xb
je 0x48c81f
cmp cl, 0xb
je 0x48c81f
push 0
push str.conflicting_ON_CONFLICT_clauses_specified
push dword [esp + 0x18]
call fcn.00432d50
add esp, 0xc
cmp byte [esi + 0x36], 0xb
jne 0x48c82b
mov al, byte [edi + 0x36]
mov byte [esi + 0x36], al
cmp byte [ebp + 0x28], 2
jne 0x48c83d
mov eax, dword [esi + 0x38]
and eax, 0xfffffffc
xor eax, 2
mov dword [esi + 0x38], eax
mov ecx, dword [esp + 0x10]
cmp byte [ecx + 0xe0], 2
jb 0x48c56e
mov eax, dword [ecx + 0x100]
mov dword [edi + 0x14], eax
mov dword [ecx + 0x100], edi
jmp 0x48cc31
push str.invalid_rootpage
push edx
call fcn.00432d50
push 0x504dd4
push 0x1ec13
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00431e30
mov eax, dword [esp + 0x2c]
add esp, 0x1c
mov dword [eax + 0xc], 0xb
jmp 0x48cbea
or dword [esi + 0x18], 1
jmp 0x48cbaf
test byte [eax + 0x1c], 0x80
je 0x48c8b6
mov eax, dword [esp + 0x30]
test eax, eax
je 0x48cbb7
inc dword [edx + 0x30]
mov esi, dword [edx + 8]
mov eax, dword [edx + 0x30]
mov dword [esp + 0x24], eax
test esi, esi
jne 0x48c8f0
cmp dword [edx + 0x84], esi
jne 0x48c8db
mov eax, dword [edx]
test byte [eax + 0x50], 8
jne 0x48c8db
mov byte [edx + 0x17], 1
mov ecx, edx
call fcn.00457d00
mov esi, eax
test esi, esi
je 0x48c56e
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 0x84]
test ecx, ecx
cmovne edx, ecx
mov ecx, dword [esp + 0x18]
shl dword [esp + 0x40], cl
mov dword [esp + 0x2c], edx
mov eax, dword [edx + 0x60]
test dword [esp + 0x40], eax
jne 0x48c92a
bts eax, ecx
mov dword [edx + 0x60], eax
cmp ecx, 1
jne 0x48c92a
mov ecx, edx
call fcn.0048e0d0
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
mov eax, dword [edx + 0x5c]
or byte [edx + 0x14], 1
bts eax, ecx
mov dword [edx + 0x5c], eax
mov edx, dword [esi + 0x6c]
cmp dword [esi + 0x70], edx
jg 0x48c958
push 0
push 0
push 0
mov edx, 0xbb
mov ecx, esi
call fcn.00457f50
add esp, 0xc
mov edx, eax
jmp 0x48c98f
mov edi, dword [esp + 0x58]
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xbb
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 dword [edi + 0x2c], edx
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x48c9b6
mov edx, dword [esp + 0x24]
mov ecx, esi
push 2
push edx
push dword [esp + 0x20]
mov edx, 0x93
call fcn.00457f50
add esp, 0xc
jmp 0x48c9e9
mov edx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x93
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 2
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [ebp + 0x18], 0
je 0x48ca3b
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x4c]
mov edx, dword [eax + 0xd8]
add edx, dword [eax + 0xd4]
mov eax, dword [ecx]
mov ecx, edx
sub ecx, eax
push eax
cmp byte [edx - 1], 0x3b
mov edx, str._UNIQUE
lea eax, [ecx - 1]
cmovne eax, ecx
cmp dword [esp + 0x48], 0
push eax
mov eax, 0x4fb681
cmovne eax, edx
push eax
push str.CREATE_s_INDEX__.s
push dword [esp + 0x1c]
call fcn.00431aa0
add esp, 0x14
jmp 0x48ca3d
xor eax, eax
mov ecx, dword [esp + 0x18]
push eax
push dword [esp + 0x28]
mov dword [esp + 0x4c], eax
add ecx, ecx
mov eax, dword [esp + 0x1c]
push dword [eax]
mov eax, dword [esp + 0x18]
push dword [edi]
mov eax, dword [eax + 0x10]
push dword [eax + ecx*8]
push str.INSERT_INTO__Q.sqlite_master_VALUES_index__Q__Q__d__Q__
push dword [esp + 0x28]
call fcn.004850d0
mov edx, dword [esp + 0x60]
add esp, 0x1c
test edx, edx
je 0x48ca80
mov ecx, dword [esp + 0xc]
call fcn.0042f0e0
cmp dword [esp + 0x30], 0
je 0x48cb8a
push dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
mov edx, edi
call fcn.0048af70
mov eax, dword [esp + 0x14]
add esp, 4
mov ecx, dword [esp + 0x18]
add ecx, ecx
mov edx, dword [eax + 8]
mov eax, dword [eax]
mov dword [esp + 0x58], edx
mov eax, dword [eax + 0x10]
mov eax, dword [eax + ecx*8 + 0xc]
mov ecx, dword [edx + 0x6c]
mov eax, dword [eax]
inc eax
mov dword [esp + 0x2c], eax
cmp dword [edx + 0x70], ecx
jg 0x48cae0
mov ecx, dword [esp + 0x58]
mov edx, 0x64
push eax
push 1
push dword [esp + 0x20]
call fcn.00457f50
add esp, 0xc
jmp 0x48cb13
lea eax, [ecx + 1]
mov dword [edx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + 0x68]
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4], 0x64
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
push 0
push ecx
push dword [edi]
push str.name_q_AND_typeindex
push dword [esp + 0x1c]
call fcn.00431aa0
mov edx, dword [esp + 0x2c]
add esp, 0x10
mov ecx, esi
push eax
call fcn.004586d0
mov ecx, dword [esi + 0x6c]
add esp, 8
cmp dword [esi + 0x70], ecx
jg 0x48cb57
push 0
push 1
push 0
mov edx, 0xa6
mov ecx, esi
call fcn.00457f50
add esp, 0xc
jmp 0x48cb8a
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xa6
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x48cb9c
mov eax, 0x515db8
jmp 0x48cba8
mov eax, dword [edi + 0x2c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
mov esi, dword [esp + 0xc]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x30]
cmp byte [esi + 0xb1], 0
jne 0x48cbd5
test eax, eax
je 0x48cbd5
cmp byte [edx + 0xe0], 2
jb 0x48cbea
mov dword [edx + 0x100], edi
jmp 0x48cc31
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 8]
mov dword [edi + 0x14], eax
mov eax, dword [esp + 0x14]
mov dword [eax + 8], edi
jmp 0x48cc31
mov esi, eax
test edi, edi
je 0x48cc31
mov edx, dword [edi + 0x24]
mov ecx, esi
call fcn.00472be0
mov edx, dword [edi + 0x28]
test edx, edx
je 0x48cc06
mov ecx, esi
call fcn.00473e80
mov edx, dword [edi + 0x10]
test edx, edx
je 0x48cc14
mov ecx, esi
call fcn.0042f0e0
test byte [edi + 0x38], 0x10
je 0x48cc28
mov edx, dword [edi + 0x20]
test edx, edx
je 0x48cc28
mov ecx, esi
call fcn.0042f0e0
mov edx, edi
mov ecx, esi
call fcn.0042f0e0
mov ecx, dword [esp + 0x14]
add ecx, 8
mov edx, dword [ecx]
test edx, edx
je 0x48cc71
nop
cmp byte [edx + 0x36], 5
je 0x48cc51
lea ecx, [edx + 0x14]
mov edx, dword [ecx]
test edx, edx
jne 0x48cc40
jmp 0x48cc71
mov eax, dword [edx + 0x14]
test eax, eax
je 0x48cc71
cmp byte [eax + 0x36], 5
je 0x48cc71
mov dword [ecx], eax
lea ecx, [eax + 0x14]
mov eax, dword [ecx]
mov dword [edx + 0x14], eax
mov dword [ecx], edx
mov eax, dword [edx + 0x14]
test eax, eax
jne 0x48cc58
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x50]
mov esi, dword [esp + 0xc]
test eax, eax
je 0x48cc8a
mov edx, eax
mov ecx, esi
call fcn.00472a80
test edi, edi
je 0x48cc97
mov edx, edi
mov ecx, esi
call fcn.00473e80
mov edx, dword [esp + 0x30]
mov ecx, esi
call fcn.0048d7c0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x48ccb3
mov edx, eax
mov ecx, esi
call fcn.0042f0e0
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
xor ecx, esp
call fcn.004f5edb
mov esp, ebp
pop ebp
ret